@formio/js 5.0.0-rc.60 → 5.0.0-rc.62
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/formio.embed.js +1 -1
- package/dist/formio.embed.min.js +1 -1
- package/dist/formio.embed.min.js.LICENSE.txt +1 -1
- package/dist/formio.form.js +8 -8
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +1 -1
- package/dist/formio.full.js +47 -47
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +1 -1
- package/dist/formio.js +3 -3
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.js +2 -2
- package/dist/formio.utils.min.js +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +1 -1
- package/lib/cjs/Element.d.ts +1 -1
- package/lib/cjs/Embed.d.ts +2 -2
- package/lib/cjs/Embed.js +10 -10
- package/lib/cjs/Form.d.ts +3 -3
- package/lib/cjs/FormBuilder.d.ts +3 -42
- package/lib/cjs/InlineEmbed.js +2 -2
- package/lib/cjs/PDF.d.ts +1 -1
- package/lib/cjs/Webform.d.ts +3 -4
- package/lib/cjs/WebformBuilder.d.ts +1 -1
- package/lib/cjs/components/_classes/component/Component.form.d.ts +1 -1
- package/lib/cjs/components/_classes/component/Component.form.js +1 -1
- package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +1 -1
- package/lib/cjs/components/_classes/list/ListComponent.form.js +1 -1
- package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +7 -7
- package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +1 -1
- package/lib/cjs/components/_classes/nested/NestedComponent.form.js +1 -1
- package/lib/cjs/components/address/Address.form.d.ts +1 -1
- package/lib/cjs/components/address/Address.form.js +1 -1
- package/lib/cjs/components/button/Button.form.d.ts +1 -1
- package/lib/cjs/components/button/Button.form.js +1 -1
- package/lib/cjs/components/checkbox/Checkbox.form.d.ts +1 -1
- package/lib/cjs/components/checkbox/Checkbox.form.js +1 -1
- package/lib/cjs/components/columns/Columns.form.d.ts +1 -1
- package/lib/cjs/components/columns/Columns.form.js +1 -1
- package/lib/cjs/components/container/Container.form.d.ts +1 -1
- package/lib/cjs/components/container/Container.form.js +1 -1
- package/lib/cjs/components/content/Content.form.d.ts +1 -1
- package/lib/cjs/components/content/Content.form.js +1 -1
- package/lib/cjs/components/currency/Currency.form.d.ts +1 -1
- package/lib/cjs/components/currency/Currency.form.js +1 -1
- package/lib/cjs/components/datagrid/DataGrid.form.d.ts +1 -1
- package/lib/cjs/components/datagrid/DataGrid.form.js +1 -1
- package/lib/cjs/components/datamap/DataMap.form.d.ts +1 -1
- package/lib/cjs/components/datamap/DataMap.form.js +1 -1
- package/lib/cjs/components/datetime/DateTime.form.d.ts +1 -1
- package/lib/cjs/components/datetime/DateTime.form.js +1 -1
- package/lib/cjs/components/day/Day.form.d.ts +1 -1
- package/lib/cjs/components/day/Day.form.js +1 -1
- package/lib/cjs/components/editgrid/EditGrid.form.d.ts +1 -1
- package/lib/cjs/components/editgrid/EditGrid.form.js +1 -1
- package/lib/cjs/components/email/Email.form.d.ts +1 -1
- package/lib/cjs/components/email/Email.form.js +1 -1
- package/lib/cjs/components/fieldset/Fieldset.form.d.ts +1 -1
- package/lib/cjs/components/fieldset/Fieldset.form.js +1 -1
- package/lib/cjs/components/file/File.form.d.ts +1 -1
- package/lib/cjs/components/file/File.form.js +1 -1
- package/lib/cjs/components/form/Form.form.d.ts +1 -1
- package/lib/cjs/components/form/Form.form.js +1 -1
- package/lib/cjs/components/hidden/Hidden.form.d.ts +1 -1
- package/lib/cjs/components/hidden/Hidden.form.js +1 -1
- package/lib/cjs/components/html/HTML.form.d.ts +1 -1
- package/lib/cjs/components/html/HTML.form.js +1 -1
- package/lib/cjs/components/number/Number.form.d.ts +1 -1
- package/lib/cjs/components/number/Number.form.js +1 -1
- package/lib/cjs/components/panel/Panel.form.d.ts +1 -1
- package/lib/cjs/components/panel/Panel.form.js +1 -1
- package/lib/cjs/components/password/Password.form.d.ts +1 -1
- package/lib/cjs/components/password/Password.form.js +1 -1
- package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +1 -1
- package/lib/cjs/components/phonenumber/PhoneNumber.form.js +1 -1
- package/lib/cjs/components/radio/Radio.form.d.ts +1 -1
- package/lib/cjs/components/radio/Radio.form.js +1 -1
- package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +1 -1
- package/lib/cjs/components/recaptcha/ReCaptcha.form.js +1 -1
- package/lib/cjs/components/select/Select.form.d.ts +1 -1
- package/lib/cjs/components/select/Select.form.js +1 -1
- package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +1 -1
- package/lib/cjs/components/selectboxes/SelectBoxes.form.js +1 -1
- package/lib/cjs/components/signature/Signature.form.d.ts +1 -1
- package/lib/cjs/components/signature/Signature.form.js +1 -1
- package/lib/cjs/components/survey/Survey.form.d.ts +1 -1
- package/lib/cjs/components/survey/Survey.form.js +1 -1
- package/lib/cjs/components/table/Table.form.d.ts +1 -1
- package/lib/cjs/components/table/Table.form.js +1 -1
- package/lib/cjs/components/tabs/Tabs.form.d.ts +1 -1
- package/lib/cjs/components/tabs/Tabs.form.js +1 -1
- package/lib/cjs/components/tags/Tags.form.d.ts +1 -1
- package/lib/cjs/components/tags/Tags.form.js +1 -1
- package/lib/cjs/components/textarea/TextArea.form.d.ts +1 -1
- package/lib/cjs/components/textarea/TextArea.form.js +1 -1
- package/lib/cjs/components/textfield/TextField.form.d.ts +1 -1
- package/lib/cjs/components/textfield/TextField.form.js +1 -1
- package/lib/cjs/components/time/Time.form.d.ts +1 -1
- package/lib/cjs/components/time/Time.form.js +1 -1
- package/lib/cjs/components/unknown/Unknown.form.js +1 -1
- package/lib/cjs/components/url/Url.form.d.ts +1 -1
- package/lib/cjs/components/url/Url.form.js +1 -1
- package/lib/cjs/components/well/Well.form.d.ts +1 -1
- package/lib/cjs/components/well/Well.form.js +1 -1
- package/lib/cjs/formio.form.js +3 -3
- package/lib/cjs/providers/address/AzureAddressProvider.d.ts +1 -1
- package/lib/cjs/providers/storage/util.js +4 -3
- package/lib/cjs/templates/index.d.ts +14 -14
- package/lib/cjs/utils/calendarUtils.js +3 -3
- package/lib/cjs/utils/formUtils.d.ts +3 -3
- package/lib/cjs/utils/formUtils.js +2 -2
- package/lib/cjs/utils/utils.d.ts +14 -14
- package/lib/cjs/utils/utils.js +71 -70
- package/lib/mjs/Element.d.ts +1 -1
- package/lib/mjs/Embed.d.ts +2 -2
- package/lib/mjs/Form.d.ts +3 -3
- package/lib/mjs/FormBuilder.d.ts +3 -42
- package/lib/mjs/PDF.d.ts +1 -1
- package/lib/mjs/Webform.d.ts +3 -4
- package/lib/mjs/WebformBuilder.d.ts +1 -1
- package/lib/mjs/components/_classes/component/Component.form.d.ts +1 -1
- package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +1 -1
- package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +7 -7
- package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +1 -1
- package/lib/mjs/components/address/Address.form.d.ts +1 -1
- package/lib/mjs/components/button/Button.form.d.ts +1 -1
- package/lib/mjs/components/checkbox/Checkbox.form.d.ts +1 -1
- package/lib/mjs/components/columns/Columns.form.d.ts +1 -1
- package/lib/mjs/components/container/Container.form.d.ts +1 -1
- package/lib/mjs/components/content/Content.form.d.ts +1 -1
- package/lib/mjs/components/currency/Currency.form.d.ts +1 -1
- package/lib/mjs/components/datagrid/DataGrid.form.d.ts +1 -1
- package/lib/mjs/components/datamap/DataMap.form.d.ts +1 -1
- package/lib/mjs/components/datetime/DateTime.form.d.ts +1 -1
- package/lib/mjs/components/day/Day.form.d.ts +1 -1
- package/lib/mjs/components/editgrid/EditGrid.form.d.ts +1 -1
- package/lib/mjs/components/email/Email.form.d.ts +1 -1
- package/lib/mjs/components/fieldset/Fieldset.form.d.ts +1 -1
- package/lib/mjs/components/file/File.form.d.ts +1 -1
- package/lib/mjs/components/form/Form.form.d.ts +1 -1
- package/lib/mjs/components/hidden/Hidden.form.d.ts +1 -1
- package/lib/mjs/components/html/HTML.form.d.ts +1 -1
- package/lib/mjs/components/number/Number.form.d.ts +1 -1
- package/lib/mjs/components/panel/Panel.form.d.ts +1 -1
- package/lib/mjs/components/password/Password.form.d.ts +1 -1
- package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +1 -1
- package/lib/mjs/components/radio/Radio.form.d.ts +1 -1
- package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +1 -1
- package/lib/mjs/components/select/Select.form.d.ts +1 -1
- package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +1 -1
- package/lib/mjs/components/signature/Signature.form.d.ts +1 -1
- package/lib/mjs/components/survey/Survey.form.d.ts +1 -1
- package/lib/mjs/components/table/Table.form.d.ts +1 -1
- package/lib/mjs/components/tabs/Tabs.form.d.ts +1 -1
- package/lib/mjs/components/tags/Tags.form.d.ts +1 -1
- package/lib/mjs/components/textarea/TextArea.form.d.ts +1 -1
- package/lib/mjs/components/textfield/TextField.form.d.ts +1 -1
- package/lib/mjs/components/time/Time.form.d.ts +1 -1
- package/lib/mjs/components/url/Url.form.d.ts +1 -1
- package/lib/mjs/components/well/Well.form.d.ts +1 -1
- package/lib/mjs/providers/address/AzureAddressProvider.d.ts +1 -1
- package/lib/mjs/templates/index.d.ts +14 -14
- package/lib/mjs/utils/formUtils.d.ts +3 -3
- package/lib/mjs/utils/utils.d.ts +14 -14
- package/package.json +10 -10
package/lib/mjs/FormBuilder.d.ts
CHANGED
@@ -17,44 +17,26 @@ export default class FormBuilder extends Form {
|
|
17
17
|
*/
|
18
18
|
/** @type {FormBuilderOptions} */
|
19
19
|
static options: {
|
20
|
-
/**
|
21
|
-
* - An array of "keys" of components that should be disabled within the form builder. Example: ['firstName', 'lastName']
|
22
|
-
*/
|
23
20
|
/**
|
24
21
|
* - An array of "keys" of components that should be disabled within the form builder. Example: ['firstName', 'lastName']
|
25
22
|
*/
|
26
23
|
disabled?: string[] | undefined;
|
27
|
-
/**
|
28
|
-
* - When set to TRUE no modal is shown when a component is dragged onto the form.
|
29
|
-
*/
|
30
24
|
/**
|
31
25
|
* - When set to TRUE no modal is shown when a component is dragged onto the form.
|
32
26
|
*/
|
33
27
|
noNewEdit?: boolean | undefined;
|
34
|
-
/**
|
35
|
-
* - Set to TRUE to not include the default submit button in Webforms.
|
36
|
-
*/
|
37
28
|
/**
|
38
29
|
* - Set to TRUE to not include the default submit button in Webforms.
|
39
30
|
*/
|
40
31
|
noDefaultSubmitButton?: boolean | undefined;
|
41
|
-
/**
|
42
|
-
* - Set to TRUE to always require confirmation before removing a component.
|
43
|
-
*/
|
44
32
|
/**
|
45
33
|
* - Set to TRUE to always require confirmation before removing a component.
|
46
34
|
*/
|
47
35
|
alwaysConfirmComponentRemoval?: boolean | undefined;
|
48
|
-
/**
|
49
|
-
* - Form configurations to apply to forms being created. These configurations are added to the "config" property of the form object.
|
50
|
-
*/
|
51
36
|
/**
|
52
37
|
* - Form configurations to apply to forms being created. These configurations are added to the "config" property of the form object.
|
53
38
|
*/
|
54
39
|
formConfig?: object | undefined;
|
55
|
-
/**
|
56
|
-
* - The tag to use to query for the "Existing Resource Fields" section of the builder.
|
57
|
-
*/
|
58
40
|
/**
|
59
41
|
* - The tag to use to query for the "Existing Resource Fields" section of the builder.
|
60
42
|
*/
|
@@ -62,48 +44,27 @@ export default class FormBuilder extends Form {
|
|
62
44
|
/**
|
63
45
|
* - The options to apply to the Edit Form (the form that shows inside the modal when you edit a component).
|
64
46
|
*/
|
65
|
-
|
66
|
-
* - The options to apply to the Edit Form (the form that shows inside the modal when you edit a component).
|
67
|
-
*/
|
68
|
-
editForm?: import("./Form").FormOptions;
|
69
|
-
/**
|
70
|
-
* - The language to load into the form builder.
|
71
|
-
*/
|
47
|
+
editForm?: any;
|
72
48
|
/**
|
73
49
|
* - The language to load into the form builder.
|
74
50
|
*/
|
75
51
|
language?: string | undefined;
|
76
|
-
/**
|
77
|
-
* - The builder options to pass to the builder.
|
78
|
-
*/
|
79
52
|
/**
|
80
53
|
* - The builder options to pass to the builder.
|
81
54
|
*/
|
82
55
|
builder?: object | undefined;
|
83
|
-
/**
|
84
|
-
* - The display mode of the builder.
|
85
|
-
*/
|
86
56
|
/**
|
87
57
|
* - The display mode of the builder.
|
88
58
|
*/
|
89
59
|
display?: "form" | "pdf" | "wizard" | undefined;
|
90
|
-
/**
|
91
|
-
* - Filter applied to the resources that appear in the builder's Existing Resource Fields.
|
92
|
-
*/
|
93
60
|
/**
|
94
61
|
* - Filter applied to the resources that appear in the builder's Existing Resource Fields.
|
95
62
|
*/
|
96
63
|
resourceFilter?: string | undefined;
|
97
|
-
/**
|
98
|
-
* - When set to TRUE, the resource ID in the builder's Existing Resource Fields will not be linked.
|
99
|
-
*/
|
100
64
|
/**
|
101
65
|
* - When set to TRUE, the resource ID in the builder's Existing Resource Fields will not be linked.
|
102
66
|
*/
|
103
67
|
noSource?: boolean | undefined;
|
104
|
-
/**
|
105
|
-
* - When set to TRUE, the full JSON schema will be displayed in the JSON edit menu.
|
106
|
-
*/
|
107
68
|
/**
|
108
69
|
* - When set to TRUE, the full JSON schema will be displayed in the JSON edit menu.
|
109
70
|
*/
|
@@ -144,7 +105,7 @@ export default class FormBuilder extends Form {
|
|
144
105
|
/**
|
145
106
|
* - The options to apply to the Edit Form (the form that shows inside the modal when you edit a component).
|
146
107
|
*/
|
147
|
-
editForm?:
|
108
|
+
editForm?: any;
|
148
109
|
/**
|
149
110
|
* - The language to load into the form builder.
|
150
111
|
*/
|
@@ -199,7 +160,7 @@ export default class FormBuilder extends Form {
|
|
199
160
|
/**
|
200
161
|
* - The options to apply to the Edit Form (the form that shows inside the modal when you edit a component).
|
201
162
|
*/
|
202
|
-
editForm?:
|
163
|
+
editForm?: any;
|
203
164
|
/**
|
204
165
|
* - The language to load into the form builder.
|
205
166
|
*/
|
package/lib/mjs/PDF.d.ts
CHANGED
@@ -28,7 +28,7 @@ export default class PDF extends Webform {
|
|
28
28
|
* @param {any} flags - The flags to use when setting the submission.
|
29
29
|
* @returns {boolean} - If the value changed or not.
|
30
30
|
*/
|
31
|
-
setValue(submission: import(
|
31
|
+
setValue(submission: import('@formio/core').Submission, flags?: any): boolean;
|
32
32
|
postMessage(message: any): void;
|
33
33
|
iframeFormSetUp: boolean | undefined;
|
34
34
|
focusOnComponent(key: any): void;
|
package/lib/mjs/Webform.d.ts
CHANGED
@@ -89,11 +89,11 @@ declare class Webform extends NestedDataComponent {
|
|
89
89
|
* @param {HTMLElement | object | import('Form').FormOptions} [elementOrOptions] - The DOM element to render this form within or the options to create this form instance.
|
90
90
|
* @param {import('Form').FormOptions} [options] - The options to create a new form instance.
|
91
91
|
*/
|
92
|
-
constructor(elementOrOptions?: HTMLElement | object | import(
|
92
|
+
constructor(elementOrOptions?: HTMLElement | object | import('Form').FormOptions, options?: any);
|
93
93
|
/**
|
94
94
|
* @type {import('Form').FormOptions} - the options for this Webform.
|
95
95
|
*/
|
96
|
-
options:
|
96
|
+
options: any;
|
97
97
|
_src: string;
|
98
98
|
_loading: boolean;
|
99
99
|
_form: {};
|
@@ -459,7 +459,7 @@ export default Webform;
|
|
459
459
|
/**
|
460
460
|
* Represents a JSON value.
|
461
461
|
*/
|
462
|
-
export type JSON = (string | number | boolean | null |
|
462
|
+
export type JSON = (string | number | boolean | null | JSON[] | JSONObject);
|
463
463
|
/**
|
464
464
|
* Represents a JSON array.
|
465
465
|
*/
|
@@ -733,5 +733,4 @@ export type FormOptions = {
|
|
733
733
|
zoom?: number | undefined;
|
734
734
|
};
|
735
735
|
import NestedDataComponent from "./components/_classes/nesteddata/NestedDataComponent";
|
736
|
-
import { Formio } from "./Formio";
|
737
736
|
import EventEmitter from "./EventEmitter";
|
@@ -59,7 +59,7 @@ export default class WebformBuilder extends Component {
|
|
59
59
|
* @param {import('@formio/core').Component} component - The component to find the namespace root for.
|
60
60
|
* @returns {import('@formio/core').Component[]} - The components root for this namespace.
|
61
61
|
*/
|
62
|
-
findNamespaceRoot(component: import(
|
62
|
+
findNamespaceRoot(component: import('@formio/core').Component): import('@formio/core').Component[];
|
63
63
|
recurseNamespace(component: any): any;
|
64
64
|
render(): any;
|
65
65
|
attach(element: any): Promise<any>;
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -103,7 +103,7 @@ export default class NestedComponent extends Field {
|
|
103
103
|
* @param {import('@formio/core').Component} component - The component to check.
|
104
104
|
* @returns {boolean} - TRUE if the component has a component, FALSE otherwise.
|
105
105
|
*/
|
106
|
-
hasComponent(component: import(
|
106
|
+
hasComponent(component: import('@formio/core').Component): boolean;
|
107
107
|
/**
|
108
108
|
* Get the flattened components of this NestedComponent.
|
109
109
|
* @returns {object} - The flattened components of this NestedComponent.
|
@@ -139,7 +139,7 @@ export default class NestedComponent extends Field {
|
|
139
139
|
* @param {import('@formio/core').Component} [replacedComp] - The component to replace with this component.
|
140
140
|
* @returns {any} - The created component instance.
|
141
141
|
*/
|
142
|
-
createComponent(component: import(
|
142
|
+
createComponent(component: import('@formio/core').Component, options: object, data: import('@formio/core').DataObject, before?: import("@formio/core").Component | undefined, replacedComp?: import("@formio/core").Component | undefined): any;
|
143
143
|
getContainer(): any;
|
144
144
|
get componentComponents(): any;
|
145
145
|
get nestedKey(): string;
|
@@ -159,7 +159,7 @@ export default class NestedComponent extends Field {
|
|
159
159
|
* @param {boolean} [noAdd] - A possibly extraneous boolean flag.
|
160
160
|
* @returns {any} - The created component instance.
|
161
161
|
*/
|
162
|
-
addComponent(component: import(
|
162
|
+
addComponent(component: import('@formio/core').Component, data?: object, before?: HTMLElement, noAdd?: boolean | undefined): any;
|
163
163
|
beforeFocus(): void;
|
164
164
|
render(children: any): Field;
|
165
165
|
renderComponents(components: any): any;
|
@@ -168,7 +168,7 @@ export default class NestedComponent extends Field {
|
|
168
168
|
* Attach the logic to the components.
|
169
169
|
* @param {import('@formio/core').Component[]} components - The components to attach logic to.
|
170
170
|
*/
|
171
|
-
attachComponentsLogic(components: import(
|
171
|
+
attachComponentsLogic(components: import('@formio/core').Component[]): void;
|
172
172
|
attachComponents(element: any, components: any, container: any): Promise<any>;
|
173
173
|
/**
|
174
174
|
* Remove a component from the components array and from the children object
|
@@ -176,7 +176,7 @@ export default class NestedComponent extends Field {
|
|
176
176
|
* @param {import('@formio/core').Component[]} components - An array of components to remove this component from.
|
177
177
|
* @param {boolean} [all] - If set to TRUE will cascade remove all components.
|
178
178
|
*/
|
179
|
-
removeComponent(component: import(
|
179
|
+
removeComponent(component: import('@formio/core').Component, components: import('@formio/core').Component[], all?: boolean | undefined): void;
|
180
180
|
/**
|
181
181
|
* Removes a component provided the API key of that component.
|
182
182
|
* @param {string} key - The API key of the component to remove.
|
@@ -224,14 +224,14 @@ export default class NestedComponent extends Field {
|
|
224
224
|
* @param {object} flags - The flags to use when validating.
|
225
225
|
* @returns {Promise<Array>|Array} - The errors if any exist.
|
226
226
|
*/
|
227
|
-
validateComponents(components?: import(
|
227
|
+
validateComponents(components?: import('@formio/core').Component[], data?: import('@formio/core').DataObject, flags?: object): Promise<any[]> | any[];
|
228
228
|
/**
|
229
229
|
* Validate a nested component with data, or its own internal data.
|
230
230
|
* @param {import('@formio/core').DataObject} data - The data to validate.
|
231
231
|
* @param {object} flags - The flags to use when validating.
|
232
232
|
* @returns {Array} - The errors if any exist.
|
233
233
|
*/
|
234
|
-
validate(data?: import(
|
234
|
+
validate(data?: import('@formio/core').DataObject, flags?: object): any[];
|
235
235
|
checkComponentValidity(data?: null, dirty?: boolean, row?: null, flags?: {}, allErrors?: any[]): boolean;
|
236
236
|
checkAsyncValidity(data?: null, dirty?: boolean, row?: null, silentCheck?: boolean): Promise<any>;
|
237
237
|
setPristine(pristine: any): void;
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* @param {...any} extend - The components that extend the edit form.
|
4
4
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
5
5
|
*/
|
6
|
-
export default function _default(...extend: any[]): import(
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -39,20 +39,20 @@ declare namespace _default {
|
|
39
39
|
defaultIconset: string;
|
40
40
|
iconClass: (iconset: any, name: any, spinning: any) => string;
|
41
41
|
cssClasses: {
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
42
|
+
'border-default': string;
|
43
|
+
'formio-tab-panel-active': string;
|
44
|
+
'formio-tab-link-active': string;
|
45
|
+
'formio-tab-link-container-active': string;
|
46
|
+
'formio-form-error': string;
|
47
|
+
'formio-form-alert': string;
|
48
|
+
'formio-label-error': string;
|
49
|
+
'formio-input-error': string;
|
50
|
+
'formio-alert-danger': string;
|
51
|
+
'formio-alert-success': string;
|
52
|
+
'formio-alert-warning': string;
|
53
|
+
'formio-modal-cancel-button': string;
|
54
|
+
'formio-modal-confirm-button': string;
|
55
|
+
'form-group': string;
|
56
56
|
};
|
57
57
|
address: {
|
58
58
|
form: string;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* @param {object} query - The query to use when searching for the components.
|
5
5
|
* @returns {import('@formio/core').Component[]} - The result of the component that is found.
|
6
6
|
*/
|
7
|
-
export function findComponents(components: import(
|
7
|
+
export function findComponents(components: import('@formio/core').Component[], query: object): import('@formio/core').Component[];
|
8
8
|
export const flattenComponents: typeof Utils.flattenComponents;
|
9
9
|
export const guid: typeof Utils.guid;
|
10
10
|
export const uniqueName: typeof Utils.uniqueName;
|
@@ -16,8 +16,8 @@ export const isComponentModelType: typeof Utils.isComponentModelType;
|
|
16
16
|
export const isComponentNestedDataType: typeof Utils.isComponentNestedDataType;
|
17
17
|
export const componentPath: typeof Utils.componentPath;
|
18
18
|
export const componentChildPath: any;
|
19
|
-
export const eachComponentDataAsync: (components: Component[], data: DataObject, fn: AsyncComponentDataCallback, path?: string, index?: number, parent?: any, includeAll?: boolean) => Promise<void>;
|
20
|
-
export const eachComponentData: (components: Component[], data: DataObject, fn: ComponentDataCallback, path?: string, index?: number, parent?: any, includeAll?: boolean) => void;
|
19
|
+
export const eachComponentDataAsync: (components: Component[], data: DataObject, fn: AsyncComponentDataCallback, path?: string | undefined, index?: number | undefined, parent?: any, includeAll?: boolean | undefined) => Promise<void>;
|
20
|
+
export const eachComponentData: (components: Component[], data: DataObject, fn: ComponentDataCallback, path?: string | undefined, index?: number | undefined, parent?: any, includeAll?: boolean | undefined) => void;
|
21
21
|
export const getComponentKey: typeof Utils.getComponentKey;
|
22
22
|
export const getContextualRowPath: typeof Utils.getContextualRowPath;
|
23
23
|
export const getContextualRowData: typeof Utils.getContextualRowData;
|