udp-stencil-component-library 26.9.0-beta.2 → 26.9.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-CyR7DyPc.js → SearchBuilder-Ca9_ur9o.js} +1 -1
- package/dist/cjs/add-map-feature-popup_4.cjs.entry.js +8 -8
- package/dist/cjs/address-search_6.cjs.entry.js +19 -19
- package/dist/cjs/advanced-search_12.cjs.entry.js +20 -20
- package/dist/cjs/{ag-grid-base_65.cjs.entry.js → ag-grid-base_66.cjs.entry.js} +458 -183
- package/dist/cjs/ambient-template-grid.cjs.entry.js +20 -20
- package/dist/cjs/api-method-instance-grid.cjs.entry.js +11 -10
- package/dist/cjs/{apiMethodInstance-D65NIw8S.js → apiMethodInstance-DTeNcmNq.js} +3 -32
- package/dist/cjs/{apiUtils-0pkNuvqf.js → apiUtils-tzjwn5aw.js} +29 -28
- package/dist/cjs/app-bar.cjs.entry.js +1 -1
- package/dist/cjs/{catalog-store-B_YMkXRh.js → catalog-store-CzG8hINB.js} +1 -1
- 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-ClSB_OaD.js → codecs-Dyka7kpz.js} +407 -7
- package/dist/cjs/{configService-N6ke1_s4.js → configService-DbfLqId2.js} +2 -6
- package/dist/cjs/{configureUdpColumnMods-BT7UbQPh.js → configureUdpColumnMods-Cqxn_OaF.js} +23 -7
- package/dist/cjs/convertBackendTypeToAgGridType-CZEQIj7A.js +33 -0
- package/dist/cjs/{createAzureMapsProviders-b1fKbjhG.js → createAzureMapsProviders-CURScysk.js} +14 -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/domain-table-snapshot-DXs9ceFE.js +339 -0
- package/dist/cjs/extraFields-CNvT2Qyf.js +109 -0
- package/dist/cjs/extraFieldsHelper-Clk9u_FW.js +211 -0
- package/dist/cjs/feature-details-card_2.cjs.entry.js +5 -5
- package/dist/cjs/file-upload_2.cjs.entry.js +7 -7
- package/dist/cjs/filter-conditions_7.cjs.entry.js +7 -7
- package/dist/cjs/{fluent-icons-DLY_DCOh.js → fluent-icons-Cs6J6uVm.js} +20 -0
- package/dist/cjs/form-metadata-display_2.cjs.entry.js +3 -3
- package/dist/cjs/getCurrentApiCatalogId-D7xHCEzs.js +7 -0
- package/dist/cjs/icon-grid.cjs.entry.js +2 -2
- package/dist/cjs/image-upload_8.cjs.entry.js +7 -7
- package/dist/cjs/index-CZB9dMeB.js +12 -8
- package/dist/cjs/index.cjs.js +26 -23
- package/dist/cjs/{load-icons-BAAH3v1o.js → load-icons-JeRXx4O7.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logical-search-indicator.cjs.entry.js +1 -1
- package/dist/cjs/lookupHelper-DACjrAcP.js +694 -0
- 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/rich-text-schema-Dhani4hA.js +58 -0
- package/dist/cjs/search-method-grid.cjs.entry.js +121 -264
- package/dist/cjs/server-side-grid.cjs.entry.js +85 -3
- 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/{status-renderer-9CQ-hhq8.js → status-renderer-be4boc5r.js} +83 -55
- 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/udp-adornment.cjs.entry.js +1 -1
- package/dist/cjs/udp-advanced-search-builder.cjs.entry.js +102 -5
- package/dist/cjs/udp-advanced-search-field-picker_3.cjs.entry.js +3 -3
- 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-detail-list_9.cjs.entry.js → udp-detail-list_10.cjs.entry.js} +606 -73
- package/dist/cjs/{udp-drive-utils-DM1l6XMm.js → udp-drive-utils-BuTLI35n.js} +1 -1
- 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-icon-picker.cjs.entry.js +2 -2
- package/dist/cjs/udp-fluent-inline-edit_5.cjs.entry.js +494 -45
- package/dist/cjs/udp-fluent-link.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-list-item_2.cjs.entry.js +3 -3
- package/dist/cjs/{udp-form-api-utils-zMPk_IT1.js → udp-form-api-utils-ZY88igvH.js} +1 -1
- package/dist/cjs/udp-forms-builder-style-override.cjs.entry.js +1 -1
- package/dist/cjs/udp-forms-builder.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 +3 -3
- package/dist/cjs/udp-forms-renderer.cjs.entry.js +4 -4
- package/dist/cjs/udp-import-sheet.cjs.entry.js +244 -0
- 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 +35 -258
- package/dist/cjs/udp-rich-text-field.cjs.entry.js +28 -53
- package/dist/cjs/udp-rich-text.cjs.entry.js +61 -0
- package/dist/cjs/udp-sankey-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-sidebar-layout.cjs.entry.js +3 -3
- 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-vertical-timeline-connector.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline-dot.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/udp-vertical-timeline-separator.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-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/valueFormatters-CUoOypK3.js +17 -0
- package/dist/collection/__mocks__/jest-setup.js +3 -0
- package/dist/collection/collection-manifest.json +3 -0
- 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 +1 -1
- package/dist/collection/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.js +1 -1
- package/dist/collection/components/advanced-search-builder/field-picker/field-picker.js +1 -1
- package/dist/collection/components/advanced-search-builder/field-picker-tree/field-picker-tree.js +2 -2
- package/dist/collection/components/advanced-search-builder/udp-advanced-search-builder.js +125 -2
- package/dist/collection/components/attachment-list/udp-attachment-list.js +1 -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 +1 -1
- package/dist/collection/components/buttons/udp-button/udp-button.js +1 -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 +1 -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 +1 -1
- package/dist/collection/components/data-display/badge/udp-badge.js +1 -1
- package/dist/collection/components/data-display/cards/udp-ambient-card/udp-ambient-card.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-content/udp-card-content.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-header/udp-card-header.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-media/udp-card-media.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card.js +3 -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 +1 -1
- package/dist/collection/components/data-display/detail-list-item/udp-detail-list-item.js +1 -1
- package/dist/collection/components/data-display/divider/udp-divider.js +1 -1
- package/dist/collection/components/data-display/empty-state-display/udp-empty-state-display.js +1 -1
- package/dist/collection/components/data-display/headers/udp-column-header.js +1 -1
- package/dist/collection/components/data-display/headers/udp-page-header/udp-page-header.js +1 -1
- package/dist/collection/components/data-display/hint-panel/hint-panel.js +1 -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/pop-over/udp-pop-over.js +1 -1
- package/dist/collection/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js +1 -1
- package/dist/collection/components/data-display/primary-action-header/primary-action-header.js +2 -2
- package/dist/collection/components/data-display/simple-card/simple-card.js +1 -1
- package/dist/collection/components/data-display/tool-tip/udp-ambient-tool-tip.js +2 -2
- package/dist/collection/components/data-display/tree/tree-list-item/search-item/search-list-item.js +1 -1
- package/dist/collection/components/data-display/udp-avatar/udp-avatar.js +1 -1
- package/dist/collection/components/dialogs/udp-dialog.js +1 -1
- package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.js +9 -9
- package/dist/collection/components/export/udp-export-sheet/udp-export-sheet.css +0 -1
- package/dist/collection/components/export/udp-export-sheet/udp-export-sheet.js +10 -5
- package/dist/collection/components/feedback/udp-notification/alerts/upd-alert-banner.js +1 -1
- package/dist/collection/components/feedback/udp-notification/udp-notification.js +2 -2
- package/dist/collection/components/fluent-ui/autocomplete/udp-autocomplete.js +8 -8
- package/dist/collection/components/fluent-ui/avatar/udp-fluent-avatar.js +1 -1
- package/dist/collection/components/fluent-ui/badge/udp-fluent-badge.js +1 -1
- package/dist/collection/components/fluent-ui/button/udp-fluent-button.css +10 -0
- package/dist/collection/components/fluent-ui/button/udp-fluent-button.js +26 -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 +1 -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 +1 -1
- package/dist/collection/components/fluent-ui/divider/udp-fluent-divider.js +1 -1
- package/dist/collection/components/fluent-ui/domain-table-input/domain-table-snapshot.js +78 -0
- package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.css +67 -0
- package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.js +871 -0
- package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.types.js +1 -0
- package/dist/collection/components/fluent-ui/drawer/udp-fluent-drawer.css +4 -0
- package/dist/collection/components/fluent-ui/drawer/udp-fluent-drawer.js +26 -1
- package/dist/collection/components/fluent-ui/dropdown/udp-fluent-dropdown.js +28 -10
- 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 +1 -1
- package/dist/collection/components/fluent-ui/icon-picker/udp-fluent-icon-picker.js +2 -2
- package/dist/collection/components/fluent-ui/image/udp-fluent-image.js +1 -1
- package/dist/collection/components/fluent-ui/inline-edit/udp-fluent-inline-edit.js +2 -2
- 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.js +1 -1
- 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/menu/udp-fluent-menu.js +2 -2
- package/dist/collection/components/fluent-ui/message-bar/udp-message-bar.js +1 -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 +21 -8
- package/dist/collection/components/fluent-ui/rich-text/udp-rich-text.css +9 -0
- package/dist/collection/components/fluent-ui/rich-text/udp-rich-text.js +81 -0
- package/dist/collection/components/fluent-ui/rich-text-field/rich-text-content.css +97 -0
- package/dist/collection/components/fluent-ui/rich-text-field/rich-text-schema.js +39 -0
- package/dist/collection/components/fluent-ui/rich-text-field/udp-rich-text-field.css +1 -92
- package/dist/collection/components/fluent-ui/rich-text-field/udp-rich-text-field.js +12 -39
- package/dist/collection/components/fluent-ui/search-input/udp-search-input.css +6 -0
- 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.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 +1 -1
- package/dist/collection/components/fluent-ui/table-input/table-aggregates.js +57 -0
- package/dist/collection/components/fluent-ui/table-input/udp-fluent-table-input.js +12 -56
- package/dist/collection/components/fluent-ui/tablist/udp-fluent-tablist.js +13 -2
- 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 +7 -2
- 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 +2 -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__/fixtures/table-domain.fixtures.js +200 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/configure-question-drawer.js +7 -1
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/DomainTableConfig.js +309 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/TableConfig.js +32 -1
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.css +50 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.js +33 -3
- package/dist/collection/components/forms/udp-question-form/builder/udp-question-form-builder.js +7 -1
- package/dist/collection/components/forms/udp-question-form/builder/utils/builder-api.js +85 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.js +9 -1
- package/dist/collection/components/forms/udp-question-form/core/field-properties.js +6 -1
- package/dist/collection/components/forms/udp-question-form/core/validation/intrinsic.js +52 -3
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/codecs.js +10 -4
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/domain-table-snapshot.js +50 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/index.js +1 -0
- package/dist/collection/components/forms/udp-question-form/renderer/udp-question-form-renderer.js +62 -16
- package/dist/collection/components/forms/udp-question-form/renderer/ui/adapters/udp-question-tally-adapter.js +1 -1
- package/dist/collection/components/forms/udp-question-form/renderer/ui/form-shell.js +2 -1
- package/dist/collection/components/forms/udp-question-form/renderer/ui/question-renderer.js +7 -3
- package/dist/collection/components/forms/udp-question-form/renderer/ui/question-view-renderer.js +17 -11
- package/dist/collection/components/forms/udp-question-form/version-drawer/udp-form-version-drawer.js +1 -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 +2 -2
- package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +1 -1
- package/dist/collection/components/grid/new-grid/ag-grid-base.css +7 -0
- package/dist/collection/components/grid/new-grid/ag-grid-base.js +13 -4
- package/dist/collection/components/grid/new-grid/api-method-instance-grid.js +27 -3
- package/dist/collection/components/grid/new-grid/client-side-grid.js +2 -2
- package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js +20 -6
- package/dist/collection/components/grid/new-grid/gridFunctions/advancedSearch.js +3 -2
- package/dist/collection/components/grid/new-grid/gridFunctions/savedViews.js +7 -5
- package/dist/collection/components/grid/new-grid/gridFunctions/udpExport.js +12 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/buildSearchObject.js +17 -16
- package/dist/collection/components/grid/new-grid/helperFunctions/configureUdpColumnMods.js +23 -7
- package/dist/collection/components/grid/new-grid/helperFunctions/domainRowsHelper.js +177 -0
- package/dist/collection/components/grid/new-grid/helperFunctions/extraFieldsHelper.js +203 -0
- package/dist/collection/components/grid/new-grid/helperFunctions/lookupHelper.js +256 -16
- package/dist/collection/components/grid/new-grid/search-method-grid.js +124 -11
- package/dist/collection/components/grid/new-grid/server-side-grid.js +107 -4
- package/dist/collection/components/grid/renderers/actions-renderer.js +83 -55
- package/dist/collection/components/grid/renderers/input-renderer.js +66 -0
- 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/import/udp-import-sheet/udp-import-sheet.css +38 -0
- package/dist/collection/components/import/udp-import-sheet/udp-import-sheet.js +425 -0
- package/dist/collection/components/inputs/address-search/address-search.js +3 -3
- package/dist/collection/components/inputs/checkbox/check-box.js +2 -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 +3 -3
- package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +3 -3
- package/dist/collection/components/inputs/file-upload/file-upload.js +4 -4
- package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +1 -1
- package/dist/collection/components/inputs/image-upload/image-upload.js +1 -1
- package/dist/collection/components/inputs/numeric-field/numeric-field.js +3 -3
- package/dist/collection/components/inputs/signature-input/signature-input.js +2 -2
- package/dist/collection/components/inputs/tally/tally.js +2 -2
- package/dist/collection/components/inputs/text-area/text-area.js +3 -3
- package/dist/collection/components/inputs/text-field/text-field.js +3 -3
- package/dist/collection/components/inputs/time-selector/udp-time-selector.js +3 -3
- package/dist/collection/components/inputs/toggle/stencil-toggle.js +4 -4
- package/dist/collection/components/inputs/udp-selector/udp-selector.js +4 -4
- package/dist/collection/components/layout/primary-action-header/udp-primary-action-header.js +1 -1
- 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 +3 -3
- 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 +2 -2
- package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +1 -1
- package/dist/collection/components/loaders/udp-skeleton-loading.js +1 -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 +2 -2
- 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 +1 -1
- package/dist/collection/components/new-form/field/udp-field.js +1 -1
- package/dist/collection/components/new-form/form/udp-form-component.js +2 -2
- 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 +1 -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 +2 -2
- package/dist/collection/components/tabs/tab/udp-tab.js +1 -1
- package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +1 -2
- 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 +1 -1
- 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/components/vertical-timeline/udp-vertical-timeline-connector.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-dot.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-item.js +2 -2
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-separator.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline.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/icons/fluent-icons.js +16 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/store/execution-store.js +6 -5
- 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/api-config/configService.js +0 -4
- package/dist/collection/udp-utilities/extra-fields/extraFields.js +94 -0
- package/dist/collection/udp-utilities/extra-fields/index.js +1 -0
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -2
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -1
- package/dist/components/add-map-feature-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/ambient-template-grid.js +1 -1
- package/dist/components/api-method-instance-grid.js +1 -1
- package/dist/components/apiMethodInstance.js +1 -1
- package/dist/components/apiUtils.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/configService.js +1 -1
- package/dist/components/configureUdpColumnMods.js +1 -1
- package/dist/components/convertBackendTypeToAgGridType.js +1 -0
- package/dist/components/custom-button2.js +1 -1
- package/dist/components/edit-view-form.js +1 -1
- package/dist/components/extraFields.js +1 -0
- package/dist/components/feature-details-card2.js +1 -1
- package/dist/components/feature-details-popup2.js +1 -1
- package/dist/components/field-picker-tree.js +1 -1
- package/dist/components/field-picker.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/fluent-icons.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 -1
- package/dist/components/ghost-render2.js +1 -1
- package/dist/components/grid-primary-bar2.js +1 -1
- package/dist/components/hint-panel2.js +1 -1
- package/dist/components/icon-grid2.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/lookup.js +1 -0
- 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/rich-text-schema.js +1 -0
- 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/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/status-renderer.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-aggregates.js +1 -0
- 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 -1
- package/dist/components/udp-adornment2.js +1 -1
- package/dist/components/udp-advanced-search-builder.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-grid2.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-detail-list-item2.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-export-sheet2.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-domain-table-input.d.ts +11 -0
- package/dist/components/udp-fluent-domain-table-input.js +2 -0
- package/dist/components/udp-fluent-domain-table-input2.js +1 -0
- package/dist/components/udp-fluent-drawer2.js +1 -1
- package/dist/components/udp-fluent-dropdown2.js +1 -1
- package/dist/components/udp-fluent-file-input2.js +1 -1
- package/dist/components/udp-fluent-icon-picker.js +1 -1
- package/dist/components/udp-fluent-icon2.js +1 -1
- package/dist/components/udp-fluent-image2.js +1 -1
- package/dist/components/udp-fluent-inline-edit2.js +1 -1
- package/dist/components/udp-fluent-link.js +1 -1
- package/dist/components/udp-fluent-list-input2.js +1 -1
- package/dist/components/udp-fluent-location-input2.js +1 -1
- package/dist/components/udp-fluent-menu2.js +1 -1
- package/dist/components/udp-fluent-number-input.js +1 -1
- package/dist/components/udp-fluent-number-input2.js +1 -0
- package/dist/components/udp-fluent-radio-group2.js +1 -1
- package/dist/components/udp-fluent-signature-input2.js +1 -1
- package/dist/components/udp-fluent-switch2.js +1 -1
- package/dist/components/udp-fluent-table-input2.js +1 -1
- package/dist/components/udp-fluent-tablist2.js +1 -1
- 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-drawer2.js +1 -1
- 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-forms-ui2.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-import-sheet.d.ts +11 -0
- package/dist/components/udp-import-sheet.js +2 -0
- 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 -1
- package/dist/components/udp-list2.js +1 -1
- 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-fluent2.js +1 -1
- package/dist/components/udp-question-form-builder.js +1 -1
- package/dist/components/udp-question-form-renderer2.js +1 -1
- package/dist/components/udp-question-tally-adapter2.js +1 -1
- package/dist/components/udp-question2.js +1 -1
- package/dist/components/udp-radio-button2.js +1 -1
- package/dist/components/udp-rich-text-field.js +1 -1
- package/dist/components/udp-rich-text.d.ts +11 -0
- package/dist/components/udp-rich-text.js +2 -0
- 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-layout2.js +1 -1
- 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-spacer2.js +1 -1
- package/dist/components/udp-vertical-timeline-connector.js +1 -1
- package/dist/components/udp-vertical-timeline-dot.js +1 -1
- package/dist/components/udp-vertical-timeline-item.js +1 -1
- package/dist/components/udp-vertical-timeline-separator.js +1 -1
- package/dist/components/udp-vertical-timeline.js +1 -1
- 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 +1805 -112
- package/dist/esm/{SearchBuilder-BmqrJvtz.js → SearchBuilder-BxLXFEeR.js} +1 -1
- package/dist/esm/add-map-feature-popup_4.entry.js +8 -8
- package/dist/esm/address-search_6.entry.js +19 -19
- package/dist/esm/advanced-search_12.entry.js +20 -20
- package/dist/esm/{ag-grid-base_65.entry.js → ag-grid-base_66.entry.js} +450 -176
- package/dist/esm/ambient-template-grid.entry.js +20 -20
- package/dist/esm/api-method-instance-grid.entry.js +10 -9
- package/dist/esm/{apiMethodInstance-BunReWfq.js → apiMethodInstance-qaGbXDNr.js} +2 -31
- package/dist/esm/{apiUtils-Cq-WuEqc.js → apiUtils-CXqsYwOQ.js} +29 -28
- package/dist/esm/app-bar.entry.js +1 -1
- package/dist/esm/{catalog-store-CLsDGUEl.js → catalog-store-BOpo_zaC.js} +1 -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-CI_fHfY1.js → codecs-BWyrM561.js} +400 -9
- package/dist/esm/{configService-D_9j963S.js → configService-CehZzjhw.js} +0 -4
- package/dist/esm/{configureUdpColumnMods-UWccWlH6.js → configureUdpColumnMods-bMO0_--H.js} +23 -7
- package/dist/esm/convertBackendTypeToAgGridType-B8xfl_wR.js +31 -0
- package/dist/esm/{createAzureMapsProviders-CLLCmr8f.js → createAzureMapsProviders-CtQryp1H.js} +13 -1
- package/dist/esm/custom-button.entry.js +1 -1
- package/dist/esm/date-time-renderer_9.entry.js +21 -21
- package/dist/esm/domain-table-snapshot-H3o5mjFB.js +331 -0
- package/dist/esm/extraFields-Cnpy_Bm7.js +97 -0
- package/dist/esm/extraFieldsHelper-CaBMA4HJ.js +205 -0
- package/dist/esm/feature-details-card_2.entry.js +5 -5
- package/dist/esm/file-upload_2.entry.js +7 -7
- package/dist/esm/filter-conditions_7.entry.js +7 -7
- package/dist/esm/{fluent-icons-pWFJyrRm.js → fluent-icons-wRyOZqj2.js} +20 -0
- package/dist/esm/form-metadata-display_2.entry.js +3 -3
- package/dist/esm/getCurrentApiCatalogId-DeurXd9l.js +5 -0
- package/dist/esm/icon-grid.entry.js +2 -2
- package/dist/esm/image-upload_8.entry.js +7 -7
- package/dist/esm/index-15aY63VA.js +12 -8
- package/dist/esm/index.js +13 -22
- package/dist/esm/{load-icons-BHSNRRRA.js → load-icons-D2ZhiHp6.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logical-search-indicator.entry.js +1 -1
- package/dist/esm/lookupHelper-D3LSjaES.js +682 -0
- 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/rich-text-schema-DCUYo610.js +42 -0
- package/dist/esm/search-method-grid.entry.js +120 -263
- package/dist/esm/server-side-grid.entry.js +85 -3
- 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/{status-renderer-BoY7sar9.js → status-renderer-Evo0rTNU.js} +83 -55
- 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 → types-NqFGtWPW.js} +1 -1
- package/dist/esm/udp-adornment.entry.js +1 -1
- package/dist/esm/udp-advanced-search-builder.entry.js +102 -5
- package/dist/esm/udp-advanced-search-field-picker_3.entry.js +3 -3
- 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-detail-list_9.entry.js → udp-detail-list_10.entry.js} +606 -74
- package/dist/esm/{udp-drive-utils-DCivw3gq.js → udp-drive-utils-BVTuKAND.js} +1 -1
- 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-icon-picker.entry.js +2 -2
- package/dist/esm/udp-fluent-inline-edit_5.entry.js +491 -42
- package/dist/esm/udp-fluent-link.entry.js +1 -1
- package/dist/esm/udp-fluent-list-item_2.entry.js +3 -3
- package/dist/esm/{udp-form-api-utils-HJ_eUZkX.js → udp-form-api-utils-Bq7Txu0h.js} +1 -1
- package/dist/esm/udp-forms-builder-style-override.entry.js +1 -1
- package/dist/esm/udp-forms-builder.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 +3 -3
- package/dist/esm/udp-forms-renderer.entry.js +4 -4
- package/dist/esm/udp-import-sheet.entry.js +242 -0
- 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 +28 -251
- package/dist/esm/udp-rich-text-field.entry.js +28 -39
- package/dist/esm/udp-rich-text.entry.js +59 -0
- package/dist/esm/udp-sankey-chart.entry.js +1 -1
- package/dist/esm/udp-sidebar-layout.entry.js +3 -3
- 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-vertical-timeline-connector.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline-dot.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline-item.entry.js +2 -2
- package/dist/esm/udp-vertical-timeline-separator.entry.js +1 -1
- package/dist/esm/udp-vertical-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/valueFormatters-BbY_Q8IE.js +15 -0
- package/dist/stencil-library/{SearchBuilder-BmqrJvtz.js → SearchBuilder-BxLXFEeR.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_66.entry.js +1 -0
- 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/apiMethodInstance-qaGbXDNr.js +1 -0
- package/dist/stencil-library/apiUtils-CXqsYwOQ.js +1 -0
- package/dist/stencil-library/app-bar.entry.js +1 -1
- package/dist/stencil-library/{catalog-store-CLsDGUEl.js → catalog-store-BOpo_zaC.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-BWyrM561.js +1 -0
- package/dist/stencil-library/configService-CehZzjhw.js +1 -0
- package/dist/stencil-library/configureUdpColumnMods-bMO0_--H.js +1 -0
- package/dist/stencil-library/convertBackendTypeToAgGridType-B8xfl_wR.js +1 -0
- package/dist/stencil-library/createAzureMapsProviders-CtQryp1H.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/domain-table-snapshot-H3o5mjFB.js +1 -0
- package/dist/stencil-library/extraFields-Cnpy_Bm7.js +1 -0
- package/dist/stencil-library/extraFieldsHelper-CaBMA4HJ.js +1 -0
- 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/fluent-icons-wRyOZqj2.js +1 -0
- package/dist/stencil-library/form-metadata-display_2.entry.js +1 -1
- package/dist/stencil-library/getCurrentApiCatalogId-DeurXd9l.js +1 -0
- package/dist/stencil-library/icon-grid.entry.js +1 -1
- package/dist/stencil-library/image-upload_8.entry.js +1 -1
- package/dist/stencil-library/index.esm.js +1 -1
- package/dist/stencil-library/load-icons-D2ZhiHp6.js +1 -0
- package/dist/stencil-library/logical-search-indicator.entry.js +1 -1
- package/dist/stencil-library/lookupHelper-D3LSjaES.js +1 -0
- 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/rich-text-schema-DCUYo610.js +1 -0
- package/dist/stencil-library/search-method-grid.entry.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/status-renderer-Evo0rTNU.js +1 -0
- 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 → types-NqFGtWPW.js} +1 -1
- 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-field-picker_3.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-detail-list_10.entry.js +1 -0
- package/dist/stencil-library/{udp-drive-utils-DCivw3gq.js → udp-drive-utils-BVTuKAND.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-icon-picker.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-inline-edit_5.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-link.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-list-item_2.entry.js +1 -1
- package/dist/stencil-library/{udp-form-api-utils-HJ_eUZkX.js → udp-form-api-utils-Bq7Txu0h.js} +1 -1
- package/dist/stencil-library/udp-forms-builder-style-override.entry.js +1 -1
- package/dist/stencil-library/udp-forms-builder.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-import-sheet.entry.js +1 -0
- 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 -1
- package/dist/stencil-library/udp-rich-text-field.entry.js +1 -1
- package/dist/stencil-library/udp-rich-text.entry.js +1 -0
- package/dist/stencil-library/udp-sankey-chart.entry.js +1 -1
- package/dist/stencil-library/udp-sidebar-layout.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-vertical-timeline-connector.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-dot.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-item.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-separator.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-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/valueFormatters-BbY_Q8IE.js +1 -0
- package/dist/types/components/advanced-search-builder/udp-advanced-search-builder.d.ts +25 -0
- package/dist/types/components/fluent-ui/button/udp-fluent-button.d.ts +5 -0
- package/dist/types/components/fluent-ui/domain-table-input/domain-table-snapshot.d.ts +32 -0
- package/dist/types/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.d.ts +137 -0
- package/dist/types/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.types.d.ts +46 -0
- package/dist/types/components/fluent-ui/drawer/udp-fluent-drawer.d.ts +5 -0
- package/dist/types/components/fluent-ui/dropdown/udp-fluent-dropdown.d.ts +12 -1
- package/dist/types/components/fluent-ui/radio-group/udp-fluent-radio-group.d.ts +6 -0
- package/dist/types/components/fluent-ui/rich-text/udp-rich-text.d.ts +19 -0
- package/dist/types/components/fluent-ui/rich-text-field/rich-text-schema.d.ts +6 -0
- package/dist/types/components/fluent-ui/table-input/table-aggregates.d.ts +16 -0
- package/dist/types/components/fluent-ui/table-input/udp-fluent-table-input.d.ts +0 -8
- package/dist/types/components/fluent-ui/tablist/udp-fluent-tablist.d.ts +3 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/table-domain.fixtures.d.ts +22 -0
- package/dist/types/components/forms/udp-question-form/builder/components/configure-question-drawer.d.ts +2 -1
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/DomainTableConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/types.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/builder/udp-question-form-builder.d.ts +1 -0
- package/dist/types/components/forms/udp-question-form/builder/utils/builder-api.d.ts +37 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.d.ts +5 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties.d.ts +31 -1
- package/dist/types/components/forms/udp-question-form/core/validation/intrinsic.d.ts +15 -3
- package/dist/types/components/forms/udp-question-form/renderer/runtime/codecs.d.ts +12 -1
- package/dist/types/components/forms/udp-question-form/renderer/runtime/domain-table-snapshot.d.ts +20 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/index.d.ts +1 -0
- package/dist/types/components/forms/udp-question-form/renderer/udp-question-form-renderer.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/form-shell.d.ts +3 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/question-renderer.d.ts +7 -0
- package/dist/types/components/grid/new-grid/ag-grid-base.d.ts +3 -1
- package/dist/types/components/grid/new-grid/api-method-instance-grid.d.ts +9 -1
- package/dist/types/components/grid/new-grid/client-side-grid.d.ts +3 -1
- package/dist/types/components/grid/new-grid/datasources/searchMethodDatasource.d.ts +3 -0
- package/dist/types/components/grid/new-grid/gridFunctions/advancedSearch.d.ts +6 -3
- package/dist/types/components/grid/new-grid/gridFunctions/savedViews.d.ts +1 -0
- package/dist/types/components/grid/new-grid/gridFunctions/udpExport.d.ts +6 -0
- package/dist/types/components/grid/new-grid/helperFunctions/buildSearchObject.d.ts +13 -3
- package/dist/types/components/grid/new-grid/helperFunctions/domainRowsHelper.d.ts +60 -0
- package/dist/types/components/grid/new-grid/helperFunctions/extraFieldsHelper.d.ts +49 -0
- package/dist/types/components/grid/new-grid/helperFunctions/lookupHelper.d.ts +57 -0
- package/dist/types/components/grid/new-grid/helperFunctions/savedViewsHelpers.d.ts +2 -0
- package/dist/types/components/grid/new-grid/search-method-grid.d.ts +35 -1
- package/dist/types/components/grid/new-grid/server-side-grid.d.ts +27 -1
- package/dist/types/components/grid/renderers/actions-renderer.d.ts +15 -0
- package/dist/types/components/grid/renderers/input-renderer.d.ts +36 -0
- package/dist/types/components/import/udp-import-sheet/udp-import-sheet.d.ts +85 -0
- package/dist/types/components.d.ts +411 -12
- package/dist/types/icons/fluent-icons.d.ts +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/store/execution-store.d.ts +4 -5
- package/dist/types/udp-utilities/api-config/configService.d.ts +0 -2
- package/dist/types/udp-utilities/extra-fields/extraFields.d.ts +105 -0
- package/dist/types/udp-utilities/extra-fields/index.d.ts +1 -0
- package/dist/types/udp-utilities/search/searchObject.d.ts +2 -0
- package/package.json +3 -3
- package/dist/cjs/lookupHelper-ClpMWN_g.js +0 -101
- package/dist/cjs/searchObjectHelper-DYpPEIzz.js +0 -110
- package/dist/cjs/slot-index-Dzl7Zum5.js +0 -77
- package/dist/cjs/udp-fluent-number-input.cjs.entry.js +0 -146
- package/dist/esm/lookupHelper-CSo9DNLr.js +0 -96
- package/dist/esm/searchObjectHelper-BjA6OHxg.js +0 -107
- package/dist/esm/slot-index-aYrr8BJl.js +0 -74
- package/dist/esm/udp-fluent-number-input.entry.js +0 -144
- package/dist/stencil-library/ag-grid-base_65.entry.js +0 -1
- package/dist/stencil-library/apiMethodInstance-BunReWfq.js +0 -1
- package/dist/stencil-library/apiUtils-Cq-WuEqc.js +0 -1
- package/dist/stencil-library/codecs-CI_fHfY1.js +0 -1
- package/dist/stencil-library/configService-D_9j963S.js +0 -1
- package/dist/stencil-library/configureUdpColumnMods-UWccWlH6.js +0 -1
- package/dist/stencil-library/createAzureMapsProviders-CLLCmr8f.js +0 -1
- package/dist/stencil-library/fluent-icons-pWFJyrRm.js +0 -1
- package/dist/stencil-library/load-icons-BHSNRRRA.js +0 -1
- package/dist/stencil-library/lookupHelper-CSo9DNLr.js +0 -1
- package/dist/stencil-library/searchObjectHelper-BjA6OHxg.js +0 -1
- package/dist/stencil-library/slot-index-aYrr8BJl.js +0 -1
- package/dist/stencil-library/status-renderer-BoY7sar9.js +0 -1
- package/dist/stencil-library/udp-detail-list_9.entry.js +0 -1
- package/dist/stencil-library/udp-fluent-number-input.entry.js +0 -1
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement, c as createEvent } from './index-15aY63VA.js';
|
|
2
|
+
import { b as buildSnapshot, i as isSnapshot, a as getDomainRows, c as alignRowsToColumns, d as coerceCell, s as stripSectionCopySuffix } from './domain-table-snapshot-H3o5mjFB.js';
|
|
3
|
+
import { p as processLookupsInData, b as getLookupTable } from './lookupHelper-D3LSjaES.js';
|
|
4
|
+
import { d as dateTimeValueFormatter } from './valueFormatters-BbY_Q8IE.js';
|
|
2
5
|
import '@fluentui/web-components/field.js';
|
|
3
6
|
import '@fluentui/web-components/label.js';
|
|
4
7
|
import '@fluentui/web-components/image.js';
|
|
@@ -13,8 +16,16 @@ import '@fluentui/web-components/listbox.js';
|
|
|
13
16
|
import '@fluentui/web-components/option.js';
|
|
14
17
|
import '@fluentui/web-components/text-input.js';
|
|
15
18
|
import SignaturePad from 'signature_pad';
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
19
|
+
import { F as FieldTypeId } from './types-NqFGtWPW.js';
|
|
20
|
+
import './apiUtils-CXqsYwOQ.js';
|
|
21
|
+
import 'lodash-es/isEqual';
|
|
22
|
+
import './makeApiCall-B-daVutk.js';
|
|
23
|
+
import 'axios';
|
|
24
|
+
import './configService-CehZzjhw.js';
|
|
25
|
+
import './tenantUtils-Basdb1b1.js';
|
|
26
|
+
import './getCurrentApiCatalogId-DeurXd9l.js';
|
|
27
|
+
import './SearchBuilder-BxLXFEeR.js';
|
|
28
|
+
import './searchObject-DpUZkcYC.js';
|
|
18
29
|
|
|
19
30
|
const udpDetailListCss = () => `:host{display:block;box-sizing:border-box;width:100%}.udp-detail-list__grid{display:grid;grid-template-columns:repeat(var(--detail-list-cols, 1), minmax(0, 1fr));grid-auto-flow:row;gap:var(--spacingVerticalM, 12px) var(--spacingHorizontalM, 12px);align-content:start}:host(.udp-detail-list--density-compact) .udp-detail-list__grid{gap:var(--spacingVerticalS, 8px) var(--spacingHorizontalS, 8px)}`;
|
|
20
31
|
|
|
@@ -188,7 +199,7 @@ const UdpDetailListItem = class {
|
|
|
188
199
|
if (isEmpty && this.emptyState === 'hide')
|
|
189
200
|
return null;
|
|
190
201
|
if (isEmpty && this.emptyState === 'dash')
|
|
191
|
-
return h("udp-text", { variant: "body1" }, "
|
|
202
|
+
return h("udp-text", { variant: "body1" }, "-");
|
|
192
203
|
return (h("div", { class: "udp-detail-list-item__value-wrap", "aria-labelledby": this.labelId }, h("udp-text", { variant: this.emphasis === 'strong' ? 'body1Strong' : 'body1', class: { 'udp-detail-list-item__value': true, 'udp-detail-list-item__value--clamp': !!this.valueLines }, style: this.valueLines ? { '--udp-detail-list-item-lines': String(this.valueLines) } : undefined }, (_a = this.value) !== null && _a !== void 0 ? _a : (this.emptyState === 'show-empty' ? '\u00A0' : ''))));
|
|
193
204
|
}
|
|
194
205
|
return (h("div", { class: "udp-detail-list-item__value-slot", "aria-labelledby": this.labelId }, h("slot", null)));
|
|
@@ -199,6 +210,572 @@ const UdpDetailListItem = class {
|
|
|
199
210
|
};
|
|
200
211
|
UdpDetailListItem.style = udpDetailListItemCss();
|
|
201
212
|
|
|
213
|
+
function hasConfiguredAggregates(columns) {
|
|
214
|
+
return (columns || []).some(col => col.type === 'number' && !!col.aggregate);
|
|
215
|
+
}
|
|
216
|
+
function getAggregateDecimalPlaces(col) {
|
|
217
|
+
const next = Number(col === null || col === void 0 ? void 0 : col.aggregateDecimalPlaces);
|
|
218
|
+
// Legacy parity: anything that isn't a non-negative integer falls back to 1.
|
|
219
|
+
if (!Number.isInteger(next) || next < 0)
|
|
220
|
+
return 1;
|
|
221
|
+
return next;
|
|
222
|
+
}
|
|
223
|
+
function getAggregateLabel(col) {
|
|
224
|
+
switch (col.aggregate) {
|
|
225
|
+
case 'sum': return 'Sum';
|
|
226
|
+
case 'avg': return 'Avg';
|
|
227
|
+
case 'min': return 'Min';
|
|
228
|
+
case 'max': return 'Max';
|
|
229
|
+
default: return '';
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Display text for one summary-row cell. Mirrors the legacy `table-input`
|
|
234
|
+
* footer exactly: aggregated number columns show `{Label}: {value}` with the
|
|
235
|
+
* configured decimal places (`{Label}: N/A` when there are no rows yet); the
|
|
236
|
+
* first column shows "Summary" when it isn't itself aggregated.
|
|
237
|
+
*
|
|
238
|
+
* `values` is this column's cell in every row.
|
|
239
|
+
*/
|
|
240
|
+
function getAggregateDisplay(col, columnIndex, values, columns) {
|
|
241
|
+
if (col.type === 'number' && col.aggregate) {
|
|
242
|
+
const label = getAggregateLabel(col);
|
|
243
|
+
if (values.length === 0)
|
|
244
|
+
return `${label}: N/A`;
|
|
245
|
+
const numbers = values.map(v => Number(v)).filter(v => Number.isFinite(v));
|
|
246
|
+
let aggregate = 0;
|
|
247
|
+
if (numbers.length > 0) {
|
|
248
|
+
switch (col.aggregate) {
|
|
249
|
+
case 'sum':
|
|
250
|
+
aggregate = numbers.reduce((t, v) => t + v, 0);
|
|
251
|
+
break;
|
|
252
|
+
case 'avg':
|
|
253
|
+
aggregate = numbers.reduce((t, v) => t + v, 0) / numbers.length;
|
|
254
|
+
break;
|
|
255
|
+
case 'min':
|
|
256
|
+
aggregate = Math.min(...numbers);
|
|
257
|
+
break;
|
|
258
|
+
case 'max':
|
|
259
|
+
aggregate = Math.max(...numbers);
|
|
260
|
+
break;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
return `${label}: ${aggregate.toFixed(getAggregateDecimalPlaces(col))}`;
|
|
264
|
+
}
|
|
265
|
+
if (columnIndex === 0 && col.type !== 'number' && hasConfiguredAggregates(columns)) {
|
|
266
|
+
return 'Summary';
|
|
267
|
+
}
|
|
268
|
+
return '';
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
const udpFluentDomainTableInputCss = () => `:host{display:block}.domain-table-input-label{display:flex;align-items:center;margin-bottom:var(--spacingVerticalXS, 4px)}.required-marker{color:var(--colorPaletteRedForeground1, #d13438);margin-left:var(--spacingHorizontalXXS, 2px)}.domain-table-input-toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--spacingHorizontalS, 8px);margin-bottom:var(--spacingVerticalS, 8px)}.domain-table-input-add-row{display:flex;margin-inline-start:auto}.domain-table-input-load-error{display:block;flex:0 1 auto;width:fit-content;min-width:0}.domain-table-input-retry{margin-inline-start:var(--spacingHorizontalS, 8px)}.domain-table-input-grid-wrapper{width:100%}.domain-table-input-error{margin-top:var(--spacingVerticalXS, 4px);color:var(--colorPaletteRedForeground1, #d13438);font-size:var(--fontSizeBase200, 12px)}.domain-table-input-drawer-footer{display:flex;justify-content:flex-end;gap:var(--spacingHorizontalS, 8px)}udp-fluent-domain-table-input .ag-floating-bottom .ag-cell{font-weight:600;background-color:var(--colorNeutralBackground3, #ebebeb)}`;
|
|
272
|
+
|
|
273
|
+
var __rest$1 = (undefined && undefined.__rest) || function (s, e) {
|
|
274
|
+
var t = {};
|
|
275
|
+
for (var p in s)
|
|
276
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
277
|
+
t[p] = s[p];
|
|
278
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
279
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
280
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
281
|
+
t[p[i]] = s[p[i]];
|
|
282
|
+
}
|
|
283
|
+
return t;
|
|
284
|
+
};
|
|
285
|
+
/** Drawer options for a boolean column — same Yes/No values the form's Yes/No question uses. */
|
|
286
|
+
const BOOLEAN_ITEMS = [
|
|
287
|
+
{ label: 'Yes', value: 'true' },
|
|
288
|
+
{ label: 'No', value: 'false' },
|
|
289
|
+
];
|
|
290
|
+
const UdpFluentDomainTableInput = class {
|
|
291
|
+
constructor(hostRef) {
|
|
292
|
+
registerInstance(this, hostRef);
|
|
293
|
+
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
294
|
+
/** Current answer. udp-field passes this in from Final Form state. */
|
|
295
|
+
this.value = null;
|
|
296
|
+
/** Columns to show, already filtered to `show === true` (no primary key). */
|
|
297
|
+
this.columns = [];
|
|
298
|
+
/** The domain to fetch rows from — a `UdpLookup` id of `TypeId = Domain`. */
|
|
299
|
+
this.domainLookupId = '';
|
|
300
|
+
/**
|
|
301
|
+
* Host filters, matched to this Table's domain by name (no `domainName` =
|
|
302
|
+
* every domain), e.g. `{ domainName: 'Project', fieldName: 'ProjectId', value }`.
|
|
303
|
+
* None applicable = every row.
|
|
304
|
+
*/
|
|
305
|
+
this.filters = [];
|
|
306
|
+
/** Let the user add (and delete) their own rows alongside the domain's. */
|
|
307
|
+
this.allowAddRows = false;
|
|
308
|
+
this.includeErrorPadding = true;
|
|
309
|
+
this.required = false;
|
|
310
|
+
this.disabled = false;
|
|
311
|
+
this.readonly = false;
|
|
312
|
+
/** Rows currently displayed: the snapshot's rows, lookup-resolved. */
|
|
313
|
+
this.rowData = [];
|
|
314
|
+
this.isLoadingDomain = false;
|
|
315
|
+
/** The live fetch failed — editing stays locked so a grid without domain rows is never saved. */
|
|
316
|
+
this.loadFailed = false;
|
|
317
|
+
this.drawerOpen = false;
|
|
318
|
+
this.editingRecordId = null;
|
|
319
|
+
/** True while the drawer edits a user-added row — every non-key (or lookup key) column is then an input. */
|
|
320
|
+
this.editingIsAdded = false;
|
|
321
|
+
this.editingRow = {};
|
|
322
|
+
this.drawerErrors = {};
|
|
323
|
+
/** The row the delete/clear dialog is open for. */
|
|
324
|
+
this.removingRecordId = null;
|
|
325
|
+
/**
|
|
326
|
+
* Edit-drawer dropdown options per lookup id. `undefined` = still loading;
|
|
327
|
+
* `null` = not a single-key lookup (or failed to load), so an editable
|
|
328
|
+
* column falls back to a text input.
|
|
329
|
+
*/
|
|
330
|
+
this.lookupOptionsById = {};
|
|
331
|
+
/** Live domain rows, aligned to the columns — fetched only while the value isn't a snapshot yet. */
|
|
332
|
+
this.liveRows = [];
|
|
333
|
+
/** `liveRows` were fetched for the current domain/filters — an empty domain stays loaded. */
|
|
334
|
+
this.liveRowsLoaded = false;
|
|
335
|
+
/** Guards against a stale fetch resolving after a newer one has started. */
|
|
336
|
+
this.loadGeneration = 0;
|
|
337
|
+
/**
|
|
338
|
+
* Separate counter for domain fetches only. `renderRows` bumps
|
|
339
|
+
* `loadGeneration` on every value change, which must not cancel an
|
|
340
|
+
* in-flight fetch (it would leave `isLoadingDomain` stuck true).
|
|
341
|
+
*/
|
|
342
|
+
this.fetchGeneration = 0;
|
|
343
|
+
this.retryLoad = () => void this.loadRows();
|
|
344
|
+
this.openAdd = () => {
|
|
345
|
+
if (this.isLocked)
|
|
346
|
+
return;
|
|
347
|
+
this.editingRow = {};
|
|
348
|
+
this.editingRecordId = `added_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`;
|
|
349
|
+
this.editingIsAdded = true;
|
|
350
|
+
this.drawerErrors = {};
|
|
351
|
+
this.drawerOpen = true;
|
|
352
|
+
this.loadLookupOptions();
|
|
353
|
+
};
|
|
354
|
+
this.openEdit = (recordId) => {
|
|
355
|
+
if (this.isLocked)
|
|
356
|
+
return;
|
|
357
|
+
const source = this.rowData.find(r => r._recordId === recordId);
|
|
358
|
+
if (!source)
|
|
359
|
+
return;
|
|
360
|
+
this.editingRow = Object.assign({}, source);
|
|
361
|
+
this.editingRecordId = recordId;
|
|
362
|
+
this.editingIsAdded = source._added === true;
|
|
363
|
+
this.drawerErrors = {};
|
|
364
|
+
this.drawerOpen = true;
|
|
365
|
+
this.loadLookupOptions();
|
|
366
|
+
};
|
|
367
|
+
this.closeDrawer = () => {
|
|
368
|
+
this.drawerOpen = false;
|
|
369
|
+
this.editingRecordId = null;
|
|
370
|
+
this.editingIsAdded = false;
|
|
371
|
+
this.editingRow = {};
|
|
372
|
+
this.drawerErrors = {};
|
|
373
|
+
};
|
|
374
|
+
this.setEditingCell = (key, raw) => {
|
|
375
|
+
this.editingRow = Object.assign(Object.assign({}, this.editingRow), { [key]: raw });
|
|
376
|
+
if (this.drawerErrors[key]) {
|
|
377
|
+
const _a = this.drawerErrors, _b = key, rest = __rest$1(_a, [typeof _b === "symbol" ? _b : _b + ""]);
|
|
378
|
+
this.drawerErrors = rest;
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
this.saveDrawer = () => {
|
|
382
|
+
if (this.commitEditingRow())
|
|
383
|
+
this.closeDrawer();
|
|
384
|
+
};
|
|
385
|
+
/** Commit the new row and keep the drawer open on a fresh one (Table's "New row"). */
|
|
386
|
+
this.saveAndAddAnother = () => {
|
|
387
|
+
if (this.commitEditingRow())
|
|
388
|
+
this.openAdd();
|
|
389
|
+
};
|
|
390
|
+
this.openRemoveDialog = (recordId) => {
|
|
391
|
+
if (this.isLocked)
|
|
392
|
+
return;
|
|
393
|
+
this.removingRecordId = recordId;
|
|
394
|
+
};
|
|
395
|
+
this.closeRemoveDialog = () => {
|
|
396
|
+
this.removingRecordId = null;
|
|
397
|
+
};
|
|
398
|
+
this.confirmDelete = () => this.confirmRemove(id => this.deleteRecord(id));
|
|
399
|
+
this.confirmClear = () => this.confirmRemove(id => this.clearRecord(id));
|
|
400
|
+
// ----- grid setup -----
|
|
401
|
+
this.gridOptions = {
|
|
402
|
+
suppressContextMenu: true,
|
|
403
|
+
suppressCellFocus: true,
|
|
404
|
+
defaultColDef: {
|
|
405
|
+
sortable: false,
|
|
406
|
+
filter: false,
|
|
407
|
+
resizable: true,
|
|
408
|
+
suppressHeaderMenuButton: true,
|
|
409
|
+
editable: false,
|
|
410
|
+
minWidth: 100,
|
|
411
|
+
},
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* The grid as a snapshot. The renderer hands over a snapshot already; a
|
|
416
|
+
* legacy partial value (or this component used on its own) is built from
|
|
417
|
+
* live data here, and the first edit saves it whole.
|
|
418
|
+
*/
|
|
419
|
+
get grid() {
|
|
420
|
+
return isSnapshot(this.value)
|
|
421
|
+
? this.value
|
|
422
|
+
: buildSnapshot(this.liveRows, this.value, this.columns);
|
|
423
|
+
}
|
|
424
|
+
emit(next) {
|
|
425
|
+
this.valueChanged.emit({ rows: next.rows, snapshot: true });
|
|
426
|
+
}
|
|
427
|
+
get isReadOnly() {
|
|
428
|
+
return this.disabled || this.readonly;
|
|
429
|
+
}
|
|
430
|
+
/** No edits until live rows arrive — a grid built from none would save only the overlay rows. */
|
|
431
|
+
get isLocked() {
|
|
432
|
+
return this.isReadOnly || this.isLoadingDomain || this.loadFailed;
|
|
433
|
+
}
|
|
434
|
+
componentWillLoad() {
|
|
435
|
+
void this.loadRows();
|
|
436
|
+
}
|
|
437
|
+
// Read-only grids skip the live fetch, so becoming editable needs one.
|
|
438
|
+
onSourceChange() {
|
|
439
|
+
void this.loadRows();
|
|
440
|
+
}
|
|
441
|
+
onColumnsChange(next, prev) {
|
|
442
|
+
// The renderer rebuilds the array every render — re-render only on a real change.
|
|
443
|
+
if (JSON.stringify(next) !== JSON.stringify(prev))
|
|
444
|
+
void this.renderRows();
|
|
445
|
+
}
|
|
446
|
+
onFiltersChange(next, prev) {
|
|
447
|
+
// The host rebuilds the array every render — refetch only on a real change.
|
|
448
|
+
if (JSON.stringify(next) !== JSON.stringify(prev))
|
|
449
|
+
void this.loadRows();
|
|
450
|
+
}
|
|
451
|
+
onValueChanged() {
|
|
452
|
+
// Rows come from the value itself — no refetch after a row save. A value
|
|
453
|
+
// reset to a non-snapshot needs live rows to rebuild from.
|
|
454
|
+
void (!isSnapshot(this.value) && !this.liveRowsLoaded ? this.loadRows() : this.renderRows());
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* Events from the drawer inputs (and the grid) bubble. A wrapping
|
|
458
|
+
* `udp-field` must only see this component's own `valueChanged` —
|
|
459
|
+
* otherwise it stores a raw cell value as the whole grid answer, marks the
|
|
460
|
+
* question touched while tabbing through the drawer, or submits the form
|
|
461
|
+
* on Enter.
|
|
462
|
+
*/
|
|
463
|
+
stopInnerEvents(ev) {
|
|
464
|
+
if (ev.target !== this.el)
|
|
465
|
+
ev.stopPropagation();
|
|
466
|
+
}
|
|
467
|
+
stopInnerEnter(ev) {
|
|
468
|
+
if (ev.key === 'Enter')
|
|
469
|
+
ev.stopPropagation();
|
|
470
|
+
}
|
|
471
|
+
// ----- data loading -----
|
|
472
|
+
async loadRows() {
|
|
473
|
+
var _a;
|
|
474
|
+
// Read-only/print renders exactly what was saved, and a snapshot already
|
|
475
|
+
// holds the whole grid — no live dependency.
|
|
476
|
+
if (this.isReadOnly || !this.domainLookupId || isSnapshot(this.value)) {
|
|
477
|
+
this.fetchGeneration++; // drop any in-flight fetch
|
|
478
|
+
this.isLoadingDomain = false;
|
|
479
|
+
this.loadFailed = false;
|
|
480
|
+
this.liveRows = [];
|
|
481
|
+
this.liveRowsLoaded = false;
|
|
482
|
+
await this.renderRows();
|
|
483
|
+
return;
|
|
484
|
+
}
|
|
485
|
+
const fetchGeneration = ++this.fetchGeneration;
|
|
486
|
+
this.isLoadingDomain = true;
|
|
487
|
+
this.loadFailed = false;
|
|
488
|
+
this.liveRowsLoaded = false;
|
|
489
|
+
const domainRows = await getDomainRows(this.domainLookupId, (_a = this.filters) !== null && _a !== void 0 ? _a : []);
|
|
490
|
+
if (fetchGeneration !== this.fetchGeneration)
|
|
491
|
+
return;
|
|
492
|
+
this.liveRows = alignRowsToColumns(domainRows !== null && domainRows !== void 0 ? domainRows : [], this.columns);
|
|
493
|
+
this.liveRowsLoaded = domainRows !== null;
|
|
494
|
+
this.isLoadingDomain = false;
|
|
495
|
+
// A value that became a snapshot mid-fetch needs no live rows — don't lock it.
|
|
496
|
+
this.loadFailed = domainRows === null && !isSnapshot(this.value);
|
|
497
|
+
await this.renderRows();
|
|
498
|
+
}
|
|
499
|
+
async renderRows(generation = ++this.loadGeneration) {
|
|
500
|
+
const resolved = await this.resolveLookups(this.grid.rows);
|
|
501
|
+
if (generation !== this.loadGeneration)
|
|
502
|
+
return;
|
|
503
|
+
this.rowData = resolved;
|
|
504
|
+
}
|
|
505
|
+
async resolveLookups(rows) {
|
|
506
|
+
if (rows.length === 0)
|
|
507
|
+
return rows;
|
|
508
|
+
const hasLookupColumn = this.columns.some(col => col.type === 'lookup' && col.lookupId);
|
|
509
|
+
if (!hasLookupColumn)
|
|
510
|
+
return rows;
|
|
511
|
+
return processLookupsInData(rows, this.buildFieldColumnDefs());
|
|
512
|
+
}
|
|
513
|
+
// ----- row edit (drawer) -----
|
|
514
|
+
/**
|
|
515
|
+
* Domain rows take input only in editable columns; an added row in every
|
|
516
|
+
* non-key column, plus key columns mapped to a lookup (picked from it).
|
|
517
|
+
*/
|
|
518
|
+
isCellEditable(col) {
|
|
519
|
+
return this.editingIsAdded
|
|
520
|
+
? !col.isKey || (col.type === 'lookup' && !!col.lookupId)
|
|
521
|
+
: !!col.editable;
|
|
522
|
+
}
|
|
523
|
+
loadLookupOptions() {
|
|
524
|
+
for (const col of this.columns) {
|
|
525
|
+
const lookupId = col.lookupId;
|
|
526
|
+
if (!this.isCellEditable(col) ||
|
|
527
|
+
col.type !== 'lookup' ||
|
|
528
|
+
!lookupId ||
|
|
529
|
+
lookupId in this.lookupOptionsById)
|
|
530
|
+
continue;
|
|
531
|
+
void getLookupTable(lookupId).then(table => {
|
|
532
|
+
const keyName = table.keys.length === 1 ? table.keys[0].name : null;
|
|
533
|
+
const options = keyName
|
|
534
|
+
? [...table.valueMap]
|
|
535
|
+
.map(([keyMap, label]) => {
|
|
536
|
+
var _a;
|
|
537
|
+
const value = (_a = keyMap.get(keyName)) !== null && _a !== void 0 ? _a : '';
|
|
538
|
+
return { value, label: label == null || label === '' ? value : String(label) };
|
|
539
|
+
})
|
|
540
|
+
.filter(option => option.value !== '')
|
|
541
|
+
: null;
|
|
542
|
+
this.lookupOptionsById = Object.assign(Object.assign({}, this.lookupOptionsById), { [lookupId]: options });
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
validateEditingRow() {
|
|
547
|
+
const errs = {};
|
|
548
|
+
for (const col of this.columns) {
|
|
549
|
+
if (!this.isCellEditable(col))
|
|
550
|
+
continue;
|
|
551
|
+
const raw = this.editingRow[col.key];
|
|
552
|
+
const isEmpty = raw == null || (typeof raw === 'string' && raw.trim() === '');
|
|
553
|
+
if ((col.required || this.required) && isEmpty) {
|
|
554
|
+
errs[col.key] = `${col.displayName} is required`;
|
|
555
|
+
continue;
|
|
556
|
+
}
|
|
557
|
+
if (col.type === 'number' && !isEmpty) {
|
|
558
|
+
const n = typeof raw === 'number' ? raw : Number(raw);
|
|
559
|
+
if (!Number.isFinite(n))
|
|
560
|
+
errs[col.key] = `${col.displayName} must be a number`;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
return errs;
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* Validate + coerce + emit. Snapshots EVERY shown column's current value
|
|
567
|
+
* (not just the editable ones) so a later read-only view can render the
|
|
568
|
+
* full grid without a live domain re-fetch.
|
|
569
|
+
*/
|
|
570
|
+
commitEditingRow() {
|
|
571
|
+
if (this.editingRecordId == null)
|
|
572
|
+
return false;
|
|
573
|
+
const errs = this.validateEditingRow();
|
|
574
|
+
if (Object.keys(errs).length > 0) {
|
|
575
|
+
this.drawerErrors = errs;
|
|
576
|
+
return false;
|
|
577
|
+
}
|
|
578
|
+
const row = { _recordId: this.editingRecordId };
|
|
579
|
+
if (this.editingIsAdded)
|
|
580
|
+
row._added = true;
|
|
581
|
+
for (const col of this.columns)
|
|
582
|
+
row[col.key] = coerceCell(col, this.editingRow[col.key]);
|
|
583
|
+
// Replace in place so the row keeps its position; a new row goes last.
|
|
584
|
+
const grid = this.grid;
|
|
585
|
+
const exists = grid.rows.some(r => r._recordId === row._recordId);
|
|
586
|
+
this.emit(Object.assign(Object.assign({}, grid), { rows: exists
|
|
587
|
+
? grid.rows.map(r => (r._recordId === row._recordId ? row : r))
|
|
588
|
+
: [...grid.rows, row] }));
|
|
589
|
+
return true;
|
|
590
|
+
}
|
|
591
|
+
/** Run the picked action, and close the drawer if it was editing that row. */
|
|
592
|
+
confirmRemove(action) {
|
|
593
|
+
const recordId = this.removingRecordId;
|
|
594
|
+
this.removingRecordId = null;
|
|
595
|
+
if (recordId == null)
|
|
596
|
+
return;
|
|
597
|
+
action(recordId);
|
|
598
|
+
if (this.editingRecordId === recordId)
|
|
599
|
+
this.closeDrawer();
|
|
600
|
+
}
|
|
601
|
+
/** Any row can be deleted. */
|
|
602
|
+
deleteRecord(recordId) {
|
|
603
|
+
if (this.isLocked)
|
|
604
|
+
return;
|
|
605
|
+
const grid = this.grid;
|
|
606
|
+
if (!grid.rows.some(r => r._recordId === recordId))
|
|
607
|
+
return;
|
|
608
|
+
this.emit({ rows: grid.rows.filter(r => r._recordId !== recordId) });
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* Blank every column but the locked ones, the key and the read-only ones,
|
|
612
|
+
* keeping the row.
|
|
613
|
+
*/
|
|
614
|
+
clearRecord(recordId) {
|
|
615
|
+
if (this.isLocked)
|
|
616
|
+
return;
|
|
617
|
+
const grid = this.grid;
|
|
618
|
+
const row = grid.rows.find(r => r._recordId === recordId);
|
|
619
|
+
if (!row)
|
|
620
|
+
return;
|
|
621
|
+
const cleared = Object.assign({}, row);
|
|
622
|
+
for (const col of this.columns) {
|
|
623
|
+
const keep = col.locked || col.isKey || !col.editable;
|
|
624
|
+
if (!keep)
|
|
625
|
+
cleared[col.key] = coerceCell(col, null);
|
|
626
|
+
}
|
|
627
|
+
this.emit(Object.assign(Object.assign({}, grid), { rows: grid.rows.map(r => (r._recordId === recordId ? cleared : r)) }));
|
|
628
|
+
}
|
|
629
|
+
// ----- summary (aggregate) row — same convention as Table -----
|
|
630
|
+
hasConfiguredAggregates() {
|
|
631
|
+
return hasConfiguredAggregates(this.columns);
|
|
632
|
+
}
|
|
633
|
+
getAggregateDisplay(col, columnIndex) {
|
|
634
|
+
// A blank number cell is `null` here — leave it out rather than count it as 0.
|
|
635
|
+
const values = this.rowData.map(row => row === null || row === void 0 ? void 0 : row[col.key]).filter(v => v != null && v !== '');
|
|
636
|
+
return getAggregateDisplay(col, columnIndex, values, this.columns);
|
|
637
|
+
}
|
|
638
|
+
buildFieldColumnDefs() {
|
|
639
|
+
return this.columns.map((col, columnIndex) => {
|
|
640
|
+
const cellRenderer = (params) => {
|
|
641
|
+
var _a, _b;
|
|
642
|
+
if (((_a = params.node) === null || _a === void 0 ? void 0 : _a.rowPinned) === 'bottom') {
|
|
643
|
+
return this.getAggregateDisplay(col, columnIndex);
|
|
644
|
+
}
|
|
645
|
+
const v = params.value;
|
|
646
|
+
if (v == null || v === '')
|
|
647
|
+
return '';
|
|
648
|
+
return (_b = params.valueFormatted) !== null && _b !== void 0 ? _b : String(v);
|
|
649
|
+
};
|
|
650
|
+
const base = {
|
|
651
|
+
headerName: col.editable && (col.required || this.required) ? `${col.displayName} *` : col.displayName,
|
|
652
|
+
field: col.key,
|
|
653
|
+
context: col.type === 'lookup' && col.lookupId ? { lookupId: col.lookupId } : undefined,
|
|
654
|
+
// Same shared formatter ag-grid-base registers for `dateTimeString` columns.
|
|
655
|
+
valueFormatter: col.type === 'datetime' ? dateTimeValueFormatter : undefined,
|
|
656
|
+
};
|
|
657
|
+
// Booleans render as the shared ✓/✕ `booleanChip` (ag-grid-base); the
|
|
658
|
+
// summary row keeps the text renderer.
|
|
659
|
+
return col.type === 'boolean'
|
|
660
|
+
? Object.assign(Object.assign({}, base), { type: 'booleanChip', cellRendererSelector: (params) => { var _a; return ((_a = params.node) === null || _a === void 0 ? void 0 : _a.rowPinned) === 'bottom' ? { component: cellRenderer } : undefined; } }) : Object.assign(Object.assign({}, base), { cellRenderer });
|
|
661
|
+
});
|
|
662
|
+
}
|
|
663
|
+
buildColumnDefs() {
|
|
664
|
+
const fieldCols = this.buildFieldColumnDefs();
|
|
665
|
+
if (this.isReadOnly)
|
|
666
|
+
return fieldCols;
|
|
667
|
+
const editAction = {
|
|
668
|
+
id: 'edit-row',
|
|
669
|
+
iconName: 'edit',
|
|
670
|
+
title: 'Edit row',
|
|
671
|
+
handleOnClick: (_event, node) => {
|
|
672
|
+
var _a;
|
|
673
|
+
const recordId = (_a = node === null || node === void 0 ? void 0 : node.data) === null || _a === void 0 ? void 0 : _a._recordId;
|
|
674
|
+
if (recordId)
|
|
675
|
+
this.openEdit(recordId);
|
|
676
|
+
},
|
|
677
|
+
};
|
|
678
|
+
const deleteAction = {
|
|
679
|
+
id: 'delete-row',
|
|
680
|
+
iconName: 'eraser',
|
|
681
|
+
title: 'Delete or clear row',
|
|
682
|
+
handleOnClick: (_event, node) => {
|
|
683
|
+
var _a;
|
|
684
|
+
const recordId = (_a = node === null || node === void 0 ? void 0 : node.data) === null || _a === void 0 ? void 0 : _a._recordId;
|
|
685
|
+
if (recordId)
|
|
686
|
+
this.openRemoveDialog(recordId);
|
|
687
|
+
},
|
|
688
|
+
};
|
|
689
|
+
const actionsCol = {
|
|
690
|
+
headerName: '',
|
|
691
|
+
field: '__actions',
|
|
692
|
+
editable: false,
|
|
693
|
+
sortable: false,
|
|
694
|
+
filter: false,
|
|
695
|
+
resizable: false,
|
|
696
|
+
suppressHeaderMenuButton: true,
|
|
697
|
+
width: 72,
|
|
698
|
+
cellRendererSelector: (params) => {
|
|
699
|
+
var _a;
|
|
700
|
+
return ((_a = params.node) === null || _a === void 0 ? void 0 : _a.rowPinned) === 'bottom'
|
|
701
|
+
? undefined
|
|
702
|
+
: { component: 'actionsRenderer', params: { actionList: [editAction, deleteAction] } };
|
|
703
|
+
},
|
|
704
|
+
};
|
|
705
|
+
return [...fieldCols, actionsCol];
|
|
706
|
+
}
|
|
707
|
+
// ----- render -----
|
|
708
|
+
render() {
|
|
709
|
+
const columnDefs = this.buildColumnDefs();
|
|
710
|
+
const hasColumns = this.columns.length > 0;
|
|
711
|
+
const isEditing = this.editingRecordId != null;
|
|
712
|
+
// A row already in the grid (domain or user-added) vs one being added now.
|
|
713
|
+
const isExistingRow = isEditing && this.rowData.some(r => r._recordId === this.editingRecordId);
|
|
714
|
+
const hasAggregates = this.hasConfiguredAggregates();
|
|
715
|
+
const gridOptions = hasAggregates
|
|
716
|
+
? Object.assign(Object.assign({}, this.gridOptions), { pinnedBottomRowData: [{}] }) : this.gridOptions;
|
|
717
|
+
const bodyRows = hasAggregates && this.rowData.length === 0 ? 2 : this.rowData.length;
|
|
718
|
+
const gridHeight = `${Math.min(400, 60 + bodyRows * 40 + 40 + (hasAggregates ? 40 : 0))}px`;
|
|
719
|
+
const canAddRows = hasColumns && !this.isReadOnly && this.allowAddRows;
|
|
720
|
+
return (h(Host, { key: 'd4c1c2527ddd486cd8ce480904111ee5c527e418' }, this.label && (h("div", { key: 'b00b5fd9c01f0079f3a7b9a90e37d1f5bb15b664', class: "domain-table-input-label" }, h("udp-text", { key: 'b9d9b369538003754d9299c79fec16edbecd6ca0', variant: "body1Strong" }, this.label), this.required && h("span", { key: '64d3116cd034989633798c139e86dd7bee079289', class: "required-marker" }, " *"))), this.hint && h("udp-text", { key: 'c414727e3e297fbfa067e0378d39a53f395283ad', variant: "caption1" }, this.hint), (this.loadFailed || canAddRows) && (h("div", { key: '2f365ba0eca1767140f9e248bbe6f70285504616', class: "domain-table-input-toolbar" }, this.loadFailed && (h("udp-message-bar", { key: '9512a43923f319fd9e2b017035c7cfbd14ca2772', intent: "error", class: "domain-table-input-load-error" }, "Couldn't load the rows for this table.", h("udp-fluent-button", { key: '51294c2804086200be9074e015a34f79b13fb5a2', class: "domain-table-input-retry", slot: "actions", appearance: "outline", size: "small", onClick: this.retryLoad }, "Retry"))), canAddRows && (h("udp-fluent-button", { key: 'deca4b7d1930bdc558ac00d66d70a812cfc21e9d', class: "domain-table-input-add-row", appearance: "secondary", startIconName: "add", disabled: this.isLocked, onClick: this.openAdd }, "Add row")))), hasColumns ? (h("div", { class: "domain-table-input-grid-wrapper" }, h("client-side-grid", { rowData: this.rowData, columnDefs: columnDefs, gridOptions: gridOptions, gridHeight: gridHeight, loading: this.isLoadingDomain }))) : (h("udp-text", { variant: "caption1" }, "No columns configured for this grid.")), this.error && h("div", { key: '9574036664ea7fce4edf8d6ada0d20cd89ca765b', class: "domain-table-input-error" }, this.error), h("udp-fluent-drawer", { key: 'a0c6440ce8c809115a54c5ebdadccee38b0d3b4c', open: this.drawerOpen, drawerTitle: isExistingRow ? 'Edit row' : 'Add row', size: "medium", onDrawerClose: this.closeDrawer }, h("udp-flexbox", { key: 'd49da817c63a85857905a06b1e71416c022d0e97', display: "flex", direction: "column", gap: "md" }, isEditing &&
|
|
721
|
+
this.columns.map(col => {
|
|
722
|
+
var _a;
|
|
723
|
+
const raw = this.editingRow[col.key];
|
|
724
|
+
const lookupOptions = col.type === 'lookup' && col.lookupId
|
|
725
|
+
? this.lookupOptionsById[col.lookupId]
|
|
726
|
+
: undefined;
|
|
727
|
+
if (col.type === 'boolean') {
|
|
728
|
+
// Yes/No like the form's own Yes/No question; read-only shows it disabled.
|
|
729
|
+
const answer = coerceCell(col, raw);
|
|
730
|
+
return (h("udp-fluent-radio-group", { key: col.key, label: col.displayName, items: BOOLEAN_ITEMS, value: answer == null ? '' : String(answer), disabled: !this.isCellEditable(col), error: this.drawerErrors[col.key], onValueChanged: (e) => this.setEditingCell(col.key, e.detail === 'true') }));
|
|
731
|
+
}
|
|
732
|
+
if (!this.isCellEditable(col)) {
|
|
733
|
+
// Read-only columns render as disabled fields so they line
|
|
734
|
+
// up with the editable ones; lookups show their label.
|
|
735
|
+
const displayValue = col.type === 'lookup'
|
|
736
|
+
? (_a = this.editingRow[`${col.key}LookupValue`]) !== null && _a !== void 0 ? _a : raw
|
|
737
|
+
: col.type === 'datetime' && raw != null && raw !== ''
|
|
738
|
+
? dateTimeValueFormatter({ value: raw })
|
|
739
|
+
: raw;
|
|
740
|
+
return (h("udp-fluent-text-input", { key: col.key, label: col.displayName, type: col.type === 'number' ? 'number' : 'text', value: displayValue == null ? '' : String(displayValue), disabled: true }));
|
|
741
|
+
}
|
|
742
|
+
const stringValue = raw == null ? '' : typeof raw === 'string' ? raw : String(raw);
|
|
743
|
+
if (col.type === 'date') {
|
|
744
|
+
return (h("udp-date-input", { key: col.key, label: col.displayName, required: col.required, value: stringValue.slice(0, 10), error: this.drawerErrors[col.key], onValueChanged: (e) => this.setEditingCell(col.key, e.detail) }));
|
|
745
|
+
}
|
|
746
|
+
if (col.type === 'datetime') {
|
|
747
|
+
return (h("udp-date-time-input", { key: col.key, label: col.displayName, required: col.required, value: stringValue.slice(0, 16), error: this.drawerErrors[col.key], onValueChanged: (e) => this.setEditingCell(col.key, e.detail) }));
|
|
748
|
+
}
|
|
749
|
+
if (col.type === 'lookup' && col.lookupId && lookupOptions !== null) {
|
|
750
|
+
return (h("udp-fluent-dropdown", { key: col.key, label: col.displayName, required: col.required, options: lookupOptions !== null && lookupOptions !== void 0 ? lookupOptions : [], loading: lookupOptions === undefined, valueAs: "value", value: stringValue, error: this.drawerErrors[col.key], onValueChanged: (e) => this.setEditingCell(col.key, e.detail == null ? '' : String(e.detail)) }));
|
|
751
|
+
}
|
|
752
|
+
return (h("udp-fluent-text-input", { key: col.key, label: col.displayName, required: col.required, type: col.type === 'number' ? 'number' : 'text', value: stringValue, error: this.drawerErrors[col.key], onValueChanged: (e) => this.setEditingCell(col.key, e.detail) }));
|
|
753
|
+
})), h("div", { key: 'e0e365872f774e277167225851e68bbf24151e8f', slot: "footer", class: "domain-table-input-drawer-footer" }, isExistingRow && (h("udp-fluent-button", { key: '99550c3a109d69630d176609d2f2563be13b7c09', appearance: "secondary", startIconName: "eraser", onClick: () => this.openRemoveDialog(this.editingRecordId) }, "Delete row")), h("udp-fluent-button", { key: 'ede6bfe74d2843a0b9efe1ff9779aacae378a0e6', appearance: "primary", onClick: this.saveDrawer, startIconName: "checkmark" }, "Done"), !isExistingRow && this.allowAddRows && (h("udp-fluent-button", { key: 'fc626672ad35b8914f811499df86c5c3158075d3', appearance: "secondary", startIconName: "add", onClick: this.saveAndAddAnother }, "New row")), h("udp-fluent-button", { key: '2eecab8add2f02c2df36b71eff6151dcad300050', appearance: "subtle", onClick: this.closeDrawer }, "Cancel"))), h("udp-fluent-dialog", { key: 'a9ffe82e9caf83a5f05369e967f08d43895beb7e', open: this.removingRecordId != null, dialogTitle: "Remove row data", onDialogClose: this.closeRemoveDialog }, h("udp-text", { key: 'be348ea0c7dbb09e29d5caf003cecd4da7dc92b0', variant: "body1" }, "Delete this row, or clear its data? Locked and read-only fields are kept. This can't be undone."), h("udp-fluent-button", { key: '549d67f0967807b06d652ba446a8f3013e52e6d8', slot: "action", appearance: "subtle", onClick: this.closeRemoveDialog }, "Cancel"), h("udp-fluent-button", { key: 'f185522eb3a6645477c9b27eb0e5f21d9110c576', slot: "action", appearance: "secondary", onClick: this.confirmClear }, "Clear data"), h("udp-fluent-button", { key: '0392fcee5f8777137a437cab77720ce3edeb82ae', slot: "action", appearance: "primary", onClick: this.confirmDelete }, "Delete row"))));
|
|
754
|
+
}
|
|
755
|
+
get el() { return getElement(this); }
|
|
756
|
+
static get watchers() { return {
|
|
757
|
+
"domainLookupId": [{
|
|
758
|
+
"onSourceChange": 0
|
|
759
|
+
}],
|
|
760
|
+
"disabled": [{
|
|
761
|
+
"onSourceChange": 0
|
|
762
|
+
}],
|
|
763
|
+
"readonly": [{
|
|
764
|
+
"onSourceChange": 0
|
|
765
|
+
}],
|
|
766
|
+
"columns": [{
|
|
767
|
+
"onColumnsChange": 0
|
|
768
|
+
}],
|
|
769
|
+
"filters": [{
|
|
770
|
+
"onFiltersChange": 0
|
|
771
|
+
}],
|
|
772
|
+
"value": [{
|
|
773
|
+
"onValueChanged": 0
|
|
774
|
+
}]
|
|
775
|
+
}; }
|
|
776
|
+
};
|
|
777
|
+
UdpFluentDomainTableInput.style = udpFluentDomainTableInputCss();
|
|
778
|
+
|
|
202
779
|
// --- Identity ---
|
|
203
780
|
function getItemName(item) {
|
|
204
781
|
return item.kind === 'pending' ? item.file.name : item.name;
|
|
@@ -704,21 +1281,21 @@ const UdpFluentFileInput = class {
|
|
|
704
1281
|
const hasFiles = this.items.length > 0;
|
|
705
1282
|
const limitReached = this.maxFiles != null && this.maxFiles !== 1 && this.items.length >= this.maxFiles;
|
|
706
1283
|
const showDropZone = !this.readonly && !limitReached;
|
|
707
|
-
return (h(Host, { key: '
|
|
1284
|
+
return (h(Host, { key: 'f1e9865fa3fc31860455a0839e764b1502682c58', class: {
|
|
708
1285
|
'has-error': hasError,
|
|
709
1286
|
[`view-${this.view}`]: true,
|
|
710
1287
|
[`appearance-${this.appearance}`]: true,
|
|
711
1288
|
disabled: this.disabled,
|
|
712
1289
|
readonly: this.readonly,
|
|
713
|
-
} }, h("fluent-field", { key: '
|
|
1290
|
+
} }, h("fluent-field", { key: '130d6b3c90dd3e376997dfbc1b8938743f8aa522', class: { 'no-message': noMessage } }, h("div", { key: 'f83f1295a9fb6af2a73825e6e117039b25fcc3e9', slot: "input", class: "root" }, this.label && (h("fluent-label", { key: '5a532c58ec45e1d5b00e632c7b74564d21dcd475', class: "field-label", required: this.required, disabled: this.disabled }, this.label)), h("input", { key: '8655bc5e6df80f3a34becb026dde5e7ce3104bdc', ref: el => (this.fileInputRef = el), type: "file", class: "hidden-input", name: this.name, accept: this.accept, multiple: allowMultiple, disabled: this.disabled || this.readonly, onChange: this.handleInputChange,
|
|
714
1291
|
// Containers like fluent-drawer's <dialog> call preventDefault on
|
|
715
1292
|
// every bubbled click. The synthetic click from .click() must not
|
|
716
1293
|
// reach them, or the canceled flag suppresses the file picker.
|
|
717
|
-
onClick: (e) => e.stopPropagation() }), this.renderDropContainer({ hasFiles, showDropZone, allowMultiple })), h("udp-text", { key: '
|
|
1294
|
+
onClick: (e) => e.stopPropagation() }), this.renderDropContainer({ hasFiles, showDropZone, allowMultiple })), h("udp-text", { key: 'a9db6f532067ea348549172637313cd3825dfac6', slot: "message", variant: "caption1", class: {
|
|
718
1295
|
message: true,
|
|
719
1296
|
error: hasError,
|
|
720
1297
|
'include-error-padding': this.includeErrorPadding,
|
|
721
|
-
} }, message)), this.view === 'gallery' && (h("dialog", { key: '
|
|
1298
|
+
} }, message)), this.view === 'gallery' && (h("dialog", { key: '2c0474371343890246b5ed22d8826adf3acf52f0', class: "lightbox", ref: el => (this.dialogRef = el), onClose: this.handleDialogClose, onClick: this.handleBackdropClick, onKeyDown: this.handleLightboxKeyDown }, this.lightboxIndex >= 0 && this.renderLightboxContent()))));
|
|
722
1299
|
}
|
|
723
1300
|
/**
|
|
724
1301
|
* Single dropzone container. Layout depends on state:
|
|
@@ -841,7 +1418,7 @@ const UdpFluentImage = class {
|
|
|
841
1418
|
this.shadow = false;
|
|
842
1419
|
}
|
|
843
1420
|
render() {
|
|
844
|
-
return (h(Host, { key: '
|
|
1421
|
+
return (h(Host, { key: '9679e20087672eef0d6ea8063ddefab3e8a37cc9' }, h("fluent-image", { key: 'd47537a9d562ecb02506759eb3738443f635a660', block: this.block, bordered: this.bordered, shadow: this.shadow, fit: this.fit, shape: this.shape }, h("slot", { key: 'a0420e8d076744e7c077dbe9ecb141124199d478' }))));
|
|
845
1422
|
}
|
|
846
1423
|
};
|
|
847
1424
|
|
|
@@ -874,7 +1451,7 @@ const UdpFluentListInput = class {
|
|
|
874
1451
|
render() {
|
|
875
1452
|
const hasError = !!this.error;
|
|
876
1453
|
const message = this.error || this.hint;
|
|
877
|
-
return (h(Host, { key: '
|
|
1454
|
+
return (h(Host, { key: 'b8122cae0e7ac97fea26eac666278d78a86f790a' }, h("fluent-field", { key: '2dde8c3c855dd81fba2dde11829965d674ebbf4a', "label-position": "above", class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, h("fluent-label", { key: '3ae5f848c1c238a1336c9922d0720e52f327eb35', slot: "label", required: this.required, disabled: this.disabled }, this.label, this.popupHint && (h("udp-tooltip", { key: 'c78b0b3302d67eaafadfaf68c10b76c919dcd767', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '3c1a5d970414de595321977288f0814c5607ca78', name: "info", size: "xs", class: "popup-hint-icon" })))), h("udp-list", { key: 'bd8265ed51e8bb73d3a58e2a4da77eab0a6d8674', slot: "input", selectionMode: "multiselect", selectedItems: this.selected, onListSelectionChange: this.handleSelectionChange }, this.options.map(option => (h("udp-fluent-list-item", { key: option.value, value: option.value, label: option.display, disabled: this.isReadOnly })))), h("udp-text", { key: '4182f4cb396888ca7b3b42720174f8570ebaef45', slot: "message", variant: "caption1", class: {
|
|
878
1455
|
message: true,
|
|
879
1456
|
error: hasError,
|
|
880
1457
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -1370,16 +1947,16 @@ const UdpFluentLocationInput = class {
|
|
|
1370
1947
|
const showSearch = !this.hideAddressSearch;
|
|
1371
1948
|
const showGeoButton = this.showGeolocationButton && !this.readonly && !this.disabled;
|
|
1372
1949
|
const tileUrlMissing = this.showMap && !this.tileUrlTemplate;
|
|
1373
|
-
return (h(Host, { key: '
|
|
1950
|
+
return (h(Host, { key: 'ef49006ae0a51dd27382b0a5953dfc4967c82bf5', class: {
|
|
1374
1951
|
'has-error': hasError,
|
|
1375
1952
|
[`size-${this.controlSize}`]: true,
|
|
1376
1953
|
[`appearance-${this.appearance}`]: true,
|
|
1377
1954
|
disabled: this.disabled,
|
|
1378
1955
|
readonly: this.readonly,
|
|
1379
|
-
} }, h("fluent-field", { key: '
|
|
1956
|
+
} }, h("fluent-field", { key: 'ad11db92bc22bc11883f8f0855d0f7e2920da401', class: { 'no-message': noMessage } }, h("div", { key: 'e91486c097dd00de4a1a6122fed68f22ff7dabda', slot: "input", class: "root" }, !showSearch && this.label && (h("fluent-label", { key: 'f553d26e86467c20e735e4cf4f0ee8eec841bf9f', class: "field-label", required: this.required, disabled: this.disabled }, this.label)), showSearch && this.renderSearchPicker(showGeoButton), this.showMap && (h("div", { key: '150943470e866021b49ac41b3d3403970723a33d', class: {
|
|
1380
1957
|
'map-wrap': true,
|
|
1381
1958
|
'is-loading': this.isReverseGeocoding,
|
|
1382
|
-
}, style: { height: this.mapHeight } }, tileUrlMissing && (h("div", { key: '
|
|
1959
|
+
}, style: { height: this.mapHeight } }, tileUrlMissing && (h("div", { key: 'de2935e4e7b1ffc66878560e2eab77f8b72fa9fa', class: "map-empty" }, h("udp-text", { key: 'ae2147e47f1ba0c9c32e8c8c946c9819cd5a4439', variant: "caption1", class: "map-empty-text" }, "Map provider not configured."))), h("div", { key: 'dda2ad749f3f44b48030f5e8d76266735a2f25ae', ref: el => (this.mapEl = el), class: "map", "aria-label": this.label ? `${this.label} map` : 'Location map' }), this.isReverseGeocoding && (h("div", { key: '315e3392d283402e11a66c4ff2f17566fcef7fb7', class: "map-loading", "aria-hidden": "true" }, h("udp-spinner", { key: '0c38744bcc1193c034237c910c8bcb9945e37671', size: "small" })))))), h("udp-text", { key: '7f934107126137227f588bd0ff3c3fb231508be9', slot: "message", variant: "caption1", class: {
|
|
1383
1960
|
message: true,
|
|
1384
1961
|
error: hasError,
|
|
1385
1962
|
'include-error-padding': this.includeErrorPadding,
|
|
@@ -1721,18 +2298,18 @@ const UdpFluentSignatureInput = class {
|
|
|
1721
2298
|
*/
|
|
1722
2299
|
const clearVisible = !this.readonly && !this.disabled && !this.isEmpty;
|
|
1723
2300
|
const showReadonlyEmpty = this.readonly && this.isEmpty && !((_a = this.value) === null || _a === void 0 ? void 0 : _a.file);
|
|
1724
|
-
return (h(Host, { key: '
|
|
2301
|
+
return (h(Host, { key: 'c17c1414ac1a2909970f82894001cf76ae3639a5', class: {
|
|
1725
2302
|
'has-error': hasError,
|
|
1726
2303
|
[`appearance-${this.appearance}`]: true,
|
|
1727
2304
|
disabled: this.disabled,
|
|
1728
2305
|
readonly: this.readonly,
|
|
1729
|
-
} }, h("fluent-field", { key: '
|
|
2306
|
+
} }, h("fluent-field", { key: '7457f139b6f70a7dd8dc0af36dd19a11e9e7f250', class: { 'no-message': noMessage } }, h("div", { key: '7440a107f43a674cea01e4efd831e5454b188e21', slot: "input", class: "root" }, h("div", { key: '4b91e7e24d0ac4e38b43ded9a98343022f56c69a', class: "signature-group" }, h("div", { key: '953cf245a163d15953b3688f2b68922cc3bb9100', class: "header" }, this.label && (h("fluent-label", { key: '424eedcec2eda3aa1ff6b57ba1d022cd6037792b', class: "field-label", required: this.required, disabled: this.disabled }, this.label)), h("udp-fluent-button", { key: '71e3401fddf62906f4de047f7bdbf17b6ae8376b', class: { 'clear-button': true, hidden: !clearVisible }, appearance: "subtle", size: "small", disabled: !clearVisible, "aria-hidden": clearVisible ? 'false' : 'true', tabindex: clearVisible ? 0 : -1, onClick: this.handleClear }, "Clear")), h("div", { key: 'd6f352fcae63c570d1ee0284a42e69ae051a76c8', class: {
|
|
1730
2307
|
'canvas-wrap': true,
|
|
1731
2308
|
empty: this.isEmpty,
|
|
1732
|
-
}, "aria-busy": this.disabled ? 'true' : 'false' }, h("canvas", { key: '
|
|
2309
|
+
}, "aria-busy": this.disabled ? 'true' : 'false' }, h("canvas", { key: '5dd1a02a04c535b4713efc39fac4a158c1507690', ref: el => (this.canvasEl = el), class: {
|
|
1733
2310
|
canvas: true,
|
|
1734
2311
|
'canvas-readonly': this.readonly || this.disabled,
|
|
1735
|
-
}, "aria-label": this.label || 'Signature' }), showReadonlyEmpty && (h("div", { key: '
|
|
2312
|
+
}, "aria-label": this.label || 'Signature' }), showReadonlyEmpty && (h("div", { key: '571589eb47523e85fa06a4ca079a068333d592e7', class: "readonly-empty" }, h("span", { key: 'c2ec34da97b529fcfbaff41004012797b29129b9', class: "readonly-empty-text" }, "No signature"))), this.isEmpty && !this.readonly && !this.disabled && (h("div", { key: '1814d14a7cad7dc45ceb8611a48bd77c54cebd13', class: "canvas-hint", "aria-hidden": "true" }, h("span", { key: '89b0c16cbef1ca6bdf28f6132783f4b271ed2943' }, "Sign here"))))), !this.hideFullNameInput && (h("udp-fluent-text-input", { key: 'cffdf498d769eeb61e38eef83b3c10e80306f0a1', class: "fullname-input", label: this.fullNameLabel, placeholder: this.fullNamePlaceholder, value: (_c = (_b = this.value) === null || _b === void 0 ? void 0 : _b.fullName) !== null && _c !== void 0 ? _c : '', disabled: this.disabled, readonly: this.readonly, required: this.required, includeErrorPadding: false, appearance: this.appearance === 'filled' ? 'filled-lighter' : 'outline', onValueChanged: this.handleFullNameChange, onInputBlur: this.handleFullNameBlur, onInputFocus: this.handleFullNameFocus }))), h("udp-text", { key: 'fd0ff463955c3404becf3d9f962e26915ba8320e', slot: "message", variant: "caption1", class: {
|
|
1736
2313
|
message: true,
|
|
1737
2314
|
error: hasError,
|
|
1738
2315
|
'include-error-padding': this.includeErrorPadding,
|
|
@@ -1990,61 +2567,11 @@ const UdpFluentTableInput = class {
|
|
|
1990
2567
|
}
|
|
1991
2568
|
// ----- summary (aggregate) row -----
|
|
1992
2569
|
hasConfiguredAggregates() {
|
|
1993
|
-
return (this.columns
|
|
1994
|
-
}
|
|
1995
|
-
getAggregateDecimalPlaces(col) {
|
|
1996
|
-
const next = Number(col === null || col === void 0 ? void 0 : col.aggregateDecimalPlaces);
|
|
1997
|
-
// Legacy parity: anything that isn't a non-negative integer falls back to 1.
|
|
1998
|
-
if (!Number.isInteger(next) || next < 0)
|
|
1999
|
-
return 1;
|
|
2000
|
-
return next;
|
|
2001
|
-
}
|
|
2002
|
-
getAggregateLabel(col) {
|
|
2003
|
-
switch (col.aggregate) {
|
|
2004
|
-
case 'sum': return 'Sum';
|
|
2005
|
-
case 'avg': return 'Avg';
|
|
2006
|
-
case 'min': return 'Min';
|
|
2007
|
-
case 'max': return 'Max';
|
|
2008
|
-
default: return '';
|
|
2009
|
-
}
|
|
2570
|
+
return hasConfiguredAggregates(this.columns);
|
|
2010
2571
|
}
|
|
2011
|
-
/**
|
|
2012
|
-
* Display text for one summary-row cell. Mirrors the legacy `table-input`
|
|
2013
|
-
* footer exactly: aggregated number columns show `{Label}: {value}` with the
|
|
2014
|
-
* configured decimal places (`{Label}: N/A` when there are no rows yet); the
|
|
2015
|
-
* first column shows "Summary" when it isn't itself aggregated.
|
|
2016
|
-
*/
|
|
2017
2572
|
getAggregateDisplay(col, columnIndex) {
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
if (this.rows.length === 0)
|
|
2021
|
-
return `${label}: N/A`;
|
|
2022
|
-
const values = this.rows
|
|
2023
|
-
.map(row => Number(row === null || row === void 0 ? void 0 : row[col.id]))
|
|
2024
|
-
.filter(v => Number.isFinite(v));
|
|
2025
|
-
let aggregate = 0;
|
|
2026
|
-
if (values.length > 0) {
|
|
2027
|
-
switch (col.aggregate) {
|
|
2028
|
-
case 'sum':
|
|
2029
|
-
aggregate = values.reduce((t, v) => t + v, 0);
|
|
2030
|
-
break;
|
|
2031
|
-
case 'avg':
|
|
2032
|
-
aggregate = values.reduce((t, v) => t + v, 0) / values.length;
|
|
2033
|
-
break;
|
|
2034
|
-
case 'min':
|
|
2035
|
-
aggregate = Math.min(...values);
|
|
2036
|
-
break;
|
|
2037
|
-
case 'max':
|
|
2038
|
-
aggregate = Math.max(...values);
|
|
2039
|
-
break;
|
|
2040
|
-
}
|
|
2041
|
-
}
|
|
2042
|
-
return `${label}: ${aggregate.toFixed(this.getAggregateDecimalPlaces(col))}`;
|
|
2043
|
-
}
|
|
2044
|
-
if (columnIndex === 0 && col.type !== 'number' && this.hasConfiguredAggregates()) {
|
|
2045
|
-
return 'Summary';
|
|
2046
|
-
}
|
|
2047
|
-
return '';
|
|
2573
|
+
const values = this.rows.map(row => row === null || row === void 0 ? void 0 : row[col.id]);
|
|
2574
|
+
return getAggregateDisplay(col, columnIndex, values, this.columns);
|
|
2048
2575
|
}
|
|
2049
2576
|
buildColumnDefs() {
|
|
2050
2577
|
const fieldCols = this.columns.map((col, columnIndex) => ({
|
|
@@ -2119,11 +2646,16 @@ const UdpFluentTableInput = class {
|
|
|
2119
2646
|
// footer instead of colliding with it.
|
|
2120
2647
|
const bodyRows = hasAggregates && this.rows.length === 0 ? 2 : this.rows.length;
|
|
2121
2648
|
const gridHeight = `${Math.min(400, 60 + bodyRows * 40 + 40 + (hasAggregates ? 40 : 0))}px`;
|
|
2122
|
-
return (h(Host, { key: '
|
|
2649
|
+
return (h(Host, { key: 'cbab407df447cb63f3905f5e60d169c332453012' }, this.label && (h("div", { key: 'd95180efa7a3d05318e39e4cf18000e3377ac3ba', class: "table-input-label" }, h("udp-text", { key: '807d043c603eee81a5a47945d356bdd27e5a3bf1', variant: "body1Strong" }, this.label), this.required && h("span", { key: '46f4fdafd2586ba9338dc1db8cdcb02af8c59741', class: "required-marker" }, " *"))), this.hint && h("udp-text", { key: '4c78e7c737cafb9ceaf8bda97691b2f0f19ee655', variant: "caption1" }, this.hint), hasColumns && !this.isReadOnly && (h("div", { key: '3d53f26999719a886ebe53b60aa802576ce85925', class: "table-input-toolbar" }, h("udp-fluent-button", { key: '3f0f73242ed654c8c8b3f7ef707dc70365c67b07', appearance: "secondary", startIconName: "add", onClick: this.openAdd }, "Add row"))), hasColumns ? (h("div", { class: "table-input-grid-wrapper" }, h("client-side-grid", { rowData: this.rows, columnDefs: columnDefs, gridOptions: gridOptions, gridHeight: gridHeight }))) : (h("udp-text", { variant: "caption1" }, "No columns configured for this table.")), this.error && h("div", { key: '14a2fa688dd141a7095896860036c9a636f8725d', class: "table-input-error" }, this.error), h("udp-fluent-drawer", { key: '565ff964a9755b36c4427a9f3ff3a4e1a28ff5a9', open: this.drawerOpen, drawerTitle: isEditing ? 'Edit row' : 'Add row', size: "medium", onDrawerClose: this.closeDrawer }, h("udp-flexbox", { key: 'd84b4d20416a24496e0ae542addd3634bcb25810', display: "flex", direction: "column", gap: "md" }, this.columns.map(col => {
|
|
2123
2650
|
const cell = this.editingRow[col.id];
|
|
2124
2651
|
const stringValue = cell == null ? '' : typeof cell === 'string' ? cell : String(cell);
|
|
2125
|
-
return (h("udp-fluent-text-input", { key: col.id, label: col.name, required: col.required, type: col.type === 'number' ? 'number' : 'text', value: stringValue, error: this.drawerErrors[col.id], onValueChanged: (e) =>
|
|
2126
|
-
|
|
2652
|
+
return (h("udp-fluent-text-input", { key: col.id, label: col.name, required: col.required, type: col.type === 'number' ? 'number' : 'text', value: stringValue, error: this.drawerErrors[col.id], onValueChanged: (e) => {
|
|
2653
|
+
// Keep the drawer's own edits away from the wrapping
|
|
2654
|
+
// <udp-field>, which would overwrite the table value.
|
|
2655
|
+
e.stopPropagation();
|
|
2656
|
+
this.setEditingCell(col.id, e.detail);
|
|
2657
|
+
} }));
|
|
2658
|
+
})), h("div", { key: 'e5b134389a4858644f41fa72f7515c80cdf78ffd', slot: "footer", class: "table-input-drawer-footer" }, isEditing && (h("udp-fluent-button", { key: 'ff2036ced66c7864eaca86f7a5ecb9b65f35b491', appearance: "secondary", startIconName: "delete", onClick: this.deleteRow }, "Delete row")), h("udp-fluent-button", { key: '20060f0fe4cb6c647c032b54be8032a433b22ae9', appearance: "primary", onClick: this.saveDrawer, startIconName: 'checkmark' }, "Done"), !isEditing && (h("udp-fluent-button", { key: 'd21f8e5e715bcca57ee2e4c4b837103aa6d8c647', appearance: "secondary", startIconName: "add", onClick: this.saveAndAddAnother }, "New row")), h("udp-fluent-button", { key: '56f05b1aadd13de9566f8860f9a0fbe1733131be', appearance: "subtle", onClick: this.closeDrawer }, "Cancel")))));
|
|
2127
2659
|
}
|
|
2128
2660
|
get el() { return getElement(this); }
|
|
2129
2661
|
static get watchers() { return {
|
|
@@ -2244,7 +2776,7 @@ const UdpQuestionTallyAdapter = class {
|
|
|
2244
2776
|
}, { values: true });
|
|
2245
2777
|
}
|
|
2246
2778
|
render() {
|
|
2247
|
-
return (h(Host, { key: '
|
|
2779
|
+
return (h(Host, { key: '7317cd336d702a5766364a04702f1b8f34551d18' }, h("tally-display", { key: '88763661a5f972b741e5a4d4687e97058cb5ea7b', label: this.label, yesCount: this.yesCount, noCount: this.noCount, naCount: this.naCount, totalFields: this.totalFields })));
|
|
2248
2780
|
}
|
|
2249
2781
|
get el() { return getElement(this); }
|
|
2250
2782
|
static get watchers() { return {
|
|
@@ -2266,4 +2798,4 @@ const UdpQuestionTallyAdapter = class {
|
|
|
2266
2798
|
}; }
|
|
2267
2799
|
};
|
|
2268
2800
|
|
|
2269
|
-
export { UdpDetailList as udp_detail_list, UdpDetailListItem as udp_detail_list_item, UdpFluentFileInput as udp_fluent_file_input, UdpFluentImage as udp_fluent_image, UdpFluentListInput as udp_fluent_list_input, UdpFluentLocationInput as udp_fluent_location_input, UdpFluentSignatureInput as udp_fluent_signature_input, UdpFluentTableInput as udp_fluent_table_input, UdpQuestionTallyAdapter as udp_question_tally_adapter };
|
|
2801
|
+
export { UdpDetailList as udp_detail_list, UdpDetailListItem as udp_detail_list_item, UdpFluentDomainTableInput as udp_fluent_domain_table_input, UdpFluentFileInput as udp_fluent_file_input, UdpFluentImage as udp_fluent_image, UdpFluentListInput as udp_fluent_list_input, UdpFluentLocationInput as udp_fluent_location_input, UdpFluentSignatureInput as udp_fluent_signature_input, UdpFluentTableInput as udp_fluent_table_input, UdpQuestionTallyAdapter as udp_question_tally_adapter };
|