@formio/js 5.0.0-bb.dev.2 → 5.0.0-bb.dev.4
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/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 +20 -19
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +1 -1
- package/dist/formio.full.js +20 -19
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +1 -1
- package/dist/formio.js +9 -8
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +1 -1
- package/lib/cjs/Form.js +1 -18
- package/lib/cjs/PDFBuilder.d.ts +1 -1
- package/lib/cjs/Webform.d.ts +1 -1
- package/lib/cjs/WebformBuilder.d.ts +4 -4
- package/lib/cjs/Wizard.d.ts +1 -2
- package/lib/cjs/WizardBuilder.d.ts +14 -2
- package/lib/cjs/components/Components.d.ts +6 -6
- package/lib/cjs/components/_classes/component/Component.d.ts +9 -4
- package/lib/cjs/components/_classes/component/Component.form.d.ts +1112 -1
- package/lib/cjs/components/_classes/component/Component.js +10 -4
- package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.js +8 -0
- package/lib/cjs/components/_classes/component/editForm/utils.d.ts +2 -2
- package/lib/cjs/components/_classes/input/Input.d.ts +6 -2
- package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +1112 -1
- package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +1112 -1
- package/lib/cjs/components/_classes/nested/NestedComponent.js +2 -2
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +1 -1
- package/lib/cjs/components/address/Address.form.d.ts +1112 -1
- package/lib/cjs/components/address/editForm/Address.edit.provider.d.ts +4 -1
- package/lib/cjs/components/button/Button.d.ts +1 -1
- package/lib/cjs/components/button/Button.form.d.ts +1112 -1
- package/lib/cjs/components/checkbox/Checkbox.d.ts +1 -1
- package/lib/cjs/components/checkbox/Checkbox.form.d.ts +1112 -1
- package/lib/cjs/components/columns/Columns.d.ts +2 -0
- package/lib/cjs/components/columns/Columns.form.d.ts +1112 -1
- package/lib/cjs/components/container/Container.form.d.ts +1112 -1
- package/lib/cjs/components/content/Content.form.d.ts +1112 -1
- package/lib/cjs/components/currency/Currency.form.d.ts +1112 -1
- package/lib/cjs/components/datagrid/DataGrid.d.ts +3 -3
- package/lib/cjs/components/datagrid/DataGrid.form.d.ts +1112 -1
- package/lib/cjs/components/datagrid/DataGrid.js +2 -1
- package/lib/cjs/components/datagrid/fixtures/comp-with-allow-calculate-override.js +1 -1
- package/lib/cjs/components/datagrid/fixtures/index.d.ts +2 -1
- package/lib/cjs/components/datagrid/fixtures/index.js +3 -1
- package/lib/cjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.d.ts +53 -0
- package/lib/cjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.js +104 -0
- package/lib/cjs/components/datamap/DataMap.d.ts +2 -1
- package/lib/cjs/components/datamap/DataMap.form.d.ts +1112 -1
- package/lib/cjs/components/datetime/DateTime.form.d.ts +1112 -1
- package/lib/cjs/components/day/Day.form.d.ts +1112 -1
- package/lib/cjs/components/editgrid/EditGrid.form.d.ts +1112 -1
- package/lib/cjs/components/editgrid/EditGrid.js +7 -4
- package/lib/cjs/components/editgrid/fixtures/formsWithEditGridAndConditions.d.ts +910 -0
- package/lib/cjs/components/editgrid/fixtures/formsWithEditGridAndConditions.js +923 -0
- package/lib/cjs/components/email/Email.form.d.ts +1112 -1
- package/lib/cjs/components/fieldset/Fieldset.form.d.ts +1112 -1
- package/lib/cjs/components/file/File.d.ts +2 -7
- package/lib/cjs/components/file/File.form.d.ts +1112 -1
- package/lib/cjs/components/file/editForm/File.edit.file.d.ts +4 -1
- package/lib/cjs/components/form/Form.d.ts +1 -1
- package/lib/cjs/components/form/Form.form.d.ts +1112 -1
- package/lib/cjs/components/hidden/Hidden.form.d.ts +1112 -1
- package/lib/cjs/components/html/HTML.d.ts +1 -0
- package/lib/cjs/components/html/HTML.form.d.ts +1112 -1
- package/lib/cjs/components/html/HTML.js +9 -0
- package/lib/cjs/components/number/Number.form.d.ts +1112 -1
- package/lib/cjs/components/panel/Panel.form.d.ts +1112 -1
- package/lib/cjs/components/password/Password.d.ts +2 -0
- package/lib/cjs/components/password/Password.form.d.ts +1112 -1
- package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +1112 -1
- package/lib/cjs/components/radio/Radio.d.ts +1 -1
- package/lib/cjs/components/radio/Radio.form.d.ts +1112 -1
- package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +1112 -1
- package/lib/cjs/components/recaptcha/ReCaptcha.js +3 -3
- package/lib/cjs/components/select/Select.d.ts +4 -5
- package/lib/cjs/components/select/Select.form.d.ts +1112 -1
- package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +2 -7
- package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +1112 -1
- package/lib/cjs/components/signature/Signature.form.d.ts +1112 -1
- package/lib/cjs/components/survey/Survey.d.ts +1 -0
- package/lib/cjs/components/survey/Survey.form.d.ts +1112 -1
- package/lib/cjs/components/table/Table.d.ts +1 -0
- package/lib/cjs/components/table/Table.form.d.ts +1112 -1
- package/lib/cjs/components/tabs/Tabs.form.d.ts +1112 -1
- package/lib/cjs/components/tags/Tags.form.d.ts +1112 -1
- package/lib/cjs/components/textarea/TextArea.d.ts +1 -1
- package/lib/cjs/components/textarea/TextArea.form.d.ts +1112 -1
- package/lib/cjs/components/textarea/editForm/TextArea.edit.display.d.ts +4 -1
- package/lib/cjs/components/textfield/TextField.form.d.ts +1112 -1
- package/lib/cjs/components/time/Time.form.d.ts +1112 -1
- package/lib/cjs/components/url/Url.form.d.ts +1112 -1
- package/lib/cjs/components/well/Well.form.d.ts +1112 -1
- package/lib/cjs/formio.form.d.ts +3 -3
- package/lib/cjs/formio.form.js +59 -46
- package/lib/cjs/providers/address/AddressProvider.d.ts +3 -3
- package/lib/cjs/providers/storage/s3.js +1 -29
- package/lib/cjs/providers/storage/xhr.d.ts +1 -1
- package/lib/cjs/translations/en.d.ts +2 -0
- package/lib/cjs/translations/en.js +2 -0
- package/lib/cjs/utils/builder.d.ts +1 -1
- package/lib/cjs/utils/conditionOperators/ConditionOperator.d.ts +1 -1
- package/lib/cjs/utils/conditionOperators/EndsWith.d.ts +1 -1
- package/lib/cjs/utils/conditionOperators/GreaterThan.d.ts +1 -1
- package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +1 -1
- package/lib/cjs/utils/conditionOperators/Includes.d.ts +1 -1
- package/lib/cjs/utils/conditionOperators/LessThan.d.ts +1 -1
- package/lib/cjs/utils/conditionOperators/LessThanOrEqual.d.ts +1 -1
- package/lib/cjs/utils/conditionOperators/StartsWith.d.ts +1 -1
- package/lib/cjs/utils/conditionOperators/index.d.ts +2 -2
- package/lib/cjs/utils/utils.d.ts +4 -3
- package/lib/cjs/validator/Validator.d.ts +8 -3
- package/lib/cjs/validator/Validator.js +1 -1
- package/lib/mjs/Form.js +1 -18
- package/lib/mjs/PDFBuilder.d.ts +1 -1
- package/lib/mjs/Webform.d.ts +1 -1
- package/lib/mjs/WebformBuilder.d.ts +4 -4
- package/lib/mjs/Wizard.d.ts +1 -2
- package/lib/mjs/WizardBuilder.d.ts +14 -2
- package/lib/mjs/components/Components.d.ts +6 -6
- package/lib/mjs/components/_classes/component/Component.d.ts +9 -4
- package/lib/mjs/components/_classes/component/Component.form.d.ts +1112 -1
- package/lib/mjs/components/_classes/component/Component.js +10 -4
- package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.js +8 -0
- package/lib/mjs/components/_classes/component/editForm/utils.d.ts +2 -2
- package/lib/mjs/components/_classes/input/Input.d.ts +6 -2
- package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +1112 -1
- package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +1112 -1
- package/lib/mjs/components/_classes/nested/NestedComponent.js +2 -2
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +1 -1
- package/lib/mjs/components/address/Address.form.d.ts +1112 -1
- package/lib/mjs/components/address/editForm/Address.edit.provider.d.ts +4 -1
- package/lib/mjs/components/button/Button.d.ts +1 -1
- package/lib/mjs/components/button/Button.form.d.ts +1112 -1
- package/lib/mjs/components/checkbox/Checkbox.d.ts +1 -1
- package/lib/mjs/components/checkbox/Checkbox.form.d.ts +1112 -1
- package/lib/mjs/components/columns/Columns.d.ts +2 -0
- package/lib/mjs/components/columns/Columns.form.d.ts +1112 -1
- package/lib/mjs/components/container/Container.form.d.ts +1112 -1
- package/lib/mjs/components/content/Content.form.d.ts +1112 -1
- package/lib/mjs/components/currency/Currency.form.d.ts +1112 -1
- package/lib/mjs/components/datagrid/DataGrid.d.ts +3 -3
- package/lib/mjs/components/datagrid/DataGrid.form.d.ts +1112 -1
- package/lib/mjs/components/datagrid/DataGrid.js +2 -1
- package/lib/mjs/components/datagrid/fixtures/comp-with-allow-calculate-override.js +1 -1
- package/lib/mjs/components/datagrid/fixtures/index.d.ts +2 -1
- package/lib/mjs/components/datagrid/fixtures/index.js +2 -1
- package/lib/mjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.d.ts +53 -0
- package/lib/mjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.js +102 -0
- package/lib/mjs/components/datamap/DataMap.d.ts +2 -1
- package/lib/mjs/components/datamap/DataMap.form.d.ts +1112 -1
- package/lib/mjs/components/datetime/DateTime.form.d.ts +1112 -1
- package/lib/mjs/components/day/Day.form.d.ts +1112 -1
- package/lib/mjs/components/editgrid/EditGrid.form.d.ts +1112 -1
- package/lib/mjs/components/editgrid/EditGrid.js +7 -4
- package/lib/mjs/components/editgrid/fixtures/formsWithEditGridAndConditions.d.ts +910 -0
- package/lib/mjs/components/editgrid/fixtures/formsWithEditGridAndConditions.js +921 -0
- package/lib/mjs/components/email/Email.form.d.ts +1112 -1
- package/lib/mjs/components/fieldset/Fieldset.form.d.ts +1112 -1
- package/lib/mjs/components/file/File.d.ts +2 -7
- package/lib/mjs/components/file/File.form.d.ts +1112 -1
- package/lib/mjs/components/file/editForm/File.edit.file.d.ts +4 -1
- package/lib/mjs/components/form/Form.d.ts +1 -1
- package/lib/mjs/components/form/Form.form.d.ts +1112 -1
- package/lib/mjs/components/hidden/Hidden.form.d.ts +1112 -1
- package/lib/mjs/components/html/HTML.d.ts +1 -0
- package/lib/mjs/components/html/HTML.form.d.ts +1112 -1
- package/lib/mjs/components/html/HTML.js +8 -0
- package/lib/mjs/components/number/Number.form.d.ts +1112 -1
- package/lib/mjs/components/panel/Panel.form.d.ts +1112 -1
- package/lib/mjs/components/password/Password.d.ts +2 -0
- package/lib/mjs/components/password/Password.form.d.ts +1112 -1
- package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +1112 -1
- package/lib/mjs/components/radio/Radio.d.ts +1 -1
- package/lib/mjs/components/radio/Radio.form.d.ts +1112 -1
- package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +1112 -1
- package/lib/mjs/components/recaptcha/ReCaptcha.js +3 -3
- package/lib/mjs/components/select/Select.d.ts +4 -5
- package/lib/mjs/components/select/Select.form.d.ts +1112 -1
- package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +2 -7
- package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +1112 -1
- package/lib/mjs/components/signature/Signature.form.d.ts +1112 -1
- package/lib/mjs/components/survey/Survey.d.ts +1 -0
- package/lib/mjs/components/survey/Survey.form.d.ts +1112 -1
- package/lib/mjs/components/table/Table.d.ts +1 -0
- package/lib/mjs/components/table/Table.form.d.ts +1112 -1
- package/lib/mjs/components/tabs/Tabs.form.d.ts +1112 -1
- package/lib/mjs/components/tags/Tags.form.d.ts +1112 -1
- package/lib/mjs/components/textarea/TextArea.d.ts +1 -1
- package/lib/mjs/components/textarea/TextArea.form.d.ts +1112 -1
- package/lib/mjs/components/textarea/editForm/TextArea.edit.display.d.ts +4 -1
- package/lib/mjs/components/textfield/TextField.form.d.ts +1112 -1
- package/lib/mjs/components/time/Time.form.d.ts +1112 -1
- package/lib/mjs/components/url/Url.form.d.ts +1112 -1
- package/lib/mjs/components/well/Well.form.d.ts +1112 -1
- package/lib/mjs/formio.form.d.ts +3 -3
- package/lib/mjs/formio.form.js +58 -44
- package/lib/mjs/providers/address/AddressProvider.d.ts +3 -3
- package/lib/mjs/providers/storage/s3.js +1 -6
- package/lib/mjs/providers/storage/xhr.d.ts +1 -1
- package/lib/mjs/translations/en.d.ts +2 -0
- package/lib/mjs/translations/en.js +2 -0
- package/lib/mjs/utils/builder.d.ts +1 -1
- package/lib/mjs/utils/conditionOperators/ConditionOperator.d.ts +1 -1
- package/lib/mjs/utils/conditionOperators/EndsWith.d.ts +1 -1
- package/lib/mjs/utils/conditionOperators/GreaterThan.d.ts +1 -1
- package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +1 -1
- package/lib/mjs/utils/conditionOperators/Includes.d.ts +1 -1
- package/lib/mjs/utils/conditionOperators/LessThan.d.ts +1 -1
- package/lib/mjs/utils/conditionOperators/LessThanOrEqual.d.ts +1 -1
- package/lib/mjs/utils/conditionOperators/StartsWith.d.ts +1 -1
- package/lib/mjs/utils/conditionOperators/index.d.ts +2 -2
- package/lib/mjs/utils/utils.d.ts +4 -3
- package/lib/mjs/validator/Validator.d.ts +8 -3
- package/lib/mjs/validator/Validator.js +1 -1
- package/package.json +1 -2
- package/types/builders.d.ts +0 -7
- package/types/components/_classes/component/component.d.ts +0 -174
- package/types/components/_classes/componentmodal/componentmodal.d.ts +0 -31
- package/types/components/_classes/field/field.d.ts +0 -5
- package/types/components/_classes/input/input.d.ts +0 -30
- package/types/components/_classes/multivalue/multivalue.d.ts +0 -16
- package/types/components/_classes/nested/nestedComponent.d.ts +0 -61
- package/types/components/_classes/widgetcomponent/widgetComponent.d.ts +0 -6
- package/types/components/components.d.ts +0 -69
- package/types/components/schema.d.ts +0 -240
- package/types/displays.d.ts +0 -7
- package/types/element.d.ts +0 -45
- package/types/eventEmitter.d.ts +0 -3
- package/types/form.d.ts +0 -18
- package/types/formbuilder.d.ts +0 -6
- package/types/formio.d.ts +0 -121
- package/types/index.d.ts +0 -18
- package/types/licenses.d.ts +0 -7
- package/types/providers.d.ts +0 -8
- package/types/rulesEngine/conjunctions.d.ts +0 -7
- package/types/rulesEngine/operators.d.ts +0 -7
- package/types/rulesEngine/quckRules.d.ts +0 -7
- package/types/rulesEngine/rules.d.ts +0 -7
- package/types/rulesEngine/transformers.d.ts +0 -7
- package/types/rulesEngine/valueSources.d.ts +0 -7
- package/types/templates.d.ts +0 -8
- package/types/utils.d.ts +0 -157
- package/types/widgets.d.ts +0 -4
package/lib/mjs/formio.form.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import Transformers from './validator/transformers';
|
|
|
18
18
|
import ValueSources from './validator/valueSources';
|
|
19
19
|
import Utils from './utils';
|
|
20
20
|
import Form from './Form';
|
|
21
|
-
|
|
21
|
+
declare const extendedFormio: typeof Formio;
|
|
22
22
|
import Licenses from './licenses';
|
|
23
|
-
import
|
|
24
|
-
export { Components, Displays, Providers, Rules, Widgets, Templates, Conjunctions, Operators, QuickRules, Transformers, ValueSources, Utils, Form, Formio, Licenses
|
|
23
|
+
import { Formio } from './Formio';
|
|
24
|
+
export { Components, Displays, Providers, Rules, Widgets, Templates, Conjunctions, Operators, QuickRules, Transformers, ValueSources, Utils, Form, extendedFormio as Formio, Licenses };
|
package/lib/mjs/formio.form.js
CHANGED
|
@@ -16,33 +16,33 @@ import Form from './Form';
|
|
|
16
16
|
import Utils from './utils';
|
|
17
17
|
import Evaluator from './utils/Evaluator';
|
|
18
18
|
import Licenses from './licenses';
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
const extendedFormio = Formio;
|
|
20
|
+
// This is needed to maintain correct imports using the "dist" file.
|
|
21
|
+
extendedFormio.Components = Components;
|
|
22
|
+
extendedFormio.Templates = Templates;
|
|
23
|
+
extendedFormio.Utils = Utils;
|
|
24
|
+
extendedFormio.Form = Form;
|
|
25
|
+
extendedFormio.Displays = Displays;
|
|
26
|
+
extendedFormio.Providers = Providers;
|
|
27
|
+
extendedFormio.Rules = Rules;
|
|
28
|
+
extendedFormio.Widgets = Widgets;
|
|
29
|
+
extendedFormio.Evaluator = Evaluator;
|
|
30
|
+
extendedFormio.Conjunctions = Conjunctions;
|
|
31
|
+
extendedFormio.Operators = Operators;
|
|
32
|
+
extendedFormio.QuickRules = QuickRules;
|
|
33
|
+
extendedFormio.Transformers = Transformers;
|
|
34
|
+
extendedFormio.ValueSources = ValueSources;
|
|
35
|
+
extendedFormio.AllComponents = AllComponents;
|
|
36
|
+
extendedFormio.Licenses = Licenses;
|
|
37
|
+
// This is strange, but is needed for "premium" components to import correctly.
|
|
38
|
+
extendedFormio.Formio = Formio;
|
|
39
|
+
extendedFormio.Components.setComponents(AllComponents);
|
|
40
|
+
extendedFormio.loadModules = (path = `${Formio.getApiUrl()}/externalModules.js`, name = 'externalModules') => {
|
|
41
|
+
extendedFormio.requireLibrary(name, name, path, true)
|
|
22
42
|
.then((modules) => {
|
|
23
|
-
|
|
43
|
+
extendedFormio.use(modules);
|
|
24
44
|
});
|
|
25
45
|
};
|
|
26
|
-
// This is needed to maintain correct imports using the "dist" file.
|
|
27
|
-
Formio.Components = Components;
|
|
28
|
-
Formio.Templates = Templates;
|
|
29
|
-
Formio.Utils = Utils;
|
|
30
|
-
Formio.Form = Form;
|
|
31
|
-
Formio.Displays = Displays;
|
|
32
|
-
Formio.Providers = Providers;
|
|
33
|
-
Formio.Rules = Rules;
|
|
34
|
-
Formio.Widgets = Widgets;
|
|
35
|
-
Formio.Evaluator = Evaluator;
|
|
36
|
-
Formio.Conjunctions = Conjunctions;
|
|
37
|
-
Formio.Operators = Operators;
|
|
38
|
-
Formio.QuickRules = QuickRules;
|
|
39
|
-
Formio.Transformers = Transformers;
|
|
40
|
-
Formio.ValueSources = ValueSources;
|
|
41
|
-
Formio.AllComponents = AllComponents;
|
|
42
|
-
Formio.Licenses = Licenses;
|
|
43
|
-
// This is strange, but is needed for "premium" components to import correctly.
|
|
44
|
-
Formio.Formio = Formio;
|
|
45
|
-
Formio.Components.setComponents(AllComponents);
|
|
46
46
|
/**
|
|
47
47
|
* Register a module
|
|
48
48
|
* @param {*} plugin
|
|
@@ -54,63 +54,63 @@ export function registerModule(mod, defaultFn = null, options = {}) {
|
|
|
54
54
|
return;
|
|
55
55
|
}
|
|
56
56
|
for (const key of Object.keys(mod)) {
|
|
57
|
-
const current = mod.framework ||
|
|
57
|
+
const current = mod.framework || extendedFormio.Templates.framework || 'bootstrap';
|
|
58
58
|
switch (key) {
|
|
59
59
|
case 'options':
|
|
60
|
-
|
|
60
|
+
extendedFormio.options = _.merge(extendedFormio.options, mod.options);
|
|
61
61
|
break;
|
|
62
62
|
case 'templates':
|
|
63
63
|
for (const framework of Object.keys(mod.templates)) {
|
|
64
|
-
|
|
64
|
+
extendedFormio.Templates.extendTemplate(framework, mod.templates[framework]);
|
|
65
65
|
}
|
|
66
66
|
if (mod.templates[current]) {
|
|
67
|
-
|
|
67
|
+
extendedFormio.Templates.current = mod.templates[current];
|
|
68
68
|
}
|
|
69
69
|
break;
|
|
70
70
|
case 'components':
|
|
71
|
-
|
|
71
|
+
extendedFormio.Components.setComponents(mod.components);
|
|
72
72
|
break;
|
|
73
73
|
case 'framework':
|
|
74
|
-
|
|
74
|
+
extendedFormio.Templates.framework = mod.framework;
|
|
75
75
|
break;
|
|
76
76
|
case 'fetch':
|
|
77
77
|
for (const name of Object.keys(mod.fetch)) {
|
|
78
|
-
|
|
78
|
+
extendedFormio.registerPlugin(mod.fetch[name], name);
|
|
79
79
|
}
|
|
80
80
|
break;
|
|
81
81
|
case 'providers':
|
|
82
82
|
for (const type of Object.keys(mod.providers)) {
|
|
83
|
-
|
|
83
|
+
extendedFormio.Providers.addProviders(type, mod.providers[type]);
|
|
84
84
|
}
|
|
85
85
|
break;
|
|
86
86
|
case 'displays':
|
|
87
|
-
|
|
87
|
+
extendedFormio.Displays.addDisplays(mod.displays);
|
|
88
88
|
break;
|
|
89
89
|
case 'rules':
|
|
90
|
-
|
|
90
|
+
extendedFormio.Rules.addRules(mod.rules);
|
|
91
91
|
break;
|
|
92
92
|
case 'evaluator':
|
|
93
|
-
|
|
93
|
+
extendedFormio.Evaluator.registerEvaluator(mod.evaluator);
|
|
94
94
|
break;
|
|
95
95
|
case 'conjunctions':
|
|
96
|
-
|
|
96
|
+
extendedFormio.Conjunctions.addConjunctions(mod.conjunctions);
|
|
97
97
|
break;
|
|
98
98
|
case 'operators':
|
|
99
|
-
|
|
99
|
+
extendedFormio.Operators.addOperators(mod.operators);
|
|
100
100
|
break;
|
|
101
101
|
case 'quickRules':
|
|
102
|
-
|
|
102
|
+
extendedFormio.QuickRules.addQuickRules(mod.quickRules);
|
|
103
103
|
break;
|
|
104
104
|
case 'transformers':
|
|
105
|
-
|
|
105
|
+
extendedFormio.Transformers.addTransformers(mod.transformers);
|
|
106
106
|
break;
|
|
107
107
|
case 'valueSources':
|
|
108
|
-
|
|
108
|
+
extendedFormio.ValueSources.addValueSources(mod.valueSources);
|
|
109
109
|
break;
|
|
110
110
|
case 'library':
|
|
111
111
|
options.license
|
|
112
|
-
?
|
|
113
|
-
:
|
|
112
|
+
? extendedFormio.Licenses.addLicense(mod.library, options.license)
|
|
113
|
+
: extendedFormio.Licenses.removeLicense(mod.library);
|
|
114
114
|
break;
|
|
115
115
|
default:
|
|
116
116
|
if (defaultFn) {
|
|
@@ -142,6 +142,20 @@ export function useModule(defaultFn = null) {
|
|
|
142
142
|
* Formio.plugins(plugin1, options);
|
|
143
143
|
* Formio.plugins([plugin1, plugin2, etc], options);
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
extendedFormio.use = useModule();
|
|
146
|
+
// Allow simple embedding.
|
|
147
|
+
extendedFormio.embedForm = (embed) => Form.embed(embed);
|
|
148
|
+
/**
|
|
149
|
+
* Factory that creates a new form based on the form parameters.
|
|
150
|
+
*
|
|
151
|
+
* @param element {HMTLElement} - The HTML Element to add this form to.
|
|
152
|
+
* @param form {string|Object} - The src of the form, or a form object.
|
|
153
|
+
* @param options {Object} - The options to create this form.
|
|
154
|
+
*
|
|
155
|
+
* @return {Promise} - When the form is instance is ready.
|
|
156
|
+
*/
|
|
157
|
+
extendedFormio.createForm = (...args) => {
|
|
158
|
+
return (new Form(...args)).ready;
|
|
159
|
+
};
|
|
146
160
|
// Export the components.
|
|
147
|
-
export { Components, Displays, Providers, Rules, Widgets, Templates, Conjunctions, Operators, QuickRules, Transformers, ValueSources, Utils, Form, Formio, Licenses
|
|
161
|
+
export { Components, Displays, Providers, Rules, Widgets, Templates, Conjunctions, Operators, QuickRules, Transformers, ValueSources, Utils, Form, extendedFormio as Formio, Licenses };
|
|
@@ -2,14 +2,14 @@ export class AddressProvider {
|
|
|
2
2
|
static get name(): string;
|
|
3
3
|
static get displayName(): string;
|
|
4
4
|
constructor(options?: {});
|
|
5
|
-
options:
|
|
5
|
+
options: {};
|
|
6
6
|
beforeMergeOptions(): void;
|
|
7
7
|
get defaultOptions(): {};
|
|
8
8
|
get queryProperty(): string;
|
|
9
9
|
get responseProperty(): null;
|
|
10
10
|
get displayValueProperty(): null;
|
|
11
|
-
serialize(params: any):
|
|
12
|
-
getRequestOptions(options?: {}):
|
|
11
|
+
serialize(params: any): string;
|
|
12
|
+
getRequestOptions(options?: {}): {};
|
|
13
13
|
getRequestUrl(options?: {}): void;
|
|
14
14
|
makeRequest(options?: {}): any;
|
|
15
15
|
search(query: any, options?: {}): any;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import XHR from './xhr';
|
|
2
2
|
import { withRetries } from './util';
|
|
3
|
-
const
|
|
4
|
-
if (typeof AbortController === 'undefined') {
|
|
5
|
-
await import('abortcontroller-polyfill/dist/polyfill-patch-fetch');
|
|
6
|
-
}
|
|
7
|
-
};
|
|
3
|
+
const AbortController = window.AbortController || require('abortcontroller-polyfill/dist/cjs-ponyfill');
|
|
8
4
|
function s3(formio) {
|
|
9
5
|
return {
|
|
10
6
|
async uploadFile(file, fileName, dir, progressCallback, url, options, fileKey, groupPermissions, groupId, abortCallback, multipartOptions) {
|
|
@@ -14,7 +10,6 @@ function s3(formio) {
|
|
|
14
10
|
if (response.signed) {
|
|
15
11
|
if (multipartOptions && Array.isArray(response.signed)) {
|
|
16
12
|
// patch abort callback
|
|
17
|
-
await loadAbortControllerPolyfill();
|
|
18
13
|
const abortController = new AbortController();
|
|
19
14
|
const abortSignal = abortController.signal;
|
|
20
15
|
if (typeof abortCallback === 'function') {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export function setXhrHeaders(formio: any, xhr: any): void;
|
|
2
2
|
export default XHR;
|
|
3
3
|
declare namespace XHR {
|
|
4
|
-
function trim(text: any):
|
|
4
|
+
function trim(text: any): string;
|
|
5
5
|
function path(items: any): any;
|
|
6
6
|
function upload(formio: any, type: any, xhrCallback: any, file: any, fileName: any, dir: any, progressCallback: any, groupPermissions: any, groupId: any, abortCallback: any, multipartOptions: any): Promise<any>;
|
|
7
7
|
function makeXhrRequest(formio: any, xhrCallback: any, serverResponse: any, progressCallback: any, abortCallback: any): Promise<any>;
|
|
@@ -62,5 +62,7 @@ declare namespace _default {
|
|
|
62
62
|
const previousButtonAriaLabel: string;
|
|
63
63
|
const nextButtonAriaLabel: string;
|
|
64
64
|
const submitButtonAriaLabel: string;
|
|
65
|
+
const reCaptchaTokenValidationError: string;
|
|
66
|
+
const reCaptchaTokenNotSpecifiedError: string;
|
|
65
67
|
}
|
|
66
68
|
export default _default;
|
|
@@ -62,4 +62,6 @@ export default {
|
|
|
62
62
|
previousButtonAriaLabel: 'Previous button. Click to go back to the previous tab',
|
|
63
63
|
nextButtonAriaLabel: 'Next button. Click to go to the next tab',
|
|
64
64
|
submitButtonAriaLabel: 'Submit Form button. Click to submit the form',
|
|
65
|
+
reCaptchaTokenValidationError: 'ReCAPTCHA: Token validation error',
|
|
66
|
+
reCaptchaTokenNotSpecifiedError: 'ReCAPTCHA: Token is not specified in submission',
|
|
65
67
|
};
|
|
@@ -11,7 +11,7 @@ declare namespace _default {
|
|
|
11
11
|
namespace additionalShortcuts {
|
|
12
12
|
const button: string[];
|
|
13
13
|
}
|
|
14
|
-
function getAlphaShortcuts():
|
|
14
|
+
function getAlphaShortcuts(): string[];
|
|
15
15
|
function getAdditionalShortcuts(type: any): any;
|
|
16
16
|
function getBindedShortcuts(components: any, input: any): any[];
|
|
17
17
|
function getAvailableShortcuts(form: any, component: any): {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default ConditionOperators;
|
|
2
2
|
declare const ConditionOperators: {
|
|
3
|
-
[x: string]: typeof
|
|
3
|
+
[x: string]: typeof IsEmptyValue | typeof DateGreaterThan;
|
|
4
4
|
};
|
|
5
|
-
import
|
|
5
|
+
import IsEmptyValue from './IsEmptyValue';
|
|
6
6
|
import DateGreaterThan from './DateGreaterThan';
|
package/lib/mjs/utils/utils.d.ts
CHANGED
|
@@ -130,7 +130,7 @@ export function guid(): string;
|
|
|
130
130
|
* @return {(null|Date)}
|
|
131
131
|
*/
|
|
132
132
|
export function getDateSetting(date: any): (null | Date);
|
|
133
|
-
export function isValidDate(date: any):
|
|
133
|
+
export function isValidDate(date: any): boolean;
|
|
134
134
|
/**
|
|
135
135
|
* Get the current timezone string.
|
|
136
136
|
*
|
|
@@ -305,7 +305,7 @@ export function sanitize(string: any, options: any): any;
|
|
|
305
305
|
*/
|
|
306
306
|
export function fastCloneDeep(obj: any): any;
|
|
307
307
|
export function isInputComponent(componentJson: any): any;
|
|
308
|
-
export function getArrayFromComponentPath(pathStr: any): any;
|
|
308
|
+
export function getArrayFromComponentPath(pathStr: any): any[];
|
|
309
309
|
export function hasInvalidComponent(component: any): any;
|
|
310
310
|
export function getStringFromComponentPath(path: any): any;
|
|
311
311
|
export function round(number: any, precision: any): any;
|
|
@@ -359,7 +359,7 @@ export * from "./formUtils";
|
|
|
359
359
|
*
|
|
360
360
|
* @return {T}
|
|
361
361
|
*/
|
|
362
|
-
export const firstNonNil: any;
|
|
362
|
+
export const firstNonNil: (...args: any[]) => any;
|
|
363
363
|
export namespace componentValueTypes {
|
|
364
364
|
const number: string;
|
|
365
365
|
const string: string;
|
|
@@ -373,4 +373,5 @@ import jsonLogic from 'json-logic-js';
|
|
|
373
373
|
import ConditionOperators from './conditionOperators';
|
|
374
374
|
import Evaluator from './Evaluator';
|
|
375
375
|
export const interpolate: (rawTemplate: any, data: any, _options: any) => any;
|
|
376
|
+
import _ from 'lodash';
|
|
376
377
|
export { jsonLogic, ConditionOperators, Evaluator, _ };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
declare const instance: ValidationChecker;
|
|
2
2
|
export class ValidationChecker {
|
|
3
3
|
constructor(config?: {});
|
|
4
|
-
config:
|
|
4
|
+
config: {
|
|
5
|
+
db: null;
|
|
6
|
+
token: null;
|
|
7
|
+
form: null;
|
|
8
|
+
submission: null;
|
|
9
|
+
};
|
|
5
10
|
validators: {
|
|
6
11
|
required: {
|
|
7
12
|
key: string;
|
|
@@ -173,7 +178,7 @@ export class ValidationChecker {
|
|
|
173
178
|
validate(component: any, validatorName: any, value: any, data: any, index: any, row: any, async: any, conditionallyVisible: any, validationObj: any): false | {
|
|
174
179
|
message: string;
|
|
175
180
|
level: string;
|
|
176
|
-
path: any;
|
|
181
|
+
path: any[];
|
|
177
182
|
context: {
|
|
178
183
|
validator: any;
|
|
179
184
|
hasLabel: any;
|
|
@@ -187,7 +192,7 @@ export class ValidationChecker {
|
|
|
187
192
|
} | Promise<false | {
|
|
188
193
|
message: string;
|
|
189
194
|
level: string;
|
|
190
|
-
path: any;
|
|
195
|
+
path: any[];
|
|
191
196
|
context: {
|
|
192
197
|
validator: any;
|
|
193
198
|
hasLabel: any;
|
|
@@ -853,7 +853,7 @@ class ValidationChecker {
|
|
|
853
853
|
}
|
|
854
854
|
validate(component, validatorName, value, data, index, row, async, conditionallyVisible, validationObj) {
|
|
855
855
|
// Skip validation for conditionally hidden components
|
|
856
|
-
if (!conditionallyVisible) {
|
|
856
|
+
if (!conditionallyVisible && !_.get(component.component, 'validateWhenHidden', false)) {
|
|
857
857
|
return false;
|
|
858
858
|
}
|
|
859
859
|
const validator = this.validators[validatorName];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formio/js",
|
|
3
|
-
"version": "5.0.0-bb.dev.
|
|
3
|
+
"version": "5.0.0-bb.dev.4",
|
|
4
4
|
"description": "JavaScript powered Forms with JSON Form Builder",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"require": "./lib/cjs/formio.embed.js"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
-
"types": "index.d.ts",
|
|
30
29
|
"files": [
|
|
31
30
|
"dist",
|
|
32
31
|
"lib",
|
package/types/builders.d.ts
DELETED
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
import { Element } from '../../../element';
|
|
2
|
-
import { ComponentSchema, ElementInfo, ExtendedComponentSchema, ValidateOptions } from './../../schema.d';
|
|
3
|
-
|
|
4
|
-
export class Component extends Element {
|
|
5
|
-
static schema(sources: ExtendedComponentSchema): ExtendedComponentSchema;
|
|
6
|
-
static tableView(value: any, options: any): void;
|
|
7
|
-
constructor(component: any, options: Object, data: Object);
|
|
8
|
-
public originalComponent: any | Component;
|
|
9
|
-
public refs: Object;
|
|
10
|
-
public attached: boolean;
|
|
11
|
-
public rendered: boolean;
|
|
12
|
-
public data: Object;
|
|
13
|
-
public component: any;
|
|
14
|
-
public error: string;
|
|
15
|
-
public tooltip: string;
|
|
16
|
-
public row: any;
|
|
17
|
-
public pristine: boolean;
|
|
18
|
-
public parent: any;
|
|
19
|
-
public root: any;
|
|
20
|
-
public lastChanged: any;
|
|
21
|
-
public triggerRedraw: Function;
|
|
22
|
-
public tooltips: any[];
|
|
23
|
-
public invalid: boolean;
|
|
24
|
-
public isBuilt: boolean;
|
|
25
|
-
readonly ready: any;
|
|
26
|
-
readonly labelInfo: any;
|
|
27
|
-
init(): void;
|
|
28
|
-
destroy(): void;
|
|
29
|
-
readonly shouldDisabled: any | boolean;
|
|
30
|
-
readonly isInputComponent: boolean;
|
|
31
|
-
readonly defaultSchema: ComponentSchema;
|
|
32
|
-
readonly hasInput: boolean;
|
|
33
|
-
readonly key: any;
|
|
34
|
-
public parentVisible: any | boolean;
|
|
35
|
-
public parentDisabled: any | boolean;
|
|
36
|
-
public visible: any | boolean;
|
|
37
|
-
public currentForm: any;
|
|
38
|
-
readonly fullMode: boolean;
|
|
39
|
-
readonly builderMode: boolean;
|
|
40
|
-
getModifiedSchema(
|
|
41
|
-
schema: ExtendedComponentSchema,
|
|
42
|
-
defaultSchema: ComponentSchema,
|
|
43
|
-
recursion: boolean,
|
|
44
|
-
): ExtendedComponentSchema;
|
|
45
|
-
readonly schema: ExtendedComponentSchema;
|
|
46
|
-
t(text: string, params?: Object): any;
|
|
47
|
-
labelIsHidden(): boolean;
|
|
48
|
-
readonly transform: any;
|
|
49
|
-
getTemplate(names: any, modes: any): any;
|
|
50
|
-
checkTemplate(templates: any, names: any, modes: any): any;
|
|
51
|
-
checkTemplateMode(templatesByName: any, modes: any): any;
|
|
52
|
-
renderTemplate(name: any, data: any, modeOption?: any[]): any;
|
|
53
|
-
sanitize(dirty: string): any;
|
|
54
|
-
renderString(template: any, data: any): HTMLElement;
|
|
55
|
-
performInputMapping(input: any): any;
|
|
56
|
-
getBrowserLanguage(): string | null;
|
|
57
|
-
beforeNext(): any;
|
|
58
|
-
beforePage(): any;
|
|
59
|
-
beforeSubmit(): any;
|
|
60
|
-
readonly submissionTimezone: string | any;
|
|
61
|
-
readonly canDisable: boolean;
|
|
62
|
-
loadRefs(element: any, refs: any): any;
|
|
63
|
-
build(element: any): any;
|
|
64
|
-
render(children: any, topLevel?: boolean): any;
|
|
65
|
-
attach(element: any): any;
|
|
66
|
-
addShortcut(element: any, shortcut: any): void;
|
|
67
|
-
removeShortcut(element: any, shortcut: any): void;
|
|
68
|
-
detach(): void;
|
|
69
|
-
attachRefreshEvent(refreshData: any): void;
|
|
70
|
-
attachRefreshOn(): void;
|
|
71
|
-
refresh(value: any): void;
|
|
72
|
-
inContext(component: any): boolean;
|
|
73
|
-
readonly viewOnly: boolean | any;
|
|
74
|
-
createViewOnlyElement(): HTMLElement;
|
|
75
|
-
readonly defaultViewOnlyValue: '-';
|
|
76
|
-
getValueAsString(value: any): string;
|
|
77
|
-
getView(value: any): string;
|
|
78
|
-
updateItems(...args: any[]): void;
|
|
79
|
-
createModal(): HTMLElement;
|
|
80
|
-
readonly className: string;
|
|
81
|
-
readonly customStyle: string;
|
|
82
|
-
getElement(): HTMLElement;
|
|
83
|
-
evalContext(additional: any): any;
|
|
84
|
-
setPristine(pristine: boolean): void;
|
|
85
|
-
removeValue(index: number): void;
|
|
86
|
-
iconClass(name: any, spinning: any): any;
|
|
87
|
-
readonly name: string;
|
|
88
|
-
readonly errorLabel: string;
|
|
89
|
-
errorMessage(type: any): any;
|
|
90
|
-
setContent(element: any, content: any): boolean;
|
|
91
|
-
redraw(): any;
|
|
92
|
-
rebuild(): any;
|
|
93
|
-
removeEventListeners(): void;
|
|
94
|
-
hasClass(element: any, className: string): any;
|
|
95
|
-
addClass(element: any, className: string): any;
|
|
96
|
-
removeClass(element: any, className: string): any;
|
|
97
|
-
hasCondition(): boolean;
|
|
98
|
-
conditionallyVisible(data: any): boolean;
|
|
99
|
-
checkCondition(row: any, data: Object): boolean;
|
|
100
|
-
checkConditions(data: any): any;
|
|
101
|
-
readonly logic: any[];
|
|
102
|
-
fieldLogic(data: any): any;
|
|
103
|
-
applyActions(actions: any[], result: any, data: any, newComponent: any): boolean;
|
|
104
|
-
addInputError(message: any, dirty: boolean): void;
|
|
105
|
-
clearOnHide(show: boolean): void;
|
|
106
|
-
onChange(flags: Object, fromRoot: boolean): void;
|
|
107
|
-
readonly wysiwygDefault: {
|
|
108
|
-
theme: string;
|
|
109
|
-
placeholder: any | string;
|
|
110
|
-
modules: {
|
|
111
|
-
clipboard: {
|
|
112
|
-
matchVisual: boolean;
|
|
113
|
-
};
|
|
114
|
-
toolbar: any[];
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
addCKE(element: HTMLElement | any, settings: Object, onChange: (input: any) => any): any;
|
|
118
|
-
addQuill(element: HTMLElement | any, settings: Object, onChange: (input: any) => any): any;
|
|
119
|
-
addAce(element: HTMLElement | any, settings: Object, onChange: (input: any) => any): any;
|
|
120
|
-
readonly emptyValue: null;
|
|
121
|
-
hasValue(data: Object): boolean;
|
|
122
|
-
readonly rootValue: any;
|
|
123
|
-
readonly rootPristine: any;
|
|
124
|
-
public dataValue: any;
|
|
125
|
-
splice(index: number | string): void;
|
|
126
|
-
deleteValue(): void;
|
|
127
|
-
readonly defaultValue: any;
|
|
128
|
-
getValue(): any;
|
|
129
|
-
getValueAt(index: number): any;
|
|
130
|
-
setValue(value: any, flags: any): boolean;
|
|
131
|
-
setValueAt(index: number, value: any, flags: any): void;
|
|
132
|
-
readonly hasSetValue: boolean;
|
|
133
|
-
restoreValue(): void;
|
|
134
|
-
normalizeValue(value: any): any;
|
|
135
|
-
getIcon(name: any | string, content: any, styles: any, ref?: string): any | HTMLElement;
|
|
136
|
-
resetValue(): void;
|
|
137
|
-
hasChanged(before: any, after: any): boolean;
|
|
138
|
-
updateOnChange(flags: any, changed: boolean | any): boolean;
|
|
139
|
-
calculateValue(data: Object, flags: any): boolean;
|
|
140
|
-
public label: any | string;
|
|
141
|
-
getRoot(): Component;
|
|
142
|
-
invalidMessage(data: any, dirty: boolean, ignoreCondition?: boolean): any;
|
|
143
|
-
isValid(data: any, dirty: boolean): boolean;
|
|
144
|
-
checkValidity(data: any, dirty: any | boolean, rowData: any): boolean;
|
|
145
|
-
readonly validationValue: any;
|
|
146
|
-
isEmpty(value: any): boolean;
|
|
147
|
-
validateMultiple(): boolean;
|
|
148
|
-
readonly errors: any[];
|
|
149
|
-
setCustomValidity(message: any, dirty: any): void;
|
|
150
|
-
shouldSkipValidation(data: any, dirty: any, rowData: any): boolean;
|
|
151
|
-
whenReady(): any | Promise<any>;
|
|
152
|
-
readonly dataReady: any | Promise<any>;
|
|
153
|
-
asString(value: any): string;
|
|
154
|
-
public disabled: boolean;
|
|
155
|
-
setDisabled(element: any, disabled: any | boolean): void;
|
|
156
|
-
setLoading(element: any, loading: any | boolean): void;
|
|
157
|
-
selectOptions(select: any, tag: any, options: any, defaultValue: any): void;
|
|
158
|
-
setSelectValue(select: any, value: any): void;
|
|
159
|
-
clear(): any;
|
|
160
|
-
append(element: HTMLElement): void;
|
|
161
|
-
prepend(element: HTMLElement): void;
|
|
162
|
-
removeChild(element: HTMLElement): void;
|
|
163
|
-
attachLogic(): void;
|
|
164
|
-
elementInfo(): ElementInfo;
|
|
165
|
-
autofocus(): void;
|
|
166
|
-
focus(): void;
|
|
167
|
-
readonly shouldDisable: boolean;
|
|
168
|
-
readonly info: ElementInfo;
|
|
169
|
-
public element: any;
|
|
170
|
-
public validators: (keyof ValidateOptions)[];
|
|
171
|
-
public calculatedValue: any;
|
|
172
|
-
public options: any;
|
|
173
|
-
public labelElement: any;
|
|
174
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Component } from '../component/component';
|
|
2
|
-
|
|
3
|
-
export class ComponentModal {
|
|
4
|
-
constructor(component: Component | any, element: any, isOpened: boolean, currentValue: any);
|
|
5
|
-
public isOpened: boolean;
|
|
6
|
-
public component: Component | any;
|
|
7
|
-
public element: any;
|
|
8
|
-
public currentValue: any;
|
|
9
|
-
public dataLoaded: boolean;
|
|
10
|
-
static render(component: Component | any, data: any, topLevel: boolean): any;
|
|
11
|
-
readonly refs: any;
|
|
12
|
-
init(): void;
|
|
13
|
-
setValue(value: any): any;
|
|
14
|
-
setOpenModalElement(template: string): void;
|
|
15
|
-
readonly templateRefs: any;
|
|
16
|
-
loadRefs(): void;
|
|
17
|
-
removeEventListeners(): void;
|
|
18
|
-
setEventListeners(): void;
|
|
19
|
-
isValueChanged(): boolean;
|
|
20
|
-
setOpenEventListener(): void;
|
|
21
|
-
openModalHandler(event: Event): void;
|
|
22
|
-
positionOverElement(): void;
|
|
23
|
-
openModal(): void;
|
|
24
|
-
updateView(): void;
|
|
25
|
-
closeModal(): void;
|
|
26
|
-
closeModalHandler(event: Event): void;
|
|
27
|
-
showDialog(): void;
|
|
28
|
-
closeDialog(event: Event): void;
|
|
29
|
-
saveDialog(event: Event): void;
|
|
30
|
-
saveModalValueHandler(event: Event): void;
|
|
31
|
-
}
|