@bpmn-io/form-js-editor 0.11.1 → 0.12.1
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/dist/assets/form-js-editor.css +180 -54
- package/dist/assets/properties-panel.css +1016 -1016
- package/dist/index.cjs +714 -397
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +696 -366
- package/dist/index.es.js.map +1 -1
- package/dist/types/FormEditor.d.ts +2 -2
- package/dist/types/core/index.d.ts +1 -1
- package/dist/types/features/palette/components/Palette.d.ts +9 -0
- package/dist/types/features/properties-panel/entries/SelectEntries.d.ts +9 -0
- package/dist/types/features/properties-panel/entries/factories/index.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/factories/simpleBoolEntryFactory.d.ts +9 -0
- package/dist/types/features/properties-panel/entries/index.d.ts +1 -0
- package/dist/types/render/EditorFormFields.d.ts +3 -0
- package/dist/types/render/components/Util.d.ts +3 -0
- package/dist/types/render/components/editor-form-fields/EditorText.d.ts +8 -0
- package/dist/types/render/components/editor-form-fields/index.d.ts +2 -0
- package/dist/types/render/components/icons/index.d.ts +1 -0
- package/dist/types/render/index.d.ts +2 -2
- package/dist/types/render/util/Cursor.d.ts +3 -0
- package/dist/types/{src/types.d.ts → types.d.ts} +0 -0
- package/package.json +7 -7
|
@@ -150,6 +150,6 @@ export type State = {
|
|
|
150
150
|
properties: FormEditorProperties;
|
|
151
151
|
schema: Schema;
|
|
152
152
|
};
|
|
153
|
-
export type OnEventWithPriority =
|
|
154
|
-
export type OnEventWithOutPriority =
|
|
153
|
+
export type OnEventWithPriority = (type: string, priority: number, handler: Function) => void;
|
|
154
|
+
export type OnEventWithOutPriority = (type: string, handler: Function) => void;
|
|
155
155
|
export type OnEventType = OnEventWithPriority & OnEventWithOutPriority;
|
|
@@ -3,7 +3,7 @@ declare namespace _default {
|
|
|
3
3
|
importer: (string | typeof import("../import/Importer").default)[];
|
|
4
4
|
} | {
|
|
5
5
|
__init__: string[];
|
|
6
|
-
formFields: (string | typeof import("
|
|
6
|
+
formFields: (string | typeof import("../render/EditorFormFields").default)[];
|
|
7
7
|
renderer: (string | typeof import("../render/Renderer").default)[];
|
|
8
8
|
})[];
|
|
9
9
|
const eventBus: any[];
|
|
@@ -14,6 +14,7 @@ export { default as NumberSerializationEntry } from "./NumberSerializationEntry"
|
|
|
14
14
|
export { default as DateTimeEntry } from "./DateTimeEntry";
|
|
15
15
|
export { default as DateTimeConstraintsEntry } from "./DateTimeConstraintsEntry";
|
|
16
16
|
export { default as DateTimeSerializationEntry } from "./DateTimeSerializationEntry";
|
|
17
|
+
export { default as SelectEntries } from "./SelectEntries";
|
|
17
18
|
export { default as ValueEntry } from "./ValueEntry";
|
|
18
19
|
export { default as CustomValueEntry } from "./CustomValueEntry";
|
|
19
20
|
export { default as ValuesSourceSelectEntry } from "./ValuesSourceSelectEntry";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare function EditorText(props: any): any;
|
|
2
|
+
declare namespace EditorText {
|
|
3
|
+
const create: typeof Text.create;
|
|
4
|
+
const type: "text";
|
|
5
|
+
const keyed: boolean;
|
|
6
|
+
}
|
|
7
|
+
export default EditorText;
|
|
8
|
+
import { Text } from "@bpmn-io/form-js-viewer/dist/types/render/components";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
const __init__: string[];
|
|
3
|
-
const formFields: (string | typeof
|
|
3
|
+
const formFields: (string | typeof EditorFormFields)[];
|
|
4
4
|
const renderer: (string | typeof Renderer)[];
|
|
5
5
|
}
|
|
6
6
|
export default _default;
|
|
7
|
-
import
|
|
7
|
+
import EditorFormFields from "./EditorFormFields";
|
|
8
8
|
import Renderer from "./Renderer";
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "Edit forms - powered by bpmn.io",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"scripts": {
|
|
22
22
|
"all": "run-s lint test build",
|
|
23
23
|
"build": "run-p bundle generate-types",
|
|
24
|
-
"bundle": "rollup -c --failAfterWarnings",
|
|
25
|
-
"bundle:watch": "rollup -c -w",
|
|
24
|
+
"bundle": "rollup -c --failAfterWarnings --bundleConfigAsCjs",
|
|
25
|
+
"bundle:watch": "rollup -c -w --bundleConfigAsCjs",
|
|
26
26
|
"dev": "npm test -- --auto-watch --no-single-run",
|
|
27
27
|
"example:dev": "cd example && npm start",
|
|
28
28
|
"lint": "run-s lint:*",
|
|
29
29
|
"lint:eslint": "eslint .",
|
|
30
|
-
"generate-types": "tsc --allowJs --skipLibCheck --declaration --emitDeclarationOnly --outDir dist/types src/index.js && copyfiles src/**.d.ts dist/types",
|
|
30
|
+
"generate-types": "tsc --allowJs --skipLibCheck --declaration --emitDeclarationOnly --outDir dist/types src/index.js && copyfiles --flat src/**.d.ts dist/types",
|
|
31
31
|
"test": "cross-env NODE_ENV=test karma start",
|
|
32
32
|
"prepublishOnly": "npm run build"
|
|
33
33
|
},
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"url": "https://github.com/bpmn-io"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@bpmn-io/form-js-viewer": "^0.
|
|
46
|
-
"@bpmn-io/properties-panel": "^1.
|
|
45
|
+
"@bpmn-io/form-js-viewer": "^0.12.1",
|
|
46
|
+
"@bpmn-io/properties-panel": "^1.2.0",
|
|
47
47
|
"array-move": "^3.0.1",
|
|
48
48
|
"big.js": "^6.2.1",
|
|
49
49
|
"dragula": "^3.7.3",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"files": [
|
|
59
59
|
"dist"
|
|
60
60
|
],
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "e4a01e3215209858258b2fb83dfc09b86fccc0db"
|
|
62
62
|
}
|