@bpmn-io/form-js-editor 0.10.0-alpha.3 → 0.10.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/README.md +5 -4
- package/dist/index.cjs +480 -314
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +466 -300
- package/dist/index.es.js.map +1 -1
- package/dist/types/features/properties-panel/entries/AdornerEntry.d.ts +11 -0
- package/dist/types/features/properties-panel/entries/DateTimeConstraintsEntry.d.ts +9 -0
- package/dist/types/features/properties-panel/entries/DateTimeEntry.d.ts +9 -0
- package/dist/types/features/properties-panel/entries/DateTimeSerializationEntry.d.ts +9 -0
- package/dist/types/features/properties-panel/entries/LabelEntry.d.ts +5 -5
- package/dist/types/features/properties-panel/entries/factories/index.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/factories/simpleStringEntryFactory.d.ts +9 -0
- package/dist/types/features/properties-panel/entries/index.d.ts +4 -0
- package/dist/types/features/properties-panel/groups/AppearanceGroup.d.ts +13 -0
- package/dist/types/features/properties-panel/groups/ConstraintsGroup.d.ts +11 -0
- package/dist/types/features/properties-panel/groups/index.d.ts +2 -0
- package/dist/types/render/components/icons/index.d.ts +1 -15
- package/package.json +3 -3
- package/dist/types/features/properties-panel/entries/ValuesSourceUtil.d.ts +0 -15
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default function AdornerEntry(props: any): {
|
|
2
|
+
id: string;
|
|
3
|
+
component: typeof PrefixAdorner;
|
|
4
|
+
isEdited: any;
|
|
5
|
+
editField: any;
|
|
6
|
+
field: any;
|
|
7
|
+
onChange: (key: any) => (value: any) => void;
|
|
8
|
+
getValue: (key: any) => () => any;
|
|
9
|
+
}[];
|
|
10
|
+
declare function PrefixAdorner(props: any): any;
|
|
11
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export default function LabelEntry(props: any): {
|
|
2
|
-
id:
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
id: any;
|
|
3
|
+
label: any;
|
|
4
|
+
path: any;
|
|
5
5
|
field: any;
|
|
6
|
+
editField: any;
|
|
7
|
+
component: (props: any) => any;
|
|
6
8
|
isEdited: any;
|
|
7
9
|
}[];
|
|
8
|
-
declare function Label(props: any): any;
|
|
9
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as simpleStringEntryFactory } from "./simpleStringEntryFactory";
|
|
@@ -11,9 +11,13 @@ export { default as ImageSourceEntry } from "./ImageSourceEntry";
|
|
|
11
11
|
export { default as TextEntry } from "./TextEntry";
|
|
12
12
|
export { default as NumberEntries } from "./NumberEntries";
|
|
13
13
|
export { default as NumberSerializationEntry } from "./NumberSerializationEntry";
|
|
14
|
+
export { default as DateTimeEntry } from "./DateTimeEntry";
|
|
15
|
+
export { default as DateTimeConstraintsEntry } from "./DateTimeConstraintsEntry";
|
|
16
|
+
export { default as DateTimeSerializationEntry } from "./DateTimeSerializationEntry";
|
|
14
17
|
export { default as ValueEntry } from "./ValueEntry";
|
|
15
18
|
export { default as CustomValueEntry } from "./CustomValueEntry";
|
|
16
19
|
export { default as ValuesSourceSelectEntry } from "./ValuesSourceSelectEntry";
|
|
17
20
|
export { default as InputKeyValuesSourceEntry } from "./InputKeyValuesSourceEntry";
|
|
18
21
|
export { default as StaticValuesSourceEntry } from "./StaticValuesSourceEntry";
|
|
22
|
+
export { default as AdornerEntry } from "./AdornerEntry";
|
|
19
23
|
export { ConditionEntry } from "./ConditionEntry";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default function AppearanceGroup(field: any, editField: any): {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
entries: {
|
|
5
|
+
id: string;
|
|
6
|
+
component: (props: any) => any;
|
|
7
|
+
isEdited: any;
|
|
8
|
+
editField: any;
|
|
9
|
+
field: any;
|
|
10
|
+
onChange: (key: any) => (value: any) => void;
|
|
11
|
+
getValue: (key: any) => () => any;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { default as GeneralGroup } from "./GeneralGroup";
|
|
2
2
|
export { default as SerializationGroup } from "./SerializationGroup";
|
|
3
|
+
export { default as ConstraintsGroup } from "./ConstraintsGroup";
|
|
3
4
|
export { default as ValidationGroup } from "./ValidationGroup";
|
|
4
5
|
export { default as ValuesGroups } from "./ValuesGroups";
|
|
5
6
|
export { default as CustomValuesGroup } from "./CustomValuesGroup";
|
|
7
|
+
export { default as AppearanceGroup } from "./AppearanceGroup";
|
|
6
8
|
export { ConditionGroup } from "./ConditionGroup";
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { ButtonIcon as button };
|
|
3
|
-
export { CheckboxIcon as checkbox };
|
|
4
|
-
export { ChecklistIcon as checklist };
|
|
5
|
-
export { ColumnsIcon as columns };
|
|
6
|
-
export { ImageIcon as image };
|
|
7
|
-
export { NumberIcon as number };
|
|
8
|
-
export { RadioIcon as radio };
|
|
9
|
-
export { SelectIcon as select };
|
|
10
|
-
export { TaglistIcon as taglist };
|
|
11
|
-
export { TextIcon as text };
|
|
12
|
-
export { TextfieldIcon as textfield };
|
|
13
|
-
export { TextareaIcon as textarea };
|
|
14
|
-
export { FormIcon as default };
|
|
15
|
-
}
|
|
1
|
+
export { iconsByType } from "@bpmn-io/form-js-viewer";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-editor",
|
|
3
|
-
"version": "0.10.0
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Edit forms - powered by bpmn.io",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"url": "https://github.com/bpmn-io"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@bpmn-io/form-js-viewer": "^0.10.0
|
|
45
|
+
"@bpmn-io/form-js-viewer": "^0.10.0",
|
|
46
46
|
"@bpmn-io/properties-panel": "^1.0.0",
|
|
47
47
|
"array-move": "^3.0.1",
|
|
48
48
|
"big.js": "^6.2.1",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"files": [
|
|
59
59
|
"dist"
|
|
60
60
|
],
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "7e5b431f2e37ecaf23a8e10b647fbdfc25eb4b22"
|
|
62
62
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export function getValuesSource(field: any): string;
|
|
2
|
-
export namespace VALUES_SOURCES {
|
|
3
|
-
const STATIC: string;
|
|
4
|
-
const INPUT: string;
|
|
5
|
-
}
|
|
6
|
-
export const VALUES_SOURCE_DEFAULT: string;
|
|
7
|
-
export const VALUES_SOURCES_LABELS: {
|
|
8
|
-
[x: string]: string;
|
|
9
|
-
};
|
|
10
|
-
export const VALUES_SOURCES_PATHS: {
|
|
11
|
-
[x: string]: string[];
|
|
12
|
-
};
|
|
13
|
-
export const VALUES_SOURCES_DEFAULTS: {
|
|
14
|
-
[x: string]: string | any[];
|
|
15
|
-
};
|