File tree 12 files changed +34
-24
lines changed
12 files changed +34
-24
lines changed Original file line number Diff line number Diff line change
1
+ # 0.27.2
2
+
3
+ Added a new method to the internal control bar api.
4
+
1
5
# 0.27.1
2
6
3
7
Added support for Angular 19.
Original file line number Diff line number Diff line change @@ -104,10 +104,10 @@ Add the below code to your head section in HTML document.
104
104
``` html
105
105
<head >
106
106
...
107
- <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.27.1 /css/designer.css" rel =" stylesheet" >
108
- <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.27.1 /css/designer-light.css" rel =" stylesheet" >
109
- <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.27.1 /css/designer-dark.css" rel =" stylesheet" >
110
- <script src =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.27.1 /dist/index.umd.js" ></script >
107
+ <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.27.2 /css/designer.css" rel =" stylesheet" >
108
+ <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.27.2 /css/designer-light.css" rel =" stylesheet" >
109
+ <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.27.2 /css/designer-dark.css" rel =" stylesheet" >
110
+ <script src =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.27.2 /dist/index.umd.js" ></script >
111
111
```
112
112
113
113
Call the designer by:
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sequential-workflow-designer-angular" ,
3
3
"description" : " Angular wrapper for Sequential Workflow Designer component." ,
4
- "version" : " 0.27.1 " ,
4
+ "version" : " 0.27.2 " ,
5
5
"author" : {
6
6
"name" : " NoCode JS" ,
7
7
"url" : " https://nocode-js.com/"
15
15
"peerDependencies" : {
16
16
"@angular/common" : " 12 - 19" ,
17
17
"@angular/core" : " 12 - 19" ,
18
- "sequential-workflow-designer" : " ^0.27.1 "
18
+ "sequential-workflow-designer" : " ^0.27.2 "
19
19
},
20
20
"dependencies" : {
21
21
"tslib" : " ^2.3.0"
Original file line number Diff line number Diff line change 26
26
"@angular/platform-browser-dynamic" : " ^17.3.9" ,
27
27
"@angular/router" : " ^17.3.9" ,
28
28
"rxjs" : " ~7.8.0" ,
29
- "sequential-workflow-designer" : " ^0.27.1 " ,
30
- "sequential-workflow-designer-angular" : " ^0.27.1 " ,
29
+ "sequential-workflow-designer" : " ^0.27.2 " ,
30
+ "sequential-workflow-designer-angular" : " ^0.27.2 " ,
31
31
"tslib" : " ^2.3.0" ,
32
32
"zone.js" : " ~0.14.6"
33
33
},
Original file line number Diff line number Diff line change 6
6
"dependencies" : {
7
7
"react" : " ^18.2.0" ,
8
8
"react-dom" : " ^18.2.0" ,
9
- "sequential-workflow-designer" : " ^0.27.1 " ,
10
- "sequential-workflow-designer-react" : " ^0.27.1 "
9
+ "sequential-workflow-designer" : " ^0.27.2 " ,
10
+ "sequential-workflow-designer-react" : " ^0.27.2 "
11
11
},
12
12
"devDependencies" : {
13
13
"@types/jest" : " ^29.2.5" ,
Original file line number Diff line number Diff line change 16
16
"eslint" : " eslint ./src --ext .ts"
17
17
},
18
18
"dependencies" : {
19
- "sequential-workflow-designer" : " ^0.27.1 " ,
20
- "sequential-workflow-designer-svelte" : " ^0.27.1 "
19
+ "sequential-workflow-designer" : " ^0.27.2 " ,
20
+ "sequential-workflow-designer-svelte" : " ^0.27.2 "
21
21
},
22
22
"devDependencies" : {
23
23
"@sveltejs/adapter-static" : " ^2.0.3" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sequential-workflow-designer" ,
3
3
"description" : " Customizable no-code component for building flow-based programming applications." ,
4
- "version" : " 0.27.1 " ,
4
+ "version" : " 0.27.2 " ,
5
5
"type" : " module" ,
6
6
"main" : " ./lib/esm/index.js" ,
7
7
"types" : " ./lib/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -33,8 +33,12 @@ export class ControlBarApi {
33
33
return this . state . isDragDisabled ;
34
34
}
35
35
36
+ public setIsDragDisabled ( isDragDisabled : boolean ) {
37
+ this . state . setIsDragDisabled ( isDragDisabled ) ;
38
+ }
39
+
36
40
public toggleIsDragDisabled ( ) {
37
- this . state . toggleIsDragDisabled ( ) ;
41
+ this . setIsDragDisabled ( ! this . isDragDisabled ( ) ) ;
38
42
}
39
43
40
44
public isUndoRedoSupported ( ) : boolean {
Original file line number Diff line number Diff line change @@ -85,9 +85,11 @@ export class DesignerState {
85
85
}
86
86
}
87
87
88
- public toggleIsDragDisabled ( ) {
89
- this . isDragDisabled = ! this . isDragDisabled ;
90
- this . onIsDragDisabledChanged . forward ( this . isDragDisabled ) ;
88
+ public setIsDragDisabled ( isDragDisabled : boolean ) {
89
+ if ( this . isDragDisabled !== isDragDisabled ) {
90
+ this . isDragDisabled = isDragDisabled ;
91
+ this . onIsDragDisabledChanged . forward ( isDragDisabled ) ;
92
+ }
91
93
}
92
94
93
95
public setIsToolboxCollapsed ( isCollapsed : boolean ) {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ function embedStylesheet(url) {
13
13
document . write ( `<link href="${ url } " rel="stylesheet">` ) ;
14
14
}
15
15
16
- const baseUrl = isTestEnv ( ) ? '../designer' : '//cdn.jsdelivr.net/npm/sequential-workflow-designer@0.27.1 ' ;
16
+ const baseUrl = isTestEnv ( ) ? '../designer' : '//cdn.jsdelivr.net/npm/sequential-workflow-designer@0.27.2 ' ;
17
17
18
18
embedScript ( `${ baseUrl } /dist/index.umd.js` ) ;
19
19
embedStylesheet ( `${ baseUrl } /css/designer.css` ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sequential-workflow-designer-react" ,
3
3
"description" : " React wrapper for Sequential Workflow Designer component." ,
4
- "version" : " 0.27.1 " ,
4
+ "version" : " 0.27.2 " ,
5
5
"type" : " module" ,
6
6
"main" : " ./lib/esm/index.js" ,
7
7
"types" : " ./lib/index.d.ts" ,
47
47
"peerDependencies" : {
48
48
"react" : " ^18.2.0" ,
49
49
"react-dom" : " ^18.2.0" ,
50
- "sequential-workflow-designer" : " ^0.27.1 "
50
+ "sequential-workflow-designer" : " ^0.27.2 "
51
51
},
52
52
"devDependencies" : {
53
53
"@rollup/plugin-node-resolve" : " ^15.0.1" ,
63
63
"prettier" : " ^3.2.5" ,
64
64
"react" : " ^18.2.0" ,
65
65
"react-dom" : " ^18.2.0" ,
66
- "sequential-workflow-designer" : " ^0.27.1 " ,
66
+ "sequential-workflow-designer" : " ^0.27.2 " ,
67
67
"rollup" : " ^3.18.0" ,
68
68
"rollup-plugin-dts" : " ^5.2.0" ,
69
69
"rollup-plugin-typescript2" : " ^0.34.1" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sequential-workflow-designer-svelte" ,
3
3
"description" : " Svelte wrapper for Sequential Workflow Designer component." ,
4
- "version" : " 0.27.1 " ,
4
+ "version" : " 0.27.2 " ,
5
5
"license" : " MIT" ,
6
6
"scripts" : {
7
7
"prepare" : " cp ../LICENSE LICENSE" ,
28
28
],
29
29
"peerDependencies" : {
30
30
"svelte" : " ^4.0.0" ,
31
- "sequential-workflow-designer" : " ^0.27.1 "
31
+ "sequential-workflow-designer" : " ^0.27.2 "
32
32
},
33
33
"devDependencies" : {
34
- "sequential-workflow-designer" : " ^0.27.1 " ,
34
+ "sequential-workflow-designer" : " ^0.27.2 " ,
35
35
"@sveltejs/adapter-static" : " ^2.0.3" ,
36
36
"@sveltejs/kit" : " ^1.20.4" ,
37
37
"@sveltejs/package" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments