udp-stencil-component-library 1.0.2 → 1.0.3
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/cjs/add-map-feature-popup_4.cjs.entry.js +11 -11
- package/dist/cjs/advanced-search_50.cjs.entry.js +109 -41
- package/dist/cjs/advanced-search_50.cjs.entry.js.map +1 -1
- package/dist/cjs/ag-grid-base_2.cjs.entry.js +2 -2
- package/dist/cjs/api-method-grid.cjs.entry.js +1 -1
- package/dist/cjs/check-box.cjs.entry.js +2 -2
- package/dist/cjs/chip-section.cjs.entry.js +2 -2
- package/dist/cjs/client-side-grid.cjs.entry.js +1 -1
- package/dist/cjs/color-preview.cjs.entry.js +1 -1
- package/dist/cjs/date-time-renderer.file-upload-renderer.list-options-renderer.question-specific-configs-renderer.text-input-renderer.entry.cjs.js.map +1 -1
- package/dist/cjs/date-time-renderer_5.cjs.entry.js +17 -16
- package/dist/cjs/date-time-renderer_5.cjs.entry.js.map +1 -1
- package/dist/cjs/enums-CA1UjPVU.js +25 -0
- package/dist/cjs/enums-CA1UjPVU.js.map +1 -0
- package/dist/cjs/feature-details-card_2.cjs.entry.js +5 -5
- package/dist/cjs/file-upload.selectable-list.stencil-field.entry.cjs.js.map +1 -1
- package/dist/cjs/file-upload_3.cjs.entry.js +73 -29
- package/dist/cjs/file-upload_3.cjs.entry.js.map +1 -1
- package/dist/cjs/index-Bu1pSYrV.js +8 -8
- package/dist/cjs/inputs-example.cjs.entry.js +2 -2
- package/dist/cjs/inputs-example.cjs.entry.js.map +1 -1
- package/dist/cjs/inputs-example.entry.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-component_2.cjs.entry.js +2 -2
- package/dist/cjs/numeric-field.text-area.udp-date-selector.udp-datetime-selector.udp-time-selector.entry.cjs.js.map +1 -1
- package/dist/cjs/numeric-field_5.cjs.entry.js +194 -19
- package/dist/cjs/numeric-field_5.cjs.entry.js.map +1 -1
- package/dist/cjs/page-renderer.cjs.entry.js +1 -1
- package/dist/cjs/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.udp-forms-builder-style-override.entry.cjs.js.map +1 -1
- package/dist/cjs/question-configs-renderer_5.cjs.entry.js +17 -4
- package/dist/cjs/question-configs-renderer_5.cjs.entry.js.map +1 -1
- package/dist/cjs/resource-timeline-calendar.cjs.entry.js +1 -1
- package/dist/cjs/resource-timeline-primary-bar.cjs.entry.js +1 -1
- package/dist/cjs/server-side-grid.cjs.entry.js +1 -1
- package/dist/cjs/signature-input.stencil-form.tally-display.udp-icon-button.udp-question.udp-save-draft-button.entry.cjs.js.map +1 -0
- package/dist/cjs/{signature-input_4.cjs.entry.js → signature-input_6.cjs.entry.js} +359 -157
- package/dist/cjs/signature-input_6.cjs.entry.js.map +1 -0
- package/dist/cjs/stencil-library.cjs.js +1 -1
- package/dist/cjs/udp-container-query-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query-grid.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query.cjs.entry.js +2 -2
- package/dist/cjs/udp-container.cjs.entry.js +2 -2
- package/dist/cjs/udp-drive-utils-BOyI3h7K.js +180 -0
- package/dist/cjs/udp-drive-utils-BOyI3h7K.js.map +1 -0
- package/dist/cjs/udp-forms-builder.cjs.entry.js +133 -152
- package/dist/cjs/udp-forms-builder.cjs.entry.js.map +1 -1
- package/dist/cjs/udp-forms-builder.entry.cjs.js.map +1 -1
- package/dist/cjs/udp-forms-list-card_2.cjs.entry.js +5 -5
- package/dist/cjs/udp-forms-list.cjs.entry.js +1 -1
- package/dist/cjs/udp-forms-renderer.cjs.entry.js +185 -175
- package/dist/cjs/udp-forms-renderer.cjs.entry.js.map +1 -1
- package/dist/cjs/udp-forms-renderer.entry.cjs.js.map +1 -1
- package/dist/cjs/udp-forms-ui.cjs.entry.js +113 -82
- package/dist/cjs/udp-forms-ui.cjs.entry.js.map +1 -1
- package/dist/cjs/udp-forms-ui.entry.cjs.js.map +1 -1
- package/dist/cjs/udp-map.cjs.entry.js +3 -3
- package/dist/cjs/udp-page.cjs.entry.js +1 -1
- package/dist/cjs/udp-split-screen.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-demo.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-spacer.cjs.entry.js +1 -1
- package/dist/cjs/utils-CdiEmuDf.js +34 -0
- package/dist/cjs/utils-CdiEmuDf.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/my-component/UI/buttons/icon-button/stencil-icon-button.js +22 -0
- package/dist/collection/components/my-component/UI/buttons/icon-button/stencil-icon-button.js.map +1 -1
- package/dist/collection/components/my-component/UI/buttons/udp-icon-button/udp-icon-button.css +269 -0
- package/dist/collection/components/my-component/UI/buttons/udp-icon-button/udp-icon-button.js +392 -0
- package/dist/collection/components/my-component/UI/buttons/udp-icon-button/udp-icon-button.js.map +1 -0
- package/dist/collection/components/my-component/UI/forms/form/stencil-field.js +38 -14
- package/dist/collection/components/my-component/UI/forms/form/stencil-field.js.map +1 -1
- package/dist/collection/components/my-component/UI/forms/form/stencil-form.js +81 -28
- package/dist/collection/components/my-component/UI/forms/form/stencil-form.js.map +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/mockData.js +1 -0
- package/dist/collection/components/my-component/UI/forms/udp-forms/mockData.js.map +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/types.js.map +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-specific-configs-renderer.js +13 -17
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-specific-configs-renderer.js.map +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question_type_renderers/date-time-renderer.js +4 -3
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question_type_renderers/date-time-renderer.js.map +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question_type_renderers/section-configs-renderer.css +0 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question_type_renderers/section-configs-renderer.js +16 -3
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question_type_renderers/section-configs-renderer.js.map +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question_type_renderers/text-input-renderer.js +2 -2
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder.js +135 -159
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder.js.map +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-list/udp-forms-list-card.js +5 -5
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-list/udp-forms-list.js +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/form-handler/PrivateFormHandler.js +1 -5
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/form-handler/PrivateFormHandler.js.map +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/form-handler/PublicFormHandler.js +1 -0
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/form-handler/PublicFormHandler.js.map +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js +188 -172
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js.map +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-forms-ui.css +175 -0
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-forms-ui.js +211 -88
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-forms-ui.js.map +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-save-draft-button/udp-save-draft-button.css +166 -0
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-save-draft-button/udp-save-draft-button.js +215 -0
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-save-draft-button/udp-save-draft-button.js.map +1 -0
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-question/udp-question.js +5 -5
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-question/udp-question.js.map +1 -1
- package/dist/collection/components/my-component/UI/grid/ag-table/ag-table.js +1 -1
- package/dist/collection/components/my-component/UI/grid/ambient-template-grid/ambient-template-grid.js +15 -15
- package/dist/collection/components/my-component/UI/grid/grid-primary-bar/grid-primary-bar.js +2 -2
- package/dist/collection/components/my-component/UI/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +1 -1
- package/dist/collection/components/my-component/UI/grid/new-grid/ag-grid-base.js +1 -1
- package/dist/collection/components/my-component/UI/grid/new-grid/api-method-grid.js +1 -1
- package/dist/collection/components/my-component/UI/grid/new-grid/client-side-grid.js +1 -1
- package/dist/collection/components/my-component/UI/grid/new-grid/grid-header.js +1 -1
- package/dist/collection/components/my-component/UI/grid/new-grid/server-side-grid.js +1 -1
- package/dist/collection/components/my-component/UI/grid/resource-timeline-calendar/resource-timeline-calendar.js +1 -1
- package/dist/collection/components/my-component/UI/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +1 -1
- package/dist/collection/components/my-component/UI/inputs/checkbox/check-box.js +2 -2
- package/dist/collection/components/my-component/UI/inputs/date-selector/udp-date-selector.js +3 -3
- package/dist/collection/components/my-component/UI/inputs/date-time-selector/udp-datetime-selector.js +3 -3
- package/dist/collection/components/my-component/UI/inputs/file-upload/file-upload.js +35 -22
- package/dist/collection/components/my-component/UI/inputs/file-upload/file-upload.js.map +1 -1
- package/dist/collection/components/my-component/UI/inputs/file-upload/udp-drive-utils.js +202 -10
- package/dist/collection/components/my-component/UI/inputs/file-upload/udp-drive-utils.js.map +1 -1
- package/dist/collection/components/my-component/UI/inputs/numeric-field/numeric-field.js +6 -6
- package/dist/collection/components/my-component/UI/inputs/numeric-field/numeric-field.js.map +1 -1
- package/dist/collection/components/my-component/UI/inputs/signature-input/signature-input.js +52 -22
- package/dist/collection/components/my-component/UI/inputs/signature-input/signature-input.js.map +1 -1
- package/dist/collection/components/my-component/UI/inputs/tally/tally.js +2 -2
- package/dist/collection/components/my-component/UI/inputs/text-area/text-area.js +99 -3
- package/dist/collection/components/my-component/UI/inputs/text-area/text-area.js.map +1 -1
- package/dist/collection/components/my-component/UI/inputs/text-field/text-field.js +99 -3
- package/dist/collection/components/my-component/UI/inputs/text-field/text-field.js.map +1 -1
- package/dist/collection/components/my-component/UI/inputs/time-selector/udp-time-selector.js +132 -6
- package/dist/collection/components/my-component/UI/inputs/time-selector/udp-time-selector.js.map +1 -1
- package/dist/collection/components/my-component/UI/inputs/toggle/stencil-toggle.js +4 -4
- package/dist/collection/components/my-component/UI/inputs/udp-selector/udp-selector.js +4 -4
- package/dist/collection/components/my-component/UI/layout/udp-container/udp-container.js +2 -2
- package/dist/collection/components/my-component/UI/layout/udp-container-query/udp-container-query.js +2 -2
- package/dist/collection/components/my-component/UI/layout/udp-container-query-grid/udp-container-query-grid.js +1 -1
- package/dist/collection/components/my-component/UI/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +1 -1
- package/dist/collection/components/my-component/UI/layout/udp-page/udp-page.js +1 -1
- package/dist/collection/components/my-component/UI/layout/udp-split-screen/udp-split-screen.js +1 -1
- package/dist/collection/components/my-component/UI/layout/udp-vertical-spacer.js +1 -1
- package/dist/collection/components/my-component/UI/loaders/udp-grid-loader/udp-grid-loader.js +2 -2
- package/dist/collection/components/my-component/UI/loaders/udp-linear-loader/udp-linear-loader.js +1 -1
- package/dist/collection/components/my-component/UI/loaders/udp-skeleton-loading.js +1 -1
- package/dist/collection/components/my-component/UI/map/udp-map/map-component.js +1 -1
- package/dist/collection/components/my-component/UI/map/udp-map/popups/add-map-feature-popup.js +3 -3
- package/dist/collection/components/my-component/UI/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -4
- package/dist/collection/components/my-component/UI/map/udp-map/popups/feature-details-popup.js +1 -1
- package/dist/collection/components/my-component/UI/map/udp-map/popups/select-layer-popup.js +1 -1
- package/dist/collection/components/my-component/UI/map/udp-map/popups/split-line-popup.js +1 -1
- package/dist/collection/components/my-component/UI/map/udp-map/toolbar/map-toolbar.js +6 -6
- package/dist/collection/components/my-component/UI/map/udp-map/udp-map-toolbar.js +1 -1
- package/dist/collection/components/my-component/UI/map/udp-map/udp-map.js +3 -3
- package/dist/collection/components/my-component/UI/menu/menu-item/udp-menu-item.js +2 -2
- package/dist/collection/components/my-component/UI/stepper/udp-stepper-demo.js +1 -1
- package/dist/collection/components/my-component/UI/tabs/tab/tabs/udp-tabs.js +1 -1
- package/dist/collection/components/my-component/UI/tabs/tab/udp-tab.js +1 -1
- package/dist/collection/components/my-component/UI/toolbars/app-bar/app-bar.js +1 -1
- package/dist/collection/components/my-component/demo/ambient-demo-container.js +1 -1
- package/dist/collection/components/test-component/inputs-example/inputs-example.js +2 -2
- package/dist/collection/components/test-component/inputs-example/inputs-example.js.map +1 -1
- package/dist/collection/page-renderer/page-renderer.js +1 -1
- package/dist/collection/theme/color-preview/color-preview.js +1 -1
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -2
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -1
- package/dist/components/add-map-feature-popup.js +1 -1
- package/dist/components/advanced-search-grouped.js +1 -1
- package/dist/components/advanced-search.js +1 -1
- package/dist/components/ag-grid-base.js +1 -1
- package/dist/components/ag-table.js +1 -1
- package/dist/components/ambient-demo-container.js +1 -1
- package/dist/components/ambient-template-grid.js +1 -1
- package/dist/components/api-method-grid.js +4 -4
- package/dist/components/app-bar.js +1 -1
- package/dist/components/chart-container.js +1 -1
- package/dist/components/check-box-group.js +1 -1
- package/dist/components/check-box.js +1 -1
- package/dist/components/chip-section.js +3 -3
- package/dist/components/client-side-grid.js +3 -3
- package/dist/components/color-preview.js +1 -1
- package/dist/components/date-time-renderer.js +1 -1
- package/dist/components/edit-view-form-dialog.js +1 -1
- package/dist/components/feature-details-card.js +1 -1
- package/dist/components/feature-details-popup.js +1 -1
- package/dist/components/file-upload-renderer.js +1 -1
- package/dist/components/file-upload.js +1 -1
- package/dist/components/grid-header.js +1 -1
- package/dist/components/grid-primary-bar.js +1 -1
- package/dist/components/inputs-example.js +15 -15
- package/dist/components/inputs-example.js.map +1 -1
- package/dist/components/list-options-renderer.js +1 -1
- package/dist/components/map-component.js +1 -1
- package/dist/components/map-toolbar.js +1 -1
- package/dist/components/my-component.js +26 -26
- package/dist/components/numeric-field.js +1 -1
- package/dist/components/{p-CfZR5rek.js → p-0F2I6Qvn.js} +3 -3
- package/dist/components/{p-CfZR5rek.js.map → p-0F2I6Qvn.js.map} +1 -1
- package/dist/components/{p-BbC2Itep.js → p-1CPON0Xx.js} +5 -5
- package/dist/components/{p-BbC2Itep.js.map → p-1CPON0Xx.js.map} +1 -1
- package/dist/components/{p-IlXn87Ki.js → p-1Cv4cku0.js} +4 -14
- package/dist/components/p-1Cv4cku0.js.map +1 -0
- package/dist/components/{p-CTn3c76I.js → p-1uly65Sv.js} +3 -3
- package/dist/components/{p-CTn3c76I.js.map → p-1uly65Sv.js.map} +1 -1
- package/dist/components/{p-C8cWVxBF.js → p-26jyxB7s.js} +66 -27
- package/dist/components/p-26jyxB7s.js.map +1 -0
- package/dist/components/{p-GQEOUb0c.js → p-4hWvEEZf.js} +5 -5
- package/dist/components/{p-GQEOUb0c.js.map → p-4hWvEEZf.js.map} +1 -1
- package/dist/components/{p-HrsHnWeG.js → p-6EzLtNtq.js} +6 -6
- package/dist/components/{p-HrsHnWeG.js.map → p-6EzLtNtq.js.map} +1 -1
- package/dist/components/{p-syf9yo9-.js → p-8avkq8Fj.js} +4 -4
- package/dist/components/{p-syf9yo9-.js.map → p-8avkq8Fj.js.map} +1 -1
- package/dist/components/{p-B8k9GGZB.js → p-8paOuPay.js} +4 -4
- package/dist/components/{p-B8k9GGZB.js.map → p-8paOuPay.js.map} +1 -1
- package/dist/components/{p-DntePo7I.js → p-B2mj8zmp.js} +3 -3
- package/dist/components/{p-DntePo7I.js.map → p-B2mj8zmp.js.map} +1 -1
- package/dist/components/{p-Bv1MGbhE.js → p-B3gbGwCE.js} +50 -83
- package/dist/components/p-B3gbGwCE.js.map +1 -0
- package/dist/components/{p-ves_LtSN.js → p-B6A-djr0.js} +4 -4
- package/dist/components/{p-ves_LtSN.js.map → p-B6A-djr0.js.map} +1 -1
- package/dist/components/{p-D0T6NTw2.js → p-BANMRVyZ.js} +3 -3
- package/dist/components/{p-D0T6NTw2.js.map → p-BANMRVyZ.js.map} +1 -1
- package/dist/components/{p-D-JeGky8.js → p-BB2sALAW.js} +3 -3
- package/dist/components/{p-D-JeGky8.js.map → p-BB2sALAW.js.map} +1 -1
- package/dist/components/{p-DehJN46u.js → p-BLWvjl_b.js} +6 -6
- package/dist/components/{p-DehJN46u.js.map → p-BLWvjl_b.js.map} +1 -1
- package/dist/components/{p-y6ddPVSK.js → p-BO3Kzy6x.js} +6 -6
- package/dist/components/{p-y6ddPVSK.js.map → p-BO3Kzy6x.js.map} +1 -1
- package/dist/components/p-BY5RQ-T1.js +16 -0
- package/dist/components/p-BY5RQ-T1.js.map +1 -0
- package/dist/components/{p-ClToknIK.js → p-BbOHuqrJ.js} +5 -5
- package/dist/components/{p-ClToknIK.js.map → p-BbOHuqrJ.js.map} +1 -1
- package/dist/components/{p-CJsnV8uM.js → p-BfT3KUJC.js} +4 -4
- package/dist/components/{p-CJsnV8uM.js.map → p-BfT3KUJC.js.map} +1 -1
- package/dist/components/{p-BdWgc1UD.js → p-Bi8lqIP-.js} +8 -7
- package/dist/components/p-Bi8lqIP-.js.map +1 -0
- package/dist/components/{p-DNxY-i6k.js → p-BpD1NQKC.js} +5 -5
- package/dist/components/{p-DNxY-i6k.js.map → p-BpD1NQKC.js.map} +1 -1
- package/dist/components/p-BtOBW9_N.js +142 -0
- package/dist/components/p-BtOBW9_N.js.map +1 -0
- package/dist/components/{p-Akx0UDMW.js → p-BwPAbBUr.js} +4 -4
- package/dist/components/{p-Akx0UDMW.js.map → p-BwPAbBUr.js.map} +1 -1
- package/dist/components/p-BzH4NpB-.js +301 -0
- package/dist/components/p-BzH4NpB-.js.map +1 -0
- package/dist/components/{p-CSunqYw8.js → p-C-E6e6mL.js} +17 -17
- package/dist/components/{p-CSunqYw8.js.map → p-C-E6e6mL.js.map} +1 -1
- package/dist/components/{p-DWJbhjYR.js → p-C1K2NBql.js} +5 -5
- package/dist/components/{p-DWJbhjYR.js.map → p-C1K2NBql.js.map} +1 -1
- package/dist/components/{p-CNC3rtXm.js → p-C2j9tPIU.js} +4 -4
- package/dist/components/{p-CNC3rtXm.js.map → p-C2j9tPIU.js.map} +1 -1
- package/dist/components/p-C5aOw4Ij.js +168 -0
- package/dist/components/p-C5aOw4Ij.js.map +1 -0
- package/dist/components/{p-CJINZgmD.js → p-C6bm8Rs4.js} +17 -17
- package/dist/components/{p-CJINZgmD.js.map → p-C6bm8Rs4.js.map} +1 -1
- package/dist/components/{p-PqypuW_Q.js → p-CL4gkS6u.js} +22 -84
- package/dist/components/p-CL4gkS6u.js.map +1 -0
- package/dist/components/{p-DeS7YSzc.js → p-CMTLAuz8.js} +3 -3
- package/dist/components/{p-DeS7YSzc.js.map → p-CMTLAuz8.js.map} +1 -1
- package/dist/components/p-CWAWWTnd.js +47 -0
- package/dist/components/p-CWAWWTnd.js.map +1 -0
- package/dist/components/{p-B3-pcvgV.js → p-Cdz5sX_v.js} +38 -25
- package/dist/components/p-Cdz5sX_v.js.map +1 -0
- package/dist/components/{p-byKLubNE.js → p-Coa3kO6W.js} +3 -3
- package/dist/components/{p-byKLubNE.js.map → p-Coa3kO6W.js.map} +1 -1
- package/dist/components/{p-DzaN4l_Y.js → p-Cp1kbBGM.js} +5 -5
- package/dist/components/{p-DzaN4l_Y.js.map → p-Cp1kbBGM.js.map} +1 -1
- package/dist/components/{p-BYsLvu6g.js → p-CpMdhv3j.js} +69 -5
- package/dist/components/p-CpMdhv3j.js.map +1 -0
- package/dist/components/{p-BWI0GtPn.js → p-CpQin4NC.js} +7 -7
- package/dist/components/{p-BWI0GtPn.js.map → p-CpQin4NC.js.map} +1 -1
- package/dist/components/{p-DIPIddaO.js → p-CqiZ9SAU.js} +3 -3
- package/dist/components/{p-DIPIddaO.js.map → p-CqiZ9SAU.js.map} +1 -1
- package/dist/components/{p-DxJCXXmE.js → p-Cr_ifuX-.js} +27 -26
- package/dist/components/p-Cr_ifuX-.js.map +1 -0
- package/dist/components/{p-bLKTEsIH.js → p-CsMmUkoQ.js} +8 -8
- package/dist/components/{p-bLKTEsIH.js.map → p-CsMmUkoQ.js.map} +1 -1
- package/dist/components/{p-Cf-3pInV.js → p-Ct7EvUCI.js} +3 -3
- package/dist/components/{p-Cf-3pInV.js.map → p-Ct7EvUCI.js.map} +1 -1
- package/dist/components/{p-BbHv2Hzb.js → p-CvQ8X76F.js} +8 -8
- package/dist/components/{p-BbHv2Hzb.js.map → p-CvQ8X76F.js.map} +1 -1
- package/dist/components/{p-BEwTqpWE.js → p-CxOYMG-r.js} +4 -4
- package/dist/components/{p-BEwTqpWE.js.map → p-CxOYMG-r.js.map} +1 -1
- package/dist/components/{p-DOKGpXin.js → p-Cyigv-iT.js} +27 -8
- package/dist/components/p-Cyigv-iT.js.map +1 -0
- package/dist/components/{p-hRee3qYx.js → p-D6Wo7quX.js} +7 -2
- package/dist/components/p-D6Wo7quX.js.map +1 -0
- package/dist/components/{p-BUw3R0Ql.js → p-D9A5l8BE.js} +7 -7
- package/dist/components/{p-BUw3R0Ql.js.map → p-D9A5l8BE.js.map} +1 -1
- package/dist/components/{p-CDnOrzs3.js → p-DBtdo56U.js} +4 -4
- package/dist/components/{p-CDnOrzs3.js.map → p-DBtdo56U.js.map} +1 -1
- package/dist/components/{p-BIc3R4fE.js → p-DFKz-3Nr.js} +5 -5
- package/dist/components/{p-BIc3R4fE.js.map → p-DFKz-3Nr.js.map} +1 -1
- package/dist/components/{p-BJerffMg.js → p-DL9uHt-7.js} +5 -5
- package/dist/components/{p-BJerffMg.js.map → p-DL9uHt-7.js.map} +1 -1
- package/dist/components/{p-DIcPqQkn.js → p-DSIcWNUB.js} +5 -4
- package/dist/components/p-DSIcWNUB.js.map +1 -0
- package/dist/components/{p-CRiQA7Cy.js → p-DZaCCOXB.js} +69 -5
- package/dist/components/p-DZaCCOXB.js.map +1 -0
- package/dist/components/{p-BwHEv1Kb.js → p-DaMmzX_J.js} +13 -13
- package/dist/components/{p-BwHEv1Kb.js.map → p-DaMmzX_J.js.map} +1 -1
- package/dist/components/{p-CY0PAhIT.js → p-Dmmz74K2.js} +4 -4
- package/dist/components/{p-CY0PAhIT.js.map → p-Dmmz74K2.js.map} +1 -1
- package/dist/components/{p-DMcaGgHq.js → p-DnMRLbBX.js} +5 -5
- package/dist/components/{p-DMcaGgHq.js.map → p-DnMRLbBX.js.map} +1 -1
- package/dist/components/{p-ChdtzL8Z.js → p-Dpvhge5H.js} +10 -9
- package/dist/components/p-Dpvhge5H.js.map +1 -0
- package/dist/components/p-DtiAfg0X.js +25 -0
- package/dist/components/p-DtiAfg0X.js.map +1 -0
- package/dist/components/{p-XoXMxeuq.js → p-Dwnxv7WO.js} +3 -3
- package/dist/components/{p-XoXMxeuq.js.map → p-Dwnxv7WO.js.map} +1 -1
- package/dist/components/{p-BvSuY3tY.js → p-Dx5ehH3t.js} +7 -7
- package/dist/components/{p-BvSuY3tY.js.map → p-Dx5ehH3t.js.map} +1 -1
- package/dist/components/{p-DueJnVH4.js → p-DyC6jVV8.js} +10 -9
- package/dist/components/p-DyC6jVV8.js.map +1 -0
- package/dist/components/{p-Bdt-oOnd.js → p-Oil5iqFm.js} +120 -8
- package/dist/components/p-Oil5iqFm.js.map +1 -0
- package/dist/components/{p-C6aDnKNm.js → p-P3YTnOWe.js} +5 -5
- package/dist/components/{p-C6aDnKNm.js.map → p-P3YTnOWe.js.map} +1 -1
- package/dist/components/{p-CLvAjrtw.js → p-Qxi-zxd0.js} +8 -8
- package/dist/components/{p-CLvAjrtw.js.map → p-Qxi-zxd0.js.map} +1 -1
- package/dist/components/{p-DRO3I7Mm.js → p-Qxw1cxga.js} +8 -8
- package/dist/components/{p-DRO3I7Mm.js.map → p-Qxw1cxga.js.map} +1 -1
- package/dist/components/{p-DLWUrvpt.js → p-Tu9UB-v3.js} +5 -5
- package/dist/components/{p-DLWUrvpt.js.map → p-Tu9UB-v3.js.map} +1 -1
- package/dist/components/{p-DQIj9UI7.js → p-Ut5zP7nE.js} +5 -5
- package/dist/components/{p-DQIj9UI7.js.map → p-Ut5zP7nE.js.map} +1 -1
- package/dist/components/{p-Thx6k3Xp.js → p-WLd9SWLl.js} +4 -4
- package/dist/components/{p-Thx6k3Xp.js.map → p-WLd9SWLl.js.map} +1 -1
- package/dist/components/{p-BTIWOttf.js → p-W_kxEzVl.js} +6 -6
- package/dist/components/{p-BTIWOttf.js.map → p-W_kxEzVl.js.map} +1 -1
- package/dist/components/{p-BOW03S7b.js → p-XP8tp0pm.js} +5 -5
- package/dist/components/{p-BOW03S7b.js.map → p-XP8tp0pm.js.map} +1 -1
- package/dist/components/{p-w2FTnlQG.js → p-_HuUfybA.js} +3 -3
- package/dist/components/{p-w2FTnlQG.js.map → p-_HuUfybA.js.map} +1 -1
- package/dist/components/{p-BU706xtx.js → p-hWgAmNsF.js} +3 -3
- package/dist/components/{p-BU706xtx.js.map → p-hWgAmNsF.js.map} +1 -1
- package/dist/components/{p-Bykep8mm.js → p-ibwbE8nI.js} +4 -4
- package/dist/components/{p-Bykep8mm.js.map → p-ibwbE8nI.js.map} +1 -1
- package/dist/components/{p-CA-v1fbV.js → p-ill5r6eV.js} +40 -9
- package/dist/components/p-ill5r6eV.js.map +1 -0
- package/dist/components/{p-DqYsDDHy.js → p-jdqTpLxN.js} +4 -4
- package/dist/components/{p-DqYsDDHy.js.map → p-jdqTpLxN.js.map} +1 -1
- package/dist/components/{p-ByM88ZWk.js → p-jpt3zFdi.js} +3 -3
- package/dist/components/{p-ByM88ZWk.js.map → p-jpt3zFdi.js.map} +1 -1
- package/dist/components/{p-BEtm34A3.js → p-ncemY4Wx.js} +37 -36
- package/dist/components/p-ncemY4Wx.js.map +1 -0
- package/dist/components/{p-DqPGCQm2.js → p-s8qXxEgi.js} +3 -3
- package/dist/components/{p-DqPGCQm2.js.map → p-s8qXxEgi.js.map} +1 -1
- package/dist/components/p-vrP9HZiW.js +156 -0
- package/dist/components/p-vrP9HZiW.js.map +1 -0
- package/dist/components/{p-D32jPxWa.js → p-ycrk0Lr4.js} +5 -5
- package/dist/components/{p-D32jPxWa.js.map → p-ycrk0Lr4.js.map} +1 -1
- package/dist/components/page-renderer.js +21 -21
- package/dist/components/primary-action-header.js +1 -1
- package/dist/components/question-configs-renderer.js +1 -1
- package/dist/components/question-specific-configs-renderer.js +1 -1
- package/dist/components/resource-timeline-calendar.js +5 -5
- package/dist/components/resource-timeline-primary-bar.js +1 -1
- package/dist/components/save-view-form-dialog.js +1 -1
- package/dist/components/search-list-item.js +1 -1
- package/dist/components/section-configs-renderer.js +1 -1
- package/dist/components/select-layer-popup.js +1 -1
- package/dist/components/server-side-grid.js +1 -1
- package/dist/components/side-sheet.js +1 -1
- package/dist/components/signature-input.js +1 -1
- package/dist/components/split-line-popup.js +1 -1
- package/dist/components/stencil-field.js +1 -1
- package/dist/components/stencil-form.js +1 -1
- package/dist/components/stencil-icon-button.js +1 -1
- package/dist/components/stencil-toggle.js +1 -1
- package/dist/components/tally-display.js +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/text-field.js +1 -1
- package/dist/components/text-input-renderer.js +1 -1
- package/dist/components/udp-ambient-card.js +1 -1
- package/dist/components/udp-avatar.js +1 -1
- package/dist/components/udp-bar-chart.js +1 -1
- package/dist/components/udp-charts-example.js +7 -7
- package/dist/components/udp-container-query-grid-item.js +1 -1
- package/dist/components/udp-container-query-grid.js +2 -2
- package/dist/components/udp-container-query.js +1 -1
- package/dist/components/udp-container.js +1 -1
- package/dist/components/udp-date-selector.js +1 -1
- package/dist/components/udp-datetime-selector.js +1 -1
- package/dist/components/udp-distribution-chart.js +1 -1
- package/dist/components/udp-donut-chart.js +1 -1
- package/dist/components/udp-dynamic-container-with-menu.js +1 -1
- package/dist/components/udp-dynamic-form.js +4 -4
- package/dist/components/udp-forms-builder-menu.js +1 -1
- package/dist/components/udp-forms-builder-question-item.js +1 -1
- package/dist/components/udp-forms-builder-style-override.js +1 -1
- package/dist/components/udp-forms-builder.js +162 -183
- package/dist/components/udp-forms-builder.js.map +1 -1
- package/dist/components/udp-forms-list-card.js +1 -1
- package/dist/components/udp-forms-list.js +10 -10
- package/dist/components/udp-forms-renderer.js +244 -219
- package/dist/components/udp-forms-renderer.js.map +1 -1
- package/dist/components/udp-forms-ui.js +1 -1
- package/dist/components/udp-grid-loader.js +1 -1
- package/dist/components/udp-hotlist-form.js +1 -1
- package/dist/components/udp-icon-button.d.ts +11 -0
- package/dist/components/udp-icon-button.js +9 -0
- package/dist/components/udp-icon-button.js.map +1 -0
- package/dist/components/udp-icon.js +1 -1
- package/dist/components/udp-line-chart.js +1 -1
- package/dist/components/udp-linear-loader.js +1 -1
- package/dist/components/udp-list-item.js +2 -2
- package/dist/components/udp-map-toolbar.js +1 -1
- package/dist/components/udp-map.js +17 -17
- package/dist/components/udp-menu-item.js +1 -1
- package/dist/components/udp-page.js +1 -1
- package/dist/components/udp-question.js +1 -1
- package/dist/components/udp-save-draft-button.d.ts +11 -0
- package/dist/components/udp-save-draft-button.js +9 -0
- package/dist/components/udp-save-draft-button.js.map +1 -0
- package/dist/components/udp-selector.js +1 -1
- package/dist/components/udp-side-sheet.js +1 -1
- package/dist/components/udp-skeleton-loading.js +1 -1
- package/dist/components/udp-split-screen.js +1 -1
- package/dist/components/udp-stepper-demo.js +1 -1
- package/dist/components/udp-tab.js +1 -1
- package/dist/components/udp-tabs.js +1 -1
- package/dist/components/udp-time-selector.js +1 -1
- package/dist/components/udp-vertical-spacer.js +1 -1
- package/dist/esm/add-map-feature-popup_4.entry.js +11 -11
- package/dist/esm/advanced-search_50.entry.js +109 -41
- package/dist/esm/advanced-search_50.entry.js.map +1 -1
- package/dist/esm/ag-grid-base_2.entry.js +2 -2
- package/dist/esm/api-method-grid.entry.js +1 -1
- package/dist/esm/check-box.entry.js +2 -2
- package/dist/esm/chip-section.entry.js +2 -2
- package/dist/esm/client-side-grid.entry.js +1 -1
- package/dist/esm/color-preview.entry.js +1 -1
- package/dist/esm/date-time-renderer.file-upload-renderer.list-options-renderer.question-specific-configs-renderer.text-input-renderer.entry.js.map +1 -1
- package/dist/esm/date-time-renderer_5.entry.js +17 -16
- package/dist/esm/date-time-renderer_5.entry.js.map +1 -1
- package/dist/esm/enums-DtiAfg0X.js +25 -0
- package/dist/esm/enums-DtiAfg0X.js.map +1 -0
- package/dist/esm/feature-details-card_2.entry.js +5 -5
- package/dist/esm/file-upload.selectable-list.stencil-field.entry.js.map +1 -1
- package/dist/esm/file-upload_3.entry.js +73 -29
- package/dist/esm/file-upload_3.entry.js.map +1 -1
- package/dist/esm/index-CaIWDYyq.js +8 -8
- package/dist/esm/inputs-example.entry.js +2 -2
- package/dist/esm/inputs-example.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-component_2.entry.js +2 -2
- package/dist/esm/numeric-field.text-area.udp-date-selector.udp-datetime-selector.udp-time-selector.entry.js.map +1 -1
- package/dist/esm/numeric-field_5.entry.js +195 -20
- package/dist/esm/numeric-field_5.entry.js.map +1 -1
- package/dist/esm/page-renderer.entry.js +1 -1
- package/dist/esm/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.udp-forms-builder-style-override.entry.js.map +1 -1
- package/dist/esm/question-configs-renderer_5.entry.js +17 -4
- package/dist/esm/question-configs-renderer_5.entry.js.map +1 -1
- package/dist/esm/resource-timeline-calendar.entry.js +1 -1
- package/dist/esm/resource-timeline-primary-bar.entry.js +1 -1
- package/dist/esm/server-side-grid.entry.js +1 -1
- package/dist/esm/signature-input.stencil-form.tally-display.udp-icon-button.udp-question.udp-save-draft-button.entry.js.map +1 -0
- package/dist/esm/{signature-input_4.entry.js → signature-input_6.entry.js} +315 -115
- package/dist/esm/signature-input_6.entry.js.map +1 -0
- package/dist/esm/stencil-library.js +1 -1
- package/dist/esm/udp-container-query-grid-item.entry.js +1 -1
- package/dist/esm/udp-container-query-grid.entry.js +1 -1
- package/dist/esm/udp-container-query.entry.js +2 -2
- package/dist/esm/udp-container.entry.js +2 -2
- package/dist/esm/udp-drive-utils-Cm3Sms8t.js +168 -0
- package/dist/esm/udp-drive-utils-Cm3Sms8t.js.map +1 -0
- package/dist/esm/udp-forms-builder.entry.js +133 -152
- package/dist/esm/udp-forms-builder.entry.js.map +1 -1
- package/dist/esm/udp-forms-list-card_2.entry.js +5 -5
- package/dist/esm/udp-forms-list.entry.js +1 -1
- package/dist/esm/udp-forms-renderer.entry.js +186 -176
- package/dist/esm/udp-forms-renderer.entry.js.map +1 -1
- package/dist/esm/udp-forms-ui.entry.js +113 -82
- package/dist/esm/udp-forms-ui.entry.js.map +1 -1
- package/dist/esm/udp-map.entry.js +3 -3
- package/dist/esm/udp-page.entry.js +1 -1
- package/dist/esm/udp-split-screen.entry.js +1 -1
- package/dist/esm/udp-stepper-demo.entry.js +1 -1
- package/dist/esm/udp-vertical-spacer.entry.js +1 -1
- package/dist/esm/utils-DZv4MqyU.js +31 -0
- package/dist/esm/utils-DZv4MqyU.js.map +1 -0
- package/dist/stencil-library/date-time-renderer.file-upload-renderer.list-options-renderer.question-specific-configs-renderer.text-input-renderer.entry.esm.js.map +1 -1
- package/dist/stencil-library/file-upload.selectable-list.stencil-field.entry.esm.js.map +1 -1
- package/dist/stencil-library/inputs-example.entry.esm.js.map +1 -1
- package/dist/stencil-library/numeric-field.text-area.udp-date-selector.udp-datetime-selector.udp-time-selector.entry.esm.js.map +1 -1
- package/dist/stencil-library/p-09319660.entry.js +2 -0
- package/dist/stencil-library/p-09319660.entry.js.map +1 -0
- package/dist/stencil-library/p-146bc917.entry.js +2 -0
- package/dist/stencil-library/{p-b3b6310e.entry.js → p-147c4595.entry.js} +2 -2
- package/dist/stencil-library/{p-06ca29e0.entry.js → p-1b001f78.entry.js} +2 -2
- package/dist/stencil-library/{p-762591f6.entry.js → p-2635a6cc.entry.js} +2 -2
- package/dist/stencil-library/p-2f2fd111.entry.js +2 -0
- package/dist/stencil-library/{p-368be454.entry.js → p-2fc495ce.entry.js} +2 -2
- package/dist/stencil-library/{p-fdfa7087.entry.js → p-476c08df.entry.js} +2 -2
- package/dist/stencil-library/{p-ee1610d3.entry.js → p-4ab893a0.entry.js} +2 -2
- package/dist/stencil-library/p-4dac2b6d.entry.js +2 -0
- package/dist/stencil-library/p-4dac2b6d.entry.js.map +1 -0
- package/dist/stencil-library/p-556a182f.entry.js +2 -0
- package/dist/stencil-library/p-556a182f.entry.js.map +1 -0
- package/dist/stencil-library/p-5ac16f81.entry.js +2 -0
- package/dist/stencil-library/p-5ac16f81.entry.js.map +1 -0
- package/dist/stencil-library/p-609236fc.entry.js +2 -0
- package/dist/stencil-library/p-609236fc.entry.js.map +1 -0
- package/dist/stencil-library/{p-9b0b311b.entry.js → p-64330dbb.entry.js} +2 -2
- package/dist/stencil-library/p-65a5cce3.entry.js +2 -0
- package/dist/stencil-library/{p-5a946191.entry.js → p-70d8a0d8.entry.js} +2 -2
- package/dist/stencil-library/{p-79065768.entry.js → p-8119eb18.entry.js} +2 -2
- package/dist/stencil-library/{p-2f99476a.entry.js → p-86cd0134.entry.js} +2 -2
- package/dist/stencil-library/p-89aa56f1.entry.js +2 -0
- package/dist/stencil-library/p-89aa56f1.entry.js.map +1 -0
- package/dist/stencil-library/{p-767b7be7.entry.js → p-8a0b6bd4.entry.js} +2 -2
- package/dist/stencil-library/{p-40127f9f.entry.js → p-90fbca0f.entry.js} +2 -2
- package/dist/stencil-library/p-C5aOw4Ij.js +2 -0
- package/dist/stencil-library/p-C5aOw4Ij.js.map +1 -0
- package/dist/stencil-library/p-DZv4MqyU.js +2 -0
- package/dist/stencil-library/p-DZv4MqyU.js.map +1 -0
- package/dist/stencil-library/p-DtiAfg0X.js +2 -0
- package/dist/stencil-library/p-DtiAfg0X.js.map +1 -0
- package/dist/stencil-library/{p-f4f4ba61.entry.js → p-a98b033e.entry.js} +2 -2
- package/dist/stencil-library/p-a98b033e.entry.js.map +1 -0
- package/dist/stencil-library/{p-2a11c543.entry.js → p-ae167d4b.entry.js} +2 -2
- package/dist/stencil-library/{p-55459135.entry.js → p-b53e1b9a.entry.js} +2 -2
- package/dist/stencil-library/p-c1966f2c.entry.js +2 -0
- package/dist/stencil-library/p-c1966f2c.entry.js.map +1 -0
- package/dist/stencil-library/{p-0de6045a.entry.js → p-c9046d64.entry.js} +2 -2
- package/dist/stencil-library/{p-c1809ef3.entry.js → p-ca53be83.entry.js} +2 -2
- package/dist/stencil-library/p-d46dd16c.entry.js +2 -0
- package/dist/stencil-library/{p-09186dea.entry.js → p-d48b5599.entry.js} +2 -2
- package/dist/stencil-library/p-d4f31146.entry.js +2 -0
- package/dist/stencil-library/p-d4f31146.entry.js.map +1 -0
- package/dist/stencil-library/{p-b0b70c0b.entry.js → p-e7e8a8a3.entry.js} +2 -2
- package/dist/stencil-library/p-ea6e9a24.entry.js +2 -0
- package/dist/stencil-library/p-ea6e9a24.entry.js.map +1 -0
- package/dist/stencil-library/{p-79587009.entry.js → p-f4b5879d.entry.js} +2 -2
- package/dist/stencil-library/p-fbfbbcf1.entry.js +2 -0
- package/dist/stencil-library/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.udp-forms-builder-style-override.entry.esm.js.map +1 -1
- package/dist/stencil-library/signature-input.stencil-form.tally-display.udp-icon-button.udp-question.udp-save-draft-button.entry.esm.js.map +1 -0
- package/dist/stencil-library/stencil-library.esm.js +1 -1
- package/dist/stencil-library/udp-forms-builder.entry.esm.js.map +1 -1
- package/dist/stencil-library/udp-forms-renderer.entry.esm.js.map +1 -1
- package/dist/stencil-library/udp-forms-ui.entry.esm.js.map +1 -1
- package/dist/types/components/my-component/UI/buttons/icon-button/stencil-icon-button.d.ts +14 -0
- package/dist/types/components/my-component/UI/buttons/udp-icon-button/udp-icon-button.d.ts +91 -0
- package/dist/types/components/my-component/UI/forms/form/stencil-field.d.ts +2 -1
- package/dist/types/components/my-component/UI/forms/form/stencil-form.d.ts +7 -5
- package/dist/types/components/my-component/UI/forms/udp-forms/types.d.ts +16 -0
- package/dist/types/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question_type_renderers/section-configs-renderer.d.ts +1 -0
- package/dist/types/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder.d.ts +16 -19
- package/dist/types/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.d.ts +14 -26
- package/dist/types/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-forms-ui.d.ts +21 -7
- package/dist/types/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-save-draft-button/udp-save-draft-button.d.ts +20 -0
- package/dist/types/components/my-component/UI/inputs/file-upload/file-upload.d.ts +1 -1
- package/dist/types/components/my-component/UI/inputs/file-upload/udp-drive-utils.d.ts +68 -1
- package/dist/types/components/my-component/UI/inputs/numeric-field/numeric-field.d.ts +1 -1
- package/dist/types/components/my-component/UI/inputs/signature-input/signature-input.d.ts +1 -1
- package/dist/types/components/my-component/UI/inputs/text-area/text-area.d.ts +21 -0
- package/dist/types/components/my-component/UI/inputs/text-field/text-field.d.ts +21 -0
- package/dist/types/components/my-component/UI/inputs/time-selector/udp-time-selector.d.ts +33 -1
- package/dist/types/components.d.ts +384 -14
- package/package.json +1 -1
- package/dist/cjs/signature-input.stencil-form.tally-display.udp-question.entry.cjs.js.map +0 -1
- package/dist/cjs/signature-input_4.cjs.entry.js.map +0 -1
- package/dist/cjs/utils-DMhqs00g.js +0 -55
- package/dist/cjs/utils-DMhqs00g.js.map +0 -1
- package/dist/collection/components/my-component/UI/forms/form/stencil-field.css +0 -70
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.css +0 -89
- package/dist/components/p-B3-pcvgV.js.map +0 -1
- package/dist/components/p-BEtm34A3.js.map +0 -1
- package/dist/components/p-BYsLvu6g.js.map +0 -1
- package/dist/components/p-BdWgc1UD.js.map +0 -1
- package/dist/components/p-Bdt-oOnd.js.map +0 -1
- package/dist/components/p-Bv1MGbhE.js.map +0 -1
- package/dist/components/p-C8cWVxBF.js.map +0 -1
- package/dist/components/p-C9cEH65u.js +0 -307
- package/dist/components/p-C9cEH65u.js.map +0 -1
- package/dist/components/p-CA-v1fbV.js.map +0 -1
- package/dist/components/p-CRiQA7Cy.js.map +0 -1
- package/dist/components/p-ChdtzL8Z.js.map +0 -1
- package/dist/components/p-DIcPqQkn.js.map +0 -1
- package/dist/components/p-DOKGpXin.js.map +0 -1
- package/dist/components/p-DueJnVH4.js.map +0 -1
- package/dist/components/p-DxJCXXmE.js.map +0 -1
- package/dist/components/p-IlXn87Ki.js.map +0 -1
- package/dist/components/p-PqypuW_Q.js.map +0 -1
- package/dist/components/p-hRee3qYx.js.map +0 -1
- package/dist/esm/signature-input.stencil-form.tally-display.udp-question.entry.js.map +0 -1
- package/dist/esm/signature-input_4.entry.js.map +0 -1
- package/dist/esm/utils-vXSpJxEK.js +0 -52
- package/dist/esm/utils-vXSpJxEK.js.map +0 -1
- package/dist/stencil-library/p-00c1ce44.entry.js +0 -2
- package/dist/stencil-library/p-00c1ce44.entry.js.map +0 -1
- package/dist/stencil-library/p-250a8400.entry.js +0 -2
- package/dist/stencil-library/p-2fda98ee.entry.js +0 -2
- package/dist/stencil-library/p-2fda98ee.entry.js.map +0 -1
- package/dist/stencil-library/p-50f67815.entry.js +0 -2
- package/dist/stencil-library/p-50f67815.entry.js.map +0 -1
- package/dist/stencil-library/p-584552e6.entry.js +0 -2
- package/dist/stencil-library/p-5e96c57a.entry.js +0 -2
- package/dist/stencil-library/p-5e96c57a.entry.js.map +0 -1
- package/dist/stencil-library/p-6a1febc9.entry.js +0 -2
- package/dist/stencil-library/p-6ed5258c.entry.js +0 -2
- package/dist/stencil-library/p-6ed5258c.entry.js.map +0 -1
- package/dist/stencil-library/p-77739d4b.entry.js +0 -2
- package/dist/stencil-library/p-77739d4b.entry.js.map +0 -1
- package/dist/stencil-library/p-7a2202b9.entry.js +0 -2
- package/dist/stencil-library/p-7a2202b9.entry.js.map +0 -1
- package/dist/stencil-library/p-84109194.entry.js +0 -2
- package/dist/stencil-library/p-b1d412a7.entry.js +0 -2
- package/dist/stencil-library/p-b1d412a7.entry.js.map +0 -1
- package/dist/stencil-library/p-f4f4ba61.entry.js.map +0 -1
- package/dist/stencil-library/p-f7c855d0.entry.js +0 -2
- package/dist/stencil-library/p-f889438a.entry.js +0 -2
- package/dist/stencil-library/p-f889438a.entry.js.map +0 -1
- package/dist/stencil-library/p-vXSpJxEK.js +0 -2
- package/dist/stencil-library/p-vXSpJxEK.js.map +0 -1
- package/dist/stencil-library/signature-input.stencil-form.tally-display.udp-question.entry.esm.js.map +0 -1
- /package/dist/stencil-library/{p-84109194.entry.js.map → p-146bc917.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-b3b6310e.entry.js.map → p-147c4595.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-06ca29e0.entry.js.map → p-1b001f78.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-762591f6.entry.js.map → p-2635a6cc.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-6a1febc9.entry.js.map → p-2f2fd111.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-368be454.entry.js.map → p-2fc495ce.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-fdfa7087.entry.js.map → p-476c08df.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-ee1610d3.entry.js.map → p-4ab893a0.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-9b0b311b.entry.js.map → p-64330dbb.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-584552e6.entry.js.map → p-65a5cce3.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-5a946191.entry.js.map → p-70d8a0d8.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-79065768.entry.js.map → p-8119eb18.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-2f99476a.entry.js.map → p-86cd0134.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-767b7be7.entry.js.map → p-8a0b6bd4.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-40127f9f.entry.js.map → p-90fbca0f.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-2a11c543.entry.js.map → p-ae167d4b.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-55459135.entry.js.map → p-b53e1b9a.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-0de6045a.entry.js.map → p-c9046d64.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-c1809ef3.entry.js.map → p-ca53be83.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-f7c855d0.entry.js.map → p-d46dd16c.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-09186dea.entry.js.map → p-d48b5599.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-b0b70c0b.entry.js.map → p-e7e8a8a3.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-79587009.entry.js.map → p-f4b5879d.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-250a8400.entry.js.map → p-fbfbbcf1.entry.js.map} +0 -0
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-DPon6DDX.js';
|
|
2
|
-
import {
|
|
2
|
+
import { throttle } from 'lodash';
|
|
3
3
|
import { g as getCurrentTenantId } from './p-Basdb1b1.js';
|
|
4
4
|
import { c as createFormData, m as makeApiCall } from './p-B-daVutk.js';
|
|
5
5
|
import { C as ConfigService } from './p-Cn7PuhQz.js';
|
|
6
6
|
import { S as SearchBuilder, c as SearchOperators } from './p-BlJaGZ4k.js';
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$
|
|
28
|
-
import { d as defineCustomElement$
|
|
7
|
+
import { d as defineCustomElement$q } from './p-DpLtIIwx.js';
|
|
8
|
+
import { d as defineCustomElement$p } from './p-Cdz5sX_v.js';
|
|
9
|
+
import { d as defineCustomElement$o } from './p-Dx5ehH3t.js';
|
|
10
|
+
import { d as defineCustomElement$n } from './p-BU3lEg0a.js';
|
|
11
|
+
import { d as defineCustomElement$m } from './p-B3gbGwCE.js';
|
|
12
|
+
import { d as defineCustomElement$l } from './p-ill5r6eV.js';
|
|
13
|
+
import { d as defineCustomElement$k } from './p-26jyxB7s.js';
|
|
14
|
+
import { d as defineCustomElement$j } from './p-D6Wo7quX.js';
|
|
15
|
+
import { d as defineCustomElement$i } from './p-C2j9tPIU.js';
|
|
16
|
+
import { d as defineCustomElement$h } from './p-DZaCCOXB.js';
|
|
17
|
+
import { d as defineCustomElement$g } from './p-CpMdhv3j.js';
|
|
18
|
+
import { d as defineCustomElement$f } from './p-BGjVmQGN.js';
|
|
19
|
+
import { d as defineCustomElement$e } from './p-CMTLAuz8.js';
|
|
20
|
+
import { d as defineCustomElement$d } from './p-ZeWoGdjP.js';
|
|
21
|
+
import { d as defineCustomElement$c } from './p-C-wDzVCk.js';
|
|
22
|
+
import { d as defineCustomElement$b } from './p-DBtdo56U.js';
|
|
23
|
+
import { d as defineCustomElement$a } from './p-Cp1kbBGM.js';
|
|
24
|
+
import { d as defineCustomElement$9 } from './p-DnMRLbBX.js';
|
|
25
|
+
import { d as defineCustomElement$8 } from './p-BzH4NpB-.js';
|
|
26
|
+
import { d as defineCustomElement$7 } from './p-vrP9HZiW.js';
|
|
27
|
+
import { d as defineCustomElement$6 } from './p-CL4gkS6u.js';
|
|
28
|
+
import { d as defineCustomElement$5 } from './p-BtOBW9_N.js';
|
|
29
|
+
import { d as defineCustomElement$4 } from './p-W_kxEzVl.js';
|
|
30
|
+
import { d as defineCustomElement$3 } from './p-Oil5iqFm.js';
|
|
29
31
|
import { d as defineCustomElement$2 } from './p-DkppmXNM.js';
|
|
30
32
|
|
|
31
33
|
/**
|
|
@@ -68,6 +70,7 @@ function isFileArray(array) {
|
|
|
68
70
|
return array.every(item => item instanceof File);
|
|
69
71
|
}
|
|
70
72
|
|
|
73
|
+
// @ts-nocheck
|
|
71
74
|
/**
|
|
72
75
|
* Public form submission handler (legacy endpoint)
|
|
73
76
|
*/
|
|
@@ -242,11 +245,7 @@ class PrivateFormHandler extends BaseFormHandler {
|
|
|
242
245
|
dataWithoutFiles[key] = value.map(item => (typeof item === 'string' ? item : item.value)).join(',');
|
|
243
246
|
}
|
|
244
247
|
else {
|
|
245
|
-
|
|
246
|
-
// Skip null, undefined, or empty string values entirely
|
|
247
|
-
if (value !== null && value !== undefined && value !== '') {
|
|
248
|
-
dataWithoutFiles[key] = value;
|
|
249
|
-
}
|
|
248
|
+
dataWithoutFiles[key] = value;
|
|
250
249
|
}
|
|
251
250
|
}
|
|
252
251
|
// Add form data using the helper function
|
|
@@ -311,7 +310,7 @@ const UdpFormsRenderer$1 = /*@__PURE__*/ proxyCustomElement(class UdpFormsRender
|
|
|
311
310
|
this.__attachShadow();
|
|
312
311
|
this.isPublic = false;
|
|
313
312
|
this.userId = null; // User ID for authenticated users
|
|
314
|
-
this.autoSaveDelay = 2000; // Debounce delay for auto-save in milliseconds
|
|
313
|
+
this.autoSaveDelay = 2000; // Debounce delay for auto-save in milliseconds (currently disabled)
|
|
315
314
|
this.initialValues = {};
|
|
316
315
|
this.submitSuccessful = false;
|
|
317
316
|
this.existingSubmission = null;
|
|
@@ -319,13 +318,135 @@ const UdpFormsRenderer$1 = /*@__PURE__*/ proxyCustomElement(class UdpFormsRender
|
|
|
319
318
|
this.isSaving = false;
|
|
320
319
|
this.saveError = null;
|
|
321
320
|
this.isSubmitted = false;
|
|
321
|
+
this.dynamicSections = [];
|
|
322
|
+
this.isUpdatingSections = false;
|
|
323
|
+
this.reRenderKey = 0;
|
|
322
324
|
this.tenantId = getCurrentTenantId();
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
325
|
+
/**
|
|
326
|
+
* Duplicate a repeatable section
|
|
327
|
+
*/
|
|
328
|
+
this.duplicateRepeatableSection = (index) => {
|
|
329
|
+
if (this.isSubmitted || this.isUpdatingSections)
|
|
330
|
+
return;
|
|
331
|
+
this.isUpdatingSections = true;
|
|
332
|
+
this.loading = true;
|
|
333
|
+
try {
|
|
334
|
+
const sectionToClone = this.dynamicSections[index];
|
|
335
|
+
if (!sectionToClone)
|
|
336
|
+
return;
|
|
337
|
+
const cloningSectionName = sectionToClone.name;
|
|
338
|
+
// Find existing repeat group indices
|
|
339
|
+
const repeatKeys = this.findRepeatGroupKeys(cloningSectionName, this.initialValues);
|
|
340
|
+
const nextRepeatIndex = repeatKeys.length > 0 ? Math.max(...repeatKeys) + 1 : 2;
|
|
341
|
+
const clonedSection = Object.assign(Object.assign({}, structuredClone(sectionToClone)), { formQuestions: sectionToClone.formQuestions.map(q => (Object.assign(Object.assign({}, structuredClone(q)), { processedSubmissionName: `${cloningSectionName}_${nextRepeatIndex}-${q.name}` }))), isOriginalSection: false, sectionPositionSuffix: nextRepeatIndex });
|
|
342
|
+
// Find the last index of this section group
|
|
343
|
+
let insertAtIndex = index;
|
|
344
|
+
for (let i = index + 1; i < this.dynamicSections.length; i++) {
|
|
345
|
+
const s = this.dynamicSections[i];
|
|
346
|
+
if (s.name === cloningSectionName) {
|
|
347
|
+
insertAtIndex = i;
|
|
348
|
+
}
|
|
349
|
+
else {
|
|
350
|
+
break;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
// Insert after the last repeat of the section group
|
|
354
|
+
this.dynamicSections = [...this.dynamicSections.slice(0, insertAtIndex + 1), clonedSection, ...this.dynamicSections.slice(insertAtIndex + 1)];
|
|
355
|
+
// Create new initial values structure
|
|
356
|
+
const newInitialValues = Object.assign({}, this.currentFormData);
|
|
357
|
+
clonedSection.formQuestions.forEach(q => {
|
|
358
|
+
newInitialValues[q.processedSubmissionName] = null;
|
|
359
|
+
});
|
|
360
|
+
// This will trigger a complete form re-render
|
|
361
|
+
this.initialValues = newInitialValues;
|
|
362
|
+
this.currentFormData = newInitialValues;
|
|
363
|
+
this.reRenderKey += 1;
|
|
364
|
+
}
|
|
365
|
+
finally {
|
|
366
|
+
this.isUpdatingSections = false;
|
|
367
|
+
this.loading = false;
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* Delete a repeatable section
|
|
372
|
+
*/
|
|
373
|
+
this.deleteRepeatableSection = (index) => {
|
|
374
|
+
if (this.isSubmitted)
|
|
375
|
+
return;
|
|
376
|
+
const sectionToDelete = this.dynamicSections[index];
|
|
377
|
+
if (!sectionToDelete || sectionToDelete.isOriginalSection)
|
|
378
|
+
return;
|
|
379
|
+
this.isUpdatingSections = true;
|
|
380
|
+
this.loading = true;
|
|
381
|
+
try {
|
|
382
|
+
const deleteSectionName = sectionToDelete.name;
|
|
383
|
+
// Remove the section's initial values\
|
|
384
|
+
console.log('currentformdata', this.currentFormData);
|
|
385
|
+
const newInitialValues = Object.assign({}, this.currentFormData);
|
|
386
|
+
sectionToDelete.formQuestions.forEach(q => {
|
|
387
|
+
delete newInitialValues[q.processedSubmissionName];
|
|
388
|
+
});
|
|
389
|
+
// Remove the section from dynamicSections
|
|
390
|
+
const updatedSections = structuredClone(this.dynamicSections);
|
|
391
|
+
updatedSections.splice(index, 1);
|
|
392
|
+
let suffixCounter = 2;
|
|
393
|
+
updatedSections.forEach(section => {
|
|
394
|
+
// no need to process unrelated sections or originalSections
|
|
395
|
+
if (section.name !== deleteSectionName || section.isOriginalSection) {
|
|
396
|
+
return;
|
|
397
|
+
}
|
|
398
|
+
section.sectionPositionSuffix = suffixCounter;
|
|
399
|
+
suffixCounter += 1;
|
|
400
|
+
section.formQuestions = section.formQuestions.map(q => {
|
|
401
|
+
const newName = `${deleteSectionName}_${section.sectionPositionSuffix}-${q.name}`;
|
|
402
|
+
const oldName = q.processedSubmissionName;
|
|
403
|
+
// Carry over any existing value
|
|
404
|
+
if (newInitialValues[oldName] !== undefined) {
|
|
405
|
+
newInitialValues[newName] = newInitialValues[oldName];
|
|
406
|
+
delete newInitialValues[oldName];
|
|
407
|
+
}
|
|
408
|
+
return Object.assign(Object.assign({}, q), { processedSubmissionName: newName });
|
|
409
|
+
});
|
|
410
|
+
});
|
|
411
|
+
this.dynamicSections = updatedSections;
|
|
412
|
+
this.initialValues = newInitialValues;
|
|
413
|
+
this.currentFormData = newInitialValues;
|
|
414
|
+
this.reRenderKey += 1;
|
|
415
|
+
console.log('newInitialValues', newInitialValues);
|
|
416
|
+
}
|
|
417
|
+
finally {
|
|
418
|
+
this.isUpdatingSections = false;
|
|
419
|
+
this.loading = false;
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
/**
|
|
423
|
+
* Manual save function - debounced to 5 seconds
|
|
424
|
+
*/
|
|
425
|
+
this.handleManualSave = async (values) => {
|
|
426
|
+
// Only save if handler supports it and user is authenticated
|
|
427
|
+
if (!this.formHandler.supportsAutoSave() || !this.userId || !this.formHandler.saveFormData) {
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
this.isSaving = true;
|
|
431
|
+
this.saveError = null;
|
|
432
|
+
try {
|
|
433
|
+
await this.formHandler.saveFormData(values, 'in-progress');
|
|
434
|
+
this.currentFormData = Object.assign({}, values);
|
|
435
|
+
console.log('Form saved successfully');
|
|
436
|
+
}
|
|
437
|
+
catch (error) {
|
|
438
|
+
console.error('Manual save failed:', error);
|
|
439
|
+
this.saveError = 'Failed to save form data';
|
|
440
|
+
}
|
|
441
|
+
finally {
|
|
442
|
+
this.isSaving = false;
|
|
327
443
|
}
|
|
328
444
|
};
|
|
445
|
+
this.handleFormChange = (values) => {
|
|
446
|
+
if (this.isUpdatingSections)
|
|
447
|
+
return;
|
|
448
|
+
this.currentFormData = values;
|
|
449
|
+
};
|
|
329
450
|
this.handleFinish = () => {
|
|
330
451
|
// Trigger any finish actions
|
|
331
452
|
if (this.triggerAction) {
|
|
@@ -335,13 +456,17 @@ const UdpFormsRenderer$1 = /*@__PURE__*/ proxyCustomElement(class UdpFormsRender
|
|
|
335
456
|
}
|
|
336
457
|
async componentWillLoad() {
|
|
337
458
|
this.loading = true;
|
|
338
|
-
this.formHandler = FormHandlerFactory.create(this.isPublic, this.formId, this.version, this.tenantId, this.userId, this.existingSubmission,
|
|
459
|
+
this.formHandler = FormHandlerFactory.create(this.isPublic, this.formId, this.version, this.tenantId, this.userId, this.existingSubmission, submission => {
|
|
339
460
|
this.existingSubmission = submission;
|
|
340
461
|
});
|
|
341
|
-
// Set up debounced auto-save function
|
|
342
|
-
this.debouncedAutoSave = debounce(async (values) => {
|
|
343
|
-
|
|
344
|
-
}, this.autoSaveDelay);
|
|
462
|
+
// Set up debounced auto-save function (currently disabled)
|
|
463
|
+
// this.debouncedAutoSave = debounce(async (values: { [name: string]: any }) => {
|
|
464
|
+
// // await this.handleAutoSave(values); // Disabled for now
|
|
465
|
+
// }, this.autoSaveDelay);
|
|
466
|
+
// Set up throttled manual save function (5 seconds) - fires immediately, then throttles
|
|
467
|
+
this.debouncedManualSave = throttle(async (values) => {
|
|
468
|
+
await this.handleManualSave(values);
|
|
469
|
+
}, 2000, { leading: true, trailing: false });
|
|
345
470
|
if (this.formId && this.version) {
|
|
346
471
|
await this.loadForm();
|
|
347
472
|
}
|
|
@@ -362,19 +487,63 @@ const UdpFormsRenderer$1 = /*@__PURE__*/ proxyCustomElement(class UdpFormsRender
|
|
|
362
487
|
if (existingData.status === 2) {
|
|
363
488
|
this.isSubmitted = true;
|
|
364
489
|
}
|
|
365
|
-
// Process file data to convert file references to UdpDriveFile objects
|
|
366
|
-
this.initialValues = await this.processInitialValues(this.initialValues);
|
|
367
490
|
this.currentFormData = Object.assign({}, this.initialValues);
|
|
368
491
|
if (existingData.status === 2 || existingData.status === 'submitted') {
|
|
369
492
|
this.isSubmitted = true;
|
|
370
493
|
}
|
|
371
494
|
}
|
|
372
495
|
}
|
|
496
|
+
this.initializeDynamicSections();
|
|
373
497
|
}
|
|
374
498
|
catch (error) {
|
|
375
499
|
console.error('Failed to load form:', error);
|
|
376
500
|
}
|
|
377
501
|
}
|
|
502
|
+
// build dynamic sections based on the
|
|
503
|
+
initializeDynamicSections() {
|
|
504
|
+
var _a;
|
|
505
|
+
const tempDynamicSection = [];
|
|
506
|
+
const sortedSections = structuredClone(this.form.udpFormUdpFormSection).sort((a, b) => a.order - b.order);
|
|
507
|
+
for (const section of sortedSections) {
|
|
508
|
+
section.name = `section${section.order}`; // THIS LINE WILL NOT BE NECESSARY SOON AFTER BACKEND UPDATE
|
|
509
|
+
section.sectionProperties = JSON.parse(section.sectionProperties || "{}");
|
|
510
|
+
const repeatGroupKeys = this.findRepeatGroupKeys(section.name, this.initialValues);
|
|
511
|
+
section.isOriginalSection = true;
|
|
512
|
+
section.sectionPositionSuffix = 1; // default position
|
|
513
|
+
// always add the original section into dynamic sections
|
|
514
|
+
tempDynamicSection.push(Object.assign(Object.assign({}, structuredClone(section)), { formQuestions: structuredClone(this.form.formQuestions)
|
|
515
|
+
.filter(q => q.formSectionId === section.id)
|
|
516
|
+
.sort((a, b) => a.questionOrder - b.questionOrder)
|
|
517
|
+
.map(q => (Object.assign(Object.assign({}, q), { processedSubmissionName: `${section.name}-${q.name}` }))) }));
|
|
518
|
+
// create then add additional sections if there are repeated sections
|
|
519
|
+
if (((_a = section.sectionProperties) === null || _a === void 0 ? void 0 : _a.isRepeatable) && repeatGroupKeys.length > 0) {
|
|
520
|
+
const maxRepeatedSectionSuffix = Math.max(...repeatGroupKeys); // create a new section for the max value of repeat group keys, even if there are no saved answers
|
|
521
|
+
// for (const repeatKey of repeatGroupKeys) { // create a section only for the suffix saved
|
|
522
|
+
for (let repeatKey = 2; repeatKey <= maxRepeatedSectionSuffix; repeatKey++) {
|
|
523
|
+
const clonedSection = Object.assign(Object.assign({}, structuredClone(section)), { formQuestions: structuredClone(this.form.formQuestions)
|
|
524
|
+
.filter(q => q.formSectionId === section.id)
|
|
525
|
+
.sort((a, b) => a.questionOrder - b.questionOrder)
|
|
526
|
+
.map(q => (Object.assign(Object.assign({}, q), { processedSubmissionName: `${section.name}_${repeatKey}-${q.name}` }))), isOriginalSection: false, sectionPositionSuffix: repeatKey });
|
|
527
|
+
tempDynamicSection.push(clonedSection);
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
console.log('tempDynamicSection', tempDynamicSection);
|
|
532
|
+
this.dynamicSections = tempDynamicSection;
|
|
533
|
+
}
|
|
534
|
+
findRepeatGroupKeys(sectionName, values) {
|
|
535
|
+
const keys = Object.keys(values);
|
|
536
|
+
const repeatGroupSet = new Set();
|
|
537
|
+
// Match: sectionName_2-question1
|
|
538
|
+
const regex = new RegExp(`^${sectionName}_(\\d+)-`);
|
|
539
|
+
keys.forEach(key => {
|
|
540
|
+
const match = key.match(regex);
|
|
541
|
+
if (match && match[1]) {
|
|
542
|
+
repeatGroupSet.add(Number(match[1]));
|
|
543
|
+
}
|
|
544
|
+
});
|
|
545
|
+
return Array.from(repeatGroupSet).sort((a, b) => a - b);
|
|
546
|
+
}
|
|
378
547
|
async handleSubmit(values) {
|
|
379
548
|
try {
|
|
380
549
|
const success = await this.formHandler.submitForm(values);
|
|
@@ -385,163 +554,6 @@ const UdpFormsRenderer$1 = /*@__PURE__*/ proxyCustomElement(class UdpFormsRender
|
|
|
385
554
|
throw error;
|
|
386
555
|
}
|
|
387
556
|
}
|
|
388
|
-
async handleAutoSave(values) {
|
|
389
|
-
// Only auto-save if handler supports it and user is authenticated
|
|
390
|
-
if (!this.formHandler.supportsAutoSave() || !this.userId || !this.formHandler.saveFormData) {
|
|
391
|
-
return;
|
|
392
|
-
}
|
|
393
|
-
this.isSaving = true;
|
|
394
|
-
this.saveError = null;
|
|
395
|
-
try {
|
|
396
|
-
await this.formHandler.saveFormData(values, 'in-progress');
|
|
397
|
-
this.currentFormData = Object.assign({}, values);
|
|
398
|
-
}
|
|
399
|
-
catch (error) {
|
|
400
|
-
console.error('Auto-save failed:', error);
|
|
401
|
-
this.saveError = 'Failed to save form data';
|
|
402
|
-
}
|
|
403
|
-
finally {
|
|
404
|
-
this.isSaving = false;
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* Process initial values to convert file references to UdpDriveFile objects
|
|
409
|
-
*/
|
|
410
|
-
async processInitialValues(values) {
|
|
411
|
-
const processedValues = Object.assign({}, values);
|
|
412
|
-
for (const [key, value] of Object.entries(values)) {
|
|
413
|
-
if (typeof value === 'string' && this.isFileReference(value)) {
|
|
414
|
-
processedValues[key] = await this.parseFileReferences(value);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
return processedValues;
|
|
418
|
-
}
|
|
419
|
-
/**
|
|
420
|
-
* Check if a string value is a file reference (contains | and udp: or b64:)
|
|
421
|
-
*/
|
|
422
|
-
isFileReference(value) {
|
|
423
|
-
return typeof value === 'string' && value.includes('|') && (value.includes('udp:') || value.includes('b64:'));
|
|
424
|
-
}
|
|
425
|
-
/**
|
|
426
|
-
* Parse file references from the special format: "filename|udp:driveFileId" or "filename|b64:base64data"
|
|
427
|
-
*/
|
|
428
|
-
async parseFileReferences(value) {
|
|
429
|
-
const references = value.split(',').map(ref => ref.trim()).filter(ref => ref);
|
|
430
|
-
const udpDriveFiles = [];
|
|
431
|
-
for (const reference of references) {
|
|
432
|
-
try {
|
|
433
|
-
const udpDriveFile = await this.parseFileReference(reference);
|
|
434
|
-
if (udpDriveFile) {
|
|
435
|
-
udpDriveFiles.push(udpDriveFile);
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
catch (error) {
|
|
439
|
-
console.error('Error parsing file reference:', reference, error);
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
return udpDriveFiles;
|
|
443
|
-
}
|
|
444
|
-
/**
|
|
445
|
-
* Parse a single file reference
|
|
446
|
-
*/
|
|
447
|
-
async parseFileReference(reference) {
|
|
448
|
-
const parts = reference.split('|');
|
|
449
|
-
if (parts.length !== 2) {
|
|
450
|
-
console.warn('Invalid file reference format:', reference);
|
|
451
|
-
return null;
|
|
452
|
-
}
|
|
453
|
-
const [filename, dataRef] = parts;
|
|
454
|
-
if (dataRef.startsWith('udp:')) {
|
|
455
|
-
// Handle UDP Drive file reference
|
|
456
|
-
const driveFileId = dataRef.substring(4); // Remove 'udp:' prefix
|
|
457
|
-
return await this.createUdpDriveFileFromId(filename, driveFileId);
|
|
458
|
-
}
|
|
459
|
-
else if (dataRef.startsWith('b64:')) {
|
|
460
|
-
// Handle base64 encoded file
|
|
461
|
-
const base64Data = dataRef.substring(4); // Remove 'b64:' prefix
|
|
462
|
-
return this.createUdpDriveFileFromBase64(filename, base64Data);
|
|
463
|
-
}
|
|
464
|
-
console.warn('Unknown file reference format:', dataRef);
|
|
465
|
-
return null;
|
|
466
|
-
}
|
|
467
|
-
/**
|
|
468
|
-
* Create a UdpDriveFile from a drive file ID
|
|
469
|
-
*/
|
|
470
|
-
async createUdpDriveFileFromId(filename, driveFileId) {
|
|
471
|
-
// Extract file extension from filename
|
|
472
|
-
const extension = filename.split('.').pop() || '';
|
|
473
|
-
// Create a placeholder File object - the actual content will be downloaded when needed
|
|
474
|
-
const placeholderBlob = new Blob([''], { type: this.getMimeTypeFromExtension(extension) });
|
|
475
|
-
const file = new File([placeholderBlob], filename, {
|
|
476
|
-
type: placeholderBlob.type,
|
|
477
|
-
lastModified: Date.now()
|
|
478
|
-
});
|
|
479
|
-
// Create UdpDriveFile by extending the File object
|
|
480
|
-
const udpDriveFile = file;
|
|
481
|
-
// Add UDP-specific properties
|
|
482
|
-
udpDriveFile.driveFileId = driveFileId;
|
|
483
|
-
udpDriveFile.tenantId = this.tenantId;
|
|
484
|
-
udpDriveFile.productId = 0; // Will be filled by server
|
|
485
|
-
udpDriveFile.path = '';
|
|
486
|
-
udpDriveFile.extension = extension;
|
|
487
|
-
return udpDriveFile;
|
|
488
|
-
}
|
|
489
|
-
/**
|
|
490
|
-
* Create a UdpDriveFile from base64 data
|
|
491
|
-
*/
|
|
492
|
-
createUdpDriveFileFromBase64(filename, base64Data) {
|
|
493
|
-
// Extract file extension from filename
|
|
494
|
-
const extension = filename.split('.').pop() || '';
|
|
495
|
-
// Decode base64 data
|
|
496
|
-
const binaryString = atob(base64Data);
|
|
497
|
-
const bytes = new Uint8Array(binaryString.length);
|
|
498
|
-
for (let i = 0; i < binaryString.length; i++) {
|
|
499
|
-
bytes[i] = binaryString.charCodeAt(i);
|
|
500
|
-
}
|
|
501
|
-
const blob = new Blob([bytes], { type: this.getMimeTypeFromExtension(extension) });
|
|
502
|
-
// Create a UdpDriveFile that extends File
|
|
503
|
-
const udpDriveFile = new File([blob], filename, {
|
|
504
|
-
type: blob.type,
|
|
505
|
-
lastModified: Date.now()
|
|
506
|
-
});
|
|
507
|
-
// Add UDP-specific properties
|
|
508
|
-
udpDriveFile.driveFileId = ''; // No drive file ID for base64 files
|
|
509
|
-
udpDriveFile.tenantId = this.tenantId;
|
|
510
|
-
udpDriveFile.productId = 0;
|
|
511
|
-
udpDriveFile.path = '';
|
|
512
|
-
udpDriveFile.extension = extension;
|
|
513
|
-
return udpDriveFile;
|
|
514
|
-
}
|
|
515
|
-
/**
|
|
516
|
-
* Get MIME type from file extension
|
|
517
|
-
*/
|
|
518
|
-
getMimeTypeFromExtension(extension) {
|
|
519
|
-
const mimeTypes = {
|
|
520
|
-
'pdf': 'application/pdf',
|
|
521
|
-
'doc': 'application/msword',
|
|
522
|
-
'docx': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
523
|
-
'xls': 'application/vnd.ms-excel',
|
|
524
|
-
'xlsx': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
525
|
-
'ppt': 'application/vnd.ms-powerpoint',
|
|
526
|
-
'pptx': 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
527
|
-
'txt': 'text/plain',
|
|
528
|
-
'csv': 'text/csv',
|
|
529
|
-
'json': 'application/json',
|
|
530
|
-
'xml': 'application/xml',
|
|
531
|
-
'html': 'text/html',
|
|
532
|
-
'css': 'text/css',
|
|
533
|
-
'js': 'application/javascript',
|
|
534
|
-
'png': 'image/png',
|
|
535
|
-
'jpg': 'image/jpeg',
|
|
536
|
-
'jpeg': 'image/jpeg',
|
|
537
|
-
'gif': 'image/gif',
|
|
538
|
-
'svg': 'image/svg+xml',
|
|
539
|
-
'zip': 'application/zip',
|
|
540
|
-
'rar': 'application/x-rar-compressed',
|
|
541
|
-
'7z': 'application/x-7z-compressed'
|
|
542
|
-
};
|
|
543
|
-
return mimeTypes[extension.toLowerCase()] || 'application/octet-stream';
|
|
544
|
-
}
|
|
545
557
|
render() {
|
|
546
558
|
if (this.loading) {
|
|
547
559
|
return (h("div", { class: "loading-container" }, h("unity-spinner", { size: "medium" })));
|
|
@@ -549,7 +561,7 @@ const UdpFormsRenderer$1 = /*@__PURE__*/ proxyCustomElement(class UdpFormsRender
|
|
|
549
561
|
if (!this.form) {
|
|
550
562
|
return (h("div", { class: "error-container" }, h("unity-typography", { variant: "body1" }, "Form not found")));
|
|
551
563
|
}
|
|
552
|
-
return (h("udp-forms-ui", { form: this.form, initialValues: this.initialValues, submitSuccessful: this.submitSuccessful, isSaving: this.isSaving, saveError: this.saveError, showAutoSaveStatus: this.formHandler.supportsAutoSave() && !!this.userId, readonly: this.isSubmitted,
|
|
564
|
+
return (h("div", { class: "forms-renderer-container" }, h("udp-forms-ui", { form: this.form, initialValues: this.initialValues, submitSuccessful: this.submitSuccessful, isSaving: this.isSaving, saveError: this.saveError, showAutoSaveStatus: this.formHandler.supportsAutoSave() && !!this.userId, readonly: this.isSubmitted, currentFormData: this.currentFormData, handleSubmit: this.handleSubmit.bind(this), handleSave: (values) => Promise.resolve(this.debouncedManualSave(values)), handleChange: this.handleFormChange, handleAction: this.triggerAction, handleFinish: this.handleFinish, userId: this.userId, isSubmitted: this.isSubmitted, dynamicSections: this.dynamicSections, duplicateRepeatableSection: this.duplicateRepeatableSection, deleteRepeatableSection: this.deleteRepeatableSection, key: `form-${this.reRenderKey}` })));
|
|
553
565
|
}
|
|
554
566
|
get el() { return this; }
|
|
555
567
|
}, [1, "udp-forms-renderer", {
|
|
@@ -568,13 +580,16 @@ const UdpFormsRenderer$1 = /*@__PURE__*/ proxyCustomElement(class UdpFormsRender
|
|
|
568
580
|
"currentFormData": [32],
|
|
569
581
|
"isSaving": [32],
|
|
570
582
|
"saveError": [32],
|
|
571
|
-
"isSubmitted": [32]
|
|
583
|
+
"isSubmitted": [32],
|
|
584
|
+
"dynamicSections": [32],
|
|
585
|
+
"isUpdatingSections": [32],
|
|
586
|
+
"reRenderKey": [32]
|
|
572
587
|
}]);
|
|
573
588
|
function defineCustomElement$1() {
|
|
574
589
|
if (typeof customElements === "undefined") {
|
|
575
590
|
return;
|
|
576
591
|
}
|
|
577
|
-
const components = ["udp-forms-renderer", "custom-button", "file-upload", "numeric-field", "selectable-list", "signature-input", "stencil-field", "stencil-form", "stencil-icon-button", "tally-display", "text-area", "text-field", "udp-adornment", "udp-ambient-card", "udp-ambient-tool-tip", "udp-badge", "udp-container", "udp-date-selector", "udp-datetime-selector", "udp-forms-ui", "udp-question", "udp-selector", "udp-time-selector", "unity-typography"];
|
|
592
|
+
const components = ["udp-forms-renderer", "custom-button", "file-upload", "numeric-field", "selectable-list", "signature-input", "stencil-field", "stencil-form", "stencil-icon-button", "tally-display", "text-area", "text-field", "udp-adornment", "udp-ambient-card", "udp-ambient-tool-tip", "udp-badge", "udp-container", "udp-date-selector", "udp-datetime-selector", "udp-forms-ui", "udp-icon-button", "udp-question", "udp-save-draft-button", "udp-selector", "udp-time-selector", "unity-typography"];
|
|
578
593
|
components.forEach(tagName => { switch (tagName) {
|
|
579
594
|
case "udp-forms-renderer":
|
|
580
595
|
if (!customElements.get(tagName)) {
|
|
@@ -583,100 +598,110 @@ function defineCustomElement$1() {
|
|
|
583
598
|
break;
|
|
584
599
|
case "custom-button":
|
|
585
600
|
if (!customElements.get(tagName)) {
|
|
586
|
-
defineCustomElement$
|
|
601
|
+
defineCustomElement$q();
|
|
587
602
|
}
|
|
588
603
|
break;
|
|
589
604
|
case "file-upload":
|
|
590
605
|
if (!customElements.get(tagName)) {
|
|
591
|
-
defineCustomElement$
|
|
606
|
+
defineCustomElement$p();
|
|
592
607
|
}
|
|
593
608
|
break;
|
|
594
609
|
case "numeric-field":
|
|
595
610
|
if (!customElements.get(tagName)) {
|
|
596
|
-
defineCustomElement$
|
|
611
|
+
defineCustomElement$o();
|
|
597
612
|
}
|
|
598
613
|
break;
|
|
599
614
|
case "selectable-list":
|
|
600
615
|
if (!customElements.get(tagName)) {
|
|
601
|
-
defineCustomElement$
|
|
616
|
+
defineCustomElement$n();
|
|
602
617
|
}
|
|
603
618
|
break;
|
|
604
619
|
case "signature-input":
|
|
605
620
|
if (!customElements.get(tagName)) {
|
|
606
|
-
defineCustomElement$
|
|
621
|
+
defineCustomElement$m();
|
|
607
622
|
}
|
|
608
623
|
break;
|
|
609
624
|
case "stencil-field":
|
|
610
625
|
if (!customElements.get(tagName)) {
|
|
611
|
-
defineCustomElement$
|
|
626
|
+
defineCustomElement$l();
|
|
612
627
|
}
|
|
613
628
|
break;
|
|
614
629
|
case "stencil-form":
|
|
615
630
|
if (!customElements.get(tagName)) {
|
|
616
|
-
defineCustomElement$
|
|
631
|
+
defineCustomElement$k();
|
|
617
632
|
}
|
|
618
633
|
break;
|
|
619
634
|
case "stencil-icon-button":
|
|
620
635
|
if (!customElements.get(tagName)) {
|
|
621
|
-
defineCustomElement$
|
|
636
|
+
defineCustomElement$j();
|
|
622
637
|
}
|
|
623
638
|
break;
|
|
624
639
|
case "tally-display":
|
|
625
640
|
if (!customElements.get(tagName)) {
|
|
626
|
-
defineCustomElement$
|
|
641
|
+
defineCustomElement$i();
|
|
627
642
|
}
|
|
628
643
|
break;
|
|
629
644
|
case "text-area":
|
|
630
645
|
if (!customElements.get(tagName)) {
|
|
631
|
-
defineCustomElement$
|
|
646
|
+
defineCustomElement$h();
|
|
632
647
|
}
|
|
633
648
|
break;
|
|
634
649
|
case "text-field":
|
|
635
650
|
if (!customElements.get(tagName)) {
|
|
636
|
-
defineCustomElement$
|
|
651
|
+
defineCustomElement$g();
|
|
637
652
|
}
|
|
638
653
|
break;
|
|
639
654
|
case "udp-adornment":
|
|
640
655
|
if (!customElements.get(tagName)) {
|
|
641
|
-
defineCustomElement$
|
|
656
|
+
defineCustomElement$f();
|
|
642
657
|
}
|
|
643
658
|
break;
|
|
644
659
|
case "udp-ambient-card":
|
|
645
660
|
if (!customElements.get(tagName)) {
|
|
646
|
-
defineCustomElement$
|
|
661
|
+
defineCustomElement$e();
|
|
647
662
|
}
|
|
648
663
|
break;
|
|
649
664
|
case "udp-ambient-tool-tip":
|
|
650
665
|
if (!customElements.get(tagName)) {
|
|
651
|
-
defineCustomElement$
|
|
666
|
+
defineCustomElement$d();
|
|
652
667
|
}
|
|
653
668
|
break;
|
|
654
669
|
case "udp-badge":
|
|
655
670
|
if (!customElements.get(tagName)) {
|
|
656
|
-
defineCustomElement$
|
|
671
|
+
defineCustomElement$c();
|
|
657
672
|
}
|
|
658
673
|
break;
|
|
659
674
|
case "udp-container":
|
|
660
675
|
if (!customElements.get(tagName)) {
|
|
661
|
-
defineCustomElement$
|
|
676
|
+
defineCustomElement$b();
|
|
662
677
|
}
|
|
663
678
|
break;
|
|
664
679
|
case "udp-date-selector":
|
|
665
680
|
if (!customElements.get(tagName)) {
|
|
666
|
-
defineCustomElement$
|
|
681
|
+
defineCustomElement$a();
|
|
667
682
|
}
|
|
668
683
|
break;
|
|
669
684
|
case "udp-datetime-selector":
|
|
670
685
|
if (!customElements.get(tagName)) {
|
|
671
|
-
defineCustomElement$
|
|
686
|
+
defineCustomElement$9();
|
|
672
687
|
}
|
|
673
688
|
break;
|
|
674
689
|
case "udp-forms-ui":
|
|
675
690
|
if (!customElements.get(tagName)) {
|
|
676
|
-
defineCustomElement$
|
|
691
|
+
defineCustomElement$8();
|
|
692
|
+
}
|
|
693
|
+
break;
|
|
694
|
+
case "udp-icon-button":
|
|
695
|
+
if (!customElements.get(tagName)) {
|
|
696
|
+
defineCustomElement$7();
|
|
677
697
|
}
|
|
678
698
|
break;
|
|
679
699
|
case "udp-question":
|
|
700
|
+
if (!customElements.get(tagName)) {
|
|
701
|
+
defineCustomElement$6();
|
|
702
|
+
}
|
|
703
|
+
break;
|
|
704
|
+
case "udp-save-draft-button":
|
|
680
705
|
if (!customElements.get(tagName)) {
|
|
681
706
|
defineCustomElement$5();
|
|
682
707
|
}
|