@bpmn-io/form-js-editor 0.7.2 → 0.8.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.
Files changed (113) hide show
  1. package/LICENSE +22 -22
  2. package/README.md +118 -117
  3. package/dist/assets/form-js-editor.css +267 -449
  4. package/dist/assets/properties-panel.css +930 -0
  5. package/dist/index.cjs +5394 -3201
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.es.js +5408 -3216
  8. package/dist/index.es.js.map +1 -1
  9. package/dist/types/FormEditor.d.ts +155 -150
  10. package/dist/types/core/Debounce.d.ts +10 -10
  11. package/dist/types/core/EventBus.d.ts +1 -1
  12. package/dist/types/core/FieldFactory.d.ts +18 -18
  13. package/dist/types/core/FormFieldRegistry.d.ts +19 -19
  14. package/dist/types/core/index.d.ts +17 -17
  15. package/dist/types/features/editor-actions/FormEditorActions.d.ts +8 -8
  16. package/dist/types/features/editor-actions/index.d.ts +6 -6
  17. package/dist/types/features/keyboard/FormEditorKeyboardBindings.d.ts +8 -8
  18. package/dist/types/features/keyboard/index.d.ts +7 -7
  19. package/dist/types/features/modeling/Modeling.d.ts +34 -34
  20. package/dist/types/features/modeling/behavior/IdBehavior.d.ts +7 -7
  21. package/dist/types/features/modeling/behavior/KeyBehavior.d.ts +7 -7
  22. package/dist/types/features/modeling/behavior/index.d.ts +8 -8
  23. package/dist/types/features/modeling/cmd/AddFormFieldHandler.d.ts +16 -16
  24. package/dist/types/features/modeling/cmd/EditFormFieldHandler.d.ts +16 -16
  25. package/dist/types/features/modeling/cmd/MoveFormFieldHandler.d.ts +17 -17
  26. package/dist/types/features/modeling/cmd/RemoveFormFieldHandler.d.ts +16 -16
  27. package/dist/types/features/modeling/cmd/UpdateIdClaimHandler.d.ts +14 -14
  28. package/dist/types/features/modeling/cmd/UpdateKeyClaimHandler.d.ts +14 -14
  29. package/dist/types/features/modeling/cmd/Util.d.ts +4 -4
  30. package/dist/types/features/modeling/index.d.ts +7 -7
  31. package/dist/types/features/palette/PaletteRenderer.d.ts +33 -0
  32. package/dist/types/{render/components/palette → features/palette/components}/Palette.d.ts +1 -1
  33. package/dist/types/features/palette/index.d.ts +5 -0
  34. package/dist/types/features/properties-panel/PropertiesPanel.d.ts +1 -0
  35. package/dist/types/features/properties-panel/PropertiesPanelHeaderProvider.d.ts +5 -0
  36. package/dist/types/features/properties-panel/PropertiesPanelPlaceholderProvider.d.ts +8 -0
  37. package/dist/types/features/properties-panel/PropertiesPanelRenderer.d.ts +37 -0
  38. package/dist/types/{render/components → features}/properties-panel/Util.d.ts +7 -6
  39. package/dist/types/features/properties-panel/context/FormPropertiesPanelContext.d.ts +11 -0
  40. package/dist/types/features/properties-panel/context/index.d.ts +1 -0
  41. package/dist/types/features/properties-panel/entries/ActionEntry.d.ts +9 -0
  42. package/dist/types/features/properties-panel/entries/ColumnsEntry.d.ts +9 -0
  43. package/dist/types/features/properties-panel/entries/CustomValueEntry.d.ts +11 -0
  44. package/dist/types/features/properties-panel/entries/DefaultValueEntry.d.ts +1 -0
  45. package/dist/types/features/properties-panel/entries/DescriptionEntry.d.ts +9 -0
  46. package/dist/types/features/properties-panel/entries/DisabledEntry.d.ts +9 -0
  47. package/dist/types/features/properties-panel/entries/IdEntry.d.ts +9 -0
  48. package/dist/types/features/properties-panel/entries/InputKeyValuesSourceEntry.d.ts +11 -0
  49. package/dist/types/features/properties-panel/entries/KeyEntry.d.ts +9 -0
  50. package/dist/types/features/properties-panel/entries/LabelEntry.d.ts +9 -0
  51. package/dist/types/features/properties-panel/entries/StaticValuesSourceEntry.d.ts +4 -0
  52. package/dist/types/features/properties-panel/entries/TextEntry.d.ts +9 -0
  53. package/dist/types/features/properties-panel/entries/ValueEntry.d.ts +11 -0
  54. package/dist/types/features/properties-panel/entries/ValuesSourceSelectEntry.d.ts +9 -0
  55. package/dist/types/features/properties-panel/entries/ValuesSourceUtil.d.ts +15 -0
  56. package/dist/types/{render/components → features}/properties-panel/entries/index.d.ts +14 -11
  57. package/dist/types/features/properties-panel/groups/CustomValuesGroup.d.ts +31 -0
  58. package/dist/types/features/properties-panel/groups/GeneralGroup.d.ts +5 -0
  59. package/dist/types/features/properties-panel/groups/ValidationGroup.d.ts +14 -0
  60. package/dist/types/features/properties-panel/groups/ValuesGroups.d.ts +1 -0
  61. package/dist/types/{render/components → features}/properties-panel/groups/index.d.ts +4 -4
  62. package/dist/types/features/properties-panel/hooks/index.d.ts +1 -0
  63. package/dist/types/features/properties-panel/hooks/usePropertiesPanelService.d.ts +1 -0
  64. package/dist/types/{render/components → features}/properties-panel/icons/index.d.ts +1 -1
  65. package/dist/types/features/properties-panel/index.d.ts +6 -0
  66. package/dist/types/features/selection/Selection.d.ts +14 -14
  67. package/dist/types/features/selection/SelectionBehavior.d.ts +7 -7
  68. package/dist/types/features/selection/index.d.ts +8 -8
  69. package/dist/types/import/Importer.d.ts +51 -51
  70. package/dist/types/import/index.d.ts +5 -5
  71. package/dist/types/index.d.ts +15 -15
  72. package/dist/types/render/Renderer.d.ts +26 -26
  73. package/dist/types/render/components/FormEditor.d.ts +1 -1
  74. package/dist/types/render/components/{palette/icons → icons}/index.d.ts +13 -11
  75. package/dist/types/render/context/DragAndDropContext.d.ts +4 -4
  76. package/dist/types/render/context/FormEditorContext.d.ts +11 -11
  77. package/dist/types/render/context/index.d.ts +2 -2
  78. package/dist/types/render/hooks/useService.d.ts +1 -1
  79. package/dist/types/render/index.d.ts +8 -8
  80. package/dist/types/types.d.ts +28 -28
  81. package/package.json +7 -6
  82. package/dist/types/render/components/properties-panel/PropertiesPanel.d.ts +0 -1
  83. package/dist/types/render/components/properties-panel/components/CheckboxInput.d.ts +0 -1
  84. package/dist/types/render/components/properties-panel/components/CheckboxInputEntry.d.ts +0 -1
  85. package/dist/types/render/components/properties-panel/components/CollapsibleEntry.d.ts +0 -1
  86. package/dist/types/render/components/properties-panel/components/Group.d.ts +0 -1
  87. package/dist/types/render/components/properties-panel/components/NumberInput.d.ts +0 -1
  88. package/dist/types/render/components/properties-panel/components/NumberInputEntry.d.ts +0 -1
  89. package/dist/types/render/components/properties-panel/components/Select.d.ts +0 -1
  90. package/dist/types/render/components/properties-panel/components/SelectEntry.d.ts +0 -1
  91. package/dist/types/render/components/properties-panel/components/TextInput.d.ts +0 -1
  92. package/dist/types/render/components/properties-panel/components/TextInputEntry.d.ts +0 -1
  93. package/dist/types/render/components/properties-panel/components/Textarea.d.ts +0 -1
  94. package/dist/types/render/components/properties-panel/components/TextareaEntry.d.ts +0 -1
  95. package/dist/types/render/components/properties-panel/components/index.d.ts +0 -12
  96. package/dist/types/render/components/properties-panel/entries/ActionEntry.d.ts +0 -1
  97. package/dist/types/render/components/properties-panel/entries/ColumnsEntry.d.ts +0 -1
  98. package/dist/types/render/components/properties-panel/entries/CustomValueEntry.d.ts +0 -1
  99. package/dist/types/render/components/properties-panel/entries/DefaultValueEntry.d.ts +0 -1
  100. package/dist/types/render/components/properties-panel/entries/DescriptionEntry.d.ts +0 -1
  101. package/dist/types/render/components/properties-panel/entries/DisabledEntry.d.ts +0 -1
  102. package/dist/types/render/components/properties-panel/entries/IdEntry.d.ts +0 -1
  103. package/dist/types/render/components/properties-panel/entries/KeyEntry.d.ts +0 -1
  104. package/dist/types/render/components/properties-panel/entries/LabelEntry.d.ts +0 -1
  105. package/dist/types/render/components/properties-panel/entries/TextEntry.d.ts +0 -1
  106. package/dist/types/render/components/properties-panel/entries/ValueEntry.d.ts +0 -1
  107. package/dist/types/render/components/properties-panel/groups/CustomValuesGroup.d.ts +0 -10
  108. package/dist/types/render/components/properties-panel/groups/GeneralGroup.d.ts +0 -1
  109. package/dist/types/render/components/properties-panel/groups/ValidationGroup.d.ts +0 -1
  110. package/dist/types/render/components/properties-panel/groups/ValuesGroup.d.ts +0 -1
  111. package/dist/types/render/hooks/index.d.ts +0 -3
  112. package/dist/types/render/hooks/useDebounce.d.ts +0 -1
  113. package/dist/types/render/hooks/usePrevious.d.ts +0 -1
