@bpmn-io/form-js-editor 1.5.0-alpha.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.
- package/dist/assets/form-js-editor-base.css +44 -13
- package/dist/assets/form-js-editor.css +44 -13
- package/dist/index.cjs +1550 -334
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +1552 -336
- package/dist/index.es.js.map +1 -1
- package/dist/types/FormEditor.d.ts +16 -4
- package/dist/types/core/Debounce.d.ts +1 -1
- package/dist/types/core/FormLayoutValidator.d.ts +2 -2
- package/dist/types/core/index.d.ts +9 -9
- package/dist/types/features/dragging/Dragging.d.ts +3 -3
- package/dist/types/features/dragging/index.d.ts +2 -2
- package/dist/types/features/editor-actions/FormEditorActions.d.ts +1 -1
- package/dist/types/features/editor-actions/index.d.ts +2 -2
- package/dist/types/features/expression-language/EditorTemplating.d.ts +1 -1
- package/dist/types/features/expression-language/index.d.ts +3 -3
- package/dist/types/features/keyboard/FormEditorKeyboardBindings.d.ts +1 -1
- package/dist/types/features/keyboard/index.d.ts +3 -3
- package/dist/types/features/modeling/FormLayoutUpdater.d.ts +1 -1
- package/dist/types/features/modeling/Modeling.d.ts +1 -1
- package/dist/types/features/modeling/behavior/ColumnsSourceBehavior.d.ts +7 -0
- package/dist/types/features/modeling/behavior/IdBehavior.d.ts +1 -1
- package/dist/types/features/modeling/behavior/KeyBehavior.d.ts +1 -1
- package/dist/types/features/modeling/behavior/OptionsSourceBehavior.d.ts +8 -0
- package/dist/types/features/modeling/behavior/PathBehavior.d.ts +1 -1
- package/dist/types/features/modeling/behavior/TableDataSourceBehavior.d.ts +7 -0
- package/dist/types/features/modeling/behavior/ValidateBehavior.d.ts +1 -1
- package/dist/types/features/modeling/behavior/index.d.ts +11 -7
- package/dist/types/features/modeling/cmd/AddFormFieldHandler.d.ts +1 -1
- package/dist/types/features/modeling/cmd/EditFormFieldHandler.d.ts +1 -1
- package/dist/types/features/modeling/cmd/MoveFormFieldHandler.d.ts +1 -1
- package/dist/types/features/modeling/cmd/RemoveFormFieldHandler.d.ts +1 -1
- package/dist/types/features/modeling/cmd/UpdateIdClaimHandler.d.ts +1 -1
- package/dist/types/features/modeling/cmd/UpdateKeyClaimHandler.d.ts +1 -1
- package/dist/types/features/modeling/cmd/UpdatePathClaimHandler.d.ts +1 -1
- package/dist/types/features/modeling/index.d.ts +7 -5
- package/dist/types/features/palette/PaletteModule.d.ts +1 -1
- package/dist/types/features/palette/index.d.ts +1 -1
- package/dist/types/features/properties-panel/PropertiesPanelRenderer.d.ts +1 -1
- package/dist/types/features/properties-panel/PropertiesProvider.d.ts +1 -1
- package/dist/types/features/properties-panel/Util.d.ts +11 -3
- package/dist/types/features/properties-panel/entries/ColumnEntry.d.ts +11 -0
- package/dist/types/features/properties-panel/entries/ColumnsExpressionEntry.d.ts +10 -0
- package/dist/types/features/properties-panel/entries/ConditionEntry.d.ts +1 -1
- package/dist/types/features/properties-panel/entries/{GroupEntries.d.ts → GroupAppearanceEntry.d.ts} +3 -1
- package/dist/types/features/properties-panel/entries/HeadersSourceSelectEntry.d.ts +9 -0
- package/dist/types/features/properties-panel/entries/HeightEntry.d.ts +12 -0
- package/dist/types/features/properties-panel/entries/IFrameHeightEntry.d.ts +10 -0
- package/dist/types/features/properties-panel/entries/IFrameUrlEntry.d.ts +10 -0
- package/dist/types/features/properties-panel/entries/{InputKeyValuesSourceEntry.d.ts → InputKeyOptionsSourceEntry.d.ts} +1 -1
- package/dist/types/features/properties-panel/entries/LayouterAppearanceEntry.d.ts +10 -0
- package/dist/types/features/properties-panel/entries/OptionsExpressionEntry.d.ts +9 -0
- package/dist/types/features/properties-panel/entries/{ValuesSourceSelectEntry.d.ts → OptionsSourceSelectEntry.d.ts} +1 -1
- package/dist/types/features/properties-panel/entries/PaginationEntry.d.ts +10 -0
- package/dist/types/features/properties-panel/entries/RepeatableEntry.d.ts +24 -0
- package/dist/types/features/properties-panel/entries/RowCountEntry.d.ts +10 -0
- package/dist/types/features/properties-panel/entries/SelectEntries.d.ts +2 -0
- package/dist/types/features/properties-panel/entries/StaticColumnsSourceEntry.d.ts +5 -0
- package/dist/types/features/properties-panel/entries/{StaticValuesSourceEntry.d.ts → StaticOptionsSourceEntry.d.ts} +1 -1
- package/dist/types/features/properties-panel/entries/TableDataSourceEntry.d.ts +10 -0
- package/dist/types/features/properties-panel/entries/factories/index.d.ts +3 -0
- package/dist/types/features/properties-panel/entries/factories/simpleBoolEntryFactory.d.ts +2 -0
- package/dist/types/features/properties-panel/entries/factories/simpleRangeIntegerEntryFactory.d.ts +12 -0
- package/dist/types/features/properties-panel/entries/factories/simpleSelectEntryFactory.d.ts +10 -0
- package/dist/types/features/properties-panel/entries/factories/zeroPositiveIntegerEntryFactory.d.ts +9 -0
- package/dist/types/features/properties-panel/entries/index.d.ts +17 -7
- package/dist/types/features/properties-panel/groups/AppearanceGroup.d.ts +24 -3
- package/dist/types/features/properties-panel/groups/GeneralGroup.d.ts +13 -0
- package/dist/types/features/properties-panel/groups/OptionsGroups.d.ts +1 -0
- package/dist/types/features/properties-panel/groups/TableHeaderGroups.d.ts +1 -0
- package/dist/types/features/properties-panel/groups/index.d.ts +2 -1
- package/dist/types/features/properties-panel/index.d.ts +4 -4
- package/dist/types/features/render-injection/RenderInjector.d.ts +1 -1
- package/dist/types/features/render-injection/index.d.ts +2 -2
- package/dist/types/features/repeat-render/EditorRepeatRenderManager.d.ts +17 -0
- package/dist/types/features/repeat-render/index.d.ts +7 -0
- package/dist/types/features/selection/Selection.d.ts +1 -1
- package/dist/types/features/selection/SelectionBehavior.d.ts +1 -1
- package/dist/types/features/selection/index.d.ts +3 -3
- package/dist/types/render/Renderer.d.ts +1 -1
- package/dist/types/render/components/ModularSection.d.ts +1 -1
- package/dist/types/render/components/editor-form-fields/EditorIFrame.d.ts +6 -0
- package/dist/types/render/components/editor-form-fields/EditorTable.d.ts +10 -0
- package/dist/types/render/components/editor-form-fields/EditorText.d.ts +1 -1
- package/dist/types/render/components/editor-form-fields/index.d.ts +3 -1
- package/dist/types/render/index.d.ts +3 -3
- package/package.json +3 -3
- package/dist/types/features/modeling/behavior/ValuesSourceBehavior.d.ts +0 -8
- package/dist/types/features/properties-panel/entries/SpacerEntry.d.ts +0 -10
- package/dist/types/features/properties-panel/entries/ValuesExpressionEntry.d.ts +0 -9
- 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:
|
|
54
|
-
|
|
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
|
-
|
|
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/
|
|
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
|
|
@@ -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):
|
|
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
|
-
|
|
18
|
+
let $inject: string[];
|
|
19
19
|
}
|
|
20
20
|
export default FormLayoutValidator;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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';
|
|
@@ -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
|
-
*
|
|
32
|
+
* Calculates position in form schema given the dropped place.
|
|
33
33
|
*
|
|
34
34
|
* @param { FormRow } targetRow
|
|
35
35
|
* @param { any } targetFormField
|
|
@@ -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):
|
|
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
|
-
|
|
56
|
+
let $inject: string[];
|
|
57
57
|
}
|
|
58
58
|
export default Dragging;
|
|
59
59
|
export type FormRow = {
|
|
@@ -3,7 +3,7 @@ declare class FormEditorActions extends EditorActions {
|
|
|
3
3
|
_registerDefaultActions(injector: any): void;
|
|
4
4
|
}
|
|
5
5
|
declare namespace FormEditorActions {
|
|
6
|
-
|
|
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
|
-
|
|
3
|
-
|
|
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';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5
|
+
let $inject: string[];
|
|
6
6
|
}
|
|
7
7
|
export default KeyBehavior;
|
|
8
8
|
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';
|
|
@@ -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
|
-
|
|
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
|
-
|
|
5
|
+
let $inject: string[];
|
|
6
6
|
}
|
|
7
7
|
export default ValidateBehavior;
|
|
8
8
|
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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 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
|
|
16
|
+
import OptionsSourceBehavior from './OptionsSourceBehavior';
|
|
17
|
+
import { ColumnsSourceBehavior } from './ColumnsSourceBehavior';
|
|
18
|
+
import { TableDataSourceBehavior } from './TableDataSourceBehavior';
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
|
|
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)[];
|
|
6
6
|
pathBehavior: (string | typeof import("./behavior/PathBehavior").default)[];
|
|
7
7
|
validateBehavior: (string | typeof import("./behavior/ValidateBehavior").default)[];
|
|
8
|
-
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
let __init__: string[];
|
|
13
|
+
let formLayoutUpdater: (string | typeof FormLayoutUpdater)[];
|
|
14
|
+
let modeling: (string | typeof Modeling)[];
|
|
13
15
|
}
|
|
14
16
|
export default _default;
|
|
15
17
|
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
|
-
|
|
5
|
+
let $inject: string[];
|
|
6
6
|
}
|
|
7
7
|
export default PaletteModule;
|
|
8
8
|
import SectionModuleBase from '../SectionModuleBase';
|
|
@@ -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
|
-
|
|
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
|
|
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
|
|
20
|
+
export const OPTIONS_INPUTS: string[];
|
package/dist/types/features/properties-panel/entries/{GroupEntries.d.ts → GroupAppearanceEntry.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default function
|
|
1
|
+
export default function GroupAppearanceEntry(props: any): {
|
|
2
2
|
id: any;
|
|
3
3
|
label: any;
|
|
4
4
|
path: any;
|
|
@@ -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,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
|
+
})[];
|