sequential-workflow-designer-react 0.16.2 → 0.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.cjs +2 -4
- package/lib/esm/index.js +2 -4
- package/package.json +3 -3
package/lib/cjs/index.cjs
CHANGED
|
@@ -283,7 +283,8 @@ function SequentialWorkflowDesigner(props) {
|
|
|
283
283
|
}
|
|
284
284
|
: false,
|
|
285
285
|
customActionHandler: customActionHandlerRef.current && customActionHandler,
|
|
286
|
-
extensions: extensions
|
|
286
|
+
extensions: extensions,
|
|
287
|
+
isReadonly: isReadonly
|
|
287
288
|
});
|
|
288
289
|
if (controllerRef.current) {
|
|
289
290
|
controllerRef.current.setDesigner(designer);
|
|
@@ -291,9 +292,6 @@ function SequentialWorkflowDesigner(props) {
|
|
|
291
292
|
if (selectedStepId) {
|
|
292
293
|
designer.selectStepById(selectedStepId);
|
|
293
294
|
}
|
|
294
|
-
if (isReadonly) {
|
|
295
|
-
designer.setIsReadonly(isReadonly);
|
|
296
|
-
}
|
|
297
295
|
// console.log('sqd: designer rendered');
|
|
298
296
|
designer.onReady.subscribe(forwardDefinition);
|
|
299
297
|
designer.onDefinitionChanged.subscribe(forwardDefinition);
|
package/lib/esm/index.js
CHANGED
|
@@ -281,7 +281,8 @@ function SequentialWorkflowDesigner(props) {
|
|
|
281
281
|
}
|
|
282
282
|
: false,
|
|
283
283
|
customActionHandler: customActionHandlerRef.current && customActionHandler,
|
|
284
|
-
extensions: extensions
|
|
284
|
+
extensions: extensions,
|
|
285
|
+
isReadonly: isReadonly
|
|
285
286
|
});
|
|
286
287
|
if (controllerRef.current) {
|
|
287
288
|
controllerRef.current.setDesigner(designer);
|
|
@@ -289,9 +290,6 @@ function SequentialWorkflowDesigner(props) {
|
|
|
289
290
|
if (selectedStepId) {
|
|
290
291
|
designer.selectStepById(selectedStepId);
|
|
291
292
|
}
|
|
292
|
-
if (isReadonly) {
|
|
293
|
-
designer.setIsReadonly(isReadonly);
|
|
294
|
-
}
|
|
295
293
|
// console.log('sqd: designer rendered');
|
|
296
294
|
designer.onReady.subscribe(forwardDefinition);
|
|
297
295
|
designer.onDefinitionChanged.subscribe(forwardDefinition);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sequential-workflow-designer-react",
|
|
3
3
|
"description": "React wrapper for Sequential Workflow Designer component.",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/esm/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": "^18.2.0",
|
|
49
49
|
"react-dom": "^18.2.0",
|
|
50
|
-
"sequential-workflow-designer": "^0.16.
|
|
50
|
+
"sequential-workflow-designer": "^0.16.3"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"prettier": "^2.8.2",
|
|
64
64
|
"react": "^18.2.0",
|
|
65
65
|
"react-dom": "^18.2.0",
|
|
66
|
-
"sequential-workflow-designer": "^0.16.
|
|
66
|
+
"sequential-workflow-designer": "^0.16.3",
|
|
67
67
|
"rollup": "^3.18.0",
|
|
68
68
|
"rollup-plugin-dts": "^5.2.0",
|
|
69
69
|
"rollup-plugin-typescript2": "^0.34.1",
|