udp-stencil-component-library 25.18.2-beta.8 → 25.18.2
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/{SearchBuilder-C1sUitjQ.js → SearchBuilder-DYM_FL5l.js} +1 -4
- package/dist/cjs/action-column-util-CQRWvOT6.js +0 -3
- package/dist/cjs/add-map-feature-popup_4.cjs.entry.js +33 -18
- package/dist/cjs/advanced-search-builder.cjs.entry.js +3 -4
- package/dist/cjs/advanced-search_12.cjs.entry.js +55 -38
- package/dist/cjs/ag-grid-base_6.cjs.entry.js +28 -19
- package/dist/cjs/ambient-template-grid.cjs.entry.js +73 -28
- package/dist/cjs/api-method-instance-grid.cjs.entry.js +16 -7
- package/dist/cjs/{apiUtils-DT-fLJOw.js → apiUtils-bDl8etNp.js} +1 -4
- package/dist/cjs/app-bar.cjs.entry.js +3 -4
- package/dist/cjs/{catalog-store-BOiNPWZB.js → catalog-store-DIF1IDLi.js} +1 -4
- package/dist/cjs/chart-container_3.cjs.entry.js +7 -8
- package/dist/cjs/chartUtils-Gg3D2Moc.js +0 -3
- package/dist/cjs/check-box-group.cjs.entry.js +6 -5
- package/dist/cjs/check-box.cjs.entry.js +12 -7
- package/dist/cjs/chip-section.cjs.entry.js +6 -5
- package/dist/cjs/client-side-grid_2.cjs.entry.js +6 -5
- package/dist/cjs/common-By_kzIQM.js +0 -3
- package/dist/cjs/configService-BmGAegZf.js +0 -3
- package/dist/cjs/configureUdpColumnMods-CQMOB8IW.js +0 -3
- package/dist/cjs/conversionFunctions-B_9y17KE.js +0 -3
- package/dist/cjs/currency-renderer-xzaldEo2.js +0 -3
- package/dist/cjs/custom-button.cjs.entry.js +3 -4
- package/dist/cjs/date-time-renderer_7.cjs.entry.js +17 -18
- package/dist/cjs/entity-maintenance-grid.cjs.entry.js +3 -4
- package/dist/cjs/{enums-CgcTuQjC.js → enums-B3aaCQaV.js} +1 -4
- package/dist/cjs/feature-details-card_2.cjs.entry.js +19 -10
- package/dist/cjs/file-upload_3.cjs.entry.js +23 -12
- package/dist/cjs/filter-conditions_7.cjs.entry.js +21 -18
- package/dist/cjs/filter-group_2.cjs.entry.js +5 -6
- package/dist/cjs/fluent-dialog.cjs.entry.js +3 -4
- package/dist/cjs/form-metadata-display_8.cjs.entry.js +49 -28
- package/dist/cjs/getCurrentApiCatalogId-D7xHCEzs.js +0 -3
- package/dist/cjs/iconMapping-CkHR1LGY.js +0 -3
- package/dist/cjs/iconUtils-BuDk48Xh.js +0 -3
- package/dist/cjs/{index-CGCOXUJE.js → index-SNloIaSR.js} +311 -188
- package/dist/cjs/index.cjs.js +4 -5
- package/dist/cjs/loader.cjs.js +2 -3
- package/dist/cjs/logical-search-indicator.cjs.entry.js +3 -4
- package/dist/cjs/{makeApiCall-CFfg9gI0.js → makeApiCall-B9MMU_Ob.js} +4 -4
- package/dist/cjs/map-component_2.cjs.entry.js +59 -22
- package/dist/cjs/numeric-field_5.cjs.entry.js +56 -27
- package/dist/cjs/primary-action-header_2.cjs.entry.js +17 -10
- package/dist/cjs/question-configs-renderer_4.cjs.entry.js +11 -12
- package/dist/cjs/resource-timeline-calendar.cjs.entry.js +12 -7
- package/dist/cjs/search-method-grid.cjs.entry.js +6 -5
- package/dist/cjs/server-side-grid.cjs.entry.js +4 -3
- package/dist/cjs/side-sheet-container.cjs.entry.js +3 -4
- package/dist/cjs/simple-card.cjs.entry.js +3 -4
- package/dist/cjs/status-chip_2.cjs.entry.js +8 -7
- package/dist/cjs/stencil-chip.cjs.entry.js +6 -5
- package/dist/cjs/stencil-icon-button-grid-action-header.cjs.entry.js +3 -4
- package/dist/cjs/stencil-icon-button_3.cjs.entry.js +7 -8
- package/dist/cjs/stencil-library.cjs.js +3 -4
- package/dist/cjs/stencil-toggle.cjs.entry.js +12 -7
- package/dist/cjs/tenantUtils-BCKSE0vq.js +0 -3
- package/dist/cjs/text-field_2.cjs.entry.js +29 -14
- package/dist/cjs/transformSearchData-B4bk4Aik.js +0 -3
- package/dist/cjs/udp-adornment.cjs.entry.js +3 -4
- package/dist/cjs/udp-advanced-search-builder.cjs.entry.js +7 -4
- package/dist/cjs/udp-attachment-item_2.cjs.entry.js +5 -6
- package/dist/cjs/udp-attachment-list.cjs.entry.js +1 -2
- package/dist/cjs/udp-avatar.cjs.entry.js +3 -4
- package/dist/cjs/udp-bar-chart_4.cjs.entry.js +45 -22
- package/dist/cjs/udp-button.cjs.entry.js +3 -4
- package/dist/cjs/udp-calendar-base.cjs.entry.js +6 -5
- package/dist/cjs/udp-calendar-day.cjs.entry.js +3 -4
- package/dist/cjs/udp-calendar-month.cjs.entry.js +3 -4
- package/dist/cjs/udp-calendar-week.cjs.entry.js +3 -4
- package/dist/cjs/udp-calendar-year.cjs.entry.js +3 -4
- package/dist/cjs/udp-card-action-area.cjs.entry.js +3 -4
- package/dist/cjs/udp-card_6.cjs.entry.js +13 -14
- package/dist/cjs/udp-charts-example.cjs.entry.js +1 -2
- package/dist/cjs/udp-chip_3.cjs.entry.js +10 -9
- package/dist/cjs/udp-container-query-grid-item.cjs.entry.js +3 -4
- package/dist/cjs/udp-container-query-grid.cjs.entry.js +3 -4
- package/dist/cjs/udp-container-query.cjs.entry.js +3 -4
- package/dist/cjs/udp-container.cjs.entry.js +3 -4
- package/dist/cjs/udp-date-range-selector.cjs.entry.js +3 -4
- package/dist/cjs/udp-divider.cjs.entry.js +3 -4
- package/dist/cjs/udp-drive-utils-B8uPAKzW.js +0 -3
- package/dist/cjs/udp-dynamic-container-with-menu.cjs.entry.js +6 -5
- package/dist/cjs/udp-dynamic-form.cjs.entry.js +3 -4
- package/dist/cjs/udp-form-api-utils-BwNeblH_.js +0 -3
- package/dist/cjs/{udp-forms-builder-question-template-BMMpObLX.js → udp-forms-builder-question-template-BS5ijef_.js} +1 -4
- package/dist/cjs/udp-forms-builder-style-override.cjs.entry.js +3 -4
- package/dist/cjs/udp-forms-builder.cjs.entry.js +15 -12
- package/dist/cjs/udp-forms-follow-up-list-card.cjs.entry.js +2 -3
- package/dist/cjs/udp-forms-list-card.cjs.entry.js +2 -3
- package/dist/cjs/udp-forms-list.cjs.entry.js +7 -6
- package/dist/cjs/udp-forms-renderer.cjs.entry.js +39 -22
- package/dist/cjs/udp-forms-ui.cjs.entry.js +7 -6
- package/dist/cjs/udp-icon.cjs.entry.js +3 -4
- package/dist/cjs/udp-kpi-card.cjs.entry.js +3 -4
- package/dist/cjs/udp-kpi-cards.cjs.entry.js +3 -4
- package/dist/cjs/udp-linear-loader_2.cjs.entry.js +11 -8
- package/dist/cjs/udp-list-renderer_2.cjs.entry.js +8 -7
- package/dist/cjs/udp-map-utils-BXqQmr-h.js +0 -3
- package/dist/cjs/udp-map.cjs.entry.js +9 -6
- package/dist/cjs/udp-menu-item_2.cjs.entry.js +8 -7
- package/dist/cjs/udp-page.cjs.entry.js +3 -4
- package/dist/cjs/udp-sankey-chart.cjs.entry.js +30 -13
- package/dist/cjs/udp-skeleton-loading.cjs.entry.js +3 -4
- package/dist/cjs/udp-split-screen.cjs.entry.js +3 -4
- package/dist/cjs/udp-stepper-demo.cjs.entry.js +1 -2
- package/dist/cjs/udp-stepper.cjs.entry.js +6 -5
- package/dist/cjs/udp-tab-panel.cjs.entry.js +3 -4
- package/dist/cjs/udp-tab.cjs.entry.js +3 -4
- package/dist/cjs/udp-timeline-connector.cjs.entry.js +3 -4
- package/dist/cjs/udp-timeline-dot.cjs.entry.js +3 -4
- package/dist/cjs/udp-timeline-item.cjs.entry.js +3 -4
- package/dist/cjs/udp-timeline-separator.cjs.entry.js +3 -4
- package/dist/cjs/udp-timeline.cjs.entry.js +3 -4
- package/dist/cjs/udp-vertical-spacer.cjs.entry.js +3 -4
- package/dist/cjs/udp-xy-chart.cjs.entry.js +39 -16
- package/dist/cjs/udp-xy-multi-series-chart.cjs.entry.js +27 -12
- package/dist/cjs/udpFieldHelper-0jB0kwFN.js +0 -3
- package/dist/cjs/udpOperatorHelper-MMG_hrZS.js +0 -3
- package/dist/cjs/unity-typography.cjs.entry.js +3 -4
- package/dist/cjs/utils-Bp02BX38.js +0 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/advanced-search/advanced-search-grouped.js +12 -11
- package/dist/collection/components/advanced-search/advanced-search.js +0 -1
- package/dist/collection/components/advanced-search/filter-conditions/filter-conditions.js +0 -1
- package/dist/collection/components/advanced-search/types.js +0 -1
- package/dist/collection/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.js +0 -1
- package/dist/collection/components/advanced-search-builder/advanced-search-builder.js +10 -6
- package/dist/collection/components/advanced-search-builder/filter-group.js +4 -3
- package/dist/collection/components/advanced-search-builder/helperFunctions/createStringFromSearchObject.js +0 -1
- package/dist/collection/components/advanced-search-builder/helperFunctions/fieldRenderer.js +0 -1
- package/dist/collection/components/advanced-search-builder/helperFunctions/udpFieldHelper.js +0 -1
- package/dist/collection/components/advanced-search-builder/helperFunctions/udpOperatorHelper.js +0 -1
- package/dist/collection/components/advanced-search-builder/models.js +0 -1
- package/dist/collection/components/advanced-search-builder/udp-advanced-search-builder.js +8 -5
- package/dist/collection/components/advanced-search-builder/validation-chip.js +0 -1
- package/dist/collection/components/attachment-list/type.js +0 -1
- package/dist/collection/components/attachment-list/udp-attachment-item.js +0 -1
- package/dist/collection/components/attachment-list/udp-attachment-list.js +2 -2
- package/dist/collection/components/buttons/icon-button/function-button/udp-function-button.js +0 -1
- package/dist/collection/components/buttons/icon-button/primary-button/custom-button.js +0 -1
- package/dist/collection/components/buttons/icon-button/radio-button/udp-radio-button.js +0 -1
- package/dist/collection/components/buttons/icon-button/stencil-icon-button-grid-action-header.js +0 -1
- package/dist/collection/components/buttons/icon-button/stencil-icon-button.js +0 -1
- package/dist/collection/components/buttons/udp-button/udp-button.js +0 -1
- package/dist/collection/components/buttons/udp-icon-button/udp-icon-button.js +0 -1
- package/dist/collection/components/calendar/udp-calendar-base.js +0 -1
- package/dist/collection/components/calendar/udp-calendar-day.js +0 -1
- package/dist/collection/components/calendar/udp-calendar-month.js +0 -1
- package/dist/collection/components/calendar/udp-calendar-week.js +0 -1
- package/dist/collection/components/calendar/udp-calendar-year.js +0 -1
- package/dist/collection/components/charts/chart-container/chart-container.js +0 -1
- package/dist/collection/components/charts/chart-kpi/chart-kpi.js +0 -1
- package/dist/collection/components/charts/chartUtils.js +0 -1
- package/dist/collection/components/charts/udp-bar-chart/udp-bar-chart.js +0 -1
- package/dist/collection/components/charts/udp-charts-example.js +0 -1
- package/dist/collection/components/charts/udp-distribution-chart/udp-distribution-chart.js +0 -1
- package/dist/collection/components/charts/udp-donut-chart/udp-donut-chart.js +0 -1
- package/dist/collection/components/charts/udp-line-chart/udp-line-chart.js +0 -1
- package/dist/collection/components/charts/udp-sankey-chart/udp-sankey-chart.js +0 -1
- package/dist/collection/components/charts/udp-xy-chart/udp-xy-chart.js +2 -2
- package/dist/collection/components/charts/udp-xy-multi-series-chart/udp-xy-multi-series-chart.js +8 -5
- package/dist/collection/components/data-display/adornment/udp-adornment/udp-adornment.js +0 -1
- package/dist/collection/components/data-display/badge/udp-badge.js +0 -1
- package/dist/collection/components/data-display/cards/udp-ambient-card/udp-ambient-card.js +0 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js +0 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js +0 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-content/udp-card-content.js +0 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-header/udp-card-header.js +2 -2
- package/dist/collection/components/data-display/cards/udp-card/udp-card-media/udp-card-media.js +0 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card.js +2 -2
- package/dist/collection/components/data-display/chips/stencil-chip/status-chip/status-chip.js +0 -1
- package/dist/collection/components/data-display/chips/stencil-chip/stencil-chip.js +0 -1
- package/dist/collection/components/data-display/chips/udp-chip.js +0 -1
- package/dist/collection/components/data-display/divider/udp-divider.js +0 -1
- package/dist/collection/components/data-display/empty-state-display/udp-empty-state-display.js +0 -1
- package/dist/collection/components/data-display/headers/udp-column-header.js +0 -1
- package/dist/collection/components/data-display/headers/udp-page-header/udp-page-header.js +0 -1
- package/dist/collection/components/data-display/hint-panel/hint-panel.js +0 -1
- package/dist/collection/components/data-display/icons/CarbonIcon.js +0 -1
- package/dist/collection/components/data-display/icons/iconMapping.js +0 -1
- package/dist/collection/components/data-display/icons/iconUtils.js +0 -1
- package/dist/collection/components/data-display/icons/udp-icon.js +0 -1
- package/dist/collection/components/data-display/kpi/kpi-list.js +0 -1
- package/dist/collection/components/data-display/kpi/types.js +0 -1
- package/dist/collection/components/data-display/kpi/udp-kpi-card.js +4 -3
- package/dist/collection/components/data-display/kpi/udp-kpi-cards.js +2 -2
- package/dist/collection/components/data-display/list-item/list-item.js +0 -1
- package/dist/collection/components/data-display/list-renderer/udp-list-renderer.js +0 -1
- package/dist/collection/components/data-display/pop-over/interfaces/popoverInterfaces.js +0 -1
- package/dist/collection/components/data-display/pop-over/udp-pop-over.js +0 -1
- package/dist/collection/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js +0 -1
- package/dist/collection/components/data-display/primary-action-header/primary-action-header.js +0 -1
- package/dist/collection/components/data-display/simple-card/simple-card.js +0 -1
- package/dist/collection/components/data-display/tool-tip/udp-ambient-tool-tip.js +0 -1
- package/dist/collection/components/data-display/tree/tree-list-item/search-item/search-list-item.js +0 -1
- package/dist/collection/components/data-display/tree/tree-list-item/tree-list-item.js +0 -1
- package/dist/collection/components/data-display/udp-avatar/udp-avatar.js +0 -1
- package/dist/collection/components/dialogs/fluent-dialog/fluent-dialog.js +0 -1
- package/dist/collection/components/dialogs/udp-dialog.js +0 -1
- package/dist/collection/components/drawers/udp-side-sheet/types.js +0 -1
- package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.js +4 -3
- package/dist/collection/components/feedback/udp-notification/alerts/upd-alert-banner.js +0 -1
- package/dist/collection/components/feedback/udp-notification/udp-notification.js +0 -1
- package/dist/collection/components/forms/dynamic-form/udp-dynamic-form.js +0 -1
- package/dist/collection/components/forms/edit-view-form/edit-view-form.js +0 -1
- package/dist/collection/components/forms/form/stencil-field.js +0 -1
- package/dist/collection/components/forms/form/stencil-form.js +2 -2
- package/dist/collection/components/forms/form/useFormApi.js +0 -1
- package/dist/collection/components/forms/save-view-form/save-view-form.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-builder-utils.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-question-item/udp-forms-builder-question-item.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/typographyVariantsList.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/date-time-renderer/date-time-renderer.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-specific-configs-renderer/question-specific-configs-renderer.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/section-configs-renderer/section-configs-renderer.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-menu/udp-forms-builder-menu.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-question-template.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-style-override/udp-forms-builder-style-override.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder.js +6 -6
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-form-api-utils.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-follow-up-list-card/udp-forms-follow-up-list-card.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-ui/udp-forms-ui.js +6 -4
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils/comments-crud-utils.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils/repeated-section-utils.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils/utils.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js +45 -8
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-save-draft-button/udp-save-draft-button.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/classes/UdpForm.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/classes/UdpFormSubmission.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/enums.js +1 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-handler/IFormHandler.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-handler/UdpFormHandler.js +7 -8
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/FormSubmissionHandler.js +14 -6
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/FormSubmissionHandlerFactory.js +2 -3
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/IFormSubmissionHandler.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/formUtils.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/types.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/utils.js +0 -1
- package/dist/collection/components/forms/udp-forms/udp-question/udp-question-comment/udp-question-comments.js +4 -3
- package/dist/collection/components/forms/udp-forms/udp-question/udp-question.js +6 -4
- package/dist/collection/components/grid/ag-table/ag-table.js +2 -2
- package/dist/collection/components/grid/ambient-template-grid/ambient-template-functions/buildGroupedSearchPayload.js +0 -1
- package/dist/collection/components/grid/ambient-template-grid/ambient-template-grid.js +2 -2
- package/dist/collection/components/grid/ambient-template-grid/enums/gridEnums.js +0 -1
- package/dist/collection/components/grid/ambient-template-grid/interfaces/gridInterfaces.js +0 -1
- package/dist/collection/components/grid/ambient-template-grid/license/licenseKey.js +0 -1
- package/dist/collection/components/grid/ambient-template-grid/static-data/get-all-hotlists.js +0 -1
- package/dist/collection/components/grid/conversionFunctions/conversionFunctions.js +0 -1
- package/dist/collection/components/grid/grid-primary-bar/grid-primary-bar.js +0 -1
- package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +0 -1
- package/dist/collection/components/grid/new-grid/ag-grid-base.js +12 -7
- package/dist/collection/components/grid/new-grid/api-method-instance-grid.js +12 -7
- package/dist/collection/components/grid/new-grid/client-side-grid.js +12 -7
- package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js +0 -1
- package/dist/collection/components/grid/new-grid/entity-maintenance-grid.js +2 -2
- package/dist/collection/components/grid/new-grid/grid-header.js +4 -3
- package/dist/collection/components/grid/new-grid/gridFunctionRegistry.js +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/advancedSearch.js +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/agGridAutoSizeColumns.js +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/agGridExport.js +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/agGridHideShowColumns.js +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/agGridResetColumns.js +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/agGridSizeColumnsToFit.js +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/bulkActions.js +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/chipFilter.js +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/restoreGridState.js +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/savedViews.js +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/udpExport.js +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/configureUdpColumnMods.js +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/convertBackendTypeToAgGridType.js +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/convertSearchObjectToAgGridModel.js +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/guardedViewTransitions.js +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/lookupHelper.js +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/searchObjectHelper.js +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/toggleAgGridColumnFilter.js +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/valueFormatters.js +0 -1
- package/dist/collection/components/grid/new-grid/interfaces/grid.js +0 -1
- package/dist/collection/components/grid/new-grid/interfaces/gridFunction.js +0 -1
- package/dist/collection/components/grid/new-grid/search-method-grid.js +14 -8
- package/dist/collection/components/grid/new-grid/server-side-grid.js +14 -8
- package/dist/collection/components/grid/renderers/actions-renderer.js +0 -1
- package/dist/collection/components/grid/renderers/ag-grid-subtitle-cell-renderer.js +0 -1
- package/dist/collection/components/grid/renderers/currency-renderer.js +0 -1
- package/dist/collection/components/grid/renderers/custom-actions-renderer.js +0 -1
- package/dist/collection/components/grid/renderers/custom-renderer.js +0 -1
- package/dist/collection/components/grid/renderers/date-time-cell-renderer.js +0 -1
- package/dist/collection/components/grid/renderers/email-cell-renderer.js +0 -1
- package/dist/collection/components/grid/renderers/hot-list-add-renderer.js +0 -1
- package/dist/collection/components/grid/renderers/hover-content-cell-renderer.js +0 -1
- package/dist/collection/components/grid/renderers/icon-renderer.js +0 -1
- package/dist/collection/components/grid/renderers/open-function-cell-renderer.js +0 -1
- package/dist/collection/components/grid/renderers/return-search-data-cell-renderer.js +0 -1
- package/dist/collection/components/grid/renderers/sharedContext.js +0 -1
- package/dist/collection/components/grid/renderers/status-renderer.js +0 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js +4 -3
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-column-header.js +0 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +4 -3
- package/dist/collection/components/inputs/checkbox/check-box.js +0 -1
- package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js +0 -1
- package/dist/collection/components/inputs/date-selector/udp-date-selector.js +4 -3
- package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +4 -3
- package/dist/collection/components/inputs/file-upload/file-upload.js +2 -2
- package/dist/collection/components/inputs/file-upload/udp-drive-utils.js +0 -1
- package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +0 -1
- package/dist/collection/components/inputs/image-upload/image-upload.js +2 -2
- package/dist/collection/components/inputs/input-types.js +0 -1
- package/dist/collection/components/inputs/numeric-field/numeric-field.js +4 -3
- package/dist/collection/components/inputs/selectable-list/selectable-list.js +4 -3
- package/dist/collection/components/inputs/signature-input/signature-input.js +8 -5
- package/dist/collection/components/inputs/tally/tally.js +4 -3
- package/dist/collection/components/inputs/text-area/text-area.js +4 -3
- package/dist/collection/components/inputs/text-field/text-field.js +4 -3
- package/dist/collection/components/inputs/time-selector/udp-time-selector.js +4 -3
- package/dist/collection/components/inputs/toggle/stencil-toggle.js +4 -3
- package/dist/collection/components/inputs/udp-selector/udp-selector.js +4 -3
- package/dist/collection/components/layout/udp-container/udp-container.js +0 -1
- package/dist/collection/components/layout/udp-container-query/udp-container-query.js +0 -1
- package/dist/collection/components/layout/udp-container-query-grid/udp-container-query-grid.js +0 -1
- package/dist/collection/components/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +0 -1
- package/dist/collection/components/layout/udp-page/udp-page.js +0 -1
- package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js +0 -1
- package/dist/collection/components/layout/udp-vertical-spacer.js +0 -1
- package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js +0 -1
- package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +0 -1
- package/dist/collection/components/loaders/udp-skeleton-loading.js +0 -1
- package/dist/collection/components/map/udp-map/map-component.js +0 -1
- package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js +0 -1
- package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js +0 -1
- package/dist/collection/components/map/udp-map/popups/feature-details-popup.js +0 -1
- package/dist/collection/components/map/udp-map/popups/select-layer-popup.js +0 -1
- package/dist/collection/components/map/udp-map/popups/split-line-popup.js +0 -1
- package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js +0 -1
- package/dist/collection/components/map/udp-map/udp-map-toolbar.js +0 -1
- package/dist/collection/components/map/udp-map/udp-map.js +0 -1
- package/dist/collection/components/map/udp-map/utils/check-box-group.js +0 -1
- package/dist/collection/components/map/udp-map/utils/common.js +0 -1
- package/dist/collection/components/map/udp-map/utils/map-interactions.js +0 -1
- package/dist/collection/components/map/udp-map/utils/udp-map-utils.js +0 -1
- package/dist/collection/components/menu/menu-item/udp-menu-item.js +2 -2
- package/dist/collection/components/menu/udp-menu.js +0 -1
- package/dist/collection/components/navigation/pagination/udp-pagination.js +0 -1
- package/dist/collection/components/navigation/udp-link/udp-link.js +0 -1
- package/dist/collection/components/stepper/types.js +0 -1
- package/dist/collection/components/stepper/udp-stepper-demo.js +0 -1
- package/dist/collection/components/stepper/udp-stepper.js +6 -4
- package/dist/collection/components/tabs/tab/tabs/udp-tabs.js +0 -1
- package/dist/collection/components/tabs/tab/udp-tab.js +0 -1
- package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +0 -1
- package/dist/collection/components/timeline/udp-timeline-connector.js +0 -1
- package/dist/collection/components/timeline/udp-timeline-dot.js +0 -1
- package/dist/collection/components/timeline/udp-timeline-item.js +0 -1
- package/dist/collection/components/timeline/udp-timeline-separator.js +0 -1
- package/dist/collection/components/timeline/udp-timeline.js +0 -1
- package/dist/collection/components/toolbars/app-bar/app-bar.js +0 -1
- package/dist/collection/components/unity-typography/types.js +0 -1
- package/dist/collection/components/unity-typography/unity-typography.js +4 -3
- package/dist/collection/components/util/ghost-render/ghost-render.js +0 -1
- package/dist/collection/components.stories.js +0 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet-container.js +0 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet.js +0 -1
- package/dist/collection/global/configService.js +0 -1
- package/dist/collection/global/types.js +0 -1
- package/dist/collection/index.js +0 -1
- package/dist/collection/store/catalog-store.js +0 -1
- package/dist/collection/store/lookups-store.js +0 -1
- package/dist/collection/udp-utilities/api/makeApiCall/examples.js +0 -1
- package/dist/collection/udp-utilities/api/makeApiCall/makeApiCall.js +4 -2
- package/dist/collection/udp-utilities/api-config/configService.js +0 -1
- package/dist/collection/udp-utilities/api-config/index.js +0 -1
- package/dist/collection/udp-utilities/api-udp/apiMutate.js +0 -1
- package/dist/collection/udp-utilities/api-udp/apiUtils.js +0 -1
- package/dist/collection/udp-utilities/api-udp/baseUrls.js +0 -1
- package/dist/collection/udp-utilities/catalog/getCurrentApiCatalogId.js +0 -1
- package/dist/collection/udp-utilities/entityUtilities.js +0 -1
- package/dist/collection/udp-utilities/enums/unity-system-enums.js +0 -1
- package/dist/collection/udp-utilities/grid/action-renderers/action-column-util.js +0 -1
- package/dist/collection/udp-utilities/grid/convertToAgGridColumns.js +0 -1
- package/dist/collection/udp-utilities/grid/data-converters/transformSearchData.js +0 -1
- package/dist/collection/udp-utilities/grid/data-source/SearchServiceDatasource.js +0 -1
- package/dist/collection/udp-utilities/grid/models/udp-models.js +0 -1
- package/dist/collection/udp-utilities/grid/search/inquiry-search-datasource.js +0 -1
- package/dist/collection/udp-utilities/grid/search/search-utilities.js +0 -1
- package/dist/collection/udp-utilities/grid/udp-grid-enums.js +0 -1
- package/dist/collection/udp-utilities/interfaces/searchObject.js +0 -1
- package/dist/collection/udp-utilities/layout/breakpoints/breakpoints.js +0 -1
- package/dist/collection/udp-utilities/layout/breakpoints/useMatchBreakpoint.js +0 -1
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +0 -1
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +0 -1
- package/dist/collection/udp-utilities/search/SearchBuilder.js +0 -1
- package/dist/collection/udp-utilities/search/index.js +0 -1
- package/dist/collection/udp-utilities/string-utilities.js +0 -1
- package/dist/collection/udp-utilities/tenant/tenantUtils.js +0 -1
- package/dist/collection/udp-utilities/udp-websocket-client/udp-websocket-client.js +0 -1
- package/dist/collection/udp-utilities/unity-session-storage.js +0 -1
- package/dist/collection/udp-utilities/user/getUserId.js +0 -1
- package/dist/components/SearchBuilder.js +1 -366
- package/dist/components/action-column-util.js +1 -42
- package/dist/components/add-map-feature-popup.js +1 -9
- package/dist/components/add-map-feature-popup2.js +1 -144
- package/dist/components/advanced-search-builder.js +1 -9
- package/dist/components/advanced-search-builder2.js +1 -458
- package/dist/components/advanced-search-grouped.js +1 -9
- package/dist/components/advanced-search-grouped2.js +1 -366
- package/dist/components/advanced-search.js +1 -9
- package/dist/components/advanced-search2.js +1 -270
- package/dist/components/ag-grid-base.js +1 -9
- package/dist/components/ag-grid-base2.js +1 -1127
- package/dist/components/ag-table.js +1 -9
- package/dist/components/ag-table2.js +1 -37
- package/dist/components/ambient-template-grid.js +1 -4395
- package/dist/components/api-method-instance-grid.js +1 -355
- package/dist/components/apiUtils.js +1 -431
- package/dist/components/app-bar.js +1 -77
- package/dist/components/catalog-store.js +1 -30
- package/dist/components/chart-container.js +1 -9
- package/dist/components/chart-container2.js +1 -129
- package/dist/components/chart-kpi.js +1 -9
- package/dist/components/chart-kpi2.js +1 -44
- package/dist/components/chartUtils.js +1 -574
- package/dist/components/check-box-group.js +1 -9
- package/dist/components/check-box-group2.js +1 -172
- package/dist/components/check-box.js +1 -152
- package/dist/components/chip-section.js +1 -179
- package/dist/components/client-side-grid.js +1 -9
- package/dist/components/client-side-grid2.js +1 -182
- package/dist/components/common.js +1 -8
- package/dist/components/configService.js +1 -173
- package/dist/components/conversionFunctions.js +1 -132
- package/dist/components/custom-button.js +1 -9
- package/dist/components/custom-button2.js +1 -77
- package/dist/components/date-time-renderer.js +1 -9
- package/dist/components/date-time-renderer2.js +1 -135
- package/dist/components/edit-view-form-dialog.js +1 -9
- package/dist/components/edit-view-form.js +1 -133
- package/dist/components/entity-maintenance-grid.js +1 -64
- package/dist/components/enums.js +1 -43
- package/dist/components/feature-details-card.js +1 -9
- package/dist/components/feature-details-card2.js +1 -221
- package/dist/components/feature-details-popup.js +1 -9
- package/dist/components/feature-details-popup2.js +1 -155
- package/dist/components/file-upload-renderer.js +1 -9
- package/dist/components/file-upload-renderer2.js +1 -68
- package/dist/components/file-upload.js +1 -9
- package/dist/components/file-upload2.js +1 -991
- package/dist/components/filter-conditions.js +1 -9
- package/dist/components/filter-conditions2.js +1 -47
- package/dist/components/filter-group.js +1 -9
- package/dist/components/filter-group2.js +1 -452
- package/dist/components/fluent-dialog.js +1 -9
- package/dist/components/fluent-dialog2.js +1 -74
- package/dist/components/form-metadata-display-renderer.js +1 -9
- package/dist/components/form-metadata-display-renderer2.js +1 -74
- package/dist/components/form-metadata-display.js +1 -9
- package/dist/components/form-metadata-display2.js +1 -77
- package/dist/components/forms-builder-utils.js +1 -47
- package/dist/components/ghost-render.js +1 -9
- package/dist/components/ghost-render2.js +1 -102
- package/dist/components/grid-header.js +1 -9
- package/dist/components/grid-header2.js +1 -126
- package/dist/components/grid-primary-bar.js +1 -9
- package/dist/components/grid-primary-bar2.js +1 -268
- package/dist/components/hint-panel.js +1 -9
- package/dist/components/hint-panel2.js +1 -55
- package/dist/components/image-upload.js +1 -9
- package/dist/components/image-upload2.js +1 -126
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -211
- package/dist/components/index2.js +1 -1762
- package/dist/components/kpi-list.js +1 -9
- package/dist/components/kpi-list2.js +1 -52
- package/dist/components/list-item.js +1 -118
- package/dist/components/list-options-renderer.js +1 -9
- package/dist/components/list-options-renderer2.js +1 -124
- package/dist/components/logical-search-indicator.js +1 -46
- package/dist/components/makeApiCall.js +1 -120
- package/dist/components/map-component.js +1 -9
- package/dist/components/map-component2.js +1 -583
- package/dist/components/map-interactions.js +1 -236
- package/dist/components/map-toolbar.js +1 -9
- package/dist/components/map-toolbar2.js +1 -359
- package/dist/components/numeric-field.js +1 -9
- package/dist/components/numeric-field2.js +1 -197
- package/dist/components/primary-action-header.js +1 -9
- package/dist/components/primary-action-header2.js +1 -140
- package/dist/components/question-configs-renderer.js +1 -9
- package/dist/components/question-configs-renderer2.js +1 -212
- package/dist/components/question-specific-configs-renderer.js +1 -9
- package/dist/components/question-specific-configs-renderer2.js +1 -543
- package/dist/components/resource-timeline-calendar.js +1 -431
- package/dist/components/resource-timeline-primary-bar.js +1 -9
- package/dist/components/resource-timeline-primary-bar2.js +1 -124
- package/dist/components/save-view-form-dialog.js +1 -9
- package/dist/components/save-view-form.js +1 -140
- package/dist/components/search-list-item.js +1 -9
- package/dist/components/search-list-item2.js +1 -177
- package/dist/components/search-method-grid.js +1 -9
- package/dist/components/search-method-grid2.js +1 -541
- package/dist/components/section-configs-renderer.js +1 -9
- package/dist/components/section-configs-renderer2.js +1 -90
- package/dist/components/select-layer-popup.js +1 -9
- package/dist/components/select-layer-popup2.js +1 -94
- package/dist/components/selectable-list.js +1 -9
- package/dist/components/selectable-list2.js +1 -284
- package/dist/components/server-side-grid.js +1 -9
- package/dist/components/server-side-grid2.js +1 -181
- package/dist/components/side-sheet-container.js +1 -9
- package/dist/components/side-sheet-container2.js +1 -39
- package/dist/components/side-sheet.js +1 -9
- package/dist/components/side-sheet2.js +1 -90
- package/dist/components/signature-input.js +1 -9
- package/dist/components/signature-input2.js +1 -371
- package/dist/components/signature-renderer.js +1 -9
- package/dist/components/signature-renderer2.js +1 -62
- package/dist/components/simple-card.js +1 -38
- package/dist/components/split-line-popup.js +1 -9
- package/dist/components/split-line-popup2.js +1 -61
- package/dist/components/status-chip.js +1 -9
- package/dist/components/status-chip2.js +1 -57
- package/dist/components/status-renderer.js +1 -288
- package/dist/components/stencil-chip.js +1 -9
- package/dist/components/stencil-chip2.js +1 -144
- package/dist/components/stencil-field.js +1 -9
- package/dist/components/stencil-field2.js +1 -285
- package/dist/components/stencil-form.js +1 -9
- package/dist/components/stencil-form2.js +1 -270
- package/dist/components/stencil-icon-button-grid-action-header.js +1 -9
- package/dist/components/stencil-icon-button-grid-action-header2.js +1 -84
- package/dist/components/stencil-icon-button.js +1 -9
- package/dist/components/stencil-icon-button2.js +1 -99
- package/dist/components/stencil-toggle.js +1 -9
- package/dist/components/stencil-toggle2.js +1 -192
- package/dist/components/tally-display.js +1 -9
- package/dist/components/tally.js +1 -99
- package/dist/components/tenantUtils.js +1 -8
- package/dist/components/text-area.js +1 -9
- package/dist/components/text-area2.js +1 -288
- package/dist/components/text-field.js +1 -9
- package/dist/components/text-field2.js +1 -241
- package/dist/components/text-input-renderer.js +1 -9
- package/dist/components/text-input-renderer2.js +1 -66
- package/dist/components/transformSearchData.js +1 -782
- package/dist/components/tree-list-item.js +1 -9
- package/dist/components/tree-list-item2.js +1 -194
- package/dist/components/udp-adornment.js +1 -9
- package/dist/components/udp-adornment2.js +1 -55
- package/dist/components/udp-advanced-search-builder.js +1 -157
- package/dist/components/udp-ambient-card.js +1 -9
- package/dist/components/udp-ambient-card2.js +1 -86
- package/dist/components/udp-ambient-tool-tip.js +1 -9
- package/dist/components/udp-ambient-tool-tip2.js +1 -124
- package/dist/components/udp-attachment-item.js +1 -9
- package/dist/components/udp-attachment-item2.js +1 -154
- package/dist/components/udp-attachment-list.js +1 -138
- package/dist/components/udp-avatar.js +1 -9
- package/dist/components/udp-avatar2.js +1 -91
- package/dist/components/udp-badge.js +1 -9
- package/dist/components/udp-badge2.js +1 -47
- package/dist/components/udp-bar-chart.js +1 -9
- package/dist/components/udp-bar-chart2.js +1 -139
- package/dist/components/udp-button.js +1 -9
- package/dist/components/udp-button2.js +1 -144
- package/dist/components/udp-calendar-base.js +1 -9
- package/dist/components/udp-calendar-base2.js +1 -204
- package/dist/components/udp-calendar-day.js +1 -49
- package/dist/components/udp-calendar-month.js +1 -49
- package/dist/components/udp-calendar-week.js +1 -49
- package/dist/components/udp-calendar-year.js +1 -49
- package/dist/components/udp-card-action-area.js +1 -38
- package/dist/components/udp-card-actions.js +1 -9
- package/dist/components/udp-card-actions2.js +1 -41
- package/dist/components/udp-card-content.js +1 -9
- package/dist/components/udp-card-content2.js +1 -40
- package/dist/components/udp-card-header.js +1 -9
- package/dist/components/udp-card-header2.js +1 -72
- package/dist/components/udp-card-media.js +1 -9
- package/dist/components/udp-card-media2.js +1 -38
- package/dist/components/udp-card.js +1 -9
- package/dist/components/udp-card2.js +1 -119
- package/dist/components/udp-charts-example.js +1 -112
- package/dist/components/udp-chip.js +1 -9
- package/dist/components/udp-chip2.js +1 -87
- package/dist/components/udp-column-header.js +1 -9
- package/dist/components/udp-column-header2.js +1 -41
- package/dist/components/udp-container-query-grid-item.js +1 -51
- package/dist/components/udp-container-query-grid.js +1 -79
- package/dist/components/udp-container-query.js +1 -9
- package/dist/components/udp-container-query2.js +1 -58
- package/dist/components/udp-container.js +1 -9
- package/dist/components/udp-container2.js +1 -56
- package/dist/components/udp-date-range-selector.js +1 -80
- package/dist/components/udp-date-selector.js +1 -9
- package/dist/components/udp-date-selector2.js +1 -195
- package/dist/components/udp-datetime-selector.js +1 -9
- package/dist/components/udp-datetime-selector2.js +1 -224
- package/dist/components/udp-dialog.js +1 -9
- package/dist/components/udp-dialog2.js +1 -119
- package/dist/components/udp-distribution-chart.js +1 -9
- package/dist/components/udp-distribution-chart2.js +1 -187
- package/dist/components/udp-divider.js +1 -9
- package/dist/components/udp-divider2.js +1 -42
- package/dist/components/udp-donut-chart.js +1 -9
- package/dist/components/udp-donut-chart2.js +1 -180
- package/dist/components/udp-drive-utils.js +1 -168
- package/dist/components/udp-dynamic-container-with-menu.js +1 -9
- package/dist/components/udp-dynamic-container-with-menu2.js +1 -181
- package/dist/components/udp-dynamic-form.js +1 -339
- package/dist/components/udp-empty-state-display.js +1 -9
- package/dist/components/udp-empty-state-display2.js +1 -68
- package/dist/components/udp-form-api-utils.js +1 -37
- package/dist/components/udp-forms-builder-menu.js +1 -9
- package/dist/components/udp-forms-builder-menu2.js +1 -81
- package/dist/components/udp-forms-builder-question-item.js +1 -9
- package/dist/components/udp-forms-builder-question-item2.js +1 -90
- package/dist/components/udp-forms-builder-style-override.js +1 -121
- package/dist/components/udp-forms-builder.js +1 -874
- package/dist/components/udp-forms-follow-up-list-card.js +1 -89
- package/dist/components/udp-forms-list-card.js +1 -9
- package/dist/components/udp-forms-list-card2.js +1 -186
- package/dist/components/udp-forms-list.js +1 -427
- package/dist/components/udp-forms-renderer.js +1 -1605
- package/dist/components/udp-forms-ui.js +1 -9
- package/dist/components/udp-forms-ui2.js +1 -381
- package/dist/components/udp-function-button.js +1 -9
- package/dist/components/udp-function-button2.js +1 -96
- package/dist/components/udp-grid-loader.js +1 -9
- package/dist/components/udp-grid-loader2.js +1 -52
- package/dist/components/udp-hotlist-form.js +1 -9
- package/dist/components/udp-hotlist-form2.js +1 -91
- package/dist/components/udp-icon-button.js +1 -9
- package/dist/components/udp-icon-button2.js +1 -161
- package/dist/components/udp-icon.js +1 -9
- package/dist/components/udp-icon2.js +1 -284
- package/dist/components/udp-kpi-card.js +1 -9
- package/dist/components/udp-kpi-card2.js +1 -156
- package/dist/components/udp-kpi-cards.js +1 -84
- package/dist/components/udp-line-chart.js +1 -9
- package/dist/components/udp-line-chart2.js +1 -134
- package/dist/components/udp-linear-loader.js +1 -9
- package/dist/components/udp-linear-loader2.js +1 -45
- package/dist/components/udp-link.js +1 -9
- package/dist/components/udp-link2.js +1 -70
- package/dist/components/udp-list-item.js +1 -9
- package/dist/components/udp-list-renderer.js +1 -9
- package/dist/components/udp-list-renderer2.js +1 -175
- package/dist/components/udp-map-toolbar.js +1 -9
- package/dist/components/udp-map-toolbar2.js +1 -387
- package/dist/components/udp-map-utils.js +1 -174
- package/dist/components/udp-map.js +1 -328
- package/dist/components/udp-menu-item.js +1 -9
- package/dist/components/udp-menu-item2.js +1 -61
- package/dist/components/udp-menu.js +1 -9
- package/dist/components/udp-menu2.js +1 -132
- package/dist/components/udp-notification.js +1 -9
- package/dist/components/udp-notification2.js +1 -64
- package/dist/components/udp-page-header.js +1 -9
- package/dist/components/udp-page-header2.js +1 -55
- package/dist/components/udp-page.js +1 -54
- package/dist/components/udp-pagination.js +1 -9
- package/dist/components/udp-pagination2.js +1 -104
- package/dist/components/udp-pop-over-grid-action-header.js +1 -9
- package/dist/components/udp-pop-over-grid-action-header2.js +1 -82
- package/dist/components/udp-pop-over.js +1 -9
- package/dist/components/udp-pop-over2.js +1 -161
- package/dist/components/udp-question-comments.js +1 -9
- package/dist/components/udp-question-comments2.js +1 -139
- package/dist/components/udp-question.js +1 -9
- package/dist/components/udp-question2.js +1 -423
- package/dist/components/udp-radio-button.js +1 -9
- package/dist/components/udp-radio-button2.js +1 -48
- package/dist/components/udp-sankey-chart.js +1 -186
- package/dist/components/udp-save-draft-button.js +1 -9
- package/dist/components/udp-save-draft-button2.js +1 -144
- package/dist/components/udp-selector.js +1 -9
- package/dist/components/udp-selector2.js +1 -425
- package/dist/components/udp-side-sheet.js +1 -9
- package/dist/components/udp-side-sheet2.js +1 -358
- package/dist/components/udp-skeleton-loading.js +1 -9
- package/dist/components/udp-skeleton-loading2.js +1 -43
- package/dist/components/udp-split-screen.js +1 -92
- package/dist/components/udp-stepper-demo.js +1 -143
- package/dist/components/udp-stepper.js +1 -9
- package/dist/components/udp-stepper2.js +1 -154
- package/dist/components/udp-tab-panel.js +1 -45
- package/dist/components/udp-tab.js +1 -64
- package/dist/components/udp-tabs.js +1 -9
- package/dist/components/udp-tabs2.js +1 -278
- package/dist/components/udp-time-selector.js +1 -9
- package/dist/components/udp-time-selector2.js +1 -296
- package/dist/components/udp-timeline-connector.js +1 -38
- package/dist/components/udp-timeline-dot.js +1 -72
- package/dist/components/udp-timeline-item.js +1 -120
- package/dist/components/udp-timeline-separator.js +1 -38
- package/dist/components/udp-timeline.js +1 -42
- package/dist/components/udp-vertical-spacer.js +1 -46
- package/dist/components/udp-xy-chart.js +1 -9
- package/dist/components/udp-xy-chart2.js +1 -230
- package/dist/components/udp-xy-multi-series-chart.js +1 -230
- package/dist/components/unity-typography.js +1 -9
- package/dist/components/unity-typography2.js +1 -85
- package/dist/components/upd-alert-banner.js +1 -9
- package/dist/components/upd-alert-banner2.js +1 -48
- package/dist/components/useFormApi.js +1 -47
- package/dist/components/utils.js +1 -87
- package/dist/components/validation-chip.js +1 -9
- package/dist/components/validation-chip2.js +1 -58
- package/dist/docs.d.ts +11 -0
- package/dist/docs.json +294 -143
- package/dist/esm/{SearchBuilder-CvKqGlUH.js → SearchBuilder-BjVdKjci.js} +1 -4
- package/dist/esm/action-column-util-DUK_9dnF.js +0 -3
- package/dist/esm/add-map-feature-popup_4.entry.js +33 -18
- package/dist/esm/advanced-search-builder.entry.js +3 -4
- package/dist/esm/advanced-search_12.entry.js +55 -38
- package/dist/esm/ag-grid-base_6.entry.js +28 -19
- package/dist/esm/ambient-template-grid.entry.js +73 -28
- package/dist/esm/api-method-instance-grid.entry.js +16 -7
- package/dist/esm/{apiUtils-cUHs50y0.js → apiUtils-11-yfzUs.js} +1 -4
- package/dist/esm/app-bar.entry.js +3 -4
- package/dist/esm/{catalog-store-BhgNAUY6.js → catalog-store-CbwcwIKF.js} +1 -4
- package/dist/esm/chart-container_3.entry.js +7 -8
- package/dist/esm/chartUtils-DFIyEsL1.js +0 -3
- package/dist/esm/check-box-group.entry.js +6 -5
- package/dist/esm/check-box.entry.js +12 -7
- package/dist/esm/chip-section.entry.js +6 -5
- package/dist/esm/client-side-grid_2.entry.js +6 -5
- package/dist/esm/common-CwN0FuAf.js +0 -3
- package/dist/esm/configService-BqLfkVKh.js +0 -3
- package/dist/esm/configureUdpColumnMods-CoCTzhve.js +0 -3
- package/dist/esm/conversionFunctions-CNWYTvRs.js +0 -3
- package/dist/esm/currency-renderer-D6zBtP2s.js +0 -3
- package/dist/esm/custom-button.entry.js +3 -4
- package/dist/esm/date-time-renderer_7.entry.js +17 -18
- package/dist/esm/entity-maintenance-grid.entry.js +3 -4
- package/dist/esm/{enums-DHT5wSnX.js → enums-D5dod6Ie.js} +1 -4
- package/dist/esm/feature-details-card_2.entry.js +19 -10
- package/dist/esm/file-upload_3.entry.js +23 -12
- package/dist/esm/filter-conditions_7.entry.js +21 -18
- package/dist/esm/filter-group_2.entry.js +5 -6
- package/dist/esm/fluent-dialog.entry.js +3 -4
- package/dist/esm/form-metadata-display_8.entry.js +49 -28
- package/dist/esm/getCurrentApiCatalogId-DeurXd9l.js +0 -3
- package/dist/esm/iconMapping-CPerGeNF.js +0 -3
- package/dist/esm/iconUtils-DcPvHO4A.js +0 -3
- package/dist/esm/{index-CaZq3YdB.js → index-DFnjA9NX.js} +311 -188
- package/dist/esm/index.js +4 -5
- package/dist/esm/loader.js +3 -4
- package/dist/esm/logical-search-indicator.entry.js +3 -4
- package/dist/esm/{makeApiCall-B-daVutk.js → makeApiCall-2umiVB6u.js} +4 -4
- package/dist/esm/map-component_2.entry.js +59 -22
- package/dist/esm/numeric-field_5.entry.js +56 -27
- package/dist/esm/primary-action-header_2.entry.js +17 -10
- package/dist/esm/question-configs-renderer_4.entry.js +11 -12
- package/dist/esm/resource-timeline-calendar.entry.js +12 -7
- package/dist/esm/search-method-grid.entry.js +6 -5
- package/dist/esm/server-side-grid.entry.js +4 -3
- package/dist/esm/side-sheet-container.entry.js +3 -4
- package/dist/esm/simple-card.entry.js +3 -4
- package/dist/esm/status-chip_2.entry.js +8 -7
- package/dist/esm/stencil-chip.entry.js +6 -5
- package/dist/esm/stencil-icon-button-grid-action-header.entry.js +3 -4
- package/dist/esm/stencil-icon-button_3.entry.js +7 -8
- package/dist/esm/stencil-library.js +4 -5
- package/dist/esm/stencil-toggle.entry.js +12 -7
- package/dist/esm/tenantUtils-Basdb1b1.js +0 -3
- package/dist/esm/text-field_2.entry.js +29 -14
- package/dist/esm/transformSearchData-DBjFnXu6.js +0 -3
- package/dist/esm/udp-adornment.entry.js +3 -4
- package/dist/esm/udp-advanced-search-builder.entry.js +7 -4
- package/dist/esm/udp-attachment-item_2.entry.js +5 -6
- package/dist/esm/udp-attachment-list.entry.js +1 -2
- package/dist/esm/udp-avatar.entry.js +3 -4
- package/dist/esm/udp-bar-chart_4.entry.js +45 -22
- package/dist/esm/udp-button.entry.js +3 -4
- package/dist/esm/udp-calendar-base.entry.js +6 -5
- package/dist/esm/udp-calendar-day.entry.js +3 -4
- package/dist/esm/udp-calendar-month.entry.js +3 -4
- package/dist/esm/udp-calendar-week.entry.js +3 -4
- package/dist/esm/udp-calendar-year.entry.js +3 -4
- package/dist/esm/udp-card-action-area.entry.js +3 -4
- package/dist/esm/udp-card_6.entry.js +13 -14
- package/dist/esm/udp-charts-example.entry.js +1 -2
- package/dist/esm/udp-chip_3.entry.js +10 -9
- package/dist/esm/udp-container-query-grid-item.entry.js +3 -4
- package/dist/esm/udp-container-query-grid.entry.js +3 -4
- package/dist/esm/udp-container-query.entry.js +3 -4
- package/dist/esm/udp-container.entry.js +3 -4
- package/dist/esm/udp-date-range-selector.entry.js +3 -4
- package/dist/esm/udp-divider.entry.js +3 -4
- package/dist/esm/udp-drive-utils-CIrjVGiJ.js +0 -3
- package/dist/esm/udp-dynamic-container-with-menu.entry.js +6 -5
- package/dist/esm/udp-dynamic-form.entry.js +3 -4
- package/dist/esm/udp-form-api-utils-vPSYCvIA.js +0 -3
- package/dist/esm/{udp-forms-builder-question-template-D6ADNZEG.js → udp-forms-builder-question-template-BsYOju9V.js} +1 -4
- package/dist/esm/udp-forms-builder-style-override.entry.js +3 -4
- package/dist/esm/udp-forms-builder.entry.js +15 -12
- package/dist/esm/udp-forms-follow-up-list-card.entry.js +2 -3
- package/dist/esm/udp-forms-list-card.entry.js +2 -3
- package/dist/esm/udp-forms-list.entry.js +7 -6
- package/dist/esm/udp-forms-renderer.entry.js +39 -22
- package/dist/esm/udp-forms-ui.entry.js +7 -6
- package/dist/esm/udp-icon.entry.js +3 -4
- package/dist/esm/udp-kpi-card.entry.js +3 -4
- package/dist/esm/udp-kpi-cards.entry.js +3 -4
- package/dist/esm/udp-linear-loader_2.entry.js +11 -8
- package/dist/esm/udp-list-renderer_2.entry.js +8 -7
- package/dist/esm/udp-map-utils-DNAUNI5U.js +0 -3
- package/dist/esm/udp-map.entry.js +9 -6
- package/dist/esm/udp-menu-item_2.entry.js +8 -7
- package/dist/esm/udp-page.entry.js +3 -4
- package/dist/esm/udp-sankey-chart.entry.js +30 -13
- package/dist/esm/udp-skeleton-loading.entry.js +3 -4
- package/dist/esm/udp-split-screen.entry.js +3 -4
- package/dist/esm/udp-stepper-demo.entry.js +1 -2
- package/dist/esm/udp-stepper.entry.js +6 -5
- package/dist/esm/udp-tab-panel.entry.js +3 -4
- package/dist/esm/udp-tab.entry.js +3 -4
- package/dist/esm/udp-timeline-connector.entry.js +3 -4
- package/dist/esm/udp-timeline-dot.entry.js +3 -4
- package/dist/esm/udp-timeline-item.entry.js +3 -4
- package/dist/esm/udp-timeline-separator.entry.js +3 -4
- package/dist/esm/udp-timeline.entry.js +3 -4
- package/dist/esm/udp-vertical-spacer.entry.js +3 -4
- package/dist/esm/udp-xy-chart.entry.js +39 -16
- package/dist/esm/udp-xy-multi-series-chart.entry.js +27 -12
- package/dist/esm/udpFieldHelper-qPBcfmrH.js +0 -3
- package/dist/esm/udpOperatorHelper-BsvDrT81.js +0 -3
- package/dist/esm/unity-typography.entry.js +3 -4
- package/dist/esm/utils-kwLwITIE.js +0 -3
- package/dist/stencil-library/SearchBuilder-BjVdKjci.js +1 -0
- package/dist/stencil-library/action-column-util-DUK_9dnF.js +1 -2
- package/dist/stencil-library/add-map-feature-popup_4.entry.js +1 -2
- package/dist/stencil-library/advanced-search-builder.entry.js +1 -2
- package/dist/stencil-library/advanced-search_12.entry.js +1 -2
- package/dist/stencil-library/ag-grid-base_6.entry.js +1 -2
- package/dist/stencil-library/ambient-template-grid.entry.js +1 -2
- package/dist/stencil-library/api-method-instance-grid.entry.js +1 -2
- package/dist/stencil-library/apiUtils-11-yfzUs.js +1 -0
- package/dist/stencil-library/app-bar.entry.js +1 -2
- package/dist/stencil-library/catalog-store-CbwcwIKF.js +1 -0
- package/dist/stencil-library/chart-container_3.entry.js +1 -2
- package/dist/stencil-library/chartUtils-DFIyEsL1.js +1 -2
- package/dist/stencil-library/check-box-group.entry.js +1 -2
- package/dist/stencil-library/check-box.entry.js +1 -2
- package/dist/stencil-library/chip-section.entry.js +1 -2
- package/dist/stencil-library/client-side-grid_2.entry.js +1 -2
- package/dist/stencil-library/common-CwN0FuAf.js +1 -2
- package/dist/stencil-library/configService-BqLfkVKh.js +1 -2
- package/dist/stencil-library/configureUdpColumnMods-CoCTzhve.js +1 -2
- package/dist/stencil-library/conversionFunctions-CNWYTvRs.js +1 -2
- package/dist/stencil-library/currency-renderer-D6zBtP2s.js +1 -2
- package/dist/stencil-library/custom-button.entry.js +1 -2
- package/dist/stencil-library/date-time-renderer_7.entry.js +1 -2
- package/dist/stencil-library/entity-maintenance-grid.entry.js +1 -2
- package/dist/stencil-library/enums-D5dod6Ie.js +1 -0
- package/dist/stencil-library/feature-details-card_2.entry.js +1 -2
- package/dist/stencil-library/file-upload_3.entry.js +1 -2
- package/dist/stencil-library/filter-conditions_7.entry.js +1 -2
- package/dist/stencil-library/filter-group_2.entry.js +1 -2
- package/dist/stencil-library/fluent-dialog.entry.js +1 -2
- package/dist/stencil-library/form-metadata-display_8.entry.js +1 -2
- package/dist/stencil-library/getCurrentApiCatalogId-DeurXd9l.js +1 -2
- package/dist/stencil-library/iconMapping-CPerGeNF.js +1 -2
- package/dist/stencil-library/iconUtils-DcPvHO4A.js +1 -2
- package/dist/stencil-library/index-DFnjA9NX.js +2 -0
- package/dist/stencil-library/index.esm.js +1 -2
- package/dist/stencil-library/logical-search-indicator.entry.js +1 -2
- package/dist/stencil-library/makeApiCall-2umiVB6u.js +1 -0
- package/dist/stencil-library/map-component_2.entry.js +1 -2
- package/dist/stencil-library/numeric-field_5.entry.js +1 -2
- package/dist/stencil-library/primary-action-header_2.entry.js +1 -2
- package/dist/stencil-library/question-configs-renderer_4.entry.js +1 -2
- package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -2
- package/dist/stencil-library/search-method-grid.entry.js +1 -2
- package/dist/stencil-library/server-side-grid.entry.js +1 -2
- package/dist/stencil-library/side-sheet-container.entry.js +1 -2
- package/dist/stencil-library/simple-card.entry.js +1 -2
- package/dist/stencil-library/status-chip_2.entry.js +1 -2
- package/dist/stencil-library/stencil-chip.entry.js +1 -2
- package/dist/stencil-library/stencil-icon-button-grid-action-header.entry.js +1 -2
- package/dist/stencil-library/stencil-icon-button_3.entry.js +1 -2
- package/dist/stencil-library/stencil-library.esm.js +1 -2
- package/dist/stencil-library/stencil-toggle.entry.js +1 -2
- package/dist/stencil-library/tenantUtils-Basdb1b1.js +1 -2
- package/dist/stencil-library/text-field_2.entry.js +1 -2
- package/dist/stencil-library/transformSearchData-DBjFnXu6.js +1 -2
- package/dist/stencil-library/udp-adornment.entry.js +1 -2
- package/dist/stencil-library/udp-advanced-search-builder.entry.js +1 -2
- package/dist/stencil-library/udp-attachment-item_2.entry.js +1 -2
- package/dist/stencil-library/udp-attachment-list.entry.js +1 -2
- package/dist/stencil-library/udp-avatar.entry.js +1 -2
- package/dist/stencil-library/udp-bar-chart_4.entry.js +1 -2
- package/dist/stencil-library/udp-button.entry.js +1 -2
- package/dist/stencil-library/udp-calendar-base.entry.js +1 -2
- package/dist/stencil-library/udp-calendar-day.entry.js +1 -2
- package/dist/stencil-library/udp-calendar-month.entry.js +1 -2
- package/dist/stencil-library/udp-calendar-week.entry.js +1 -2
- package/dist/stencil-library/udp-calendar-year.entry.js +1 -2
- package/dist/stencil-library/udp-card-action-area.entry.js +1 -2
- package/dist/stencil-library/udp-card_6.entry.js +1 -2
- package/dist/stencil-library/udp-charts-example.entry.js +1 -2
- package/dist/stencil-library/udp-chip_3.entry.js +1 -2
- package/dist/stencil-library/udp-container-query-grid-item.entry.js +1 -2
- package/dist/stencil-library/udp-container-query-grid.entry.js +1 -2
- package/dist/stencil-library/udp-container-query.entry.js +1 -2
- package/dist/stencil-library/udp-container.entry.js +1 -2
- package/dist/stencil-library/udp-date-range-selector.entry.js +1 -2
- package/dist/stencil-library/udp-divider.entry.js +1 -2
- package/dist/stencil-library/udp-drive-utils-CIrjVGiJ.js +1 -2
- package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js +1 -2
- package/dist/stencil-library/udp-dynamic-form.entry.js +1 -2
- package/dist/stencil-library/udp-form-api-utils-vPSYCvIA.js +1 -2
- package/dist/stencil-library/udp-forms-builder-question-template-BsYOju9V.js +1 -0
- package/dist/stencil-library/udp-forms-builder-style-override.entry.js +1 -2
- package/dist/stencil-library/udp-forms-builder.entry.js +1 -2
- package/dist/stencil-library/udp-forms-follow-up-list-card.entry.js +1 -2
- package/dist/stencil-library/udp-forms-list-card.entry.js +1 -2
- package/dist/stencil-library/udp-forms-list.entry.js +1 -2
- package/dist/stencil-library/udp-forms-renderer.entry.js +1 -2
- package/dist/stencil-library/udp-forms-ui.entry.js +1 -2
- package/dist/stencil-library/udp-icon.entry.js +1 -2
- package/dist/stencil-library/udp-kpi-card.entry.js +1 -2
- package/dist/stencil-library/udp-kpi-cards.entry.js +1 -2
- package/dist/stencil-library/udp-linear-loader_2.entry.js +1 -2
- package/dist/stencil-library/udp-list-renderer_2.entry.js +1 -2
- package/dist/stencil-library/udp-map-utils-DNAUNI5U.js +1 -2
- package/dist/stencil-library/udp-map.entry.js +1 -2
- package/dist/stencil-library/udp-menu-item_2.entry.js +1 -2
- package/dist/stencil-library/udp-page.entry.js +1 -2
- package/dist/stencil-library/udp-sankey-chart.entry.js +1 -2
- package/dist/stencil-library/udp-skeleton-loading.entry.js +1 -2
- package/dist/stencil-library/udp-split-screen.entry.js +1 -2
- package/dist/stencil-library/udp-stepper-demo.entry.js +1 -2
- package/dist/stencil-library/udp-stepper.entry.js +1 -2
- package/dist/stencil-library/udp-tab-panel.entry.js +1 -2
- package/dist/stencil-library/udp-tab.entry.js +1 -2
- package/dist/stencil-library/udp-timeline-connector.entry.js +1 -2
- package/dist/stencil-library/udp-timeline-dot.entry.js +1 -2
- package/dist/stencil-library/udp-timeline-item.entry.js +1 -2
- package/dist/stencil-library/udp-timeline-separator.entry.js +1 -2
- package/dist/stencil-library/udp-timeline.entry.js +1 -2
- package/dist/stencil-library/udp-vertical-spacer.entry.js +1 -2
- package/dist/stencil-library/udp-xy-chart.entry.js +1 -2
- package/dist/stencil-library/udp-xy-multi-series-chart.entry.js +1 -2
- package/dist/stencil-library/udpFieldHelper-qPBcfmrH.js +1 -2
- package/dist/stencil-library/udpOperatorHelper-BsvDrT81.js +1 -2
- package/dist/stencil-library/unity-typography.entry.js +1 -2
- package/dist/stencil-library/utils-kwLwITIE.js +1 -2
- package/dist/types/components/advanced-search/advanced-search-grouped.d.ts +5 -5
- package/dist/types/components/advanced-search/types.d.ts +39 -4
- package/dist/types/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.d.ts +1 -0
- package/dist/types/components/forms/udp-forms/udp-forms-utils/enums.d.ts +1 -1
- package/dist/types/components/forms/udp-forms/udp-forms-utils/form-submission-handler/FormSubmissionHandler.d.ts +3 -1
- package/dist/types/components/forms/udp-forms/udp-forms-utils/form-submission-handler/FormSubmissionHandlerFactory.d.ts +1 -1
- package/dist/types/components.d.ts +10 -8
- package/dist/types/stencil-public-runtime.d.ts +88 -5
- package/dist/types/udp-utilities/api/makeApiCall/makeApiCall.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cjs/SearchBuilder-C1sUitjQ.js.map +0 -1
- package/dist/cjs/action-column-util-CQRWvOT6.js.map +0 -1
- package/dist/cjs/add-map-feature-popup.map-toolbar.select-layer-popup.split-line-popup.entry.cjs.js.map +0 -1
- package/dist/cjs/advanced-search-builder.entry.cjs.js.map +0 -1
- package/dist/cjs/advanced-search.advanced-search-grouped.ag-table.edit-view-form-dialog.grid-primary-bar.kpi-list.save-view-form-dialog.side-sheet.udp-hotlist-form.udp-notification.udp-pop-over-grid-action-header.upd-alert-banner.entry.cjs.js.map +0 -1
- package/dist/cjs/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.cjs.js.map +0 -1
- package/dist/cjs/ambient-template-grid.entry.cjs.js.map +0 -1
- package/dist/cjs/api-method-instance-grid.entry.cjs.js.map +0 -1
- package/dist/cjs/apiUtils-DT-fLJOw.js.map +0 -1
- package/dist/cjs/app-bar.entry.cjs.js.map +0 -1
- package/dist/cjs/catalog-store-BOiNPWZB.js.map +0 -1
- package/dist/cjs/chart-container.chart-kpi.udp-ambient-card.entry.cjs.js.map +0 -1
- package/dist/cjs/chartUtils-Gg3D2Moc.js.map +0 -1
- package/dist/cjs/check-box-group.entry.cjs.js.map +0 -1
- package/dist/cjs/check-box.entry.cjs.js.map +0 -1
- package/dist/cjs/chip-section.entry.cjs.js.map +0 -1
- package/dist/cjs/client-side-grid.resource-timeline-primary-bar.entry.cjs.js.map +0 -1
- package/dist/cjs/common-By_kzIQM.js.map +0 -1
- package/dist/cjs/configService-BmGAegZf.js.map +0 -1
- package/dist/cjs/configureUdpColumnMods-CQMOB8IW.js.map +0 -1
- package/dist/cjs/conversionFunctions-B_9y17KE.js.map +0 -1
- package/dist/cjs/currency-renderer-xzaldEo2.js.map +0 -1
- package/dist/cjs/custom-button.entry.cjs.js.map +0 -1
- package/dist/cjs/date-time-renderer.file-upload-renderer.form-metadata-display-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.cjs.js.map +0 -1
- package/dist/cjs/entity-maintenance-grid.entry.cjs.js.map +0 -1
- package/dist/cjs/enums-CgcTuQjC.js.map +0 -1
- package/dist/cjs/feature-details-card.feature-details-popup.entry.cjs.js.map +0 -1
- package/dist/cjs/file-upload.selectable-list.stencil-field.entry.cjs.js.map +0 -1
- package/dist/cjs/filter-conditions.search-list-item.tree-list-item.udp-column-header.udp-grid-loader.udp-page-header.udp-radio-button.entry.cjs.js.map +0 -1
- package/dist/cjs/filter-group.validation-chip.entry.cjs.js.map +0 -1
- package/dist/cjs/fluent-dialog.entry.cjs.js.map +0 -1
- package/dist/cjs/form-metadata-display.image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.cjs.js.map +0 -1
- package/dist/cjs/getCurrentApiCatalogId-D7xHCEzs.js.map +0 -1
- package/dist/cjs/iconMapping-CkHR1LGY.js.map +0 -1
- package/dist/cjs/iconUtils-BuDk48Xh.js.map +0 -1
- package/dist/cjs/index-CGCOXUJE.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/logical-search-indicator.entry.cjs.js.map +0 -1
- package/dist/cjs/makeApiCall-CFfg9gI0.js.map +0 -1
- package/dist/cjs/map-component.udp-map-toolbar.entry.cjs.js.map +0 -1
- package/dist/cjs/numeric-field.text-area.udp-date-selector.udp-datetime-selector.udp-time-selector.entry.cjs.js.map +0 -1
- package/dist/cjs/primary-action-header.udp-tabs.entry.cjs.js.map +0 -1
- package/dist/cjs/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.entry.cjs.js.map +0 -1
- package/dist/cjs/resource-timeline-calendar.entry.cjs.js.map +0 -1
- package/dist/cjs/search-method-grid.entry.cjs.js.map +0 -1
- package/dist/cjs/server-side-grid.entry.cjs.js.map +0 -1
- package/dist/cjs/side-sheet-container.entry.cjs.js.map +0 -1
- package/dist/cjs/simple-card.entry.cjs.js.map +0 -1
- package/dist/cjs/status-chip.udp-function-button.entry.cjs.js.map +0 -1
- package/dist/cjs/stencil-chip.entry.cjs.js.map +0 -1
- package/dist/cjs/stencil-icon-button-grid-action-header.entry.cjs.js.map +0 -1
- package/dist/cjs/stencil-icon-button.udp-ambient-tool-tip.udp-badge.entry.cjs.js.map +0 -1
- package/dist/cjs/stencil-library.cjs.js.map +0 -1
- package/dist/cjs/stencil-toggle.entry.cjs.js.map +0 -1
- package/dist/cjs/tenantUtils-BCKSE0vq.js.map +0 -1
- package/dist/cjs/text-field.udp-selector.entry.cjs.js.map +0 -1
- package/dist/cjs/transformSearchData-B4bk4Aik.js.map +0 -1
- package/dist/cjs/udp-adornment.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-advanced-search-builder.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-attachment-item.udp-empty-state-display.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-attachment-list.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-avatar.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-bar-chart.udp-distribution-chart.udp-donut-chart.udp-line-chart.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-button.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-calendar-base.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-calendar-day.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-calendar-month.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-calendar-week.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-calendar-year.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-card-action-area.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-card.udp-card-actions.udp-card-content.udp-card-header.udp-card-media.udp-link.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-charts-example.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-chip.udp-icon-button.udp-menu.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-container-query-grid-item.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-container-query-grid.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-container-query.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-container.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-date-range-selector.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-divider.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-drive-utils-B8uPAKzW.js.map +0 -1
- package/dist/cjs/udp-dynamic-container-with-menu.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-dynamic-form.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-form-api-utils-BwNeblH_.js.map +0 -1
- package/dist/cjs/udp-forms-builder-question-template-BMMpObLX.js.map +0 -1
- package/dist/cjs/udp-forms-builder-style-override.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-forms-builder.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-forms-follow-up-list-card.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-forms-list-card.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-forms-list.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-forms-renderer.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-forms-ui.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-icon.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-kpi-card.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-kpi-cards.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-linear-loader.udp-side-sheet.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-list-renderer.udp-pagination.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-map-utils-BXqQmr-h.js.map +0 -1
- package/dist/cjs/udp-map.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-menu-item.udp-pop-over.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-page.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-sankey-chart.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-skeleton-loading.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-split-screen.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-stepper-demo.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-stepper.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-tab-panel.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-tab.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-timeline-connector.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-timeline-dot.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-timeline-item.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-timeline-separator.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-timeline.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-vertical-spacer.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-xy-chart.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-xy-multi-series-chart.entry.cjs.js.map +0 -1
- package/dist/cjs/udpFieldHelper-0jB0kwFN.js.map +0 -1
- package/dist/cjs/udpOperatorHelper-MMG_hrZS.js.map +0 -1
- package/dist/cjs/unity-typography.entry.cjs.js.map +0 -1
- package/dist/cjs/utils-Bp02BX38.js.map +0 -1
- package/dist/collection/components/advanced-search/advanced-search-grouped.js.map +0 -1
- package/dist/collection/components/advanced-search/advanced-search.js.map +0 -1
- package/dist/collection/components/advanced-search/filter-conditions/filter-conditions.js.map +0 -1
- package/dist/collection/components/advanced-search/types.js.map +0 -1
- package/dist/collection/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.js.map +0 -1
- package/dist/collection/components/advanced-search-builder/advanced-search-builder.js.map +0 -1
- package/dist/collection/components/advanced-search-builder/filter-group.js.map +0 -1
- package/dist/collection/components/advanced-search-builder/helperFunctions/createStringFromSearchObject.js.map +0 -1
- package/dist/collection/components/advanced-search-builder/helperFunctions/fieldRenderer.js.map +0 -1
- package/dist/collection/components/advanced-search-builder/helperFunctions/udpFieldHelper.js.map +0 -1
- package/dist/collection/components/advanced-search-builder/helperFunctions/udpOperatorHelper.js.map +0 -1
- package/dist/collection/components/advanced-search-builder/models.js.map +0 -1
- package/dist/collection/components/advanced-search-builder/udp-advanced-search-builder.js.map +0 -1
- package/dist/collection/components/advanced-search-builder/validation-chip.js.map +0 -1
- package/dist/collection/components/attachment-list/type.js.map +0 -1
- package/dist/collection/components/attachment-list/udp-attachment-item.js.map +0 -1
- package/dist/collection/components/attachment-list/udp-attachment-list.js.map +0 -1
- package/dist/collection/components/buttons/icon-button/function-button/udp-function-button.js.map +0 -1
- package/dist/collection/components/buttons/icon-button/primary-button/custom-button.js.map +0 -1
- package/dist/collection/components/buttons/icon-button/radio-button/udp-radio-button.js.map +0 -1
- package/dist/collection/components/buttons/icon-button/stencil-icon-button-grid-action-header.js.map +0 -1
- package/dist/collection/components/buttons/icon-button/stencil-icon-button.js.map +0 -1
- package/dist/collection/components/buttons/udp-button/udp-button.js.map +0 -1
- package/dist/collection/components/buttons/udp-icon-button/udp-icon-button.js.map +0 -1
- package/dist/collection/components/calendar/udp-calendar-base.js.map +0 -1
- package/dist/collection/components/calendar/udp-calendar-day.js.map +0 -1
- package/dist/collection/components/calendar/udp-calendar-month.js.map +0 -1
- package/dist/collection/components/calendar/udp-calendar-week.js.map +0 -1
- package/dist/collection/components/calendar/udp-calendar-year.js.map +0 -1
- package/dist/collection/components/charts/chart-container/chart-container.js.map +0 -1
- package/dist/collection/components/charts/chart-kpi/chart-kpi.js.map +0 -1
- package/dist/collection/components/charts/chartUtils.js.map +0 -1
- package/dist/collection/components/charts/udp-bar-chart/udp-bar-chart.js.map +0 -1
- package/dist/collection/components/charts/udp-charts-example.js.map +0 -1
- package/dist/collection/components/charts/udp-distribution-chart/udp-distribution-chart.js.map +0 -1
- package/dist/collection/components/charts/udp-donut-chart/udp-donut-chart.js.map +0 -1
- package/dist/collection/components/charts/udp-line-chart/udp-line-chart.js.map +0 -1
- package/dist/collection/components/charts/udp-sankey-chart/udp-sankey-chart.js.map +0 -1
- package/dist/collection/components/charts/udp-xy-chart/udp-xy-chart.js.map +0 -1
- package/dist/collection/components/charts/udp-xy-multi-series-chart/udp-xy-multi-series-chart.js.map +0 -1
- package/dist/collection/components/data-display/adornment/udp-adornment/udp-adornment.js.map +0 -1
- package/dist/collection/components/data-display/badge/udp-badge.js.map +0 -1
- package/dist/collection/components/data-display/cards/udp-ambient-card/udp-ambient-card.js.map +0 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js.map +0 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js.map +0 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-content/udp-card-content.js.map +0 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-header/udp-card-header.js.map +0 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-media/udp-card-media.js.map +0 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card.js.map +0 -1
- package/dist/collection/components/data-display/chips/stencil-chip/status-chip/status-chip.js.map +0 -1
- package/dist/collection/components/data-display/chips/stencil-chip/stencil-chip.js.map +0 -1
- package/dist/collection/components/data-display/chips/udp-chip.js.map +0 -1
- package/dist/collection/components/data-display/divider/udp-divider.js.map +0 -1
- package/dist/collection/components/data-display/empty-state-display/udp-empty-state-display.js.map +0 -1
- package/dist/collection/components/data-display/headers/udp-column-header.js.map +0 -1
- package/dist/collection/components/data-display/headers/udp-page-header/udp-page-header.js.map +0 -1
- package/dist/collection/components/data-display/hint-panel/hint-panel.js.map +0 -1
- package/dist/collection/components/data-display/icons/CarbonIcon.js.map +0 -1
- package/dist/collection/components/data-display/icons/iconMapping.js.map +0 -1
- package/dist/collection/components/data-display/icons/iconUtils.js.map +0 -1
- package/dist/collection/components/data-display/icons/udp-icon.js.map +0 -1
- package/dist/collection/components/data-display/kpi/kpi-list.js.map +0 -1
- package/dist/collection/components/data-display/kpi/types.js.map +0 -1
- package/dist/collection/components/data-display/kpi/udp-kpi-card.js.map +0 -1
- package/dist/collection/components/data-display/kpi/udp-kpi-cards.js.map +0 -1
- package/dist/collection/components/data-display/list-item/list-item.js.map +0 -1
- package/dist/collection/components/data-display/list-renderer/udp-list-renderer.js.map +0 -1
- package/dist/collection/components/data-display/pop-over/interfaces/popoverInterfaces.js.map +0 -1
- package/dist/collection/components/data-display/pop-over/udp-pop-over.js.map +0 -1
- package/dist/collection/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js.map +0 -1
- package/dist/collection/components/data-display/primary-action-header/primary-action-header.js.map +0 -1
- package/dist/collection/components/data-display/simple-card/simple-card.js.map +0 -1
- package/dist/collection/components/data-display/tool-tip/udp-ambient-tool-tip.js.map +0 -1
- package/dist/collection/components/data-display/tree/tree-list-item/search-item/search-list-item.js.map +0 -1
- package/dist/collection/components/data-display/tree/tree-list-item/tree-list-item.js.map +0 -1
- package/dist/collection/components/data-display/udp-avatar/udp-avatar.js.map +0 -1
- package/dist/collection/components/dialogs/fluent-dialog/fluent-dialog.js.map +0 -1
- package/dist/collection/components/dialogs/udp-dialog.js.map +0 -1
- package/dist/collection/components/drawers/udp-side-sheet/types.js.map +0 -1
- package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.js.map +0 -1
- package/dist/collection/components/feedback/udp-notification/alerts/upd-alert-banner.js.map +0 -1
- package/dist/collection/components/feedback/udp-notification/udp-notification.js.map +0 -1
- package/dist/collection/components/forms/dynamic-form/udp-dynamic-form.js.map +0 -1
- package/dist/collection/components/forms/edit-view-form/edit-view-form.js.map +0 -1
- package/dist/collection/components/forms/form/stencil-field.js.map +0 -1
- package/dist/collection/components/forms/form/stencil-form.js.map +0 -1
- package/dist/collection/components/forms/form/useFormApi.js.map +0 -1
- package/dist/collection/components/forms/save-view-form/save-view-form.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-builder-utils.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-question-item/udp-forms-builder-question-item.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/typographyVariantsList.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/date-time-renderer/date-time-renderer.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-specific-configs-renderer/question-specific-configs-renderer.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/section-configs-renderer/section-configs-renderer.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-menu/udp-forms-builder-menu.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-question-template.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-style-override/udp-forms-builder-style-override.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-form-api-utils.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-follow-up-list-card/udp-forms-follow-up-list-card.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-ui/udp-forms-ui.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils/comments-crud-utils.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils/repeated-section-utils.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils/utils.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-save-draft-button/udp-save-draft-button.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/classes/UdpForm.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/classes/UdpFormSubmission.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/enums.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-handler/IFormHandler.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-handler/UdpFormHandler.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/FormSubmissionHandler.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/FormSubmissionHandlerFactory.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/IFormSubmissionHandler.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/formUtils.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/types.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-utils/utils.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-question/udp-question-comment/udp-question-comments.js.map +0 -1
- package/dist/collection/components/forms/udp-forms/udp-question/udp-question.js.map +0 -1
- package/dist/collection/components/grid/ag-table/ag-table.js.map +0 -1
- package/dist/collection/components/grid/ambient-template-grid/ambient-template-functions/buildGroupedSearchPayload.js.map +0 -1
- package/dist/collection/components/grid/ambient-template-grid/ambient-template-grid.js.map +0 -1
- package/dist/collection/components/grid/ambient-template-grid/enums/gridEnums.js.map +0 -1
- package/dist/collection/components/grid/ambient-template-grid/interfaces/gridInterfaces.js.map +0 -1
- package/dist/collection/components/grid/ambient-template-grid/license/licenseKey.js.map +0 -1
- package/dist/collection/components/grid/ambient-template-grid/static-data/get-all-hotlists.js.map +0 -1
- package/dist/collection/components/grid/conversionFunctions/conversionFunctions.js.map +0 -1
- package/dist/collection/components/grid/grid-primary-bar/grid-primary-bar.js.map +0 -1
- package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js.map +0 -1
- package/dist/collection/components/grid/new-grid/ag-grid-base.js.map +0 -1
- package/dist/collection/components/grid/new-grid/api-method-instance-grid.js.map +0 -1
- package/dist/collection/components/grid/new-grid/client-side-grid.js.map +0 -1
- package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js.map +0 -1
- package/dist/collection/components/grid/new-grid/entity-maintenance-grid.js.map +0 -1
- package/dist/collection/components/grid/new-grid/grid-header.js.map +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctionRegistry.js.map +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/advancedSearch.js.map +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/agGridAutoSizeColumns.js.map +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/agGridExport.js.map +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/agGridHideShowColumns.js.map +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/agGridResetColumns.js.map +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/agGridSizeColumnsToFit.js.map +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/bulkActions.js.map +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/chipFilter.js.map +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/restoreGridState.js.map +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/savedViews.js.map +0 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/udpExport.js.map +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/configureUdpColumnMods.js.map +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/convertBackendTypeToAgGridType.js.map +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/convertSearchObjectToAgGridModel.js.map +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/guardedViewTransitions.js.map +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/lookupHelper.js.map +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/searchObjectHelper.js.map +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/toggleAgGridColumnFilter.js.map +0 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/valueFormatters.js.map +0 -1
- package/dist/collection/components/grid/new-grid/interfaces/grid.js.map +0 -1
- package/dist/collection/components/grid/new-grid/interfaces/gridFunction.js.map +0 -1
- package/dist/collection/components/grid/new-grid/search-method-grid.js.map +0 -1
- package/dist/collection/components/grid/new-grid/server-side-grid.js.map +0 -1
- package/dist/collection/components/grid/renderers/actions-renderer.js.map +0 -1
- package/dist/collection/components/grid/renderers/ag-grid-subtitle-cell-renderer.js.map +0 -1
- package/dist/collection/components/grid/renderers/currency-renderer.js.map +0 -1
- package/dist/collection/components/grid/renderers/custom-actions-renderer.js.map +0 -1
- package/dist/collection/components/grid/renderers/custom-renderer.js.map +0 -1
- package/dist/collection/components/grid/renderers/date-time-cell-renderer.js.map +0 -1
- package/dist/collection/components/grid/renderers/email-cell-renderer.js.map +0 -1
- package/dist/collection/components/grid/renderers/hot-list-add-renderer.js.map +0 -1
- package/dist/collection/components/grid/renderers/hover-content-cell-renderer.js.map +0 -1
- package/dist/collection/components/grid/renderers/icon-renderer.js.map +0 -1
- package/dist/collection/components/grid/renderers/open-function-cell-renderer.js.map +0 -1
- package/dist/collection/components/grid/renderers/return-search-data-cell-renderer.js.map +0 -1
- package/dist/collection/components/grid/renderers/sharedContext.js.map +0 -1
- package/dist/collection/components/grid/renderers/status-renderer.js.map +0 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js.map +0 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-column-header.js.map +0 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js.map +0 -1
- package/dist/collection/components/inputs/checkbox/check-box.js.map +0 -1
- package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js.map +0 -1
- package/dist/collection/components/inputs/date-selector/udp-date-selector.js.map +0 -1
- package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js.map +0 -1
- package/dist/collection/components/inputs/file-upload/file-upload.js.map +0 -1
- package/dist/collection/components/inputs/file-upload/udp-drive-utils.js.map +0 -1
- package/dist/collection/components/inputs/form metadata display/form-metadata-display.js.map +0 -1
- package/dist/collection/components/inputs/image-upload/image-upload.js.map +0 -1
- package/dist/collection/components/inputs/input-types.js.map +0 -1
- package/dist/collection/components/inputs/numeric-field/numeric-field.js.map +0 -1
- package/dist/collection/components/inputs/selectable-list/selectable-list.js.map +0 -1
- package/dist/collection/components/inputs/signature-input/signature-input.js.map +0 -1
- package/dist/collection/components/inputs/tally/tally.js.map +0 -1
- package/dist/collection/components/inputs/text-area/text-area.js.map +0 -1
- package/dist/collection/components/inputs/text-field/text-field.js.map +0 -1
- package/dist/collection/components/inputs/time-selector/udp-time-selector.js.map +0 -1
- package/dist/collection/components/inputs/toggle/stencil-toggle.js.map +0 -1
- package/dist/collection/components/inputs/udp-selector/udp-selector.js.map +0 -1
- package/dist/collection/components/layout/udp-container/udp-container.js.map +0 -1
- package/dist/collection/components/layout/udp-container-query/udp-container-query.js.map +0 -1
- package/dist/collection/components/layout/udp-container-query-grid/udp-container-query-grid.js.map +0 -1
- package/dist/collection/components/layout/udp-container-query-grid-item/udp-container-query-grid-item.js.map +0 -1
- package/dist/collection/components/layout/udp-page/udp-page.js.map +0 -1
- package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js.map +0 -1
- package/dist/collection/components/layout/udp-vertical-spacer.js.map +0 -1
- package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js.map +0 -1
- package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js.map +0 -1
- package/dist/collection/components/loaders/udp-skeleton-loading.js.map +0 -1
- package/dist/collection/components/map/udp-map/map-component.js.map +0 -1
- package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js.map +0 -1
- package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js.map +0 -1
- package/dist/collection/components/map/udp-map/popups/feature-details-popup.js.map +0 -1
- package/dist/collection/components/map/udp-map/popups/select-layer-popup.js.map +0 -1
- package/dist/collection/components/map/udp-map/popups/split-line-popup.js.map +0 -1
- package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js.map +0 -1
- package/dist/collection/components/map/udp-map/udp-map-toolbar.js.map +0 -1
- package/dist/collection/components/map/udp-map/udp-map.js.map +0 -1
- package/dist/collection/components/map/udp-map/utils/check-box-group.js.map +0 -1
- package/dist/collection/components/map/udp-map/utils/common.js.map +0 -1
- package/dist/collection/components/map/udp-map/utils/map-interactions.js.map +0 -1
- package/dist/collection/components/map/udp-map/utils/udp-map-utils.js.map +0 -1
- package/dist/collection/components/menu/menu-item/udp-menu-item.js.map +0 -1
- package/dist/collection/components/menu/udp-menu.js.map +0 -1
- package/dist/collection/components/navigation/pagination/udp-pagination.js.map +0 -1
- package/dist/collection/components/navigation/udp-link/udp-link.js.map +0 -1
- package/dist/collection/components/stepper/types.js.map +0 -1
- package/dist/collection/components/stepper/udp-stepper-demo.js.map +0 -1
- package/dist/collection/components/stepper/udp-stepper.js.map +0 -1
- package/dist/collection/components/tabs/tab/tabs/udp-tabs.js.map +0 -1
- package/dist/collection/components/tabs/tab/udp-tab.js.map +0 -1
- package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js.map +0 -1
- package/dist/collection/components/timeline/udp-timeline-connector.js.map +0 -1
- package/dist/collection/components/timeline/udp-timeline-dot.js.map +0 -1
- package/dist/collection/components/timeline/udp-timeline-item.js.map +0 -1
- package/dist/collection/components/timeline/udp-timeline-separator.js.map +0 -1
- package/dist/collection/components/timeline/udp-timeline.js.map +0 -1
- package/dist/collection/components/toolbars/app-bar/app-bar.js.map +0 -1
- package/dist/collection/components/unity-typography/types.js.map +0 -1
- package/dist/collection/components/unity-typography/unity-typography.js.map +0 -1
- package/dist/collection/components/util/ghost-render/ghost-render.js.map +0 -1
- package/dist/collection/components.stories.js.map +0 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet-container.js.map +0 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet.js.map +0 -1
- package/dist/collection/global/configService.js.map +0 -1
- package/dist/collection/global/types.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/store/catalog-store.js.map +0 -1
- package/dist/collection/store/lookups-store.js.map +0 -1
- package/dist/collection/udp-utilities/api/makeApiCall/examples.js.map +0 -1
- package/dist/collection/udp-utilities/api/makeApiCall/makeApiCall.js.map +0 -1
- package/dist/collection/udp-utilities/api-config/configService.js.map +0 -1
- package/dist/collection/udp-utilities/api-config/index.js.map +0 -1
- package/dist/collection/udp-utilities/api-udp/apiMutate.js.map +0 -1
- package/dist/collection/udp-utilities/api-udp/apiUtils.js.map +0 -1
- package/dist/collection/udp-utilities/api-udp/baseUrls.js.map +0 -1
- package/dist/collection/udp-utilities/catalog/getCurrentApiCatalogId.js.map +0 -1
- package/dist/collection/udp-utilities/entityUtilities.js.map +0 -1
- package/dist/collection/udp-utilities/enums/unity-system-enums.js.map +0 -1
- package/dist/collection/udp-utilities/grid/action-renderers/action-column-util.js.map +0 -1
- package/dist/collection/udp-utilities/grid/convertToAgGridColumns.js.map +0 -1
- package/dist/collection/udp-utilities/grid/data-converters/transformSearchData.js.map +0 -1
- package/dist/collection/udp-utilities/grid/data-source/SearchServiceDatasource.js.map +0 -1
- package/dist/collection/udp-utilities/grid/models/udp-models.js.map +0 -1
- package/dist/collection/udp-utilities/grid/search/inquiry-search-datasource.js.map +0 -1
- package/dist/collection/udp-utilities/grid/search/search-utilities.js.map +0 -1
- package/dist/collection/udp-utilities/grid/udp-grid-enums.js.map +0 -1
- package/dist/collection/udp-utilities/interfaces/searchObject.js.map +0 -1
- package/dist/collection/udp-utilities/layout/breakpoints/breakpoints.js.map +0 -1
- package/dist/collection/udp-utilities/layout/breakpoints/useMatchBreakpoint.js.map +0 -1
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js.map +0 -1
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js.map +0 -1
- package/dist/collection/udp-utilities/search/SearchBuilder.js.map +0 -1
- package/dist/collection/udp-utilities/search/index.js.map +0 -1
- package/dist/collection/udp-utilities/string-utilities.js.map +0 -1
- package/dist/collection/udp-utilities/tenant/tenantUtils.js.map +0 -1
- package/dist/collection/udp-utilities/udp-websocket-client/udp-websocket-client.js.map +0 -1
- package/dist/collection/udp-utilities/unity-session-storage.js.map +0 -1
- package/dist/collection/udp-utilities/user/getUserId.js.map +0 -1
- package/dist/components/SearchBuilder.js.map +0 -1
- package/dist/components/action-column-util.js.map +0 -1
- package/dist/components/add-map-feature-popup.js.map +0 -1
- package/dist/components/add-map-feature-popup2.js.map +0 -1
- package/dist/components/advanced-search-builder.js.map +0 -1
- package/dist/components/advanced-search-builder2.js.map +0 -1
- package/dist/components/advanced-search-grouped.js.map +0 -1
- package/dist/components/advanced-search-grouped2.js.map +0 -1
- package/dist/components/advanced-search.js.map +0 -1
- package/dist/components/advanced-search2.js.map +0 -1
- package/dist/components/ag-grid-base.js.map +0 -1
- package/dist/components/ag-grid-base2.js.map +0 -1
- package/dist/components/ag-table.js.map +0 -1
- package/dist/components/ag-table2.js.map +0 -1
- package/dist/components/ambient-template-grid.js.map +0 -1
- package/dist/components/api-method-instance-grid.js.map +0 -1
- package/dist/components/apiUtils.js.map +0 -1
- package/dist/components/app-bar.js.map +0 -1
- package/dist/components/catalog-store.js.map +0 -1
- package/dist/components/chart-container.js.map +0 -1
- package/dist/components/chart-container2.js.map +0 -1
- package/dist/components/chart-kpi.js.map +0 -1
- package/dist/components/chart-kpi2.js.map +0 -1
- package/dist/components/chartUtils.js.map +0 -1
- package/dist/components/check-box-group.js.map +0 -1
- package/dist/components/check-box-group2.js.map +0 -1
- package/dist/components/check-box.js.map +0 -1
- package/dist/components/chip-section.js.map +0 -1
- package/dist/components/client-side-grid.js.map +0 -1
- package/dist/components/client-side-grid2.js.map +0 -1
- package/dist/components/common.js.map +0 -1
- package/dist/components/configService.js.map +0 -1
- package/dist/components/conversionFunctions.js.map +0 -1
- package/dist/components/custom-button.js.map +0 -1
- package/dist/components/custom-button2.js.map +0 -1
- package/dist/components/date-time-renderer.js.map +0 -1
- package/dist/components/date-time-renderer2.js.map +0 -1
- package/dist/components/edit-view-form-dialog.js.map +0 -1
- package/dist/components/edit-view-form.js.map +0 -1
- package/dist/components/entity-maintenance-grid.js.map +0 -1
- package/dist/components/enums.js.map +0 -1
- package/dist/components/feature-details-card.js.map +0 -1
- package/dist/components/feature-details-card2.js.map +0 -1
- package/dist/components/feature-details-popup.js.map +0 -1
- package/dist/components/feature-details-popup2.js.map +0 -1
- package/dist/components/file-upload-renderer.js.map +0 -1
- package/dist/components/file-upload-renderer2.js.map +0 -1
- package/dist/components/file-upload.js.map +0 -1
- package/dist/components/file-upload2.js.map +0 -1
- package/dist/components/filter-conditions.js.map +0 -1
- package/dist/components/filter-conditions2.js.map +0 -1
- package/dist/components/filter-group.js.map +0 -1
- package/dist/components/filter-group2.js.map +0 -1
- package/dist/components/fluent-dialog.js.map +0 -1
- package/dist/components/fluent-dialog2.js.map +0 -1
- package/dist/components/form-metadata-display-renderer.js.map +0 -1
- package/dist/components/form-metadata-display-renderer2.js.map +0 -1
- package/dist/components/form-metadata-display.js.map +0 -1
- package/dist/components/form-metadata-display2.js.map +0 -1
- package/dist/components/forms-builder-utils.js.map +0 -1
- package/dist/components/ghost-render.js.map +0 -1
- package/dist/components/ghost-render2.js.map +0 -1
- package/dist/components/grid-header.js.map +0 -1
- package/dist/components/grid-header2.js.map +0 -1
- package/dist/components/grid-primary-bar.js.map +0 -1
- package/dist/components/grid-primary-bar2.js.map +0 -1
- package/dist/components/hint-panel.js.map +0 -1
- package/dist/components/hint-panel2.js.map +0 -1
- package/dist/components/image-upload.js.map +0 -1
- package/dist/components/image-upload2.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js.map +0 -1
- package/dist/components/kpi-list.js.map +0 -1
- package/dist/components/kpi-list2.js.map +0 -1
- package/dist/components/list-item.js.map +0 -1
- package/dist/components/list-options-renderer.js.map +0 -1
- package/dist/components/list-options-renderer2.js.map +0 -1
- package/dist/components/logical-search-indicator.js.map +0 -1
- package/dist/components/makeApiCall.js.map +0 -1
- package/dist/components/map-component.js.map +0 -1
- package/dist/components/map-component2.js.map +0 -1
- package/dist/components/map-interactions.js.map +0 -1
- package/dist/components/map-toolbar.js.map +0 -1
- package/dist/components/map-toolbar2.js.map +0 -1
- package/dist/components/numeric-field.js.map +0 -1
- package/dist/components/numeric-field2.js.map +0 -1
- package/dist/components/primary-action-header.js.map +0 -1
- package/dist/components/primary-action-header2.js.map +0 -1
- package/dist/components/question-configs-renderer.js.map +0 -1
- package/dist/components/question-configs-renderer2.js.map +0 -1
- package/dist/components/question-specific-configs-renderer.js.map +0 -1
- package/dist/components/question-specific-configs-renderer2.js.map +0 -1
- package/dist/components/resource-timeline-calendar.js.map +0 -1
- package/dist/components/resource-timeline-primary-bar.js.map +0 -1
- package/dist/components/resource-timeline-primary-bar2.js.map +0 -1
- package/dist/components/save-view-form-dialog.js.map +0 -1
- package/dist/components/save-view-form.js.map +0 -1
- package/dist/components/search-list-item.js.map +0 -1
- package/dist/components/search-list-item2.js.map +0 -1
- package/dist/components/search-method-grid.js.map +0 -1
- package/dist/components/search-method-grid2.js.map +0 -1
- package/dist/components/section-configs-renderer.js.map +0 -1
- package/dist/components/section-configs-renderer2.js.map +0 -1
- package/dist/components/select-layer-popup.js.map +0 -1
- package/dist/components/select-layer-popup2.js.map +0 -1
- package/dist/components/selectable-list.js.map +0 -1
- package/dist/components/selectable-list2.js.map +0 -1
- package/dist/components/server-side-grid.js.map +0 -1
- package/dist/components/server-side-grid2.js.map +0 -1
- package/dist/components/side-sheet-container.js.map +0 -1
- package/dist/components/side-sheet-container2.js.map +0 -1
- package/dist/components/side-sheet.js.map +0 -1
- package/dist/components/side-sheet2.js.map +0 -1
- package/dist/components/signature-input.js.map +0 -1
- package/dist/components/signature-input2.js.map +0 -1
- package/dist/components/signature-renderer.js.map +0 -1
- package/dist/components/signature-renderer2.js.map +0 -1
- package/dist/components/simple-card.js.map +0 -1
- package/dist/components/split-line-popup.js.map +0 -1
- package/dist/components/split-line-popup2.js.map +0 -1
- package/dist/components/status-chip.js.map +0 -1
- package/dist/components/status-chip2.js.map +0 -1
- package/dist/components/status-renderer.js.map +0 -1
- package/dist/components/stencil-chip.js.map +0 -1
- package/dist/components/stencil-chip2.js.map +0 -1
- package/dist/components/stencil-field.js.map +0 -1
- package/dist/components/stencil-field2.js.map +0 -1
- package/dist/components/stencil-form.js.map +0 -1
- package/dist/components/stencil-form2.js.map +0 -1
- package/dist/components/stencil-icon-button-grid-action-header.js.map +0 -1
- package/dist/components/stencil-icon-button-grid-action-header2.js.map +0 -1
- package/dist/components/stencil-icon-button.js.map +0 -1
- package/dist/components/stencil-icon-button2.js.map +0 -1
- package/dist/components/stencil-toggle.js.map +0 -1
- package/dist/components/stencil-toggle2.js.map +0 -1
- package/dist/components/tally-display.js.map +0 -1
- package/dist/components/tally.js.map +0 -1
- package/dist/components/tenantUtils.js.map +0 -1
- package/dist/components/text-area.js.map +0 -1
- package/dist/components/text-area2.js.map +0 -1
- package/dist/components/text-field.js.map +0 -1
- package/dist/components/text-field2.js.map +0 -1
- package/dist/components/text-input-renderer.js.map +0 -1
- package/dist/components/text-input-renderer2.js.map +0 -1
- package/dist/components/transformSearchData.js.map +0 -1
- package/dist/components/tree-list-item.js.map +0 -1
- package/dist/components/tree-list-item2.js.map +0 -1
- package/dist/components/udp-adornment.js.map +0 -1
- package/dist/components/udp-adornment2.js.map +0 -1
- package/dist/components/udp-advanced-search-builder.js.map +0 -1
- package/dist/components/udp-ambient-card.js.map +0 -1
- package/dist/components/udp-ambient-card2.js.map +0 -1
- package/dist/components/udp-ambient-tool-tip.js.map +0 -1
- package/dist/components/udp-ambient-tool-tip2.js.map +0 -1
- package/dist/components/udp-attachment-item.js.map +0 -1
- package/dist/components/udp-attachment-item2.js.map +0 -1
- package/dist/components/udp-attachment-list.js.map +0 -1
- package/dist/components/udp-avatar.js.map +0 -1
- package/dist/components/udp-avatar2.js.map +0 -1
- package/dist/components/udp-badge.js.map +0 -1
- package/dist/components/udp-badge2.js.map +0 -1
- package/dist/components/udp-bar-chart.js.map +0 -1
- package/dist/components/udp-bar-chart2.js.map +0 -1
- package/dist/components/udp-button.js.map +0 -1
- package/dist/components/udp-button2.js.map +0 -1
- package/dist/components/udp-calendar-base.js.map +0 -1
- package/dist/components/udp-calendar-base2.js.map +0 -1
- package/dist/components/udp-calendar-day.js.map +0 -1
- package/dist/components/udp-calendar-month.js.map +0 -1
- package/dist/components/udp-calendar-week.js.map +0 -1
- package/dist/components/udp-calendar-year.js.map +0 -1
- package/dist/components/udp-card-action-area.js.map +0 -1
- package/dist/components/udp-card-actions.js.map +0 -1
- package/dist/components/udp-card-actions2.js.map +0 -1
- package/dist/components/udp-card-content.js.map +0 -1
- package/dist/components/udp-card-content2.js.map +0 -1
- package/dist/components/udp-card-header.js.map +0 -1
- package/dist/components/udp-card-header2.js.map +0 -1
- package/dist/components/udp-card-media.js.map +0 -1
- package/dist/components/udp-card-media2.js.map +0 -1
- package/dist/components/udp-card.js.map +0 -1
- package/dist/components/udp-card2.js.map +0 -1
- package/dist/components/udp-charts-example.js.map +0 -1
- package/dist/components/udp-chip.js.map +0 -1
- package/dist/components/udp-chip2.js.map +0 -1
- package/dist/components/udp-column-header.js.map +0 -1
- package/dist/components/udp-column-header2.js.map +0 -1
- package/dist/components/udp-container-query-grid-item.js.map +0 -1
- package/dist/components/udp-container-query-grid.js.map +0 -1
- package/dist/components/udp-container-query.js.map +0 -1
- package/dist/components/udp-container-query2.js.map +0 -1
- package/dist/components/udp-container.js.map +0 -1
- package/dist/components/udp-container2.js.map +0 -1
- package/dist/components/udp-date-range-selector.js.map +0 -1
- package/dist/components/udp-date-selector.js.map +0 -1
- package/dist/components/udp-date-selector2.js.map +0 -1
- package/dist/components/udp-datetime-selector.js.map +0 -1
- package/dist/components/udp-datetime-selector2.js.map +0 -1
- package/dist/components/udp-dialog.js.map +0 -1
- package/dist/components/udp-dialog2.js.map +0 -1
- package/dist/components/udp-distribution-chart.js.map +0 -1
- package/dist/components/udp-distribution-chart2.js.map +0 -1
- package/dist/components/udp-divider.js.map +0 -1
- package/dist/components/udp-divider2.js.map +0 -1
- package/dist/components/udp-donut-chart.js.map +0 -1
- package/dist/components/udp-donut-chart2.js.map +0 -1
- package/dist/components/udp-drive-utils.js.map +0 -1
- package/dist/components/udp-dynamic-container-with-menu.js.map +0 -1
- package/dist/components/udp-dynamic-container-with-menu2.js.map +0 -1
- package/dist/components/udp-dynamic-form.js.map +0 -1
- package/dist/components/udp-empty-state-display.js.map +0 -1
- package/dist/components/udp-empty-state-display2.js.map +0 -1
- package/dist/components/udp-form-api-utils.js.map +0 -1
- package/dist/components/udp-forms-builder-menu.js.map +0 -1
- package/dist/components/udp-forms-builder-menu2.js.map +0 -1
- package/dist/components/udp-forms-builder-question-item.js.map +0 -1
- package/dist/components/udp-forms-builder-question-item2.js.map +0 -1
- package/dist/components/udp-forms-builder-style-override.js.map +0 -1
- package/dist/components/udp-forms-builder.js.map +0 -1
- package/dist/components/udp-forms-follow-up-list-card.js.map +0 -1
- package/dist/components/udp-forms-list-card.js.map +0 -1
- package/dist/components/udp-forms-list-card2.js.map +0 -1
- package/dist/components/udp-forms-list.js.map +0 -1
- package/dist/components/udp-forms-renderer.js.map +0 -1
- package/dist/components/udp-forms-ui.js.map +0 -1
- package/dist/components/udp-forms-ui2.js.map +0 -1
- package/dist/components/udp-function-button.js.map +0 -1
- package/dist/components/udp-function-button2.js.map +0 -1
- package/dist/components/udp-grid-loader.js.map +0 -1
- package/dist/components/udp-grid-loader2.js.map +0 -1
- package/dist/components/udp-hotlist-form.js.map +0 -1
- package/dist/components/udp-hotlist-form2.js.map +0 -1
- package/dist/components/udp-icon-button.js.map +0 -1
- package/dist/components/udp-icon-button2.js.map +0 -1
- package/dist/components/udp-icon.js.map +0 -1
- package/dist/components/udp-icon2.js.map +0 -1
- package/dist/components/udp-kpi-card.js.map +0 -1
- package/dist/components/udp-kpi-card2.js.map +0 -1
- package/dist/components/udp-kpi-cards.js.map +0 -1
- package/dist/components/udp-line-chart.js.map +0 -1
- package/dist/components/udp-line-chart2.js.map +0 -1
- package/dist/components/udp-linear-loader.js.map +0 -1
- package/dist/components/udp-linear-loader2.js.map +0 -1
- package/dist/components/udp-link.js.map +0 -1
- package/dist/components/udp-link2.js.map +0 -1
- package/dist/components/udp-list-item.js.map +0 -1
- package/dist/components/udp-list-renderer.js.map +0 -1
- package/dist/components/udp-list-renderer2.js.map +0 -1
- package/dist/components/udp-map-toolbar.js.map +0 -1
- package/dist/components/udp-map-toolbar2.js.map +0 -1
- package/dist/components/udp-map-utils.js.map +0 -1
- package/dist/components/udp-map.js.map +0 -1
- package/dist/components/udp-menu-item.js.map +0 -1
- package/dist/components/udp-menu-item2.js.map +0 -1
- package/dist/components/udp-menu.js.map +0 -1
- package/dist/components/udp-menu2.js.map +0 -1
- package/dist/components/udp-notification.js.map +0 -1
- package/dist/components/udp-notification2.js.map +0 -1
- package/dist/components/udp-page-header.js.map +0 -1
- package/dist/components/udp-page-header2.js.map +0 -1
- package/dist/components/udp-page.js.map +0 -1
- package/dist/components/udp-pagination.js.map +0 -1
- package/dist/components/udp-pagination2.js.map +0 -1
- package/dist/components/udp-pop-over-grid-action-header.js.map +0 -1
- package/dist/components/udp-pop-over-grid-action-header2.js.map +0 -1
- package/dist/components/udp-pop-over.js.map +0 -1
- package/dist/components/udp-pop-over2.js.map +0 -1
- package/dist/components/udp-question-comments.js.map +0 -1
- package/dist/components/udp-question-comments2.js.map +0 -1
- package/dist/components/udp-question.js.map +0 -1
- package/dist/components/udp-question2.js.map +0 -1
- package/dist/components/udp-radio-button.js.map +0 -1
- package/dist/components/udp-radio-button2.js.map +0 -1
- package/dist/components/udp-sankey-chart.js.map +0 -1
- package/dist/components/udp-save-draft-button.js.map +0 -1
- package/dist/components/udp-save-draft-button2.js.map +0 -1
- package/dist/components/udp-selector.js.map +0 -1
- package/dist/components/udp-selector2.js.map +0 -1
- package/dist/components/udp-side-sheet.js.map +0 -1
- package/dist/components/udp-side-sheet2.js.map +0 -1
- package/dist/components/udp-skeleton-loading.js.map +0 -1
- package/dist/components/udp-skeleton-loading2.js.map +0 -1
- package/dist/components/udp-split-screen.js.map +0 -1
- package/dist/components/udp-stepper-demo.js.map +0 -1
- package/dist/components/udp-stepper.js.map +0 -1
- package/dist/components/udp-stepper2.js.map +0 -1
- package/dist/components/udp-tab-panel.js.map +0 -1
- package/dist/components/udp-tab.js.map +0 -1
- package/dist/components/udp-tabs.js.map +0 -1
- package/dist/components/udp-tabs2.js.map +0 -1
- package/dist/components/udp-time-selector.js.map +0 -1
- package/dist/components/udp-time-selector2.js.map +0 -1
- package/dist/components/udp-timeline-connector.js.map +0 -1
- package/dist/components/udp-timeline-dot.js.map +0 -1
- package/dist/components/udp-timeline-item.js.map +0 -1
- package/dist/components/udp-timeline-separator.js.map +0 -1
- package/dist/components/udp-timeline.js.map +0 -1
- package/dist/components/udp-vertical-spacer.js.map +0 -1
- package/dist/components/udp-xy-chart.js.map +0 -1
- package/dist/components/udp-xy-chart2.js.map +0 -1
- package/dist/components/udp-xy-multi-series-chart.js.map +0 -1
- package/dist/components/unity-typography.js.map +0 -1
- package/dist/components/unity-typography2.js.map +0 -1
- package/dist/components/upd-alert-banner.js.map +0 -1
- package/dist/components/upd-alert-banner2.js.map +0 -1
- package/dist/components/useFormApi.js.map +0 -1
- package/dist/components/utils.js.map +0 -1
- package/dist/components/validation-chip.js.map +0 -1
- package/dist/components/validation-chip2.js.map +0 -1
- package/dist/esm/SearchBuilder-CvKqGlUH.js.map +0 -1
- package/dist/esm/action-column-util-DUK_9dnF.js.map +0 -1
- package/dist/esm/add-map-feature-popup.map-toolbar.select-layer-popup.split-line-popup.entry.js.map +0 -1
- package/dist/esm/advanced-search-builder.entry.js.map +0 -1
- package/dist/esm/advanced-search.advanced-search-grouped.ag-table.edit-view-form-dialog.grid-primary-bar.kpi-list.save-view-form-dialog.side-sheet.udp-hotlist-form.udp-notification.udp-pop-over-grid-action-header.upd-alert-banner.entry.js.map +0 -1
- package/dist/esm/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.js.map +0 -1
- package/dist/esm/ambient-template-grid.entry.js.map +0 -1
- package/dist/esm/api-method-instance-grid.entry.js.map +0 -1
- package/dist/esm/apiUtils-cUHs50y0.js.map +0 -1
- package/dist/esm/app-bar.entry.js.map +0 -1
- package/dist/esm/catalog-store-BhgNAUY6.js.map +0 -1
- package/dist/esm/chart-container.chart-kpi.udp-ambient-card.entry.js.map +0 -1
- package/dist/esm/chartUtils-DFIyEsL1.js.map +0 -1
- package/dist/esm/check-box-group.entry.js.map +0 -1
- package/dist/esm/check-box.entry.js.map +0 -1
- package/dist/esm/chip-section.entry.js.map +0 -1
- package/dist/esm/client-side-grid.resource-timeline-primary-bar.entry.js.map +0 -1
- package/dist/esm/common-CwN0FuAf.js.map +0 -1
- package/dist/esm/configService-BqLfkVKh.js.map +0 -1
- package/dist/esm/configureUdpColumnMods-CoCTzhve.js.map +0 -1
- package/dist/esm/conversionFunctions-CNWYTvRs.js.map +0 -1
- package/dist/esm/currency-renderer-D6zBtP2s.js.map +0 -1
- package/dist/esm/custom-button.entry.js.map +0 -1
- package/dist/esm/date-time-renderer.file-upload-renderer.form-metadata-display-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.js.map +0 -1
- package/dist/esm/entity-maintenance-grid.entry.js.map +0 -1
- package/dist/esm/enums-DHT5wSnX.js.map +0 -1
- package/dist/esm/feature-details-card.feature-details-popup.entry.js.map +0 -1
- package/dist/esm/file-upload.selectable-list.stencil-field.entry.js.map +0 -1
- package/dist/esm/filter-conditions.search-list-item.tree-list-item.udp-column-header.udp-grid-loader.udp-page-header.udp-radio-button.entry.js.map +0 -1
- package/dist/esm/filter-group.validation-chip.entry.js.map +0 -1
- package/dist/esm/fluent-dialog.entry.js.map +0 -1
- package/dist/esm/form-metadata-display.image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.js.map +0 -1
- package/dist/esm/getCurrentApiCatalogId-DeurXd9l.js.map +0 -1
- package/dist/esm/iconMapping-CPerGeNF.js.map +0 -1
- package/dist/esm/iconUtils-DcPvHO4A.js.map +0 -1
- package/dist/esm/index-CaZq3YdB.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/logical-search-indicator.entry.js.map +0 -1
- package/dist/esm/makeApiCall-B-daVutk.js.map +0 -1
- package/dist/esm/map-component.udp-map-toolbar.entry.js.map +0 -1
- package/dist/esm/numeric-field.text-area.udp-date-selector.udp-datetime-selector.udp-time-selector.entry.js.map +0 -1
- package/dist/esm/primary-action-header.udp-tabs.entry.js.map +0 -1
- package/dist/esm/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.entry.js.map +0 -1
- package/dist/esm/resource-timeline-calendar.entry.js.map +0 -1
- package/dist/esm/search-method-grid.entry.js.map +0 -1
- package/dist/esm/server-side-grid.entry.js.map +0 -1
- package/dist/esm/side-sheet-container.entry.js.map +0 -1
- package/dist/esm/simple-card.entry.js.map +0 -1
- package/dist/esm/status-chip.udp-function-button.entry.js.map +0 -1
- package/dist/esm/stencil-chip.entry.js.map +0 -1
- package/dist/esm/stencil-icon-button-grid-action-header.entry.js.map +0 -1
- package/dist/esm/stencil-icon-button.udp-ambient-tool-tip.udp-badge.entry.js.map +0 -1
- package/dist/esm/stencil-library.js.map +0 -1
- package/dist/esm/stencil-toggle.entry.js.map +0 -1
- package/dist/esm/tenantUtils-Basdb1b1.js.map +0 -1
- package/dist/esm/text-field.udp-selector.entry.js.map +0 -1
- package/dist/esm/transformSearchData-DBjFnXu6.js.map +0 -1
- package/dist/esm/udp-adornment.entry.js.map +0 -1
- package/dist/esm/udp-advanced-search-builder.entry.js.map +0 -1
- package/dist/esm/udp-attachment-item.udp-empty-state-display.entry.js.map +0 -1
- package/dist/esm/udp-attachment-list.entry.js.map +0 -1
- package/dist/esm/udp-avatar.entry.js.map +0 -1
- package/dist/esm/udp-bar-chart.udp-distribution-chart.udp-donut-chart.udp-line-chart.entry.js.map +0 -1
- package/dist/esm/udp-button.entry.js.map +0 -1
- package/dist/esm/udp-calendar-base.entry.js.map +0 -1
- package/dist/esm/udp-calendar-day.entry.js.map +0 -1
- package/dist/esm/udp-calendar-month.entry.js.map +0 -1
- package/dist/esm/udp-calendar-week.entry.js.map +0 -1
- package/dist/esm/udp-calendar-year.entry.js.map +0 -1
- package/dist/esm/udp-card-action-area.entry.js.map +0 -1
- package/dist/esm/udp-card.udp-card-actions.udp-card-content.udp-card-header.udp-card-media.udp-link.entry.js.map +0 -1
- package/dist/esm/udp-charts-example.entry.js.map +0 -1
- package/dist/esm/udp-chip.udp-icon-button.udp-menu.entry.js.map +0 -1
- package/dist/esm/udp-container-query-grid-item.entry.js.map +0 -1
- package/dist/esm/udp-container-query-grid.entry.js.map +0 -1
- package/dist/esm/udp-container-query.entry.js.map +0 -1
- package/dist/esm/udp-container.entry.js.map +0 -1
- package/dist/esm/udp-date-range-selector.entry.js.map +0 -1
- package/dist/esm/udp-divider.entry.js.map +0 -1
- package/dist/esm/udp-drive-utils-CIrjVGiJ.js.map +0 -1
- package/dist/esm/udp-dynamic-container-with-menu.entry.js.map +0 -1
- package/dist/esm/udp-dynamic-form.entry.js.map +0 -1
- package/dist/esm/udp-form-api-utils-vPSYCvIA.js.map +0 -1
- package/dist/esm/udp-forms-builder-question-template-D6ADNZEG.js.map +0 -1
- package/dist/esm/udp-forms-builder-style-override.entry.js.map +0 -1
- package/dist/esm/udp-forms-builder.entry.js.map +0 -1
- package/dist/esm/udp-forms-follow-up-list-card.entry.js.map +0 -1
- package/dist/esm/udp-forms-list-card.entry.js.map +0 -1
- package/dist/esm/udp-forms-list.entry.js.map +0 -1
- package/dist/esm/udp-forms-renderer.entry.js.map +0 -1
- package/dist/esm/udp-forms-ui.entry.js.map +0 -1
- package/dist/esm/udp-icon.entry.js.map +0 -1
- package/dist/esm/udp-kpi-card.entry.js.map +0 -1
- package/dist/esm/udp-kpi-cards.entry.js.map +0 -1
- package/dist/esm/udp-linear-loader.udp-side-sheet.entry.js.map +0 -1
- package/dist/esm/udp-list-renderer.udp-pagination.entry.js.map +0 -1
- package/dist/esm/udp-map-utils-DNAUNI5U.js.map +0 -1
- package/dist/esm/udp-map.entry.js.map +0 -1
- package/dist/esm/udp-menu-item.udp-pop-over.entry.js.map +0 -1
- package/dist/esm/udp-page.entry.js.map +0 -1
- package/dist/esm/udp-sankey-chart.entry.js.map +0 -1
- package/dist/esm/udp-skeleton-loading.entry.js.map +0 -1
- package/dist/esm/udp-split-screen.entry.js.map +0 -1
- package/dist/esm/udp-stepper-demo.entry.js.map +0 -1
- package/dist/esm/udp-stepper.entry.js.map +0 -1
- package/dist/esm/udp-tab-panel.entry.js.map +0 -1
- package/dist/esm/udp-tab.entry.js.map +0 -1
- package/dist/esm/udp-timeline-connector.entry.js.map +0 -1
- package/dist/esm/udp-timeline-dot.entry.js.map +0 -1
- package/dist/esm/udp-timeline-item.entry.js.map +0 -1
- package/dist/esm/udp-timeline-separator.entry.js.map +0 -1
- package/dist/esm/udp-timeline.entry.js.map +0 -1
- package/dist/esm/udp-vertical-spacer.entry.js.map +0 -1
- package/dist/esm/udp-xy-chart.entry.js.map +0 -1
- package/dist/esm/udp-xy-multi-series-chart.entry.js.map +0 -1
- package/dist/esm/udpFieldHelper-qPBcfmrH.js.map +0 -1
- package/dist/esm/udpOperatorHelper-BsvDrT81.js.map +0 -1
- package/dist/esm/unity-typography.entry.js.map +0 -1
- package/dist/esm/utils-kwLwITIE.js.map +0 -1
- package/dist/stencil-library/SearchBuilder-CvKqGlUH.js +0 -2
- package/dist/stencil-library/SearchBuilder-CvKqGlUH.js.map +0 -1
- package/dist/stencil-library/action-column-util-DUK_9dnF.js.map +0 -1
- package/dist/stencil-library/add-map-feature-popup.map-toolbar.select-layer-popup.split-line-popup.entry.esm.js.map +0 -1
- package/dist/stencil-library/add-map-feature-popup_4.entry.js.map +0 -1
- package/dist/stencil-library/advanced-search-builder.entry.esm.js.map +0 -1
- package/dist/stencil-library/advanced-search-builder.entry.js.map +0 -1
- package/dist/stencil-library/advanced-search.advanced-search-grouped.ag-table.edit-view-form-dialog.grid-primary-bar.kpi-list.save-view-form-dialog.side-sheet.udp-hotlist-form.udp-notification.udp-pop-over-grid-action-header.upd-alert-banner.entry.esm.js.map +0 -1
- package/dist/stencil-library/advanced-search_12.entry.js.map +0 -1
- package/dist/stencil-library/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.esm.js.map +0 -1
- package/dist/stencil-library/ag-grid-base_6.entry.js.map +0 -1
- package/dist/stencil-library/ambient-template-grid.entry.esm.js.map +0 -1
- package/dist/stencil-library/ambient-template-grid.entry.js.map +0 -1
- package/dist/stencil-library/api-method-instance-grid.entry.esm.js.map +0 -1
- package/dist/stencil-library/api-method-instance-grid.entry.js.map +0 -1
- package/dist/stencil-library/apiUtils-cUHs50y0.js +0 -2
- package/dist/stencil-library/apiUtils-cUHs50y0.js.map +0 -1
- package/dist/stencil-library/app-bar.entry.esm.js.map +0 -1
- package/dist/stencil-library/app-bar.entry.js.map +0 -1
- package/dist/stencil-library/catalog-store-BhgNAUY6.js +0 -2
- package/dist/stencil-library/catalog-store-BhgNAUY6.js.map +0 -1
- package/dist/stencil-library/chart-container.chart-kpi.udp-ambient-card.entry.esm.js.map +0 -1
- package/dist/stencil-library/chart-container_3.entry.js.map +0 -1
- package/dist/stencil-library/chartUtils-DFIyEsL1.js.map +0 -1
- package/dist/stencil-library/check-box-group.entry.esm.js.map +0 -1
- package/dist/stencil-library/check-box-group.entry.js.map +0 -1
- package/dist/stencil-library/check-box.entry.esm.js.map +0 -1
- package/dist/stencil-library/check-box.entry.js.map +0 -1
- package/dist/stencil-library/chip-section.entry.esm.js.map +0 -1
- package/dist/stencil-library/chip-section.entry.js.map +0 -1
- package/dist/stencil-library/client-side-grid.resource-timeline-primary-bar.entry.esm.js.map +0 -1
- package/dist/stencil-library/client-side-grid_2.entry.js.map +0 -1
- package/dist/stencil-library/common-CwN0FuAf.js.map +0 -1
- package/dist/stencil-library/configService-BqLfkVKh.js.map +0 -1
- package/dist/stencil-library/configureUdpColumnMods-CoCTzhve.js.map +0 -1
- package/dist/stencil-library/conversionFunctions-CNWYTvRs.js.map +0 -1
- package/dist/stencil-library/currency-renderer-D6zBtP2s.js.map +0 -1
- package/dist/stencil-library/custom-button.entry.esm.js.map +0 -1
- package/dist/stencil-library/custom-button.entry.js.map +0 -1
- package/dist/stencil-library/date-time-renderer.file-upload-renderer.form-metadata-display-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.esm.js.map +0 -1
- package/dist/stencil-library/date-time-renderer_7.entry.js.map +0 -1
- package/dist/stencil-library/entity-maintenance-grid.entry.esm.js.map +0 -1
- package/dist/stencil-library/entity-maintenance-grid.entry.js.map +0 -1
- package/dist/stencil-library/enums-DHT5wSnX.js +0 -2
- package/dist/stencil-library/enums-DHT5wSnX.js.map +0 -1
- package/dist/stencil-library/feature-details-card.feature-details-popup.entry.esm.js.map +0 -1
- package/dist/stencil-library/feature-details-card_2.entry.js.map +0 -1
- package/dist/stencil-library/file-upload.selectable-list.stencil-field.entry.esm.js.map +0 -1
- package/dist/stencil-library/file-upload_3.entry.js.map +0 -1
- package/dist/stencil-library/filter-conditions.search-list-item.tree-list-item.udp-column-header.udp-grid-loader.udp-page-header.udp-radio-button.entry.esm.js.map +0 -1
- package/dist/stencil-library/filter-conditions_7.entry.js.map +0 -1
- package/dist/stencil-library/filter-group.validation-chip.entry.esm.js.map +0 -1
- package/dist/stencil-library/filter-group_2.entry.js.map +0 -1
- package/dist/stencil-library/fluent-dialog.entry.esm.js.map +0 -1
- package/dist/stencil-library/fluent-dialog.entry.js.map +0 -1
- package/dist/stencil-library/form-metadata-display.image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.esm.js.map +0 -1
- package/dist/stencil-library/form-metadata-display_8.entry.js.map +0 -1
- package/dist/stencil-library/getCurrentApiCatalogId-DeurXd9l.js.map +0 -1
- package/dist/stencil-library/iconMapping-CPerGeNF.js.map +0 -1
- package/dist/stencil-library/iconUtils-DcPvHO4A.js.map +0 -1
- package/dist/stencil-library/index-CaZq3YdB.js +0 -3
- package/dist/stencil-library/index-CaZq3YdB.js.map +0 -1
- package/dist/stencil-library/index.esm.js.map +0 -1
- package/dist/stencil-library/loader.esm.js.map +0 -1
- package/dist/stencil-library/logical-search-indicator.entry.esm.js.map +0 -1
- package/dist/stencil-library/logical-search-indicator.entry.js.map +0 -1
- package/dist/stencil-library/makeApiCall-B-daVutk.js +0 -2
- package/dist/stencil-library/makeApiCall-B-daVutk.js.map +0 -1
- package/dist/stencil-library/map-component.udp-map-toolbar.entry.esm.js.map +0 -1
- package/dist/stencil-library/map-component_2.entry.js.map +0 -1
- package/dist/stencil-library/numeric-field.text-area.udp-date-selector.udp-datetime-selector.udp-time-selector.entry.esm.js.map +0 -1
- package/dist/stencil-library/numeric-field_5.entry.js.map +0 -1
- package/dist/stencil-library/primary-action-header.udp-tabs.entry.esm.js.map +0 -1
- package/dist/stencil-library/primary-action-header_2.entry.js.map +0 -1
- package/dist/stencil-library/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.entry.esm.js.map +0 -1
- package/dist/stencil-library/question-configs-renderer_4.entry.js.map +0 -1
- package/dist/stencil-library/resource-timeline-calendar.entry.esm.js.map +0 -1
- package/dist/stencil-library/resource-timeline-calendar.entry.js.map +0 -1
- package/dist/stencil-library/search-method-grid.entry.esm.js.map +0 -1
- package/dist/stencil-library/search-method-grid.entry.js.map +0 -1
- package/dist/stencil-library/server-side-grid.entry.esm.js.map +0 -1
- package/dist/stencil-library/server-side-grid.entry.js.map +0 -1
- package/dist/stencil-library/side-sheet-container.entry.esm.js.map +0 -1
- package/dist/stencil-library/side-sheet-container.entry.js.map +0 -1
- package/dist/stencil-library/simple-card.entry.esm.js.map +0 -1
- package/dist/stencil-library/simple-card.entry.js.map +0 -1
- package/dist/stencil-library/status-chip.udp-function-button.entry.esm.js.map +0 -1
- package/dist/stencil-library/status-chip_2.entry.js.map +0 -1
- package/dist/stencil-library/stencil-chip.entry.esm.js.map +0 -1
- package/dist/stencil-library/stencil-chip.entry.js.map +0 -1
- package/dist/stencil-library/stencil-icon-button-grid-action-header.entry.esm.js.map +0 -1
- package/dist/stencil-library/stencil-icon-button-grid-action-header.entry.js.map +0 -1
- package/dist/stencil-library/stencil-icon-button.udp-ambient-tool-tip.udp-badge.entry.esm.js.map +0 -1
- package/dist/stencil-library/stencil-icon-button_3.entry.js.map +0 -1
- package/dist/stencil-library/stencil-library.esm.js.map +0 -1
- package/dist/stencil-library/stencil-toggle.entry.esm.js.map +0 -1
- package/dist/stencil-library/stencil-toggle.entry.js.map +0 -1
- package/dist/stencil-library/tenantUtils-Basdb1b1.js.map +0 -1
- package/dist/stencil-library/text-field.udp-selector.entry.esm.js.map +0 -1
- package/dist/stencil-library/text-field_2.entry.js.map +0 -1
- package/dist/stencil-library/transformSearchData-DBjFnXu6.js.map +0 -1
- package/dist/stencil-library/udp-adornment.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-adornment.entry.js.map +0 -1
- package/dist/stencil-library/udp-advanced-search-builder.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-advanced-search-builder.entry.js.map +0 -1
- package/dist/stencil-library/udp-attachment-item.udp-empty-state-display.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-attachment-item_2.entry.js.map +0 -1
- package/dist/stencil-library/udp-attachment-list.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-attachment-list.entry.js.map +0 -1
- package/dist/stencil-library/udp-avatar.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-avatar.entry.js.map +0 -1
- package/dist/stencil-library/udp-bar-chart.udp-distribution-chart.udp-donut-chart.udp-line-chart.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-bar-chart_4.entry.js.map +0 -1
- package/dist/stencil-library/udp-button.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-button.entry.js.map +0 -1
- package/dist/stencil-library/udp-calendar-base.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-calendar-base.entry.js.map +0 -1
- package/dist/stencil-library/udp-calendar-day.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-calendar-day.entry.js.map +0 -1
- package/dist/stencil-library/udp-calendar-month.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-calendar-month.entry.js.map +0 -1
- package/dist/stencil-library/udp-calendar-week.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-calendar-week.entry.js.map +0 -1
- package/dist/stencil-library/udp-calendar-year.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-calendar-year.entry.js.map +0 -1
- package/dist/stencil-library/udp-card-action-area.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-card-action-area.entry.js.map +0 -1
- package/dist/stencil-library/udp-card.udp-card-actions.udp-card-content.udp-card-header.udp-card-media.udp-link.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-card_6.entry.js.map +0 -1
- package/dist/stencil-library/udp-charts-example.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-charts-example.entry.js.map +0 -1
- package/dist/stencil-library/udp-chip.udp-icon-button.udp-menu.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-chip_3.entry.js.map +0 -1
- package/dist/stencil-library/udp-container-query-grid-item.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-container-query-grid-item.entry.js.map +0 -1
- package/dist/stencil-library/udp-container-query-grid.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-container-query-grid.entry.js.map +0 -1
- package/dist/stencil-library/udp-container-query.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-container-query.entry.js.map +0 -1
- package/dist/stencil-library/udp-container.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-container.entry.js.map +0 -1
- package/dist/stencil-library/udp-date-range-selector.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-date-range-selector.entry.js.map +0 -1
- package/dist/stencil-library/udp-divider.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-divider.entry.js.map +0 -1
- package/dist/stencil-library/udp-drive-utils-CIrjVGiJ.js.map +0 -1
- package/dist/stencil-library/udp-dynamic-container-with-menu.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js.map +0 -1
- package/dist/stencil-library/udp-dynamic-form.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-dynamic-form.entry.js.map +0 -1
- package/dist/stencil-library/udp-form-api-utils-vPSYCvIA.js.map +0 -1
- package/dist/stencil-library/udp-forms-builder-question-template-D6ADNZEG.js +0 -2
- package/dist/stencil-library/udp-forms-builder-question-template-D6ADNZEG.js.map +0 -1
- package/dist/stencil-library/udp-forms-builder-style-override.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-forms-builder-style-override.entry.js.map +0 -1
- package/dist/stencil-library/udp-forms-builder.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-forms-builder.entry.js.map +0 -1
- package/dist/stencil-library/udp-forms-follow-up-list-card.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-forms-follow-up-list-card.entry.js.map +0 -1
- package/dist/stencil-library/udp-forms-list-card.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-forms-list-card.entry.js.map +0 -1
- package/dist/stencil-library/udp-forms-list.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-forms-list.entry.js.map +0 -1
- package/dist/stencil-library/udp-forms-renderer.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-forms-renderer.entry.js.map +0 -1
- package/dist/stencil-library/udp-forms-ui.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-forms-ui.entry.js.map +0 -1
- package/dist/stencil-library/udp-icon.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-icon.entry.js.map +0 -1
- package/dist/stencil-library/udp-kpi-card.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-kpi-card.entry.js.map +0 -1
- package/dist/stencil-library/udp-kpi-cards.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-kpi-cards.entry.js.map +0 -1
- package/dist/stencil-library/udp-linear-loader.udp-side-sheet.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-linear-loader_2.entry.js.map +0 -1
- package/dist/stencil-library/udp-list-renderer.udp-pagination.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-list-renderer_2.entry.js.map +0 -1
- package/dist/stencil-library/udp-map-utils-DNAUNI5U.js.map +0 -1
- package/dist/stencil-library/udp-map.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-map.entry.js.map +0 -1
- package/dist/stencil-library/udp-menu-item.udp-pop-over.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-menu-item_2.entry.js.map +0 -1
- package/dist/stencil-library/udp-page.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-page.entry.js.map +0 -1
- package/dist/stencil-library/udp-sankey-chart.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-sankey-chart.entry.js.map +0 -1
- package/dist/stencil-library/udp-skeleton-loading.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-skeleton-loading.entry.js.map +0 -1
- package/dist/stencil-library/udp-split-screen.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-split-screen.entry.js.map +0 -1
- package/dist/stencil-library/udp-stepper-demo.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-stepper-demo.entry.js.map +0 -1
- package/dist/stencil-library/udp-stepper.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-stepper.entry.js.map +0 -1
- package/dist/stencil-library/udp-tab-panel.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-tab-panel.entry.js.map +0 -1
- package/dist/stencil-library/udp-tab.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-tab.entry.js.map +0 -1
- package/dist/stencil-library/udp-timeline-connector.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-timeline-connector.entry.js.map +0 -1
- package/dist/stencil-library/udp-timeline-dot.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-timeline-dot.entry.js.map +0 -1
- package/dist/stencil-library/udp-timeline-item.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-timeline-item.entry.js.map +0 -1
- package/dist/stencil-library/udp-timeline-separator.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-timeline-separator.entry.js.map +0 -1
- package/dist/stencil-library/udp-timeline.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-timeline.entry.js.map +0 -1
- package/dist/stencil-library/udp-vertical-spacer.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-vertical-spacer.entry.js.map +0 -1
- package/dist/stencil-library/udp-xy-chart.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-xy-chart.entry.js.map +0 -1
- package/dist/stencil-library/udp-xy-multi-series-chart.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-xy-multi-series-chart.entry.js.map +0 -1
- package/dist/stencil-library/udpFieldHelper-qPBcfmrH.js.map +0 -1
- package/dist/stencil-library/udpOperatorHelper-BsvDrT81.js.map +0 -1
- package/dist/stencil-library/unity-typography.entry.esm.js.map +0 -1
- package/dist/stencil-library/unity-typography.entry.js.map +0 -1
- package/dist/stencil-library/utils-kwLwITIE.js.map +0 -1
|
@@ -1,1605 +1 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h } from './index2.js';
|
|
2
|
-
import { throttle } from 'lodash';
|
|
3
|
-
import { g as getCurrentTenantId } from './tenantUtils.js';
|
|
4
|
-
import { f as fetchLatestForms } from './udp-form-api-utils.js';
|
|
5
|
-
import { c as UdpFormsSubmissionStatusEnum, b as UdpFormsPageIdEnum, U as UdpFormsFieldTypeEnum, a as UdpFormsTypeEnum } from './enums.js';
|
|
6
|
-
import { b as buildEmptyCurrentValues } from './utils.js';
|
|
7
|
-
import { c as createFormData, m as makeApiCall } from './makeApiCall.js';
|
|
8
|
-
import { S as SearchBuilder, c as SearchOperators } from './SearchBuilder.js';
|
|
9
|
-
import { C as ConfigService } from './configService.js';
|
|
10
|
-
import { v4 } from 'uuid';
|
|
11
|
-
import { d as defineCustomElement$C } from './custom-button2.js';
|
|
12
|
-
import { d as defineCustomElement$B } from './file-upload2.js';
|
|
13
|
-
import { d as defineCustomElement$A } from './fluent-dialog2.js';
|
|
14
|
-
import { d as defineCustomElement$z } from './form-metadata-display2.js';
|
|
15
|
-
import { d as defineCustomElement$y } from './image-upload2.js';
|
|
16
|
-
import { d as defineCustomElement$x } from './numeric-field2.js';
|
|
17
|
-
import { d as defineCustomElement$w } from './selectable-list2.js';
|
|
18
|
-
import { d as defineCustomElement$v } from './signature-input2.js';
|
|
19
|
-
import { d as defineCustomElement$u } from './stencil-field2.js';
|
|
20
|
-
import { d as defineCustomElement$t } from './stencil-form2.js';
|
|
21
|
-
import { d as defineCustomElement$s } from './stencil-icon-button2.js';
|
|
22
|
-
import { d as defineCustomElement$r } from './tally.js';
|
|
23
|
-
import { d as defineCustomElement$q } from './text-area2.js';
|
|
24
|
-
import { d as defineCustomElement$p } from './text-field2.js';
|
|
25
|
-
import { d as defineCustomElement$o } from './udp-adornment2.js';
|
|
26
|
-
import { d as defineCustomElement$n } from './udp-ambient-card2.js';
|
|
27
|
-
import { d as defineCustomElement$m } from './udp-ambient-tool-tip2.js';
|
|
28
|
-
import { d as defineCustomElement$l } from './udp-badge2.js';
|
|
29
|
-
import { d as defineCustomElement$k } from './udp-button2.js';
|
|
30
|
-
import { d as defineCustomElement$j } from './udp-container2.js';
|
|
31
|
-
import { d as defineCustomElement$i } from './udp-date-selector2.js';
|
|
32
|
-
import { d as defineCustomElement$h } from './udp-datetime-selector2.js';
|
|
33
|
-
import { d as defineCustomElement$g } from './udp-forms-ui2.js';
|
|
34
|
-
import { d as defineCustomElement$f } from './udp-icon2.js';
|
|
35
|
-
import { d as defineCustomElement$e } from './udp-icon-button2.js';
|
|
36
|
-
import { d as defineCustomElement$d } from './udp-linear-loader2.js';
|
|
37
|
-
import { d as defineCustomElement$c } from './udp-list-renderer2.js';
|
|
38
|
-
import { d as defineCustomElement$b } from './udp-menu-item2.js';
|
|
39
|
-
import { d as defineCustomElement$a } from './udp-pagination2.js';
|
|
40
|
-
import { d as defineCustomElement$9 } from './udp-pop-over2.js';
|
|
41
|
-
import { d as defineCustomElement$8 } from './udp-question2.js';
|
|
42
|
-
import { d as defineCustomElement$7 } from './udp-question-comments2.js';
|
|
43
|
-
import { d as defineCustomElement$6 } from './udp-save-draft-button2.js';
|
|
44
|
-
import { d as defineCustomElement$5 } from './udp-selector2.js';
|
|
45
|
-
import { d as defineCustomElement$4 } from './udp-side-sheet2.js';
|
|
46
|
-
import { d as defineCustomElement$3 } from './udp-time-selector2.js';
|
|
47
|
-
import { d as defineCustomElement$2 } from './unity-typography2.js';
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Utility function to check if an array contains File objects
|
|
51
|
-
*/
|
|
52
|
-
function isFileArray(array) {
|
|
53
|
-
// Check if it's an array
|
|
54
|
-
if (!Array.isArray(array)) {
|
|
55
|
-
return false;
|
|
56
|
-
}
|
|
57
|
-
// Check if all elements in the array are instances of File
|
|
58
|
-
return array.every(item => item instanceof File);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
class UdpFormSubmission {
|
|
62
|
-
constructor(initialData = {}) {
|
|
63
|
-
this.id = null;
|
|
64
|
-
this.formId = null;
|
|
65
|
-
this.formVersion = null;
|
|
66
|
-
this.data = {};
|
|
67
|
-
this.unityUserId = null;
|
|
68
|
-
this.clusterId = null;
|
|
69
|
-
this.userDisplayName = '';
|
|
70
|
-
this.status = null;
|
|
71
|
-
this.businessObjectKey = '';
|
|
72
|
-
this.udpTags = [];
|
|
73
|
-
this.form = null;
|
|
74
|
-
this.initialCreatedOn = null;
|
|
75
|
-
this.lastModifiedOn = null;
|
|
76
|
-
this.submittedOn = null;
|
|
77
|
-
this.generic1 = null;
|
|
78
|
-
this.generic2 = null;
|
|
79
|
-
this.generic3 = null;
|
|
80
|
-
this.userEmail = null;
|
|
81
|
-
Object.assign(this, initialData);
|
|
82
|
-
}
|
|
83
|
-
// =============================
|
|
84
|
-
// Form Data Processing
|
|
85
|
-
// =============================
|
|
86
|
-
processSubmissionIntoFormDataWithoutValues(status) {
|
|
87
|
-
const baseData = this.buildBaseSubmissionData(status);
|
|
88
|
-
const formData = createFormData(baseData);
|
|
89
|
-
formData.append('Data', JSON.stringify(this.data));
|
|
90
|
-
return formData;
|
|
91
|
-
}
|
|
92
|
-
processSubmissionIntoFormData(formInputValuesAndMetadata, status) {
|
|
93
|
-
const baseData = this.buildBaseSubmissionData(status);
|
|
94
|
-
const { cleanedData, files } = this.extractCleanedDataAndFiles(formInputValuesAndMetadata);
|
|
95
|
-
const formData = createFormData(baseData);
|
|
96
|
-
files.forEach(file => formData.append('FormFiles', file));
|
|
97
|
-
const submissionDataObject = {
|
|
98
|
-
submissionResponseData: cleanedData,
|
|
99
|
-
submissionMetadata: this.data.submissionMetadata || null
|
|
100
|
-
};
|
|
101
|
-
formData.append('Data', JSON.stringify(submissionDataObject));
|
|
102
|
-
return formData;
|
|
103
|
-
}
|
|
104
|
-
buildBaseSubmissionData(statusValue) {
|
|
105
|
-
const baseData = {
|
|
106
|
-
FormId: this.formId,
|
|
107
|
-
FormVersion: this.formVersion.toString(),
|
|
108
|
-
Status: statusValue,
|
|
109
|
-
};
|
|
110
|
-
if (this.id) {
|
|
111
|
-
baseData.Id = this.id;
|
|
112
|
-
}
|
|
113
|
-
if (this.initialCreatedOn) {
|
|
114
|
-
baseData.InitialCreatedOn = this.initialCreatedOn;
|
|
115
|
-
}
|
|
116
|
-
else {
|
|
117
|
-
baseData.InitialCreatedOn = new Date().toISOString();
|
|
118
|
-
}
|
|
119
|
-
if (this.lastModifiedOn) {
|
|
120
|
-
baseData.LastModifiedOn = this.lastModifiedOn;
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
baseData.LastModifiedOn = new Date().toISOString();
|
|
124
|
-
}
|
|
125
|
-
if (this.submittedOn) {
|
|
126
|
-
baseData.submittedOn = this.submittedOn;
|
|
127
|
-
}
|
|
128
|
-
if (this.generic1) {
|
|
129
|
-
baseData.generic1 = this.generic1.toString();
|
|
130
|
-
}
|
|
131
|
-
if (this.generic2) {
|
|
132
|
-
baseData.generic2 = this.generic2.toString();
|
|
133
|
-
}
|
|
134
|
-
if (this.generic3) {
|
|
135
|
-
baseData.generic3 = this.generic3.toString();
|
|
136
|
-
}
|
|
137
|
-
return baseData;
|
|
138
|
-
}
|
|
139
|
-
extractCleanedDataAndFiles(data) {
|
|
140
|
-
const files = [];
|
|
141
|
-
const cleanedData = {};
|
|
142
|
-
for (const sectionName in data) {
|
|
143
|
-
cleanedData[sectionName] = {};
|
|
144
|
-
for (const questionName in data[sectionName]) {
|
|
145
|
-
const entry = data[sectionName][questionName];
|
|
146
|
-
const { value, fieldFiles } = this.extractValueAndFiles(entry);
|
|
147
|
-
if (fieldFiles)
|
|
148
|
-
files.push(...fieldFiles);
|
|
149
|
-
const comments = this.processComments(entry.comments);
|
|
150
|
-
const metadata = this.processMetadata(entry.metadata);
|
|
151
|
-
cleanedData[sectionName][questionName] = Object.assign({ value, comments }, (metadata && { metadata }));
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
return { cleanedData, files };
|
|
155
|
-
}
|
|
156
|
-
// =============================
|
|
157
|
-
// Form Data Processing Private Helpers
|
|
158
|
-
// =============================
|
|
159
|
-
extractValueAndFiles(entry) {
|
|
160
|
-
var _a, _b;
|
|
161
|
-
let rawValue = ((_a = entry === null || entry === void 0 ? void 0 : entry.value) === null || _a === void 0 ? void 0 : _a.files) ? entry.value.value : entry === null || entry === void 0 ? void 0 : entry.value;
|
|
162
|
-
const fieldFiles = (_b = entry === null || entry === void 0 ? void 0 : entry.value) === null || _b === void 0 ? void 0 : _b.files;
|
|
163
|
-
if (fieldFiles && Array.isArray(fieldFiles)) {
|
|
164
|
-
return {
|
|
165
|
-
value: typeof rawValue === 'string' && rawValue.trim() !== '' ? rawValue : '',
|
|
166
|
-
fieldFiles,
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
if (isFileArray(rawValue)) {
|
|
170
|
-
return {
|
|
171
|
-
value: rawValue.length > 0 ? rawValue.map(f => f.name).join(',') : '',
|
|
172
|
-
fieldFiles: rawValue,
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
if (rawValue instanceof File) {
|
|
176
|
-
return { value: rawValue.name, fieldFiles: [rawValue] };
|
|
177
|
-
}
|
|
178
|
-
if (Array.isArray(rawValue)) {
|
|
179
|
-
return { value: rawValue.map(i => (typeof i === 'string' ? i : i === null || i === void 0 ? void 0 : i.value)).join(',') };
|
|
180
|
-
}
|
|
181
|
-
return { value: rawValue };
|
|
182
|
-
}
|
|
183
|
-
processComments(comments) {
|
|
184
|
-
var _a;
|
|
185
|
-
return (_a = comments === null || comments === void 0 ? void 0 : comments.map(comment => (Object.assign({}, comment)))) !== null && _a !== void 0 ? _a : [];
|
|
186
|
-
}
|
|
187
|
-
processMetadata(metadata) {
|
|
188
|
-
return metadata && Object.keys(metadata).length > 0 ? Object.assign({}, metadata) : undefined;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Single handler for UdpFormSubmission operations.
|
|
194
|
-
*
|
|
195
|
-
* Behavior changes by access mode:
|
|
196
|
-
* - private: supports draft save and follow-ups; comments are saved via standard draft-save until submitted,
|
|
197
|
-
* and via dedicated comment endpoints when submitted or viewed by a non-owner.
|
|
198
|
-
* - public : no draft save, no follow-ups; submit uses the `/UdpFormSubmission/public` endpoint;
|
|
199
|
-
* comments use dedicated comment endpoints once a submission exists.
|
|
200
|
-
*/
|
|
201
|
-
class FormSubmissionHandler {
|
|
202
|
-
constructor(accessMode) {
|
|
203
|
-
this.accessMode = accessMode;
|
|
204
|
-
}
|
|
205
|
-
async addComment(udpFormSubmission, comment) {
|
|
206
|
-
if (!(udpFormSubmission === null || udpFormSubmission === void 0 ? void 0 : udpFormSubmission.id)) {
|
|
207
|
-
throw new Error('Cannot add a comment without a submission ID.');
|
|
208
|
-
}
|
|
209
|
-
// Backend contract:
|
|
210
|
-
// - public : POST /UdpFormSubmission/{submissionId}/comments/public
|
|
211
|
-
// - private: POST /UdpFormSubmission/{submissionId}/comments/private
|
|
212
|
-
const url = `${ConfigService.productV1ApiUrl}/UdpFormSubmission/${udpFormSubmission.id}/comments/${this.accessMode}`;
|
|
213
|
-
await makeApiCall('POST', url, comment, true);
|
|
214
|
-
}
|
|
215
|
-
async updateComment(udpFormSubmission, args) {
|
|
216
|
-
if (!(udpFormSubmission === null || udpFormSubmission === void 0 ? void 0 : udpFormSubmission.id)) {
|
|
217
|
-
throw new Error('Cannot update a comment without a submission ID.');
|
|
218
|
-
}
|
|
219
|
-
const { sectionKey, questionKey, commentId, value } = args;
|
|
220
|
-
// Backend contract: PUT /UdpFormSubmission/{submissionId}/comments/{commentId}
|
|
221
|
-
// Body: { value, sectionKey, questionKey }
|
|
222
|
-
const url = `${ConfigService.productV1ApiUrl}/UdpFormSubmission/${udpFormSubmission.id}/comments/${commentId}`;
|
|
223
|
-
await makeApiCall('PUT', url, { value, sectionKey, questionKey }, true);
|
|
224
|
-
}
|
|
225
|
-
async deleteComment(udpFormSubmission, args) {
|
|
226
|
-
if (!(udpFormSubmission === null || udpFormSubmission === void 0 ? void 0 : udpFormSubmission.id)) {
|
|
227
|
-
throw new Error('Cannot delete a comment without a submission ID.');
|
|
228
|
-
}
|
|
229
|
-
const { commentId } = args;
|
|
230
|
-
// Backend contract: DELETE /UdpFormSubmission/{submissionId}/comments/{commentId}
|
|
231
|
-
const url = `${ConfigService.productV1ApiUrl}/UdpFormSubmission/${udpFormSubmission.id}/comments/${commentId}`;
|
|
232
|
-
await makeApiCall('DELETE', url, null, true);
|
|
233
|
-
}
|
|
234
|
-
async fetchAndPopulateUdpFormSubmissionObj(udpFormSubmission) {
|
|
235
|
-
if (!(udpFormSubmission === null || udpFormSubmission === void 0 ? void 0 : udpFormSubmission.id)) {
|
|
236
|
-
console.warn('Cannot fetch form submission without an ID.');
|
|
237
|
-
return udpFormSubmission;
|
|
238
|
-
}
|
|
239
|
-
// Public reads should not leak other users' submissions.
|
|
240
|
-
if (this.accessMode === 'public') {
|
|
241
|
-
const response = await this.getFormSubmissionByIdAndUser(udpFormSubmission.id, udpFormSubmission.unityUserId);
|
|
242
|
-
return response ? new UdpFormSubmission(Object.assign(Object.assign({}, udpFormSubmission), response)) : udpFormSubmission;
|
|
243
|
-
}
|
|
244
|
-
// Private: fetch by id.
|
|
245
|
-
const { id } = udpFormSubmission;
|
|
246
|
-
const response = await this.getFormSubmissionById(id);
|
|
247
|
-
return response ? new UdpFormSubmission(Object.assign(Object.assign({}, udpFormSubmission), response)) : udpFormSubmission;
|
|
248
|
-
}
|
|
249
|
-
async createNewLinkedFollowUpFormSubmission(udpFormSubmission) {
|
|
250
|
-
if (this.accessMode === 'public') {
|
|
251
|
-
throw new Error('Follow-up form submissions are not supported for public forms.');
|
|
252
|
-
}
|
|
253
|
-
return this.saveFormDataWithoutValues(udpFormSubmission, UdpFormsSubmissionStatusEnum.InProgress);
|
|
254
|
-
}
|
|
255
|
-
async saveCurrentFormSubmissionState(values, udpFormSubmission) {
|
|
256
|
-
if (this.accessMode === 'public') {
|
|
257
|
-
// Public forms do not support draft save / return-later.
|
|
258
|
-
return udpFormSubmission;
|
|
259
|
-
}
|
|
260
|
-
return this.saveSubmissionToDB(values, udpFormSubmission, UdpFormsSubmissionStatusEnum.InProgress);
|
|
261
|
-
}
|
|
262
|
-
async finalizeFormSubmissionState(values, udpFormSubmission) {
|
|
263
|
-
return this.saveSubmissionToDB(values, udpFormSubmission, UdpFormsSubmissionStatusEnum.Submitted);
|
|
264
|
-
}
|
|
265
|
-
// =============================
|
|
266
|
-
// Helpers
|
|
267
|
-
// =============================
|
|
268
|
-
async saveFormDataWithoutValues(udpFormSubmission, status) {
|
|
269
|
-
const formData = udpFormSubmission.processSubmissionIntoFormDataWithoutValues(status);
|
|
270
|
-
const { method, url } = this.getApiRequestInfo(udpFormSubmission);
|
|
271
|
-
const response = await makeApiCall(method, url, formData, true);
|
|
272
|
-
if (response === '') {
|
|
273
|
-
return await this.fetchAndPopulateUdpFormSubmissionObj(udpFormSubmission);
|
|
274
|
-
}
|
|
275
|
-
return new UdpFormSubmission(Object.assign(Object.assign({}, udpFormSubmission), response));
|
|
276
|
-
}
|
|
277
|
-
getApiRequestInfo(udpFormSubmission) {
|
|
278
|
-
const baseUrl = `${ConfigService.productV1ApiUrl}/UdpFormSubmission/${this.accessMode}`;
|
|
279
|
-
// Public mode does not support draft saves or updates; only a single submit (POST /public).
|
|
280
|
-
// Private mode supports POST (create) and PUT (update).
|
|
281
|
-
if (this.accessMode === 'public') {
|
|
282
|
-
return { method: 'POST', url: baseUrl };
|
|
283
|
-
}
|
|
284
|
-
return udpFormSubmission.id
|
|
285
|
-
? { method: 'PUT', url: baseUrl }
|
|
286
|
-
: { method: 'POST', url: baseUrl };
|
|
287
|
-
}
|
|
288
|
-
async saveSubmissionToDB(values, udpFormSubmission, status) {
|
|
289
|
-
const formData = udpFormSubmission.processSubmissionIntoFormData(values, status);
|
|
290
|
-
const { method, url } = this.getApiRequestInfo(udpFormSubmission);
|
|
291
|
-
const response = await makeApiCall(method, url, formData, true);
|
|
292
|
-
if (response === '') {
|
|
293
|
-
return await this.fetchAndPopulateUdpFormSubmissionObj(udpFormSubmission);
|
|
294
|
-
}
|
|
295
|
-
const updated = new UdpFormSubmission(Object.assign(Object.assign({}, udpFormSubmission), response));
|
|
296
|
-
// IMPORTANT: callers often pass a shared `udpFormSubmission` instance and do not use the return value.
|
|
297
|
-
// Ensure the original instance gets the new server-assigned id/status when the first save/submit creates it.
|
|
298
|
-
Object.assign(udpFormSubmission, updated);
|
|
299
|
-
return updated;
|
|
300
|
-
}
|
|
301
|
-
async getFormSubmissionById(id) {
|
|
302
|
-
var _a;
|
|
303
|
-
try {
|
|
304
|
-
const search = new SearchBuilder(1, 1).addFilter('id', id, SearchOperators.EQUALS);
|
|
305
|
-
const response = await search.execute('UdpFormSubmission');
|
|
306
|
-
return ((_a = response === null || response === void 0 ? void 0 : response.pageList) === null || _a === void 0 ? void 0 : _a[0]) || null;
|
|
307
|
-
}
|
|
308
|
-
catch (error) {
|
|
309
|
-
console.error('Error fetching form submission by ID:', error);
|
|
310
|
-
return null;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
async getFormSubmissionByIdAndUser(id, unityUserId) {
|
|
314
|
-
var _a;
|
|
315
|
-
try {
|
|
316
|
-
const search = new SearchBuilder(1, 1)
|
|
317
|
-
.addFilter('id', id, SearchOperators.EQUALS)
|
|
318
|
-
.addFilter('unityUserId', unityUserId, SearchOperators.EQUALS);
|
|
319
|
-
const response = await search.execute('UdpFormSubmission');
|
|
320
|
-
return ((_a = response === null || response === void 0 ? void 0 : response.pageList) === null || _a === void 0 ? void 0 : _a[0]) || null;
|
|
321
|
-
}
|
|
322
|
-
catch (error) {
|
|
323
|
-
console.error('Error fetching form submission by ID:', error);
|
|
324
|
-
return null;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* Factory for creating form submission handlers.
|
|
331
|
-
*/
|
|
332
|
-
class FormSubmissionHandlerFactory {
|
|
333
|
-
static create(isPublic, userId) {
|
|
334
|
-
return new FormSubmissionHandler(isPublic ? 'public' : 'private');
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
class UdpFormHandler {
|
|
339
|
-
constructor(tenantId, isPublic = false) {
|
|
340
|
-
this.tenantId = tenantId;
|
|
341
|
-
this.isPublic = isPublic;
|
|
342
|
-
}
|
|
343
|
-
buildDescribeUrl(formId, formVersion) {
|
|
344
|
-
const base = ConfigService.productV1ApiUrl;
|
|
345
|
-
if (this.isPublic) {
|
|
346
|
-
return `${base}/UdpForm/${formId}/${formVersion}/describe/public`;
|
|
347
|
-
}
|
|
348
|
-
else {
|
|
349
|
-
return `${base}/UdpForm/${formId}/${formVersion}/describe`;
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
async getFormByFormIdAndFormVersion(formId, formVersion) {
|
|
353
|
-
const url = this.buildDescribeUrl(formId, formVersion);
|
|
354
|
-
const formData = await makeApiCall('GET', url);
|
|
355
|
-
if (formData.styleOverrides && typeof formData.styleOverrides === 'string') {
|
|
356
|
-
formData.styleOverrides = JSON.parse(formData.styleOverrides);
|
|
357
|
-
}
|
|
358
|
-
return formData;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
class UdpForm {
|
|
363
|
-
constructor(initialData) {
|
|
364
|
-
if (!initialData)
|
|
365
|
-
return;
|
|
366
|
-
Object.assign(this, initialData);
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
// utility to find repeat group keys from current values
|
|
371
|
-
const findRepeatGroupKeys = (sectionName, values) => {
|
|
372
|
-
const keys = Object.keys(values);
|
|
373
|
-
const repeatGroupSet = new Set();
|
|
374
|
-
// Match: sectionName_2
|
|
375
|
-
const regex = new RegExp(`^${sectionName}_(\\d+)`);
|
|
376
|
-
keys.forEach(key => {
|
|
377
|
-
const match = key.match(regex);
|
|
378
|
-
if (match && match[1]) {
|
|
379
|
-
repeatGroupSet.add(Number(match[1]));
|
|
380
|
-
}
|
|
381
|
-
});
|
|
382
|
-
return Array.from(repeatGroupSet).sort((a, b) => a - b);
|
|
383
|
-
};
|
|
384
|
-
// build dynamic sections based on the master form
|
|
385
|
-
const initializeDynamicSections = (udpForm, currentValues) => {
|
|
386
|
-
var _a;
|
|
387
|
-
const dynamicSections = [];
|
|
388
|
-
const sortedSections = structuredClone(udpForm.udpFormUdpFormSection).sort((a, b) => a.order - b.order);
|
|
389
|
-
for (const section of sortedSections) {
|
|
390
|
-
section.sectionProperties = JSON.parse(section.sectionProperties || {});
|
|
391
|
-
const repeatGroupKeys = findRepeatGroupKeys(section.name, currentValues);
|
|
392
|
-
section.isOriginalSection = true;
|
|
393
|
-
section.sectionPositionSuffix = 1; // default position
|
|
394
|
-
// always add the original section into dynamic sections
|
|
395
|
-
dynamicSections.push(Object.assign(Object.assign({}, structuredClone(section)), {
|
|
396
|
-
// dynamicSectionName: section.name,
|
|
397
|
-
formQuestions: structuredClone(udpForm.formQuestions)
|
|
398
|
-
.filter(q => q.formSectionId === section.id)
|
|
399
|
-
.sort((a, b) => a.questionOrder - b.questionOrder)
|
|
400
|
-
.map(q => (Object.assign(Object.assign({}, q), { questionIdentifierKey: `${section.name}.${q.name}`, isShowCommentInput: true })))
|
|
401
|
-
}));
|
|
402
|
-
// create then add additional sections if there are repeated sections
|
|
403
|
-
if (((_a = section.sectionProperties) === null || _a === void 0 ? void 0 : _a.isRepeatable) && repeatGroupKeys.length > 0) {
|
|
404
|
-
const maxRepeatedSectionSuffix = Math.max(...repeatGroupKeys); // create a new section for the max value of repeat group keys, even if there are no saved answers
|
|
405
|
-
// for (const repeatKey of repeatGroupKeys) { // create a section only for the suffix saved
|
|
406
|
-
for (let repeatKey = 2; repeatKey <= maxRepeatedSectionSuffix; repeatKey++) {
|
|
407
|
-
const clonedSection = Object.assign(Object.assign({}, structuredClone(section)), { formQuestions: structuredClone(udpForm.formQuestions)
|
|
408
|
-
.filter(q => q.formSectionId === section.id)
|
|
409
|
-
.sort((a, b) => a.questionOrder - b.questionOrder)
|
|
410
|
-
.map(q => (Object.assign(Object.assign({}, q), { questionIdentifierKey: `${section.name}_${repeatKey}.${q.name}`, isShowCommentInput: true }))), isOriginalSection: false, sectionPositionSuffix: repeatKey });
|
|
411
|
-
dynamicSections.push(clonedSection);
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
return dynamicSections;
|
|
416
|
-
};
|
|
417
|
-
// urlContext is derived from query params that start with `udpf_` (see useUdpFormParameters).
|
|
418
|
-
// Keys are stored without the prefix, e.g. `udpf_section1_3.question1=val` -> urlContext['section1_3.question1'] = 'val'
|
|
419
|
-
// This helper finds the maximum repeat suffix requested by urlContext for a given section base name.
|
|
420
|
-
// Example: { 'sectionA_3.q1': 'x', 'sectionA_2.q2': 'y' } -> { sectionA: 3 }
|
|
421
|
-
const getMaxRepeatSuffixBySectionFromUrlContext = (urlContext) => {
|
|
422
|
-
const context = (urlContext && typeof urlContext === 'object') ? urlContext : {};
|
|
423
|
-
const maxBySection = {};
|
|
424
|
-
Object.keys(context).forEach(key => {
|
|
425
|
-
var _a;
|
|
426
|
-
// Expect keys like: sectionName_3.questionName
|
|
427
|
-
// Only treat it as a repeat hint if it has a dot after the suffix.
|
|
428
|
-
const match = key.match(/^([^._?&#]+)_(\d+)\./);
|
|
429
|
-
if (!match)
|
|
430
|
-
return;
|
|
431
|
-
const baseSectionName = match[1];
|
|
432
|
-
const suffix = Number(match[2]);
|
|
433
|
-
if (!Number.isFinite(suffix) || suffix < 2)
|
|
434
|
-
return;
|
|
435
|
-
const existing = (_a = maxBySection[baseSectionName]) !== null && _a !== void 0 ? _a : 1;
|
|
436
|
-
if (suffix > existing)
|
|
437
|
-
maxBySection[baseSectionName] = suffix;
|
|
438
|
-
});
|
|
439
|
-
return maxBySection;
|
|
440
|
-
};
|
|
441
|
-
// build dynamic sections based on the master form plus optional repeat hints from URL context
|
|
442
|
-
const initializeDynamicSectionsWithUrlContext = (udpForm, currentValues, urlContext) => {
|
|
443
|
-
var _a, _b;
|
|
444
|
-
const maxRepeatFromUrl = getMaxRepeatSuffixBySectionFromUrlContext(urlContext);
|
|
445
|
-
const dynamicSections = [];
|
|
446
|
-
const sortedSections = structuredClone(udpForm.udpFormUdpFormSection).sort((a, b) => a.order - b.order);
|
|
447
|
-
for (const section of sortedSections) {
|
|
448
|
-
section.sectionProperties = JSON.parse(section.sectionProperties || {});
|
|
449
|
-
const repeatGroupKeys = findRepeatGroupKeys(section.name, currentValues);
|
|
450
|
-
const maxRepeatedFromValues = repeatGroupKeys.length > 0 ? Math.max(...repeatGroupKeys) : 1;
|
|
451
|
-
const maxRepeatedFromUrl = (_a = maxRepeatFromUrl === null || maxRepeatFromUrl === void 0 ? void 0 : maxRepeatFromUrl[section.name]) !== null && _a !== void 0 ? _a : 1;
|
|
452
|
-
const maxRepeatedSectionSuffix = Math.max(maxRepeatedFromValues, maxRepeatedFromUrl);
|
|
453
|
-
section.isOriginalSection = true;
|
|
454
|
-
section.sectionPositionSuffix = 1; // default position
|
|
455
|
-
// always add the original section into dynamic sections
|
|
456
|
-
dynamicSections.push(Object.assign(Object.assign({}, structuredClone(section)), { formQuestions: structuredClone(udpForm.formQuestions)
|
|
457
|
-
.filter(q => q.formSectionId === section.id)
|
|
458
|
-
.sort((a, b) => a.questionOrder - b.questionOrder)
|
|
459
|
-
.map(q => (Object.assign(Object.assign({}, q), { questionIdentifierKey: `${section.name}.${q.name}`, isShowCommentInput: true }))) }));
|
|
460
|
-
// create then add additional sections if repeatable and suffix requested by saved values or url
|
|
461
|
-
if (((_b = section.sectionProperties) === null || _b === void 0 ? void 0 : _b.isRepeatable) && maxRepeatedSectionSuffix >= 2) {
|
|
462
|
-
for (let repeatKey = 2; repeatKey <= maxRepeatedSectionSuffix; repeatKey++) {
|
|
463
|
-
const clonedSection = Object.assign(Object.assign({}, structuredClone(section)), { formQuestions: structuredClone(udpForm.formQuestions)
|
|
464
|
-
.filter(q => q.formSectionId === section.id)
|
|
465
|
-
.sort((a, b) => a.questionOrder - b.questionOrder)
|
|
466
|
-
.map(q => (Object.assign(Object.assign({}, q), { questionIdentifierKey: `${section.name}_${repeatKey}.${q.name}`, isShowCommentInput: true }))), isOriginalSection: false, sectionPositionSuffix: repeatKey });
|
|
467
|
-
dynamicSections.push(clonedSection);
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
return dynamicSections;
|
|
472
|
-
};
|
|
473
|
-
const applyUrlSeedValuesForAll = (dynamicSections, urlContext) => {
|
|
474
|
-
if (!Array.isArray(dynamicSections))
|
|
475
|
-
return;
|
|
476
|
-
// urlContext is derived from query params that start with `udpf_` (see useUdpFormParameters).
|
|
477
|
-
// Keys are stored without the prefix, e.g. `udpf_section1.question1=val` -> urlContext['section1.question1'] = 'val'
|
|
478
|
-
const context = (urlContext && typeof urlContext === 'object') ? urlContext : {};
|
|
479
|
-
// Build a case-insensitive view of urlContext so callers can use udpf_ keys without worrying about case.
|
|
480
|
-
// If duplicate keys exist with different casing, the last one encountered wins.
|
|
481
|
-
const contextCI = {};
|
|
482
|
-
Object.keys(context).forEach(k => {
|
|
483
|
-
contextCI[String(k).toLowerCase()] = context[k];
|
|
484
|
-
});
|
|
485
|
-
// 1) Collect URL values into nested structure: { [sectionKey]: { [questionName]: { value, comments: [] } } }
|
|
486
|
-
const urlValuesNested = {};
|
|
487
|
-
dynamicSections.forEach(section => {
|
|
488
|
-
const sectionKey = section.isOriginalSection
|
|
489
|
-
? section.name
|
|
490
|
-
: `${section.name}_${section.sectionPositionSuffix}`;
|
|
491
|
-
(section.formQuestions || []).forEach(q => {
|
|
492
|
-
if (!q)
|
|
493
|
-
return;
|
|
494
|
-
const candidates = [q.processedSubmissionName, q.questionIdentifierKey, q.name].filter(Boolean);
|
|
495
|
-
let urlVal = undefined;
|
|
496
|
-
for (const c of candidates) {
|
|
497
|
-
const key = String(c).toLowerCase();
|
|
498
|
-
if (Object.prototype.hasOwnProperty.call(contextCI, key)) {
|
|
499
|
-
urlVal = contextCI[key];
|
|
500
|
-
break;
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
if (urlVal !== undefined && urlVal !== null) {
|
|
504
|
-
if (!urlValuesNested[sectionKey])
|
|
505
|
-
urlValuesNested[sectionKey] = {};
|
|
506
|
-
urlValuesNested[sectionKey][q.name] = { value: urlVal, comments: [] };
|
|
507
|
-
}
|
|
508
|
-
});
|
|
509
|
-
});
|
|
510
|
-
// Caller is responsible for merging with saved submissionResponseData.
|
|
511
|
-
// Here we only return the url-derived seed values + paragraph defaults.
|
|
512
|
-
const merged = {};
|
|
513
|
-
Object.entries(urlValuesNested).forEach(([sectionKey, qMap]) => {
|
|
514
|
-
if (!merged[sectionKey])
|
|
515
|
-
merged[sectionKey] = {};
|
|
516
|
-
Object.entries(qMap).forEach(([qName, valObj]) => {
|
|
517
|
-
const existing = merged[sectionKey][qName];
|
|
518
|
-
// Only set from URL if no saved value exists (null/undefined/empty-string)
|
|
519
|
-
const isMissing = existing == null ||
|
|
520
|
-
existing.value == null ||
|
|
521
|
-
(typeof existing.value === 'string' && existing.value.trim() === '');
|
|
522
|
-
if (isMissing) {
|
|
523
|
-
merged[sectionKey][qName] = valObj;
|
|
524
|
-
}
|
|
525
|
-
});
|
|
526
|
-
});
|
|
527
|
-
// 3) Paragraph defaults: if still undefined/null, use fieldProperties.paragraphText
|
|
528
|
-
dynamicSections.forEach(section => {
|
|
529
|
-
const sectionKey = section.isOriginalSection
|
|
530
|
-
? section.name
|
|
531
|
-
: `${section.name}_${section.sectionPositionSuffix}`;
|
|
532
|
-
if (!merged[sectionKey])
|
|
533
|
-
merged[sectionKey] = {};
|
|
534
|
-
(section.formQuestions || []).forEach(q => {
|
|
535
|
-
var _a;
|
|
536
|
-
if (!q)
|
|
537
|
-
return;
|
|
538
|
-
if (q.fieldTypeId === UdpFormsFieldTypeEnum.Paragraph) {
|
|
539
|
-
const existing = merged[sectionKey][q.name];
|
|
540
|
-
const isMissing = existing == null ||
|
|
541
|
-
existing.value == null ||
|
|
542
|
-
(typeof existing.value === 'string' && existing.value.trim() === '');
|
|
543
|
-
if (isMissing) {
|
|
544
|
-
let fieldProps = q === null || q === void 0 ? void 0 : q.fieldProperties;
|
|
545
|
-
if (typeof fieldProps === 'string') {
|
|
546
|
-
try {
|
|
547
|
-
fieldProps = JSON.parse(fieldProps || '{}');
|
|
548
|
-
}
|
|
549
|
-
catch (_b) {
|
|
550
|
-
fieldProps = {};
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
merged[sectionKey][q.name] = {
|
|
554
|
-
value: (_a = fieldProps === null || fieldProps === void 0 ? void 0 : fieldProps.paragraphText) !== null && _a !== void 0 ? _a : '',
|
|
555
|
-
comments: [],
|
|
556
|
-
};
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
});
|
|
560
|
-
});
|
|
561
|
-
return merged;
|
|
562
|
-
};
|
|
563
|
-
const replaceUrlWithSubmissionId = (submissionId, history) => {
|
|
564
|
-
// build a URL that preserves the current pathname + hash but replaces the query string
|
|
565
|
-
const pathname = typeof window !== 'undefined' ? window.location.pathname : `/page/${UdpFormsPageIdEnum.FormRendererPageId}`;
|
|
566
|
-
const hash = typeof window !== 'undefined' ? window.location.hash : '';
|
|
567
|
-
const newUrl = `${pathname}?udpf_submissionId=${submissionId}${hash}`;
|
|
568
|
-
const h = history;
|
|
569
|
-
// Prefer history.replace when available, handle react-router v6 navigate function, fallback to push or native replaceState
|
|
570
|
-
if (h) {
|
|
571
|
-
if (typeof h.replace === 'function') {
|
|
572
|
-
h.replace(newUrl);
|
|
573
|
-
return;
|
|
574
|
-
}
|
|
575
|
-
if (typeof h.push === 'function') {
|
|
576
|
-
h.push(newUrl);
|
|
577
|
-
return;
|
|
578
|
-
}
|
|
579
|
-
// react-router v6 exposes a navigate function
|
|
580
|
-
if (typeof h === 'function') {
|
|
581
|
-
try {
|
|
582
|
-
h(newUrl, { replace: true });
|
|
583
|
-
}
|
|
584
|
-
catch (_a) {
|
|
585
|
-
h(newUrl);
|
|
586
|
-
}
|
|
587
|
-
return;
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
if (typeof window !== 'undefined' && window.history && typeof window.history.replaceState === 'function') {
|
|
591
|
-
window.history.replaceState({}, '', newUrl);
|
|
592
|
-
}
|
|
593
|
-
else if (typeof window !== 'undefined') {
|
|
594
|
-
window.location.href = newUrl;
|
|
595
|
-
}
|
|
596
|
-
};
|
|
597
|
-
const enqueueSnackbarSuccess = (message, enqueueSnackbar) => {
|
|
598
|
-
enqueueSnackbar === null || enqueueSnackbar === void 0 ? void 0 : enqueueSnackbar(message, {
|
|
599
|
-
variant: 'success',
|
|
600
|
-
anchorOrigin: { vertical: 'top', horizontal: 'center' },
|
|
601
|
-
});
|
|
602
|
-
};
|
|
603
|
-
const enqueueSnackbarError = (message, enqueueSnackbar) => {
|
|
604
|
-
enqueueSnackbar === null || enqueueSnackbar === void 0 ? void 0 : enqueueSnackbar(message, {
|
|
605
|
-
variant: 'error',
|
|
606
|
-
anchorOrigin: { vertical: 'top', horizontal: 'center' },
|
|
607
|
-
});
|
|
608
|
-
};
|
|
609
|
-
|
|
610
|
-
const getSectionKey = (section) => {
|
|
611
|
-
return section.isOriginalSection ? section.name : `${section.name}_${section.sectionPositionSuffix}`;
|
|
612
|
-
};
|
|
613
|
-
const safeParseFieldProperties = (fieldProperties) => {
|
|
614
|
-
if (!fieldProperties)
|
|
615
|
-
return {};
|
|
616
|
-
if (typeof fieldProperties === 'object')
|
|
617
|
-
return fieldProperties;
|
|
618
|
-
if (typeof fieldProperties !== 'string')
|
|
619
|
-
return {};
|
|
620
|
-
try {
|
|
621
|
-
return JSON.parse(fieldProperties || '{}');
|
|
622
|
-
}
|
|
623
|
-
catch (_a) {
|
|
624
|
-
return {};
|
|
625
|
-
}
|
|
626
|
-
};
|
|
627
|
-
const computeDuplicateRepeatableSection = (params) => {
|
|
628
|
-
var _a, _b, _c;
|
|
629
|
-
const { dynamicSections, values, index } = params;
|
|
630
|
-
const sectionToClone = dynamicSections[index];
|
|
631
|
-
if (!sectionToClone)
|
|
632
|
-
return { nextDynamicSections: dynamicSections, nextValues: values };
|
|
633
|
-
const cloningSectionName = sectionToClone.name;
|
|
634
|
-
// Find existing repeat group indices
|
|
635
|
-
const repeatKeys = findRepeatGroupKeys(cloningSectionName, values);
|
|
636
|
-
const nextRepeatIndex = repeatKeys.length > 0 ? Math.max(...repeatKeys) + 1 : 2;
|
|
637
|
-
const clonedSection = Object.assign(Object.assign({}, structuredClone(sectionToClone)), { formQuestions: (sectionToClone.formQuestions || []).map(q => {
|
|
638
|
-
const newQuestionObj = structuredClone(q);
|
|
639
|
-
newQuestionObj.questionIdentifierKey = `${cloningSectionName}_${nextRepeatIndex}.${q.name}`;
|
|
640
|
-
return newQuestionObj;
|
|
641
|
-
}), isOriginalSection: false, sectionPositionSuffix: nextRepeatIndex });
|
|
642
|
-
// Find the last index of this section group
|
|
643
|
-
let insertAtIndex = index;
|
|
644
|
-
for (let i = index + 1; i < dynamicSections.length; i++) {
|
|
645
|
-
const s = dynamicSections[i];
|
|
646
|
-
if (s.name === cloningSectionName)
|
|
647
|
-
insertAtIndex = i;
|
|
648
|
-
else
|
|
649
|
-
break;
|
|
650
|
-
}
|
|
651
|
-
const nextDynamicSections = [
|
|
652
|
-
...dynamicSections.slice(0, insertAtIndex + 1),
|
|
653
|
-
clonedSection,
|
|
654
|
-
...dynamicSections.slice(insertAtIndex + 1),
|
|
655
|
-
];
|
|
656
|
-
const nextValues = structuredClone(values || {});
|
|
657
|
-
const newSectionKey = `${cloningSectionName}_${nextRepeatIndex}`;
|
|
658
|
-
const sourceSectionKey = getSectionKey(sectionToClone);
|
|
659
|
-
for (const q of clonedSection.formQuestions || []) {
|
|
660
|
-
if (!nextValues[newSectionKey])
|
|
661
|
-
nextValues[newSectionKey] = {};
|
|
662
|
-
let value = '';
|
|
663
|
-
if (q.fieldTypeId === UdpFormsFieldTypeEnum.Paragraph) {
|
|
664
|
-
const sourceVal = (_b = (_a = values === null || values === void 0 ? void 0 : values[sourceSectionKey]) === null || _a === void 0 ? void 0 : _a[q.name]) === null || _b === void 0 ? void 0 : _b.value;
|
|
665
|
-
const props = safeParseFieldProperties(q.fieldProperties);
|
|
666
|
-
const paragraphDefault = (_c = props === null || props === void 0 ? void 0 : props.paragraphText) !== null && _c !== void 0 ? _c : '';
|
|
667
|
-
value = sourceVal !== null && sourceVal !== void 0 ? sourceVal : paragraphDefault;
|
|
668
|
-
}
|
|
669
|
-
nextValues[newSectionKey][q.name] = { value, comments: [], metadata: {} };
|
|
670
|
-
}
|
|
671
|
-
return { nextDynamicSections, nextValues };
|
|
672
|
-
};
|
|
673
|
-
const computeDeleteRepeatableSection = (params) => {
|
|
674
|
-
const { dynamicSections, values, index } = params;
|
|
675
|
-
const sectionToDelete = dynamicSections[index];
|
|
676
|
-
if (!sectionToDelete || sectionToDelete.isOriginalSection) {
|
|
677
|
-
return { nextDynamicSections: dynamicSections, nextValues: values };
|
|
678
|
-
}
|
|
679
|
-
const deleteSectionName = sectionToDelete.name;
|
|
680
|
-
const deleteSuffix = sectionToDelete.sectionPositionSuffix;
|
|
681
|
-
const sectionKeyToDelete = `${deleteSectionName}_${deleteSuffix}`;
|
|
682
|
-
const nextValues = Object.assign({}, (values || {}));
|
|
683
|
-
delete nextValues[sectionKeyToDelete];
|
|
684
|
-
const updatedSections = structuredClone(dynamicSections);
|
|
685
|
-
updatedSections.splice(index, 1);
|
|
686
|
-
// Shift all later repeatable sections backward by 1
|
|
687
|
-
updatedSections.forEach(section => {
|
|
688
|
-
var _a;
|
|
689
|
-
if (section.name !== deleteSectionName ||
|
|
690
|
-
section.isOriginalSection ||
|
|
691
|
-
((_a = section.sectionPositionSuffix) !== null && _a !== void 0 ? _a : 0) <= (deleteSuffix !== null && deleteSuffix !== void 0 ? deleteSuffix : 0)) {
|
|
692
|
-
return;
|
|
693
|
-
}
|
|
694
|
-
const oldSuffix = section.sectionPositionSuffix;
|
|
695
|
-
const oldSectionKey = `${deleteSectionName}_${oldSuffix}`;
|
|
696
|
-
const newSuffix = oldSuffix - 1;
|
|
697
|
-
const newSectionKey = `${deleteSectionName}_${newSuffix}`;
|
|
698
|
-
section.sectionPositionSuffix = newSuffix;
|
|
699
|
-
section.formQuestions = (section.formQuestions || []).map(q => {
|
|
700
|
-
const newSectionQuestion = structuredClone(q);
|
|
701
|
-
newSectionQuestion.questionIdentifierKey = `${newSectionKey}.${q.name}`;
|
|
702
|
-
return newSectionQuestion;
|
|
703
|
-
});
|
|
704
|
-
if (nextValues[oldSectionKey]) {
|
|
705
|
-
nextValues[newSectionKey] = structuredClone(nextValues[oldSectionKey]);
|
|
706
|
-
delete nextValues[oldSectionKey];
|
|
707
|
-
}
|
|
708
|
-
});
|
|
709
|
-
return { nextDynamicSections: updatedSections, nextValues };
|
|
710
|
-
};
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
* Pure comment CRUD logic.
|
|
714
|
-
*
|
|
715
|
-
* - Updates submissionResponseData structure for comments/draftComments.
|
|
716
|
-
* - Does NOT perform any network calls.
|
|
717
|
-
* - Returns persistence intent for caller.
|
|
718
|
-
*/
|
|
719
|
-
function applyQuestionCommentCrud(params) {
|
|
720
|
-
var _a, _b, _c, _d, _e;
|
|
721
|
-
const { actionType, questionIdentifierKey, commentId, currentSubmissionResponseData, clientUserInfo } = params;
|
|
722
|
-
const parts = (questionIdentifierKey || '').split('.');
|
|
723
|
-
const sectionKey = parts[0] || '';
|
|
724
|
-
const questionKey = parts[1] || '';
|
|
725
|
-
// Defensive: if malformed key, do nothing.
|
|
726
|
-
if (!sectionKey || !questionKey) {
|
|
727
|
-
return {
|
|
728
|
-
sectionKey,
|
|
729
|
-
questionKey,
|
|
730
|
-
nextSubmissionResponseData: currentSubmissionResponseData || {},
|
|
731
|
-
didMutate: false,
|
|
732
|
-
shouldPersist: false,
|
|
733
|
-
persistIntent: 'none',
|
|
734
|
-
commentId,
|
|
735
|
-
};
|
|
736
|
-
}
|
|
737
|
-
const next = structuredClone(currentSubmissionResponseData || {});
|
|
738
|
-
// ensure structure exists WITHOUT overwriting existing data
|
|
739
|
-
if (!next[sectionKey])
|
|
740
|
-
next[sectionKey] = {};
|
|
741
|
-
if (!next[sectionKey][questionKey]) {
|
|
742
|
-
// create defaults but do not clobber any existing saved shape from submissionResponseData
|
|
743
|
-
next[sectionKey][questionKey] = {
|
|
744
|
-
value: '',
|
|
745
|
-
comments: [],
|
|
746
|
-
draftComments: [],
|
|
747
|
-
metadata: {},
|
|
748
|
-
};
|
|
749
|
-
}
|
|
750
|
-
else {
|
|
751
|
-
// ensure arrays/objects exist so later code can safely push/filter
|
|
752
|
-
next[sectionKey][questionKey].comments = (_a = next[sectionKey][questionKey].comments) !== null && _a !== void 0 ? _a : [];
|
|
753
|
-
next[sectionKey][questionKey].draftComments = (_b = next[sectionKey][questionKey].draftComments) !== null && _b !== void 0 ? _b : [];
|
|
754
|
-
next[sectionKey][questionKey].metadata = (_c = next[sectionKey][questionKey].metadata) !== null && _c !== void 0 ? _c : {};
|
|
755
|
-
}
|
|
756
|
-
// normalize draftComments to array if needed (back-compat)
|
|
757
|
-
const maybeDraft = next[sectionKey][questionKey].draftComments;
|
|
758
|
-
if (maybeDraft && !Array.isArray(maybeDraft)) {
|
|
759
|
-
next[sectionKey][questionKey].draftComments = [maybeDraft];
|
|
760
|
-
}
|
|
761
|
-
else if (!maybeDraft) {
|
|
762
|
-
next[sectionKey][questionKey].draftComments = [];
|
|
763
|
-
}
|
|
764
|
-
const commentsArr = next[sectionKey][questionKey].comments || [];
|
|
765
|
-
const draftsArr = next[sectionKey][questionKey].draftComments || [];
|
|
766
|
-
let didMutate = false;
|
|
767
|
-
switch (actionType) {
|
|
768
|
-
case 'add': {
|
|
769
|
-
const newDraft = {
|
|
770
|
-
value: '',
|
|
771
|
-
commentId: v4(),
|
|
772
|
-
isTempComment: true,
|
|
773
|
-
timestamp: null,
|
|
774
|
-
};
|
|
775
|
-
// put new draft first so activeDraft === draftComments[0] matches UX
|
|
776
|
-
next[sectionKey][questionKey].draftComments = [newDraft, ...draftsArr];
|
|
777
|
-
didMutate = true;
|
|
778
|
-
break;
|
|
779
|
-
}
|
|
780
|
-
case 'save': {
|
|
781
|
-
const draftIdx = draftsArr.findIndex((d) => d.commentId === commentId);
|
|
782
|
-
if (draftIdx === -1) {
|
|
783
|
-
return {
|
|
784
|
-
sectionKey,
|
|
785
|
-
questionKey,
|
|
786
|
-
nextSubmissionResponseData: next,
|
|
787
|
-
didMutate: false,
|
|
788
|
-
shouldPersist: false,
|
|
789
|
-
persistIntent: 'none',
|
|
790
|
-
commentId,
|
|
791
|
-
};
|
|
792
|
-
}
|
|
793
|
-
const draft = draftsArr[draftIdx];
|
|
794
|
-
const saveTimestamp = draft.timestamp || new Date().toISOString();
|
|
795
|
-
const savedComment = Object.assign(Object.assign({}, draft), { timestamp: saveTimestamp, editedTimestamp: new Date().toISOString(), userId: clientUserInfo === null || clientUserInfo === void 0 ? void 0 : clientUserInfo.id, userDisplayName: clientUserInfo === null || clientUserInfo === void 0 ? void 0 : clientUserInfo.displayName, isDraftComment: false });
|
|
796
|
-
const existingIdx = commentsArr.findIndex((c) => c.commentId === commentId);
|
|
797
|
-
if (existingIdx !== -1) {
|
|
798
|
-
const newComments = [...commentsArr];
|
|
799
|
-
newComments[existingIdx] = Object.assign({}, savedComment);
|
|
800
|
-
next[sectionKey][questionKey].comments = newComments;
|
|
801
|
-
}
|
|
802
|
-
else {
|
|
803
|
-
next[sectionKey][questionKey].comments = [...commentsArr, savedComment];
|
|
804
|
-
}
|
|
805
|
-
next[sectionKey][questionKey].draftComments = draftsArr.filter((d) => d.commentId !== commentId);
|
|
806
|
-
didMutate = true;
|
|
807
|
-
break;
|
|
808
|
-
}
|
|
809
|
-
case 'edit': {
|
|
810
|
-
const saved = commentsArr.find((c) => c.commentId === commentId);
|
|
811
|
-
if (!saved) {
|
|
812
|
-
return {
|
|
813
|
-
sectionKey,
|
|
814
|
-
questionKey,
|
|
815
|
-
nextSubmissionResponseData: next,
|
|
816
|
-
didMutate: false,
|
|
817
|
-
shouldPersist: false,
|
|
818
|
-
persistIntent: 'none',
|
|
819
|
-
commentId,
|
|
820
|
-
};
|
|
821
|
-
}
|
|
822
|
-
const draftFromSaved = Object.assign(Object.assign({}, saved), { isDraftComment: true, timestamp: null });
|
|
823
|
-
next[sectionKey][questionKey].draftComments = [draftFromSaved, ...draftsArr];
|
|
824
|
-
next[sectionKey][questionKey].comments = commentsArr;
|
|
825
|
-
didMutate = true;
|
|
826
|
-
break;
|
|
827
|
-
}
|
|
828
|
-
case 'delete': {
|
|
829
|
-
next[sectionKey][questionKey].comments = commentsArr.map((c) => {
|
|
830
|
-
if (c.commentId === commentId) {
|
|
831
|
-
return Object.assign(Object.assign({}, c), { isDeleted: true, value: '', editedTimestamp: new Date().toISOString() });
|
|
832
|
-
}
|
|
833
|
-
return c;
|
|
834
|
-
});
|
|
835
|
-
didMutate = true;
|
|
836
|
-
break;
|
|
837
|
-
}
|
|
838
|
-
case 'editClose': {
|
|
839
|
-
next[sectionKey][questionKey].draftComments = draftsArr.filter((d) => d.commentId !== commentId);
|
|
840
|
-
didMutate = true;
|
|
841
|
-
break;
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
const shouldPersist = actionType === 'save' || actionType === 'delete';
|
|
845
|
-
// For the dedicated comments API we only ever need the saved comment value.
|
|
846
|
-
let valueToPersist;
|
|
847
|
-
if (actionType === 'save') {
|
|
848
|
-
const saved = (((_e = (_d = next === null || next === void 0 ? void 0 : next[sectionKey]) === null || _d === void 0 ? void 0 : _d[questionKey]) === null || _e === void 0 ? void 0 : _e.comments) || []).find((c) => c.commentId === commentId);
|
|
849
|
-
valueToPersist = saved === null || saved === void 0 ? void 0 : saved.value;
|
|
850
|
-
}
|
|
851
|
-
return {
|
|
852
|
-
sectionKey,
|
|
853
|
-
questionKey,
|
|
854
|
-
nextSubmissionResponseData: next,
|
|
855
|
-
didMutate,
|
|
856
|
-
shouldPersist,
|
|
857
|
-
// Caller decides if this becomes public-add vs private-update.
|
|
858
|
-
persistIntent: 'none',
|
|
859
|
-
commentId,
|
|
860
|
-
valueToPersist,
|
|
861
|
-
};
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
const UdpFormsRenderer$1 = /*@__PURE__*/ proxyCustomElement(class UdpFormsRenderer extends H {
|
|
865
|
-
constructor(registerHost) {
|
|
866
|
-
super();
|
|
867
|
-
if (registerHost !== false) {
|
|
868
|
-
this.__registerHost();
|
|
869
|
-
}
|
|
870
|
-
this.__attachShadow();
|
|
871
|
-
this.isPublic = false;
|
|
872
|
-
this.autoSaveDelay = 2000; // Debounce delay for auto-save in milliseconds (currently disabled)
|
|
873
|
-
this.urlContext = {}; // additional context from URL if needed, eg. generic1, gernic2, generic3, or any initial prepopulated values for form inputs. eg section1.question1 = 'some value'
|
|
874
|
-
this.currentValues = {}; // values of the current form state
|
|
875
|
-
this.submitSuccessful = false;
|
|
876
|
-
this.isLoading = false;
|
|
877
|
-
this.isSaving = false;
|
|
878
|
-
this.isSubmitted = false;
|
|
879
|
-
this.dynamicSections = [];
|
|
880
|
-
this.isUpdatingSections = false;
|
|
881
|
-
this.reRenderKey = 0;
|
|
882
|
-
this.hasUnsavedChanges = false;
|
|
883
|
-
this.sideSheetFollowUpFormsList = []; // used for follow up forms.
|
|
884
|
-
this.followUpSideSheetTotalItems = 0; // used for follow up forms.
|
|
885
|
-
this.isFollowUpFormsSideSheetOpen = false; // used for follow up forms.
|
|
886
|
-
this.followUpSideSheetListPageNumber = 1; // used for follow up forms.
|
|
887
|
-
this.FOLLOW_UP_SIDE_SHEET_PAGE_SIZE = 5;
|
|
888
|
-
this.componentMap = {
|
|
889
|
-
history: 'history',
|
|
890
|
-
listItemData: 'listItemData',
|
|
891
|
-
handleLaunchFollowUpForm: 'handleLaunchFollowUpForm'
|
|
892
|
-
};
|
|
893
|
-
this.tenantId = getCurrentTenantId();
|
|
894
|
-
// info for the current logged in user on the client side
|
|
895
|
-
this.clientUserInfo = {
|
|
896
|
-
id: null,
|
|
897
|
-
displayName: null,
|
|
898
|
-
email: null,
|
|
899
|
-
};
|
|
900
|
-
this.followUpParentSectionKey = ''; // used for follow up forms.
|
|
901
|
-
this.followUpParentQuestionKey = ''; // used for follow up forms.
|
|
902
|
-
// Feature flags for public mode. Keep capabilities in the handlers,
|
|
903
|
-
// but disable UX / automatic flows for now.
|
|
904
|
-
this.publicFeatures = {
|
|
905
|
-
allowDraftSave: false, // public cannot save and return later
|
|
906
|
-
allowComments: true, // public can add comments locally; persistence handled by backend rules
|
|
907
|
-
allowFollowUpForms: false, // public does not support follow-up forms
|
|
908
|
-
};
|
|
909
|
-
this.handleLaunchFollowUpFormSideSheet = async (e) => {
|
|
910
|
-
try {
|
|
911
|
-
// Public forms do not support follow-up forms.
|
|
912
|
-
if (this.isPublic) {
|
|
913
|
-
return;
|
|
914
|
-
}
|
|
915
|
-
this.followUpParentSectionKey = e.detail.sectionKey;
|
|
916
|
-
this.followUpParentQuestionKey = e.detail.questionKey;
|
|
917
|
-
await this.loadFollowUpForms(this.followUpParentSectionKey, this.followUpParentQuestionKey);
|
|
918
|
-
this.isFollowUpFormsSideSheetOpen = true;
|
|
919
|
-
}
|
|
920
|
-
catch (error) {
|
|
921
|
-
console.error('Error loading follow-up forms:', error);
|
|
922
|
-
}
|
|
923
|
-
};
|
|
924
|
-
/**
|
|
925
|
-
* Duplicate a repeatable section
|
|
926
|
-
*/
|
|
927
|
-
this.duplicateRepeatableSection = (index) => {
|
|
928
|
-
if (this.isSubmitted || this.isUpdatingSections)
|
|
929
|
-
return;
|
|
930
|
-
this.isUpdatingSections = true;
|
|
931
|
-
this.isLoading = true;
|
|
932
|
-
try {
|
|
933
|
-
const { nextDynamicSections, nextValues } = computeDuplicateRepeatableSection({
|
|
934
|
-
dynamicSections: this.dynamicSections,
|
|
935
|
-
values: structuredClone(this.udpFormSubmission.data.submissionResponseData || {}),
|
|
936
|
-
index,
|
|
937
|
-
});
|
|
938
|
-
this.dynamicSections = nextDynamicSections;
|
|
939
|
-
this.currentValues = Object.assign({}, nextValues);
|
|
940
|
-
this.udpFormSubmission.data.submissionResponseData = Object.assign({}, nextValues);
|
|
941
|
-
this.triggerFormRerender();
|
|
942
|
-
}
|
|
943
|
-
finally {
|
|
944
|
-
this.isUpdatingSections = false;
|
|
945
|
-
this.isLoading = false;
|
|
946
|
-
this.hasUnsavedChanges = true;
|
|
947
|
-
}
|
|
948
|
-
};
|
|
949
|
-
/**
|
|
950
|
-
* Delete a repeatable section
|
|
951
|
-
*/
|
|
952
|
-
this.deleteRepeatableSection = (index) => {
|
|
953
|
-
if (this.isSubmitted)
|
|
954
|
-
return;
|
|
955
|
-
const sectionToDelete = this.dynamicSections[index];
|
|
956
|
-
if (!sectionToDelete || sectionToDelete.isOriginalSection)
|
|
957
|
-
return;
|
|
958
|
-
this.isUpdatingSections = true;
|
|
959
|
-
this.isLoading = true;
|
|
960
|
-
try {
|
|
961
|
-
const { nextDynamicSections, nextValues } = computeDeleteRepeatableSection({
|
|
962
|
-
dynamicSections: this.dynamicSections,
|
|
963
|
-
values: Object.assign({}, (this.udpFormSubmission.data.submissionResponseData || {})),
|
|
964
|
-
index,
|
|
965
|
-
});
|
|
966
|
-
this.dynamicSections = nextDynamicSections;
|
|
967
|
-
this.currentValues = Object.assign({}, nextValues);
|
|
968
|
-
this.udpFormSubmission.data.submissionResponseData = Object.assign({}, nextValues);
|
|
969
|
-
this.triggerFormRerender();
|
|
970
|
-
}
|
|
971
|
-
finally {
|
|
972
|
-
this.isUpdatingSections = false;
|
|
973
|
-
this.isLoading = false;
|
|
974
|
-
this.hasUnsavedChanges = true;
|
|
975
|
-
}
|
|
976
|
-
};
|
|
977
|
-
/**
|
|
978
|
-
* Auto save (background save)
|
|
979
|
-
*/
|
|
980
|
-
this.performBackgroundSaveAndUpdateLocalSubmissionState = async (values) => {
|
|
981
|
-
return this.performBackgroundSaveAndUpdateLocalSubmissionStateInternal(values);
|
|
982
|
-
};
|
|
983
|
-
this.performBackgroundSaveAndUpdateLocalSubmissionStateInternal = async (values, opts) => {
|
|
984
|
-
var _a, _b;
|
|
985
|
-
const allowUrlReplace = (_a = opts === null || opts === void 0 ? void 0 : opts.allowUrlReplace) !== null && _a !== void 0 ? _a : !this.isPublic;
|
|
986
|
-
const forceCreateDraftIfMissingId = (_b = opts === null || opts === void 0 ? void 0 : opts.forceCreateDraftIfMissingId) !== null && _b !== void 0 ? _b : false;
|
|
987
|
-
// Public mode: disable draft save flows by default
|
|
988
|
-
if (this.isPublic && !this.publicFeatures.allowDraftSave && !forceCreateDraftIfMissingId) {
|
|
989
|
-
return;
|
|
990
|
-
}
|
|
991
|
-
try {
|
|
992
|
-
await this.formSubmissionHandler.saveCurrentFormSubmissionState(values, this.udpFormSubmission);
|
|
993
|
-
await this.refreshSubmissionAndSyncState();
|
|
994
|
-
if (allowUrlReplace && !new URLSearchParams(window.location.search).has('udpf_submissionId')) {
|
|
995
|
-
// replace the current entry's query string with udpf_submissionId without needing to know the path
|
|
996
|
-
replaceUrlWithSubmissionId(this.udpFormSubmission.id, this.history);
|
|
997
|
-
}
|
|
998
|
-
}
|
|
999
|
-
catch (error) {
|
|
1000
|
-
}
|
|
1001
|
-
finally {
|
|
1002
|
-
this.isSaving = false;
|
|
1003
|
-
this.hasUnsavedChanges = false;
|
|
1004
|
-
}
|
|
1005
|
-
};
|
|
1006
|
-
this.refreshSubmissionAndSyncState = async () => {
|
|
1007
|
-
var _a, _b;
|
|
1008
|
-
if (!((_a = this.udpFormSubmission) === null || _a === void 0 ? void 0 : _a.id))
|
|
1009
|
-
return;
|
|
1010
|
-
const updated = await this.formSubmissionHandler.fetchAndPopulateUdpFormSubmissionObj(this.udpFormSubmission);
|
|
1011
|
-
this.udpFormSubmission = updated;
|
|
1012
|
-
this.currentValues = Object.assign({}, (((_b = updated.data) === null || _b === void 0 ? void 0 : _b.submissionResponseData) || {}));
|
|
1013
|
-
this.isSubmitted = updated.status === UdpFormsSubmissionStatusEnum.Submitted;
|
|
1014
|
-
};
|
|
1015
|
-
/**
|
|
1016
|
-
* Handle the user saving or deleting a comment (pre-submit, private forms only)
|
|
1017
|
-
*/
|
|
1018
|
-
// NOTE: comment saves for non-submitted owner flows are now handled by the standard
|
|
1019
|
-
// draft save path (manual/background save). Dedicated comment endpoints are used
|
|
1020
|
-
// only for:
|
|
1021
|
-
// 1) submitted submissions, OR
|
|
1022
|
-
// 2) non-owner viewers adding/updating/deleting comments.
|
|
1023
|
-
/**
|
|
1024
|
-
* Manual save function - debounced to 5 seconds (private forms only)
|
|
1025
|
-
*/
|
|
1026
|
-
this.handleManualSave = async (values) => {
|
|
1027
|
-
if (this.isPublic && !this.publicFeatures.allowDraftSave)
|
|
1028
|
-
return;
|
|
1029
|
-
this.isSaving = true;
|
|
1030
|
-
try {
|
|
1031
|
-
await this.formSubmissionHandler.saveCurrentFormSubmissionState(values, this.udpFormSubmission);
|
|
1032
|
-
await this.refreshSubmissionAndSyncState();
|
|
1033
|
-
if (!new URLSearchParams(window.location.search).has('udpf_submissionId')) {
|
|
1034
|
-
// replace the current entry's query string with udpf_submissionId without needing to know the path
|
|
1035
|
-
replaceUrlWithSubmissionId(this.udpFormSubmission.id, this.history);
|
|
1036
|
-
}
|
|
1037
|
-
enqueueSnackbarSuccess('Form saved successfully.', this.enqueueSnackbar);
|
|
1038
|
-
}
|
|
1039
|
-
catch (error) {
|
|
1040
|
-
enqueueSnackbarError('There was an error saving this form', this.enqueueSnackbar);
|
|
1041
|
-
}
|
|
1042
|
-
finally {
|
|
1043
|
-
this.isSaving = false;
|
|
1044
|
-
this.hasUnsavedChanges = false;
|
|
1045
|
-
}
|
|
1046
|
-
};
|
|
1047
|
-
this.handleFormChange = (values) => {
|
|
1048
|
-
if (this.isUpdatingSections)
|
|
1049
|
-
return;
|
|
1050
|
-
this.udpFormSubmission.data.submissionResponseData = values;
|
|
1051
|
-
};
|
|
1052
|
-
this.handleFinish = () => {
|
|
1053
|
-
// Trigger any finish actions
|
|
1054
|
-
if (this.triggerAction) {
|
|
1055
|
-
this.triggerAction(null, { action: 'finish' });
|
|
1056
|
-
}
|
|
1057
|
-
};
|
|
1058
|
-
this.triggerFormRerender = () => {
|
|
1059
|
-
const scrollY = window.scrollY;
|
|
1060
|
-
this.reRenderKey += 1;
|
|
1061
|
-
// We use requestAnimationFrame to wait for the browser to
|
|
1062
|
-
// finish the paint cycle of the new key-rendered component
|
|
1063
|
-
requestAnimationFrame(() => {
|
|
1064
|
-
window.scrollTo({
|
|
1065
|
-
top: scrollY,
|
|
1066
|
-
behavior: 'auto' // 'auto' is faster and prevents jitter compared to 'smooth'
|
|
1067
|
-
});
|
|
1068
|
-
});
|
|
1069
|
-
};
|
|
1070
|
-
this.handleLaunchFollowUpForm = async (followUpFormId, followUpFormVersion, parentFormSubmissionId, parentFormId, parentFormVersion, sectionKey, questionKey) => {
|
|
1071
|
-
// create a new follow up form submission instance wiht a link to the parent form submission
|
|
1072
|
-
const followUpMasterForm = await this.formHandler.getFormByFormIdAndFormVersion(followUpFormId, followUpFormVersion);
|
|
1073
|
-
const followUpSubmissionData = {
|
|
1074
|
-
submissionResponseData: buildEmptyCurrentValues(followUpMasterForm),
|
|
1075
|
-
submissionMetadata: {
|
|
1076
|
-
ParentSubmission: {
|
|
1077
|
-
submissionId: parentFormSubmissionId,
|
|
1078
|
-
formId: parentFormId,
|
|
1079
|
-
formVersion: parentFormVersion
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
};
|
|
1083
|
-
const followUpFormSubmission = new UdpFormSubmission({ formId: followUpFormId, formVersion: followUpFormVersion, unityUserId: this.clientUserInfo.id, data: followUpSubmissionData });
|
|
1084
|
-
const followUpFormSubmissionHandler = FormSubmissionHandlerFactory.create(false, this.clientUserInfo.id);
|
|
1085
|
-
const response = await followUpFormSubmissionHandler.createNewLinkedFollowUpFormSubmission(followUpFormSubmission);
|
|
1086
|
-
// update the current form submission state with the follow up form submission id in the metadata
|
|
1087
|
-
const itemMetadata = this.udpFormSubmission.data.submissionResponseData[sectionKey][questionKey].metadata;
|
|
1088
|
-
this.udpFormSubmission.data.submissionResponseData[sectionKey][questionKey].metadata = Object.assign(Object.assign({}, itemMetadata), { followUpFormSubmissionId: response.id });
|
|
1089
|
-
await this.performBackgroundSaveAndUpdateLocalSubmissionState(this.udpFormSubmission.data.submissionResponseData);
|
|
1090
|
-
const url = `/page/${UdpFormsPageIdEnum.FormRendererPageId}?udpf_submissionId=${response.id}`;
|
|
1091
|
-
window.open(url, '_blank');
|
|
1092
|
-
this.handleSideSheetClose();
|
|
1093
|
-
this.triggerFormRerender();
|
|
1094
|
-
};
|
|
1095
|
-
this.handleSideSheetClose = () => {
|
|
1096
|
-
// reset side sheet data
|
|
1097
|
-
this.sideSheetFollowUpFormsList = [];
|
|
1098
|
-
this.followUpSideSheetListPageNumber = 1;
|
|
1099
|
-
this.followUpSideSheetTotalItems = 0;
|
|
1100
|
-
this.isFollowUpFormsSideSheetOpen = false;
|
|
1101
|
-
this.followUpParentSectionKey = '';
|
|
1102
|
-
this.followUpParentQuestionKey = '';
|
|
1103
|
-
};
|
|
1104
|
-
}
|
|
1105
|
-
componentDidLoad() {
|
|
1106
|
-
if (this.el) {
|
|
1107
|
-
this.el.addEventListener('questionCommentAction', async (e) => this.handleQuestionCommentLiveCRUD(e));
|
|
1108
|
-
// Listen for launchFollowUpFormSideSheet event from udp-question
|
|
1109
|
-
this.el.addEventListener('launchFollowUpFormSideSheet', (e) => this.handleLaunchFollowUpFormSideSheet(e));
|
|
1110
|
-
this.el.addEventListener('formDirtyChange', (e) => {
|
|
1111
|
-
// Preserve any previously-detected unsaved changes (e.g. repeatable section add/delete)
|
|
1112
|
-
// so a later false emission doesn't hide the save icon.
|
|
1113
|
-
this.hasUnsavedChanges = this.hasUnsavedChanges || e.detail;
|
|
1114
|
-
});
|
|
1115
|
-
}
|
|
1116
|
-
}
|
|
1117
|
-
async componentWillLoad() {
|
|
1118
|
-
var _a;
|
|
1119
|
-
this.isLoading = true;
|
|
1120
|
-
try {
|
|
1121
|
-
// Get client user info if available
|
|
1122
|
-
if (this.isPublic) {
|
|
1123
|
-
this.clientUserInfo.id = '00000000-0000-0000-0000-000000000001';
|
|
1124
|
-
this.clientUserInfo.displayName = 'Anonymous';
|
|
1125
|
-
}
|
|
1126
|
-
else {
|
|
1127
|
-
const user = (_a = this.getUserCallback) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
1128
|
-
if (user) {
|
|
1129
|
-
this.clientUserInfo.id = user.id || null;
|
|
1130
|
-
this.clientUserInfo.displayName = user.name || null;
|
|
1131
|
-
this.clientUserInfo.email = user.email || null;
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
this.formSubmissionHandler = FormSubmissionHandlerFactory.create(this.isPublic, this.clientUserInfo.id);
|
|
1135
|
-
this.udpFormSubmission = new UdpFormSubmission({ id: this.submissionId, formId: this.formId, formVersion: this.version, unityUserId: this.clientUserInfo.id, generic1: this.urlContext.generic1, generic2: this.urlContext.generic2, generic3: this.urlContext.generic3 });
|
|
1136
|
-
// fetch existing submission from Udp.FormSubmission if submissionId is provided
|
|
1137
|
-
// take exisitng object, and populate with db values, and return new obj with updated values
|
|
1138
|
-
if (this.submissionId) {
|
|
1139
|
-
// Public users should not open private forms; we rely on backend auth to block.
|
|
1140
|
-
this.udpFormSubmission = await this.formSubmissionHandler.fetchAndPopulateUdpFormSubmissionObj(this.udpFormSubmission);
|
|
1141
|
-
}
|
|
1142
|
-
// get the master form from Udp.Form
|
|
1143
|
-
let formId;
|
|
1144
|
-
let formVersion;
|
|
1145
|
-
if (this.submissionId) {
|
|
1146
|
-
formId = this.udpFormSubmission.formId;
|
|
1147
|
-
formVersion = this.udpFormSubmission.formVersion;
|
|
1148
|
-
}
|
|
1149
|
-
else if (this.formId && this.version) {
|
|
1150
|
-
formId = this.formId;
|
|
1151
|
-
formVersion = this.version;
|
|
1152
|
-
}
|
|
1153
|
-
this.formHandler = new UdpFormHandler(this.tenantId);
|
|
1154
|
-
const formData = await this.formHandler.getFormByFormIdAndFormVersion(formId, formVersion);
|
|
1155
|
-
this.udpForm = new UdpForm(formData);
|
|
1156
|
-
this.currentValues = buildEmptyCurrentValues(this.udpForm);
|
|
1157
|
-
// if there's existing data, update the form's state
|
|
1158
|
-
if (this.udpFormSubmission.data.submissionResponseData) {
|
|
1159
|
-
this.currentValues = Object.assign({}, this.udpFormSubmission.data.submissionResponseData);
|
|
1160
|
-
if (this.udpFormSubmission.status === UdpFormsSubmissionStatusEnum.Submitted) {
|
|
1161
|
-
this.isSubmitted = true;
|
|
1162
|
-
}
|
|
1163
|
-
}
|
|
1164
|
-
// For new submissions (un-instiantiated or in the 'created' status), we allow the seeding of initial values from URL params
|
|
1165
|
-
// So we build dynamicSections with urlContext first, then seed values.
|
|
1166
|
-
// URL params (udpf_*) may imply repeatable section instances (e.g. section1_3.question1).
|
|
1167
|
-
// For existing submissions that are in progress, skip URL-based seeding and do not create additional sections from URL.
|
|
1168
|
-
if ((!this.udpFormSubmission.id || this.udpFormSubmission.status === UdpFormsSubmissionStatusEnum.Created) && this.urlContext && Object.keys(this.urlContext).length > 0) {
|
|
1169
|
-
this.dynamicSections = initializeDynamicSectionsWithUrlContext(this.udpForm, this.currentValues, this.urlContext);
|
|
1170
|
-
const seeded = applyUrlSeedValuesForAll(this.dynamicSections, this.urlContext);
|
|
1171
|
-
if (seeded) {
|
|
1172
|
-
this.currentValues = seeded;
|
|
1173
|
-
this.udpFormSubmission.data.submissionResponseData = Object.assign({}, seeded);
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
else {
|
|
1177
|
-
this.dynamicSections = initializeDynamicSections(this.udpForm, this.currentValues);
|
|
1178
|
-
}
|
|
1179
|
-
// Set up throttled manual save function (5 seconds) - fires immediately, then throttles
|
|
1180
|
-
this.debouncedManualSave = throttle(async (values) => {
|
|
1181
|
-
await this.handleManualSave(values);
|
|
1182
|
-
}, 2000, { leading: true, trailing: false });
|
|
1183
|
-
// Set up debounced auto-save function (currently disabled)
|
|
1184
|
-
// this.debouncedAutoSave = debounce(async (values: { [name: string]: any }) => {
|
|
1185
|
-
// // await this.handleAutoSave(values); // Disabled for now
|
|
1186
|
-
// }, this.autoSaveDelay);
|
|
1187
|
-
}
|
|
1188
|
-
catch (error) {
|
|
1189
|
-
console.error('Error failed to load form in the form renderer:', error);
|
|
1190
|
-
}
|
|
1191
|
-
finally {
|
|
1192
|
-
this.isLoading = false;
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
async handleSubmit(values) {
|
|
1196
|
-
this.isLoading = true;
|
|
1197
|
-
try {
|
|
1198
|
-
await this.formSubmissionHandler.finalizeFormSubmissionState(values, this.udpFormSubmission);
|
|
1199
|
-
await this.refreshSubmissionAndSyncState();
|
|
1200
|
-
this.submitSuccessful = true;
|
|
1201
|
-
}
|
|
1202
|
-
catch (error) {
|
|
1203
|
-
enqueueSnackbarError('There was an error submitting this form', this.enqueueSnackbar);
|
|
1204
|
-
throw error;
|
|
1205
|
-
}
|
|
1206
|
-
finally {
|
|
1207
|
-
this.isLoading = false;
|
|
1208
|
-
}
|
|
1209
|
-
}
|
|
1210
|
-
async handleQuestionCommentLiveCRUD(e) {
|
|
1211
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1212
|
-
if (this.isPublic && !this.publicFeatures.allowComments)
|
|
1213
|
-
return;
|
|
1214
|
-
try {
|
|
1215
|
-
const { type, questionIdentifierKey, commentId } = e.detail;
|
|
1216
|
-
const result = applyQuestionCommentCrud({
|
|
1217
|
-
actionType: type,
|
|
1218
|
-
questionIdentifierKey,
|
|
1219
|
-
commentId,
|
|
1220
|
-
currentSubmissionResponseData: this.udpFormSubmission.data.submissionResponseData || {},
|
|
1221
|
-
clientUserInfo: this.clientUserInfo,
|
|
1222
|
-
});
|
|
1223
|
-
const newCurrentValues = result.nextSubmissionResponseData;
|
|
1224
|
-
// keep submission state in sync
|
|
1225
|
-
this.udpFormSubmission.data.submissionResponseData = Object.assign({}, newCurrentValues);
|
|
1226
|
-
// Edit-ish actions are UI-only (open/close draft editor). They must update currentValues
|
|
1227
|
-
// even though they don't persist.
|
|
1228
|
-
if (type === 'edit' || type === 'editClose' || type === 'add') {
|
|
1229
|
-
this.currentValues = Object.assign({}, newCurrentValues);
|
|
1230
|
-
}
|
|
1231
|
-
// if it's a save or delete action, persist immediately
|
|
1232
|
-
if (result.shouldPersist) {
|
|
1233
|
-
const submissionIsSubmitted = ((_a = this.udpFormSubmission) === null || _a === void 0 ? void 0 : _a.status) === UdpFormsSubmissionStatusEnum.Submitted;
|
|
1234
|
-
const submissionIsOwnedByCurrentUser = ((_b = this.udpFormSubmission) === null || _b === void 0 ? void 0 : _b.unityUserId) === this.clientUserInfo.id;
|
|
1235
|
-
// Detect whether this save is updating an existing saved comment vs creating a new one.
|
|
1236
|
-
// IMPORTANT: check against the *previous* persisted state (before applyQuestionCommentCrud),
|
|
1237
|
-
// because once we apply 'save' locally the comment will exist locally even if it's new.
|
|
1238
|
-
const existingSavedComment = (((_e = (_d = (_c = ((this.currentValues || {}))) === null || _c === void 0 ? void 0 : _c[result.sectionKey]) === null || _d === void 0 ? void 0 : _d[result.questionKey]) === null || _e === void 0 ? void 0 : _e.comments) || [])
|
|
1239
|
-
.find((c) => (c === null || c === void 0 ? void 0 : c.commentId) === result.commentId && !(c === null || c === void 0 ? void 0 : c.isDeleted));
|
|
1240
|
-
// Use dedicated comment APIs in 2 scenarios:
|
|
1241
|
-
// 1) Once submitted (public+private) to avoid overwriting submission data.
|
|
1242
|
-
// 2) When viewed by a non-owner (read-only mode), since they can't save the whole submission.
|
|
1243
|
-
if (submissionIsSubmitted || !submissionIsOwnedByCurrentUser) {
|
|
1244
|
-
if (!((_f = this.udpFormSubmission) === null || _f === void 0 ? void 0 : _f.id)) {
|
|
1245
|
-
// can't persist without an ID; keep local only
|
|
1246
|
-
this.currentValues = Object.assign({}, newCurrentValues);
|
|
1247
|
-
}
|
|
1248
|
-
else if (type === 'save') {
|
|
1249
|
-
const valueToPersist = result.valueToPersist;
|
|
1250
|
-
if (valueToPersist) {
|
|
1251
|
-
try {
|
|
1252
|
-
// If this comment already exists, update it; otherwise add it.
|
|
1253
|
-
if (existingSavedComment) {
|
|
1254
|
-
await this.formSubmissionHandler.updateComment(this.udpFormSubmission, {
|
|
1255
|
-
sectionKey: result.sectionKey,
|
|
1256
|
-
questionKey: result.questionKey,
|
|
1257
|
-
value: valueToPersist,
|
|
1258
|
-
commentId: result.commentId,
|
|
1259
|
-
});
|
|
1260
|
-
}
|
|
1261
|
-
else {
|
|
1262
|
-
await this.formSubmissionHandler.addComment(this.udpFormSubmission, {
|
|
1263
|
-
sectionKey: result.sectionKey,
|
|
1264
|
-
questionKey: result.questionKey,
|
|
1265
|
-
value: valueToPersist,
|
|
1266
|
-
commentId: result.commentId,
|
|
1267
|
-
});
|
|
1268
|
-
}
|
|
1269
|
-
await this.refreshSubmissionAndSyncState();
|
|
1270
|
-
enqueueSnackbarSuccess(existingSavedComment ? 'Comment updated.' : 'Comment added.', this.enqueueSnackbar);
|
|
1271
|
-
}
|
|
1272
|
-
catch (error) {
|
|
1273
|
-
enqueueSnackbarError(existingSavedComment ? 'Failed to update comment.' : 'Failed to add comment.', this.enqueueSnackbar);
|
|
1274
|
-
throw error;
|
|
1275
|
-
}
|
|
1276
|
-
}
|
|
1277
|
-
}
|
|
1278
|
-
else if (type === 'delete') {
|
|
1279
|
-
try {
|
|
1280
|
-
await this.formSubmissionHandler.deleteComment(this.udpFormSubmission, {
|
|
1281
|
-
sectionKey: result.sectionKey,
|
|
1282
|
-
questionKey: result.questionKey,
|
|
1283
|
-
commentId: result.commentId,
|
|
1284
|
-
});
|
|
1285
|
-
await this.refreshSubmissionAndSyncState();
|
|
1286
|
-
enqueueSnackbarSuccess('Comment deleted.', this.enqueueSnackbar);
|
|
1287
|
-
}
|
|
1288
|
-
catch (error) {
|
|
1289
|
-
enqueueSnackbarError('Failed to delete comment.', this.enqueueSnackbar);
|
|
1290
|
-
throw error;
|
|
1291
|
-
}
|
|
1292
|
-
}
|
|
1293
|
-
}
|
|
1294
|
-
else {
|
|
1295
|
-
// Not submitted yet:
|
|
1296
|
-
// - public: persist nothing beyond local state (submission is created on submit)
|
|
1297
|
-
// - private + owner: comment edits are persisted via standard submission save
|
|
1298
|
-
if (this.isPublic) {
|
|
1299
|
-
this.currentValues = Object.assign({}, newCurrentValues);
|
|
1300
|
-
}
|
|
1301
|
-
else {
|
|
1302
|
-
await this.handleManualSave(newCurrentValues);
|
|
1303
|
-
}
|
|
1304
|
-
}
|
|
1305
|
-
}
|
|
1306
|
-
else {
|
|
1307
|
-
// Non-persisting actions update UI state only
|
|
1308
|
-
this.currentValues = Object.assign({}, newCurrentValues);
|
|
1309
|
-
}
|
|
1310
|
-
}
|
|
1311
|
-
catch (error) {
|
|
1312
|
-
console.error('Error handling live comment CRUD:', error);
|
|
1313
|
-
}
|
|
1314
|
-
finally {
|
|
1315
|
-
this.triggerFormRerender();
|
|
1316
|
-
}
|
|
1317
|
-
}
|
|
1318
|
-
async loadFollowUpForms(sectionKey, questionKey) {
|
|
1319
|
-
var _a;
|
|
1320
|
-
this.isLoading = true;
|
|
1321
|
-
try {
|
|
1322
|
-
const response = await fetchLatestForms(this.followUpSideSheetListPageNumber, this.FOLLOW_UP_SIDE_SHEET_PAGE_SIZE, [{ searchField: 'type', searchOperator: '=', searchValue: UdpFormsTypeEnum.FollowUp }], { sortDirection: 'DESC', sortColumn: 'lastModifiedOn' });
|
|
1323
|
-
const data = response.data;
|
|
1324
|
-
if (!data || !Array.isArray(data.pageList)) {
|
|
1325
|
-
throw new Error('Malformed form versions data.');
|
|
1326
|
-
}
|
|
1327
|
-
this.sideSheetFollowUpFormsList = this.formatFollowUpFormsList(data.pageList, sectionKey, questionKey);
|
|
1328
|
-
this.followUpSideSheetTotalItems = (_a = data.total) !== null && _a !== void 0 ? _a : 0;
|
|
1329
|
-
}
|
|
1330
|
-
catch (err) {
|
|
1331
|
-
console.error('Failed to follow up form.', err);
|
|
1332
|
-
}
|
|
1333
|
-
finally {
|
|
1334
|
-
this.isLoading = false;
|
|
1335
|
-
}
|
|
1336
|
-
}
|
|
1337
|
-
formatFollowUpFormsList(followUpFormsList, sectionKey, questionKey) {
|
|
1338
|
-
return followUpFormsList.map(item => ({
|
|
1339
|
-
listItemData: item,
|
|
1340
|
-
history: this.history,
|
|
1341
|
-
handleLaunchFollowUpForm: async () => await this.handleLaunchFollowUpForm(item.id, item.version, this.udpFormSubmission.id, this.udpFormSubmission.formId, this.udpFormSubmission.formVersion, sectionKey, questionKey),
|
|
1342
|
-
}));
|
|
1343
|
-
}
|
|
1344
|
-
async handleSideSheetPageChange(page) {
|
|
1345
|
-
this.followUpSideSheetListPageNumber = page;
|
|
1346
|
-
await this.loadFollowUpForms(this.followUpParentSectionKey, this.followUpParentQuestionKey);
|
|
1347
|
-
}
|
|
1348
|
-
renderFollowUpSideSheet() {
|
|
1349
|
-
if (this.isPublic)
|
|
1350
|
-
return null;
|
|
1351
|
-
return (h("udp-side-sheet", { title: "Link a Follow Up Form", open: this.isFollowUpFormsSideSheetOpen, onUdpSideSheetClose: () => this.handleSideSheetClose(), position: "right", width: "md" }, this.isLoading && this.isFollowUpFormsSideSheetOpen && h("udp-linear-loader", null), h("udp-list-renderer", { itemComponent: "udp-forms-follow-up-list-card", data: this.sideSheetFollowUpFormsList, pagination: true, isServerSide: true, isLoading: this.isLoading, itemsPerPage: this.FOLLOW_UP_SIDE_SHEET_PAGE_SIZE, currentPage: this.followUpSideSheetListPageNumber, totalItems: this.followUpSideSheetTotalItems, onPageChange: e => this.handleSideSheetPageChange(e.detail), componentDataMap: this.componentMap, spacing: 'md' })));
|
|
1352
|
-
}
|
|
1353
|
-
isShowManualSaveIcon() {
|
|
1354
|
-
if (this.isPublic)
|
|
1355
|
-
return false; // cannot save a form in public mode. can only submit.
|
|
1356
|
-
// NOTE: repeatable section add/delete sets hasUnsavedChanges=true, but udp-forms-ui likely
|
|
1357
|
-
// also emits a formDirtyChange event that can override the value back to false.
|
|
1358
|
-
// Keep the save icon sticky once we've detected any unsaved change.
|
|
1359
|
-
const showSaveIcon = !!this.clientUserInfo.id && (this.hasUnsavedChanges);
|
|
1360
|
-
return showSaveIcon;
|
|
1361
|
-
}
|
|
1362
|
-
;
|
|
1363
|
-
get isReadOnlyMode() {
|
|
1364
|
-
return this.isSubmitted || this.udpFormSubmission.unityUserId !== this.clientUserInfo.id;
|
|
1365
|
-
}
|
|
1366
|
-
render() {
|
|
1367
|
-
return (h("div", { key: '37ec47fc7f3ecec70ba7ca3e12717789285be5d8', class: "forms-renderer-container", style: this.isLoading ? { minHeight: '100vh' } : {} }, this.renderFollowUpSideSheet(), h("udp-forms-ui", { udpForm: this.udpForm, currentValues: this.currentValues, udpFormSubmission: this.udpFormSubmission, submitSuccessful: this.submitSuccessful, isSaving: this.isSaving,
|
|
1368
|
-
// saveErrorMessage={this.saveErrorMessage}
|
|
1369
|
-
// showAutoSaveStatus={this.formSubmissionHandler.supportsAutoSave() && !!this.userId}
|
|
1370
|
-
readonly: this.isReadOnlyMode, handleSubmit: this.handleSubmit.bind(this), handleSave: values => Promise.resolve(this.debouncedManualSave(values)), handleChange: this.handleFormChange, handleAction: this.triggerAction, handleFinish: this.handleFinish, clientUserInfo: this.clientUserInfo, isSubmitted: this.isSubmitted, dynamicSections: this.dynamicSections, duplicateRepeatableSection: this.duplicateRepeatableSection, deleteRepeatableSection: this.deleteRepeatableSection, key: `form-rerender-key-${this.reRenderKey}`, isShowManualSaveIcon: this.isShowManualSaveIcon(), isLoading: this.isLoading, performBackgroundSaveAndUpdateLocalSubmissionState: this.performBackgroundSaveAndUpdateLocalSubmissionState })));
|
|
1371
|
-
}
|
|
1372
|
-
get el() { return this; }
|
|
1373
|
-
}, [257, "udp-forms-renderer", {
|
|
1374
|
-
"formId": [1, "form-id"],
|
|
1375
|
-
"version": [2],
|
|
1376
|
-
"submissionId": [1, "submission-id"],
|
|
1377
|
-
"triggerAction": [16],
|
|
1378
|
-
"isPublic": [4, "is-public"],
|
|
1379
|
-
"callbackUrl": [1, "callback-url"],
|
|
1380
|
-
"getUserCallback": [16],
|
|
1381
|
-
"enqueueSnackbar": [16],
|
|
1382
|
-
"closeSnackbar": [16],
|
|
1383
|
-
"autoSaveDelay": [2, "auto-save-delay"],
|
|
1384
|
-
"history": [8],
|
|
1385
|
-
"urlContext": [16],
|
|
1386
|
-
"currentValues": [32],
|
|
1387
|
-
"submitSuccessful": [32],
|
|
1388
|
-
"isLoading": [32],
|
|
1389
|
-
"isSaving": [32],
|
|
1390
|
-
"isSubmitted": [32],
|
|
1391
|
-
"dynamicSections": [32],
|
|
1392
|
-
"isUpdatingSections": [32],
|
|
1393
|
-
"reRenderKey": [32],
|
|
1394
|
-
"hasUnsavedChanges": [32],
|
|
1395
|
-
"sideSheetFollowUpFormsList": [32],
|
|
1396
|
-
"followUpSideSheetTotalItems": [32],
|
|
1397
|
-
"isFollowUpFormsSideSheetOpen": [32],
|
|
1398
|
-
"followUpSideSheetListPageNumber": [32]
|
|
1399
|
-
}]);
|
|
1400
|
-
function defineCustomElement$1() {
|
|
1401
|
-
if (typeof customElements === "undefined") {
|
|
1402
|
-
return;
|
|
1403
|
-
}
|
|
1404
|
-
const components = ["udp-forms-renderer", "custom-button", "file-upload", "fluent-dialog", "form-metadata-display", "image-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-button", "udp-container", "udp-date-selector", "udp-datetime-selector", "udp-forms-ui", "udp-icon", "udp-icon-button", "udp-linear-loader", "udp-list-renderer", "udp-menu-item", "udp-pagination", "udp-pop-over", "udp-question", "udp-question-comments", "udp-save-draft-button", "udp-selector", "udp-side-sheet", "udp-time-selector", "unity-typography"];
|
|
1405
|
-
components.forEach(tagName => { switch (tagName) {
|
|
1406
|
-
case "udp-forms-renderer":
|
|
1407
|
-
if (!customElements.get(tagName)) {
|
|
1408
|
-
customElements.define(tagName, UdpFormsRenderer$1);
|
|
1409
|
-
}
|
|
1410
|
-
break;
|
|
1411
|
-
case "custom-button":
|
|
1412
|
-
if (!customElements.get(tagName)) {
|
|
1413
|
-
defineCustomElement$C();
|
|
1414
|
-
}
|
|
1415
|
-
break;
|
|
1416
|
-
case "file-upload":
|
|
1417
|
-
if (!customElements.get(tagName)) {
|
|
1418
|
-
defineCustomElement$B();
|
|
1419
|
-
}
|
|
1420
|
-
break;
|
|
1421
|
-
case "fluent-dialog":
|
|
1422
|
-
if (!customElements.get(tagName)) {
|
|
1423
|
-
defineCustomElement$A();
|
|
1424
|
-
}
|
|
1425
|
-
break;
|
|
1426
|
-
case "form-metadata-display":
|
|
1427
|
-
if (!customElements.get(tagName)) {
|
|
1428
|
-
defineCustomElement$z();
|
|
1429
|
-
}
|
|
1430
|
-
break;
|
|
1431
|
-
case "image-upload":
|
|
1432
|
-
if (!customElements.get(tagName)) {
|
|
1433
|
-
defineCustomElement$y();
|
|
1434
|
-
}
|
|
1435
|
-
break;
|
|
1436
|
-
case "numeric-field":
|
|
1437
|
-
if (!customElements.get(tagName)) {
|
|
1438
|
-
defineCustomElement$x();
|
|
1439
|
-
}
|
|
1440
|
-
break;
|
|
1441
|
-
case "selectable-list":
|
|
1442
|
-
if (!customElements.get(tagName)) {
|
|
1443
|
-
defineCustomElement$w();
|
|
1444
|
-
}
|
|
1445
|
-
break;
|
|
1446
|
-
case "signature-input":
|
|
1447
|
-
if (!customElements.get(tagName)) {
|
|
1448
|
-
defineCustomElement$v();
|
|
1449
|
-
}
|
|
1450
|
-
break;
|
|
1451
|
-
case "stencil-field":
|
|
1452
|
-
if (!customElements.get(tagName)) {
|
|
1453
|
-
defineCustomElement$u();
|
|
1454
|
-
}
|
|
1455
|
-
break;
|
|
1456
|
-
case "stencil-form":
|
|
1457
|
-
if (!customElements.get(tagName)) {
|
|
1458
|
-
defineCustomElement$t();
|
|
1459
|
-
}
|
|
1460
|
-
break;
|
|
1461
|
-
case "stencil-icon-button":
|
|
1462
|
-
if (!customElements.get(tagName)) {
|
|
1463
|
-
defineCustomElement$s();
|
|
1464
|
-
}
|
|
1465
|
-
break;
|
|
1466
|
-
case "tally-display":
|
|
1467
|
-
if (!customElements.get(tagName)) {
|
|
1468
|
-
defineCustomElement$r();
|
|
1469
|
-
}
|
|
1470
|
-
break;
|
|
1471
|
-
case "text-area":
|
|
1472
|
-
if (!customElements.get(tagName)) {
|
|
1473
|
-
defineCustomElement$q();
|
|
1474
|
-
}
|
|
1475
|
-
break;
|
|
1476
|
-
case "text-field":
|
|
1477
|
-
if (!customElements.get(tagName)) {
|
|
1478
|
-
defineCustomElement$p();
|
|
1479
|
-
}
|
|
1480
|
-
break;
|
|
1481
|
-
case "udp-adornment":
|
|
1482
|
-
if (!customElements.get(tagName)) {
|
|
1483
|
-
defineCustomElement$o();
|
|
1484
|
-
}
|
|
1485
|
-
break;
|
|
1486
|
-
case "udp-ambient-card":
|
|
1487
|
-
if (!customElements.get(tagName)) {
|
|
1488
|
-
defineCustomElement$n();
|
|
1489
|
-
}
|
|
1490
|
-
break;
|
|
1491
|
-
case "udp-ambient-tool-tip":
|
|
1492
|
-
if (!customElements.get(tagName)) {
|
|
1493
|
-
defineCustomElement$m();
|
|
1494
|
-
}
|
|
1495
|
-
break;
|
|
1496
|
-
case "udp-badge":
|
|
1497
|
-
if (!customElements.get(tagName)) {
|
|
1498
|
-
defineCustomElement$l();
|
|
1499
|
-
}
|
|
1500
|
-
break;
|
|
1501
|
-
case "udp-button":
|
|
1502
|
-
if (!customElements.get(tagName)) {
|
|
1503
|
-
defineCustomElement$k();
|
|
1504
|
-
}
|
|
1505
|
-
break;
|
|
1506
|
-
case "udp-container":
|
|
1507
|
-
if (!customElements.get(tagName)) {
|
|
1508
|
-
defineCustomElement$j();
|
|
1509
|
-
}
|
|
1510
|
-
break;
|
|
1511
|
-
case "udp-date-selector":
|
|
1512
|
-
if (!customElements.get(tagName)) {
|
|
1513
|
-
defineCustomElement$i();
|
|
1514
|
-
}
|
|
1515
|
-
break;
|
|
1516
|
-
case "udp-datetime-selector":
|
|
1517
|
-
if (!customElements.get(tagName)) {
|
|
1518
|
-
defineCustomElement$h();
|
|
1519
|
-
}
|
|
1520
|
-
break;
|
|
1521
|
-
case "udp-forms-ui":
|
|
1522
|
-
if (!customElements.get(tagName)) {
|
|
1523
|
-
defineCustomElement$g();
|
|
1524
|
-
}
|
|
1525
|
-
break;
|
|
1526
|
-
case "udp-icon":
|
|
1527
|
-
if (!customElements.get(tagName)) {
|
|
1528
|
-
defineCustomElement$f();
|
|
1529
|
-
}
|
|
1530
|
-
break;
|
|
1531
|
-
case "udp-icon-button":
|
|
1532
|
-
if (!customElements.get(tagName)) {
|
|
1533
|
-
defineCustomElement$e();
|
|
1534
|
-
}
|
|
1535
|
-
break;
|
|
1536
|
-
case "udp-linear-loader":
|
|
1537
|
-
if (!customElements.get(tagName)) {
|
|
1538
|
-
defineCustomElement$d();
|
|
1539
|
-
}
|
|
1540
|
-
break;
|
|
1541
|
-
case "udp-list-renderer":
|
|
1542
|
-
if (!customElements.get(tagName)) {
|
|
1543
|
-
defineCustomElement$c();
|
|
1544
|
-
}
|
|
1545
|
-
break;
|
|
1546
|
-
case "udp-menu-item":
|
|
1547
|
-
if (!customElements.get(tagName)) {
|
|
1548
|
-
defineCustomElement$b();
|
|
1549
|
-
}
|
|
1550
|
-
break;
|
|
1551
|
-
case "udp-pagination":
|
|
1552
|
-
if (!customElements.get(tagName)) {
|
|
1553
|
-
defineCustomElement$a();
|
|
1554
|
-
}
|
|
1555
|
-
break;
|
|
1556
|
-
case "udp-pop-over":
|
|
1557
|
-
if (!customElements.get(tagName)) {
|
|
1558
|
-
defineCustomElement$9();
|
|
1559
|
-
}
|
|
1560
|
-
break;
|
|
1561
|
-
case "udp-question":
|
|
1562
|
-
if (!customElements.get(tagName)) {
|
|
1563
|
-
defineCustomElement$8();
|
|
1564
|
-
}
|
|
1565
|
-
break;
|
|
1566
|
-
case "udp-question-comments":
|
|
1567
|
-
if (!customElements.get(tagName)) {
|
|
1568
|
-
defineCustomElement$7();
|
|
1569
|
-
}
|
|
1570
|
-
break;
|
|
1571
|
-
case "udp-save-draft-button":
|
|
1572
|
-
if (!customElements.get(tagName)) {
|
|
1573
|
-
defineCustomElement$6();
|
|
1574
|
-
}
|
|
1575
|
-
break;
|
|
1576
|
-
case "udp-selector":
|
|
1577
|
-
if (!customElements.get(tagName)) {
|
|
1578
|
-
defineCustomElement$5();
|
|
1579
|
-
}
|
|
1580
|
-
break;
|
|
1581
|
-
case "udp-side-sheet":
|
|
1582
|
-
if (!customElements.get(tagName)) {
|
|
1583
|
-
defineCustomElement$4();
|
|
1584
|
-
}
|
|
1585
|
-
break;
|
|
1586
|
-
case "udp-time-selector":
|
|
1587
|
-
if (!customElements.get(tagName)) {
|
|
1588
|
-
defineCustomElement$3();
|
|
1589
|
-
}
|
|
1590
|
-
break;
|
|
1591
|
-
case "unity-typography":
|
|
1592
|
-
if (!customElements.get(tagName)) {
|
|
1593
|
-
defineCustomElement$2();
|
|
1594
|
-
}
|
|
1595
|
-
break;
|
|
1596
|
-
} });
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
|
-
const UdpFormsRenderer = UdpFormsRenderer$1;
|
|
1600
|
-
const defineCustomElement = defineCustomElement$1;
|
|
1601
|
-
|
|
1602
|
-
export { UdpFormsRenderer, defineCustomElement };
|
|
1603
|
-
//# sourceMappingURL=udp-forms-renderer.js.map
|
|
1604
|
-
|
|
1605
|
-
//# sourceMappingURL=udp-forms-renderer.js.map
|
|
1
|
+
import{p as t,H as s,h as e,t as i}from"./index2.js";import{throttle as o}from"lodash";import{g as n}from"./tenantUtils.js";import{f as r}from"./udp-form-api-utils.js";import{c as a,b as l,U as u,a as c}from"./enums.js";import{b as d}from"./utils.js";import{c as m,m as h}from"./makeApiCall.js";import{S as p,c as f}from"./SearchBuilder.js";import{C as b}from"./configService.js";import{v4 as y}from"uuid";import{d as v}from"./custom-button2.js";import{d as w}from"./file-upload2.js";import{d as j}from"./fluent-dialog2.js";import{d as S}from"./form-metadata-display2.js";import{d as O}from"./image-upload2.js";import{d as g}from"./numeric-field2.js";import{d as I}from"./selectable-list2.js";import{d as F}from"./signature-input2.js";import{d as C}from"./stencil-field2.js";import{d as E}from"./stencil-form2.js";import{d as k}from"./stencil-icon-button2.js";import{d as D}from"./tally.js";import{d as $}from"./text-area2.js";import{d as U}from"./text-field2.js";import{d as x}from"./udp-adornment2.js";import{d as q}from"./udp-ambient-card2.js";import{d as P}from"./udp-ambient-tool-tip2.js";import{d as K}from"./udp-badge2.js";import{d as T}from"./udp-button2.js";import{d as A}from"./udp-container2.js";import{d as L}from"./udp-date-selector2.js";import{d as R}from"./udp-datetime-selector2.js";import{d as _}from"./udp-forms-ui2.js";import{d as M}from"./udp-icon2.js";import{d as V}from"./udp-icon-button2.js";import{d as N}from"./udp-linear-loader2.js";import{d as B}from"./udp-list-renderer2.js";import{d as J}from"./udp-menu-item2.js";import{d as Q}from"./udp-pagination2.js";import{d as z}from"./udp-pop-over2.js";import{d as W}from"./udp-question2.js";import{d as H}from"./udp-question-comments2.js";import{d as G}from"./udp-save-draft-button2.js";import{d as X}from"./udp-selector2.js";import{d as Y}from"./udp-side-sheet2.js";import{d as Z}from"./udp-time-selector2.js";import{d as tt}from"./unity-typography2.js";class st{constructor(t={}){this.id=null,this.formId=null,this.formVersion=null,this.data={},this.unityUserId=null,this.clusterId=null,this.userDisplayName="",this.status=null,this.businessObjectKey="",this.udpTags=[],this.form=null,this.initialCreatedOn=null,this.lastModifiedOn=null,this.submittedOn=null,this.generic1=null,this.generic2=null,this.generic3=null,this.userEmail=null,Object.assign(this,t)}processSubmissionIntoFormDataWithoutValues(t){const s=this.buildBaseSubmissionData(t),e=m(s);return e.append("Data",JSON.stringify(this.data)),e}processSubmissionIntoFormData(t,s){const e=this.buildBaseSubmissionData(s),{cleanedData:i,files:o}=this.extractCleanedDataAndFiles(t),n=m(e);return o.forEach((t=>n.append("FormFiles",t))),n.append("Data",JSON.stringify({submissionResponseData:i,submissionMetadata:this.data.submissionMetadata||null})),n}buildBaseSubmissionData(t){const s={FormId:this.formId,FormVersion:""+this.formVersion,Status:t};return this.id&&(s.Id=this.id),s.InitialCreatedOn=this.initialCreatedOn?this.initialCreatedOn:(new Date).toISOString(),s.LastModifiedOn=this.lastModifiedOn?this.lastModifiedOn:(new Date).toISOString(),this.submittedOn&&(s.submittedOn=this.submittedOn),this.generic1&&(s.generic1=""+this.generic1),this.generic2&&(s.generic2=""+this.generic2),this.generic3&&(s.generic3=""+this.generic3),s}extractCleanedDataAndFiles(t){const s=[],e={};for(const i in t){e[i]={};for(const o in t[i]){const n=t[i][o],{value:r,fieldFiles:a}=this.extractValueAndFiles(n);a&&s.push(...a);const l=this.processComments(n.comments),u=this.processMetadata(n.metadata);e[i][o]=Object.assign({value:r,comments:l},u&&{metadata:u})}}return{cleanedData:e,files:s}}extractValueAndFiles(t){var s,e;let i=(null===(s=null==t?void 0:t.value)||void 0===s?void 0:s.files)?t.value.value:null==t?void 0:t.value;const o=null===(e=null==t?void 0:t.value)||void 0===e?void 0:e.files;return o&&Array.isArray(o)?{value:"string"==typeof i&&""!==i.trim()?i:"",fieldFiles:o}:function(t){return!!Array.isArray(t)&&t.every((t=>t instanceof File))}(i)?{value:i.length>0?i.map((t=>t.name)).join(","):"",fieldFiles:i}:i instanceof File?{value:i.name,fieldFiles:[i]}:Array.isArray(i)?{value:i.map((t=>"string"==typeof t?t:null==t?void 0:t.value)).join(",")}:{value:i}}processComments(t){var s;return null!==(s=null==t?void 0:t.map((t=>Object.assign({},t))))&&void 0!==s?s:[]}processMetadata(t){return t&&Object.keys(t).length>0?Object.assign({},t):void 0}}class et{constructor(t,s){this.accessMode=t,this.tenantId=s}get extraHeaders(){if("public"===this.accessMode&&this.tenantId)return{currentTenantId:this.tenantId+""}}async addComment(t,s){if(!(null==t?void 0:t.id))throw Error("Cannot add a comment without a submission ID.");const e=`${b.productV1ApiUrl}/UdpFormSubmission/${t.id}/comments/${this.accessMode}`;await h("POST",e,s,!0)}async updateComment(t,s){if(!(null==t?void 0:t.id))throw Error("Cannot update a comment without a submission ID.");const{sectionKey:e,questionKey:i,commentId:o,value:n}=s,r=`${b.productV1ApiUrl}/UdpFormSubmission/${t.id}/comments/${o}`;await h("PUT",r,{value:n,sectionKey:e,questionKey:i},!0,this.extraHeaders)}async deleteComment(t,s){if(!(null==t?void 0:t.id))throw Error("Cannot delete a comment without a submission ID.");const{commentId:e}=s,i=`${b.productV1ApiUrl}/UdpFormSubmission/${t.id}/comments/${e}`;await h("DELETE",i,null,!0,this.extraHeaders)}async fetchAndPopulateUdpFormSubmissionObj(t){if(!(null==t?void 0:t.id))return console.warn("Cannot fetch form submission without an ID."),t;if("public"===this.accessMode){const s=await this.getFormSubmissionByIdAndUser(t.id,t.unityUserId);return s?new st(Object.assign(Object.assign({},t),s)):t}const{id:s}=t,e=await this.getFormSubmissionById(s);return e?new st(Object.assign(Object.assign({},t),e)):t}async createNewLinkedFollowUpFormSubmission(t){if("public"===this.accessMode)throw Error("Follow-up form submissions are not supported for public forms.");return this.saveFormDataWithoutValues(t,a.InProgress)}async saveCurrentFormSubmissionState(t,s){return"public"===this.accessMode?s:this.saveSubmissionToDB(t,s,a.InProgress)}async finalizeFormSubmissionState(t,s){return this.saveSubmissionToDB(t,s,a.Submitted)}async saveFormDataWithoutValues(t,s){const e=t.processSubmissionIntoFormDataWithoutValues(s),{method:i,url:o}=this.getApiRequestInfo(t),n=await h(i,o,e,!0,this.extraHeaders);return""===n?await this.fetchAndPopulateUdpFormSubmissionObj(t):new st(Object.assign(Object.assign({},t),n))}getApiRequestInfo(t){const s=`${b.productV1ApiUrl}/UdpFormSubmission/${this.accessMode}`;return"public"===this.accessMode?{method:"POST",url:s}:t.id?{method:"PUT",url:s}:{method:"POST",url:s}}async saveSubmissionToDB(t,s,e){const i=s.processSubmissionIntoFormData(t,e),{method:o,url:n}=this.getApiRequestInfo(s),r=await h(o,n,i,!0,this.extraHeaders);if(""===r)return await this.fetchAndPopulateUdpFormSubmissionObj(s);const a=new st(Object.assign(Object.assign({},s),r));return Object.assign(s,a),a}async getFormSubmissionById(t){var s;try{const e=new p(1,1).addFilter("id",t,f.EQUALS),i=await e.execute("UdpFormSubmission");return(null===(s=null==i?void 0:i.pageList)||void 0===s?void 0:s[0])||null}catch(t){return console.error("Error fetching form submission by ID:",t),null}}async getFormSubmissionByIdAndUser(t,s){var e;try{const i=new p(1,1).addFilter("id",t,f.EQUALS).addFilter("unityUserId",s,f.EQUALS),o=await i.execute("UdpFormSubmission");return(null===(e=null==o?void 0:o.pageList)||void 0===e?void 0:e[0])||null}catch(t){return console.error("Error fetching form submission by ID:",t),null}}}class it{static create(t,s,e){return new et(t?"public":"private",null!=e?e:void 0)}}class ot{constructor(t,s=!1){this.tenantId=t,this.isPublic=s}buildDescribeUrl(t,s){const e=b.productV1ApiUrl,i="number"==typeof s?"/"+s:"";return this.isPublic?`${e}/UdpForm/${t}${i}/describe/public`:`${e}/UdpForm/${t}${i}/describe`}async getFormByFormIdAndFormVersion(t,s){const e=this.buildDescribeUrl(t,s),i=this.isPublic&&this.tenantId?{currentTenantId:this.tenantId+""}:void 0,o=await h("GET",e,void 0,!1,i);return o.styleOverrides&&"string"==typeof o.styleOverrides&&(o.styleOverrides=JSON.parse(o.styleOverrides)),o}}class nt{constructor(t){t&&Object.assign(this,t)}}const rt=(t,s)=>{const e=Object.keys(s),i=new Set,o=RegExp(`^${t}_(\\d+)`);return e.forEach((t=>{const s=t.match(o);s&&s[1]&&i.add(Number(s[1]))})),Array.from(i).sort(((t,s)=>t-s))},at=(t,s)=>{const e=`${"undefined"!=typeof window?window.location.pathname:"/page/"+l.FormRendererPageId}?udpf_submissionId=${t}${"undefined"!=typeof window?window.location.hash:""}`,i=s;if(i){if("function"==typeof i.replace)return void i.replace(e);if("function"==typeof i.push)return void i.push(e);if("function"==typeof i){try{i(e,{replace:!0})}catch(t){i(e)}return}}"undefined"!=typeof window&&window.history&&"function"==typeof window.history.replaceState?window.history.replaceState({},"",e):"undefined"!=typeof window&&(window.location.href=e)},lt=(t,s)=>{null==s||s(t,{variant:"success",anchorOrigin:{vertical:"top",horizontal:"center"}})},ut=(t,s)=>{null==s||s(t,{variant:"error",anchorOrigin:{vertical:"top",horizontal:"center"}})},ct=t=>{if(!t)return{};if("object"==typeof t)return t;if("string"!=typeof t)return{};try{return JSON.parse(t||"{}")}catch(t){return{}}},dt=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.isPublic=!1,this.autoSaveDelay=2e3,this.urlContext={},this.currentValues={},this.submitSuccessful=!1,this.isLoading=!1,this.isSaving=!1,this.isSubmitted=!1,this.dynamicSections=[],this.isUpdatingSections=!1,this.reRenderKey=0,this.hasUnsavedChanges=!1,this.sideSheetFollowUpFormsList=[],this.followUpSideSheetTotalItems=0,this.isFollowUpFormsSideSheetOpen=!1,this.followUpSideSheetListPageNumber=1,this.FOLLOW_UP_SIDE_SHEET_PAGE_SIZE=5,this.componentMap={history:"history",listItemData:"listItemData",handleLaunchFollowUpForm:"handleLaunchFollowUpForm"},this.tenantId=n(),this.clientUserInfo={id:null,displayName:null,email:null},this.followUpParentSectionKey="",this.followUpParentQuestionKey="",this.publicFeatures={allowDraftSave:!1,allowComments:!0,allowFollowUpForms:!1},this.handleLaunchFollowUpFormSideSheet=async t=>{try{if(this.isPublic)return;this.followUpParentSectionKey=t.detail.sectionKey,this.followUpParentQuestionKey=t.detail.questionKey,await this.loadFollowUpForms(this.followUpParentSectionKey,this.followUpParentQuestionKey),this.isFollowUpFormsSideSheetOpen=!0}catch(t){console.error("Error loading follow-up forms:",t)}},this.duplicateRepeatableSection=t=>{if(!this.isSubmitted&&!this.isUpdatingSections){this.isUpdatingSections=!0,this.isLoading=!0;try{const{nextDynamicSections:s,nextValues:e}=(t=>{var s,e,i;const{dynamicSections:o,values:n,index:r}=t,a=o[r];if(!a)return{nextDynamicSections:o,nextValues:n};const l=a.name,c=rt(l,n),d=c.length>0?Math.max(...c)+1:2,m=Object.assign(Object.assign({},structuredClone(a)),{formQuestions:(a.formQuestions||[]).map((t=>{const s=structuredClone(t);return s.questionIdentifierKey=`${l}_${d}.${t.name}`,s})),isOriginalSection:!1,sectionPositionSuffix:d});let h=r;for(let t=r+1;t<o.length&&o[t].name===l;t++)h=t;const p=[...o.slice(0,h+1),m,...o.slice(h+1)],f=structuredClone(n||{}),b=`${l}_${d}`,y=(t=>t.isOriginalSection?t.name:`${t.name}_${t.sectionPositionSuffix}`)(a);for(const t of m.formQuestions||[]){f[b]||(f[b]={});let o="";if(t.fieldTypeId===u.Paragraph){const r=null===(e=null===(s=null==n?void 0:n[y])||void 0===s?void 0:s[t.name])||void 0===e?void 0:e.value,a=ct(t.fieldProperties),l=null!==(i=null==a?void 0:a.paragraphText)&&void 0!==i?i:"";o=null!=r?r:l}f[b][t.name]={value:o,comments:[],metadata:{}}}return{nextDynamicSections:p,nextValues:f}})({dynamicSections:this.dynamicSections,values:structuredClone(this.udpFormSubmission.data.submissionResponseData||{}),index:t});this.dynamicSections=s,this.currentValues=Object.assign({},e),this.udpFormSubmission.data.submissionResponseData=Object.assign({},e),this.triggerFormRerender()}finally{this.isUpdatingSections=!1,this.isLoading=!1,this.hasUnsavedChanges=!0}}},this.deleteRepeatableSection=t=>{if(this.isSubmitted)return;const s=this.dynamicSections[t];if(s&&!s.isOriginalSection){this.isUpdatingSections=!0,this.isLoading=!0;try{const{nextDynamicSections:s,nextValues:e}=(t=>{const{dynamicSections:s,values:e,index:i}=t,o=s[i];if(!o||o.isOriginalSection)return{nextDynamicSections:s,nextValues:e};const n=o.name,r=o.sectionPositionSuffix,a=`${n}_${r}`,l=Object.assign({},e||{});delete l[a];const u=structuredClone(s);return u.splice(i,1),u.forEach((t=>{var s;if(t.name!==n||t.isOriginalSection||(null!==(s=t.sectionPositionSuffix)&&void 0!==s?s:0)<=(null!=r?r:0))return;const e=t.sectionPositionSuffix,i=`${n}_${e}`,o=e-1,a=`${n}_${o}`;t.sectionPositionSuffix=o,t.formQuestions=(t.formQuestions||[]).map((t=>{const s=structuredClone(t);return s.questionIdentifierKey=`${a}.${t.name}`,s})),l[i]&&(l[a]=structuredClone(l[i]),delete l[i])})),{nextDynamicSections:u,nextValues:l}})({dynamicSections:this.dynamicSections,values:Object.assign({},this.udpFormSubmission.data.submissionResponseData||{}),index:t});this.dynamicSections=s,this.currentValues=Object.assign({},e),this.udpFormSubmission.data.submissionResponseData=Object.assign({},e),this.triggerFormRerender()}finally{this.isUpdatingSections=!1,this.isLoading=!1,this.hasUnsavedChanges=!0}}},this.performBackgroundSaveAndUpdateLocalSubmissionState=async t=>this.performBackgroundSaveAndUpdateLocalSubmissionStateInternal(t),this.performBackgroundSaveAndUpdateLocalSubmissionStateInternal=async(t,s)=>{var e,i;const o=null!==(e=null==s?void 0:s.allowUrlReplace)&&void 0!==e?e:!this.isPublic,n=null!==(i=null==s?void 0:s.forceCreateDraftIfMissingId)&&void 0!==i&&i;if(!this.isPublic||this.publicFeatures.allowDraftSave||n)try{await this.formSubmissionHandler.saveCurrentFormSubmissionState(t,this.udpFormSubmission),await this.refreshSubmissionAndSyncState(),o&&!new URLSearchParams(window.location.search).has("udpf_submissionId")&&at(this.udpFormSubmission.id,this.history)}catch(t){}finally{this.isSaving=!1,this.hasUnsavedChanges=!1}},this.refreshSubmissionAndSyncState=async()=>{var t,s;if(!(null===(t=this.udpFormSubmission)||void 0===t?void 0:t.id))return;const e=await this.formSubmissionHandler.fetchAndPopulateUdpFormSubmissionObj(this.udpFormSubmission);this.udpFormSubmission=e,this.currentValues=Object.assign({},(null===(s=e.data)||void 0===s?void 0:s.submissionResponseData)||{}),this.isSubmitted=e.status===a.Submitted},this.handleManualSave=async t=>{if(!this.isPublic||this.publicFeatures.allowDraftSave){this.isSaving=!0;try{await this.formSubmissionHandler.saveCurrentFormSubmissionState(t,this.udpFormSubmission),await this.refreshSubmissionAndSyncState(),new URLSearchParams(window.location.search).has("udpf_submissionId")||at(this.udpFormSubmission.id,this.history),lt("Form saved successfully.",this.enqueueSnackbar)}catch(t){ut("There was an error saving this form",this.enqueueSnackbar)}finally{this.isSaving=!1,this.hasUnsavedChanges=!1}}},this.handleFormChange=t=>{this.isUpdatingSections||(this.udpFormSubmission.data.submissionResponseData=t)},this.handleFinish=()=>{this.triggerAction&&this.triggerAction(null,{action:"finish"})},this.triggerFormRerender=()=>{const t=window.scrollY;this.reRenderKey+=1,requestAnimationFrame((()=>{window.scrollTo({top:t,behavior:"auto"})}))},this.handleLaunchFollowUpForm=async(t,s,e,i,o,n,r)=>{const a=await this.formHandler.getFormByFormIdAndFormVersion(t,s),u={submissionResponseData:d(a),submissionMetadata:{ParentSubmission:{submissionId:e,formId:i,formVersion:o}}},c=new st({formId:t,formVersion:s,unityUserId:this.clientUserInfo.id,data:u}),m=it.create(!1,this.clientUserInfo.id),h=await m.createNewLinkedFollowUpFormSubmission(c);this.udpFormSubmission.data.submissionResponseData[n][r].metadata=Object.assign(Object.assign({},this.udpFormSubmission.data.submissionResponseData[n][r].metadata),{followUpFormSubmissionId:h.id}),await this.performBackgroundSaveAndUpdateLocalSubmissionState(this.udpFormSubmission.data.submissionResponseData),window.open(`/page/${l.FormRendererPageId}?udpf_submissionId=${h.id}`,"_blank"),this.handleSideSheetClose(),this.triggerFormRerender()},this.handleSideSheetClose=()=>{this.sideSheetFollowUpFormsList=[],this.followUpSideSheetListPageNumber=1,this.followUpSideSheetTotalItems=0,this.isFollowUpFormsSideSheetOpen=!1,this.followUpParentSectionKey="",this.followUpParentQuestionKey=""}}componentDidLoad(){this.el&&(this.el.addEventListener("questionCommentAction",(async t=>this.handleQuestionCommentLiveCRUD(t))),this.el.addEventListener("launchFollowUpFormSideSheet",(t=>this.handleLaunchFollowUpFormSideSheet(t))),this.el.addEventListener("formDirtyChange",(t=>{this.hasUnsavedChanges=this.hasUnsavedChanges||t.detail})))}async componentWillLoad(){var t;this.isLoading=!0;try{if(this.isPublic){const t=new URLSearchParams(window.location.search).get("udpf_currentTenantId");if(!t)throw Error("Public form renderer requires currentTenantId in the URL query string.");this.tenantId=t}if(this.isPublic)this.clientUserInfo.id="00000000-0000-0000-0000-000000000001",this.clientUserInfo.displayName="Anonymous";else{const s=null===(t=this.getUserCallback)||void 0===t?void 0:t.call(this);s&&(this.clientUserInfo.id=s.id||null,this.clientUserInfo.displayName=s.name||null,this.clientUserInfo.email=s.email||null)}let s,e;this.formSubmissionHandler=it.create(this.isPublic,this.clientUserInfo.id,this.tenantId),this.udpFormSubmission=new st({id:this.submissionId,formId:this.formId,formVersion:this.version,unityUserId:this.clientUserInfo.id,generic1:this.urlContext.generic1,generic2:this.urlContext.generic2,generic3:this.urlContext.generic3}),this.submissionId&&(this.udpFormSubmission=await this.formSubmissionHandler.fetchAndPopulateUdpFormSubmissionObj(this.udpFormSubmission)),this.submissionId?(s=this.udpFormSubmission.formId,e=this.udpFormSubmission.formVersion):this.formId&&this.version&&(s=this.formId,e=this.version),this.formHandler=new ot(this.tenantId,this.isPublic);const i=await this.formHandler.getFormByFormIdAndFormVersion(s,e);if(this.udpForm=new nt(i),this.currentValues=d(this.udpForm),this.udpFormSubmission.data.submissionResponseData&&(this.currentValues=Object.assign({},this.udpFormSubmission.data.submissionResponseData),this.udpFormSubmission.status===a.Submitted&&(this.isSubmitted=!0)),(!this.udpFormSubmission.id||this.udpFormSubmission.status===a.Created)&&this.urlContext&&Object.keys(this.urlContext).length>0){this.dynamicSections=((t,s,e)=>{var i,o;const n=(t=>{const s={};return Object.keys(t&&"object"==typeof t?t:{}).forEach((t=>{var e;const i=t.match(/^([^._?&#]+)_(\d+)\./);if(!i)return;const o=i[1],n=Number(i[2]);!Number.isFinite(n)||n<2||n>(null!==(e=s[o])&&void 0!==e?e:1)&&(s[o]=n)})),s})(e),r=[],a=structuredClone(t.udpFormUdpFormSection).sort(((t,s)=>t.order-s.order));for(const e of a){e.sectionProperties=JSON.parse(e.sectionProperties||{});const a=rt(e.name,s),l=a.length>0?Math.max(...a):1,u=null!==(i=null==n?void 0:n[e.name])&&void 0!==i?i:1,c=Math.max(l,u);if(e.isOriginalSection=!0,e.sectionPositionSuffix=1,r.push(Object.assign(Object.assign({},structuredClone(e)),{formQuestions:structuredClone(t.formQuestions).filter((t=>t.formSectionId===e.id)).sort(((t,s)=>t.questionOrder-s.questionOrder)).map((t=>Object.assign(Object.assign({},t),{questionIdentifierKey:`${e.name}.${t.name}`,isShowCommentInput:!0})))})),(null===(o=e.sectionProperties)||void 0===o?void 0:o.isRepeatable)&&c>=2)for(let s=2;s<=c;s++){const i=Object.assign(Object.assign({},structuredClone(e)),{formQuestions:structuredClone(t.formQuestions).filter((t=>t.formSectionId===e.id)).sort(((t,s)=>t.questionOrder-s.questionOrder)).map((t=>Object.assign(Object.assign({},t),{questionIdentifierKey:`${e.name}_${s}.${t.name}`,isShowCommentInput:!0}))),isOriginalSection:!1,sectionPositionSuffix:s});r.push(i)}}return r})(this.udpForm,this.currentValues,this.urlContext);const t=((t,s)=>{if(!Array.isArray(t))return;const e=s&&"object"==typeof s?s:{},i={};Object.keys(e).forEach((t=>{i[(t+"").toLowerCase()]=e[t]}));const o={};t.forEach((t=>{const s=t.isOriginalSection?t.name:`${t.name}_${t.sectionPositionSuffix}`;(t.formQuestions||[]).forEach((t=>{if(!t)return;const e=[t.processedSubmissionName,t.questionIdentifierKey,t.name].filter(Boolean);let n;for(const t of e){const s=(t+"").toLowerCase();if(Object.prototype.hasOwnProperty.call(i,s)){n=i[s];break}}null!=n&&(o[s]||(o[s]={}),o[s][t.name]={value:n,comments:[]})}))}));const n={};return Object.entries(o).forEach((([t,s])=>{n[t]||(n[t]={}),Object.entries(s).forEach((([s,e])=>{const i=n[t][s];(null==i||null==i.value||"string"==typeof i.value&&""===i.value.trim())&&(n[t][s]=e)}))})),t.forEach((t=>{const s=t.isOriginalSection?t.name:`${t.name}_${t.sectionPositionSuffix}`;n[s]||(n[s]={}),(t.formQuestions||[]).forEach((t=>{var e;if(t&&t.fieldTypeId===u.Paragraph){const i=n[s][t.name];if(null==i||null==i.value||"string"==typeof i.value&&""===i.value.trim()){let i=null==t?void 0:t.fieldProperties;if("string"==typeof i)try{i=JSON.parse(i||"{}")}catch(t){i={}}n[s][t.name]={value:null!==(e=null==i?void 0:i.paragraphText)&&void 0!==e?e:"",comments:[]}}}}))})),n})(this.dynamicSections,this.urlContext);t&&(this.currentValues=t,this.udpFormSubmission.data.submissionResponseData=Object.assign({},t))}else this.dynamicSections=((t,s)=>{var e;const i=[],o=structuredClone(t.udpFormUdpFormSection).sort(((t,s)=>t.order-s.order));for(const n of o){n.sectionProperties=JSON.parse(n.sectionProperties||{});const o=rt(n.name,s);if(n.isOriginalSection=!0,n.sectionPositionSuffix=1,i.push(Object.assign(Object.assign({},structuredClone(n)),{formQuestions:structuredClone(t.formQuestions).filter((t=>t.formSectionId===n.id)).sort(((t,s)=>t.questionOrder-s.questionOrder)).map((t=>Object.assign(Object.assign({},t),{questionIdentifierKey:`${n.name}.${t.name}`,isShowCommentInput:!0})))})),(null===(e=n.sectionProperties)||void 0===e?void 0:e.isRepeatable)&&o.length>0){const s=Math.max(...o);for(let e=2;e<=s;e++){const s=Object.assign(Object.assign({},structuredClone(n)),{formQuestions:structuredClone(t.formQuestions).filter((t=>t.formSectionId===n.id)).sort(((t,s)=>t.questionOrder-s.questionOrder)).map((t=>Object.assign(Object.assign({},t),{questionIdentifierKey:`${n.name}_${e}.${t.name}`,isShowCommentInput:!0}))),isOriginalSection:!1,sectionPositionSuffix:e});i.push(s)}}}return i})(this.udpForm,this.currentValues);this.debouncedManualSave=o((async t=>{await this.handleManualSave(t)}),2e3,{leading:!0,trailing:!1})}catch(t){console.error("Error failed to load form in the form renderer:",t)}finally{this.isLoading=!1}}async handleSubmit(t){this.isLoading=!0;try{await this.formSubmissionHandler.finalizeFormSubmissionState(t,this.udpFormSubmission),await this.refreshSubmissionAndSyncState(),this.submitSuccessful=!0}catch(t){throw ut("There was an error submitting this form",this.enqueueSnackbar),t}finally{this.isLoading=!1}}async handleQuestionCommentLiveCRUD(t){var s,e,i,o,n,r;if(!this.isPublic||this.publicFeatures.allowComments)try{const{type:l,questionIdentifierKey:u,commentId:c}=t.detail,d=function(t){var s,e,i,o,n;const{actionType:r,questionIdentifierKey:a,commentId:l,currentSubmissionResponseData:u,clientUserInfo:c}=t,d=(a||"").split("."),m=d[0]||"",h=d[1]||"";if(!m||!h)return{sectionKey:m,questionKey:h,nextSubmissionResponseData:u||{},didMutate:!1,shouldPersist:!1,persistIntent:"none",commentId:l};const p=structuredClone(u||{});p[m]||(p[m]={}),p[m][h]?(p[m][h].comments=null!==(s=p[m][h].comments)&&void 0!==s?s:[],p[m][h].draftComments=null!==(e=p[m][h].draftComments)&&void 0!==e?e:[],p[m][h].metadata=null!==(i=p[m][h].metadata)&&void 0!==i?i:{}):p[m][h]={value:"",comments:[],draftComments:[],metadata:{}};const f=p[m][h].draftComments;f&&!Array.isArray(f)?p[m][h].draftComments=[f]:f||(p[m][h].draftComments=[]);const b=p[m][h].comments||[],v=p[m][h].draftComments||[];let w=!1;switch(r){case"add":{const t={value:"",commentId:y(),isTempComment:!0,timestamp:null};p[m][h].draftComments=[t,...v],w=!0;break}case"save":{const t=v.findIndex((t=>t.commentId===l));if(-1===t)return{sectionKey:m,questionKey:h,nextSubmissionResponseData:p,didMutate:!1,shouldPersist:!1,persistIntent:"none",commentId:l};const s=v[t],e=s.timestamp||(new Date).toISOString(),i=Object.assign(Object.assign({},s),{timestamp:e,editedTimestamp:(new Date).toISOString(),userId:null==c?void 0:c.id,userDisplayName:null==c?void 0:c.displayName,isDraftComment:!1}),o=b.findIndex((t=>t.commentId===l));if(-1!==o){const t=[...b];t[o]=Object.assign({},i),p[m][h].comments=t}else p[m][h].comments=[...b,i];p[m][h].draftComments=v.filter((t=>t.commentId!==l)),w=!0;break}case"edit":{const t=b.find((t=>t.commentId===l));if(!t)return{sectionKey:m,questionKey:h,nextSubmissionResponseData:p,didMutate:!1,shouldPersist:!1,persistIntent:"none",commentId:l};const s=Object.assign(Object.assign({},t),{isDraftComment:!0,timestamp:null});p[m][h].draftComments=[s,...v],p[m][h].comments=b,w=!0;break}case"delete":p[m][h].comments=b.map((t=>t.commentId===l?Object.assign(Object.assign({},t),{isDeleted:!0,value:"",editedTimestamp:(new Date).toISOString()}):t)),w=!0;break;case"editClose":p[m][h].draftComments=v.filter((t=>t.commentId!==l)),w=!0}const j="save"===r||"delete"===r;let S;if("save"===r){const t=((null===(n=null===(o=null==p?void 0:p[m])||void 0===o?void 0:o[h])||void 0===n?void 0:n.comments)||[]).find((t=>t.commentId===l));S=null==t?void 0:t.value}return{sectionKey:m,questionKey:h,nextSubmissionResponseData:p,didMutate:w,shouldPersist:j,persistIntent:"none",commentId:l,valueToPersist:S}}({actionType:l,questionIdentifierKey:u,commentId:c,currentSubmissionResponseData:this.udpFormSubmission.data.submissionResponseData||{},clientUserInfo:this.clientUserInfo}),m=d.nextSubmissionResponseData;if(this.udpFormSubmission.data.submissionResponseData=Object.assign({},m),"edit"!==l&&"editClose"!==l&&"add"!==l||(this.currentValues=Object.assign({},m)),d.shouldPersist){const t=(null===(s=this.udpFormSubmission)||void 0===s?void 0:s.status)===a.Submitted,u=(null===(e=this.udpFormSubmission)||void 0===e?void 0:e.unityUserId)===this.clientUserInfo.id,c=((null===(n=null===(o=null===(i=this.currentValues||{})||void 0===i?void 0:i[d.sectionKey])||void 0===o?void 0:o[d.questionKey])||void 0===n?void 0:n.comments)||[]).find((t=>(null==t?void 0:t.commentId)===d.commentId&&!(null==t?void 0:t.isDeleted)));if(t||!u)if(null===(r=this.udpFormSubmission)||void 0===r?void 0:r.id){if("save"===l){const t=d.valueToPersist;if(t)try{c?await this.formSubmissionHandler.updateComment(this.udpFormSubmission,{sectionKey:d.sectionKey,questionKey:d.questionKey,value:t,commentId:d.commentId}):await this.formSubmissionHandler.addComment(this.udpFormSubmission,{sectionKey:d.sectionKey,questionKey:d.questionKey,value:t,commentId:d.commentId}),await this.refreshSubmissionAndSyncState(),lt(c?"Comment updated.":"Comment added.",this.enqueueSnackbar)}catch(t){throw ut(c?"Failed to update comment.":"Failed to add comment.",this.enqueueSnackbar),t}}else if("delete"===l)try{await this.formSubmissionHandler.deleteComment(this.udpFormSubmission,{sectionKey:d.sectionKey,questionKey:d.questionKey,commentId:d.commentId}),await this.refreshSubmissionAndSyncState(),lt("Comment deleted.",this.enqueueSnackbar)}catch(t){throw ut("Failed to delete comment.",this.enqueueSnackbar),t}}else this.currentValues=Object.assign({},m);else this.isPublic?this.currentValues=Object.assign({},m):await this.handleManualSave(m)}else this.currentValues=Object.assign({},m)}catch(t){console.error("Error handling live comment CRUD:",t)}finally{this.triggerFormRerender()}}async loadFollowUpForms(t,s){var e;this.isLoading=!0;try{const i=(await r(this.followUpSideSheetListPageNumber,this.FOLLOW_UP_SIDE_SHEET_PAGE_SIZE,[{searchField:"type",searchOperator:"=",searchValue:c.FollowUp}],{sortDirection:"DESC",sortColumn:"lastModifiedOn"})).data;if(!i||!Array.isArray(i.pageList))throw Error("Malformed form versions data.");this.sideSheetFollowUpFormsList=this.formatFollowUpFormsList(i.pageList,t,s),this.followUpSideSheetTotalItems=null!==(e=i.total)&&void 0!==e?e:0}catch(t){console.error("Failed to follow up form.",t)}finally{this.isLoading=!1}}formatFollowUpFormsList(t,s,e){return t.map((t=>({listItemData:t,history:this.history,handleLaunchFollowUpForm:async()=>await this.handleLaunchFollowUpForm(t.id,t.version,this.udpFormSubmission.id,this.udpFormSubmission.formId,this.udpFormSubmission.formVersion,s,e)})))}async handleSideSheetPageChange(t){this.followUpSideSheetListPageNumber=t,await this.loadFollowUpForms(this.followUpParentSectionKey,this.followUpParentQuestionKey)}renderFollowUpSideSheet(){return this.isPublic?null:e("udp-side-sheet",{title:"Link a Follow Up Form",open:this.isFollowUpFormsSideSheetOpen,onUdpSideSheetClose:()=>this.handleSideSheetClose(),position:"right",width:"md"},this.isLoading&&this.isFollowUpFormsSideSheetOpen&&e("udp-linear-loader",null),e("udp-list-renderer",{itemComponent:"udp-forms-follow-up-list-card",data:this.sideSheetFollowUpFormsList,pagination:!0,isServerSide:!0,isLoading:this.isLoading,itemsPerPage:this.FOLLOW_UP_SIDE_SHEET_PAGE_SIZE,currentPage:this.followUpSideSheetListPageNumber,totalItems:this.followUpSideSheetTotalItems,onPageChange:t=>this.handleSideSheetPageChange(t.detail),componentDataMap:this.componentMap,spacing:"md"}))}isShowManualSaveIcon(){return!this.isPublic&&(!!this.clientUserInfo.id&&this.hasUnsavedChanges)}get isReadOnlyMode(){return this.isSubmitted||this.udpFormSubmission.unityUserId!==this.clientUserInfo.id}render(){return e("div",{key:"f53b65027554505a1301ab98379035e0316735dc",class:"forms-renderer-container",style:this.isLoading?{minHeight:"100vh"}:{}},this.renderFollowUpSideSheet(),e("udp-forms-ui",{udpForm:this.udpForm,currentValues:this.currentValues,udpFormSubmission:this.udpFormSubmission,submitSuccessful:this.submitSuccessful,isSaving:this.isSaving,readonly:this.isReadOnlyMode,handleSubmit:this.handleSubmit.bind(this),handleSave:t=>Promise.resolve(this.debouncedManualSave(t)),handleChange:this.handleFormChange,handleAction:this.triggerAction,handleFinish:this.handleFinish,clientUserInfo:this.clientUserInfo,isSubmitted:this.isSubmitted,dynamicSections:this.dynamicSections,duplicateRepeatableSection:this.duplicateRepeatableSection,deleteRepeatableSection:this.deleteRepeatableSection,key:"form-rerender-key-"+this.reRenderKey,isShowManualSaveIcon:this.isShowManualSaveIcon(),isLoading:this.isLoading,performBackgroundSaveAndUpdateLocalSubmissionState:this.performBackgroundSaveAndUpdateLocalSubmissionState}))}get el(){return this}},[1,"udp-forms-renderer",{formId:[1,"form-id"],version:[2],urlTenantId:[1,"url-tenant-id"],submissionId:[1,"submission-id"],triggerAction:[16],isPublic:[4,"is-public"],callbackUrl:[1,"callback-url"],getUserCallback:[16],enqueueSnackbar:[16],closeSnackbar:[16],autoSaveDelay:[2,"auto-save-delay"],history:[8],urlContext:[16],currentValues:[32],submitSuccessful:[32],isLoading:[32],isSaving:[32],isSubmitted:[32],dynamicSections:[32],isUpdatingSections:[32],reRenderKey:[32],hasUnsavedChanges:[32],sideSheetFollowUpFormsList:[32],followUpSideSheetTotalItems:[32],isFollowUpFormsSideSheetOpen:[32],followUpSideSheetListPageNumber:[32]}]),mt=dt,ht=function(){"undefined"!=typeof customElements&&["udp-forms-renderer","custom-button","file-upload","fluent-dialog","form-metadata-display","image-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-button","udp-container","udp-date-selector","udp-datetime-selector","udp-forms-ui","udp-icon","udp-icon-button","udp-linear-loader","udp-list-renderer","udp-menu-item","udp-pagination","udp-pop-over","udp-question","udp-question-comments","udp-save-draft-button","udp-selector","udp-side-sheet","udp-time-selector","unity-typography"].forEach((t=>{switch(t){case"udp-forms-renderer":customElements.get(i(t))||customElements.define(i(t),dt);break;case"custom-button":customElements.get(i(t))||v();break;case"file-upload":customElements.get(i(t))||w();break;case"fluent-dialog":customElements.get(i(t))||j();break;case"form-metadata-display":customElements.get(i(t))||S();break;case"image-upload":customElements.get(i(t))||O();break;case"numeric-field":customElements.get(i(t))||g();break;case"selectable-list":customElements.get(i(t))||I();break;case"signature-input":customElements.get(i(t))||F();break;case"stencil-field":customElements.get(i(t))||C();break;case"stencil-form":customElements.get(i(t))||E();break;case"stencil-icon-button":customElements.get(i(t))||k();break;case"tally-display":customElements.get(i(t))||D();break;case"text-area":customElements.get(i(t))||$();break;case"text-field":customElements.get(i(t))||U();break;case"udp-adornment":customElements.get(i(t))||x();break;case"udp-ambient-card":customElements.get(i(t))||q();break;case"udp-ambient-tool-tip":customElements.get(i(t))||P();break;case"udp-badge":customElements.get(i(t))||K();break;case"udp-button":customElements.get(i(t))||T();break;case"udp-container":customElements.get(i(t))||A();break;case"udp-date-selector":customElements.get(i(t))||L();break;case"udp-datetime-selector":customElements.get(i(t))||R();break;case"udp-forms-ui":customElements.get(i(t))||_();break;case"udp-icon":customElements.get(i(t))||M();break;case"udp-icon-button":customElements.get(i(t))||V();break;case"udp-linear-loader":customElements.get(i(t))||N();break;case"udp-list-renderer":customElements.get(i(t))||B();break;case"udp-menu-item":customElements.get(i(t))||J();break;case"udp-pagination":customElements.get(i(t))||Q();break;case"udp-pop-over":customElements.get(i(t))||z();break;case"udp-question":customElements.get(i(t))||W();break;case"udp-question-comments":customElements.get(i(t))||H();break;case"udp-save-draft-button":customElements.get(i(t))||G();break;case"udp-selector":customElements.get(i(t))||X();break;case"udp-side-sheet":customElements.get(i(t))||Y();break;case"udp-time-selector":customElements.get(i(t))||Z();break;case"unity-typography":customElements.get(i(t))||tt()}}))};export{mt as UdpFormsRenderer,ht as defineCustomElement}
|