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
|
@@ -0,0 +1,682 @@
|
|
|
1
|
+
import { H as getPromotedLookupMethod, y as executeQueryWithParameters, A as executeQueryAdHoc, z as getPromotedMethodEntities } from './apiUtils-CXqsYwOQ.js';
|
|
2
|
+
import { g as getCurrentApiCatalogId } from './getCurrentApiCatalogId-DeurXd9l.js';
|
|
3
|
+
import { L as LogicalSearchOperator, S as SearchGroupingType, a as SearchOperators, d as SearchConstants } from './searchObject-DpUZkcYC.js';
|
|
4
|
+
|
|
5
|
+
function mergeSearchObjects(baseSearchObject, searchObjectOverrides) {
|
|
6
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
7
|
+
// Guard Clause: If there's no base object, or no overrides with content, return the base object.
|
|
8
|
+
if (!baseSearchObject ||
|
|
9
|
+
!searchObjectOverrides ||
|
|
10
|
+
!((_a = searchObjectOverrides.filterElements) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
11
|
+
return baseSearchObject;
|
|
12
|
+
}
|
|
13
|
+
// 1. Find the highest existing group ID to avoid collisions
|
|
14
|
+
const allGroupIds = [
|
|
15
|
+
...(((_b = baseSearchObject.filterGroups) === null || _b === void 0 ? void 0 : _b.map(g => g.groupId)) || []),
|
|
16
|
+
...(((_c = searchObjectOverrides.filterGroups) === null || _c === void 0 ? void 0 : _c.map(g => g.groupId)) || []),
|
|
17
|
+
];
|
|
18
|
+
const highestGroupId = allGroupIds.length > 0 ? Math.max(...allGroupIds) : 0;
|
|
19
|
+
// 2. Create two new parent groups
|
|
20
|
+
const newBaseGroupId = highestGroupId + 1;
|
|
21
|
+
const newOverrideGroupId = highestGroupId + 2;
|
|
22
|
+
const newBaseGroup = {
|
|
23
|
+
groupId: newBaseGroupId,
|
|
24
|
+
logicalSearchOperator: baseSearchObject.logicalSearchOperator || LogicalSearchOperator.AND,
|
|
25
|
+
parentGroupId: null,
|
|
26
|
+
};
|
|
27
|
+
const newOverrideGroup = {
|
|
28
|
+
groupId: newOverrideGroupId,
|
|
29
|
+
logicalSearchOperator: searchObjectOverrides.logicalSearchOperator || LogicalSearchOperator.AND,
|
|
30
|
+
parentGroupId: null,
|
|
31
|
+
};
|
|
32
|
+
// 3. Re-parent all items from the base search to belong to the new base group
|
|
33
|
+
const reparentedBaseFilters = ((_d = baseSearchObject.filterElements) === null || _d === void 0 ? void 0 : _d.map(f => (Object.assign(Object.assign({}, f), { groupId: newBaseGroupId })))) || [];
|
|
34
|
+
const reparentedBaseGroups = ((_e = baseSearchObject.filterGroups) === null || _e === void 0 ? void 0 : _e.map(g => (Object.assign(Object.assign({}, g), { parentGroupId: newBaseGroupId })))) || [];
|
|
35
|
+
// 4. Move all items from the override search into the new override group
|
|
36
|
+
const overrideFilters = ((_f = searchObjectOverrides.filterElements) === null || _f === void 0 ? void 0 : _f.map(f => (Object.assign(Object.assign({}, f), { groupId: newOverrideGroupId })))) || [];
|
|
37
|
+
const overrideGroups = ((_g = searchObjectOverrides.filterGroups) === null || _g === void 0 ? void 0 : _g.map(g => (Object.assign(Object.assign({}, g), { parentGroupId: newOverrideGroupId })))) ||
|
|
38
|
+
[];
|
|
39
|
+
// 5. Construct and return the final search object
|
|
40
|
+
return Object.assign(Object.assign({}, baseSearchObject), { logicalSearchOperator: LogicalSearchOperator.AND, filterElements: [...reparentedBaseFilters, ...overrideFilters], filterGroups: [...reparentedBaseGroups, ...overrideGroups, newBaseGroup, newOverrideGroup] });
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Composes several independent filter fragments into one well-formed filter
|
|
44
|
+
* forest for the server `Search`. The driving problem this solves: every source
|
|
45
|
+
* numbers its groups from `1`, so naively concatenating them collides group ids
|
|
46
|
+
* and corrupts the tree (the historical reason column filters were disabled
|
|
47
|
+
* whenever an external search was present).
|
|
48
|
+
*
|
|
49
|
+
* Guarantees:
|
|
50
|
+
* - **No id collisions** — a single monotonic counter reassigns every group id,
|
|
51
|
+
* so two fragments can never alias the same `groupId`.
|
|
52
|
+
* - **No operator leakage** — each non-empty fragment is wrapped in its own
|
|
53
|
+
* top-level group carrying that fragment's operator, and every flat element
|
|
54
|
+
* (`groupId == null`) is re-homed under its source's wrapper. A fragment's
|
|
55
|
+
* internal `OR` can therefore never bleed into a sibling source.
|
|
56
|
+
* - **Top-level AND** — sources are independent dimensions of the query, so they
|
|
57
|
+
* are combined with AND (adding a source can only narrow the result).
|
|
58
|
+
*
|
|
59
|
+
* When only one source has content the fragment is returned unchanged, so
|
|
60
|
+
* existing single-source grids keep their exact wire format (no wrapper groups,
|
|
61
|
+
* no behaviour change).
|
|
62
|
+
*/
|
|
63
|
+
function composeSearchFragments(fragments) {
|
|
64
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
65
|
+
const nonEmpty = fragments.filter(f => { var _a, _b, _c, _d; return ((_b = (_a = f === null || f === void 0 ? void 0 : f.filterElements) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) > 0 || ((_d = (_c = f === null || f === void 0 ? void 0 : f.filterGroups) === null || _c === void 0 ? void 0 : _c.length) !== null && _d !== void 0 ? _d : 0) > 0; });
|
|
66
|
+
if (nonEmpty.length === 0) {
|
|
67
|
+
return {
|
|
68
|
+
filterElements: [],
|
|
69
|
+
filterGroups: [],
|
|
70
|
+
logicalSearchOperator: LogicalSearchOperator.AND,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
// Single source: emit unchanged so existing grids keep their exact request shape.
|
|
74
|
+
if (nonEmpty.length === 1) {
|
|
75
|
+
const only = nonEmpty[0];
|
|
76
|
+
return {
|
|
77
|
+
filterElements: [...((_a = only.filterElements) !== null && _a !== void 0 ? _a : [])],
|
|
78
|
+
filterGroups: [...((_b = only.filterGroups) !== null && _b !== void 0 ? _b : [])],
|
|
79
|
+
logicalSearchOperator: only.logicalSearchOperator || LogicalSearchOperator.AND,
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
const filterElements = [];
|
|
83
|
+
const filterGroups = [];
|
|
84
|
+
let nextGroupId = 1;
|
|
85
|
+
for (const fragment of nonEmpty) {
|
|
86
|
+
const wrapperGroupId = nextGroupId++;
|
|
87
|
+
filterGroups.push({
|
|
88
|
+
groupId: wrapperGroupId,
|
|
89
|
+
logicalSearchOperator: fragment.logicalSearchOperator || LogicalSearchOperator.AND,
|
|
90
|
+
parentGroupId: null,
|
|
91
|
+
});
|
|
92
|
+
// Reassign this fragment's internal group ids into a fresh, disjoint block.
|
|
93
|
+
const idMap = new Map();
|
|
94
|
+
for (const group of (_c = fragment.filterGroups) !== null && _c !== void 0 ? _c : []) {
|
|
95
|
+
idMap.set(group.groupId, nextGroupId++);
|
|
96
|
+
}
|
|
97
|
+
for (const group of (_d = fragment.filterGroups) !== null && _d !== void 0 ? _d : []) {
|
|
98
|
+
filterGroups.push(Object.assign(Object.assign({}, group), { groupId: idMap.get(group.groupId), parentGroupId: group.parentGroupId == null
|
|
99
|
+
? wrapperGroupId
|
|
100
|
+
: (_e = idMap.get(group.parentGroupId)) !== null && _e !== void 0 ? _e : wrapperGroupId }));
|
|
101
|
+
}
|
|
102
|
+
for (const element of (_f = fragment.filterElements) !== null && _f !== void 0 ? _f : []) {
|
|
103
|
+
filterElements.push(Object.assign(Object.assign({}, element), { groupId: element.groupId == null ? wrapperGroupId : (_g = idMap.get(element.groupId)) !== null && _g !== void 0 ? _g : wrapperGroupId }));
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
return { filterElements, filterGroups, logicalSearchOperator: LogicalSearchOperator.AND };
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
const FilterOperators = {
|
|
110
|
+
equals: SearchOperators.EQUALS,
|
|
111
|
+
contains: SearchOperators.LIKE,
|
|
112
|
+
notContains: SearchOperators.NOT_LIKE,
|
|
113
|
+
notEqual: SearchOperators.NOT_EQUALS,
|
|
114
|
+
greaterThan: SearchOperators.GREATER_THAN,
|
|
115
|
+
lessThan: SearchOperators.LESS_THAN,
|
|
116
|
+
greaterThanOrEqual: SearchOperators.GREATER_THAN_OR_EQUAL,
|
|
117
|
+
lessThanOrEqual: SearchOperators.LESS_THAN_OR_EQUAL,
|
|
118
|
+
between: SearchOperators.BETWEEN,
|
|
119
|
+
inRange: SearchOperators.BETWEEN,
|
|
120
|
+
blank: SearchOperators.NULL,
|
|
121
|
+
notBlank: SearchOperators.NOT_NULL,
|
|
122
|
+
startsWith: SearchOperators.STARTSWITH,
|
|
123
|
+
endsWith: SearchOperators.ENDSWITH,
|
|
124
|
+
};
|
|
125
|
+
function capitalize(str) {
|
|
126
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
127
|
+
}
|
|
128
|
+
function convertSortModel(searchObject, sortModel, resolveSearchField = capitalize) {
|
|
129
|
+
var _a;
|
|
130
|
+
searchObject.orderElements = [
|
|
131
|
+
...((_a = searchObject.orderElements) !== null && _a !== void 0 ? _a : []),
|
|
132
|
+
...sortModel.map(sortItem => ({
|
|
133
|
+
sortColumn: resolveSearchField(sortItem.colId),
|
|
134
|
+
sortDirection: sortItem.sort.toUpperCase(),
|
|
135
|
+
})),
|
|
136
|
+
];
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Converts an AG Grid filter model into a self-contained {@link SearchFragment}.
|
|
140
|
+
* Group ids are numbered locally from 1 with no knowledge of any other filter
|
|
141
|
+
* source — `composeSearchFragments` re-homes them into a disjoint id block when
|
|
142
|
+
* this fragment is merged with the consumer's base filters and quick-filter
|
|
143
|
+
* chips. (Returning a fragment, rather than mutating a shared search object and
|
|
144
|
+
* threading `nextGroupId`, is what removes the historical group-id collision.)
|
|
145
|
+
*/
|
|
146
|
+
function convertFilterModel(filterModel, resolveSearchField = capitalize) {
|
|
147
|
+
const filterElements = [];
|
|
148
|
+
const filterGroups = [];
|
|
149
|
+
let nextGroupId = 1;
|
|
150
|
+
if (!filterModel)
|
|
151
|
+
return { filterElements, filterGroups };
|
|
152
|
+
const searchFieldOf = (fieldName, colId) => { var _a; return resolveSearchField((_a = fieldName !== null && fieldName !== void 0 ? fieldName : colId) !== null && _a !== void 0 ? _a : ''); };
|
|
153
|
+
function processNode(node, currentParentGroupId, fieldName) {
|
|
154
|
+
var _a, _b, _c, _d;
|
|
155
|
+
if (!node)
|
|
156
|
+
return -1;
|
|
157
|
+
if (node.filterType === 'join' && Array.isArray(node.conditions)) {
|
|
158
|
+
const currentGroupId = nextGroupId++;
|
|
159
|
+
const group = {
|
|
160
|
+
groupId: currentGroupId,
|
|
161
|
+
logicalSearchOperator: node.type === 'AND' ? LogicalSearchOperator.AND : LogicalSearchOperator.OR,
|
|
162
|
+
parentGroupId: currentParentGroupId,
|
|
163
|
+
};
|
|
164
|
+
filterGroups.push(group);
|
|
165
|
+
for (const condition of node.conditions) {
|
|
166
|
+
processNode(condition, currentGroupId);
|
|
167
|
+
}
|
|
168
|
+
return currentGroupId;
|
|
169
|
+
}
|
|
170
|
+
if (node.conditions) {
|
|
171
|
+
const groupId = nextGroupId++;
|
|
172
|
+
const group = {
|
|
173
|
+
groupId,
|
|
174
|
+
logicalSearchOperator: node.operator === 'AND' ? LogicalSearchOperator.AND : LogicalSearchOperator.OR,
|
|
175
|
+
parentGroupId: currentParentGroupId,
|
|
176
|
+
};
|
|
177
|
+
filterGroups.push(group);
|
|
178
|
+
for (const condition of node.conditions) {
|
|
179
|
+
processNode(condition, groupId, fieldName);
|
|
180
|
+
}
|
|
181
|
+
return -1;
|
|
182
|
+
}
|
|
183
|
+
if (node.filterType === 'text' || node.filterType === 'number') {
|
|
184
|
+
if (node.type === 'true' || node.type === 'false') {
|
|
185
|
+
filterElements.push({
|
|
186
|
+
searchField: searchFieldOf(fieldName, node.colId),
|
|
187
|
+
searchValue: node.type,
|
|
188
|
+
searchOperator: SearchOperators.EQUALS,
|
|
189
|
+
groupId: currentParentGroupId,
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
else {
|
|
193
|
+
filterElements.push({
|
|
194
|
+
searchField: searchFieldOf(fieldName, node.colId),
|
|
195
|
+
searchValue: `${node.filter}${node.filterTo ? `,${node.filterTo}` : ''}`,
|
|
196
|
+
searchOperator: FilterOperators[(_a = node.type) !== null && _a !== void 0 ? _a : ''],
|
|
197
|
+
groupId: currentParentGroupId,
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
if (node.filterType === 'date') {
|
|
202
|
+
filterElements.push({
|
|
203
|
+
searchField: searchFieldOf(fieldName, node.colId),
|
|
204
|
+
searchValue: `${node.dateFrom}${node.dateTo ? `,${node.dateTo}` : ''}`,
|
|
205
|
+
searchOperator: FilterOperators[(_b = node.type) !== null && _b !== void 0 ? _b : ''],
|
|
206
|
+
groupId: currentParentGroupId,
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
if (node.filterType === 'set') {
|
|
210
|
+
const values = (_d = (_c = node.values) === null || _c === void 0 ? void 0 : _c.slice(0, SearchConstants.IN_CLAUSE_MAX_ELEMENTS)) !== null && _d !== void 0 ? _d : [];
|
|
211
|
+
filterElements.push({
|
|
212
|
+
searchField: searchFieldOf(fieldName),
|
|
213
|
+
searchValue: values.join(),
|
|
214
|
+
searchOperator: node.exclude ? SearchOperators.NOT_IN : SearchOperators.IN,
|
|
215
|
+
groupId: currentParentGroupId,
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
return -1;
|
|
219
|
+
}
|
|
220
|
+
const isColumnFilter = !filterModel.filterType;
|
|
221
|
+
if (isColumnFilter) {
|
|
222
|
+
const columnFilter = filterModel;
|
|
223
|
+
for (const key of Object.keys(columnFilter)) {
|
|
224
|
+
processNode(columnFilter[key], null, key);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
else {
|
|
228
|
+
processNode(filterModel, null);
|
|
229
|
+
}
|
|
230
|
+
return { filterElements, filterGroups };
|
|
231
|
+
}
|
|
232
|
+
function convertGroupingModel(searchObject, rowGroupCols, groupKeys) {
|
|
233
|
+
var _a, _b, _c;
|
|
234
|
+
const currentLevel = groupKeys.length;
|
|
235
|
+
const isLeafLevel = currentLevel >= rowGroupCols.length;
|
|
236
|
+
// Only group by the NEXT column in the hierarchy, not all of them
|
|
237
|
+
if (!isLeafLevel) {
|
|
238
|
+
const currentGroupCol = rowGroupCols[currentLevel];
|
|
239
|
+
const groupSortColumn = capitalize(currentGroupCol.field);
|
|
240
|
+
searchObject.groupProperty = [groupSortColumn];
|
|
241
|
+
// Only add the default ASC sort if the user hasn't already sorted on this column —
|
|
242
|
+
// SQL Server rejects ORDER BY lists with duplicate columns.
|
|
243
|
+
const alreadySorted = (_a = searchObject.orderElements) === null || _a === void 0 ? void 0 : _a.some(o => o.sortColumn === groupSortColumn);
|
|
244
|
+
if (!alreadySorted) {
|
|
245
|
+
searchObject.orderElements = [
|
|
246
|
+
...((_b = searchObject.orderElements) !== null && _b !== void 0 ? _b : []),
|
|
247
|
+
{
|
|
248
|
+
sortColumn: groupSortColumn,
|
|
249
|
+
sortDirection: 'ASC',
|
|
250
|
+
},
|
|
251
|
+
];
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
// Filter by parent group values (already expanded levels)
|
|
255
|
+
if (groupKeys.length > 0) {
|
|
256
|
+
const groupFilters = groupKeys.map((key, index) => {
|
|
257
|
+
var _a, _b;
|
|
258
|
+
return ({
|
|
259
|
+
searchField: capitalize((_b = (_a = rowGroupCols[index]) === null || _a === void 0 ? void 0 : _a.field) !== null && _b !== void 0 ? _b : ''),
|
|
260
|
+
searchOperator: SearchOperators.EQUALS,
|
|
261
|
+
searchValue: key,
|
|
262
|
+
groupId: null,
|
|
263
|
+
});
|
|
264
|
+
});
|
|
265
|
+
searchObject.filterElements = [...((_c = searchObject.filterElements) !== null && _c !== void 0 ? _c : []), ...groupFilters];
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* True when the request is for an unexpanded group level (the grid wants the
|
|
270
|
+
* distinct/aggregated next-level group rows, not leaf rows).
|
|
271
|
+
*/
|
|
272
|
+
function isGroupLevelRequest(request) {
|
|
273
|
+
var _a, _b;
|
|
274
|
+
const { rowGroupCols, groupKeys } = request;
|
|
275
|
+
return ((_a = rowGroupCols === null || rowGroupCols === void 0 ? void 0 : rowGroupCols.length) !== null && _a !== void 0 ? _a : 0) > 0 && ((_b = groupKeys === null || groupKeys === void 0 ? void 0 : groupKeys.length) !== null && _b !== void 0 ? _b : 0) < rowGroupCols.length;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Builds the full server `Search` payload for one Server-Side request.
|
|
279
|
+
*
|
|
280
|
+
* Composes every independent filter source into one collision-free forest via
|
|
281
|
+
* {@link composeSearchFragments}:
|
|
282
|
+
* base → `externalSearchObject` (consumer's permanent / base filters)
|
|
283
|
+
* column → the grid's own column filters (`request.filterModel`)
|
|
284
|
+
* chip → quick-filter chips on non-grid fields (`context.quickFilterSearch`)
|
|
285
|
+
* advanced → the advanced-search builder (`context.advancedSearch`)
|
|
286
|
+
* then layers in sort, grouping/aggregation, and pagination.
|
|
287
|
+
*/
|
|
288
|
+
function buildSearchObject(request, externalSearchObject = {}, gridContext, resolveSearchField = capitalize) {
|
|
289
|
+
var _a;
|
|
290
|
+
const { startRow, endRow, filterModel, sortModel, rowGroupCols, groupKeys, valueCols } = request;
|
|
291
|
+
const safeStartRow = startRow !== null && startRow !== void 0 ? startRow : 0;
|
|
292
|
+
const safeEndRow = endRow !== null && endRow !== void 0 ? endRow : safeStartRow + 100;
|
|
293
|
+
const pageSize = safeEndRow - safeStartRow;
|
|
294
|
+
const pageNumber = Math.floor(safeStartRow / pageSize) + 1;
|
|
295
|
+
const chipSearch = gridContext === null || gridContext === void 0 ? void 0 : gridContext.quickFilterSearch;
|
|
296
|
+
const advancedSearch = gridContext === null || gridContext === void 0 ? void 0 : gridContext.advancedSearch;
|
|
297
|
+
const composed = composeSearchFragments([
|
|
298
|
+
{
|
|
299
|
+
filterElements: externalSearchObject === null || externalSearchObject === void 0 ? void 0 : externalSearchObject.filterElements,
|
|
300
|
+
filterGroups: externalSearchObject === null || externalSearchObject === void 0 ? void 0 : externalSearchObject.filterGroups,
|
|
301
|
+
logicalSearchOperator: externalSearchObject === null || externalSearchObject === void 0 ? void 0 : externalSearchObject.logicalSearchOperator,
|
|
302
|
+
},
|
|
303
|
+
filterModel && Object.keys(filterModel).length
|
|
304
|
+
? convertFilterModel(filterModel, resolveSearchField)
|
|
305
|
+
: {},
|
|
306
|
+
{
|
|
307
|
+
filterElements: chipSearch === null || chipSearch === void 0 ? void 0 : chipSearch.filterElements,
|
|
308
|
+
filterGroups: chipSearch === null || chipSearch === void 0 ? void 0 : chipSearch.filterGroups,
|
|
309
|
+
logicalSearchOperator: chipSearch === null || chipSearch === void 0 ? void 0 : chipSearch.logicalSearchOperator,
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
filterElements: advancedSearch === null || advancedSearch === void 0 ? void 0 : advancedSearch.filterElements,
|
|
313
|
+
filterGroups: advancedSearch === null || advancedSearch === void 0 ? void 0 : advancedSearch.filterGroups,
|
|
314
|
+
logicalSearchOperator: advancedSearch === null || advancedSearch === void 0 ? void 0 : advancedSearch.logicalSearchOperator,
|
|
315
|
+
},
|
|
316
|
+
]);
|
|
317
|
+
const searchObject = {
|
|
318
|
+
pageNumber,
|
|
319
|
+
pageSize,
|
|
320
|
+
orderElements: [],
|
|
321
|
+
filterElements: composed.filterElements,
|
|
322
|
+
filterGroups: composed.filterGroups,
|
|
323
|
+
groupProperty: [],
|
|
324
|
+
groupOperationList: [],
|
|
325
|
+
groupingType: '',
|
|
326
|
+
eagerLoad: (_a = externalSearchObject === null || externalSearchObject === void 0 ? void 0 : externalSearchObject.eagerLoad) !== null && _a !== void 0 ? _a : false,
|
|
327
|
+
getAll: externalSearchObject === null || externalSearchObject === void 0 ? void 0 : externalSearchObject.getAll,
|
|
328
|
+
logicalSearchOperator: composed.logicalSearchOperator,
|
|
329
|
+
};
|
|
330
|
+
if (sortModel === null || sortModel === void 0 ? void 0 : sortModel.length) {
|
|
331
|
+
convertSortModel(searchObject, sortModel, resolveSearchField);
|
|
332
|
+
}
|
|
333
|
+
if ((rowGroupCols === null || rowGroupCols === void 0 ? void 0 : rowGroupCols.length) > 0) {
|
|
334
|
+
convertGroupingModel(searchObject, rowGroupCols, groupKeys);
|
|
335
|
+
}
|
|
336
|
+
if (isGroupLevelRequest(request)) {
|
|
337
|
+
if ((valueCols === null || valueCols === void 0 ? void 0 : valueCols.length) > 0) {
|
|
338
|
+
searchObject.groupingType = SearchGroupingType.Aggregate;
|
|
339
|
+
searchObject.groupOperationList = valueCols.map(col => {
|
|
340
|
+
var _a, _b;
|
|
341
|
+
return ({
|
|
342
|
+
operation: ((_a = col.aggFunc) !== null && _a !== void 0 ? _a : 'count').toUpperCase(),
|
|
343
|
+
property: capitalize((_b = col.field) !== null && _b !== void 0 ? _b : col.id),
|
|
344
|
+
});
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
else {
|
|
348
|
+
searchObject.groupingType = SearchGroupingType.Distinct;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
return searchObject;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
const isEntitySource = (value) => typeof value.entity === 'string' && typeof value.keyField === 'string' && typeof value.labelField === 'string';
|
|
355
|
+
const columnLookupSource = (colDef) => {
|
|
356
|
+
var _a;
|
|
357
|
+
const context = ((_a = colDef.context) !== null && _a !== void 0 ? _a : undefined);
|
|
358
|
+
const lookup = context === null || context === void 0 ? void 0 : context.lookup;
|
|
359
|
+
if (lookup && typeof lookup === 'object') {
|
|
360
|
+
const candidate = lookup;
|
|
361
|
+
if (typeof candidate.lookupId === 'string' && candidate.lookupId)
|
|
362
|
+
return { lookupId: candidate.lookupId };
|
|
363
|
+
if (isEntitySource(candidate))
|
|
364
|
+
return candidate;
|
|
365
|
+
}
|
|
366
|
+
// Catalog properties default `lookup` to "": an empty id means no lookup.
|
|
367
|
+
if (typeof (context === null || context === void 0 ? void 0 : context.lookupId) === 'string' && context.lookupId)
|
|
368
|
+
return { lookupId: context.lookupId };
|
|
369
|
+
return undefined;
|
|
370
|
+
};
|
|
371
|
+
/**
|
|
372
|
+
* The property of `obj` holding `name`. Key names can differ in casing from
|
|
373
|
+
* the data's JSON properties (`MovieID` vs `movieId`), so match exactly first,
|
|
374
|
+
* then case-insensitively.
|
|
375
|
+
*/
|
|
376
|
+
function findPropertyName(obj, name) {
|
|
377
|
+
return name in obj ? name : Object.keys(obj).find(p => p.toLowerCase() === name.toLowerCase());
|
|
378
|
+
}
|
|
379
|
+
const resolvedLookups = new Map();
|
|
380
|
+
const pendingLookups = new Map();
|
|
381
|
+
async function getLookupTable(lookupId) {
|
|
382
|
+
const cached = resolvedLookups.get(lookupId);
|
|
383
|
+
if (cached)
|
|
384
|
+
return cached;
|
|
385
|
+
const inFlight = pendingLookups.get(lookupId);
|
|
386
|
+
if (inFlight !== undefined)
|
|
387
|
+
return inFlight;
|
|
388
|
+
const promise = (async () => {
|
|
389
|
+
var _a, _b;
|
|
390
|
+
const empty = { keys: [], valueName: '', valueMap: new Map() };
|
|
391
|
+
try {
|
|
392
|
+
const lookupApiMethodId = (_b = (_a = (await getPromotedLookupMethod(getCurrentApiCatalogId()))) === null || _a === void 0 ? void 0 : _a.unityBaseGetDataMethod) === null || _b === void 0 ? void 0 : _b.apiMethodId;
|
|
393
|
+
if (!lookupApiMethodId)
|
|
394
|
+
return empty;
|
|
395
|
+
const response = await executeQueryWithParameters({ data: { id: lookupId } }, lookupApiMethodId);
|
|
396
|
+
let { keyName, udpLookupUdpLookupKey, valueName, data } = response !== null && response !== void 0 ? response : {};
|
|
397
|
+
if (!data || (!keyName && !udpLookupUdpLookupKey) || !valueName)
|
|
398
|
+
return empty;
|
|
399
|
+
// If they are using legacy single key format, convert it to the new format for easier processing
|
|
400
|
+
if (!!keyName)
|
|
401
|
+
udpLookupUdpLookupKey = [{ name: keyName }];
|
|
402
|
+
const keys = udpLookupUdpLookupKey;
|
|
403
|
+
const valueMap = new Map(data.map((item) => {
|
|
404
|
+
const keyMap = new Map(keys.map((k) => {
|
|
405
|
+
const prop = findPropertyName(item, k.name);
|
|
406
|
+
return [k.name, String(prop === undefined ? undefined : item[prop])];
|
|
407
|
+
}));
|
|
408
|
+
return [keyMap, item[valueName]];
|
|
409
|
+
}));
|
|
410
|
+
const table = { keys: udpLookupUdpLookupKey, valueName, valueMap };
|
|
411
|
+
resolvedLookups.set(lookupId, table);
|
|
412
|
+
return table;
|
|
413
|
+
}
|
|
414
|
+
catch (_c) {
|
|
415
|
+
return empty;
|
|
416
|
+
}
|
|
417
|
+
finally {
|
|
418
|
+
pendingLookups.delete(lookupId);
|
|
419
|
+
}
|
|
420
|
+
})();
|
|
421
|
+
pendingLookups.set(lookupId, promise);
|
|
422
|
+
return promise;
|
|
423
|
+
}
|
|
424
|
+
function getLookupTableSync(lookupId) {
|
|
425
|
+
return resolvedLookups.get(lookupId);
|
|
426
|
+
}
|
|
427
|
+
// ---------------------------------------------------------------------------
|
|
428
|
+
// Metadata-derived FK labels: `{ entity, keyField, labelField }` resolved through the
|
|
429
|
+
// target entity's promoted search, id → label, batched `IN` per page, cached per entity.
|
|
430
|
+
// ---------------------------------------------------------------------------
|
|
431
|
+
/** Backend `SearchConstants.IN_CLAUSE_MAX_ELEMENTS`. */
|
|
432
|
+
const IN_CLAUSE_MAX = 500;
|
|
433
|
+
/** Labels per entity, then per label field — an entity's label field can change within a session. */
|
|
434
|
+
const entityLabels = new Map();
|
|
435
|
+
const pendingSearchMethods = new Map();
|
|
436
|
+
const jsonKey = (name) => (name ? name[0].toLowerCase() + name.slice(1) : name);
|
|
437
|
+
const scalarText = (value) => {
|
|
438
|
+
switch (typeof value) {
|
|
439
|
+
case 'string':
|
|
440
|
+
return value;
|
|
441
|
+
case 'number':
|
|
442
|
+
case 'boolean':
|
|
443
|
+
case 'bigint':
|
|
444
|
+
return String(value);
|
|
445
|
+
default:
|
|
446
|
+
return undefined;
|
|
447
|
+
}
|
|
448
|
+
};
|
|
449
|
+
const fetchSearchMethodId = async (entity) => {
|
|
450
|
+
var _a;
|
|
451
|
+
try {
|
|
452
|
+
const promoted = (await getPromotedMethodEntities(getCurrentApiCatalogId(), entity, true));
|
|
453
|
+
return (_a = promoted === null || promoted === void 0 ? void 0 : promoted.unityBaseSearchMethod) === null || _a === void 0 ? void 0 : _a.apiMethodId;
|
|
454
|
+
}
|
|
455
|
+
catch (_b) {
|
|
456
|
+
// Not cached: the next page fetch retries the catalog lookup.
|
|
457
|
+
pendingSearchMethods.delete(entity);
|
|
458
|
+
return undefined;
|
|
459
|
+
}
|
|
460
|
+
};
|
|
461
|
+
const promotedSearchMethodId = (entity) => {
|
|
462
|
+
const hit = pendingSearchMethods.get(entity);
|
|
463
|
+
if (hit !== undefined)
|
|
464
|
+
return hit;
|
|
465
|
+
const promise = fetchSearchMethodId(entity);
|
|
466
|
+
pendingSearchMethods.set(entity, promise);
|
|
467
|
+
return promise;
|
|
468
|
+
};
|
|
469
|
+
const labelsFor = (entity, labelField) => {
|
|
470
|
+
let byField = entityLabels.get(entity);
|
|
471
|
+
if (!byField) {
|
|
472
|
+
byField = new Map();
|
|
473
|
+
entityLabels.set(entity, byField);
|
|
474
|
+
}
|
|
475
|
+
let map = byField.get(labelField);
|
|
476
|
+
if (!map) {
|
|
477
|
+
map = new Map();
|
|
478
|
+
byField.set(labelField, map);
|
|
479
|
+
}
|
|
480
|
+
return map;
|
|
481
|
+
};
|
|
482
|
+
/** One search of the label source; caches each returned row's label and returns the keys found. */
|
|
483
|
+
async function searchLabels(apiMethodId, source, filter, pageSize) {
|
|
484
|
+
var _a, _b;
|
|
485
|
+
const response = (await executeQueryAdHoc({
|
|
486
|
+
pageNumber: 1,
|
|
487
|
+
pageSize,
|
|
488
|
+
eagerLoad: false,
|
|
489
|
+
filterElements: [filter],
|
|
490
|
+
filterGroups: [],
|
|
491
|
+
orderElements: [],
|
|
492
|
+
groupingType: '',
|
|
493
|
+
groupProperty: [],
|
|
494
|
+
groupOperationList: [],
|
|
495
|
+
}, apiMethodId, undefined, false));
|
|
496
|
+
const labels = labelsFor(source.entity, source.labelField);
|
|
497
|
+
const keyJson = jsonKey(source.keyField);
|
|
498
|
+
const labelJson = jsonKey(source.labelField);
|
|
499
|
+
const keys = [];
|
|
500
|
+
for (const row of (_a = response === null || response === void 0 ? void 0 : response.pageList) !== null && _a !== void 0 ? _a : []) {
|
|
501
|
+
const key = scalarText(row[keyJson]);
|
|
502
|
+
if (key === undefined)
|
|
503
|
+
continue;
|
|
504
|
+
keys.push(key);
|
|
505
|
+
labels.set(key, (_b = scalarText(row[labelJson])) !== null && _b !== void 0 ? _b : key);
|
|
506
|
+
}
|
|
507
|
+
return keys;
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* Ensure labels for `ids` are cached for the source; only ids not yet known are fetched,
|
|
511
|
+
* in `IN` batches. Ids the server does not return are cached as their own key so a
|
|
512
|
+
* dangling FK is never re-queried.
|
|
513
|
+
*/
|
|
514
|
+
async function ensureEntityLabels(source, ids) {
|
|
515
|
+
const labels = labelsFor(source.entity, source.labelField);
|
|
516
|
+
const missing = Array.from(new Set(Array.from(ids)
|
|
517
|
+
.map(scalarText)
|
|
518
|
+
.filter((id) => id !== undefined && id !== ''))).filter(id => !labels.has(id));
|
|
519
|
+
if (!missing.length)
|
|
520
|
+
return labels;
|
|
521
|
+
const apiMethodId = await promotedSearchMethodId(source.entity);
|
|
522
|
+
if (!apiMethodId)
|
|
523
|
+
return labels;
|
|
524
|
+
for (let i = 0; i < missing.length; i += IN_CLAUSE_MAX) {
|
|
525
|
+
const batch = missing.slice(i, i + IN_CLAUSE_MAX);
|
|
526
|
+
try {
|
|
527
|
+
await searchLabels(apiMethodId, source, { searchField: source.keyField, searchOperator: 'IN', searchValue: batch.join(',') }, batch.length);
|
|
528
|
+
}
|
|
529
|
+
catch (_a) {
|
|
530
|
+
// leave the batch unresolved; the cells fall back to the raw key
|
|
531
|
+
}
|
|
532
|
+
for (const id of batch)
|
|
533
|
+
if (!labels.has(id))
|
|
534
|
+
labels.set(id, id);
|
|
535
|
+
}
|
|
536
|
+
return labels;
|
|
537
|
+
}
|
|
538
|
+
/** Keys of the target rows whose label matches one text condition, capped at the `IN` limit. */
|
|
539
|
+
async function keysMatching(source, condition) {
|
|
540
|
+
var _a, _b;
|
|
541
|
+
if (source.keys)
|
|
542
|
+
return source.keys(FilterOperators[(_a = condition.type) !== null && _a !== void 0 ? _a : ''], String(condition.filter));
|
|
543
|
+
const apiMethodId = await promotedSearchMethodId(source.entity);
|
|
544
|
+
if (!apiMethodId)
|
|
545
|
+
return [];
|
|
546
|
+
return searchLabels(apiMethodId, source, { searchField: source.labelField, searchOperator: FilterOperators[(_b = condition.type) !== null && _b !== void 0 ? _b : ''], searchValue: String(condition.filter) }, IN_CLAUSE_MAX);
|
|
547
|
+
}
|
|
548
|
+
/** A negated text operator, and the operator whose matches it excludes. */
|
|
549
|
+
const NEGATED = { notContains: 'contains', notEqual: 'equals' };
|
|
550
|
+
const union = (sets) => [...new Set(sets.flat())];
|
|
551
|
+
const intersect = (sets) => sets.reduce((a, b) => a.filter(k => b.includes(k)));
|
|
552
|
+
const minus = (a, b) => a.filter(k => !b.includes(k));
|
|
553
|
+
/**
|
|
554
|
+
* A text filter on an FK label column with no association path can't be sent as is — the
|
|
555
|
+
* column holds keys. Replace it with an `IN` (or, for negated operators, `NOT IN`) filter on
|
|
556
|
+
* the keys whose label matches: one search of the target per condition, only when such a
|
|
557
|
+
* filter is applied. `undefined` when a filter matches nothing (the page is empty).
|
|
558
|
+
*/
|
|
559
|
+
async function resolveLabelFilters(filterModel, columnDefs) {
|
|
560
|
+
if (!filterModel || 'filterType' in filterModel)
|
|
561
|
+
return filterModel;
|
|
562
|
+
// Columns resolve in parallel; a column whose filter matches nothing empties the page.
|
|
563
|
+
const entries = await Promise.all(Object.entries(filterModel).map(async ([colId, node]) => {
|
|
564
|
+
var _a;
|
|
565
|
+
const colDef = columnDefs.find(c => { var _a; return ((_a = c.colId) !== null && _a !== void 0 ? _a : c.field) === colId; });
|
|
566
|
+
const source = colDef && columnLookupSource(colDef);
|
|
567
|
+
if (!source || !('entity' in source) || source.path || node.filterType !== 'text')
|
|
568
|
+
return [colId, node];
|
|
569
|
+
const conditions = (_a = node.conditions) !== null && _a !== void 0 ? _a : [node];
|
|
570
|
+
if (conditions.some(c => c.filter === undefined || c.filter === ''))
|
|
571
|
+
return [colId, node];
|
|
572
|
+
// A negated condition is searched by its positive form; its keys are then excluded.
|
|
573
|
+
const negated = conditions.map(c => { var _a; return Boolean(NEGATED[(_a = c.type) !== null && _a !== void 0 ? _a : '']); });
|
|
574
|
+
const sets = await Promise.all(conditions.map((c, i) => { var _a; return keysMatching(source, negated[i] ? Object.assign(Object.assign({}, c), { type: NEGATED[(_a = c.type) !== null && _a !== void 0 ? _a : ''] }) : c); }));
|
|
575
|
+
if (sets.some(s => s.length >= IN_CLAUSE_MAX))
|
|
576
|
+
console.warn(`[grid] ${colId}: the label filter matched ${IN_CLAUSE_MAX}+ records; only the first ${IN_CLAUSE_MAX} are used.`);
|
|
577
|
+
const pos = sets.filter((_, i) => !negated[i]);
|
|
578
|
+
const neg = sets.filter((_, i) => negated[i]);
|
|
579
|
+
// AND: every positive matches and no negated one does. OR: excluded only when every negated one
|
|
580
|
+
// matches and no positive one does.
|
|
581
|
+
const or = node.operator === 'OR';
|
|
582
|
+
const exclude = or ? neg.length > 0 : pos.length === 0;
|
|
583
|
+
const keys = or
|
|
584
|
+
? neg.length ? minus(intersect(neg), union(pos)) : union(pos)
|
|
585
|
+
: pos.length ? minus(intersect(pos), union(neg)) : union(neg);
|
|
586
|
+
const values = keys.slice(0, IN_CLAUSE_MAX);
|
|
587
|
+
// Nothing to exclude keeps every row (no filter); nothing to include empties the page.
|
|
588
|
+
if (exclude)
|
|
589
|
+
return [colId, values.length ? { filterType: 'set', values, exclude: true } : null];
|
|
590
|
+
return [colId, values.length ? { filterType: 'set', values } : undefined];
|
|
591
|
+
}));
|
|
592
|
+
if (entries.some(([, value]) => value === undefined))
|
|
593
|
+
return undefined;
|
|
594
|
+
return Object.fromEntries(entries.filter(([, value]) => value !== null));
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* Drop cached labels for an entity (after a create/update/delete of its records) so the
|
|
598
|
+
* next page fetch re-resolves them. No argument clears every entity.
|
|
599
|
+
*/
|
|
600
|
+
function invalidateEntityLabels(entity) {
|
|
601
|
+
if (entity === undefined)
|
|
602
|
+
entityLabels.clear();
|
|
603
|
+
else
|
|
604
|
+
entityLabels.delete(entity);
|
|
605
|
+
}
|
|
606
|
+
async function processLookupsInData(rowData, columnDefs) {
|
|
607
|
+
if (!(rowData === null || rowData === void 0 ? void 0 : rowData.length)) {
|
|
608
|
+
return rowData;
|
|
609
|
+
}
|
|
610
|
+
const curatedByField = new Map();
|
|
611
|
+
const entityByField = new Map();
|
|
612
|
+
columnDefs.forEach(col => {
|
|
613
|
+
if (!col.field)
|
|
614
|
+
return;
|
|
615
|
+
const source = columnLookupSource(col);
|
|
616
|
+
if (!source)
|
|
617
|
+
return;
|
|
618
|
+
if ('lookupId' in source)
|
|
619
|
+
curatedByField.set(col.field, source.lookupId);
|
|
620
|
+
else
|
|
621
|
+
entityByField.set(col.field, source);
|
|
622
|
+
});
|
|
623
|
+
if (curatedByField.size === 0 && entityByField.size === 0) {
|
|
624
|
+
return rowData;
|
|
625
|
+
}
|
|
626
|
+
// Labels by key per FK column: resolved by the source itself when it says how, else searched here.
|
|
627
|
+
const labelsByField = new Map();
|
|
628
|
+
await Promise.all([
|
|
629
|
+
...Array.from(new Set(curatedByField.values())).map(id => getLookupTable(id)),
|
|
630
|
+
...Array.from(entityByField.entries()).map(async ([field, source]) => {
|
|
631
|
+
const ids = rowData.map(row => scalarText(row === null || row === void 0 ? void 0 : row[field])).filter((id) => !!id);
|
|
632
|
+
const labels = source.labels
|
|
633
|
+
? await source.labels([...new Set(ids)]).catch(() => new Map())
|
|
634
|
+
: await ensureEntityLabels(source, ids);
|
|
635
|
+
labelsByField.set(field, labels);
|
|
636
|
+
}),
|
|
637
|
+
]);
|
|
638
|
+
return rowData.map(row => {
|
|
639
|
+
var _a, _b;
|
|
640
|
+
const newRow = Object.assign({}, row);
|
|
641
|
+
for (const field of entityByField.keys()) {
|
|
642
|
+
const key = scalarText(newRow[field]);
|
|
643
|
+
const label = key === undefined ? undefined : (_a = labelsByField.get(field)) === null || _a === void 0 ? void 0 : _a.get(key);
|
|
644
|
+
if (label !== undefined)
|
|
645
|
+
newRow[field + 'LookupValue'] = label;
|
|
646
|
+
}
|
|
647
|
+
for (const [field, lookupId] of curatedByField.entries()) {
|
|
648
|
+
const lookup = resolvedLookups.get(lookupId);
|
|
649
|
+
if (!(lookup === null || lookup === void 0 ? void 0 : lookup.valueMap))
|
|
650
|
+
continue;
|
|
651
|
+
const keys = (_b = lookup.keys) !== null && _b !== void 0 ? _b : [];
|
|
652
|
+
// Multi-key lookups read each key off the row by its own name; rows are often
|
|
653
|
+
// camelCase while key names are PascalCase (`movieId` vs `MovieID`), so match
|
|
654
|
+
// case-insensitively. A missing part never matches — otherwise "undefined" equals
|
|
655
|
+
// "undefined" and every row resolves to the lookup's first entry.
|
|
656
|
+
const rowKeyValues = keys.length > 1
|
|
657
|
+
? keys.map(k => {
|
|
658
|
+
const prop = findPropertyName(newRow, k.name);
|
|
659
|
+
return prop === undefined ? undefined : newRow[prop];
|
|
660
|
+
})
|
|
661
|
+
: [];
|
|
662
|
+
if (keys.length > 1 && rowKeyValues.some(v => v == null))
|
|
663
|
+
continue;
|
|
664
|
+
for (const [innerMap, resolvedValue] of lookup.valueMap.entries()) {
|
|
665
|
+
// Single-key lookups: the row holds the key value under the COLUMN's field, which may
|
|
666
|
+
// differ from the lookup's key-column name (e.g. grid row `status_id` vs lookup key
|
|
667
|
+
// `statusId`). Match on the column field so resolution works regardless of that naming
|
|
668
|
+
// difference. Multi-key lookups: match each key by its own name on the row.
|
|
669
|
+
const allMatch = keys.length === 1
|
|
670
|
+
? String(innerMap.get(keys[0].name)) === String(newRow[field])
|
|
671
|
+
: keys.every((k, i) => innerMap.get(k.name) === String(rowKeyValues[i]));
|
|
672
|
+
if (allMatch) {
|
|
673
|
+
newRow[field + 'LookupValue'] = resolvedValue;
|
|
674
|
+
break;
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
return newRow;
|
|
679
|
+
});
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
export { columnLookupSource as a, getLookupTable as b, composeSearchFragments as c, buildSearchObject as d, isGroupLevelRequest as e, findPropertyName as f, getLookupTableSync as g, invalidateEntityLabels as i, mergeSearchObjects as m, processLookupsInData as p, resolveLabelFilters as r };
|