@bpmn-io/form-js-editor 1.4.1 → 1.5.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 (59) hide show
  1. package/dist/assets/form-js-editor-base.css +6 -6
  2. package/dist/assets/form-js-editor.css +6 -6
  3. package/dist/index.cjs +223 -66
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.es.js +224 -67
  6. package/dist/index.es.js.map +1 -1
  7. package/dist/types/core/Debounce.d.ts +1 -1
  8. package/dist/types/core/FormLayoutValidator.d.ts +2 -2
  9. package/dist/types/core/index.d.ts +9 -9
  10. package/dist/types/features/dragging/Dragging.d.ts +2 -2
  11. package/dist/types/features/dragging/index.d.ts +2 -2
  12. package/dist/types/features/editor-actions/FormEditorActions.d.ts +1 -1
  13. package/dist/types/features/editor-actions/index.d.ts +2 -2
  14. package/dist/types/features/expression-language/EditorTemplating.d.ts +1 -1
  15. package/dist/types/features/expression-language/index.d.ts +3 -3
  16. package/dist/types/features/keyboard/FormEditorKeyboardBindings.d.ts +1 -1
  17. package/dist/types/features/keyboard/index.d.ts +3 -3
  18. package/dist/types/features/modeling/FormLayoutUpdater.d.ts +1 -1
  19. package/dist/types/features/modeling/Modeling.d.ts +1 -1
  20. package/dist/types/features/modeling/behavior/IdBehavior.d.ts +1 -1
  21. package/dist/types/features/modeling/behavior/KeyBehavior.d.ts +1 -1
  22. package/dist/types/features/modeling/behavior/PathBehavior.d.ts +1 -1
  23. package/dist/types/features/modeling/behavior/ValidateBehavior.d.ts +1 -1
  24. package/dist/types/features/modeling/behavior/ValuesSourceBehavior.d.ts +1 -1
  25. package/dist/types/features/modeling/behavior/index.d.ts +6 -6
  26. package/dist/types/features/modeling/cmd/AddFormFieldHandler.d.ts +1 -1
  27. package/dist/types/features/modeling/cmd/EditFormFieldHandler.d.ts +1 -1
  28. package/dist/types/features/modeling/cmd/MoveFormFieldHandler.d.ts +4 -2
  29. package/dist/types/features/modeling/cmd/RemoveFormFieldHandler.d.ts +1 -1
  30. package/dist/types/features/modeling/cmd/UpdateIdClaimHandler.d.ts +1 -1
  31. package/dist/types/features/modeling/cmd/UpdateKeyClaimHandler.d.ts +1 -1
  32. package/dist/types/features/modeling/cmd/UpdatePathClaimHandler.d.ts +1 -1
  33. package/dist/types/features/modeling/index.d.ts +4 -4
  34. package/dist/types/features/palette/PaletteModule.d.ts +1 -1
  35. package/dist/types/features/palette/index.d.ts +1 -1
  36. package/dist/types/features/properties-panel/PropertiesPanelRenderer.d.ts +1 -1
  37. package/dist/types/features/properties-panel/PropertiesProvider.d.ts +1 -1
  38. package/dist/types/features/properties-panel/entries/GroupEntries.d.ts +2 -0
  39. package/dist/types/features/properties-panel/entries/HeightEntry.d.ts +12 -0
  40. package/dist/types/features/properties-panel/entries/IFrameHeightEntry.d.ts +10 -0
  41. package/dist/types/features/properties-panel/entries/IFrameUrlEntry.d.ts +10 -0
  42. package/dist/types/features/properties-panel/entries/SelectEntries.d.ts +2 -0
  43. package/dist/types/features/properties-panel/entries/factories/simpleBoolEntryFactory.d.ts +2 -0
  44. package/dist/types/features/properties-panel/entries/index.d.ts +3 -1
  45. package/dist/types/features/properties-panel/groups/GeneralGroup.d.ts +2 -0
  46. package/dist/types/features/properties-panel/index.d.ts +4 -4
  47. package/dist/types/features/render-injection/RenderInjector.d.ts +1 -1
  48. package/dist/types/features/render-injection/index.d.ts +2 -2
  49. package/dist/types/features/selection/Selection.d.ts +1 -1
  50. package/dist/types/features/selection/SelectionBehavior.d.ts +1 -1
  51. package/dist/types/features/selection/index.d.ts +3 -3
  52. package/dist/types/render/Renderer.d.ts +1 -1
  53. package/dist/types/render/components/ModularSection.d.ts +1 -1
  54. package/dist/types/render/components/editor-form-fields/EditorIFrame.d.ts +6 -0
  55. package/dist/types/render/components/editor-form-fields/EditorText.d.ts +1 -1
  56. package/dist/types/render/components/editor-form-fields/index.d.ts +2 -1
  57. package/dist/types/render/index.d.ts +3 -3
  58. package/package.json +3 -3
  59. package/dist/types/features/properties-panel/entries/SpacerEntry.d.ts +0 -10
