sequential-workflow-designer-react 0.16.8 → 0.16.10
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 +3 -0
- package/lib/esm/index.js +3 -0
- package/lib/index.d.ts +2 -1
- package/package.json +3 -3
package/lib/cjs/index.cjs
CHANGED
|
@@ -169,6 +169,7 @@ function SequentialWorkflowDesigner(props) {
|
|
|
169
169
|
var isToolboxCollapsed = props.isToolboxCollapsed;
|
|
170
170
|
var controlBar = props.controlBar;
|
|
171
171
|
var contextMenu = props.contextMenu;
|
|
172
|
+
var keyboard = props.keyboard;
|
|
172
173
|
var extensions = props.extensions;
|
|
173
174
|
if (props.controlBar === undefined) {
|
|
174
175
|
throw new Error('The "controlBar" property is not set');
|
|
@@ -275,6 +276,7 @@ function SequentialWorkflowDesigner(props) {
|
|
|
275
276
|
validator: validator,
|
|
276
277
|
controlBar: controlBar,
|
|
277
278
|
contextMenu: contextMenu,
|
|
279
|
+
keyboard: keyboard,
|
|
278
280
|
editors: globalEditorRef.current && stepEditorRef.current
|
|
279
281
|
? {
|
|
280
282
|
isCollapsed: isEditorCollapsed,
|
|
@@ -322,6 +324,7 @@ function SequentialWorkflowDesigner(props) {
|
|
|
322
324
|
isToolboxCollapsed,
|
|
323
325
|
isEditorCollapsed,
|
|
324
326
|
contextMenu,
|
|
327
|
+
keyboard,
|
|
325
328
|
controlBar,
|
|
326
329
|
steps,
|
|
327
330
|
validator,
|
package/lib/esm/index.js
CHANGED
|
@@ -167,6 +167,7 @@ function SequentialWorkflowDesigner(props) {
|
|
|
167
167
|
var isToolboxCollapsed = props.isToolboxCollapsed;
|
|
168
168
|
var controlBar = props.controlBar;
|
|
169
169
|
var contextMenu = props.contextMenu;
|
|
170
|
+
var keyboard = props.keyboard;
|
|
170
171
|
var extensions = props.extensions;
|
|
171
172
|
if (props.controlBar === undefined) {
|
|
172
173
|
throw new Error('The "controlBar" property is not set');
|
|
@@ -273,6 +274,7 @@ function SequentialWorkflowDesigner(props) {
|
|
|
273
274
|
validator: validator,
|
|
274
275
|
controlBar: controlBar,
|
|
275
276
|
contextMenu: contextMenu,
|
|
277
|
+
keyboard: keyboard,
|
|
276
278
|
editors: globalEditorRef.current && stepEditorRef.current
|
|
277
279
|
? {
|
|
278
280
|
isCollapsed: isEditorCollapsed,
|
|
@@ -320,6 +322,7 @@ function SequentialWorkflowDesigner(props) {
|
|
|
320
322
|
isToolboxCollapsed,
|
|
321
323
|
isEditorCollapsed,
|
|
322
324
|
contextMenu,
|
|
325
|
+
keyboard,
|
|
323
326
|
controlBar,
|
|
324
327
|
steps,
|
|
325
328
|
validator,
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { MutableRefObject, Context, ReactNode, DependencyList } from 'react';
|
|
3
3
|
import ReactDOM from 'react-dom/client';
|
|
4
|
-
import { Definition, GlobalEditorContext, Designer, ToolboxConfiguration, GlobalEditorProvider, StepEditorProvider, StepsConfiguration, ValidatorConfiguration, CustomActionHandler, DesignerExtension, Step, StepEditorContext } from 'sequential-workflow-designer';
|
|
4
|
+
import { Definition, GlobalEditorContext, Designer, ToolboxConfiguration, GlobalEditorProvider, StepEditorProvider, StepsConfiguration, ValidatorConfiguration, KeyboardConfiguration, CustomActionHandler, DesignerExtension, Step, StepEditorContext } from 'sequential-workflow-designer';
|
|
5
5
|
|
|
6
6
|
declare class Presenter {
|
|
7
7
|
static render(className: string, rootRef: MutableRefObject<ReactDOM.Root | null>, element: JSX.Element): HTMLElement;
|
|
@@ -80,6 +80,7 @@ interface SequentialWorkflowDesignerProps<TDefinition extends Definition> {
|
|
|
80
80
|
*/
|
|
81
81
|
controlBar: boolean;
|
|
82
82
|
contextMenu?: boolean;
|
|
83
|
+
keyboard?: boolean | KeyboardConfiguration;
|
|
83
84
|
controller?: SequentialWorkflowDesignerController;
|
|
84
85
|
customActionHandler?: CustomActionHandler;
|
|
85
86
|
extensions?: DesignerExtension[];
|
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.10",
|
|
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.10"
|
|
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.10",
|
|
67
67
|
"rollup": "^3.18.0",
|
|
68
68
|
"rollup-plugin-dts": "^5.2.0",
|
|
69
69
|
"rollup-plugin-typescript2": "^0.34.1",
|