File tree 6 files changed +26
-6
lines changed
6 files changed +26
-6
lines changed Original file line number Diff line number Diff line change
1
+ ## O.14.5
2
+
3
+ Added comments to describe the ` EditorProvider ` class.
4
+
1
5
## 0.14.4
2
6
3
7
This version exposes the ` ToolboxGroup ` interface in the ` sequential-workflow-editor ` package [ #46 ] ( https://github.com/nocode-js/sequential-workflow-editor/issues/46#issuecomment-2439817733 ) .
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Powerful workflow editor builder for sequential workflows. Written in TypeScript
21
21
Pro:
22
22
23
23
* [ 📖 Pro Editors] ( https://nocode-js.com/examples/sequential-workflow-editor-pro/webpack-pro-app/public/editors.html )
24
+ * [ 📫 Template System] ( https://nocode-js.com/examples/sequential-workflow-editor-pro/webpack-pro-app/public/template-system.html )
24
25
25
26
## 🚀 Installation
26
27
Original file line number Diff line number Diff line change 18
18
"sequential-workflow-model" : " ^0.2.0" ,
19
19
"sequential-workflow-designer" : " ^0.21.2" ,
20
20
"sequential-workflow-machine" : " ^0.4.0" ,
21
- "sequential-workflow-editor-model" : " ^0.14.4 " ,
22
- "sequential-workflow-editor" : " ^0.14.4 "
21
+ "sequential-workflow-editor-model" : " ^0.14.5 " ,
22
+ "sequential-workflow-editor" : " ^0.14.5 "
23
23
},
24
24
"devDependencies" : {
25
25
"ts-loader" : " ^9.4.2" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sequential-workflow-editor" ,
3
- "version" : " 0.14.4 " ,
3
+ "version" : " 0.14.5 " ,
4
4
"type" : " module" ,
5
5
"main" : " ./lib/esm/index.js" ,
6
6
"types" : " ./lib/index.d.ts" ,
46
46
"prettier:fix" : " prettier --write ./src ./css"
47
47
},
48
48
"dependencies" : {
49
- "sequential-workflow-editor-model" : " ^0.14.4 " ,
49
+ "sequential-workflow-editor-model" : " ^0.14.5 " ,
50
50
"sequential-workflow-model" : " ^0.2.0"
51
51
},
52
52
"peerDependencies" : {
53
- "sequential-workflow-editor-model" : " ^0.14.4 " ,
53
+ "sequential-workflow-editor-model" : " ^0.14.5 " ,
54
54
"sequential-workflow-model" : " ^0.2.0"
55
55
},
56
56
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ import { EditorHeaderData } from './editor-header';
25
25
import { sortToolboxGroups } from './core/sort-toolbox-groups' ;
26
26
27
27
export class EditorProvider < TDefinition extends Definition > {
28
+ /**
29
+ * Creates an editor provider.
30
+ * @param definitionModel The definition model.
31
+ * @param configuration The configuration.
32
+ * @returns The editor provider.
33
+ */
28
34
public static create < TDef extends Definition > (
29
35
definitionModel : DefinitionModel < TDef > ,
30
36
configuration : EditorProviderConfiguration
@@ -121,10 +127,19 @@ export class EditorProvider<TDefinition extends Definition> {
121
127
} ;
122
128
}
123
129
130
+ /**
131
+ * Activates the definition (creates a new instance of the definition with the default values).
132
+ * @returns The activated definition.
133
+ */
124
134
public activateDefinition ( ) : TDefinition {
125
135
return this . activator . activateDefinition ( ) ;
126
136
}
127
137
138
+ /**
139
+ * Activates a step with the default values.
140
+ * @param type The type of the step to activate.
141
+ * @returns The activated step.
142
+ */
128
143
public activateStep ( type : string ) : Step {
129
144
return this . activator . activateStep ( type ) ;
130
145
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sequential-workflow-editor-model" ,
3
- "version" : " 0.14.4 " ,
3
+ "version" : " 0.14.5 " ,
4
4
"homepage" : " https://nocode-js.com/" ,
5
5
"author" : {
6
6
"name" : " NoCode JS" ,
You can’t perform that action at this time.
0 commit comments