@@ -5,6 +5,6 @@
5
5
  */
6
6
  declare function DebounceFactory(config?: number | boolean): (fn: any) => any;
7
7
  declare namespace DebounceFactory {
8
- const $inject: string[];
8
+ let $inject: string[];
9
9
  }
10
10
  export default DebounceFactory;
@@ -12,9 +12,9 @@ declare class FormLayoutValidator {
12
12
  constructor(formLayouter: import('./FormLayouter').default, formFieldRegistry: import('./FormFieldRegistry').default);
13
13
  _formLayouter: import("@bpmn-io/form-js-viewer/dist/types/core/FormLayouter").default;
14
14
  _formFieldRegistry: import("./FormFieldRegistry").default;
15
- validateField(field: {}, columns: any, row: any): string;
15
+ validateField(field: {}, columns: any, row: any): "Minimum 2 columns are allowed" | "Maximum 16 columns are allowed" | "New value exceeds the maximum of 16 columns per row" | "Maximum 4 fields per row are allowed";
16
16
  }
17
17
  declare namespace FormLayoutValidator {
18
- const $inject: string[];
18
+ let $inject: string[];
19
19
  }
20
20
  export default FormLayoutValidator;
@@ -1,17 +1,17 @@
1
1
  declare namespace _default {
2
- const __depends__: {
2
+ let __depends__: {
3
3
  __init__: string[];
4
4
  formFields: (string | typeof import("../render/EditorFormFields").default)[];
5
5
  renderer: (string | typeof import("../render/Renderer").default)[];
6
6
  }[];
7
- const debounce: (string | typeof DebounceFactory)[];
8
- const eventBus: (string | typeof EventBus)[];
9
- const importer: (string | typeof Importer)[];
10
- const formFieldRegistry: (string | typeof FormFieldRegistry)[];
11
- const pathRegistry: (string | typeof PathRegistry)[];
12
- const formLayouter: (string | typeof FormLayouter)[];
13
- const formLayoutValidator: (string | typeof FormLayoutValidator)[];
14
- const fieldFactory: (string | typeof FieldFactory)[];
7
+ let debounce: (string | typeof DebounceFactory)[];
8
+ let eventBus: (string | typeof EventBus)[];
9
+ let importer: (string | typeof Importer)[];
10
+ let formFieldRegistry: (string | typeof FormFieldRegistry)[];
11
+ let pathRegistry: (string | typeof PathRegistry)[];
12
+ let formLayouter: (string | typeof FormLayouter)[];
13
+ let formLayoutValidator: (string | typeof FormLayoutValidator)[];
14
+ let fieldFactory: (string | typeof FieldFactory)[];
15
15
  }
16
16
  export default _default;
17
17
  import DebounceFactory from './Debounce';
@@ -37,7 +37,7 @@ declare class Dragging {
37
37
  * @returns { number }
38
38
  */
39
39
  getTargetIndex(targetRow: FormRow, targetFormField: any, sibling: HTMLElement): number;
40
- validateDrop(element: any, target: any): string;
40
+ validateDrop(element: any, target: any): "Minimum 2 columns are allowed" | "Maximum 16 columns are allowed" | "New value exceeds the maximum of 16 columns per row" | "Maximum 4 fields per row are allowed" | "Drop is not a valid target" | "Drop not allowed by path registry";
41
41
  moveField(element: any, source: any, targetRow: any, targetFormField: any, targetIndex: any): void;
42
42
  createNewField(element: any, targetRow: any, targetFormField: any, targetIndex: any): void;
43
43
  handleRowDrop(el: any, target: any, source: any, sibling: any): void;
@@ -53,7 +53,7 @@ declare class Dragging {
53
53
  emit(event: any, context: any): void;
54
54
  }
55
55
  declare namespace Dragging {
56
- const $inject: string[];
56
+ let $inject: string[];
57
57
  }
58
58
  export default Dragging;
59
59
  export type FormRow = {
@@ -1,6 +1,6 @@
1
1
  declare namespace _default {
2
- const __init__: string[];
3
- const dragging: (string | typeof Dragging)[];
2
+ let __init__: string[];
3
+ let dragging: (string | typeof Dragging)[];
4
4
  }
5
5
  export default _default;
6
6
  import Dragging from './Dragging';
@@ -3,7 +3,7 @@ declare class FormEditorActions extends EditorActions {
3
3
  _registerDefaultActions(injector: any): void;
4
4
  }
5
5
  declare namespace FormEditorActions {
6
- const $inject: string[];
6
+ let $inject: string[];
7
7
  }
8
8
  export default FormEditorActions;
9
9
  import EditorActions from 'diagram-js/lib/features/editor-actions/EditorActions';
@@ -1,6 +1,6 @@
1
1
  declare namespace _default {
2
- const __depends__: import("didi").ModuleDeclaration[];
3
- const editorActions: (string | typeof FormEditorActions)[];
2
+ let __depends__: import("didi").ModuleDeclaration[];
3
+ let editorActions: (string | typeof FormEditorActions)[];
4
4
  }
5
5
  export default _default;
6
6
  import FormEditorActions from './FormEditorActions';
@@ -3,6 +3,6 @@ declare class EditorTemplating {
3
3
  evaluate(template: any): any;
4
4
  }
5
5
  declare namespace EditorTemplating {
6
- const $inject: any[];
6
+ let $inject: any[];
7
7
  }
8
8
  export default EditorTemplating;
@@ -1,7 +1,7 @@
1
1
  declare namespace _default {
2
- const __init__: string[];
3
- const expressionLanguage: (string | typeof FeelExpressionLanguage)[];
4
- const templating: (string | typeof EditorTemplating)[];
2
+ let __init__: string[];
3
+ let expressionLanguage: (string | typeof FeelExpressionLanguage)[];
4
+ let templating: (string | typeof EditorTemplating)[];
5
5
  }
6
6
  export default _default;
7
7
  import { FeelExpressionLanguage } from '@bpmn-io/form-js-viewer';
@@ -3,6 +3,6 @@ declare class FormEditorKeyboardBindings {
3
3
  registerBindings(keyboard: any, editorActions: any): void;
4
4
  }
5
5
  declare namespace FormEditorKeyboardBindings {
6
- const $inject: string[];
6
+ let $inject: string[];
7
7
  }
8
8
  export default FormEditorKeyboardBindings;
@@ -1,7 +1,7 @@
1
1
  declare namespace _default {
2
- const __depends__: import("didi").ModuleDeclaration[];
3
- const __init__: string[];
4
- const keyboardBindings: (string | typeof FormEditorKeyboardBindings)[];
2
+ let __depends__: import("didi").ModuleDeclaration[];
3
+ let __init__: string[];
4
+ let keyboardBindings: (string | typeof FormEditorKeyboardBindings)[];
5
5
  }
6
6
  export default _default;
7
7
  import FormEditorKeyboardBindings from './FormEditorKeyboardBindings';
@@ -8,7 +8,7 @@ declare class FormLayoutUpdater extends CommandInterceptor {
8
8
  updateRowIds(event: any): void;
9
9
  }
10
10
  declare namespace FormLayoutUpdater {
11
- const $inject: string[];
11
+ let $inject: string[];
12
12
  }
13
13
  export default FormLayoutUpdater;
14
14
  import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
@@ -26,7 +26,7 @@ declare class Modeling {
26
26
  unclaimPath(formField: any, path: any): void;
27
27
  }
28
28
  declare namespace Modeling {
29
- const $inject: string[];
29
+ let $inject: string[];
30
30
  }
31
31
  export default Modeling;
32
32
  import AddFormFieldHandler from './cmd/AddFormFieldHandler';
@@ -2,7 +2,7 @@ declare class IdBehavior extends CommandInterceptor {
2
2
  constructor(eventBus: any, modeling: any);
3
3
  }
4
4
  declare namespace IdBehavior {
5
- const $inject: string[];
5
+ let $inject: string[];
6
6
  }
7
7
  export default IdBehavior;
8
8
  import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
@@ -2,7 +2,7 @@ declare class KeyBehavior extends CommandInterceptor {
2
2
  constructor(eventBus: any, modeling: any, formFields: any);
3
3
  }
4
4
  declare namespace KeyBehavior {
5
- const $inject: string[];
5
+ let $inject: string[];
6
6
  }
7
7
  export default KeyBehavior;
8
8
  import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
@@ -2,7 +2,7 @@ declare class PathBehavior extends CommandInterceptor {
2
2
  constructor(eventBus: any, modeling: any, formFields: any);
3
3
  }
4
4
  declare namespace PathBehavior {
5
- const $inject: string[];
5
+ let $inject: string[];
6
6
  }
7
7
  export default PathBehavior;
8
8
  import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
@@ -2,7 +2,7 @@ declare class ValidateBehavior extends CommandInterceptor {
2
2
  constructor(eventBus: any);
3
3
  }
4
4
  declare namespace ValidateBehavior {
5
- const $inject: string[];
5
+ let $inject: string[];
6
6
  }
7
7
  export default ValidateBehavior;
8
8
  import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
@@ -2,7 +2,7 @@ declare class ValuesSourceBehavior extends CommandInterceptor {
2
2
  constructor(eventBus: any);
3
3
  }
4
4
  declare namespace ValuesSourceBehavior {
5
- const $inject: string[];
5
+ let $inject: string[];
6
6
  }
7
7
  export default ValuesSourceBehavior;
8
8
  import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
@@ -1,10 +1,10 @@
1
1
  declare namespace _default {
2
- const __init__: string[];
3
- const idBehavior: (string | typeof IdBehavior)[];
4
- const keyBehavior: (string | typeof KeyBehavior)[];
5
- const pathBehavior: (string | typeof PathBehavior)[];
6
- const validateBehavior: (string | typeof ValidateBehavior)[];
7
- const valuesSourceBehavior: (string | typeof ValuesSourceBehavior)[];
2
+ let __init__: string[];
3
+ let idBehavior: (string | typeof IdBehavior)[];
4
+ let keyBehavior: (string | typeof KeyBehavior)[];
5
+ let pathBehavior: (string | typeof PathBehavior)[];
6
+ let validateBehavior: (string | typeof ValidateBehavior)[];
7
+ let valuesSourceBehavior: (string | typeof ValuesSourceBehavior)[];
8
8
  }
9
9
  export default _default;
10
10
  import IdBehavior from './IdBehavior';
@@ -11,6 +11,6 @@ declare class AddFormFieldHandler {
11
11
  revert(context: any): void;
12
12
  }
13
13
  declare namespace AddFormFieldHandler {
14
- const $inject: string[];
14
+ let $inject: string[];
15
15
  }
16
16
  export default AddFormFieldHandler;
@@ -11,6 +11,6 @@ declare class EditFormFieldHandler {
11
11
  revert(context: any): any;
12
12
  }
13
13
  declare namespace EditFormFieldHandler {
14
- const $inject: string[];
14
+ let $inject: string[];
15
15
  }
16
16
  export default EditFormFieldHandler;
@@ -4,16 +4,18 @@ declare class MoveFormFieldHandler {
4
4
  * @param { import('../../../FormEditor').default } formEditor
5
5
  * @param { import('../../../core/FormFieldRegistry').default } formFieldRegistry
6
6
  * @param { import('@bpmn-io/form-js-viewer').PathRegistry } pathRegistry
7
+ * @param { import('@bpmn-io/form-js-viewer').FormLayouter } formLayouter
7
8
  */
8
- constructor(formEditor: import('../../../FormEditor').default, formFieldRegistry: import('../../../core/FormFieldRegistry').default, pathRegistry: import('@bpmn-io/form-js-viewer').PathRegistry);
9
+ constructor(formEditor: import('../../../FormEditor').default, formFieldRegistry: import('../../../core/FormFieldRegistry').default, pathRegistry: import('@bpmn-io/form-js-viewer').PathRegistry, formLayouter: import('@bpmn-io/form-js-viewer').FormLayouter);
9
10
  _formEditor: import("../../../FormEditor").default;
10
11
  _formFieldRegistry: import("../../../core/FormFieldRegistry").default;
11
12
  _pathRegistry: import("@bpmn-io/form-js-viewer/dist/types/core/PathRegistry").default;
13
+ _formLayouter: import("@bpmn-io/form-js-viewer/dist/types/core/FormLayouter").default;
12
14
  execute(context: any): void;
13
15
  revert(context: any): void;
14
16
  moveFormField(context: any, revert: any): void;
15
17
  }
16
18
  declare namespace MoveFormFieldHandler {
17
- const $inject: string[];
19
+ let $inject: string[];
18
20
  }
19
21
  export default MoveFormFieldHandler;
@@ -11,6 +11,6 @@ declare class RemoveFormFieldHandler {
11
11
  revert(context: any): void;
12
12
  }
13
13
  declare namespace RemoveFormFieldHandler {
14
- const $inject: string[];
14
+ let $inject: string[];
15
15
  }
16
16
  export default RemoveFormFieldHandler;
@@ -9,6 +9,6 @@ declare class UpdateIdClaimHandler {
9
9
  revert(context: any): void;
10
10
  }
11
11
  declare namespace UpdateIdClaimHandler {
12
- const $inject: string[];
12
+ let $inject: string[];
13
13
  }
14
14
  export default UpdateIdClaimHandler;
@@ -9,6 +9,6 @@ declare class UpdateKeyClaimHandler {
9
9
  revert(context: any): void;
10
10
  }
11
11
  declare namespace UpdateKeyClaimHandler {
12
- const $inject: string[];
12
+ let $inject: string[];
13
13
  }
14
14
  export default UpdateKeyClaimHandler;
@@ -9,6 +9,6 @@ declare class UpdatePathClaimHandler {
9
9
  revert(context: any): void;
10
10
  }
11
11
  declare namespace UpdatePathClaimHandler {
12
- const $inject: string[];
12
+ let $inject: string[];
13
13
  }
14
14
  export default UpdatePathClaimHandler;
@@ -1,5 +1,5 @@
1
1
  declare namespace _default {
2
- const __depends__: (import("didi").ModuleDeclaration | {
2
+ let __depends__: (import("didi").ModuleDeclaration | {
3
3
  __init__: string[];
4
4
  idBehavior: (string | typeof import("./behavior/IdBehavior").default)[];
5
5
  keyBehavior: (string | typeof import("./behavior/KeyBehavior").default)[];
@@ -7,9 +7,9 @@ declare namespace _default {
7
7
  validateBehavior: (string | typeof import("./behavior/ValidateBehavior").default)[];
8
8
  valuesSourceBehavior: (string | typeof import("./behavior/ValuesSourceBehavior").default)[];
9
9
  })[];
10
- const __init__: string[];
11
- const formLayoutUpdater: (string | typeof FormLayoutUpdater)[];
12
- const modeling: (string | typeof Modeling)[];
10
+ let __init__: string[];
11
+ let formLayoutUpdater: (string | typeof FormLayoutUpdater)[];
12
+ let modeling: (string | typeof Modeling)[];
13
13
  }
14
14
  export default _default;
15
15
  import FormLayoutUpdater from './FormLayoutUpdater';
@@ -2,7 +2,7 @@ declare class PaletteModule extends SectionModuleBase {
2
2
  constructor(eventBus: any);
3
3
  }
4
4
  declare namespace PaletteModule {
5
- const $inject: string[];
5
+ let $inject: string[];
6
6
  }
7
7
  export default PaletteModule;
8
8
  import SectionModuleBase from '../SectionModuleBase';
@@ -1,5 +1,5 @@
1
1
  declare namespace _default {
2
- const palette: (string | typeof PaletteModule)[];
2
+ let palette: (string | typeof PaletteModule)[];
3
3
  }
4
4
  export default _default;
5
5
  import PaletteModule from './PaletteModule';
@@ -36,7 +36,7 @@ declare class PropertiesPanelRenderer {
36
36
  _getProviders(): any;
37
37
  }
38
38
  declare namespace PropertiesPanelRenderer {
39
- const $inject: string[];
39
+ let $inject: string[];
40
40
  }
41
41
  export default PropertiesPanelRenderer;
42
42
  export type PropertiesPanelConfig = {
@@ -5,6 +5,6 @@ declare class PropertiesProvider {
5
5
  getGroups(field: any, editField: any): (groups: any) => any;
6
6
  }
7
7
  declare namespace PropertiesProvider {
8
- const $inject: string[];
8
+ let $inject: string[];
9
9
  }
10
10
  export default PropertiesProvider;
@@ -8,4 +8,6 @@ export default function GroupEntries(props: any): {
8
8
  component: (props: any) => any;
9
9
  isEdited: any;
10
10
  isDefaultVisible: any;
11
+ getValue: any;
12
+ setValue: any;
11
13
  }[];
@@ -0,0 +1,12 @@
1
+ export default function HeightEntry(props: any): {
2
+ id: string;
3
+ component: typeof Height;
4
+ description: any;
5
+ isEdited: any;
6
+ editField: any;
7
+ field: any;
8
+ defaultValue: any;
9
+ isDefaultVisible: {};
10
+ }[];
11
+ declare function Height(props: any): any;
12
+ export {};
@@ -0,0 +1,10 @@
1
+ export default function IFrameHeightEntry(props: any): {
2
+ id: string;
3
+ component: (props: any) => any;
4
+ description: any;
5
+ isEdited: any;
6
+ editField: any;
7
+ field: any;
8
+ defaultValue: any;
9
+ isDefaultVisible: {};
10
+ }[];
@@ -0,0 +1,10 @@
1
+ export default function IFrameUrlEntry(props: any): {
2
+ id: string;
3
+ component: typeof Url;
4
+ editField: any;
5
+ field: any;
6
+ isEdited: any;
7
+ isDefaultVisible: {};
8
+ }[];
9
+ declare function Url(props: any): any;
10
+ export {};
@@ -8,4 +8,6 @@ export default function SelectEntries(props: any): {
8
8
  component: (props: any) => any;
9
9
  isEdited: any;
10
10
  isDefaultVisible: any;
11
+ getValue: any;
12
+ setValue: any;
11
13
  }[];
@@ -8,4 +8,6 @@ export default function simpleBoolEntryFactory(options: any): {
8
8
  component: (props: any) => any;
9
9
  isEdited: any;
10
10
  isDefaultVisible: any;
11
+ getValue: any;
12
+ setValue: any;
11
13
  };
@@ -9,9 +9,11 @@ export { default as KeyEntry } from "./KeyEntry";
9
9
  export { default as PathEntry } from "./PathEntry";
10
10
  export { default as GroupEntries } from "./GroupEntries";
11
11
  export { default as LabelEntry } from "./LabelEntry";
12
+ export { default as IFrameHeightEntry } from "./IFrameHeightEntry";
13
+ export { default as IFrameUrlEntry } from "./IFrameUrlEntry";
12
14
  export { default as ImageSourceEntry } from "./ImageSourceEntry";
13
15
  export { default as TextEntry } from "./TextEntry";
14
- export { default as SpacerEntry } from "./SpacerEntry";
16
+ export { default as HeightEntry } from "./HeightEntry";
15
17
  export { default as NumberEntries } from "./NumberEntries";
16
18
  export { default as NumberSerializationEntry } from "./NumberSerializationEntry";
17
19
  export { default as DateTimeEntry } from "./DateTimeEntry";
@@ -17,5 +17,7 @@ export default function GeneralGroup(field: any, editField: any, getService: any
17
17
  component: (props: any) => any;
18
18
  isEdited: any;
19
19
  isDefaultVisible: any;
20
+ getValue: any;
21
+ setValue: any;
20
22
  })[];
21
23
  };
@@ -1,8 +1,8 @@
1
1
  declare namespace _default {
2
- const __depends__: any[];
3
- const __init__: string[];
4
- const propertiesPanel: (string | typeof PropertiesPanelModule)[];
5
- const propertiesProvider: (string | typeof PropertiesProvider)[];
2
+ let __depends__: any[];
3
+ let __init__: string[];
4
+ let propertiesPanel: (string | typeof PropertiesPanelModule)[];
5
+ let propertiesProvider: (string | typeof PropertiesProvider)[];
6
6
  }
7
7
  export default _default;
8
8
  import PropertiesPanelModule from './PropertiesPanelRenderer';
@@ -24,7 +24,7 @@ declare class RenderInjector extends SectionModuleBase {
24
24
  fetchRenderers(): any[];
25
25
  }
26
26
  declare namespace RenderInjector {
27
- const $inject: string[];
27
+ let $inject: string[];
28
28
  }
29
29
  export default RenderInjector;
30
30
  import SectionModuleBase from '../SectionModuleBase';
@@ -1,6 +1,6 @@
1
1
  declare namespace _default {
2
- const __init__: string[];
3
- const renderInjector: (string | typeof RenderInjector)[];
2
+ let __init__: string[];
3
+ let renderInjector: (string | typeof RenderInjector)[];
4
4
  }
5
5
  export default _default;
6
6
  import RenderInjector from './RenderInjector';
@@ -9,6 +9,6 @@ declare class Selection {
9
9
  isSelected(formField: any): boolean;
10
10
  }
11
11
  declare namespace Selection {
12
- const $inject: string[];
12
+ let $inject: string[];
13
13
  }
14
14
  export default Selection;
@@ -2,6 +2,6 @@ declare class SelectionBehavior {
2
2
  constructor(eventBus: any, selection: any);
3
3
  }
4
4
  declare namespace SelectionBehavior {
5
- const $inject: string[];
5
+ let $inject: string[];
6
6
  }
7
7
  export default SelectionBehavior;
@@ -1,7 +1,7 @@
1
1
  declare namespace _default {
2
- const __init__: string[];
3
- const selection: (string | typeof Selection)[];
4
- const selectionBehavior: (string | typeof SelectionBehavior)[];
2
+ let __init__: string[];
3
+ let selection: (string | typeof Selection)[];
4
+ let selectionBehavior: (string | typeof SelectionBehavior)[];
5
5
  }
6
6
  export default _default;
7
7
  import Selection from './Selection';
@@ -14,7 +14,7 @@ declare class Renderer {
14
14
  constructor(renderConfig: any, eventBus: any, formEditor: any, injector: any);
15
15
  }
16
16
  declare namespace Renderer {
17
- const $inject: string[];
17
+ let $inject: string[];
18
18
  }
19
19
  export default Renderer;
20
20
  export type RenderConfig = {
@@ -1,2 +1,2 @@
1
- declare function _default(props: any): import("preact").VNode<any>;
1
+ declare function _default(props: any): import("preact/compat").JSX.Element;
2
2
  export default _default;
@@ -0,0 +1,6 @@
1
+ declare function EditorIFrame(props: any): import("preact").JSX.Element;
2
+ declare namespace EditorIFrame {
3
+ let config: typeof IFrame.config;
4
+ }
5
+ export default EditorIFrame;
6
+ import { IFrame } from '@bpmn-io/form-js-viewer';
@@ -1,6 +1,6 @@
1
1
  declare function EditorText(props: any): import("preact").JSX.Element;
2
2
  declare namespace EditorText {
3
- const config: typeof Text.config;
3
+ let config: typeof Text.config;
4
4
  }
5
5
  export default EditorText;
6
6
  import { Text } from '@bpmn-io/form-js-viewer';
@@ -1,2 +1,3 @@
1
- export const editorFormFields: (typeof EditorText)[];
1
+ export const editorFormFields: (typeof EditorIFrame | typeof EditorText)[];
2
+ import EditorIFrame from './EditorIFrame';
2
3
  import EditorText from './EditorText';
@@ -1,7 +1,7 @@
1
1
  declare namespace _default {
2
- const __init__: string[];
3
- const formFields: (string | typeof EditorFormFields)[];
4
- const renderer: (string | typeof Renderer)[];
2
+ let __init__: string[];
3
+ let formFields: (string | typeof EditorFormFields)[];
4
+ let renderer: (string | typeof Renderer)[];
5
5
  }
6
6
  export default _default;
7
7
  import EditorFormFields from './EditorFormFields';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-editor",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "Edit forms - powered by bpmn.io",
5
5
  "exports": {
6
6
  ".": {
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@bpmn-io/draggle": "^4.0.0",
50
- "@bpmn-io/form-js-viewer": "^1.4.0",
50
+ "@bpmn-io/form-js-viewer": "^1.5.0",
51
51
  "@bpmn-io/properties-panel": "^3.13.0",
52
52
  "array-move": "^3.0.1",
53
53
  "big.js": "^6.2.1",
@@ -62,5 +62,5 @@
62
62
  "files": [
63
63
  "dist"
64
64
  ],
65
- "gitHead": "1ef256645701ac8be771e3cd4b51e3eefc9c183b"
65
+ "gitHead": "02814e168dd3078869fede070bcc6d8f1f741ec7"
66
66
  }
@@ -1,10 +0,0 @@
1
- export default function SpacerEntry(props: any): {
2
- id: string;
3
- component: typeof SpacerHeight;
4
- isEdited: any;
5
- editField: any;
6
- field: any;
7
- isDefaultVisible: {};
8
- }[];
9
- declare function SpacerHeight(props: any): any;
10
- export {};