File tree Expand file tree Collapse file tree 6 files changed +26
-6
lines changed Expand file tree Collapse file tree 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+ 
15## 0.14.4  
26
37This 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
2121Pro:
2222
2323*  [ 📖 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 ) 
2425
2526## 🚀 Installation  
2627
Original file line number Diff line number Diff line change 1818		"sequential-workflow-model" : " ^0.2.0"  ,
1919		"sequential-workflow-designer" : " ^0.21.2"  ,
2020		"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 " 
2323	},
2424	"devDependencies" : {
2525		"ts-loader" : " ^9.4.2"  ,
Original file line number Diff line number Diff line change 11{
22	"name" : " sequential-workflow-editor"  ,
3- 	"version" : " 0.14.4 "  ,
3+ 	"version" : " 0.14.5 "  ,
44	"type" : " module"  ,
55	"main" : " ./lib/esm/index.js"  ,
66	"types" : " ./lib/index.d.ts"  ,
4646		"prettier:fix" : " prettier --write ./src ./css" 
4747	},
4848	"dependencies" : {
49- 		"sequential-workflow-editor-model" : " ^0.14.4 "  ,
49+ 		"sequential-workflow-editor-model" : " ^0.14.5 "  ,
5050		"sequential-workflow-model" : " ^0.2.0" 
5151	},
5252	"peerDependencies" : {
53- 		"sequential-workflow-editor-model" : " ^0.14.4 "  ,
53+ 		"sequential-workflow-editor-model" : " ^0.14.5 "  ,
5454		"sequential-workflow-model" : " ^0.2.0" 
5555	},
5656	"devDependencies" : {
Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ import { EditorHeaderData } from './editor-header';
2525import  {  sortToolboxGroups  }  from  './core/sort-toolbox-groups' ; 
2626
2727export  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+ 	 */ 
2834	public  static  create < TDef  extends  Definition > ( 
2935		definitionModel : DefinitionModel < TDef > , 
3036		configuration : EditorProviderConfiguration 
@@ -121,10 +127,19 @@ export class EditorProvider<TDefinition extends Definition> {
121127		} ; 
122128	} 
123129
130+ 	/** 
131+ 	 * Activates the definition (creates a new instance of the definition with the default values). 
132+ 	 * @returns  The activated definition. 
133+ 	 */ 
124134	public  activateDefinition ( ) : TDefinition  { 
125135		return  this . activator . activateDefinition ( ) ; 
126136	} 
127137
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+ 	 */ 
128143	public  activateStep ( type : string ) : Step  { 
129144		return  this . activator . activateStep ( type ) ; 
130145	} 
Original file line number Diff line number Diff line change 11{
22	"name" : " sequential-workflow-editor-model"  ,
3- 	"version" : " 0.14.4 "  ,
3+ 	"version" : " 0.14.5 "  ,
44	"homepage" : " https://nocode-js.com/"  ,
55	"author" : {
66		"name" : " NoCode JS"  ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments