@bpmn-io/form-js-editor 1.5.0 → 1.6.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 (47) hide show
  1. package/dist/assets/form-js-editor-base.css +38 -7
  2. package/dist/assets/form-js-editor.css +38 -7
  3. package/dist/index.cjs +1400 -330
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.es.js +1402 -332
  6. package/dist/index.es.js.map +1 -1
  7. package/dist/types/FormEditor.d.ts +16 -4
  8. package/dist/types/features/dragging/Dragging.d.ts +1 -1
  9. package/dist/types/features/modeling/behavior/ColumnsSourceBehavior.d.ts +7 -0
  10. package/dist/types/features/modeling/behavior/OptionsSourceBehavior.d.ts +8 -0
  11. package/dist/types/features/modeling/behavior/TableDataSourceBehavior.d.ts +7 -0
  12. package/dist/types/features/modeling/behavior/index.d.ts +6 -2
  13. package/dist/types/features/modeling/index.d.ts +3 -1
  14. package/dist/types/features/properties-panel/Util.d.ts +11 -3
  15. package/dist/types/features/properties-panel/entries/ColumnEntry.d.ts +11 -0
  16. package/dist/types/features/properties-panel/entries/ColumnsExpressionEntry.d.ts +10 -0
  17. package/dist/types/features/properties-panel/entries/ConditionEntry.d.ts +1 -1
  18. package/dist/types/features/properties-panel/entries/{GroupEntries.d.ts → GroupAppearanceEntry.d.ts} +1 -1
  19. package/dist/types/features/properties-panel/entries/HeadersSourceSelectEntry.d.ts +9 -0
  20. package/dist/types/features/properties-panel/entries/{InputKeyValuesSourceEntry.d.ts → InputKeyOptionsSourceEntry.d.ts} +1 -1
  21. package/dist/types/features/properties-panel/entries/LayouterAppearanceEntry.d.ts +10 -0
  22. package/dist/types/features/properties-panel/entries/OptionsExpressionEntry.d.ts +9 -0
  23. package/dist/types/features/properties-panel/entries/{ValuesSourceSelectEntry.d.ts → OptionsSourceSelectEntry.d.ts} +1 -1
  24. package/dist/types/features/properties-panel/entries/PaginationEntry.d.ts +10 -0
  25. package/dist/types/features/properties-panel/entries/RepeatableEntry.d.ts +24 -0
  26. package/dist/types/features/properties-panel/entries/RowCountEntry.d.ts +10 -0
  27. package/dist/types/features/properties-panel/entries/StaticColumnsSourceEntry.d.ts +5 -0
  28. package/dist/types/features/properties-panel/entries/{StaticValuesSourceEntry.d.ts → StaticOptionsSourceEntry.d.ts} +1 -1
  29. package/dist/types/features/properties-panel/entries/TableDataSourceEntry.d.ts +10 -0
  30. package/dist/types/features/properties-panel/entries/factories/index.d.ts +3 -0
  31. package/dist/types/features/properties-panel/entries/factories/simpleRangeIntegerEntryFactory.d.ts +12 -0
  32. package/dist/types/features/properties-panel/entries/factories/simpleSelectEntryFactory.d.ts +10 -0
  33. package/dist/types/features/properties-panel/entries/factories/zeroPositiveIntegerEntryFactory.d.ts +9 -0
  34. package/dist/types/features/properties-panel/entries/index.d.ts +14 -6
  35. package/dist/types/features/properties-panel/groups/AppearanceGroup.d.ts +24 -3
  36. package/dist/types/features/properties-panel/groups/GeneralGroup.d.ts +11 -0
  37. package/dist/types/features/properties-panel/groups/OptionsGroups.d.ts +1 -0
  38. package/dist/types/features/properties-panel/groups/TableHeaderGroups.d.ts +1 -0
  39. package/dist/types/features/properties-panel/groups/index.d.ts +2 -1
  40. package/dist/types/features/repeat-render/EditorRepeatRenderManager.d.ts +17 -0
  41. package/dist/types/features/repeat-render/index.d.ts +7 -0
  42. package/dist/types/render/components/editor-form-fields/EditorTable.d.ts +10 -0
  43. package/dist/types/render/components/editor-form-fields/index.d.ts +2 -1
  44. package/package.json +3 -3
  45. package/dist/types/features/modeling/behavior/ValuesSourceBehavior.d.ts +0 -8
  46. package/dist/types/features/properties-panel/entries/ValuesExpressionEntry.d.ts +0 -9
  47. package/dist/types/features/properties-panel/groups/ValuesGroups.d.ts +0 -1
