sequential-workflow-designer 0.18.0 → 0.18.1

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/README.md CHANGED
@@ -96,10 +96,10 @@ Add the below code to your head section in HTML document.
96
96
  ```html
97
97
  <head>
98
98
  ...
99
- <link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.18.0/css/designer.css" rel="stylesheet">
100
- <link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.18.0/css/designer-light.css" rel="stylesheet">
101
- <link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.18.0/css/designer-dark.css" rel="stylesheet">
102
- <script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.18.0/dist/index.umd.js"></script>
99
+ <link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.18.1/css/designer.css" rel="stylesheet">
100
+ <link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.18.1/css/designer-light.css" rel="stylesheet">
101
+ <link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.18.1/css/designer-dark.css" rel="stylesheet">
102
+ <script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.18.1/dist/index.umd.js"></script>
103
103
  ```
104
104
 
105
105
  Call the designer by:
package/dist/index.umd.js CHANGED
@@ -4516,6 +4516,12 @@
4516
4516
  getStepParents(needle) {
4517
4517
  return this.walker.getParents(this.state.definition, needle);
4518
4518
  }
4519
+ /**
4520
+ * @returns the definition walker.
4521
+ */
4522
+ getWalker() {
4523
+ return this.walker;
4524
+ }
4519
4525
  /**
4520
4526
  * @description Destroys the designer and deletes all nodes from the placeholder.
4521
4527
  */
package/lib/cjs/index.cjs CHANGED
@@ -4331,6 +4331,12 @@ class Designer {
4331
4331
  getStepParents(needle) {
4332
4332
  return this.walker.getParents(this.state.definition, needle);
4333
4333
  }
4334
+ /**
4335
+ * @returns the definition walker.
4336
+ */
4337
+ getWalker() {
4338
+ return this.walker;
4339
+ }
4334
4340
  /**
4335
4341
  * @description Destroys the designer and deletes all nodes from the placeholder.
4336
4342
  */
package/lib/esm/index.js CHANGED
@@ -4330,6 +4330,12 @@ class Designer {
4330
4330
  getStepParents(needle) {
4331
4331
  return this.walker.getParents(this.state.definition, needle);
4332
4332
  }
4333
+ /**
4334
+ * @returns the definition walker.
4335
+ */
4336
+ getWalker() {
4337
+ return this.walker;
4338
+ }
4333
4339
  /**
4334
4340
  * @description Destroys the designer and deletes all nodes from the placeholder.
4335
4341
  */
package/lib/index.d.ts CHANGED
@@ -1145,6 +1145,10 @@ declare class Designer<TDefinition extends Definition = Definition> {
1145
1145
  * @returns parent steps and branch names.
1146
1146
  */
1147
1147
  getStepParents(needle: Sequence | Step | string): StepOrName[];
1148
+ /**
1149
+ * @returns the definition walker.
1150
+ */
1151
+ getWalker(): DefinitionWalker;
1148
1152
  /**
1149
1153
  * @description Destroys the designer and deletes all nodes from the placeholder.
1150
1154
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sequential-workflow-designer",
3
3
  "description": "Customizable no-code component for building flow-based programming applications.",
4
- "version": "0.18.0",
4
+ "version": "0.18.1",
5
5
  "type": "module",
6
6
  "main": "./lib/esm/index.js",
7
7
  "types": "./lib/index.d.ts",