@@ -1,14 +1,14 @@
1
- declare class Selection {
2
- constructor(eventBus: any);
3
- _eventBus: any;
4
- _selection: any;
5
- get(): any;
6
- set(selection: any): void;
7
- toggle(selection: any): void;
8
- clear(): void;
9
- isSelected(formField: any): boolean;
10
- }
11
- declare namespace Selection {
12
- const $inject: string[];
13
- }
14
- export default Selection;
1
+ declare class Selection {
2
+ constructor(eventBus: any);
3
+ _eventBus: any;
4
+ _selection: any;
5
+ get(): any;
6
+ set(selection: any): void;
7
+ toggle(selection: any): void;
8
+ clear(): void;
9
+ isSelected(formField: any): boolean;
10
+ }
11
+ declare namespace Selection {
12
+ const $inject: string[];
13
+ }
14
+ export default Selection;
@@ -1,7 +1,7 @@
1
- declare class SelectionBehavior {
2
- constructor(eventBus: any, selection: any);
3
- }
4
- declare namespace SelectionBehavior {
5
- const $inject: string[];
6
- }
7
- export default SelectionBehavior;
1
+ declare class SelectionBehavior {
2
+ constructor(eventBus: any, selection: any);
3
+ }
4
+ declare namespace SelectionBehavior {
5
+ const $inject: string[];
6
+ }
7
+ export default SelectionBehavior;
@@ -1,8 +1,8 @@
1
- declare namespace _default {
2
- const __init__: string[];
3
- const selection: (string | typeof Selection)[];
4
- const selectionBehavior: (string | typeof SelectionBehavior)[];
5
- }
6
- export default _default;
7
- import Selection from "./Selection";
8
- import SelectionBehavior from "./SelectionBehavior";
1
+ declare namespace _default {
2
+ const __init__: string[];
3
+ const selection: (string | typeof Selection)[];
4
+ const selectionBehavior: (string | typeof SelectionBehavior)[];
5
+ }
6
+ export default _default;
7
+ import Selection from "./Selection";
8
+ import SelectionBehavior from "./SelectionBehavior";
@@ -1,51 +1,51 @@
1
- declare class Importer {
2
- /**
3
- * @constructor
4
- * @param { import('../core/FormFieldRegistry').default } formFieldRegistry
5
- * @param { import('../core/FieldFactory').default } fieldFactory
6
- */
7
- constructor(formFieldRegistry: import('../core/FormFieldRegistry').default, fieldFactory: import('../core/FieldFactory').default);
8
- _formFieldRegistry: import("../core/FormFieldRegistry").default;
9
- _fieldFactory: import("../core/FieldFactory").default;
10
- /**
11
- * Import schema creating fields, attaching additional
12
- * information to each field and adding fields to the
13
- * field registry.
14
- *
15
- * Additional information attached:
16
- *
17
- * * `id` (unless present)
18
- * * `_parent`
19
- * * `_path`
20
- *
21
- * @param {any} schema
22
- *
23
- * @typedef {{ warnings: Error[], schema: any }} ImportResult
24
- * @returns {ImportResult}
25
- */
26
- importSchema(schema: any): {
27
- warnings: Error[];
28
- schema: any;
29
- };
30
- /**
31
- * @param {{[x: string]: any}} fieldAttrs
32
- * @param {String} [parentId]
33
- * @param {number} [index]
34
- *
35
- * @return {any} field
36
- */
37
- importFormField(fieldAttrs: {
38
- [x: string]: any;
39
- }, parentId?: string, index?: number): any;
40
- /**
41
- * @param {Array<any>} components
42
- * @param {string} parentId
43
- *
44
- * @return {Array<any>} imported components
45
- */
46
- importFormFields(components: Array<any>, parentId: string): Array<any>;
47
- }
48
- declare namespace Importer {
49
- const $inject: string[];
50
- }
51
- export default Importer;
1
+ declare class Importer {
2
+ /**
3
+ * @constructor
4
+ * @param { import('../core/FormFieldRegistry').default } formFieldRegistry
5
+ * @param { import('../core/FieldFactory').default } fieldFactory
6
+ */
7
+ constructor(formFieldRegistry: import('../core/FormFieldRegistry').default, fieldFactory: import('../core/FieldFactory').default);
8
+ _formFieldRegistry: import("../core/FormFieldRegistry").default;
9
+ _fieldFactory: import("../core/FieldFactory").default;
10
+ /**
11
+ * Import schema creating fields, attaching additional
12
+ * information to each field and adding fields to the
13
+ * field registry.
14
+ *
15
+ * Additional information attached:
16
+ *
17
+ * * `id` (unless present)
18
+ * * `_parent`
19
+ * * `_path`
20
+ *
21
+ * @param {any} schema
22
+ *
23
+ * @typedef {{ warnings: Error[], schema: any }} ImportResult
24
+ * @returns {ImportResult}
25
+ */
26
+ importSchema(schema: any): {
27
+ warnings: Error[];
28
+ schema: any;
29
+ };
30
+ /**
31
+ * @param {{[x: string]: any}} fieldAttrs
32
+ * @param {String} [parentId]
33
+ * @param {number} [index]
34
+ *
35
+ * @return {any} field
36
+ */
37
+ importFormField(fieldAttrs: {
38
+ [x: string]: any;
39
+ }, parentId?: string, index?: number): any;
40
+ /**
41
+ * @param {Array<any>} components
42
+ * @param {string} parentId
43
+ *
44
+ * @return {Array<any>} imported components
45
+ */
46
+ importFormFields(components: Array<any>, parentId: string): Array<any>;
47
+ }
48
+ declare namespace Importer {
49
+ const $inject: string[];
50
+ }
51
+ export default Importer;
@@ -1,5 +1,5 @@
1
- declare namespace _default {
2
- const importer: (string | typeof Importer)[];
3
- }
4
- export default _default;
5
- import Importer from "./Importer";
1
+ declare namespace _default {
2
+ const importer: (string | typeof Importer)[];
3
+ }
4
+ export default _default;
5
+ import Importer from "./Importer";
@@ -1,15 +1,15 @@
1
- /**
2
- * @typedef { import('./types').CreateFormEditorOptions } CreateFormEditorOptions
3
- */
4
- /**
5
- * Create a form editor.
6
- *
7
- * @param {CreateFormEditorOptions} options
8
- *
9
- * @return {Promise<FormEditor>}
10
- */
11
- export function createFormEditor(options: CreateFormEditorOptions): Promise<FormEditor>;
12
- export type CreateFormEditorOptions = import('./types').CreateFormEditorOptions;
13
- import FormEditor from "./FormEditor";
14
- import { schemaVersion } from "@bpmn-io/form-js-viewer";
15
- export { FormEditor, schemaVersion };
1
+ /**
2
+ * @typedef { import('./types').CreateFormEditorOptions } CreateFormEditorOptions
3
+ */
4
+ /**
5
+ * Create a form editor.
6
+ *
7
+ * @param {CreateFormEditorOptions} options
8
+ *
9
+ * @return {Promise<FormEditor>}
10
+ */
11
+ export function createFormEditor(options: CreateFormEditorOptions): Promise<FormEditor>;
12
+ export type CreateFormEditorOptions = import('./types').CreateFormEditorOptions;
13
+ import FormEditor from "./FormEditor";
14
+ import { schemaVersion } from "@bpmn-io/form-js-viewer";
15
+ export { FormEditor, schemaVersion };
@@ -1,26 +1,26 @@
1
- /**
2
- * @typedef { { container: Element, compact?: boolean } } RenderConfig
3
- * @typedef { import('didi').Injector } Injector
4
- * @typedef { import('../core/EventBus').default } EventBus
5
- * @typedef { import('../FormEditor').default } FormEditor
6
- */
7
- /**
8
- * @param {RenderConfig} renderConfig
9
- * @param {EventBus} eventBus
10
- * @param {FormEditor} formEditor
11
- * @param {Injector} injector
12
- */
13
- declare class Renderer {
14
- constructor(renderConfig: any, eventBus: any, formEditor: any, injector: any);
15
- }
16
- declare namespace Renderer {
17
- const $inject: string[];
18
- }
19
- export default Renderer;
20
- export type RenderConfig = {
21
- container: Element;
22
- compact?: boolean;
23
- };
24
- export type Injector = any;
25
- export type EventBus = any;
26
- export type FormEditor = import('../FormEditor').default;
1
+ /**
2
+ * @typedef { { container: Element, compact?: boolean } } RenderConfig
3
+ * @typedef { import('didi').Injector } Injector
4
+ * @typedef { import('../core/EventBus').default } EventBus
5
+ * @typedef { import('../FormEditor').default } FormEditor
6
+ */
7
+ /**
8
+ * @param {RenderConfig} renderConfig
9
+ * @param {EventBus} eventBus
10
+ * @param {FormEditor} formEditor
11
+ * @param {Injector} injector
12
+ */
13
+ declare class Renderer {
14
+ constructor(renderConfig: any, eventBus: any, formEditor: any, injector: any);
15
+ }
16
+ declare namespace Renderer {
17
+ const $inject: string[];
18
+ }
19
+ export default Renderer;
20
+ export type RenderConfig = {
21
+ container: Element;
22
+ compact?: boolean;
23
+ };
24
+ export type Injector = import('didi').Injector;
25
+ export type EventBus = any;
26
+ export type FormEditor = import('../FormEditor').default;
@@ -1 +1 @@
1
- export default function FormEditor(props: any): any;
1
+ export default function FormEditor(props: any): any;
@@ -1,11 +1,13 @@
1
- export namespace iconsByType {
2
- export { ButtonIcon as button };
3
- export { CheckboxIcon as checkbox };
4
- export { ColumnsIcon as columns };
5
- export { NumberIcon as number };
6
- export { RadioIcon as radio };
7
- export { SelectIcon as select };
8
- export { TextIcon as text };
9
- export { TextfieldIcon as textfield };
10
- export { FormIcon as default };
11
- }
1
+ export namespace iconsByType {
2
+ export { ButtonIcon as button };
3
+ export { CheckboxIcon as checkbox };
4
+ export { ChecklistIcon as checklist };
5
+ export { ColumnsIcon as columns };
6
+ export { NumberIcon as number };
7
+ export { RadioIcon as radio };
8
+ export { SelectIcon as select };
9
+ export { TaglistIcon as taglist };
10
+ export { TextIcon as text };
11
+ export { TextfieldIcon as textfield };
12
+ export { FormIcon as default };
13
+ }
@@ -1,4 +1,4 @@
1
- export default DragAndDropContext;
2
- declare const DragAndDropContext: import("preact").Context<{
3
- drake: any;
4
- }>;
1
+ export default DragAndDropContext;
2
+ declare const DragAndDropContext: import("preact").Context<{
3
+ drake: any;
4
+ }>;
@@ -1,11 +1,11 @@
1
- export default FormEditorContext;
2
- declare const FormEditorContext: import("preact").Context<{
3
- getService: typeof getService;
4
- }>;
5
- /**
6
- * @param {string} type
7
- * @param {boolean} [strict]
8
- *
9
- * @returns {any}
10
- */
11
- declare function getService(type: string, strict?: boolean): any;
1
+ export default FormEditorContext;
2
+ declare const FormEditorContext: import("preact").Context<{
3
+ getService: typeof getService;
4
+ }>;
5
+ /**
6
+ * @param {string} type
7
+ * @param {boolean} [strict]
8
+ *
9
+ * @returns {any}
10
+ */
11
+ declare function getService(type: string, strict?: boolean): any;
@@ -1,2 +1,2 @@
1
- export { default as DragAndDropContext } from "./DragAndDropContext";
2
- export { default as FormEditorContext } from "./FormEditorContext";
1
+ export { default as DragAndDropContext } from "./DragAndDropContext";
2
+ export { default as FormEditorContext } from "./FormEditorContext";
@@ -1 +1 @@
1
- export default function _default(type: any, strict: any): any;
1
+ export default function _default(type: any, strict: any): any;
@@ -1,8 +1,8 @@
1
- declare namespace _default {
2
- const __init__: string[];
3
- const formFields: (string | typeof FormFields)[];
4
- const renderer: (string | typeof Renderer)[];
5
- }
6
- export default _default;
7
- import { FormFields } from "@bpmn-io/form-js-viewer/dist/types/render";
8
- import Renderer from "./Renderer";
1
+ declare namespace _default {
2
+ const __init__: string[];
3
+ const formFields: (string | typeof FormFields)[];
4
+ const renderer: (string | typeof Renderer)[];
5
+ }
6
+ export default _default;
7
+ import { FormFields } from "@bpmn-io/form-js-viewer/dist/types/render";
8
+ import Renderer from "./Renderer";
@@ -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": "0.7.2",
3
+ "version": "0.8.0",
4
4
  "description": "Edit forms - powered by bpmn.io",
