@formio/js 5.0.0-rc.19 → 5.0.0-rc.20
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/formio.builder.css +14 -22
- package/dist/formio.builder.min.css +1 -1
- package/dist/formio.embed.css +1 -2
- package/dist/formio.embed.js +2 -2
- package/dist/formio.embed.min.css +1 -1
- package/dist/formio.embed.min.js +1 -1
- package/dist/formio.embed.min.js.LICENSE.txt +1 -1
- package/dist/formio.form.css +10 -2
- package/dist/formio.form.js +1239 -1097
- package/dist/formio.form.min.css +1 -1
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +3 -8
- package/dist/formio.full.css +14 -22
- package/dist/formio.full.js +1271 -1118
- package/dist/formio.full.min.css +1 -1
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +3 -8
- package/dist/formio.js +713 -626
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +2 -7
- package/dist/formio.utils.js +220 -13
- package/dist/formio.utils.min.js +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +2 -7
- package/lib/cjs/CDN.js +1 -1
- package/lib/cjs/Element.js +7 -2
- package/lib/cjs/Embed.js +1 -1
- package/lib/cjs/Form.d.ts +8 -5
- package/lib/cjs/Form.js +52 -10
- package/lib/cjs/PDF.d.ts +11 -3
- package/lib/cjs/PDF.js +4 -5
- package/lib/cjs/PDFBuilder.js +2 -3
- package/lib/cjs/Webform.d.ts +4 -7
- package/lib/cjs/Webform.js +40 -119
- package/lib/cjs/WebformBuilder.d.ts +6 -1
- package/lib/cjs/WebformBuilder.js +104 -64
- package/lib/cjs/Wizard.d.ts +8 -5
- package/lib/cjs/Wizard.js +12 -12
- package/lib/cjs/WizardBuilder.d.ts +6 -4
- package/lib/cjs/WizardBuilder.js +20 -3
- package/lib/cjs/addons/FormioAddon.d.ts +1 -1
- package/lib/cjs/addons/FormioAddon.js +1 -2
- package/lib/cjs/components/_classes/component/Component.d.ts +14 -8
- package/lib/cjs/components/_classes/component/Component.js +24 -14
- package/lib/cjs/components/_classes/input/Input.d.ts +1 -1
- package/lib/cjs/components/_classes/input/Input.js +1 -2
- package/lib/cjs/components/_classes/list/ListComponent.d.ts +4 -0
- package/lib/cjs/components/_classes/list/ListComponent.js +43 -6
- package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +1 -0
- package/lib/cjs/components/_classes/multivalue/Multivalue.js +10 -4
- package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +5 -2
- package/lib/cjs/components/_classes/nested/NestedComponent.js +9 -10
- package/lib/cjs/components/address/Address.d.ts +8 -0
- package/lib/cjs/components/button/Button.js +2 -3
- package/lib/cjs/components/checkbox/Checkbox.d.ts +13 -0
- package/lib/cjs/components/checkbox/Checkbox.js +17 -5
- package/lib/cjs/components/columns/Columns.d.ts +1 -0
- package/lib/cjs/components/columns/Columns.js +1 -0
- package/lib/cjs/components/container/Container.d.ts +1 -0
- package/lib/cjs/components/container/Container.js +1 -0
- package/lib/cjs/components/content/Content.d.ts +1 -0
- package/lib/cjs/components/content/Content.js +1 -2
- package/lib/cjs/components/currency/editForm/Currency.edit.data.d.ts +14 -2
- package/lib/cjs/components/currency/editForm/Currency.edit.data.js +4 -0
- package/lib/cjs/components/currency/editForm/Currency.edit.display.js +4 -0
- package/lib/cjs/components/datagrid/DataGrid.d.ts +1 -0
- package/lib/cjs/components/datagrid/DataGrid.js +8 -1
- package/lib/cjs/components/datamap/DataMap.js +1 -0
- package/lib/cjs/components/datetime/DateTime.d.ts +4 -0
- package/lib/cjs/components/datetime/DateTime.js +21 -1
- package/lib/cjs/components/day/Day.d.ts +1 -1
- package/lib/cjs/components/day/Day.js +22 -6
- package/lib/cjs/components/day/fixtures/comp3.js +2 -2
- package/lib/cjs/components/editgrid/EditGrid.d.ts +4 -3
- package/lib/cjs/components/editgrid/EditGrid.js +11 -6
- package/lib/cjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +190 -0
- package/lib/cjs/components/editgrid/fixtures/comp-with-custom-default-value.js +227 -0
- package/lib/cjs/components/editgrid/fixtures/comp15.d.ts +54 -0
- package/lib/cjs/components/editgrid/fixtures/comp15.js +51 -0
- package/lib/cjs/components/editgrid/fixtures/index.d.ts +3 -1
- package/lib/cjs/components/editgrid/fixtures/index.js +5 -1
- package/lib/cjs/components/fieldset/Fieldset.d.ts +1 -0
- package/lib/cjs/components/fieldset/Fieldset.js +1 -0
- package/lib/cjs/components/file/File.d.ts +7 -5
- package/lib/cjs/components/file/File.js +26 -9
- package/lib/cjs/components/file/editForm/File.edit.file.d.ts +62 -0
- package/lib/cjs/components/file/editForm/File.edit.file.js +29 -2
- package/lib/cjs/components/form/Form.d.ts +3 -0
- package/lib/cjs/components/form/Form.js +9 -10
- package/lib/cjs/components/hidden/Hidden.d.ts +1 -0
- package/lib/cjs/components/hidden/Hidden.js +1 -0
- package/lib/cjs/components/html/HTML.d.ts +1 -0
- package/lib/cjs/components/html/HTML.js +1 -0
- package/lib/cjs/components/number/Number.d.ts +5 -1
- package/lib/cjs/components/number/Number.js +24 -7
- package/lib/cjs/components/phonenumber/PhoneNumber.form.js +9 -0
- package/lib/cjs/components/radio/Radio.d.ts +5 -3
- package/lib/cjs/components/radio/Radio.js +59 -18
- package/lib/cjs/components/recaptcha/ReCaptcha.d.ts +1 -1
- package/lib/cjs/components/recaptcha/ReCaptcha.js +4 -5
- package/lib/cjs/components/resource/Resource.d.ts +7 -0
- package/lib/cjs/components/resource/Resource.js +0 -1
- package/lib/cjs/components/resource/editForm/Resource.edit.display.js +1 -1
- package/lib/cjs/components/select/Select.d.ts +7 -5
- package/lib/cjs/components/select/Select.js +15 -49
- package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +12 -0
- package/lib/cjs/components/selectboxes/SelectBoxes.js +53 -25
- package/lib/cjs/components/selectboxes/fixtures/comp4.d.ts +30 -27
- package/lib/cjs/components/selectboxes/fixtures/comp4.js +47 -32
- package/lib/cjs/components/selectboxes/fixtures/comp6.d.ts +14 -0
- package/lib/cjs/components/selectboxes/fixtures/comp6.js +15 -0
- package/lib/cjs/components/selectboxes/fixtures/index.d.ts +2 -1
- package/lib/cjs/components/selectboxes/fixtures/index.js +3 -1
- package/lib/cjs/components/signature/Signature.d.ts +1 -1
- package/lib/cjs/components/signature/Signature.js +8 -3
- package/lib/cjs/components/survey/Survey.js +3 -0
- package/lib/cjs/components/table/Table.d.ts +1 -0
- package/lib/cjs/components/table/Table.js +1 -0
- package/lib/cjs/components/tabs/Tabs.d.ts +1 -0
- package/lib/cjs/components/tabs/Tabs.js +1 -0
- package/lib/cjs/components/tags/Tags.js +3 -0
- package/lib/cjs/components/textarea/TextArea.d.ts +3 -2
- package/lib/cjs/components/textarea/TextArea.js +4 -5
- package/lib/cjs/components/textarea/fixtures/comp4.d.ts +30 -0
- package/lib/cjs/components/textarea/fixtures/comp4.js +27 -0
- package/lib/cjs/components/textarea/fixtures/index.d.ts +2 -1
- package/lib/cjs/components/textarea/fixtures/index.js +3 -1
- package/lib/cjs/components/textfield/TextField.d.ts +1 -0
- package/lib/cjs/components/textfield/TextField.js +5 -3
- package/lib/cjs/components/time/Time.d.ts +4 -0
- package/lib/cjs/components/time/Time.js +6 -1
- package/lib/cjs/components/tree/Tree.d.ts +5 -4
- package/lib/cjs/components/tree/Tree.form.js +5 -0
- package/lib/cjs/components/tree/Tree.js +8 -9
- package/lib/cjs/components/tree/editForm/Tree.edit.display.d.ts +9 -0
- package/lib/cjs/components/tree/editForm/Tree.edit.display.js +12 -0
- package/lib/cjs/components/well/Well.d.ts +1 -0
- package/lib/cjs/components/well/Well.js +1 -0
- package/lib/cjs/providers/Providers.d.ts +31 -11
- package/lib/cjs/providers/address/GoogleAddressProvider.d.ts +2 -2
- package/lib/cjs/providers/address/GoogleAddressProvider.js +2 -3
- package/lib/cjs/providers/processor/fileProcessor.d.ts +1 -1
- package/lib/cjs/providers/processor/fileProcessor.js +1 -5
- package/lib/cjs/providers/storage/azure.d.ts +10 -1
- package/lib/cjs/providers/storage/azure.js +7 -2
- package/lib/cjs/providers/storage/base64.d.ts +2 -2
- package/lib/cjs/providers/storage/base64.js +2 -6
- package/lib/cjs/providers/storage/dropbox.d.ts +2 -2
- package/lib/cjs/providers/storage/dropbox.js +2 -6
- package/lib/cjs/providers/storage/googleDrive.d.ts +3 -2
- package/lib/cjs/providers/storage/googleDrive.js +6 -6
- package/lib/cjs/providers/storage/indexeddb.d.ts +3 -3
- package/lib/cjs/providers/storage/indexeddb.js +9 -13
- package/lib/cjs/providers/storage/s3.d.ts +11 -1
- package/lib/cjs/providers/storage/s3.js +5 -2
- package/lib/cjs/providers/storage/uploadAdapter.js +1 -5
- package/lib/cjs/providers/storage/url.d.ts +2 -2
- package/lib/cjs/providers/storage/url.js +12 -8
- package/lib/cjs/providers/storage/xhr.d.ts +1 -1
- package/lib/cjs/providers/storage/xhr.js +1 -2
- package/lib/cjs/templates/index.d.ts +226 -1
- package/lib/cjs/utils/Evaluator.js +4 -33
- package/lib/cjs/utils/i18n.d.ts +16 -0
- package/lib/cjs/utils/i18n.js +88 -0
- package/lib/cjs/utils/utils.d.ts +1 -1
- package/lib/cjs/utils/utils.js +8 -9
- package/lib/cjs/validator/Validator.d.ts +30 -2
- package/lib/cjs/validator/Validator.js +32 -9
- package/lib/cjs/validator/rules/Select.js +1 -2
- package/lib/cjs/validator/rules/Unique.d.ts +1 -1
- package/lib/cjs/validator/rules/Unique.js +1 -2
- package/lib/cjs/widgets/CalendarWidget.d.ts +1 -0
- package/lib/cjs/widgets/InputWidget.d.ts +1 -1
- package/lib/cjs/widgets/InputWidget.js +1 -2
- package/lib/mjs/CDN.js +1 -1
- package/lib/mjs/Element.js +6 -2
- package/lib/mjs/Embed.js +4 -1
- package/lib/mjs/Form.d.ts +8 -5
- package/lib/mjs/Form.js +52 -10
- package/lib/mjs/PDF.d.ts +11 -3
- package/lib/mjs/PDF.js +4 -5
- package/lib/mjs/PDFBuilder.js +2 -3
- package/lib/mjs/Webform.d.ts +4 -7
- package/lib/mjs/Webform.js +40 -122
- package/lib/mjs/WebformBuilder.d.ts +6 -1
- package/lib/mjs/WebformBuilder.js +102 -64
- package/lib/mjs/Wizard.d.ts +8 -5
- package/lib/mjs/Wizard.js +12 -12
- package/lib/mjs/WizardBuilder.d.ts +6 -4
- package/lib/mjs/WizardBuilder.js +20 -3
- package/lib/mjs/addons/FormioAddon.d.ts +1 -1
- package/lib/mjs/addons/FormioAddon.js +1 -2
- package/lib/mjs/components/_classes/component/Component.d.ts +14 -8
- package/lib/mjs/components/_classes/component/Component.js +24 -14
- package/lib/mjs/components/_classes/input/Input.d.ts +1 -1
- package/lib/mjs/components/_classes/input/Input.js +1 -2
- package/lib/mjs/components/_classes/list/ListComponent.d.ts +4 -0
- package/lib/mjs/components/_classes/list/ListComponent.js +43 -5
- package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +1 -0
- package/lib/mjs/components/_classes/multivalue/Multivalue.js +10 -4
- package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +5 -2
- package/lib/mjs/components/_classes/nested/NestedComponent.js +9 -10
- package/lib/mjs/components/address/Address.d.ts +8 -0
- package/lib/mjs/components/button/Button.js +2 -3
- package/lib/mjs/components/checkbox/Checkbox.d.ts +13 -0
- package/lib/mjs/components/checkbox/Checkbox.js +21 -5
- package/lib/mjs/components/columns/Columns.d.ts +1 -0
- package/lib/mjs/components/columns/Columns.js +1 -0
- package/lib/mjs/components/container/Container.d.ts +1 -0
- package/lib/mjs/components/container/Container.js +1 -0
- package/lib/mjs/components/content/Content.d.ts +1 -0
- package/lib/mjs/components/content/Content.js +1 -2
- package/lib/mjs/components/currency/editForm/Currency.edit.data.d.ts +14 -2
- package/lib/mjs/components/currency/editForm/Currency.edit.data.js +4 -0
- package/lib/mjs/components/currency/editForm/Currency.edit.display.js +4 -0
- package/lib/mjs/components/datagrid/DataGrid.d.ts +1 -0
- package/lib/mjs/components/datagrid/DataGrid.js +8 -1
- package/lib/mjs/components/datamap/DataMap.js +1 -0
- package/lib/mjs/components/datetime/DateTime.d.ts +4 -0
- package/lib/mjs/components/datetime/DateTime.js +28 -1
- package/lib/mjs/components/day/Day.d.ts +1 -1
- package/lib/mjs/components/day/Day.js +25 -6
- package/lib/mjs/components/day/fixtures/comp3.js +2 -2
- package/lib/mjs/components/editgrid/EditGrid.d.ts +4 -3
- package/lib/mjs/components/editgrid/EditGrid.js +11 -6
- package/lib/mjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +190 -0
- package/lib/mjs/components/editgrid/fixtures/comp-with-custom-default-value.js +225 -0
- package/lib/mjs/components/editgrid/fixtures/comp15.d.ts +54 -0
- package/lib/mjs/components/editgrid/fixtures/comp15.js +49 -0
- package/lib/mjs/components/editgrid/fixtures/index.d.ts +3 -1
- package/lib/mjs/components/editgrid/fixtures/index.js +3 -1
- package/lib/mjs/components/fieldset/Fieldset.d.ts +1 -0
- package/lib/mjs/components/fieldset/Fieldset.js +1 -0
- package/lib/mjs/components/file/File.d.ts +7 -5
- package/lib/mjs/components/file/File.js +29 -9
- package/lib/mjs/components/file/editForm/File.edit.file.d.ts +62 -0
- package/lib/mjs/components/file/editForm/File.edit.file.js +29 -2
- package/lib/mjs/components/form/Form.d.ts +3 -0
- package/lib/mjs/components/form/Form.js +9 -10
- package/lib/mjs/components/hidden/Hidden.d.ts +1 -0
- package/lib/mjs/components/hidden/Hidden.js +1 -0
- package/lib/mjs/components/html/HTML.d.ts +1 -0
- package/lib/mjs/components/html/HTML.js +1 -0
- package/lib/mjs/components/number/Number.d.ts +5 -1
- package/lib/mjs/components/number/Number.js +24 -7
- package/lib/mjs/components/phonenumber/PhoneNumber.form.js +9 -0
- package/lib/mjs/components/radio/Radio.d.ts +5 -3
- package/lib/mjs/components/radio/Radio.js +59 -18
- package/lib/mjs/components/recaptcha/ReCaptcha.d.ts +1 -1
- package/lib/mjs/components/recaptcha/ReCaptcha.js +4 -5
- package/lib/mjs/components/resource/Resource.d.ts +7 -0
- package/lib/mjs/components/resource/Resource.js +0 -1
- package/lib/mjs/components/resource/editForm/Resource.edit.display.js +1 -1
- package/lib/mjs/components/select/Select.d.ts +7 -5
- package/lib/mjs/components/select/Select.js +18 -49
- package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +12 -0
- package/lib/mjs/components/selectboxes/SelectBoxes.js +56 -25
- package/lib/mjs/components/selectboxes/fixtures/comp4.d.ts +30 -27
- package/lib/mjs/components/selectboxes/fixtures/comp4.js +47 -32
- package/lib/mjs/components/selectboxes/fixtures/comp6.d.ts +14 -0
- package/lib/mjs/components/selectboxes/fixtures/comp6.js +13 -0
- package/lib/mjs/components/selectboxes/fixtures/index.d.ts +2 -1
- package/lib/mjs/components/selectboxes/fixtures/index.js +2 -1
- package/lib/mjs/components/signature/Signature.d.ts +1 -1
- package/lib/mjs/components/signature/Signature.js +11 -3
- package/lib/mjs/components/survey/Survey.js +6 -0
- package/lib/mjs/components/table/Table.d.ts +1 -0
- package/lib/mjs/components/table/Table.js +1 -0
- package/lib/mjs/components/tabs/Tabs.d.ts +1 -0
- package/lib/mjs/components/tabs/Tabs.js +1 -0
- package/lib/mjs/components/tags/Tags.js +6 -0
- package/lib/mjs/components/textarea/TextArea.d.ts +3 -2
- package/lib/mjs/components/textarea/TextArea.js +4 -5
- package/lib/mjs/components/textarea/fixtures/comp4.d.ts +30 -0
- package/lib/mjs/components/textarea/fixtures/comp4.js +25 -0
- package/lib/mjs/components/textarea/fixtures/index.d.ts +2 -1
- package/lib/mjs/components/textarea/fixtures/index.js +2 -1
- package/lib/mjs/components/textfield/TextField.d.ts +1 -0
- package/lib/mjs/components/textfield/TextField.js +8 -3
- package/lib/mjs/components/time/Time.d.ts +4 -0
- package/lib/mjs/components/time/Time.js +12 -1
- package/lib/mjs/components/tree/Tree.d.ts +5 -4
- package/lib/mjs/components/tree/Tree.form.js +5 -0
- package/lib/mjs/components/tree/Tree.js +8 -9
- package/lib/mjs/components/tree/editForm/Tree.edit.display.d.ts +9 -0
- package/lib/mjs/components/tree/editForm/Tree.edit.display.js +10 -0
- package/lib/mjs/components/well/Well.d.ts +1 -0
- package/lib/mjs/components/well/Well.js +1 -0
- package/lib/mjs/providers/Providers.d.ts +31 -11
- package/lib/mjs/providers/address/GoogleAddressProvider.d.ts +2 -2
- package/lib/mjs/providers/address/GoogleAddressProvider.js +2 -3
- package/lib/mjs/providers/processor/fileProcessor.d.ts +1 -1
- package/lib/mjs/providers/processor/fileProcessor.js +1 -2
- package/lib/mjs/providers/storage/azure.d.ts +10 -1
- package/lib/mjs/providers/storage/azure.js +7 -2
- package/lib/mjs/providers/storage/base64.d.ts +2 -2
- package/lib/mjs/providers/storage/base64.js +2 -3
- package/lib/mjs/providers/storage/dropbox.d.ts +2 -2
- package/lib/mjs/providers/storage/dropbox.js +2 -3
- package/lib/mjs/providers/storage/googleDrive.d.ts +3 -2
- package/lib/mjs/providers/storage/googleDrive.js +6 -3
- package/lib/mjs/providers/storage/indexeddb.d.ts +3 -3
- package/lib/mjs/providers/storage/indexeddb.js +9 -10
- package/lib/mjs/providers/storage/s3.d.ts +11 -1
- package/lib/mjs/providers/storage/s3.js +5 -2
- package/lib/mjs/providers/storage/uploadAdapter.js +1 -2
- package/lib/mjs/providers/storage/url.d.ts +2 -2
- package/lib/mjs/providers/storage/url.js +12 -5
- package/lib/mjs/providers/storage/xhr.d.ts +1 -1
- package/lib/mjs/providers/storage/xhr.js +1 -2
- package/lib/mjs/templates/index.d.ts +226 -1
- package/lib/mjs/utils/Evaluator.js +4 -33
- package/lib/mjs/utils/i18n.d.ts +16 -0
- package/lib/mjs/utils/i18n.js +81 -0
- package/lib/mjs/utils/utils.d.ts +1 -1
- package/lib/mjs/utils/utils.js +8 -9
- package/lib/mjs/validator/Validator.d.ts +30 -2
- package/lib/mjs/validator/Validator.js +31 -9
- package/lib/mjs/validator/rules/Select.js +1 -2
- package/lib/mjs/validator/rules/Unique.d.ts +1 -1
- package/lib/mjs/validator/rules/Unique.js +1 -2
- package/lib/mjs/widgets/CalendarWidget.d.ts +1 -0
- package/lib/mjs/widgets/InputWidget.d.ts +1 -1
- package/lib/mjs/widgets/InputWidget.js +1 -2
- package/package.json +14 -15
@@ -0,0 +1,227 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
type: 'form',
|
5
|
+
components: [
|
6
|
+
{
|
7
|
+
label: 'Selected Funds',
|
8
|
+
conditionalAddButton: 'show = !instance.hasOpenRows();',
|
9
|
+
tableView: false,
|
10
|
+
templates: {
|
11
|
+
header: "<div class=\"row\">\r\n {% util.eachComponent(components, function(component) {\r\n if (component.key === 'loadTypeFundCode') { %}\r\n <div class=\"col-sm-2\">\r\n <strong>Fund Code</strong>\r\n </div>\r\n <div class=\"col-sm-2\">\r\n <strong>Load Type</strong>\r\n </div> \r\n {% } else if (component.key !== 'fundClass') { \r\n if (component.key === 'fundName2') { %}\r\n <div class=\"col-sm-2\">\r\n {% } else { %}\r\n <div class=\"col-sm-2\">\r\n {% } %}\r\n <strong>{{ component.label }}</strong>\r\n </div>\r\n {% }\r\n }) %}\r\n</div>",
|
12
|
+
row: "<div class=\"row\">\r\n {% console.dir(row);\r\n util.eachComponent(components, function(component) { \r\n if (component.key === 'loadTypeFundCode') { \r\n var fundCode = '';\r\n var loadType = '';\r\n var item = component.data.values.find(item=>item.value==row[component.key]);\r\n if (!!item) {\r\n\t var itemParts = item.label.split('/');\r\n loadType = itemParts [0];\r\n\t if (itemParts.length > 1) { \r\n\t fundCode = itemParts [1];\r\n }\r\n }\r\n %}\r\n <div class=\"col-sm-2\">{{ fundCode }}</div>\r\n <div class=\"col-sm-2\">{{ loadType }}</div>\r\n {% } else if (component.key !== 'fundClass') { \r\n if (component.key === 'fundName2') { %}\r\n <div class=\"col-sm-2\">\r\n {% } else { %}\r\n <div class=\"col-sm-2\">\r\n {% } \r\n if (!!component.data && !!Array.isArray(component.data.values)) { \r\n var item = component.data.values.find(item=>item.value==row[component.key]);\r\n if (!!item) { %}\r\n {{item.label}}\r\n {% } else { %}\r\n {{ row[component.key] }}\r\n {% } \r\n } else { %}\r\n {{ row[component.key] }}\r\n {% } %}\r\n </div>\r\n {% }\r\n }) %}\r\n <div class=\"col-sm-2\">\r\n <div class=\"btn-group pull-right\">\r\n {% if (!instance.hasOpenRows()) { %}\r\n <div class=\"btn btn-default btn-sm editRow\"><i class=\"fa fa-edit\"></i></div>\r\n <div class=\"btn btn-danger btn-sm removeRow\"><i class=\"fa fa-trash\"></i></div>\r\n {% } %}\r\n </div>\r\n </div>\r\n</div>"
|
13
|
+
},
|
14
|
+
addAnother: 'Add Another Fund',
|
15
|
+
saveRow: 'Save Fund',
|
16
|
+
inlineEdit: true,
|
17
|
+
customDefaultValue: "value = [\n {\n fundClass: 'Class1',\n fundName2: 'Name1',\n loadTypeFundCode: 'dsc602',\n allocationAmount2: 100\n },\n {\n fundClass: 'Class2',\n fundName2: 'Name2',\n loadTypeFundCode: 'll1202',\n allocationAmount2: 200\n },\n {\n fundClass: 'Class3',\n fundName2: 'Name2',\n loadTypeFundCode: 'll1202',\n allocationAmount2: 100\n },\n {\n fundClass: 'Class3',\n fundName2: 'Name2',\n loadTypeFundCode: 'll1202',\n allocationAmount2: 100\n } ,\n {\n fundClass: 'Class3',\n fundName2: 'Name2',\n loadTypeFundCode: 'll1202',\n allocationAmount2: 100\n }\n];",
|
18
|
+
validate: {
|
19
|
+
minLength: 1
|
20
|
+
},
|
21
|
+
rowDrafts: false,
|
22
|
+
key: 'selectedFunds2',
|
23
|
+
type: 'editgrid',
|
24
|
+
input: true,
|
25
|
+
components: [
|
26
|
+
{
|
27
|
+
label: 'Columns',
|
28
|
+
columns: [
|
29
|
+
{
|
30
|
+
components: [
|
31
|
+
{
|
32
|
+
label: 'Fund Class',
|
33
|
+
widget: 'choicesjs',
|
34
|
+
tableView: true,
|
35
|
+
dataSrc: 'custom',
|
36
|
+
data: {
|
37
|
+
custom: "values = ['Class1', 'Class2', 'Class3'];"
|
38
|
+
},
|
39
|
+
template: '<span>{{ item }}</span>',
|
40
|
+
validate: {
|
41
|
+
required: true
|
42
|
+
},
|
43
|
+
key: 'fundClass',
|
44
|
+
type: 'select',
|
45
|
+
input: true,
|
46
|
+
hideOnChildrenHidden: false
|
47
|
+
}
|
48
|
+
],
|
49
|
+
width: 6,
|
50
|
+
offset: 0,
|
51
|
+
push: 0,
|
52
|
+
pull: 0,
|
53
|
+
size: 'md',
|
54
|
+
currentWidth: 6
|
55
|
+
},
|
56
|
+
{
|
57
|
+
components: [
|
58
|
+
{
|
59
|
+
label: 'Fund Name',
|
60
|
+
widget: 'choicesjs',
|
61
|
+
tableView: true,
|
62
|
+
dataSrc: 'custom',
|
63
|
+
data: {
|
64
|
+
custom: "values = ['Name1', 'Name2'];"
|
65
|
+
},
|
66
|
+
template: '<span>{{ item }}</span>',
|
67
|
+
validate: {
|
68
|
+
required: true
|
69
|
+
},
|
70
|
+
key: 'fundName2',
|
71
|
+
logic: [
|
72
|
+
{
|
73
|
+
name: 'Disable',
|
74
|
+
trigger: {
|
75
|
+
type: 'javascript',
|
76
|
+
javascript: "result = !row['fundClass'];"
|
77
|
+
},
|
78
|
+
actions: [
|
79
|
+
{
|
80
|
+
name: 'Disable',
|
81
|
+
type: 'property',
|
82
|
+
property: {
|
83
|
+
label: 'Disabled',
|
84
|
+
value: 'disabled',
|
85
|
+
type: 'boolean'
|
86
|
+
},
|
87
|
+
state: true
|
88
|
+
}
|
89
|
+
]
|
90
|
+
}
|
91
|
+
],
|
92
|
+
type: 'select',
|
93
|
+
input: true,
|
94
|
+
hideOnChildrenHidden: false
|
95
|
+
}
|
96
|
+
],
|
97
|
+
width: 6,
|
98
|
+
offset: 0,
|
99
|
+
push: 0,
|
100
|
+
pull: 0,
|
101
|
+
size: 'md',
|
102
|
+
currentWidth: 6
|
103
|
+
}
|
104
|
+
],
|
105
|
+
key: 'columns1',
|
106
|
+
type: 'columns',
|
107
|
+
tableView: false,
|
108
|
+
input: false,
|
109
|
+
hideOnChildrenHidden: false
|
110
|
+
},
|
111
|
+
{
|
112
|
+
label: 'Columns',
|
113
|
+
columns: [
|
114
|
+
{
|
115
|
+
components: [
|
116
|
+
{
|
117
|
+
label: 'Load Type / Fund Code',
|
118
|
+
widget: 'choicesjs',
|
119
|
+
tableView: true,
|
120
|
+
data: {
|
121
|
+
values: [
|
122
|
+
{
|
123
|
+
label: 'DSC/602',
|
124
|
+
value: 'dsc602'
|
125
|
+
},
|
126
|
+
{
|
127
|
+
label: 'NL/702',
|
128
|
+
value: 'nl702'
|
129
|
+
},
|
130
|
+
{
|
131
|
+
label: 'LL/1202',
|
132
|
+
value: 'll1202'
|
133
|
+
},
|
134
|
+
{
|
135
|
+
label: 'NL-CB/3002',
|
136
|
+
value: 'nlCb3002'
|
137
|
+
},
|
138
|
+
{
|
139
|
+
label: 'NL-CB5/5002',
|
140
|
+
value: 'nlCb55002'
|
141
|
+
}
|
142
|
+
]
|
143
|
+
},
|
144
|
+
refreshOn: 'editGrid1.fundName2',
|
145
|
+
validate: {
|
146
|
+
required: true
|
147
|
+
},
|
148
|
+
key: 'loadTypeFundCode',
|
149
|
+
logic: [
|
150
|
+
{
|
151
|
+
name: 'Disable',
|
152
|
+
trigger: {
|
153
|
+
type: 'javascript',
|
154
|
+
javascript: "result = !row['fundName2'];"
|
155
|
+
},
|
156
|
+
actions: [
|
157
|
+
{
|
158
|
+
name: 'Disable',
|
159
|
+
type: 'property',
|
160
|
+
property: {
|
161
|
+
label: 'Disabled',
|
162
|
+
value: 'disabled',
|
163
|
+
type: 'boolean'
|
164
|
+
},
|
165
|
+
state: true
|
166
|
+
}
|
167
|
+
]
|
168
|
+
}
|
169
|
+
],
|
170
|
+
type: 'select',
|
171
|
+
input: true,
|
172
|
+
hideOnChildrenHidden: false
|
173
|
+
}
|
174
|
+
],
|
175
|
+
width: 6,
|
176
|
+
offset: 0,
|
177
|
+
push: 0,
|
178
|
+
pull: 0,
|
179
|
+
size: 'md',
|
180
|
+
currentWidth: 6
|
181
|
+
},
|
182
|
+
{
|
183
|
+
components: [
|
184
|
+
{
|
185
|
+
label: 'Amount',
|
186
|
+
mask: false,
|
187
|
+
spellcheck: true,
|
188
|
+
tableView: false,
|
189
|
+
currency: 'USD',
|
190
|
+
inputFormat: 'plain',
|
191
|
+
validate: {
|
192
|
+
required: true
|
193
|
+
},
|
194
|
+
key: 'allocationAmount2',
|
195
|
+
type: 'currency',
|
196
|
+
input: true,
|
197
|
+
delimiter: true,
|
198
|
+
hideOnChildrenHidden: false
|
199
|
+
}
|
200
|
+
],
|
201
|
+
width: 6,
|
202
|
+
offset: 0,
|
203
|
+
push: 0,
|
204
|
+
pull: 0,
|
205
|
+
size: 'md',
|
206
|
+
currentWidth: 6
|
207
|
+
}
|
208
|
+
],
|
209
|
+
key: 'columns',
|
210
|
+
type: 'columns',
|
211
|
+
input: false,
|
212
|
+
tableView: false,
|
213
|
+
hideOnChildrenHidden: false
|
214
|
+
}
|
215
|
+
]
|
216
|
+
},
|
217
|
+
{
|
218
|
+
type: 'button',
|
219
|
+
label: 'Submit',
|
220
|
+
key: 'submit',
|
221
|
+
disableOnInvalid: true,
|
222
|
+
input: true,
|
223
|
+
tableView: false
|
224
|
+
}
|
225
|
+
],
|
226
|
+
display: 'form',
|
227
|
+
};
|
@@ -0,0 +1,54 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
const type: string;
|
3
|
+
const display: string;
|
4
|
+
const components: ({
|
5
|
+
label: string;
|
6
|
+
tableView: boolean;
|
7
|
+
validate: {
|
8
|
+
minLength: number;
|
9
|
+
};
|
10
|
+
rowDrafts: boolean;
|
11
|
+
key: string;
|
12
|
+
type: string;
|
13
|
+
displayAsTable: boolean;
|
14
|
+
input: boolean;
|
15
|
+
components: ({
|
16
|
+
label: string;
|
17
|
+
applyMaskOn: string;
|
18
|
+
tableView: boolean;
|
19
|
+
key: string;
|
20
|
+
type: string;
|
21
|
+
input: boolean;
|
22
|
+
mask?: undefined;
|
23
|
+
delimiter?: undefined;
|
24
|
+
requireDecimal?: undefined;
|
25
|
+
inputFormat?: undefined;
|
26
|
+
truncateMultipleSpaces?: undefined;
|
27
|
+
} | {
|
28
|
+
label: string;
|
29
|
+
applyMaskOn: string;
|
30
|
+
mask: boolean;
|
31
|
+
tableView: boolean;
|
32
|
+
delimiter: boolean;
|
33
|
+
requireDecimal: boolean;
|
34
|
+
inputFormat: string;
|
35
|
+
truncateMultipleSpaces: boolean;
|
36
|
+
key: string;
|
37
|
+
type: string;
|
38
|
+
input: boolean;
|
39
|
+
})[];
|
40
|
+
disableOnInvalid?: undefined;
|
41
|
+
} | {
|
42
|
+
type: string;
|
43
|
+
label: string;
|
44
|
+
key: string;
|
45
|
+
disableOnInvalid: boolean;
|
46
|
+
input: boolean;
|
47
|
+
tableView: boolean;
|
48
|
+
validate?: undefined;
|
49
|
+
rowDrafts?: undefined;
|
50
|
+
displayAsTable?: undefined;
|
51
|
+
components?: undefined;
|
52
|
+
})[];
|
53
|
+
}
|
54
|
+
export default _default;
|
@@ -0,0 +1,51 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
type: 'form',
|
5
|
+
display: 'form',
|
6
|
+
components: [
|
7
|
+
{
|
8
|
+
label: 'Edit Grid',
|
9
|
+
tableView: false,
|
10
|
+
validate: {
|
11
|
+
minLength: 6
|
12
|
+
},
|
13
|
+
rowDrafts: false,
|
14
|
+
key: 'editGrid',
|
15
|
+
type: 'editgrid',
|
16
|
+
displayAsTable: false,
|
17
|
+
input: true,
|
18
|
+
components: [
|
19
|
+
{
|
20
|
+
label: 'Text',
|
21
|
+
applyMaskOn: 'change',
|
22
|
+
tableView: true,
|
23
|
+
key: 'text',
|
24
|
+
type: 'textfield',
|
25
|
+
input: true
|
26
|
+
},
|
27
|
+
{
|
28
|
+
label: 'Number',
|
29
|
+
applyMaskOn: 'change',
|
30
|
+
mask: false,
|
31
|
+
tableView: false,
|
32
|
+
delimiter: false,
|
33
|
+
requireDecimal: false,
|
34
|
+
inputFormat: 'plain',
|
35
|
+
truncateMultipleSpaces: false,
|
36
|
+
key: 'number',
|
37
|
+
type: 'number',
|
38
|
+
input: true
|
39
|
+
}
|
40
|
+
]
|
41
|
+
},
|
42
|
+
{
|
43
|
+
type: 'button',
|
44
|
+
label: 'Submit',
|
45
|
+
key: 'submit',
|
46
|
+
disableOnInvalid: true,
|
47
|
+
input: true,
|
48
|
+
tableView: false
|
49
|
+
}
|
50
|
+
]
|
51
|
+
};
|
@@ -6,6 +6,7 @@ import comp11 from './comp11';
|
|
6
6
|
import comp12 from './comp12';
|
7
7
|
import comp13 from './comp13';
|
8
8
|
import comp14 from './comp14';
|
9
|
+
import comp15 from './comp15';
|
9
10
|
import comp4 from './comp4';
|
10
11
|
import comp5 from './comp5';
|
11
12
|
import comp6 from './comp6';
|
@@ -14,4 +15,5 @@ import comp8 from './comp8';
|
|
14
15
|
import comp9 from './comp9';
|
15
16
|
import compOpenWhenEmpty from './comp-openWhenEmpty';
|
16
17
|
import withOpenWhenEmptyAndConditions from './comp-with-conditions-and-openWhenEmpty';
|
17
|
-
|
18
|
+
import compWithCustomDefaultValue from './comp-with-custom-default-value';
|
19
|
+
export { comp1, comp2, comp3, comp10, comp11, comp12, comp13, comp14, comp15, comp4, comp5, comp6, comp7, comp8, comp9, compOpenWhenEmpty, withOpenWhenEmptyAndConditions, compWithCustomDefaultValue };
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.withOpenWhenEmptyAndConditions = exports.compOpenWhenEmpty = exports.comp9 = exports.comp8 = exports.comp7 = exports.comp6 = exports.comp5 = exports.comp4 = exports.comp14 = exports.comp13 = exports.comp12 = exports.comp11 = exports.comp10 = exports.comp3 = exports.comp2 = exports.comp1 = void 0;
|
6
|
+
exports.compWithCustomDefaultValue = exports.withOpenWhenEmptyAndConditions = exports.compOpenWhenEmpty = exports.comp9 = exports.comp8 = exports.comp7 = exports.comp6 = exports.comp5 = exports.comp4 = exports.comp15 = exports.comp14 = exports.comp13 = exports.comp12 = exports.comp11 = exports.comp10 = exports.comp3 = exports.comp2 = exports.comp1 = void 0;
|
7
7
|
const comp1_1 = __importDefault(require("./comp1"));
|
8
8
|
exports.comp1 = comp1_1.default;
|
9
9
|
const comp2_1 = __importDefault(require("./comp2"));
|
@@ -32,7 +32,11 @@ const comp13_1 = __importDefault(require("./comp13"));
|
|
32
32
|
exports.comp13 = comp13_1.default;
|
33
33
|
const comp14_1 = __importDefault(require("./comp14"));
|
34
34
|
exports.comp14 = comp14_1.default;
|
35
|
+
const comp15_1 = __importDefault(require("./comp15"));
|
36
|
+
exports.comp15 = comp15_1.default;
|
35
37
|
const comp_with_conditions_and_openWhenEmpty_1 = __importDefault(require("./comp-with-conditions-and-openWhenEmpty"));
|
36
38
|
exports.withOpenWhenEmptyAndConditions = comp_with_conditions_and_openWhenEmpty_1.default;
|
37
39
|
const comp_openWhenEmpty_1 = __importDefault(require("./comp-openWhenEmpty"));
|
38
40
|
exports.compOpenWhenEmpty = comp_openWhenEmpty_1.default;
|
41
|
+
const comp_with_custom_default_value_1 = __importDefault(require("./comp-with-custom-default-value"));
|
42
|
+
exports.compWithCustomDefaultValue = comp_with_custom_default_value_1.default;
|
@@ -18,6 +18,7 @@ export default class FileComponent extends Field {
|
|
18
18
|
statuses: any[] | undefined;
|
19
19
|
set fileDropHidden(arg: any);
|
20
20
|
get fileDropHidden(): any;
|
21
|
+
get dataReady(): Promise<any>;
|
21
22
|
loadImage(fileInfo: any): any;
|
22
23
|
get emptyValue(): never[];
|
23
24
|
getValueAsString(value: any): any;
|
@@ -27,23 +28,24 @@ export default class FileComponent extends Field {
|
|
27
28
|
render(): any;
|
28
29
|
getVideoStream(constraints: any): any;
|
29
30
|
stopVideoStream(videoStream: any): void;
|
30
|
-
getFrame(videoPlayer: any): any
|
31
|
+
getFrame(videoPlayer: any): Promise<any>;
|
31
32
|
startVideo(): void;
|
32
33
|
videoStream: any;
|
33
34
|
stopVideo(): void;
|
34
35
|
takePicture(): void;
|
35
|
-
browseFiles(attrs?: {}): any
|
36
|
+
browseFiles(attrs?: {}): Promise<any>;
|
36
37
|
_cameraMode: any;
|
37
38
|
get useWebViewCamera(): any;
|
38
39
|
get imageUpload(): boolean;
|
39
40
|
get browseOptions(): {
|
40
41
|
multiple: boolean;
|
42
|
+
capture: any;
|
41
43
|
accept: any;
|
42
44
|
};
|
43
45
|
deleteFile(fileInfo: any): void;
|
44
|
-
filesReady: any;
|
45
|
-
filesReadyResolve: any;
|
46
|
-
filesReadyReject: any;
|
46
|
+
filesReady: Promise<any> | undefined;
|
47
|
+
filesReadyResolve: ((value: any) => void) | undefined;
|
48
|
+
filesReadyReject: ((reason?: any) => void) | undefined;
|
47
49
|
fileSize(a: any, b: any, c: any, d: any, e: any): string;
|
48
50
|
globStringToRegex(str: any): any;
|
49
51
|
translateScalars(str: any): any;
|
@@ -16,11 +16,10 @@ const Field_1 = __importDefault(require("../_classes/field/Field"));
|
|
16
16
|
const utils_1 = require("../../utils/utils");
|
17
17
|
const downloadjs_1 = __importDefault(require("downloadjs"));
|
18
18
|
const lodash_1 = __importDefault(require("lodash"));
|
19
|
-
const native_promise_only_1 = __importDefault(require("native-promise-only"));
|
20
19
|
const fileProcessor_1 = __importDefault(require("../../providers/processor/fileProcessor"));
|
21
20
|
const browser_md5_file_1 = __importDefault(require("browser-md5-file"));
|
22
21
|
let Camera;
|
23
|
-
let webViewCamera = navigator.camera
|
22
|
+
let webViewCamera = 'undefined' !== typeof window ? navigator.camera : Camera;
|
24
23
|
// canvas.toBlob polyfill.
|
25
24
|
let htmlCanvasElement;
|
26
25
|
if (typeof window !== 'undefined') {
|
@@ -68,6 +67,9 @@ class FileComponent extends Field_1.default {
|
|
68
67
|
schema: FileComponent.schema(),
|
69
68
|
};
|
70
69
|
}
|
70
|
+
static get serverConditionSettings() {
|
71
|
+
return Object.assign(Object.assign({}, super.serverConditionSettings), { operators: ['isEmpty', 'isNotEmpty'] });
|
72
|
+
}
|
71
73
|
init() {
|
72
74
|
super.init();
|
73
75
|
webViewCamera = navigator.camera || Camera;
|
@@ -85,7 +87,7 @@ class FileComponent extends Field_1.default {
|
|
85
87
|
this.fileDropHidden = false;
|
86
88
|
}
|
87
89
|
get dataReady() {
|
88
|
-
return this.filesReady ||
|
90
|
+
return this.filesReady || Promise.resolve();
|
89
91
|
}
|
90
92
|
get defaultSchema() {
|
91
93
|
return FileComponent.schema();
|
@@ -147,7 +149,7 @@ class FileComponent extends Field_1.default {
|
|
147
149
|
videoStream.getVideoTracks().forEach((track) => track.stop());
|
148
150
|
}
|
149
151
|
getFrame(videoPlayer) {
|
150
|
-
return new
|
152
|
+
return new Promise((resolve) => {
|
151
153
|
const canvas = document.createElement('canvas');
|
152
154
|
canvas.height = videoPlayer.videoHeight;
|
153
155
|
canvas.width = videoPlayer.videoWidth;
|
@@ -201,7 +203,7 @@ class FileComponent extends Field_1.default {
|
|
201
203
|
});
|
202
204
|
}
|
203
205
|
browseFiles(attrs = {}) {
|
204
|
-
return new
|
206
|
+
return new Promise((resolve) => {
|
205
207
|
const fileInput = this.ce('input', Object.assign({ type: 'file', style: 'height: 0; width: 0; visibility: hidden;', tabindex: '-1' }, attrs));
|
206
208
|
document.body.appendChild(fileInput);
|
207
209
|
fileInput.addEventListener('change', () => {
|
@@ -241,9 +243,12 @@ class FileComponent extends Field_1.default {
|
|
241
243
|
if (this.component.multiple) {
|
242
244
|
options.multiple = true;
|
243
245
|
}
|
246
|
+
if (this.component.capture) {
|
247
|
+
options.capture = this.component.capture;
|
248
|
+
}
|
244
249
|
//use "accept" attribute only for desktop devices because of its limited support by mobile browsers
|
250
|
+
const filePattern = this.component.filePattern.trim() || '';
|
245
251
|
if (!this.isMobile.any) {
|
246
|
-
const filePattern = this.component.filePattern.trim() || '';
|
247
252
|
const imagesPattern = 'image/*';
|
248
253
|
if (this.imageUpload && (!filePattern || filePattern === '*')) {
|
249
254
|
options.accept = imagesPattern;
|
@@ -255,11 +260,23 @@ class FileComponent extends Field_1.default {
|
|
255
260
|
options.accept = filePattern;
|
256
261
|
}
|
257
262
|
}
|
263
|
+
// if input capture is set, we need the "accept" attribute to determine which device to launch
|
264
|
+
else if (this.component.capture) {
|
265
|
+
if (filePattern.includes('video')) {
|
266
|
+
options.accept = 'video/*';
|
267
|
+
}
|
268
|
+
else if (filePattern.includes('audio')) {
|
269
|
+
options.accept = 'audio/*';
|
270
|
+
}
|
271
|
+
else {
|
272
|
+
options.accept = 'image/*';
|
273
|
+
}
|
274
|
+
}
|
258
275
|
return options;
|
259
276
|
}
|
260
277
|
deleteFile(fileInfo) {
|
261
278
|
const { options = {} } = this.component;
|
262
|
-
if (fileInfo && (['url', 'indexeddb'].includes(this.component.storage))) {
|
279
|
+
if (fileInfo && (['url', 'indexeddb', 's3', 'googledrive', 'azure'].includes(this.component.storage))) {
|
263
280
|
const { fileService } = this;
|
264
281
|
if (fileService && typeof fileService.deleteFile === 'function') {
|
265
282
|
fileService.deleteFile(fileInfo, options);
|
@@ -416,7 +433,7 @@ class FileComponent extends Field_1.default {
|
|
416
433
|
const fileService = this.fileService;
|
417
434
|
if (fileService) {
|
418
435
|
const loadingImages = [];
|
419
|
-
this.filesReady = new
|
436
|
+
this.filesReady = new Promise((resolve, reject) => {
|
420
437
|
this.filesReadyResolve = resolve;
|
421
438
|
this.filesReadyReject = reject;
|
422
439
|
});
|
@@ -424,7 +441,7 @@ class FileComponent extends Field_1.default {
|
|
424
441
|
loadingImages.push(this.loadImage(this.dataValue[index]).then((url) => (image.src = url)));
|
425
442
|
});
|
426
443
|
if (loadingImages.length) {
|
427
|
-
|
444
|
+
Promise.all(loadingImages).then(() => {
|
428
445
|
this.filesReadyResolve();
|
429
446
|
}).catch(() => this.filesReadyReject());
|
430
447
|
}
|
@@ -14,6 +14,10 @@ declare const _default: ({
|
|
14
14
|
conditional?: undefined;
|
15
15
|
rows?: undefined;
|
16
16
|
editor?: undefined;
|
17
|
+
optionsLabelPosition?: undefined;
|
18
|
+
inline?: undefined;
|
19
|
+
defaultValue?: undefined;
|
20
|
+
values?: undefined;
|
17
21
|
components?: undefined;
|
18
22
|
} | {
|
19
23
|
type: string;
|
@@ -38,6 +42,10 @@ declare const _default: ({
|
|
38
42
|
data?: undefined;
|
39
43
|
rows?: undefined;
|
40
44
|
editor?: undefined;
|
45
|
+
optionsLabelPosition?: undefined;
|
46
|
+
inline?: undefined;
|
47
|
+
defaultValue?: undefined;
|
48
|
+
values?: undefined;
|
41
49
|
components?: undefined;
|
42
50
|
} | {
|
43
51
|
type: string;
|
@@ -62,6 +70,10 @@ declare const _default: ({
|
|
62
70
|
data?: undefined;
|
63
71
|
rows?: undefined;
|
64
72
|
editor?: undefined;
|
73
|
+
optionsLabelPosition?: undefined;
|
74
|
+
inline?: undefined;
|
75
|
+
defaultValue?: undefined;
|
76
|
+
values?: undefined;
|
65
77
|
components?: undefined;
|
66
78
|
} | {
|
67
79
|
type: string;
|
@@ -86,6 +98,10 @@ declare const _default: ({
|
|
86
98
|
valueProperty?: undefined;
|
87
99
|
dataSrc?: undefined;
|
88
100
|
data?: undefined;
|
101
|
+
optionsLabelPosition?: undefined;
|
102
|
+
inline?: undefined;
|
103
|
+
defaultValue?: undefined;
|
104
|
+
values?: undefined;
|
89
105
|
components?: undefined;
|
90
106
|
} | {
|
91
107
|
type: string;
|
@@ -110,6 +126,10 @@ declare const _default: ({
|
|
110
126
|
data?: undefined;
|
111
127
|
rows?: undefined;
|
112
128
|
editor?: undefined;
|
129
|
+
optionsLabelPosition?: undefined;
|
130
|
+
inline?: undefined;
|
131
|
+
defaultValue?: undefined;
|
132
|
+
values?: undefined;
|
113
133
|
components?: undefined;
|
114
134
|
} | {
|
115
135
|
type: string;
|
@@ -125,6 +145,10 @@ declare const _default: ({
|
|
125
145
|
conditional?: undefined;
|
126
146
|
rows?: undefined;
|
127
147
|
editor?: undefined;
|
148
|
+
optionsLabelPosition?: undefined;
|
149
|
+
inline?: undefined;
|
150
|
+
defaultValue?: undefined;
|
151
|
+
values?: undefined;
|
128
152
|
components?: undefined;
|
129
153
|
} | {
|
130
154
|
type: string;
|
@@ -140,6 +164,10 @@ declare const _default: ({
|
|
140
164
|
conditional?: undefined;
|
141
165
|
rows?: undefined;
|
142
166
|
editor?: undefined;
|
167
|
+
optionsLabelPosition?: undefined;
|
168
|
+
inline?: undefined;
|
169
|
+
defaultValue?: undefined;
|
170
|
+
values?: undefined;
|
143
171
|
components?: undefined;
|
144
172
|
} | {
|
145
173
|
type: string;
|
@@ -164,6 +192,10 @@ declare const _default: ({
|
|
164
192
|
data?: undefined;
|
165
193
|
rows?: undefined;
|
166
194
|
editor?: undefined;
|
195
|
+
optionsLabelPosition?: undefined;
|
196
|
+
inline?: undefined;
|
197
|
+
defaultValue?: undefined;
|
198
|
+
values?: undefined;
|
167
199
|
components?: undefined;
|
168
200
|
} | {
|
169
201
|
type: string;
|
@@ -188,6 +220,32 @@ declare const _default: ({
|
|
188
220
|
data?: undefined;
|
189
221
|
rows?: undefined;
|
190
222
|
editor?: undefined;
|
223
|
+
optionsLabelPosition?: undefined;
|
224
|
+
inline?: undefined;
|
225
|
+
defaultValue?: undefined;
|
226
|
+
values?: undefined;
|
227
|
+
components?: undefined;
|
228
|
+
} | {
|
229
|
+
type: string;
|
230
|
+
input: boolean;
|
231
|
+
key: string;
|
232
|
+
label: string;
|
233
|
+
tooltip: string;
|
234
|
+
optionsLabelPosition: string;
|
235
|
+
inline: boolean;
|
236
|
+
defaultValue: boolean;
|
237
|
+
values: {
|
238
|
+
label: string;
|
239
|
+
value: string;
|
240
|
+
}[];
|
241
|
+
placeholder?: undefined;
|
242
|
+
weight?: undefined;
|
243
|
+
valueProperty?: undefined;
|
244
|
+
dataSrc?: undefined;
|
245
|
+
data?: undefined;
|
246
|
+
conditional?: undefined;
|
247
|
+
rows?: undefined;
|
248
|
+
editor?: undefined;
|
191
249
|
components?: undefined;
|
192
250
|
} | {
|
193
251
|
type: string;
|
@@ -209,5 +267,9 @@ declare const _default: ({
|
|
209
267
|
conditional?: undefined;
|
210
268
|
rows?: undefined;
|
211
269
|
editor?: undefined;
|
270
|
+
optionsLabelPosition?: undefined;
|
271
|
+
inline?: undefined;
|
272
|
+
defaultValue?: undefined;
|
273
|
+
values?: undefined;
|
212
274
|
})[];
|
213
275
|
export default _default;
|