udp-stencil-component-library 26.5.0-beta.2 → 26.5.0-beta.21
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-ClIYV_dJ.js → SearchBuilder-CCtWubLX.js} +1 -1
- package/dist/cjs/add-map-feature-popup_4.cjs.entry.js +12 -12
- package/dist/cjs/address-search_6.cjs.entry.js +18 -18
- package/dist/cjs/advanced-search_12.cjs.entry.js +18 -18
- package/dist/cjs/ag-grid-base_65.cjs.entry.js +512 -174
- package/dist/cjs/ambient-template-grid.cjs.entry.js +16 -16
- package/dist/cjs/api-method-instance-grid.cjs.entry.js +4 -4
- package/dist/cjs/app-bar.cjs.entry.js +1 -1
- package/dist/cjs/{base-map_3.cjs.entry.js → base-map_4.cjs.entry.js} +59 -0
- package/dist/cjs/chart-container_3.cjs.entry.js +2 -2
- package/dist/cjs/check-box.cjs.entry.js +2 -2
- package/dist/cjs/chip-section.cjs.entry.js +2 -2
- package/dist/cjs/codecs-Z6GTnUYS.js +2424 -0
- package/dist/cjs/createAzureMapsProviders-b1fKbjhG.js +80 -0
- package/dist/cjs/custom-button.cjs.entry.js +1 -1
- package/dist/cjs/date-time-renderer_9.cjs.entry.js +21 -21
- package/dist/cjs/feature-details-card_2.cjs.entry.js +5 -5
- package/dist/cjs/file-upload_2.cjs.entry.js +5 -5
- package/dist/cjs/filter-conditions_7.cjs.entry.js +7 -7
- package/dist/cjs/{form-metadata-display_10.cjs.entry.js → form-metadata-display_9.cjs.entry.js} +6 -65
- package/dist/cjs/icon-grid.cjs.entry.js +1 -1
- package/dist/cjs/index-G1ccGqOs.js +30 -26
- package/dist/cjs/index.cjs.js +4 -80
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logical-search-indicator.cjs.entry.js +1 -1
- package/dist/cjs/map-component_2.cjs.entry.js +2 -2
- package/dist/cjs/primary-action-header_2.cjs.entry.js +4 -4
- package/dist/cjs/question-configs-renderer_4.cjs.entry.js +15 -15
- package/dist/cjs/resource-timeline-calendar.cjs.entry.js +1 -1
- package/dist/cjs/resource-timeline-primary-bar.cjs.entry.js +3 -3
- package/dist/cjs/search-method-grid.cjs.entry.js +4 -3
- package/dist/cjs/{searchObject-DeDFFGcx.js → searchObject-mbqgqdRh.js} +1 -0
- package/dist/cjs/{searchObjectHelper-a5QztNDL.js → searchObjectHelper-DYpPEIzz.js} +1 -1
- package/dist/cjs/server-side-grid.cjs.entry.js +1 -1
- package/dist/cjs/side-sheet-container.cjs.entry.js +1 -1
- package/dist/cjs/simple-card.cjs.entry.js +1 -1
- package/dist/cjs/status-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/stencil-chip.cjs.entry.js +2 -2
- package/dist/cjs/stencil-library.cjs.js +1 -1
- package/dist/cjs/stencil-toggle.cjs.entry.js +4 -4
- package/dist/cjs/text-field_2.cjs.entry.js +7 -7
- package/dist/cjs/types-mjOM5U2F.js +49 -0
- package/dist/cjs/udp-adornment.cjs.entry.js +1 -1
- package/dist/cjs/udp-advanced-search-builder.cjs.entry.js +2 -2
- package/dist/cjs/udp-advanced-search-filter-group.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-area-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-bar-chart_4.cjs.entry.js +5 -5
- package/dist/cjs/udp-ag-bubble-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-combo-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-donut-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-line-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-pie-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-scatter-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-attachment-item_2.cjs.entry.js +1 -1
- package/dist/cjs/udp-attachment-list.cjs.entry.js +1 -1
- package/dist/cjs/udp-bar-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-base.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-day.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-month.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-week.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-year.cjs.entry.js +1 -1
- package/dist/cjs/udp-card-action-area.cjs.entry.js +1 -1
- package/dist/cjs/udp-card_6.cjs.entry.js +7 -7
- package/dist/cjs/udp-charts-example.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query-grid.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query.cjs.entry.js +2 -2
- package/dist/cjs/udp-container.cjs.entry.js +2 -2
- package/dist/cjs/udp-dynamic-container-with-menu.cjs.entry.js +1 -1
- package/dist/cjs/udp-dynamic-form.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-file-input.cjs.entry.js +4 -4
- package/dist/cjs/udp-fluent-image.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-inline-edit_6.cjs.entry.js +4498 -0
- package/dist/cjs/udp-fluent-link.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-list-input.cjs.entry.js +46 -0
- package/dist/cjs/udp-fluent-list-item_2.cjs.entry.js +322 -0
- package/dist/cjs/udp-fluent-location-input.cjs.entry.js +3 -3
- package/dist/cjs/udp-fluent-number-input.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-signature-input.cjs.entry.js +5 -5
- package/dist/cjs/udp-fluent-table-input.cjs.entry.js +347 -0
- package/dist/cjs/udp-forms-builder-style-override.cjs.entry.js +1 -1
- package/dist/cjs/udp-forms-follow-up-list-card.cjs.entry.js +2 -2
- package/dist/cjs/udp-forms-list-card.cjs.entry.js +4 -4
- package/dist/cjs/udp-forms-list.cjs.entry.js +1 -1
- package/dist/cjs/udp-forms-renderer.cjs.entry.js +3 -3
- package/dist/cjs/udp-kpi-card.cjs.entry.js +1 -1
- package/dist/cjs/udp-kpi-cards.cjs.entry.js +2 -2
- package/dist/cjs/udp-map.cjs.entry.js +3 -3
- package/dist/cjs/udp-menu.cjs.entry.js +1 -1
- package/dist/cjs/udp-page.cjs.entry.js +1 -1
- package/dist/cjs/udp-question-form-builder.cjs.entry.js +2376 -0
- package/dist/cjs/udp-question-tally-adapter.cjs.entry.js +138 -0
- package/dist/cjs/udp-sankey-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-skeleton-loading.cjs.entry.js +1 -1
- package/dist/cjs/udp-split-screen.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-actions.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-content.cjs.entry.js +2 -2
- package/dist/cjs/udp-stepper-demo.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-nav.cjs.entry.js +1 -1
- package/dist/cjs/udp-tab.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-connector.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-dot.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/udp-timeline-separator.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline.cjs.entry.js +1 -1
- package/dist/cjs/udp-xy-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-xy-multi-series-chart.cjs.entry.js +1 -1
- package/dist/cjs/{udpOperatorHelper-MusjN9iI.js → udpOperatorHelper-r6cQBK8k.js} +1 -1
- package/dist/collection/__mocks__/jest-setup.js +10 -0
- package/dist/collection/collection-manifest.json +10 -3
- package/dist/collection/components/advanced-search/advanced-search-grouped.js +2 -2
- package/dist/collection/components/advanced-search/advanced-search.js +2 -2
- package/dist/collection/components/advanced-search/filter-conditions/filter-conditions.js +5 -1
- package/dist/collection/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.js +5 -1
- package/dist/collection/components/attachment-list/udp-attachment-item.js +4 -0
- package/dist/collection/components/attachment-list/udp-attachment-list.js +5 -1
- package/dist/collection/components/buttons/icon-button/function-button/udp-function-button.js +1 -1
- package/dist/collection/components/buttons/icon-button/primary-button/custom-button.js +1 -1
- package/dist/collection/components/buttons/icon-button/radio-button/udp-radio-button.js +5 -1
- package/dist/collection/components/buttons/icon-button/stencil-icon-button-grid-action-header.js +4 -0
- package/dist/collection/components/buttons/udp-button/udp-button.js +4 -1
- package/dist/collection/components/calendar/udp-calendar-base.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-day.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-month.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-week.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-year.js +1 -1
- package/dist/collection/components/charts/chart-kpi/chart-kpi.js +1 -1
- package/dist/collection/components/charts/udp-ag-area-chart/udp-ag-area-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-bar-chart/udp-ag-bar-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-bubble-chart/udp-ag-bubble-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-combo-chart/udp-ag-combo-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-donut-chart/udp-ag-donut-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-line-chart/udp-ag-line-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-pie-chart/udp-ag-pie-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-scatter-chart/udp-ag-scatter-chart.js +2 -2
- package/dist/collection/components/charts/udp-bar-chart/udp-bar-chart.js +1 -1
- package/dist/collection/components/charts/udp-charts-example.js +4 -1
- package/dist/collection/components/charts/udp-distribution-chart/udp-distribution-chart.js +1 -1
- package/dist/collection/components/charts/udp-donut-chart/udp-donut-chart.js +1 -1
- package/dist/collection/components/charts/udp-line-chart/udp-line-chart.js +1 -1
- package/dist/collection/components/charts/udp-sankey-chart/udp-sankey-chart.js +1 -1
- package/dist/collection/components/charts/udp-xy-chart/udp-xy-chart.js +1 -1
- package/dist/collection/components/charts/udp-xy-multi-series-chart/udp-xy-multi-series-chart.js +1 -1
- package/dist/collection/components/data-display/adornment/udp-adornment/udp-adornment.js +5 -1
- package/dist/collection/components/data-display/badge/udp-badge.js +5 -1
- package/dist/collection/components/data-display/cards/udp-ambient-card/udp-ambient-card.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-content/udp-card-content.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-header/udp-card-header.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-media/udp-card-media.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card.js +7 -3
- package/dist/collection/components/data-display/chips/stencil-chip/status-chip/status-chip.js +1 -1
- package/dist/collection/components/data-display/chips/stencil-chip/stencil-chip.js +2 -2
- package/dist/collection/components/data-display/chips/udp-chip.js +4 -1
- package/dist/collection/components/data-display/divider/udp-divider.js +5 -1
- package/dist/collection/components/data-display/empty-state-display/udp-empty-state-display.js +5 -1
- package/dist/collection/components/data-display/headers/udp-column-header.js +5 -1
- package/dist/collection/components/data-display/headers/udp-page-header/udp-page-header.js +5 -1
- package/dist/collection/components/data-display/hint-panel/hint-panel.js +5 -1
- package/dist/collection/components/data-display/kpi/kpi-list.js +1 -1
- package/dist/collection/components/data-display/kpi/udp-kpi-card.js +1 -1
- package/dist/collection/components/data-display/kpi/udp-kpi-cards.js +2 -2
- package/dist/collection/components/data-display/list-item/list-item.js +2 -2
- package/dist/collection/components/data-display/list-renderer/udp-list-renderer.js +4 -0
- package/dist/collection/components/data-display/pop-over/udp-pop-over.js +5 -1
- package/dist/collection/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js +5 -1
- package/dist/collection/components/data-display/primary-action-header/primary-action-header.js +6 -2
- package/dist/collection/components/data-display/simple-card/simple-card.js +5 -1
- package/dist/collection/components/data-display/tool-tip/udp-ambient-tool-tip.js +6 -2
- package/dist/collection/components/data-display/tree/tree-list-item/search-item/search-list-item.js +5 -1
- package/dist/collection/components/data-display/tree/tree-list-item/tree-list-item.js +4 -0
- package/dist/collection/components/data-display/udp-avatar/udp-avatar.js +5 -1
- package/dist/collection/components/dialogs/udp-dialog.js +5 -1
- package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.js +12 -9
- package/dist/collection/components/feedback/udp-notification/alerts/upd-alert-banner.js +5 -1
- package/dist/collection/components/feedback/udp-notification/udp-notification.js +6 -2
- package/dist/collection/components/fluent-ui/accordion/udp-accordion.css +42 -0
- package/dist/collection/components/fluent-ui/accordion/udp-accordion.js +34 -2
- package/dist/collection/components/fluent-ui/autocomplete/udp-autocomplete.js +8 -8
- package/dist/collection/components/fluent-ui/avatar/udp-fluent-avatar.js +7 -2
- package/dist/collection/components/fluent-ui/badge/udp-fluent-badge.js +1 -1
- package/dist/collection/components/fluent-ui/button/udp-fluent-button.js +1 -1
- package/dist/collection/components/fluent-ui/card/udp-fluent-card.js +3 -3
- package/dist/collection/components/fluent-ui/checkbox/udp-fluent-checkbox.js +3 -1
- package/dist/collection/components/fluent-ui/compound-button/udp-compound-button.js +1 -1
- package/dist/collection/components/fluent-ui/counter-badge/udp-fluent-counter-badge.js +1 -1
- package/dist/collection/components/fluent-ui/date-time-input/udp-date-time-input.js +1 -1
- package/dist/collection/components/fluent-ui/dialog/udp-fluent-dialog.js +3 -1
- package/dist/collection/components/fluent-ui/divider/udp-fluent-divider.js +1 -1
- package/dist/collection/components/fluent-ui/drawer/udp-fluent-drawer.js +14 -1
- package/dist/collection/components/fluent-ui/dropdown/udp-fluent-dropdown.js +8 -8
- package/dist/collection/components/fluent-ui/empty-state/udp-empty-state.js +1 -1
- package/dist/collection/components/fluent-ui/file-input/udp-fluent-file-input.js +4 -4
- package/dist/collection/components/fluent-ui/icon/icon-grid/icon-grid.js +1 -1
- package/dist/collection/components/fluent-ui/icon/udp-fluent-icon.js +3 -1
- package/dist/collection/components/fluent-ui/icon-button/udp-fluent-icon-button.js +3 -1
- package/dist/collection/components/fluent-ui/image/udp-fluent-image.js +6 -1
- package/dist/collection/components/fluent-ui/inline-edit/udp-fluent-inline-edit.js +1 -1
- package/dist/collection/components/fluent-ui/link/udp-fluent-link.js +1 -1
- package/dist/collection/components/fluent-ui/list/udp-list.js +1 -1
- package/dist/collection/components/fluent-ui/list-input/udp-fluent-list-input.css +29 -0
- package/dist/collection/components/fluent-ui/list-input/udp-fluent-list-input.js +295 -0
- package/dist/collection/components/fluent-ui/list-item/udp-list-item.js +2 -2
- package/dist/collection/components/fluent-ui/location-input/udp-fluent-location-input.js +3 -3
- package/dist/collection/components/fluent-ui/message-bar/udp-message-bar.css +11 -0
- package/dist/collection/components/fluent-ui/message-bar/udp-message-bar.js +11 -1
- package/dist/collection/components/fluent-ui/number-input/udp-fluent-number-input.js +1 -1
- package/dist/collection/components/fluent-ui/popover/udp-popover.js +4 -4
- package/dist/collection/components/fluent-ui/progress-bar/udp-progress-bar.js +1 -1
- package/dist/collection/components/fluent-ui/radio-group/udp-fluent-radio-group.js +1 -1
- package/dist/collection/components/fluent-ui/search-input/udp-search-input.js +3 -3
- package/dist/collection/components/fluent-ui/signature-input/udp-fluent-signature-input.css +12 -0
- package/dist/collection/components/fluent-ui/signature-input/udp-fluent-signature-input.js +4 -4
- package/dist/collection/components/fluent-ui/slider/udp-slider.js +1 -1
- package/dist/collection/components/fluent-ui/spinner/udp-spinner.js +1 -1
- package/dist/collection/components/fluent-ui/swatch-picker/udp-swatch-picker.js +1 -1
- package/dist/collection/components/fluent-ui/switch/udp-fluent-switch.js +3 -1
- package/dist/collection/components/fluent-ui/table-input/udp-fluent-table-input.css +43 -0
- package/dist/collection/components/fluent-ui/table-input/udp-fluent-table-input.js +599 -0
- package/dist/collection/components/fluent-ui/table-input/udp-fluent-table-input.types.js +1 -0
- package/dist/collection/components/fluent-ui/text/udp-text.js +1 -1
- package/dist/collection/components/fluent-ui/text-input/udp-fluent-text-input.js +2 -2
- package/dist/collection/components/fluent-ui/textarea/udp-textarea.js +2 -2
- package/dist/collection/components/fluent-ui/time-input/udp-time-input.js +1 -1
- package/dist/collection/components/fluent-ui/toggle-button/udp-fluent-toggle-button.js +1 -1
- package/dist/collection/components/fluent-ui/tooltip/udp-tooltip.js +4 -2
- package/dist/collection/components/fluent-ui/tree/udp-tree.js +1 -1
- package/dist/collection/components/forms/dynamic-form/udp-dynamic-form.js +1 -1
- package/dist/collection/components/forms/edit-view-form/edit-view-form.js +2 -2
- package/dist/collection/components/forms/form/stencil-form.js +1 -1
- package/dist/collection/components/forms/save-view-form/save-view-form.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-question-item/udp-forms-builder-question-item.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.js +4 -4
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.js +3 -3
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js +3 -3
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/location-renderer/location-renderer.js +6 -6
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js +7 -7
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/section-configs-renderer/section-configs-renderer.js +4 -4
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/table-columns-renderer/table-columns-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 +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-style-override/udp-forms-builder-style-override.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js +4 -4
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list.js +1 -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 +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-question/table-input/table-input.js +1 -1
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/assert.js +31 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixture.types.js +1 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/checkbox.fixtures.js +189 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/date-selector.fixtures.js +173 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/date-time-selector.fixtures.js +155 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/dropdown-multiple-select.fixtures.js +180 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/dropdown-single-select.fixtures.js +136 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/file-upload.fixtures.js +184 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/form-metadata-display.fixtures.js +104 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/hidden.fixtures.js +133 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/image-upload.fixtures.js +122 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/list-multi-select.fixtures.js +137 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/location-additional.fixtures.js +119 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/location-default-location.fixture.js +164 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/location-required.fixture.js +84 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/multi-line-text.fixtures.js +148 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/number.fixtures.js +173 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/paragraph.fixtures.js +93 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/radio-button.fixtures.js +141 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/signature.fixtures.js +168 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/single-line-text.fixtures.js +153 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/table.fixtures.js +97 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/tally.fixtures.js +125 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/time-selector.fixtures.js +175 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/yes-no.fixtures.js +190 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/harness-dom.js +158 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/harness.js +55 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/add-question-drawer-content.js +12 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/configure-question-drawer.js +33 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/form-structure-sidebar.js +87 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/preview-pane.js +15 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/GenericQuestionConfig.js +76 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/ValidationRulesSection.js +75 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/index.js +3 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/FileUploadConfig.js +4 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/FormMetadataDisplayConfig.js +4 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/ListOptionsConfig.js +124 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/LocationConfig.js +21 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/ParagraphConfig.js +4 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/SignatureConfig.js +4 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/TableConfig.js +153 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/TallyConfig.js +59 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/index.js +45 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/types.js +1 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.css +140 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.js +299 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/utils/configValues.js +28 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/utils/dateTimeFormat.js +26 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/utils/index.js +3 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/utils/sortableRef.js +41 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/section-card.js +19 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/section-edit-drawer-content.js +36 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/section-question-item.js +43 -0
- package/dist/collection/components/forms/udp-question-form/builder/config/constants.js +15 -0
- package/dist/collection/components/forms/udp-question-form/builder/config/index.js +1 -0
- package/dist/collection/components/forms/udp-question-form/builder/form-item-types/index.js +2 -0
- package/dist/collection/components/forms/udp-question-form/builder/form-item-types/registry.js +13 -0
- package/dist/collection/components/forms/udp-question-form/builder/form-item-types/templates.js +315 -0
- package/dist/collection/components/forms/udp-question-form/builder/form-item-types/types.js +1 -0
- package/dist/collection/components/forms/udp-question-form/builder/form-item-types/validation.js +127 -0
- package/dist/collection/components/forms/udp-question-form/builder/udp-question-form-builder.css +361 -0
- package/dist/collection/components/forms/udp-question-form/builder/udp-question-form-builder.js +1382 -0
- package/dist/collection/components/forms/udp-question-form/builder/utils/builder-api.js +119 -0
- package/dist/collection/components/forms/udp-question-form/builder/utils/form-versions.js +20 -0
- package/dist/collection/components/forms/udp-question-form/builder/utils/question-template.js +63 -0
- package/dist/collection/components/forms/udp-question-form/core/choice-options.js +17 -0
- package/dist/collection/components/forms/udp-question-form/core/defaults.js +63 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/common-keys.js +15 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/engine.js +179 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/index.js +2 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/checkbox.js +24 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/date-selector.js +27 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/date-time-selector.js +35 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/dropdown-multiple-select.js +24 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/dropdown-single-select.js +22 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/file-upload.js +12 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/form-metadata-display.js +11 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/hidden.js +10 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/image-upload.js +10 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/list-multi-select.js +24 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/location.js +30 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/multi-line-text.js +9 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/number.js +17 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/paragraph.js +11 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/radio-button.js +22 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/signature.js +9 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/single-line-text.js +13 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.js +20 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/tally.js +19 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/time-selector.js +25 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/yes-no.js +14 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/registry.js +64 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/toggles.js +20 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/types.js +1 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties.js +1 -0
- package/dist/collection/components/forms/udp-question-form/core/index.js +8 -0
- package/dist/collection/components/forms/udp-question-form/core/parse.js +154 -0
- package/dist/collection/components/forms/udp-question-form/core/serialize.js +66 -0
- package/dist/collection/components/forms/udp-question-form/core/slot-index.js +40 -0
- package/dist/collection/components/forms/udp-question-form/core/types.js +45 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/consistency.js +63 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/emptiness.js +33 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/engine.js +94 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/index.js +15 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/intrinsic.js +81 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/registry.js +81 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/age.js +16 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/index.js +55 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/integer-only.js +26 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-age.js +52 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-date-time.js +34 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-date.js +24 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-decimal-places.js +67 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-length.js +38 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-rows.js +53 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-selections.js +50 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-time.js +29 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-value.js +34 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-age.js +54 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-date-time.js +34 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-date.js +24 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-length.js +40 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-rows.js +58 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-selections.js +55 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-time.js +31 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-value.js +36 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/must-be-yes.js +23 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/no-future-date-time.js +32 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/no-future-date.js +31 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/no-past-date-time.js +26 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/no-past-date.js +27 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/pattern.js +65 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/required.js +44 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/step.js +47 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/types.js +1 -0
- package/dist/collection/components/forms/udp-question-form/follow-up-forms-api.js +74 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/codecs.js +456 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/comments-api.js +36 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/comments-state.js +184 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/dynamic-sections.js +198 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/follow-up-forms.js +176 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/index.js +13 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/initial-values.js +68 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/parse.js +103 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/progress.js +44 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/serialize-submission.js +107 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/submit.js +82 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/types.js +13 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/url-seed.js +90 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/validate-submission.js +50 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/wire-adapter.js +37 -0
- package/dist/collection/components/forms/udp-question-form/renderer/udp-question-form-renderer.css +488 -0
- package/dist/collection/components/forms/udp-question-form/renderer/udp-question-form-renderer.js +1801 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/adapters/udp-question-tally-adapter.js +306 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/avatar.js +26 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/comment-item.js +28 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/comment-thread.js +30 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/follow-up-picker-dialog.js +32 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/form-shell.js +154 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/index.js +6 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/question-renderer.js +352 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/question-view-renderer.js +306 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/section-card.js +39 -0
- package/dist/collection/components/forms/udp-question-form/renderer/url.js +51 -0
- package/dist/collection/components/forms/udp-question-form/version-drawer/udp-form-version-drawer.js +136 -0
- package/dist/collection/components/grid/ag-table/ag-table.js +5 -1
- package/dist/collection/components/grid/ambient-template-grid/ambient-template-grid.js +16 -16
- package/dist/collection/components/grid/grid-primary-bar/grid-primary-bar.js +6 -2
- package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +5 -1
- package/dist/collection/components/grid/new-grid/ag-grid-base.js +2 -1
- package/dist/collection/components/grid/new-grid/api-method-instance-grid.js +2 -2
- package/dist/collection/components/grid/new-grid/client-side-grid.js +1 -1
- package/dist/collection/components/grid/new-grid/grid-header.css +18 -0
- package/dist/collection/components/grid/new-grid/grid-header.js +8 -1
- package/dist/collection/components/grid/new-grid/gridFunctionRegistry.js +2 -0
- package/dist/collection/components/grid/new-grid/gridFunctions/columnSelector.js +145 -0
- package/dist/collection/components/grid/new-grid/helperFunctions/buildSearchObject.js +1 -0
- package/dist/collection/components/grid/new-grid/search-method-grid.js +1 -1
- package/dist/collection/components/grid/new-grid/server-side-grid.js +1 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js +1 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +3 -3
- package/dist/collection/components/inputs/address-search/address-search.js +7 -3
- package/dist/collection/components/inputs/checkbox/check-box.js +5 -2
- package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js +2 -2
- package/dist/collection/components/inputs/date-selector/udp-date-selector.js +6 -3
- package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +6 -3
- package/dist/collection/components/inputs/file-upload/file-upload.js +7 -4
- package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +4 -1
- package/dist/collection/components/inputs/image-upload/image-upload.js +4 -1
- package/dist/collection/components/inputs/location-input/location-input.js +4 -0
- package/dist/collection/components/inputs/numeric-field/numeric-field.js +6 -3
- package/dist/collection/components/inputs/selectable-list/selectable-list.js +3 -0
- package/dist/collection/components/inputs/signature-input/signature-input.js +6 -2
- package/dist/collection/components/inputs/tally/tally.js +5 -2
- package/dist/collection/components/inputs/text-area/text-area.js +6 -3
- package/dist/collection/components/inputs/text-field/text-field.js +6 -3
- package/dist/collection/components/inputs/time-selector/udp-time-selector.js +6 -3
- package/dist/collection/components/inputs/toggle/stencil-toggle.js +4 -4
- package/dist/collection/components/inputs/udp-selector/udp-selector.js +7 -4
- package/dist/collection/components/layout/primary-action-header/udp-primary-action-header.css +1 -1
- package/dist/collection/components/layout/primary-action-header/udp-primary-action-header.js +3 -3
- package/dist/collection/components/layout/udp-container/udp-container.js +2 -2
- package/dist/collection/components/layout/udp-container-query/udp-container-query.js +2 -2
- package/dist/collection/components/layout/udp-container-query-grid/udp-container-query-grid.js +1 -1
- package/dist/collection/components/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +1 -1
- package/dist/collection/components/layout/udp-page/udp-page.js +1 -1
- package/dist/collection/components/layout/udp-sidebar-layout/udp-sidebar-layout.js +2 -2
- package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js +1 -1
- package/dist/collection/components/layout/udp-vertical-spacer.js +1 -1
- package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js +6 -2
- package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +5 -1
- package/dist/collection/components/loaders/udp-skeleton-loading.js +5 -1
- package/dist/collection/components/map/udp-map/map-component.js +1 -1
- package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js +3 -3
- package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -4
- package/dist/collection/components/map/udp-map/popups/feature-details-popup.js +1 -1
- package/dist/collection/components/map/udp-map/popups/select-layer-popup.js +2 -2
- package/dist/collection/components/map/udp-map/popups/split-line-popup.js +1 -1
- package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js +6 -6
- package/dist/collection/components/map/udp-map/udp-map-toolbar.js +1 -1
- package/dist/collection/components/map/udp-map/udp-map.js +3 -3
- package/dist/collection/components/menu/menu-item/udp-menu-item.js +1 -1
- package/dist/collection/components/menu/udp-menu.js +5 -1
- package/dist/collection/components/navigation/pagination/udp-pagination.js +4 -0
- package/dist/collection/components/navigation/udp-link/udp-link.js +4 -0
- package/dist/collection/components/new-form/field/udp-field.js +81 -27
- package/dist/collection/components/new-form/form/udp-form-component.js +322 -27
- package/dist/collection/components/new-form/validators.js +13 -5
- package/dist/collection/components/stepper/udp-stepper-actions/udp-stepper-actions.js +1 -1
- package/dist/collection/components/stepper/udp-stepper-content/udp-stepper-content.js +2 -2
- package/dist/collection/components/stepper/udp-stepper-demo.js +5 -1
- package/dist/collection/components/stepper/udp-stepper-nav/udp-stepper-nav.js +1 -1
- package/dist/collection/components/tabs/tab/tabs/udp-tabs.js +6 -2
- package/dist/collection/components/tabs/tab/udp-tab.js +5 -1
- package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +1 -1
- package/dist/collection/components/timeline/udp-timeline-connector.js +1 -1
- package/dist/collection/components/timeline/udp-timeline-dot.js +1 -1
- package/dist/collection/components/timeline/udp-timeline-item.js +2 -2
- package/dist/collection/components/timeline/udp-timeline-separator.js +1 -1
- package/dist/collection/components/timeline/udp-timeline.js +1 -1
- package/dist/collection/components/toolbars/app-bar/app-bar.js +5 -1
- package/dist/collection/components/unity-typography/unity-typography.js +4 -0
- package/dist/collection/components/util/ghost-render/ghost-render.js +1 -1
- package/dist/collection/components/util/lazy-loader/udp-lazy-loader.js +1 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet-container.js +1 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet.js +1 -1
- package/dist/collection/test-pages/test-components-page.js +28 -28
- package/dist/collection/test-pages/test-form.js +4 -4
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -2
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -1
- package/dist/collection/udp-utilities/location/getCachedAzureMapsProviders.js +18 -0
- package/dist/collection/udp-utilities/search/searchObject.js +1 -0
- package/dist/components/add-map-feature-popup2.js +1 -1
- package/dist/components/address-search2.js +1 -1
- package/dist/components/advanced-search-grouped2.js +1 -1
- package/dist/components/advanced-search2.js +1 -1
- package/dist/components/ag-grid-base2.js +1 -1
- package/dist/components/ag-table2.js +1 -1
- package/dist/components/ambient-template-grid.js +1 -1
- package/dist/components/api-method-instance-grid.js +1 -1
- package/dist/components/app-bar.js +1 -1
- package/dist/components/chart-kpi2.js +1 -1
- package/dist/components/check-box.js +1 -1
- package/dist/components/chip-section.js +1 -1
- package/dist/components/client-side-grid2.js +1 -1
- package/dist/components/createAzureMapsProviders.js +1 -0
- package/dist/components/custom-button2.js +1 -1
- package/dist/components/edit-view-form.js +1 -1
- package/dist/components/feature-details-card2.js +1 -1
- package/dist/components/feature-details-popup2.js +1 -1
- package/dist/components/file-upload-renderer2.js +1 -1
- package/dist/components/file-upload2.js +1 -1
- package/dist/components/filter-conditions2.js +1 -1
- package/dist/components/form-metadata-display-renderer2.js +1 -1
- package/dist/components/form-metadata-display2.js +1 -1
- package/dist/components/getCachedAzureMapsProviders.js +1 -0
- package/dist/components/ghost-render2.js +1 -1
- package/dist/components/grid-header2.js +1 -1
- package/dist/components/grid-primary-bar2.js +1 -1
- package/dist/components/hint-panel2.js +1 -1
- package/dist/components/icon-grid.js +1 -1
- package/dist/components/image-upload2.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/kpi-list2.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/list-options-renderer2.js +1 -1
- package/dist/components/location-renderer2.js +1 -1
- package/dist/components/logical-search-indicator.js +1 -1
- package/dist/components/map-component2.js +1 -1
- package/dist/components/map-toolbar2.js +1 -1
- package/dist/components/numeric-field2.js +1 -1
- package/dist/components/primary-action-header2.js +1 -1
- package/dist/components/question-configs-renderer2.js +1 -1
- package/dist/components/resource-timeline-calendar.js +1 -1
- package/dist/components/resource-timeline-primary-bar2.js +1 -1
- package/dist/components/save-view-form.js +1 -1
- package/dist/components/search-list-item2.js +1 -1
- package/dist/components/search-method-grid2.js +1 -1
- package/dist/components/searchObject.js +1 -1
- package/dist/components/section-configs-renderer2.js +1 -1
- package/dist/components/select-layer-popup2.js +1 -1
- package/dist/components/server-side-grid2.js +1 -1
- package/dist/components/side-sheet-container2.js +1 -1
- package/dist/components/side-sheet2.js +1 -1
- package/dist/components/signature-input2.js +1 -1
- package/dist/components/signature-renderer2.js +1 -1
- package/dist/components/simple-card.js +1 -1
- package/dist/components/split-line-popup2.js +1 -1
- package/dist/components/status-chip2.js +1 -1
- package/dist/components/stencil-chip2.js +1 -1
- package/dist/components/stencil-form2.js +1 -1
- package/dist/components/stencil-toggle2.js +1 -1
- package/dist/components/table-columns-renderer2.js +1 -1
- package/dist/components/table-input2.js +1 -1
- package/dist/components/tally.js +1 -1
- package/dist/components/test-components-page.js +1 -1
- package/dist/components/test-form2.js +1 -1
- package/dist/components/text-area2.js +1 -1
- package/dist/components/text-field2.js +1 -1
- package/dist/components/text-input-renderer2.js +1 -1
- package/dist/components/types.js +1 -0
- package/dist/components/udp-accordion2.js +1 -1
- package/dist/components/udp-adornment2.js +1 -1
- package/dist/components/udp-ag-area-chart.js +1 -1
- package/dist/components/udp-ag-bar-chart2.js +1 -1
- package/dist/components/udp-ag-bubble-chart.js +1 -1
- package/dist/components/udp-ag-combo-chart.js +1 -1
- package/dist/components/udp-ag-donut-chart.js +1 -1
- package/dist/components/udp-ag-line-chart.js +1 -1
- package/dist/components/udp-ag-pie-chart.js +1 -1
- package/dist/components/udp-ag-scatter-chart.js +1 -1
- package/dist/components/udp-ambient-card2.js +1 -1
- package/dist/components/udp-ambient-tool-tip2.js +1 -1
- package/dist/components/udp-attachment-list.js +1 -1
- package/dist/components/udp-autocomplete2.js +1 -1
- package/dist/components/udp-avatar2.js +1 -1
- package/dist/components/udp-badge2.js +1 -1
- package/dist/components/udp-bar-chart.js +1 -1
- package/dist/components/udp-button2.js +1 -1
- package/dist/components/udp-calendar-base2.js +1 -1
- package/dist/components/udp-calendar-day.js +1 -1
- package/dist/components/udp-calendar-month.js +1 -1
- package/dist/components/udp-calendar-week.js +1 -1
- package/dist/components/udp-calendar-year.js +1 -1
- package/dist/components/udp-card-action-area.js +1 -1
- package/dist/components/udp-card-actions2.js +1 -1
- package/dist/components/udp-card-content2.js +1 -1
- package/dist/components/udp-card-header2.js +1 -1
- package/dist/components/udp-card-media2.js +1 -1
- package/dist/components/udp-card2.js +1 -1
- package/dist/components/udp-charts-example.js +1 -1
- package/dist/components/udp-chip2.js +1 -1
- package/dist/components/udp-column-header2.js +1 -1
- package/dist/components/udp-compound-button2.js +1 -1
- package/dist/components/udp-container-query-grid-item.js +1 -1
- package/dist/components/udp-container-query-grid.js +1 -1
- package/dist/components/udp-container-query2.js +1 -1
- package/dist/components/udp-container2.js +1 -1
- package/dist/components/udp-date-range-selector2.js +1 -1
- package/dist/components/udp-date-selector2.js +1 -1
- package/dist/components/udp-date-time-input2.js +1 -1
- package/dist/components/udp-datetime-selector2.js +1 -1
- package/dist/components/udp-dialog2.js +1 -1
- package/dist/components/udp-distribution-chart2.js +1 -1
- package/dist/components/udp-divider2.js +1 -1
- package/dist/components/udp-donut-chart2.js +1 -1
- package/dist/components/udp-dynamic-container-with-menu2.js +1 -1
- package/dist/components/udp-dynamic-form.js +1 -1
- package/dist/components/udp-empty-state-display2.js +1 -1
- package/dist/components/udp-empty-state2.js +1 -1
- package/dist/components/udp-field2.js +1 -1
- package/dist/components/udp-fluent-avatar2.js +1 -1
- package/dist/components/udp-fluent-badge2.js +1 -1
- package/dist/components/udp-fluent-button2.js +1 -1
- package/dist/components/udp-fluent-card2.js +1 -1
- package/dist/components/udp-fluent-checkbox2.js +1 -1
- package/dist/components/udp-fluent-counter-badge2.js +1 -1
- package/dist/components/udp-fluent-dialog2.js +1 -1
- package/dist/components/udp-fluent-divider2.js +1 -1
- package/dist/components/udp-fluent-drawer2.js +1 -1
- package/dist/components/udp-fluent-dropdown2.js +1 -1
- package/dist/components/udp-fluent-file-input.js +1 -1
- package/dist/components/udp-fluent-icon-button2.js +1 -1
- package/dist/components/udp-fluent-icon2.js +1 -1
- package/dist/components/udp-fluent-image.js +1 -1
- package/dist/components/udp-fluent-inline-edit.js +1 -1
- package/dist/components/udp-fluent-inline-edit2.js +1 -0
- package/dist/components/udp-fluent-link.js +1 -1
- package/dist/components/udp-fluent-list-input.d.ts +11 -0
- package/dist/components/udp-fluent-list-input.js +2 -0
- package/dist/components/udp-fluent-list-item.js +1 -1
- package/dist/components/udp-fluent-location-input.js +1 -1
- package/dist/components/udp-fluent-number-input.js +1 -1
- package/dist/components/udp-fluent-radio-group2.js +1 -1
- package/dist/components/udp-fluent-signature-input.js +1 -1
- package/dist/components/udp-fluent-switch2.js +1 -1
- package/dist/components/udp-fluent-table-input.d.ts +11 -0
- package/dist/components/udp-fluent-table-input.js +2 -0
- package/dist/components/udp-fluent-text-input2.js +1 -1
- package/dist/components/udp-fluent-toggle-button2.js +1 -1
- package/dist/components/udp-form-component2.js +1 -1
- package/dist/components/udp-form-version-drawer.d.ts +11 -0
- package/dist/components/udp-form-version-drawer.js +2 -0
- package/dist/components/udp-form-version-drawer2.js +1 -0
- package/dist/components/udp-forms-builder-menu2.js +1 -1
- package/dist/components/udp-forms-builder-question-item2.js +1 -1
- package/dist/components/udp-forms-builder-style-override.js +1 -1
- package/dist/components/udp-forms-follow-up-list-card.js +1 -1
- package/dist/components/udp-forms-list-card2.js +1 -1
- package/dist/components/udp-forms-list.js +1 -1
- package/dist/components/udp-forms-renderer.js +1 -1
- package/dist/components/udp-function-button2.js +1 -1
- package/dist/components/udp-grid-loader2.js +1 -1
- package/dist/components/udp-hotlist-form2.js +1 -1
- package/dist/components/udp-kpi-card2.js +1 -1
- package/dist/components/udp-kpi-cards.js +1 -1
- package/dist/components/udp-lazy-loader2.js +1 -1
- package/dist/components/udp-line-chart2.js +1 -1
- package/dist/components/udp-linear-loader2.js +1 -1
- package/dist/components/udp-list-item2.js +1 -0
- package/dist/components/udp-list.js +1 -1
- package/dist/components/udp-list2.js +1 -0
- package/dist/components/udp-map-toolbar2.js +1 -1
- package/dist/components/udp-map.js +1 -1
- package/dist/components/udp-menu-item2.js +1 -1
- package/dist/components/udp-menu.js +1 -1
- package/dist/components/udp-message-bar2.js +1 -1
- package/dist/components/udp-notification2.js +1 -1
- package/dist/components/udp-page-header2.js +1 -1
- package/dist/components/udp-page.js +1 -1
- package/dist/components/udp-pop-over-grid-action-header2.js +1 -1
- package/dist/components/udp-pop-over2.js +1 -1
- package/dist/components/udp-popover2.js +1 -1
- package/dist/components/udp-primary-action-header2.js +1 -1
- package/dist/components/udp-progress-bar2.js +1 -1
- package/dist/components/udp-question-config-fluent.d.ts +11 -0
- package/dist/components/udp-question-config-fluent.js +2 -0
- package/dist/components/udp-question-config-fluent2.js +1 -0
- package/dist/components/udp-question-form-builder.d.ts +11 -0
- package/dist/components/udp-question-form-builder.js +2 -0
- package/dist/components/udp-question-form-renderer.d.ts +11 -0
- package/dist/components/udp-question-form-renderer.js +2 -0
- package/dist/components/udp-question-form-renderer2.js +1 -0
- package/dist/components/udp-question-tally-adapter.d.ts +11 -0
- package/dist/components/udp-question-tally-adapter.js +2 -0
- package/dist/components/udp-radio-button2.js +1 -1
- package/dist/components/udp-sankey-chart.js +1 -1
- package/dist/components/udp-search-input2.js +1 -1
- package/dist/components/udp-selector2.js +1 -1
- package/dist/components/udp-side-sheet2.js +1 -1
- package/dist/components/udp-sidebar-layout.js +1 -1
- package/dist/components/udp-sidebar-layout2.js +1 -0
- package/dist/components/udp-skeleton-loading2.js +1 -1
- package/dist/components/udp-slider2.js +1 -1
- package/dist/components/udp-spinner2.js +1 -1
- package/dist/components/udp-split-screen.js +1 -1
- package/dist/components/udp-stepper-actions.js +1 -1
- package/dist/components/udp-stepper-content.js +1 -1
- package/dist/components/udp-stepper-demo.js +1 -1
- package/dist/components/udp-stepper-nav.js +1 -1
- package/dist/components/udp-swatch-picker2.js +1 -1
- package/dist/components/udp-tab-panel2.js +1 -1
- package/dist/components/udp-tab.js +1 -1
- package/dist/components/udp-tabs2.js +1 -1
- package/dist/components/udp-text2.js +1 -1
- package/dist/components/udp-textarea2.js +1 -1
- package/dist/components/udp-time-input2.js +1 -1
- package/dist/components/udp-time-selector2.js +1 -1
- package/dist/components/udp-timeline-connector.js +1 -1
- package/dist/components/udp-timeline-dot.js +1 -1
- package/dist/components/udp-timeline-item.js +1 -1
- package/dist/components/udp-timeline-separator.js +1 -1
- package/dist/components/udp-timeline.js +1 -1
- package/dist/components/udp-tooltip2.js +1 -1
- package/dist/components/udp-tree2.js +1 -1
- package/dist/components/udp-vertical-spacer.js +1 -1
- package/dist/components/udp-vertical-spacer2.js +1 -0
- package/dist/components/udp-xy-chart2.js +1 -1
- package/dist/components/udp-xy-multi-series-chart.js +1 -1
- package/dist/components/upd-alert-banner2.js +1 -1
- package/dist/docs.json +4046 -371
- package/dist/esm/{SearchBuilder-DDfrKm8m.js → SearchBuilder-CPsWhOXB.js} +1 -1
- package/dist/esm/add-map-feature-popup_4.entry.js +12 -12
- package/dist/esm/address-search_6.entry.js +18 -18
- package/dist/esm/advanced-search_12.entry.js +18 -18
- package/dist/esm/ag-grid-base_65.entry.js +512 -174
- package/dist/esm/ambient-template-grid.entry.js +16 -16
- package/dist/esm/api-method-instance-grid.entry.js +4 -4
- package/dist/esm/app-bar.entry.js +1 -1
- package/dist/esm/{base-map_3.entry.js → base-map_4.entry.js} +59 -1
- package/dist/esm/chart-container_3.entry.js +2 -2
- package/dist/esm/check-box.entry.js +2 -2
- package/dist/esm/chip-section.entry.js +2 -2
- package/dist/esm/codecs-0Y96Q95P.js +2401 -0
- package/dist/esm/createAzureMapsProviders-CLLCmr8f.js +78 -0
- package/dist/esm/custom-button.entry.js +1 -1
- package/dist/esm/date-time-renderer_9.entry.js +21 -21
- package/dist/esm/feature-details-card_2.entry.js +5 -5
- package/dist/esm/file-upload_2.entry.js +5 -5
- package/dist/esm/filter-conditions_7.entry.js +7 -7
- package/dist/esm/{form-metadata-display_10.entry.js → form-metadata-display_9.entry.js} +7 -65
- package/dist/esm/icon-grid.entry.js +1 -1
- package/dist/esm/index-Cgpvu-iV.js +30 -26
- package/dist/esm/index.js +4 -80
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logical-search-indicator.entry.js +1 -1
- package/dist/esm/map-component_2.entry.js +2 -2
- package/dist/esm/primary-action-header_2.entry.js +4 -4
- package/dist/esm/question-configs-renderer_4.entry.js +15 -15
- package/dist/esm/resource-timeline-calendar.entry.js +1 -1
- package/dist/esm/resource-timeline-primary-bar.entry.js +3 -3
- package/dist/esm/search-method-grid.entry.js +4 -3
- package/dist/esm/{searchObject-CDJVsMG_.js → searchObject-DpUZkcYC.js} +1 -0
- package/dist/esm/{searchObjectHelper-CVNJDbDx.js → searchObjectHelper-BjA6OHxg.js} +1 -1
- package/dist/esm/server-side-grid.entry.js +1 -1
- package/dist/esm/side-sheet-container.entry.js +1 -1
- package/dist/esm/simple-card.entry.js +1 -1
- package/dist/esm/status-chip_2.entry.js +2 -2
- package/dist/esm/stencil-chip.entry.js +2 -2
- package/dist/esm/stencil-library.js +1 -1
- package/dist/esm/stencil-toggle.entry.js +4 -4
- package/dist/esm/text-field_2.entry.js +7 -7
- package/dist/esm/types-C9Z-dgvN.js +47 -0
- package/dist/esm/udp-adornment.entry.js +1 -1
- package/dist/esm/udp-advanced-search-builder.entry.js +2 -2
- package/dist/esm/udp-advanced-search-filter-group.entry.js +2 -2
- package/dist/esm/udp-ag-area-chart.entry.js +2 -2
- package/dist/esm/udp-ag-bar-chart_4.entry.js +5 -5
- package/dist/esm/udp-ag-bubble-chart.entry.js +2 -2
- package/dist/esm/udp-ag-combo-chart.entry.js +2 -2
- package/dist/esm/udp-ag-donut-chart.entry.js +2 -2
- package/dist/esm/udp-ag-line-chart.entry.js +2 -2
- package/dist/esm/udp-ag-pie-chart.entry.js +2 -2
- package/dist/esm/udp-ag-scatter-chart.entry.js +2 -2
- package/dist/esm/udp-attachment-item_2.entry.js +1 -1
- package/dist/esm/udp-attachment-list.entry.js +1 -1
- package/dist/esm/udp-bar-chart.entry.js +1 -1
- package/dist/esm/udp-calendar-base.entry.js +1 -1
- package/dist/esm/udp-calendar-day.entry.js +1 -1
- package/dist/esm/udp-calendar-month.entry.js +1 -1
- package/dist/esm/udp-calendar-week.entry.js +1 -1
- package/dist/esm/udp-calendar-year.entry.js +1 -1
- package/dist/esm/udp-card-action-area.entry.js +1 -1
- package/dist/esm/udp-card_6.entry.js +7 -7
- package/dist/esm/udp-charts-example.entry.js +1 -1
- package/dist/esm/udp-container-query-grid-item.entry.js +1 -1
- package/dist/esm/udp-container-query-grid.entry.js +1 -1
- package/dist/esm/udp-container-query.entry.js +2 -2
- package/dist/esm/udp-container.entry.js +2 -2
- package/dist/esm/udp-dynamic-container-with-menu.entry.js +1 -1
- package/dist/esm/udp-dynamic-form.entry.js +1 -1
- package/dist/esm/udp-fluent-file-input.entry.js +4 -4
- package/dist/esm/udp-fluent-image.entry.js +1 -1
- package/dist/esm/udp-fluent-inline-edit_6.entry.js +4487 -0
- package/dist/esm/udp-fluent-link.entry.js +1 -1
- package/dist/esm/udp-fluent-list-input.entry.js +44 -0
- package/dist/esm/udp-fluent-list-item_2.entry.js +319 -0
- package/dist/esm/udp-fluent-location-input.entry.js +3 -3
- package/dist/esm/udp-fluent-number-input.entry.js +1 -1
- package/dist/esm/udp-fluent-signature-input.entry.js +5 -5
- package/dist/esm/udp-fluent-table-input.entry.js +345 -0
- package/dist/esm/udp-forms-builder-style-override.entry.js +1 -1
- package/dist/esm/udp-forms-follow-up-list-card.entry.js +2 -2
- package/dist/esm/udp-forms-list-card.entry.js +4 -4
- package/dist/esm/udp-forms-list.entry.js +1 -1
- package/dist/esm/udp-forms-renderer.entry.js +3 -3
- package/dist/esm/udp-kpi-card.entry.js +1 -1
- package/dist/esm/udp-kpi-cards.entry.js +2 -2
- package/dist/esm/udp-map.entry.js +3 -3
- package/dist/esm/udp-menu.entry.js +1 -1
- package/dist/esm/udp-page.entry.js +1 -1
- package/dist/esm/udp-question-form-builder.entry.js +2370 -0
- package/dist/esm/udp-question-tally-adapter.entry.js +136 -0
- package/dist/esm/udp-sankey-chart.entry.js +1 -1
- package/dist/esm/udp-skeleton-loading.entry.js +1 -1
- package/dist/esm/udp-split-screen.entry.js +1 -1
- package/dist/esm/udp-stepper-actions.entry.js +1 -1
- package/dist/esm/udp-stepper-content.entry.js +2 -2
- package/dist/esm/udp-stepper-demo.entry.js +1 -1
- package/dist/esm/udp-stepper-nav.entry.js +1 -1
- package/dist/esm/udp-tab.entry.js +1 -1
- package/dist/esm/udp-timeline-connector.entry.js +1 -1
- package/dist/esm/udp-timeline-dot.entry.js +1 -1
- package/dist/esm/udp-timeline-item.entry.js +2 -2
- package/dist/esm/udp-timeline-separator.entry.js +1 -1
- package/dist/esm/udp-timeline.entry.js +1 -1
- package/dist/esm/udp-xy-chart.entry.js +1 -1
- package/dist/esm/udp-xy-multi-series-chart.entry.js +1 -1
- package/dist/esm/{udpOperatorHelper-Tmn9i7-P.js → udpOperatorHelper-CBSPgsN-.js} +1 -1
- package/dist/stencil-library/{SearchBuilder-DDfrKm8m.js → SearchBuilder-CPsWhOXB.js} +1 -1
- package/dist/stencil-library/add-map-feature-popup_4.entry.js +1 -1
- package/dist/stencil-library/address-search_6.entry.js +1 -1
- package/dist/stencil-library/advanced-search_12.entry.js +1 -1
- package/dist/stencil-library/ag-grid-base_65.entry.js +1 -1
- package/dist/stencil-library/ambient-template-grid.entry.js +1 -1
- package/dist/stencil-library/api-method-instance-grid.entry.js +1 -1
- package/dist/stencil-library/app-bar.entry.js +1 -1
- package/dist/stencil-library/{base-map_3.entry.js → base-map_4.entry.js} +1 -1
- package/dist/stencil-library/chart-container_3.entry.js +1 -1
- package/dist/stencil-library/check-box.entry.js +1 -1
- package/dist/stencil-library/chip-section.entry.js +1 -1
- package/dist/stencil-library/codecs-0Y96Q95P.js +1 -0
- package/dist/stencil-library/createAzureMapsProviders-CLLCmr8f.js +1 -0
- package/dist/stencil-library/custom-button.entry.js +1 -1
- package/dist/stencil-library/date-time-renderer_9.entry.js +1 -1
- package/dist/stencil-library/feature-details-card_2.entry.js +1 -1
- package/dist/stencil-library/file-upload_2.entry.js +1 -1
- package/dist/stencil-library/filter-conditions_7.entry.js +1 -1
- package/dist/stencil-library/{form-metadata-display_10.entry.js → form-metadata-display_9.entry.js} +1 -1
- package/dist/stencil-library/icon-grid.entry.js +1 -1
- package/dist/stencil-library/index.esm.js +1 -1
- package/dist/stencil-library/logical-search-indicator.entry.js +1 -1
- package/dist/stencil-library/map-component_2.entry.js +1 -1
- package/dist/stencil-library/primary-action-header_2.entry.js +1 -1
- package/dist/stencil-library/question-configs-renderer_4.entry.js +1 -1
- package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -1
- package/dist/stencil-library/resource-timeline-primary-bar.entry.js +1 -1
- package/dist/stencil-library/search-method-grid.entry.js +1 -1
- package/dist/stencil-library/searchObject-DpUZkcYC.js +1 -0
- package/dist/stencil-library/{searchObjectHelper-CVNJDbDx.js → searchObjectHelper-BjA6OHxg.js} +1 -1
- package/dist/stencil-library/server-side-grid.entry.js +1 -1
- package/dist/stencil-library/side-sheet-container.entry.js +1 -1
- package/dist/stencil-library/simple-card.entry.js +1 -1
- package/dist/stencil-library/status-chip_2.entry.js +1 -1
- package/dist/stencil-library/stencil-chip.entry.js +1 -1
- package/dist/stencil-library/stencil-library.esm.js +1 -1
- package/dist/stencil-library/stencil-toggle.entry.js +1 -1
- package/dist/stencil-library/text-field_2.entry.js +1 -1
- package/dist/stencil-library/types-C9Z-dgvN.js +1 -0
- package/dist/stencil-library/udp-adornment.entry.js +1 -1
- package/dist/stencil-library/udp-advanced-search-builder.entry.js +1 -1
- package/dist/stencil-library/udp-advanced-search-filter-group.entry.js +1 -1
- package/dist/stencil-library/udp-ag-area-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-bar-chart_4.entry.js +1 -1
- package/dist/stencil-library/udp-ag-bubble-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-combo-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-donut-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-line-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-pie-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-scatter-chart.entry.js +1 -1
- package/dist/stencil-library/udp-attachment-item_2.entry.js +1 -1
- package/dist/stencil-library/udp-attachment-list.entry.js +1 -1
- package/dist/stencil-library/udp-bar-chart.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-base.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-day.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-month.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-week.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-year.entry.js +1 -1
- package/dist/stencil-library/udp-card-action-area.entry.js +1 -1
- package/dist/stencil-library/udp-card_6.entry.js +1 -1
- package/dist/stencil-library/udp-charts-example.entry.js +1 -1
- package/dist/stencil-library/udp-container-query-grid-item.entry.js +1 -1
- package/dist/stencil-library/udp-container-query-grid.entry.js +1 -1
- package/dist/stencil-library/udp-container-query.entry.js +1 -1
- package/dist/stencil-library/udp-container.entry.js +1 -1
- package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js +1 -1
- package/dist/stencil-library/udp-dynamic-form.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-file-input.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-image.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-inline-edit_6.entry.js +1 -0
- package/dist/stencil-library/udp-fluent-link.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-list-input.entry.js +1 -0
- package/dist/stencil-library/udp-fluent-list-item_2.entry.js +1 -0
- package/dist/stencil-library/udp-fluent-location-input.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-number-input.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-signature-input.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-table-input.entry.js +1 -0
- package/dist/stencil-library/udp-forms-builder-style-override.entry.js +1 -1
- package/dist/stencil-library/udp-forms-follow-up-list-card.entry.js +1 -1
- package/dist/stencil-library/udp-forms-list-card.entry.js +1 -1
- package/dist/stencil-library/udp-forms-list.entry.js +1 -1
- package/dist/stencil-library/udp-forms-renderer.entry.js +1 -1
- package/dist/stencil-library/udp-kpi-card.entry.js +1 -1
- package/dist/stencil-library/udp-kpi-cards.entry.js +1 -1
- package/dist/stencil-library/udp-map.entry.js +1 -1
- package/dist/stencil-library/udp-menu.entry.js +1 -1
- package/dist/stencil-library/udp-page.entry.js +1 -1
- package/dist/stencil-library/udp-question-form-builder.entry.js +1 -0
- package/dist/stencil-library/udp-question-tally-adapter.entry.js +1 -0
- package/dist/stencil-library/udp-sankey-chart.entry.js +1 -1
- package/dist/stencil-library/udp-skeleton-loading.entry.js +1 -1
- package/dist/stencil-library/udp-split-screen.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-actions.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-content.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-demo.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-nav.entry.js +1 -1
- package/dist/stencil-library/udp-tab.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-connector.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-dot.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-item.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-separator.entry.js +1 -1
- package/dist/stencil-library/udp-timeline.entry.js +1 -1
- package/dist/stencil-library/udp-xy-chart.entry.js +1 -1
- package/dist/stencil-library/udp-xy-multi-series-chart.entry.js +1 -1
- package/dist/stencil-library/{udpOperatorHelper-Tmn9i7-P.js → udpOperatorHelper-CBSPgsN-.js} +1 -1
- package/dist/types/components/advanced-search/filter-conditions/filter-conditions.d.ts +4 -0
- package/dist/types/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.d.ts +4 -0
- package/dist/types/components/attachment-list/udp-attachment-item.d.ts +4 -0
- package/dist/types/components/attachment-list/udp-attachment-list.d.ts +4 -0
- package/dist/types/components/buttons/icon-button/radio-button/udp-radio-button.d.ts +4 -0
- package/dist/types/components/buttons/icon-button/stencil-icon-button-grid-action-header.d.ts +4 -0
- package/dist/types/components/buttons/udp-button/udp-button.d.ts +3 -0
- package/dist/types/components/charts/udp-charts-example.d.ts +3 -0
- package/dist/types/components/data-display/adornment/udp-adornment/udp-adornment.d.ts +4 -0
- package/dist/types/components/data-display/badge/udp-badge.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-ambient-card/udp-ambient-card.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-content/udp-card-content.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-header/udp-card-header.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-media/udp-card-media.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card.d.ts +4 -0
- package/dist/types/components/data-display/chips/udp-chip.d.ts +3 -0
- package/dist/types/components/data-display/divider/udp-divider.d.ts +4 -0
- package/dist/types/components/data-display/empty-state-display/udp-empty-state-display.d.ts +4 -0
- package/dist/types/components/data-display/headers/udp-column-header.d.ts +4 -0
- package/dist/types/components/data-display/headers/udp-page-header/udp-page-header.d.ts +4 -0
- package/dist/types/components/data-display/hint-panel/hint-panel.d.ts +4 -0
- package/dist/types/components/data-display/list-renderer/udp-list-renderer.d.ts +4 -0
- package/dist/types/components/data-display/pop-over/udp-pop-over.d.ts +4 -0
- package/dist/types/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.d.ts +4 -0
- package/dist/types/components/data-display/primary-action-header/primary-action-header.d.ts +4 -0
- package/dist/types/components/data-display/simple-card/simple-card.d.ts +4 -0
- package/dist/types/components/data-display/tool-tip/udp-ambient-tool-tip.d.ts +4 -0
- package/dist/types/components/data-display/tree/tree-list-item/search-item/search-list-item.d.ts +4 -0
- package/dist/types/components/data-display/tree/tree-list-item/tree-list-item.d.ts +4 -0
- package/dist/types/components/data-display/udp-avatar/udp-avatar.d.ts +4 -0
- package/dist/types/components/dialogs/udp-dialog.d.ts +4 -0
- package/dist/types/components/drawers/udp-side-sheet/udp-side-sheet.d.ts +3 -0
- package/dist/types/components/feedback/udp-notification/alerts/upd-alert-banner.d.ts +4 -0
- package/dist/types/components/feedback/udp-notification/udp-notification.d.ts +4 -0
- package/dist/types/components/fluent-ui/accordion/udp-accordion.d.ts +7 -0
- package/dist/types/components/fluent-ui/avatar/udp-fluent-avatar.d.ts +6 -1
- package/dist/types/components/fluent-ui/checkbox/udp-fluent-checkbox.d.ts +2 -0
- package/dist/types/components/fluent-ui/dialog/udp-fluent-dialog.d.ts +2 -0
- package/dist/types/components/fluent-ui/drawer/udp-fluent-drawer.d.ts +7 -0
- package/dist/types/components/fluent-ui/icon/udp-fluent-icon.d.ts +2 -0
- package/dist/types/components/fluent-ui/icon-button/udp-fluent-icon-button.d.ts +2 -0
- package/dist/types/components/fluent-ui/image/udp-fluent-image.d.ts +5 -0
- package/dist/types/components/fluent-ui/list-input/udp-fluent-list-input.d.ts +40 -0
- package/dist/types/components/fluent-ui/switch/udp-fluent-switch.d.ts +2 -0
- package/dist/types/components/fluent-ui/table-input/udp-fluent-table-input.d.ts +61 -0
- package/dist/types/components/fluent-ui/table-input/udp-fluent-table-input.types.d.ts +22 -0
- package/dist/types/components/fluent-ui/tooltip/udp-tooltip.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/assert.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixture.types.d.ts +83 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/checkbox.fixtures.d.ts +18 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/date-selector.fixtures.d.ts +29 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/date-time-selector.fixtures.d.ts +14 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/dropdown-multiple-select.fixtures.d.ts +16 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/dropdown-single-select.fixtures.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/file-upload.fixtures.d.ts +21 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/form-metadata-display.fixtures.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/hidden.fixtures.d.ts +15 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/image-upload.fixtures.d.ts +13 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/list-multi-select.fixtures.d.ts +13 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/location-additional.fixtures.d.ts +18 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/location-default-location.fixture.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/location-required.fixture.d.ts +10 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/multi-line-text.fixtures.d.ts +13 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/number.fixtures.d.ts +20 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/paragraph.fixtures.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/radio-button.fixtures.d.ts +14 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/signature.fixtures.d.ts +24 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/single-line-text.fixtures.d.ts +18 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/table.fixtures.d.ts +13 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/tally.fixtures.d.ts +20 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/time-selector.fixtures.d.ts +23 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/yes-no.fixtures.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/harness-dom.d.ts +30 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/harness.d.ts +49 -0
- package/dist/types/components/forms/udp-question-form/builder/components/add-question-drawer-content.d.ts +14 -0
- package/dist/types/components/forms/udp-question-form/builder/components/configure-question-drawer.d.ts +48 -0
- package/dist/types/components/forms/udp-question-form/builder/components/form-structure-sidebar.d.ts +44 -0
- package/dist/types/components/forms/udp-question-form/builder/components/preview-pane.d.ts +16 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/GenericQuestionConfig.d.ts +29 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/ValidationRulesSection.d.ts +20 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/index.d.ts +5 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/FileUploadConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/FormMetadataDisplayConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/ListOptionsConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/LocationConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/ParagraphConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/SignatureConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/TableConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/TallyConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/index.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/types.d.ts +59 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.d.ts +45 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/utils/configValues.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/utils/dateTimeFormat.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/utils/index.d.ts +3 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/utils/sortableRef.d.ts +16 -0
- package/dist/types/components/forms/udp-question-form/builder/components/section-card.d.ts +19 -0
- package/dist/types/components/forms/udp-question-form/builder/components/section-edit-drawer-content.d.ts +23 -0
- package/dist/types/components/forms/udp-question-form/builder/components/section-question-item.d.ts +16 -0
- package/dist/types/components/forms/udp-question-form/builder/config/constants.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/builder/config/index.d.ts +1 -0
- package/dist/types/components/forms/udp-question-form/builder/form-item-types/index.d.ts +4 -0
- package/dist/types/components/forms/udp-question-form/builder/form-item-types/registry.d.ts +5 -0
- package/dist/types/components/forms/udp-question-form/builder/form-item-types/templates.d.ts +19 -0
- package/dist/types/components/forms/udp-question-form/builder/form-item-types/types.d.ts +36 -0
- package/dist/types/components/forms/udp-question-form/builder/form-item-types/validation.d.ts +50 -0
- package/dist/types/components/forms/udp-question-form/builder/udp-question-form-builder.d.ts +335 -0
- package/dist/types/components/forms/udp-question-form/builder/utils/builder-api.d.ts +66 -0
- package/dist/types/components/forms/udp-question-form/builder/utils/form-versions.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/builder/utils/question-template.d.ts +23 -0
- package/dist/types/components/forms/udp-question-form/core/choice-options.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/defaults.d.ts +24 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/common-keys.d.ts +11 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/engine.d.ts +21 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/index.d.ts +3 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/checkbox.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/date-selector.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/date-time-selector.d.ts +14 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/dropdown-multiple-select.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/dropdown-single-select.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/file-upload.d.ts +10 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/form-metadata-display.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/hidden.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/image-upload.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/list-multi-select.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/location.d.ts +16 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/multi-line-text.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/number.d.ts +10 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/paragraph.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/radio-button.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/signature.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/single-line-text.d.ts +11 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.d.ts +16 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/tally.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/time-selector.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/yes-no.d.ts +11 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/registry.d.ts +5 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/toggles.d.ts +13 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/types.d.ts +108 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties.d.ts +155 -0
- package/dist/types/components/forms/udp-question-form/core/index.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/core/parse.d.ts +50 -0
- package/dist/types/components/forms/udp-question-form/core/serialize.d.ts +82 -0
- package/dist/types/components/forms/udp-question-form/core/slot-index.d.ts +31 -0
- package/dist/types/components/forms/udp-question-form/core/types.d.ts +119 -0
- package/dist/types/components/forms/udp-question-form/core/validation/consistency.d.ts +11 -0
- package/dist/types/components/forms/udp-question-form/core/validation/emptiness.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/engine.d.ts +54 -0
- package/dist/types/components/forms/udp-question-form/core/validation/index.d.ts +15 -0
- package/dist/types/components/forms/udp-question-form/core/validation/intrinsic.d.ts +38 -0
- package/dist/types/components/forms/udp-question-form/core/validation/registry.d.ts +31 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/age.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/index.d.ts +42 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/integer-only.d.ts +6 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-age.d.ts +6 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-date-time.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-date.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-decimal-places.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-length.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-rows.d.ts +6 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-selections.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-time.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-value.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-age.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-date-time.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-date.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-length.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-rows.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-selections.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-time.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-value.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/must-be-yes.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/no-future-date-time.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/no-future-date.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/no-past-date-time.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/no-past-date.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/pattern.d.ts +19 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/required.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/step.d.ts +6 -0
- package/dist/types/components/forms/udp-question-form/core/validation/types.d.ts +170 -0
- package/dist/types/components/forms/udp-question-form/follow-up-forms-api.d.ts +14 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/codecs.d.ts +87 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/comments-api.d.ts +33 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/comments-state.d.ts +108 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/dynamic-sections.d.ts +135 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/follow-up-forms.d.ts +99 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/index.d.ts +13 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/initial-values.d.ts +53 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/parse.d.ts +86 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/progress.d.ts +28 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/serialize-submission.d.ts +82 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/submit.d.ts +43 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/types.d.ts +128 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/url-seed.d.ts +36 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/validate-submission.d.ts +48 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/wire-adapter.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/renderer/udp-question-form-renderer.d.ts +418 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/adapters/udp-question-tally-adapter.d.ts +58 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/avatar.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/comment-item.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/comment-thread.d.ts +39 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/follow-up-picker-dialog.d.ts +24 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/form-shell.d.ts +108 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/index.d.ts +6 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/question-renderer.d.ts +99 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/question-view-renderer.d.ts +33 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/section-card.d.ts +36 -0
- package/dist/types/components/forms/udp-question-form/renderer/url.d.ts +29 -0
- package/dist/types/components/forms/udp-question-form/version-drawer/udp-form-version-drawer.d.ts +21 -0
- package/dist/types/components/grid/ag-table/ag-table.d.ts +4 -0
- package/dist/types/components/grid/grid-primary-bar/grid-primary-bar.d.ts +4 -0
- package/dist/types/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.d.ts +4 -0
- package/dist/types/components/grid/new-grid/gridFunctions/columnSelector.d.ts +44 -0
- package/dist/types/components/grid/new-grid/interfaces/grid.d.ts +7 -1
- package/dist/types/components/inputs/address-search/address-search.d.ts +4 -0
- package/dist/types/components/inputs/checkbox/check-box.d.ts +3 -0
- package/dist/types/components/inputs/date-selector/udp-date-selector.d.ts +3 -0
- package/dist/types/components/inputs/date-time-selector/udp-datetime-selector.d.ts +3 -0
- package/dist/types/components/inputs/file-upload/file-upload.d.ts +3 -0
- package/dist/types/components/inputs/form metadata display/form-metadata-display.d.ts +3 -0
- package/dist/types/components/inputs/image-upload/image-upload.d.ts +3 -0
- package/dist/types/components/inputs/location-input/location-input.d.ts +4 -0
- package/dist/types/components/inputs/numeric-field/numeric-field.d.ts +3 -0
- package/dist/types/components/inputs/selectable-list/selectable-list.d.ts +3 -0
- package/dist/types/components/inputs/signature-input/signature-input.d.ts +4 -0
- package/dist/types/components/inputs/tally/tally.d.ts +3 -0
- package/dist/types/components/inputs/text-area/text-area.d.ts +3 -0
- package/dist/types/components/inputs/text-field/text-field.d.ts +3 -0
- package/dist/types/components/inputs/time-selector/udp-time-selector.d.ts +3 -0
- package/dist/types/components/inputs/udp-selector/udp-selector.d.ts +3 -0
- package/dist/types/components/layout/primary-action-header/udp-primary-action-header.d.ts +9 -2
- package/dist/types/components/loaders/udp-grid-loader/udp-grid-loader.d.ts +4 -0
- package/dist/types/components/loaders/udp-linear-loader/udp-linear-loader.d.ts +4 -0
- package/dist/types/components/loaders/udp-skeleton-loading.d.ts +4 -0
- package/dist/types/components/menu/udp-menu.d.ts +4 -0
- package/dist/types/components/navigation/pagination/udp-pagination.d.ts +4 -0
- package/dist/types/components/navigation/udp-link/udp-link.d.ts +4 -0
- package/dist/types/components/new-form/field/udp-field.d.ts +24 -1
- package/dist/types/components/new-form/form/udp-form-component.d.ts +109 -8
- package/dist/types/components/stepper/udp-stepper-demo.d.ts +4 -0
- package/dist/types/components/tabs/tab/tabs/udp-tabs.d.ts +4 -0
- package/dist/types/components/tabs/tab/udp-tab.d.ts +4 -0
- package/dist/types/components/toolbars/app-bar/app-bar.d.ts +4 -0
- package/dist/types/components/unity-typography/unity-typography.d.ts +4 -0
- package/dist/types/components.d.ts +1793 -31
- package/dist/types/udp-utilities/location/getCachedAzureMapsProviders.d.ts +2 -0
- package/dist/types/udp-utilities/search/searchObject.d.ts +1 -0
- package/package.json +7 -2
- package/dist/cjs/udp-fluent-inline-edit.cjs.entry.js +0 -35
- package/dist/cjs/udp-fluent-list-item.cjs.entry.js +0 -126
- package/dist/cjs/udp-list.cjs.entry.js +0 -200
- package/dist/cjs/udp-sidebar-layout.cjs.entry.js +0 -67
- package/dist/cjs/udp-vertical-spacer.cjs.entry.js +0 -28
- package/dist/esm/udp-fluent-inline-edit.entry.js +0 -33
- package/dist/esm/udp-fluent-list-item.entry.js +0 -124
- package/dist/esm/udp-list.entry.js +0 -198
- package/dist/esm/udp-sidebar-layout.entry.js +0 -65
- package/dist/esm/udp-vertical-spacer.entry.js +0 -26
- package/dist/stencil-library/searchObject-CDJVsMG_.js +0 -1
- package/dist/stencil-library/udp-fluent-inline-edit.entry.js +0 -1
- package/dist/stencil-library/udp-fluent-list-item.entry.js +0 -1
- package/dist/stencil-library/udp-list.entry.js +0 -1
- package/dist/stencil-library/udp-sidebar-layout.entry.js +0 -1
- package/dist/stencil-library/udp-vertical-spacer.entry.js +0 -1
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
import { FieldTypeId } from "../../core";
|
|
2
|
+
import { getDriveFileId } from "./types";
|
|
3
|
+
/** Display-only types — no user input, no codec needed. Decoded value is always null. */
|
|
4
|
+
const noopCodec = {
|
|
5
|
+
decode: () => null,
|
|
6
|
+
encode: () => '',
|
|
7
|
+
};
|
|
8
|
+
const stringCodec = {
|
|
9
|
+
decode: wire => (wire == null || wire === '' ? null : wire),
|
|
10
|
+
encode: value => value !== null && value !== void 0 ? value : '',
|
|
11
|
+
};
|
|
12
|
+
const numberCodec = {
|
|
13
|
+
decode: wire => {
|
|
14
|
+
if (wire == null || wire === '')
|
|
15
|
+
return null;
|
|
16
|
+
const n = Number(wire);
|
|
17
|
+
return Number.isFinite(n) ? n : null;
|
|
18
|
+
},
|
|
19
|
+
encode: value => (value == null ? '' : String(value)),
|
|
20
|
+
};
|
|
21
|
+
const yesNoCodec = {
|
|
22
|
+
decode: wire => wire === 'true' || wire === 'false' || wire === 'na' ? wire : null,
|
|
23
|
+
encode: value => {
|
|
24
|
+
if (value == null)
|
|
25
|
+
return '';
|
|
26
|
+
if (typeof value === 'boolean')
|
|
27
|
+
return value ? 'true' : 'false';
|
|
28
|
+
return value === 'true' || value === 'false' || value === 'na' ? value : '';
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Multi-select encoding observed in legacy submissions stores a single selection as the bare
|
|
33
|
+
* value string (e.g. `"one"`). The encoding for *multiple* selections is unverified — likely
|
|
34
|
+
* CSV. Decoder splits on `,` and trims; encoder joins with `,`. Revisit once we have a real
|
|
35
|
+
* multi-selection submission to confirm.
|
|
36
|
+
*
|
|
37
|
+
* TODO: verify against a real multi-selection submission.
|
|
38
|
+
*/
|
|
39
|
+
const multiSelectCodec = {
|
|
40
|
+
decode: wire => {
|
|
41
|
+
if (wire == null || wire === '')
|
|
42
|
+
return null;
|
|
43
|
+
return wire.split(',').map(s => s.trim()).filter(s => s.length > 0);
|
|
44
|
+
},
|
|
45
|
+
encode: value => (value == null || value.length === 0 ? '' : value.join(',')),
|
|
46
|
+
};
|
|
47
|
+
const locationCodec = {
|
|
48
|
+
decode: wire => {
|
|
49
|
+
var _a, _b, _c, _d;
|
|
50
|
+
if (wire == null || wire === '')
|
|
51
|
+
return null;
|
|
52
|
+
let parsed;
|
|
53
|
+
try {
|
|
54
|
+
parsed = JSON.parse(wire);
|
|
55
|
+
}
|
|
56
|
+
catch (_e) {
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
const freeform = (_a = parsed.address) !== null && _a !== void 0 ? _a : '';
|
|
60
|
+
const hasAddress = freeform.length > 0 ||
|
|
61
|
+
parsed.streetNumber != null ||
|
|
62
|
+
parsed.streetName != null ||
|
|
63
|
+
parsed.municipality != null ||
|
|
64
|
+
parsed.countrySubdivisionName != null ||
|
|
65
|
+
parsed.postalCode != null ||
|
|
66
|
+
parsed.country != null;
|
|
67
|
+
const address = hasAddress
|
|
68
|
+
? {
|
|
69
|
+
freeformAddress: freeform,
|
|
70
|
+
streetNumber: parsed.streetNumber,
|
|
71
|
+
streetName: parsed.streetName,
|
|
72
|
+
municipality: parsed.municipality,
|
|
73
|
+
countrySubdivisionName: parsed.countrySubdivisionName,
|
|
74
|
+
postalCode: parsed.postalCode,
|
|
75
|
+
country: parsed.country,
|
|
76
|
+
}
|
|
77
|
+
: null;
|
|
78
|
+
return {
|
|
79
|
+
latitude: (_b = parsed.latitude) !== null && _b !== void 0 ? _b : null,
|
|
80
|
+
longitude: (_c = parsed.longitude) !== null && _c !== void 0 ? _c : null,
|
|
81
|
+
address,
|
|
82
|
+
timestamp: (_d = parsed.timestamp) !== null && _d !== void 0 ? _d : null,
|
|
83
|
+
};
|
|
84
|
+
},
|
|
85
|
+
encode: value => {
|
|
86
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
87
|
+
if (value == null)
|
|
88
|
+
return '';
|
|
89
|
+
if (value.latitude == null && value.longitude == null && !value.address)
|
|
90
|
+
return '';
|
|
91
|
+
const wire = {
|
|
92
|
+
latitude: (_a = value.latitude) !== null && _a !== void 0 ? _a : null,
|
|
93
|
+
longitude: (_b = value.longitude) !== null && _b !== void 0 ? _b : null,
|
|
94
|
+
address: (_d = (_c = value.address) === null || _c === void 0 ? void 0 : _c.freeformAddress) !== null && _d !== void 0 ? _d : null,
|
|
95
|
+
streetNumber: (_e = value.address) === null || _e === void 0 ? void 0 : _e.streetNumber,
|
|
96
|
+
streetName: (_f = value.address) === null || _f === void 0 ? void 0 : _f.streetName,
|
|
97
|
+
municipality: (_g = value.address) === null || _g === void 0 ? void 0 : _g.municipality,
|
|
98
|
+
countrySubdivisionName: (_h = value.address) === null || _h === void 0 ? void 0 : _h.countrySubdivisionName,
|
|
99
|
+
postalCode: (_j = value.address) === null || _j === void 0 ? void 0 : _j.postalCode,
|
|
100
|
+
country: (_k = value.address) === null || _k === void 0 ? void 0 : _k.country,
|
|
101
|
+
timestamp: (_l = value.timestamp) !== null && _l !== void 0 ? _l : null,
|
|
102
|
+
};
|
|
103
|
+
return JSON.stringify(wire);
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* File / image upload wire format (matches legacy renderer):
|
|
108
|
+
* - Comma-joined list of tokens
|
|
109
|
+
* - Each token is `<urlencoded-filename>|udp:<driveFileId>` for an already-
|
|
110
|
+
* stored file, or a bare `<urlencoded-filename>` for a pending upload (the
|
|
111
|
+
* server rewrites bare names to `|udp:<id>` form during the multipart
|
|
112
|
+
* POST/PUT and persists the rewritten value).
|
|
113
|
+
* - Legacy also produces `|b64:<data>` for inline-base64 fallbacks; pass-1
|
|
114
|
+
* decodes those as stored items without bytes (the user has to re-upload
|
|
115
|
+
* if they want to keep the file). Out of scope to round-trip b64 inline.
|
|
116
|
+
*
|
|
117
|
+
* The actual `File` bytes for a pending upload are stored on the
|
|
118
|
+
* `UdpFileItem.file` field and extracted from the form-engine values map by
|
|
119
|
+
* `extractFilesFromValues()` (called by the wire adapter) — they never travel
|
|
120
|
+
* through the codec's string-only encode/decode.
|
|
121
|
+
*/
|
|
122
|
+
const fileListCodec = {
|
|
123
|
+
decode: wire => {
|
|
124
|
+
if (wire == null || wire === '')
|
|
125
|
+
return null;
|
|
126
|
+
const tokens = wire.split(',').map(t => t.trim()).filter(t => t.length > 0);
|
|
127
|
+
if (tokens.length === 0)
|
|
128
|
+
return null;
|
|
129
|
+
const items = [];
|
|
130
|
+
for (const token of tokens) {
|
|
131
|
+
const item = parseFileToken(token);
|
|
132
|
+
if (item)
|
|
133
|
+
items.push(item);
|
|
134
|
+
}
|
|
135
|
+
return items.length > 0 ? items : null;
|
|
136
|
+
},
|
|
137
|
+
encode: value => {
|
|
138
|
+
if (value == null || value.length === 0)
|
|
139
|
+
return '';
|
|
140
|
+
return value
|
|
141
|
+
.map(item => {
|
|
142
|
+
if (item.kind === 'pending')
|
|
143
|
+
return encodeURIComponent(item.file.name);
|
|
144
|
+
return `${encodeURIComponent(item.name)}|udp:${item.driveFileId}`;
|
|
145
|
+
})
|
|
146
|
+
.join(',');
|
|
147
|
+
},
|
|
148
|
+
};
|
|
149
|
+
function parseFileToken(token) {
|
|
150
|
+
const pipeIdx = token.indexOf('|');
|
|
151
|
+
if (pipeIdx < 0) {
|
|
152
|
+
// Bare filename — shouldn't appear on load (server rewrites), but tolerate.
|
|
153
|
+
let name = token;
|
|
154
|
+
try {
|
|
155
|
+
name = decodeURIComponent(token);
|
|
156
|
+
}
|
|
157
|
+
catch (_a) {
|
|
158
|
+
/* fall through with raw token */
|
|
159
|
+
}
|
|
160
|
+
return { kind: 'stored', name, driveFileId: '' };
|
|
161
|
+
}
|
|
162
|
+
const encodedName = token.slice(0, pipeIdx);
|
|
163
|
+
const dataRef = token.slice(pipeIdx + 1);
|
|
164
|
+
let name = encodedName;
|
|
165
|
+
try {
|
|
166
|
+
name = decodeURIComponent(encodedName);
|
|
167
|
+
}
|
|
168
|
+
catch (_b) {
|
|
169
|
+
name = encodedName;
|
|
170
|
+
}
|
|
171
|
+
if (dataRef.startsWith('udp:')) {
|
|
172
|
+
return { kind: 'stored', name, driveFileId: dataRef.slice(4) };
|
|
173
|
+
}
|
|
174
|
+
if (dataRef.startsWith('b64:')) {
|
|
175
|
+
// Pass-1: surface as a stored placeholder with no driveFileId. Round-trip
|
|
176
|
+
// is best-effort; a re-save will drop the inline bytes.
|
|
177
|
+
return { kind: 'stored', name, driveFileId: '' };
|
|
178
|
+
}
|
|
179
|
+
return null;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Signature wire format: single file token (`<filename>|udp:<guid>` or bare
|
|
183
|
+
* `<filename>`). `fullName` + lat/lng/timestamp live in `metadata.signature`,
|
|
184
|
+
* not in the value string — they're merged onto the decoded value by
|
|
185
|
+
* `hydrateValueWithMetadata()`.
|
|
186
|
+
*
|
|
187
|
+
* Stored signatures decode to a placeholder `File` tagged with `driveFileId`
|
|
188
|
+
* (legacy convention). This keeps round-trip data inside the standard
|
|
189
|
+
* `SignatureValue` shape so it survives the component's `valueChanged` emits,
|
|
190
|
+
* which reconstruct the value via object spread of known keys only — a sidecar
|
|
191
|
+
* field on `SignatureValue` would be dropped the first time the user edited
|
|
192
|
+
* `fullName` without re-drawing.
|
|
193
|
+
*/
|
|
194
|
+
const signatureCodec = {
|
|
195
|
+
decode: wire => {
|
|
196
|
+
if (wire == null || wire === '')
|
|
197
|
+
return null;
|
|
198
|
+
const placeholder = buildSignaturePlaceholderFile(wire);
|
|
199
|
+
return {
|
|
200
|
+
file: placeholder,
|
|
201
|
+
fullName: null,
|
|
202
|
+
metadata: null,
|
|
203
|
+
};
|
|
204
|
+
},
|
|
205
|
+
encode: value => {
|
|
206
|
+
if (value == null)
|
|
207
|
+
return '';
|
|
208
|
+
if (!(value.file instanceof File))
|
|
209
|
+
return '';
|
|
210
|
+
const driveFileId = getDriveFileId(value.file);
|
|
211
|
+
if (driveFileId) {
|
|
212
|
+
// Untouched stored signature — round-trip the existing wire token.
|
|
213
|
+
return `${encodeURIComponent(value.file.name)}|udp:${driveFileId}`;
|
|
214
|
+
}
|
|
215
|
+
// Freshly-drawn (or replaced) signature — bare filename; server rewrites
|
|
216
|
+
// to `|udp:<id>` after upload via `FormFiles`.
|
|
217
|
+
return encodeURIComponent(value.file.name);
|
|
218
|
+
},
|
|
219
|
+
};
|
|
220
|
+
function buildSignaturePlaceholderFile(wire) {
|
|
221
|
+
const pipeIdx = wire.indexOf('|');
|
|
222
|
+
let encodedName = wire;
|
|
223
|
+
let driveFileId = '';
|
|
224
|
+
if (pipeIdx >= 0) {
|
|
225
|
+
encodedName = wire.slice(0, pipeIdx);
|
|
226
|
+
const dataRef = wire.slice(pipeIdx + 1);
|
|
227
|
+
if (dataRef.startsWith('udp:'))
|
|
228
|
+
driveFileId = dataRef.slice(4);
|
|
229
|
+
}
|
|
230
|
+
let name = encodedName;
|
|
231
|
+
try {
|
|
232
|
+
name = decodeURIComponent(encodedName);
|
|
233
|
+
}
|
|
234
|
+
catch (_a) {
|
|
235
|
+
name = encodedName;
|
|
236
|
+
}
|
|
237
|
+
const blob = new Blob([''], { type: 'image/png' });
|
|
238
|
+
const file = new File([blob], name, { type: 'image/png' });
|
|
239
|
+
if (driveFileId)
|
|
240
|
+
file.driveFileId = driveFileId;
|
|
241
|
+
return file;
|
|
242
|
+
}
|
|
243
|
+
const tableCodec = {
|
|
244
|
+
decode: wire => {
|
|
245
|
+
var _a;
|
|
246
|
+
if (wire == null || wire === '')
|
|
247
|
+
return { rows: [] };
|
|
248
|
+
let parsed;
|
|
249
|
+
try {
|
|
250
|
+
parsed = JSON.parse(wire);
|
|
251
|
+
}
|
|
252
|
+
catch (_b) {
|
|
253
|
+
return { rows: [] };
|
|
254
|
+
}
|
|
255
|
+
const raw = (_a = parsed === null || parsed === void 0 ? void 0 : parsed.rows) !== null && _a !== void 0 ? _a : parsed === null || parsed === void 0 ? void 0 : parsed.Rows;
|
|
256
|
+
if (!Array.isArray(raw))
|
|
257
|
+
return { rows: [] };
|
|
258
|
+
const rows = raw.filter((r) => r != null && typeof r === 'object' && !Array.isArray(r));
|
|
259
|
+
return { rows };
|
|
260
|
+
},
|
|
261
|
+
encode: value => {
|
|
262
|
+
if (!value || !Array.isArray(value.rows) || value.rows.length === 0)
|
|
263
|
+
return '';
|
|
264
|
+
return JSON.stringify({ rows: value.rows });
|
|
265
|
+
},
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* Pass-1 codec map. Only types we render in pass 1 + the display-only types that round-trip
|
|
269
|
+
* empty values.
|
|
270
|
+
*/
|
|
271
|
+
const codecsByFieldType = {
|
|
272
|
+
// Hidden — not rendered, but legacy submissions carry real values here
|
|
273
|
+
// (URL-seeded context, API-written data). String passthrough keeps the
|
|
274
|
+
// stored value flowing decode → form values → encode so a re-save never
|
|
275
|
+
// wipes it, and `?udpf_seed_…` params can seed hidden fields (legacy parity).
|
|
276
|
+
[FieldTypeId.Hidden]: stringCodec,
|
|
277
|
+
// Display-only types — round-trip null/empty. (Paragraph's wire value is
|
|
278
|
+
// written from `fieldProperties.paragraphText` by the serializer so legacy
|
|
279
|
+
// renderers, which display the stored VALUE, keep showing the prose.)
|
|
280
|
+
[FieldTypeId.Paragraph]: noopCodec,
|
|
281
|
+
[FieldTypeId.Tally]: noopCodec,
|
|
282
|
+
[FieldTypeId.FormMetadataDisplay]: noopCodec,
|
|
283
|
+
// Text input
|
|
284
|
+
[FieldTypeId.SingleLineText]: stringCodec,
|
|
285
|
+
[FieldTypeId.MultiLineText]: stringCodec,
|
|
286
|
+
// Single-value choice
|
|
287
|
+
[FieldTypeId.RadioButton]: stringCodec,
|
|
288
|
+
[FieldTypeId.DropdownSingleSelect]: stringCodec,
|
|
289
|
+
// Tri-state yes/no ('true' | 'false' | 'na') — legacy radio semantics.
|
|
290
|
+
[FieldTypeId.YesNo]: yesNoCodec,
|
|
291
|
+
// Multi-value choice — CSV of selected option values (legacy
|
|
292
|
+
// `selectable-list` joined selections with ','). Checkbox is the legacy
|
|
293
|
+
// multi-select checkbox list, NOT a single boolean.
|
|
294
|
+
[FieldTypeId.Checkbox]: multiSelectCodec,
|
|
295
|
+
[FieldTypeId.DropdownMultipleSelect]: multiSelectCodec,
|
|
296
|
+
[FieldTypeId.ListMultiSelect]: multiSelectCodec,
|
|
297
|
+
// Number
|
|
298
|
+
[FieldTypeId.Number]: numberCodec,
|
|
299
|
+
// Date / time — wire format from submissions:
|
|
300
|
+
// DateSelector: "YYYY-MM-DD"
|
|
301
|
+
// TimeSelector: "HH:mm" (no seconds, despite field-properties min/max using HH:mm:ss)
|
|
302
|
+
// DateTimeSelector: "YYYY-MM-DDTHH:mm" (T separator, no seconds)
|
|
303
|
+
// Pass-through for now; field renderers parse to Date/etc. as needed.
|
|
304
|
+
[FieldTypeId.DateSelector]: stringCodec,
|
|
305
|
+
[FieldTypeId.TimeSelector]: stringCodec,
|
|
306
|
+
[FieldTypeId.DateTimeSelector]: stringCodec,
|
|
307
|
+
// Location — JSON-stringified object (see locationCodec docs above).
|
|
308
|
+
[FieldTypeId.Location]: locationCodec,
|
|
309
|
+
// File / image upload — comma-joined `<filename>|udp:<guid>` tokens.
|
|
310
|
+
// Pending File bytes are extracted from the form-engine values by the wire
|
|
311
|
+
// adapter; the codec only handles the string-side of the wire shape.
|
|
312
|
+
[FieldTypeId.FileUpload]: fileListCodec,
|
|
313
|
+
[FieldTypeId.ImageUpload]: fileListCodec,
|
|
314
|
+
// Signature — single file token + `metadata.signature` sidecar.
|
|
315
|
+
[FieldTypeId.Signature]: signatureCodec,
|
|
316
|
+
// Table — JSON-stringified `{ rows: TableRow[] }`, keyed by column id.
|
|
317
|
+
[FieldTypeId.Table]: tableCodec,
|
|
318
|
+
};
|
|
319
|
+
/** Decode a wire value using the codec for `fieldTypeId`. Falls back to null for unmapped types. */
|
|
320
|
+
export function decodeValue(fieldTypeId, wire) {
|
|
321
|
+
const codec = codecsByFieldType[fieldTypeId];
|
|
322
|
+
if (!codec)
|
|
323
|
+
return null;
|
|
324
|
+
return codec.decode(wire);
|
|
325
|
+
}
|
|
326
|
+
/** Encode a decoded value using the codec for `fieldTypeId`. Falls back to '' for unmapped types. */
|
|
327
|
+
export function encodeValue(fieldTypeId, value) {
|
|
328
|
+
const codec = codecsByFieldType[fieldTypeId];
|
|
329
|
+
if (!codec)
|
|
330
|
+
return '';
|
|
331
|
+
return codec.encode(value);
|
|
332
|
+
}
|
|
333
|
+
/** Whether a field type is rendered in pass 1. Useful for the field-dispatch fallback. */
|
|
334
|
+
export function isPassOneFieldType(fieldTypeId) {
|
|
335
|
+
return codecsByFieldType[fieldTypeId] !== undefined;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Merge metadata-sidecar fields onto the decoded value for types where the
|
|
339
|
+
* "value" string alone isn't the full user-visible state. Today only
|
|
340
|
+
* `Signature` needs this — `metadata.signature` carries `fullName` and the
|
|
341
|
+
* lat/lng/timestamp captured at stroke-end. Returns the value untouched for
|
|
342
|
+
* every other type.
|
|
343
|
+
*/
|
|
344
|
+
export function hydrateValueWithMetadata(fieldTypeId, decoded, metadata) {
|
|
345
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
346
|
+
if (fieldTypeId !== FieldTypeId.Signature)
|
|
347
|
+
return decoded;
|
|
348
|
+
const sig = (_a = metadata === null || metadata === void 0 ? void 0 : metadata.signature) !== null && _a !== void 0 ? _a : null;
|
|
349
|
+
const baseValue = (decoded !== null && decoded !== void 0 ? decoded : null);
|
|
350
|
+
if (!sig && !baseValue)
|
|
351
|
+
return null;
|
|
352
|
+
const next = {
|
|
353
|
+
file: (_b = baseValue === null || baseValue === void 0 ? void 0 : baseValue.file) !== null && _b !== void 0 ? _b : null,
|
|
354
|
+
fullName: (_d = (_c = sig === null || sig === void 0 ? void 0 : sig.fullName) !== null && _c !== void 0 ? _c : baseValue === null || baseValue === void 0 ? void 0 : baseValue.fullName) !== null && _d !== void 0 ? _d : null,
|
|
355
|
+
metadata: sig != null
|
|
356
|
+
? {
|
|
357
|
+
timestamp: (_e = sig.timestamp) !== null && _e !== void 0 ? _e : null,
|
|
358
|
+
latitude: (_f = sig.latitude) !== null && _f !== void 0 ? _f : null,
|
|
359
|
+
longitude: (_g = sig.longitude) !== null && _g !== void 0 ? _g : null,
|
|
360
|
+
}
|
|
361
|
+
: (_h = baseValue === null || baseValue === void 0 ? void 0 : baseValue.metadata) !== null && _h !== void 0 ? _h : null,
|
|
362
|
+
};
|
|
363
|
+
return next;
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* Walk a per-question-instance iterator and the values map to collect every
|
|
367
|
+
* `File` that needs to be uploaded with this submission. The wire adapter
|
|
368
|
+
* appends these under the `FormFiles` multipart field. The backend then
|
|
369
|
+
* matches them up with the bare-filename tokens in the JSON `Data` payload
|
|
370
|
+
* and rewrites those tokens to `<filename>|udp:<guid>` after persisting to
|
|
371
|
+
* UDP Drive.
|
|
372
|
+
*
|
|
373
|
+
* Iterating `(fieldTypeId, value)` pairs (instead of walking a `LoadedForm`
|
|
374
|
+
* directly) keeps this codec-layer helper free of the runtime expansion
|
|
375
|
+
* concern — the caller picks: walk the schema for a non-repeatable form,
|
|
376
|
+
* or walk `DynamicSection[]` so file uploads on copies 2+ of a repeatable
|
|
377
|
+
* section get collected too.
|
|
378
|
+
*/
|
|
379
|
+
export function extractFilesFromValueEntries(entries) {
|
|
380
|
+
const files = [];
|
|
381
|
+
for (const { fieldTypeId, value } of entries) {
|
|
382
|
+
switch (fieldTypeId) {
|
|
383
|
+
case FieldTypeId.FileUpload:
|
|
384
|
+
case FieldTypeId.ImageUpload: {
|
|
385
|
+
if (!Array.isArray(value))
|
|
386
|
+
break;
|
|
387
|
+
for (const item of value) {
|
|
388
|
+
if ((item === null || item === void 0 ? void 0 : item.kind) === 'pending' && item.file instanceof File) {
|
|
389
|
+
files.push(item.file);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
break;
|
|
393
|
+
}
|
|
394
|
+
case FieldTypeId.Signature: {
|
|
395
|
+
const sv = value;
|
|
396
|
+
// Stored signatures carry a placeholder File tagged with driveFileId
|
|
397
|
+
// — don't re-upload it. Only push when this is a freshly-drawn (or
|
|
398
|
+
// replaced) signature.
|
|
399
|
+
if ((sv === null || sv === void 0 ? void 0 : sv.file) instanceof File && getDriveFileId(sv.file) == null) {
|
|
400
|
+
files.push(sv.file);
|
|
401
|
+
}
|
|
402
|
+
break;
|
|
403
|
+
}
|
|
404
|
+
default:
|
|
405
|
+
break;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
return files;
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* Schema-aware convenience wrapper used by the submit flow. Walks the
|
|
412
|
+
* schema, reads each question's value out of the flat values map by the
|
|
413
|
+
* bare `question.id`, and delegates to `extractFilesFromValueEntries`.
|
|
414
|
+
*
|
|
415
|
+
* For non-repeatable forms this is the right walk. For repeatable forms
|
|
416
|
+
* the caller should iterate `DynamicSection[]` itself and pass the
|
|
417
|
+
* `(fieldTypeId, value)` pairs into `extractFilesFromValueEntries` — see
|
|
418
|
+
* `submit.ts`.
|
|
419
|
+
*/
|
|
420
|
+
export function extractFilesFromValues(loadedForm, values) {
|
|
421
|
+
const entries = [];
|
|
422
|
+
for (const section of loadedForm.sections) {
|
|
423
|
+
for (const question of section.questions) {
|
|
424
|
+
entries.push({ fieldTypeId: question.fieldTypeId, value: values[question.id] });
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
return extractFilesFromValueEntries(entries);
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Produce the metadata blob to write into the envelope for a given question.
|
|
431
|
+
* For `Signature`, derives `metadata.signature` from the decoded value
|
|
432
|
+
* (fullName + lat/lng/timestamp); for every other type, passes through the
|
|
433
|
+
* existing metadata untouched. Returns `undefined` when nothing should be
|
|
434
|
+
* written.
|
|
435
|
+
*/
|
|
436
|
+
export function buildResponseMetadata(fieldTypeId, decodedValue, existingMetadata) {
|
|
437
|
+
var _a, _b, _c, _d, _e;
|
|
438
|
+
if (fieldTypeId !== FieldTypeId.Signature)
|
|
439
|
+
return existingMetadata;
|
|
440
|
+
const sv = decodedValue;
|
|
441
|
+
const hasFile = (sv === null || sv === void 0 ? void 0 : sv.file) instanceof File;
|
|
442
|
+
const fullName = (_a = sv === null || sv === void 0 ? void 0 : sv.fullName) !== null && _a !== void 0 ? _a : null;
|
|
443
|
+
const meta = (_b = sv === null || sv === void 0 ? void 0 : sv.metadata) !== null && _b !== void 0 ? _b : null;
|
|
444
|
+
const hasAny = hasFile || (fullName != null && fullName !== '') || meta != null;
|
|
445
|
+
if (!hasAny)
|
|
446
|
+
return existingMetadata;
|
|
447
|
+
const base = existingMetadata != null && typeof existingMetadata === 'object'
|
|
448
|
+
? existingMetadata
|
|
449
|
+
: {};
|
|
450
|
+
return Object.assign(Object.assign({}, base), { signature: {
|
|
451
|
+
latitude: (_c = meta === null || meta === void 0 ? void 0 : meta.latitude) !== null && _c !== void 0 ? _c : null,
|
|
452
|
+
longitude: (_d = meta === null || meta === void 0 ? void 0 : meta.longitude) !== null && _d !== void 0 ? _d : null,
|
|
453
|
+
timestamp: (_e = meta === null || meta === void 0 ? void 0 : meta.timestamp) !== null && _e !== void 0 ? _e : null,
|
|
454
|
+
fullName,
|
|
455
|
+
} });
|
|
456
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ConfigService } from "../../../../../udp-utilities/api-config";
|
|
2
|
+
import { makeApiCall } from "../../../../../udp-utilities/api/makeApiCall/makeApiCall";
|
|
3
|
+
function commentsBaseUrl(ctx) {
|
|
4
|
+
return `${ConfigService.productV1ApiUrl}/UdpFormSubmission/${ctx.submissionId}/comments`;
|
|
5
|
+
}
|
|
6
|
+
function appendTenantIfPublic(url, ctx) {
|
|
7
|
+
if (!ctx.isPublicMode || !ctx.tenantId)
|
|
8
|
+
return url;
|
|
9
|
+
// Use URLSearchParams so we don't have to hand-roll `?` vs `&` or escape the
|
|
10
|
+
// tenantId — robust if the base URL ever gains its own query string.
|
|
11
|
+
const [base, existingQuery = ''] = url.split('?', 2);
|
|
12
|
+
const params = new URLSearchParams(existingQuery);
|
|
13
|
+
params.set('tenantId', String(ctx.tenantId));
|
|
14
|
+
return `${base}?${params.toString()}`;
|
|
15
|
+
}
|
|
16
|
+
/** POST a new comment. Client supplies its own `commentId` so we can render optimistically. */
|
|
17
|
+
export async function postComment(ctx, body) {
|
|
18
|
+
const url = appendTenantIfPublic(`${commentsBaseUrl(ctx)}/${ctx.isPublicMode ? 'public' : 'private'}`, ctx);
|
|
19
|
+
await makeApiCall('POST', url, body, true);
|
|
20
|
+
}
|
|
21
|
+
/** PUT an existing comment. Public mode is not supported (matches legacy). */
|
|
22
|
+
export async function putComment(ctx, commentId, body) {
|
|
23
|
+
if (ctx.isPublicMode) {
|
|
24
|
+
throw new Error('Comment updates are not supported in public mode.');
|
|
25
|
+
}
|
|
26
|
+
const url = `${commentsBaseUrl(ctx)}/${commentId}`;
|
|
27
|
+
await makeApiCall('PUT', url, body, true);
|
|
28
|
+
}
|
|
29
|
+
/** DELETE a comment (soft delete on the server). Public mode is not supported. */
|
|
30
|
+
export async function deleteComment(ctx, commentId) {
|
|
31
|
+
if (ctx.isPublicMode) {
|
|
32
|
+
throw new Error('Comment deletion is not supported in public mode.');
|
|
33
|
+
}
|
|
34
|
+
const url = `${commentsBaseUrl(ctx)}/${commentId}`;
|
|
35
|
+
await makeApiCall('DELETE', url, null, true);
|
|
36
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { v4 as uuidv4 } from "uuid";
|
|
2
|
+
import { expandLoadedForm, } from "./dynamic-sections";
|
|
3
|
+
/**
|
|
4
|
+
* Build the initial comments state from a loaded submission.
|
|
5
|
+
*
|
|
6
|
+
* Auto-expands `loadedForm` into dynamic sections and delegates to
|
|
7
|
+
* `buildInitialCommentsStateFromDynamicSections`. Suitable for the harness
|
|
8
|
+
* and the host's initial load; callers that own a DynamicSection[] across
|
|
9
|
+
* Add/Delete should use the dynamic-aware variant so per-copy comments
|
|
10
|
+
* survive state transitions.
|
|
11
|
+
*/
|
|
12
|
+
export function buildInitialCommentsState(loadedForm, submission) {
|
|
13
|
+
return buildInitialCommentsStateFromDynamicSections(expandLoadedForm({ loadedForm, submission }), submission);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Build the initial comments state from pre-expanded dynamic sections so
|
|
17
|
+
* each section instance gets its own bucket. Hydrates saved comments from
|
|
18
|
+
* the submission's response under the instance's slot name; hydrates legacy
|
|
19
|
+
* `draftComments` (preserved on `wireResponseData`) as the active draft so
|
|
20
|
+
* users coming from the legacy renderer keep their in-flight comments per
|
|
21
|
+
* copy.
|
|
22
|
+
*/
|
|
23
|
+
export function buildInitialCommentsStateFromDynamicSections(dynamicSections, submission) {
|
|
24
|
+
var _a, _b, _c, _d, _e, _f;
|
|
25
|
+
const byQuestionId = {};
|
|
26
|
+
const draftByQuestionId = {};
|
|
27
|
+
const editingCommentIdByQuestionId = {};
|
|
28
|
+
const wireRaw = (_a = submission === null || submission === void 0 ? void 0 : submission.wireResponseData) !== null && _a !== void 0 ? _a : {};
|
|
29
|
+
const responses = (_c = (_b = submission === null || submission === void 0 ? void 0 : submission.data) === null || _b === void 0 ? void 0 : _b.responses) !== null && _c !== void 0 ? _c : {};
|
|
30
|
+
for (const section of dynamicSections) {
|
|
31
|
+
const decodedSection = responses[section.slotName];
|
|
32
|
+
const rawSection = wireRaw[section.slotName];
|
|
33
|
+
for (const dynamicQuestion of section.questions) {
|
|
34
|
+
const key = dynamicQuestion.fieldKey;
|
|
35
|
+
const questionName = dynamicQuestion.schemaQuestion.name;
|
|
36
|
+
byQuestionId[key] = ((_e = (_d = decodedSection === null || decodedSection === void 0 ? void 0 : decodedSection[questionName]) === null || _d === void 0 ? void 0 : _d.comments) !== null && _e !== void 0 ? _e : []).map(c => (Object.assign({}, c)));
|
|
37
|
+
// Legacy `draftComments` lives on the raw wire shape only; parse.ts
|
|
38
|
+
// doesn't decode it. Pick the first non-empty entry as the active draft.
|
|
39
|
+
const rawQuestion = rawSection === null || rawSection === void 0 ? void 0 : rawSection[questionName];
|
|
40
|
+
const rawDrafts = rawQuestion && Array.isArray(rawQuestion.draftComments)
|
|
41
|
+
? rawQuestion.draftComments
|
|
42
|
+
: [];
|
|
43
|
+
const firstDraft = rawDrafts.find(d => d && typeof d.value === 'string');
|
|
44
|
+
draftByQuestionId[key] = (_f = firstDraft === null || firstDraft === void 0 ? void 0 : firstDraft.value) !== null && _f !== void 0 ? _f : null;
|
|
45
|
+
editingCommentIdByQuestionId[key] = null;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return { byQuestionId, draftByQuestionId, editingCommentIdByQuestionId };
|
|
49
|
+
}
|
|
50
|
+
/** Visible comments — filters out soft-deleted entries. Use for UI lists and rail counts. */
|
|
51
|
+
export function visibleComments(comments) {
|
|
52
|
+
return (comments !== null && comments !== void 0 ? comments : []).filter(c => c.isDeleted !== true);
|
|
53
|
+
}
|
|
54
|
+
/** Construct a new comment locally (matches what the legacy renderer would have built). */
|
|
55
|
+
export function buildLocalComment(value, user, commentId) {
|
|
56
|
+
var _a, _b;
|
|
57
|
+
const now = new Date().toISOString();
|
|
58
|
+
return {
|
|
59
|
+
commentId: (commentId !== null && commentId !== void 0 ? commentId : uuidv4()),
|
|
60
|
+
userDisplayName: (_a = user.displayName) !== null && _a !== void 0 ? _a : null,
|
|
61
|
+
userId: ((_b = user.id) !== null && _b !== void 0 ? _b : null),
|
|
62
|
+
timestamp: now,
|
|
63
|
+
editedTimestamp: now,
|
|
64
|
+
isDeleted: false,
|
|
65
|
+
value: value !== null && value !== void 0 ? value : '',
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Pure state transitions. Each returns a new top-level state object.
|
|
70
|
+
*
|
|
71
|
+
* All `key` parameters are Final Form field keys — equals the bare
|
|
72
|
+
* `question.id` for the original copy of any section and
|
|
73
|
+
* `${question.id}__${instanceId}` for copies 2+ of a repeatable section.
|
|
74
|
+
* The parameter is typed `string` (not `Guid`) because the suffixed form
|
|
75
|
+
* is no longer a bare GUID.
|
|
76
|
+
*/
|
|
77
|
+
export function setDraft(state, key, value, editingCommentId = null) {
|
|
78
|
+
return Object.assign(Object.assign({}, state), { draftByQuestionId: Object.assign(Object.assign({}, state.draftByQuestionId), { [key]: value }), editingCommentIdByQuestionId: Object.assign(Object.assign({}, state.editingCommentIdByQuestionId), { [key]: value == null ? null : editingCommentId }) });
|
|
79
|
+
}
|
|
80
|
+
export function appendComment(state, key, comment) {
|
|
81
|
+
var _a;
|
|
82
|
+
const prev = (_a = state.byQuestionId[key]) !== null && _a !== void 0 ? _a : [];
|
|
83
|
+
return Object.assign(Object.assign({}, state), { byQuestionId: Object.assign(Object.assign({}, state.byQuestionId), { [key]: [...prev, comment] }), draftByQuestionId: Object.assign(Object.assign({}, state.draftByQuestionId), { [key]: null }), editingCommentIdByQuestionId: Object.assign(Object.assign({}, state.editingCommentIdByQuestionId), { [key]: null }) });
|
|
84
|
+
}
|
|
85
|
+
export function replaceComment(state, key, commentId, patch) {
|
|
86
|
+
var _a;
|
|
87
|
+
const prev = (_a = state.byQuestionId[key]) !== null && _a !== void 0 ? _a : [];
|
|
88
|
+
const next = prev.map(c => (c.commentId === commentId ? Object.assign(Object.assign({}, c), patch) : c));
|
|
89
|
+
return Object.assign(Object.assign({}, state), { byQuestionId: Object.assign(Object.assign({}, state.byQuestionId), { [key]: next }) });
|
|
90
|
+
}
|
|
91
|
+
export function softDeleteComment(state, key, commentId) {
|
|
92
|
+
return replaceComment(state, key, commentId, {
|
|
93
|
+
isDeleted: true,
|
|
94
|
+
value: '',
|
|
95
|
+
editedTimestamp: new Date().toISOString(),
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Drop ALL comment state (saved, draft, editing) for a list of field keys.
|
|
100
|
+
* Used by the host when a section instance is deleted so the dangling
|
|
101
|
+
* comments for that copy don't ride along on the next envelope.
|
|
102
|
+
*/
|
|
103
|
+
export function pruneKeys(state, keysToRemove) {
|
|
104
|
+
if (keysToRemove.length === 0)
|
|
105
|
+
return state;
|
|
106
|
+
const drop = new Set(keysToRemove);
|
|
107
|
+
const filter = (src) => {
|
|
108
|
+
const out = {};
|
|
109
|
+
for (const k of Object.keys(src)) {
|
|
110
|
+
if (!drop.has(k))
|
|
111
|
+
out[k] = src[k];
|
|
112
|
+
}
|
|
113
|
+
return out;
|
|
114
|
+
};
|
|
115
|
+
return {
|
|
116
|
+
byQuestionId: filter(state.byQuestionId),
|
|
117
|
+
draftByQuestionId: filter(state.draftByQuestionId),
|
|
118
|
+
editingCommentIdByQuestionId: filter(state.editingCommentIdByQuestionId),
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
/** Returns the commentId of the comment being edited in this question instance's draft, if any. */
|
|
122
|
+
export function getEditingCommentId(state, key) {
|
|
123
|
+
var _a;
|
|
124
|
+
return (_a = state.editingCommentIdByQuestionId[key]) !== null && _a !== void 0 ? _a : null;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Resolve `(slotSection, questionName)` for a given Final Form `fieldKey`.
|
|
128
|
+
* Comment API bodies are slot-keyed (legacy contract), so we need this lookup
|
|
129
|
+
* at the edges. The slot section name is the dynamic instance's `slotName`
|
|
130
|
+
* (e.g. `section1` for the original, `section1_2` for the second copy).
|
|
131
|
+
*
|
|
132
|
+
* Two overloads keep the legacy callers working: pass `LoadedForm` for
|
|
133
|
+
* non-repeatable forms (the resolver auto-expands, so the fieldKey must be
|
|
134
|
+
* a bare question.id matching the original copy); pass `DynamicSection[]`
|
|
135
|
+
* to resolve into copies 2+.
|
|
136
|
+
*/
|
|
137
|
+
export function resolveSlotKeys(loadedFormOrSections, fieldKey) {
|
|
138
|
+
const sections = Array.isArray(loadedFormOrSections)
|
|
139
|
+
? loadedFormOrSections
|
|
140
|
+
: expandLoadedForm({ loadedForm: loadedFormOrSections, submission: null });
|
|
141
|
+
for (const section of sections) {
|
|
142
|
+
for (const dynamicQuestion of section.questions) {
|
|
143
|
+
if (dynamicQuestion.fieldKey === fieldKey) {
|
|
144
|
+
return {
|
|
145
|
+
sectionKey: section.slotName,
|
|
146
|
+
questionKey: dynamicQuestion.schemaQuestion.name,
|
|
147
|
+
question: dynamicQuestion.schemaQuestion,
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
return null;
|
|
153
|
+
}
|
|
154
|
+
/** True when this question's `fieldProperties.allowComments` is on. */
|
|
155
|
+
export function isCommentsEnabledForQuestion(question) {
|
|
156
|
+
const fp = question.fieldProperties;
|
|
157
|
+
return (fp === null || fp === void 0 ? void 0 : fp.allowComments) === true;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Pre-filtered list of `(section, question)` pairs where comments are enabled,
|
|
161
|
+
* preserving section + question order. Cached by `LoadedForm` reference via a
|
|
162
|
+
* WeakMap so the rail and host-level gates don't re-walk the whole schema on
|
|
163
|
+
* every render. When the host swaps in a new form, the previous one becomes
|
|
164
|
+
* GC-eligible and the cache entry is collected with it.
|
|
165
|
+
*/
|
|
166
|
+
const commentsEnabledCache = new WeakMap();
|
|
167
|
+
export function getCommentsEnabledQuestions(loadedForm) {
|
|
168
|
+
const hit = commentsEnabledCache.get(loadedForm);
|
|
169
|
+
if (hit)
|
|
170
|
+
return hit;
|
|
171
|
+
const fresh = [];
|
|
172
|
+
for (const section of loadedForm.sections) {
|
|
173
|
+
for (const question of section.questions) {
|
|
174
|
+
if (isCommentsEnabledForQuestion(question))
|
|
175
|
+
fresh.push({ section, question });
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
commentsEnabledCache.set(loadedForm, fresh);
|
|
179
|
+
return fresh;
|
|
180
|
+
}
|
|
181
|
+
/** True when any question in the form has `allowComments` set. Used to gate the rail entirely. */
|
|
182
|
+
export function isCommentsEnabledForForm(loadedForm) {
|
|
183
|
+
return getCommentsEnabledQuestions(loadedForm).length > 0;
|
|
184
|
+
}
|