5
5
  "exports": {
6
6
  ".": {
@@ -9,6 +9,7 @@
9
9
  },
10
10
  "./dist/assets/form-js-editor.css": "./dist/assets/form-js-editor.css",
11
11
  "./dist/assets/dragula.css": "./dist/assets/dragula.css",
12
+ "./dist/assets/properties-panel.css": "./dist/assets/properties-panel.css",
12
13
  "./package.json": "./package.json"
13
14
  },
14
15
  "publishConfig": {
@@ -20,7 +21,7 @@
20
21
  "scripts": {
21
22
  "all": "run-s lint test build",
22
23
  "build": "run-p bundle generate-types",
23
- "bundle": "rollup -c",
24
+ "bundle": "rollup -c --failAfterWarnings",
24
25
  "bundle:watch": "rollup -c -w",
25
26
  "dev": "npm test -- --auto-watch --no-single-run",
26
27
  "example:dev": "cd example && npm start",
@@ -41,12 +42,12 @@
41
42
  "url": "https://github.com/bpmn-io"
42
43
  },
43
44
  "dependencies": {
44
- "@bpmn-io/form-js-viewer": "^0.7.2",
45
+ "@bpmn-io/form-js-viewer": "^0.8.0",
45
46
  "array-move": "^3.0.1",
46
47
  "dragula": "^3.7.3",
47
48
  "ids": "^1.0.0",
48
- "min-dash": "^3.7.0",
49
- "min-dom": "^3.1.3",
49
+ "min-dash": "^3.8.1",
50
+ "min-dom": "^3.2.1",
50
51
  "preact": "^10.5.14"
51
52
  },
52
53
  "sideEffects": [
@@ -55,5 +56,5 @@
55
56
  "files": [
56
57
  "dist"
57
58
  ],
58
- "gitHead": "46631f707eea5537cbeb81aa05423fd9be71a3c0"
59
+ "gitHead": "0d9bff2b98491fb96944135e78106cbf807c580a"
59
60
  }
@@ -1 +0,0 @@
1
- export default function PropertiesPanel(props: any): any;
@@ -1 +0,0 @@
1
- export default function CheckboxInput(props: any): any;
@@ -1 +0,0 @@
1
- export default function CheckboxInputEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function CollapsibleEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function Group(props: any): any;
@@ -1 +0,0 @@
1
- export default function NumberInput(props: any): any;
@@ -1 +0,0 @@
1
- export default function NumberInputEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function Select(props: any): any;
@@ -1 +0,0 @@
1
- export default function SelectEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function TextInput(props: any): any;
@@ -1 +0,0 @@
1
- export default function TextInputEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function Textarea(props: any): any;
@@ -1 +0,0 @@
1
- export default function TextareaEntry(props: any): any;
@@ -1,12 +0,0 @@
1
- export { default as CheckboxInput } from "./CheckboxInput";
2
- export { default as NumberInput } from "./NumberInput";
3
- export { default as Select } from "./Select";
4
- export { default as Textarea } from "./Textarea";
5
- export { default as TextInput } from "./TextInput";
6
- export { default as CheckboxInputEntry } from "./CheckboxInputEntry";
7
- export { default as NumberInputEntry } from "./NumberInputEntry";
8
- export { default as SelectEntry } from "./SelectEntry";
9
- export { default as TextareaEntry } from "./TextareaEntry";
10
- export { default as TextInputEntry } from "./TextInputEntry";
11
- export { default as CollapsibleEntry } from "./CollapsibleEntry";
12
- export { default as Group } from "./Group";
@@ -1 +0,0 @@
1
- export default function ActionEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function ColumnsEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function CustomValueEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function DefaultValueEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function DescriptionEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function DisabledEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function IdEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function KeyEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function LabelEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function TextEntry(props: any): any;
@@ -1 +0,0 @@
1
- export default function ValueEntry(props: any): any;
@@ -1,10 +0,0 @@
1
- export default function CustomValuesGroup(field: any, editField: any): any;
2
- /**
3
- * Returns copy of object without key.
4
- *
5
- * @param {Object} properties
6
- * @param {string} oldKey
7
- *
8
- * @returns {Object}
9
- */
10
- export function removeKey(properties: any, oldKey: string): any;
@@ -1 +0,0 @@
1
- export default function GeneralGroup(field: any, editField: any): any;
@@ -1 +0,0 @@
1
- export default function ValidationGroup(field: any, editField: any): any;
@@ -1 +0,0 @@
1
- export default function ValuesGroup(field: any, editField: any): any;
@@ -1,3 +0,0 @@
1
- export { default as useService } from "./useService";
2
- export { default as usePrevious } from "./usePrevious";
3
- export { default as useDebounce } from "./useDebounce";
@@ -1 +0,0 @@
1
- export default function useDebounce(fn: any, dependencies?: any[]): any;
@@ -1 +0,0 @@
1
- export default function usePrevious(value: any): any;