@bpmn-io/form-js-editor 1.0.0 → 1.2.0
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/LICENSE +22 -22
- package/README.md +116 -116
- package/dist/assets/dragula.css +1 -1
- package/dist/assets/form-js-editor-base.css +758 -736
- package/dist/assets/form-js-editor.css +98 -0
- package/dist/assets/properties-panel.css +77 -1
- package/dist/index.cjs +881 -450
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +881 -450
- package/dist/index.es.js.map +1 -1
- package/dist/types/features/properties-panel/entries/SpacerEntry.d.ts +9 -0
- package/dist/types/features/properties-panel/entries/index.d.ts +1 -0
- package/dist/types/features/properties-panel/groups/{CustomValuesGroup.d.ts → CustomPropertiesGroup.d.ts} +2 -1
- package/dist/types/features/properties-panel/groups/index.d.ts +1 -1
- package/dist/types/render/components/icons/index.d.ts +1 -1
- package/dist/types/types.d.ts +28 -28
- package/package.json +5 -5
|
@@ -9,6 +9,7 @@ export { default as KeyEntry } from "./KeyEntry";
|
|
|
9
9
|
export { default as LabelEntry } from "./LabelEntry";
|
|
10
10
|
export { default as ImageSourceEntry } from "./ImageSourceEntry";
|
|
11
11
|
export { default as TextEntry } from "./TextEntry";
|
|
12
|
+
export { default as SpacerEntry } from "./SpacerEntry";
|
|
12
13
|
export { default as NumberEntries } from "./NumberEntries";
|
|
13
14
|
export { default as NumberSerializationEntry } from "./NumberSerializationEntry";
|
|
14
15
|
export { default as DateTimeEntry } from "./DateTimeEntry";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default function
|
|
1
|
+
export default function CustomPropertiesGroup(field: any, editField: any): {
|
|
2
2
|
add: (event: any) => void;
|
|
3
3
|
component: any;
|
|
4
4
|
id: string;
|
|
@@ -18,6 +18,7 @@ export default function CustomValuesGroup(field: any, editField: any): {
|
|
|
18
18
|
remove: (event: any) => any;
|
|
19
19
|
}[];
|
|
20
20
|
label: string;
|
|
21
|
+
tooltip: string;
|
|
21
22
|
shouldSort: boolean;
|
|
22
23
|
};
|
|
23
24
|
/**
|
|
@@ -3,7 +3,7 @@ export { default as SerializationGroup } from "./SerializationGroup";
|
|
|
3
3
|
export { default as ConstraintsGroup } from "./ConstraintsGroup";
|
|
4
4
|
export { default as ValidationGroup } from "./ValidationGroup";
|
|
5
5
|
export { default as ValuesGroups } from "./ValuesGroups";
|
|
6
|
-
export { default as
|
|
6
|
+
export { default as CustomPropertiesGroup } from "./CustomPropertiesGroup";
|
|
7
7
|
export { default as AppearanceGroup } from "./AppearanceGroup";
|
|
8
8
|
export { default as LayoutGroup } from "./LayoutGroup";
|
|
9
9
|
export { ConditionGroup } from "./ConditionGroup";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { iconsByType } from "@bpmn-io/form-js-viewer";
|
|
2
|
-
export { CloseIcon, DeleteIcon, DraggableIcon, SearchIcon };
|
|
2
|
+
export { CloseIcon, DeleteIcon, DraggableIcon, SearchIcon, EmptyFormIcon };
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Injector } from 'didi';
|
|
2
|
-
|
|
3
|
-
export type Module = any;
|
|
4
|
-
export type Schema = any;
|
|
5
|
-
|
|
6
|
-
export interface FormEditorProperties {
|
|
7
|
-
[x: string]: any
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface FormEditorOptions {
|
|
11
|
-
additionalModules?: Module[];
|
|
12
|
-
container?: Element | null | string;
|
|
13
|
-
exporter?: {
|
|
14
|
-
name: string,
|
|
15
|
-
version: string
|
|
16
|
-
};
|
|
17
|
-
injector?: Injector;
|
|
18
|
-
modules?: Module[];
|
|
19
|
-
properties?: FormEditorProperties;
|
|
20
|
-
[x:string]: any;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface CreateFormEditorOptions extends FormEditorOptions {
|
|
24
|
-
schema?: Schema
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export {
|
|
28
|
-
Injector
|
|
1
|
+
import { Injector } from 'didi';
|
|
2
|
+
|
|
3
|
+
export type Module = any;
|
|
4
|
+
export type Schema = any;
|
|
5
|
+
|
|
6
|
+
export interface FormEditorProperties {
|
|
7
|
+
[x: string]: any
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface FormEditorOptions {
|
|
11
|
+
additionalModules?: Module[];
|
|
12
|
+
container?: Element | null | string;
|
|
13
|
+
exporter?: {
|
|
14
|
+
name: string,
|
|
15
|
+
version: string
|
|
16
|
+
};
|
|
17
|
+
injector?: Injector;
|
|
18
|
+
modules?: Module[];
|
|
19
|
+
properties?: FormEditorProperties;
|
|
20
|
+
[x:string]: any;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface CreateFormEditorOptions extends FormEditorOptions {
|
|
24
|
+
schema?: Schema
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export {
|
|
28
|
+
Injector
|
|
29
29
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-editor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Edit forms - powered by bpmn.io",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"url": "https://github.com/bpmn-io"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@bpmn-io/
|
|
50
|
-
"@bpmn-io/
|
|
49
|
+
"@bpmn-io/draggle": "^4.0.0",
|
|
50
|
+
"@bpmn-io/form-js-viewer": "^1.1.0",
|
|
51
|
+
"@bpmn-io/properties-panel": "^3.2.1",
|
|
51
52
|
"array-move": "^3.0.1",
|
|
52
53
|
"big.js": "^6.2.1",
|
|
53
|
-
"dragula": "^3.7.3",
|
|
54
54
|
"ids": "^1.0.0",
|
|
55
55
|
"min-dash": "^4.0.0",
|
|
56
56
|
"min-dom": "^4.0.0",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"files": [
|
|
63
63
|
"dist"
|
|
64
64
|
],
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "7e224a179a44304d35acb9e3f6e578e402573e7b"
|
|
66
66
|
}
|