@@ -50,8 +50,15 @@ export default class FormEditor {
50
50
  * @type {State}
51
51
  */
52
52
  private _state;
53
- get: <T>(name: string, strict?: boolean) => T;
54
- invoke: <T_1>(func: (...args: any[]) => T_1, context?: unknown, locals?: import("didi").LocalsMap) => T_1;
53
+ get: {
54
+ <T>(name: string): T;
55
+ <T_1>(name: string, strict: true): T_1;
56
+ <T_2>(name: string, strict: boolean): T_2;
57
+ };
58
+ invoke: {
59
+ <T_3>(func: import("didi").FactoryFunction<T_3>, context?: unknown, locals?: import("didi").LocalsMap): T_3;
60
+ <T_4>(func: import("didi").ArrayFunc<T_4>, context?: unknown, locals?: import("didi").LocalsMap): T_4;
61
+ };
55
62
  clear(): void;
56
63
  destroy(): void;
57
64
  /**
@@ -122,7 +129,9 @@ export default class FormEditor {
122
129
  keyBehavior: (string | typeof import("./features/modeling/behavior/KeyBehavior").default)[];
123
130
  pathBehavior: (string | typeof import("./features/modeling/behavior/PathBehavior").default)[];
124
131
  validateBehavior: (string | typeof import("./features/modeling/behavior/ValidateBehavior").default)[];
125
- valuesSourceBehavior: (string | typeof import("./features/modeling/behavior/ValuesSourceBehavior").default)[];
132
+ optionsSourceBehavior: (string | typeof import("./features/modeling/behavior/OptionsSourceBehavior").default)[];
133
+ columnsSourceBehavior: (string | typeof import("./features/modeling/behavior/ColumnsSourceBehavior").ColumnsSourceBehavior)[];
134
+ tableDataSourceBehavior: (string | typeof import("./features/modeling/behavior/TableDataSourceBehavior").TableDataSourceBehavior)[];
126
135
  })[];
127
136
  __init__: string[];
128
137
  formLayoutUpdater: (string | typeof import("./features/modeling/FormLayoutUpdater").default)[];
@@ -145,7 +154,7 @@ export default class FormEditor {
145
154
  palette: (string | typeof import("./features/palette/PaletteModule").default)[];
146
155
  } | {
147
156
  __init__: string[];
148
- expressionLanguage: (string | typeof import("@bpmn-io/form-js-viewer/dist/types/features/expression-language/FeelExpressionLanguage").default)[];
157
+ expressionLanguage: (string | typeof import("@bpmn-io/form-js-viewer/dist/types/features/expressionLanguage/FeelExpressionLanguage").default)[];
149
158
  templating: (string | typeof import("./features/expression-language/EditorTemplating").default)[];
150
159
  } | typeof MarkdownModule | {
151
160
  __depends__: any[];
@@ -155,6 +164,9 @@ export default class FormEditor {
155
164
  } | {
156
165
  __init__: string[];
157
166
  renderInjector: (string | typeof import("./features/render-injection/RenderInjector").default)[];
167
+ } | {
168
+ __init__: string[];
169
+ repeatRenderManager: (string | typeof import("./features/repeat-render").EditorRepeatRenderManager)[];
158
170
  })[];
159
171
  /**
160
172
  * @internal
@@ -29,7 +29,7 @@ declare class Dragging {
29
29
  _modeling: import("../modeling/Modeling").default;
30
30
  _pathRegistry: import("@bpmn-io/form-js-viewer/dist/types/core/PathRegistry").default;
31
31
  /**
32
- * Calculcates position in form schema given the dropped place.
32
+ * Calculates position in form schema given the dropped place.
33
33
  *
34
34
  * @param { FormRow } targetRow
35
35
  * @param { any } targetFormField
@@ -0,0 +1,7 @@
1
+ export class ColumnsSourceBehavior extends CommandInterceptor {
2
+ constructor(eventBus: any);
3
+ }
4
+ export namespace ColumnsSourceBehavior {
5
+ let $inject: string[];
6
+ }
7
+ import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
@@ -0,0 +1,8 @@
1
+ declare class OptionsSourceBehavior extends CommandInterceptor {
2
+ constructor(eventBus: any);
3
+ }
4
+ declare namespace OptionsSourceBehavior {
5
+ let $inject: string[];
6
+ }
7
+ export default OptionsSourceBehavior;
8
+ import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
@@ -0,0 +1,7 @@
1
+ export class TableDataSourceBehavior extends CommandInterceptor {
2
+ constructor(eventBus: any);
3
+ }
4
+ export namespace TableDataSourceBehavior {
5
+ let $inject: string[];
6
+ }
7
+ import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
@@ -4,11 +4,15 @@ declare namespace _default {
4
4
  let keyBehavior: (string | typeof KeyBehavior)[];
5
5
  let pathBehavior: (string | typeof PathBehavior)[];
6
6
  let validateBehavior: (string | typeof ValidateBehavior)[];
7
- let valuesSourceBehavior: (string | typeof ValuesSourceBehavior)[];
7
+ let optionsSourceBehavior: (string | typeof OptionsSourceBehavior)[];
8
+ let columnsSourceBehavior: (string | typeof ColumnsSourceBehavior)[];
9
+ let tableDataSourceBehavior: (string | typeof TableDataSourceBehavior)[];
8
10
  }
9
11
  export default _default;
10
12
  import IdBehavior from './IdBehavior';
11
13
  import KeyBehavior from './KeyBehavior';
12
14
  import PathBehavior from './PathBehavior';
13
15
  import ValidateBehavior from './ValidateBehavior';
14
- import ValuesSourceBehavior from './ValuesSourceBehavior';
16
+ import OptionsSourceBehavior from './OptionsSourceBehavior';
17
+ import { ColumnsSourceBehavior } from './ColumnsSourceBehavior';
18
+ import { TableDataSourceBehavior } from './TableDataSourceBehavior';
@@ -5,7 +5,9 @@ declare namespace _default {
5
5
  keyBehavior: (string | typeof import("./behavior/KeyBehavior").default)[];
6
6
  pathBehavior: (string | typeof import("./behavior/PathBehavior").default)[];
7
7
  validateBehavior: (string | typeof import("./behavior/ValidateBehavior").default)[];
8
- valuesSourceBehavior: (string | typeof import("./behavior/ValuesSourceBehavior").default)[];
8
+ optionsSourceBehavior: (string | typeof import("./behavior/OptionsSourceBehavior").default)[];
9
+ columnsSourceBehavior: (string | typeof import("./behavior/ColumnsSourceBehavior").ColumnsSourceBehavior)[];
10
+ tableDataSourceBehavior: (string | typeof import("./behavior/TableDataSourceBehavior").TableDataSourceBehavior)[];
9
11
  })[];
10
12
  let __init__: string[];
11
13
  let formLayoutUpdater: (string | typeof FormLayoutUpdater)[];
@@ -5,8 +5,16 @@ export function countDecimals(number: any): any;
5
5
  export function isValidNumber(value: any): boolean;
6
6
  export function stopPropagation(listener: any): (event: any) => void;
7
7
  export function textToLabel(text: any): string;
8
- export function isValidDotPath(path: any): boolean;
8
+ /**
9
+ * @param {string} path
10
+ */
11
+ export function isValidDotPath(path: string): boolean;
9
12
  export function hasEntryConfigured(formFieldDefinition: any, entryId: any): any;
10
- export function hasValuesGroupsConfigured(formFieldDefinition: any): any;
13
+ export function hasOptionsGroupsConfigured(formFieldDefinition: any): any;
14
+ /**
15
+ * @param {string} path
16
+ */
17
+ export function hasIntegerPathSegment(path: string): boolean;
18
+ export const LABELED_NON_INPUTS: string[];
11
19
  export const INPUTS: string[];
12
- export const VALUES_INPUTS: string[];
20
+ export const OPTIONS_INPUTS: string[];
@@ -0,0 +1,11 @@
1
+ export function ColumnEntry(props: any): {
2
+ component: typeof Label;
3
+ editField: any;
4
+ field: any;
5
+ id: string;
6
+ idPrefix: any;
7
+ index: any;
8
+ validateFactory: any;
9
+ }[];
10
+ declare function Label(props: any): any;
11
+ export {};
@@ -0,0 +1,10 @@
1
+ export function ColumnsExpressionEntry(props: any): {
2
+ id: string;
3
+ component: typeof ColumnsExpression;
4
+ editField: any;
5
+ field: any;
6
+ isEdited: any;
7
+ isDefaultVisible: {};
8
+ }[];
9
+ declare function ColumnsExpression(props: any): any;
10
+ export {};
@@ -1,4 +1,4 @@
1
- export function ConditionEntry(props: any): {
1
+ export default function ConditionEntry(props: any): {
2
2
  id: string;
3
3
  component: typeof Condition;
4
4
  editField: any;
@@ -1,4 +1,4 @@
1
- export default function GroupEntries(props: any): {
1
+ export default function GroupAppearanceEntry(props: any): {
2
2
  id: any;
3
3
  label: any;
4
4
  path: any;
@@ -0,0 +1,9 @@
1
+ export function HeadersSourceSelectEntry(props: any): {
2
+ id: string;
3
+ component: typeof HeadersSourceSelect;
4
+ isEdited: any;
5
+ editField: any;
6
+ field: any;
7
+ }[];
8
+ declare function HeadersSourceSelect(props: any): import("preact").JSX.Element;
9
+ export {};
@@ -1,4 +1,4 @@
1
- export default function InputKeyValuesSourceEntry(props: any): {
1
+ export default function InputKeyOptionsSourceEntry(props: any): {
2
2
  id: string;
3
3
  component: typeof InputValuesKey;
4
4
  isEdited: any;
@@ -0,0 +1,10 @@
1
+ export default function LayouterAppearanceEntry(props: any): {
2
+ id: any;
3
+ label: any;
4
+ path: any;
5
+ field: any;
6
+ editField: any;
7
+ optionsArray: any;
8
+ component: (props: any) => any;
9
+ isEdited: any;
10
+ }[];
@@ -0,0 +1,9 @@
1
+ export default function OptionsExpressionEntry(props: any): {
2
+ id: string;
3
+ component: typeof OptionsExpression;
4
+ isEdited: any;
5
+ editField: any;
6
+ field: any;
7
+ }[];
8
+ declare function OptionsExpression(props: any): any;
9
+ export {};
@@ -1,4 +1,4 @@
1
- export default function ValuesSourceSelectEntry(props: any): {
1
+ export default function OptionsSourceSelectEntry(props: any): {
2
2
  id: string;
3
3
  component: typeof ValuesSourceSelect;
4
4
  isEdited: any;
@@ -0,0 +1,10 @@
1
+ export function PaginationEntry(props: any): {
2
+ id: string;
3
+ component: typeof Pagination;
4
+ editField: any;
5
+ field: any;
6
+ isEdited: any;
7
+ isDefaultVisible: {};
8
+ }[];
9
+ declare function Pagination(props: any): any;
10
+ export {};
@@ -0,0 +1,24 @@
1
+ export default function RepeatableEntry(props: any): ({
2
+ id: any;
3
+ label: any;
4
+ path: any;
5
+ field: any;
6
+ editField: any;
7
+ description: any;
8
+ component: (props: any) => any;
9
+ isEdited: any;
10
+ isDefaultVisible: any;
11
+ getValue: any;
12
+ setValue: any;
13
+ } | {
14
+ id: any;
15
+ label: any;
16
+ path: any;
17
+ field: any;
18
+ editField: any;
19
+ min: any;
20
+ max: any;
21
+ defaultValue: any;
22
+ component: (props: any) => any;
23
+ isEdited: any;
24
+ })[];
@@ -0,0 +1,10 @@
1
+ export function RowCountEntry(props: any): {
2
+ id: string;
3
+ component: typeof RowCount;
4
+ isEdited: any;
5
+ editField: any;
6
+ field: any;
7
+ isDefaultVisible: {};
8
+ }[];
9
+ declare function RowCount(props: any): any;
10
+ export {};
@@ -0,0 +1,5 @@
1
+ export function StaticColumnsSourceEntry(props: any): {
2
+ items: any;
3
+ add: (event: any) => void;
4
+ shouldSort: boolean;
5
+ };
@@ -1,4 +1,4 @@
1
- export default function StaticValuesSourceEntry(props: any): {
1
+ export default function StaticOptionsSourceEntry(props: any): {
2
2
  items: any;
3
3
  add: (e: any) => void;
4
4
  shouldSort: boolean;
@@ -0,0 +1,10 @@
1
+ export function TableDataSourceEntry(props: any): {
2
+ id: string;
3
+ component: typeof Source;
4
+ editField: any;
5
+ field: any;
6
+ isEdited: any;
7
+ isDefaultVisible: {};
8
+ }[];
9
+ declare function Source(props: any): any;
10
+ export {};
@@ -1,2 +1,5 @@
1
1
  export { default as simpleStringEntryFactory } from "./simpleStringEntryFactory";
2
2
  export { default as simpleBoolEntryFactory } from "./simpleBoolEntryFactory";
3
+ export { default as zeroPositiveIntegerEntryFactory } from "./zeroPositiveIntegerEntryFactory";
4
+ export { default as simpleSelectEntryFactory } from "./simpleSelectEntryFactory";
5
+ export { simpleRangeIntegerEntryFactory } from "./simpleRangeIntegerEntryFactory";
@@ -0,0 +1,12 @@
1
+ export function simpleRangeIntegerEntryFactory(options: any): {
2
+ id: any;
3
+ label: any;
4
+ path: any;
5
+ field: any;
6
+ editField: any;
7
+ min: any;
8
+ max: any;
9
+ defaultValue: any;
10
+ component: (props: any) => any;
11
+ isEdited: any;
12
+ };
@@ -0,0 +1,10 @@
1
+ export default function simpleSelectEntryFactory(options: any): {
2
+ id: any;
3
+ label: any;
4
+ path: any;
5
+ field: any;
6
+ editField: any;
7
+ optionsArray: any;
8
+ component: (props: any) => any;
9
+ isEdited: any;
10
+ };
@@ -0,0 +1,9 @@
1
+ export default function zeroPositiveIntegerEntryFactory(options: any): {
2
+ id: any;
3
+ label: any;
4
+ path: any;
5
+ field: any;
6
+ editField: any;
7
+ component: (props: any) => any;
8
+ isEdited: any;
9
+ };
@@ -7,7 +7,7 @@ export { default as DisabledEntry } from "./DisabledEntry";
7
7
  export { default as IdEntry } from "./IdEntry";
8
8
  export { default as KeyEntry } from "./KeyEntry";
9
9
  export { default as PathEntry } from "./PathEntry";
10
- export { default as GroupEntries } from "./GroupEntries";
10
+ export { default as GroupAppearanceEntry } from "./GroupAppearanceEntry";
11
11
  export { default as LabelEntry } from "./LabelEntry";
12
12
  export { default as IFrameHeightEntry } from "./IFrameHeightEntry";
13
13
  export { default as IFrameUrlEntry } from "./IFrameUrlEntry";
@@ -22,10 +22,18 @@ export { default as DateTimeSerializationEntry } from "./DateTimeSerializationEn
22
22
  export { default as SelectEntries } from "./SelectEntries";
23
23
  export { default as ValueEntry } from "./ValueEntry";
24
24
  export { default as CustomValueEntry } from "./CustomValueEntry";
25
- export { default as ValuesSourceSelectEntry } from "./ValuesSourceSelectEntry";
26
- export { default as InputKeyValuesSourceEntry } from "./InputKeyValuesSourceEntry";
27
- export { default as StaticValuesSourceEntry } from "./StaticValuesSourceEntry";
25
+ export { default as OptionsSourceSelectEntry } from "./OptionsSourceSelectEntry";
26
+ export { default as InputKeyOptionsSourceEntry } from "./InputKeyOptionsSourceEntry";
27
+ export { default as StaticOptionsSourceEntry } from "./StaticOptionsSourceEntry";
28
28
  export { default as AdornerEntry } from "./AdornerEntry";
29
29
  export { default as ReadonlyEntry } from "./ReadonlyEntry";
30
- export { ConditionEntry } from "./ConditionEntry";
31
- export { default as ValuesExpressionEntry } from "./ValuesExpressionEntry";
30
+ export { default as LayouterAppearanceEntry } from "./LayouterAppearanceEntry";
31
+ export { default as RepeatableEntry } from "./RepeatableEntry";
32
+ export { default as ConditionEntry } from "./ConditionEntry";
33
+ export { default as OptionsExpressionEntry } from "./OptionsExpressionEntry";
34
+ export { TableDataSourceEntry } from "./TableDataSourceEntry";
35
+ export { PaginationEntry } from "./PaginationEntry";
36
+ export { RowCountEntry } from "./RowCountEntry";
37
+ export { HeadersSourceSelectEntry } from "./HeadersSourceSelectEntry";
38
+ export { ColumnsExpressionEntry } from "./ColumnsExpressionEntry";
39
+ export { StaticColumnsSourceEntry } from "./StaticColumnsSourceEntry";
@@ -1,7 +1,28 @@
1
- export default function AppearanceGroup(field: any, editField: any): {
1
+ export default function AppearanceGroup(field: any, editField: any, getService: any): {
2
2
  id: string;
3
3
  label: string;
4
- entries: {
4
+ entries: ({
5
+ id: any;
6
+ label: any;
7
+ path: any;
8
+ field: any;
9
+ editField: any;
10
+ description: any;
11
+ component: (props: any) => any;
12
+ isEdited: any;
13
+ isDefaultVisible: any;
14
+ getValue: any;
15
+ setValue: any;
16
+ } | {
17
+ id: any;
18
+ label: any;
19
+ path: any;
20
+ field: any;
21
+ editField: any;
22
+ optionsArray: any;
23
+ component: (props: any) => any;
24
+ isEdited: any;
25
+ } | {
5
26
  id: string;
6
27
  component: (props: any) => any;
7
28
  isEdited: any;
@@ -10,5 +31,5 @@ export default function AppearanceGroup(field: any, editField: any): {
10
31
  onChange: (key: any) => (value: any) => void;
11
32
  getValue: (key: any) => () => any;
12
33
  isDefaultVisible: {};
13
- }[];
34
+ })[];
14
35
  };
@@ -19,5 +19,16 @@ export default function GeneralGroup(field: any, editField: any, getService: any
19
19
  isDefaultVisible: any;
20
20
  getValue: any;
21
21
  setValue: any;
22
+ } | {
23
+ id: any;
24
+ label: any;
25
+ path: any;
26
+ field: any;
27
+ editField: any;
28
+ min: any;
29
+ max: any;
30
+ defaultValue: any;
31
+ component: (props: any) => any;
32
+ isEdited: any;
22
33
  })[];
23
34
  };
@@ -0,0 +1 @@
1
+ export default function OptionsGroups(field: any, editField: any, getService: any): any[];
@@ -0,0 +1 @@
1
+ export function TableHeaderGroups(field: any, editField: any): Group[];
@@ -2,8 +2,9 @@ export { default as GeneralGroup } from "./GeneralGroup";
2
2
  export { default as SerializationGroup } from "./SerializationGroup";
3
3
  export { default as ConstraintsGroup } from "./ConstraintsGroup";
4
4
  export { default as ValidationGroup } from "./ValidationGroup";
5
- export { default as ValuesGroups } from "./ValuesGroups";
5
+ export { default as OptionsGroups } from "./OptionsGroups";
6
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";
10
+ export { TableHeaderGroups } from "./TableHeaderGroups";
@@ -0,0 +1,17 @@
1
+ declare class RepeatRenderManager {
2
+ constructor(formFields: any, formFieldRegistry: any);
3
+ _formFields: any;
4
+ _formFieldRegistry: any;
5
+ RepeatFooter(): import("preact").JSX.Element;
6
+ /**
7
+ * Checks whether a field should be repeatable.
8
+ *
9
+ * @param {string} id - The id of the field to check
10
+ * @returns {boolean} - True if repeatable, false otherwise
11
+ */
12
+ isFieldRepeating(id: string): boolean;
13
+ }
14
+ declare namespace RepeatRenderManager {
15
+ let $inject: string[];
16
+ }
17
+ export default RepeatRenderManager;
@@ -0,0 +1,7 @@
1
+ declare namespace _default {
2
+ let __init__: string[];
3
+ let repeatRenderManager: (string | typeof EditorRepeatRenderManager)[];
4
+ }
5
+ export default _default;
6
+ export { EditorRepeatRenderManager };
7
+ import EditorRepeatRenderManager from './EditorRepeatRenderManager';
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @param {import('@bpmn-io/form-js-viewer/src/render/components/form-fields/Table').Props} props
3
+ * @returns {import("preact").JSX.Element}
4
+ */
5
+ declare function EditorTable(props: any): import("preact").JSX.Element;
6
+ declare namespace EditorTable {
7
+ let config: typeof Table.config;
8
+ }
9
+ export default EditorTable;
10
+ import { Table } from '@bpmn-io/form-js-viewer';
@@ -1,3 +1,4 @@
1
- export const editorFormFields: (typeof EditorIFrame | typeof EditorText)[];
1
+ export const editorFormFields: (typeof EditorIFrame | typeof EditorText | typeof EditorTable)[];
2
2
  import EditorIFrame from './EditorIFrame';
3
3
  import EditorText from './EditorText';
4
+ import EditorTable from './EditorTable';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-editor",
3
- "version": "1.5.0",
3
+ "version": "1.6.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.5.0",
50
+ "@bpmn-io/form-js-viewer": "^1.6.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": "02814e168dd3078869fede070bcc6d8f1f741ec7"
65
+ "gitHead": "0f868b4c5679af5366998253e7a602f1375754a7"
66
66
  }
@@ -1,8 +0,0 @@
1
- declare class ValuesSourceBehavior extends CommandInterceptor {
2
- constructor(eventBus: any);
3
- }
4
- declare namespace ValuesSourceBehavior {
5
- let $inject: string[];
6
- }
7
- export default ValuesSourceBehavior;
8
- import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
@@ -1,9 +0,0 @@
1
- export default function ValuesExpressionEntry(props: any): {
2
- id: string;
3
- component: typeof ValuesExpression;
4
- isEdited: any;
5
- editField: any;
6
- field: any;
7
- }[];
8
- declare function ValuesExpression(props: any): any;
9
- export {};
@@ -1 +0,0 @@
1
- export default function ValuesGroups(field: any, editField: any, getService: any): any[];