udp-stencil-component-library 26.9.0-beta.2 → 26.9.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{SearchBuilder-CyR7DyPc.js → SearchBuilder-Ca9_ur9o.js} +1 -1
- package/dist/cjs/add-map-feature-popup_4.cjs.entry.js +8 -8
- package/dist/cjs/address-search_6.cjs.entry.js +19 -19
- package/dist/cjs/advanced-search_12.cjs.entry.js +20 -20
- package/dist/cjs/{ag-grid-base_65.cjs.entry.js → ag-grid-base_66.cjs.entry.js} +458 -183
- package/dist/cjs/ambient-template-grid.cjs.entry.js +20 -20
- package/dist/cjs/api-method-instance-grid.cjs.entry.js +11 -10
- package/dist/cjs/{apiMethodInstance-D65NIw8S.js → apiMethodInstance-DTeNcmNq.js} +3 -32
- package/dist/cjs/{apiUtils-0pkNuvqf.js → apiUtils-tzjwn5aw.js} +29 -28
- package/dist/cjs/app-bar.cjs.entry.js +1 -1
- package/dist/cjs/{catalog-store-B_YMkXRh.js → catalog-store-CzG8hINB.js} +1 -1
- package/dist/cjs/chart-container_3.cjs.entry.js +2 -2
- package/dist/cjs/check-box.cjs.entry.js +2 -2
- package/dist/cjs/chip-section.cjs.entry.js +2 -2
- package/dist/cjs/{codecs-ClSB_OaD.js → codecs-Dyka7kpz.js} +407 -7
- package/dist/cjs/{configService-N6ke1_s4.js → configService-DbfLqId2.js} +2 -6
- package/dist/cjs/{configureUdpColumnMods-BT7UbQPh.js → configureUdpColumnMods-Cqxn_OaF.js} +23 -7
- package/dist/cjs/convertBackendTypeToAgGridType-CZEQIj7A.js +33 -0
- package/dist/cjs/{createAzureMapsProviders-b1fKbjhG.js → createAzureMapsProviders-CURScysk.js} +14 -0
- package/dist/cjs/custom-button.cjs.entry.js +1 -1
- package/dist/cjs/date-time-renderer_9.cjs.entry.js +21 -21
- package/dist/cjs/domain-table-snapshot-DXs9ceFE.js +339 -0
- package/dist/cjs/extraFields-CNvT2Qyf.js +109 -0
- package/dist/cjs/extraFieldsHelper-Clk9u_FW.js +211 -0
- package/dist/cjs/feature-details-card_2.cjs.entry.js +5 -5
- package/dist/cjs/file-upload_2.cjs.entry.js +7 -7
- package/dist/cjs/filter-conditions_7.cjs.entry.js +7 -7
- package/dist/cjs/{fluent-icons-DLY_DCOh.js → fluent-icons-Cs6J6uVm.js} +20 -0
- package/dist/cjs/form-metadata-display_2.cjs.entry.js +3 -3
- package/dist/cjs/getCurrentApiCatalogId-D7xHCEzs.js +7 -0
- package/dist/cjs/icon-grid.cjs.entry.js +2 -2
- package/dist/cjs/image-upload_8.cjs.entry.js +7 -7
- package/dist/cjs/index-CZB9dMeB.js +12 -8
- package/dist/cjs/index.cjs.js +26 -23
- package/dist/cjs/{load-icons-BAAH3v1o.js → load-icons-JeRXx4O7.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logical-search-indicator.cjs.entry.js +1 -1
- package/dist/cjs/lookupHelper-DACjrAcP.js +694 -0
- package/dist/cjs/map-component_2.cjs.entry.js +2 -2
- package/dist/cjs/primary-action-header_2.cjs.entry.js +4 -4
- package/dist/cjs/question-configs-renderer_4.cjs.entry.js +15 -15
- package/dist/cjs/resource-timeline-calendar.cjs.entry.js +1 -1
- package/dist/cjs/resource-timeline-primary-bar.cjs.entry.js +3 -3
- package/dist/cjs/rich-text-schema-Dhani4hA.js +58 -0
- package/dist/cjs/search-method-grid.cjs.entry.js +121 -264
- package/dist/cjs/server-side-grid.cjs.entry.js +85 -3
- package/dist/cjs/side-sheet-container.cjs.entry.js +1 -1
- package/dist/cjs/simple-card.cjs.entry.js +1 -1
- package/dist/cjs/status-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/{status-renderer-9CQ-hhq8.js → status-renderer-be4boc5r.js} +83 -55
- package/dist/cjs/stencil-chip.cjs.entry.js +2 -2
- package/dist/cjs/stencil-library.cjs.js +1 -1
- package/dist/cjs/stencil-toggle.cjs.entry.js +4 -4
- package/dist/cjs/text-field_2.cjs.entry.js +7 -7
- package/dist/cjs/udp-adornment.cjs.entry.js +1 -1
- package/dist/cjs/udp-advanced-search-builder.cjs.entry.js +102 -5
- package/dist/cjs/udp-advanced-search-field-picker_3.cjs.entry.js +3 -3
- package/dist/cjs/udp-ag-area-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-bar-chart_4.cjs.entry.js +5 -5
- package/dist/cjs/udp-ag-bubble-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-combo-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-donut-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-line-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-pie-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-scatter-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-attachment-item_2.cjs.entry.js +1 -1
- package/dist/cjs/udp-attachment-list.cjs.entry.js +1 -1
- package/dist/cjs/udp-bar-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-base.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-day.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-month.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-week.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-year.cjs.entry.js +1 -1
- package/dist/cjs/udp-card-action-area.cjs.entry.js +1 -1
- package/dist/cjs/udp-card_6.cjs.entry.js +7 -7
- package/dist/cjs/udp-charts-example.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query-grid.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query.cjs.entry.js +2 -2
- package/dist/cjs/udp-container.cjs.entry.js +2 -2
- package/dist/cjs/{udp-detail-list_9.cjs.entry.js → udp-detail-list_10.cjs.entry.js} +606 -73
- package/dist/cjs/{udp-drive-utils-DM1l6XMm.js → udp-drive-utils-BuTLI35n.js} +1 -1
- package/dist/cjs/udp-dynamic-container-with-menu.cjs.entry.js +1 -1
- package/dist/cjs/udp-dynamic-form.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-icon-picker.cjs.entry.js +2 -2
- package/dist/cjs/udp-fluent-inline-edit_5.cjs.entry.js +494 -45
- package/dist/cjs/udp-fluent-link.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-list-item_2.cjs.entry.js +3 -3
- package/dist/cjs/{udp-form-api-utils-zMPk_IT1.js → udp-form-api-utils-ZY88igvH.js} +1 -1
- package/dist/cjs/udp-forms-builder-style-override.cjs.entry.js +1 -1
- package/dist/cjs/udp-forms-builder.cjs.entry.js +1 -1
- package/dist/cjs/udp-forms-follow-up-list-card.cjs.entry.js +2 -2
- package/dist/cjs/udp-forms-list-card.cjs.entry.js +4 -4
- package/dist/cjs/udp-forms-list.cjs.entry.js +3 -3
- package/dist/cjs/udp-forms-renderer.cjs.entry.js +4 -4
- package/dist/cjs/udp-import-sheet.cjs.entry.js +244 -0
- package/dist/cjs/udp-kpi-card.cjs.entry.js +1 -1
- package/dist/cjs/udp-kpi-cards.cjs.entry.js +2 -2
- package/dist/cjs/udp-map.cjs.entry.js +3 -3
- package/dist/cjs/udp-menu.cjs.entry.js +1 -1
- package/dist/cjs/udp-page.cjs.entry.js +1 -1
- package/dist/cjs/udp-question-form-builder.cjs.entry.js +35 -258
- package/dist/cjs/udp-rich-text-field.cjs.entry.js +28 -53
- package/dist/cjs/udp-rich-text.cjs.entry.js +61 -0
- package/dist/cjs/udp-sankey-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-sidebar-layout.cjs.entry.js +3 -3
- package/dist/cjs/udp-skeleton-loading.cjs.entry.js +1 -1
- package/dist/cjs/udp-split-screen.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-actions.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-content.cjs.entry.js +2 -2
- package/dist/cjs/udp-stepper-demo.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-nav.cjs.entry.js +1 -1
- package/dist/cjs/udp-tab.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-connector.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-dot.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/udp-timeline-separator.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline-connector.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline-dot.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/udp-vertical-timeline-separator.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline.cjs.entry.js +1 -1
- package/dist/cjs/udp-xy-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-xy-multi-series-chart.cjs.entry.js +1 -1
- package/dist/cjs/valueFormatters-CUoOypK3.js +17 -0
- package/dist/collection/__mocks__/jest-setup.js +3 -0
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/advanced-search/advanced-search-grouped.js +2 -2
- package/dist/collection/components/advanced-search/advanced-search.js +2 -2
- package/dist/collection/components/advanced-search/filter-conditions/filter-conditions.js +1 -1
- package/dist/collection/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.js +1 -1
- package/dist/collection/components/advanced-search-builder/field-picker/field-picker.js +1 -1
- package/dist/collection/components/advanced-search-builder/field-picker-tree/field-picker-tree.js +2 -2
- package/dist/collection/components/advanced-search-builder/udp-advanced-search-builder.js +125 -2
- package/dist/collection/components/attachment-list/udp-attachment-list.js +1 -1
- package/dist/collection/components/buttons/icon-button/function-button/udp-function-button.js +1 -1
- package/dist/collection/components/buttons/icon-button/primary-button/custom-button.js +1 -1
- package/dist/collection/components/buttons/icon-button/radio-button/udp-radio-button.js +1 -1
- package/dist/collection/components/buttons/udp-button/udp-button.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-base.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-day.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-month.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-week.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-year.js +1 -1
- package/dist/collection/components/charts/chart-kpi/chart-kpi.js +1 -1
- package/dist/collection/components/charts/udp-ag-area-chart/udp-ag-area-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-bar-chart/udp-ag-bar-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-bubble-chart/udp-ag-bubble-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-combo-chart/udp-ag-combo-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-donut-chart/udp-ag-donut-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-line-chart/udp-ag-line-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-pie-chart/udp-ag-pie-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-scatter-chart/udp-ag-scatter-chart.js +2 -2
- package/dist/collection/components/charts/udp-bar-chart/udp-bar-chart.js +1 -1
- package/dist/collection/components/charts/udp-charts-example.js +1 -1
- package/dist/collection/components/charts/udp-distribution-chart/udp-distribution-chart.js +1 -1
- package/dist/collection/components/charts/udp-donut-chart/udp-donut-chart.js +1 -1
- package/dist/collection/components/charts/udp-line-chart/udp-line-chart.js +1 -1
- package/dist/collection/components/charts/udp-sankey-chart/udp-sankey-chart.js +1 -1
- package/dist/collection/components/charts/udp-xy-chart/udp-xy-chart.js +1 -1
- package/dist/collection/components/charts/udp-xy-multi-series-chart/udp-xy-multi-series-chart.js +1 -1
- package/dist/collection/components/data-display/adornment/udp-adornment/udp-adornment.js +1 -1
- package/dist/collection/components/data-display/badge/udp-badge.js +1 -1
- package/dist/collection/components/data-display/cards/udp-ambient-card/udp-ambient-card.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-content/udp-card-content.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-header/udp-card-header.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-media/udp-card-media.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card.js +3 -3
- package/dist/collection/components/data-display/chips/stencil-chip/status-chip/status-chip.js +1 -1
- package/dist/collection/components/data-display/chips/stencil-chip/stencil-chip.js +2 -2
- package/dist/collection/components/data-display/chips/udp-chip.js +1 -1
- package/dist/collection/components/data-display/detail-list-item/udp-detail-list-item.js +1 -1
- package/dist/collection/components/data-display/divider/udp-divider.js +1 -1
- package/dist/collection/components/data-display/empty-state-display/udp-empty-state-display.js +1 -1
- package/dist/collection/components/data-display/headers/udp-column-header.js +1 -1
- package/dist/collection/components/data-display/headers/udp-page-header/udp-page-header.js +1 -1
- package/dist/collection/components/data-display/hint-panel/hint-panel.js +1 -1
- package/dist/collection/components/data-display/kpi/kpi-list.js +1 -1
- package/dist/collection/components/data-display/kpi/udp-kpi-card.js +1 -1
- package/dist/collection/components/data-display/kpi/udp-kpi-cards.js +2 -2
- package/dist/collection/components/data-display/list-item/list-item.js +2 -2
- package/dist/collection/components/data-display/pop-over/udp-pop-over.js +1 -1
- package/dist/collection/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js +1 -1
- package/dist/collection/components/data-display/primary-action-header/primary-action-header.js +2 -2
- package/dist/collection/components/data-display/simple-card/simple-card.js +1 -1
- package/dist/collection/components/data-display/tool-tip/udp-ambient-tool-tip.js +2 -2
- package/dist/collection/components/data-display/tree/tree-list-item/search-item/search-list-item.js +1 -1
- package/dist/collection/components/data-display/udp-avatar/udp-avatar.js +1 -1
- package/dist/collection/components/dialogs/udp-dialog.js +1 -1
- package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.js +9 -9
- package/dist/collection/components/export/udp-export-sheet/udp-export-sheet.css +0 -1
- package/dist/collection/components/export/udp-export-sheet/udp-export-sheet.js +10 -5
- package/dist/collection/components/feedback/udp-notification/alerts/upd-alert-banner.js +1 -1
- package/dist/collection/components/feedback/udp-notification/udp-notification.js +2 -2
- package/dist/collection/components/fluent-ui/autocomplete/udp-autocomplete.js +8 -8
- package/dist/collection/components/fluent-ui/avatar/udp-fluent-avatar.js +1 -1
- package/dist/collection/components/fluent-ui/badge/udp-fluent-badge.js +1 -1
- package/dist/collection/components/fluent-ui/button/udp-fluent-button.css +10 -0
- package/dist/collection/components/fluent-ui/button/udp-fluent-button.js +26 -1
- package/dist/collection/components/fluent-ui/card/udp-fluent-card.js +3 -3
- package/dist/collection/components/fluent-ui/checkbox/udp-fluent-checkbox.js +1 -1
- package/dist/collection/components/fluent-ui/compound-button/udp-compound-button.js +1 -1
- package/dist/collection/components/fluent-ui/counter-badge/udp-fluent-counter-badge.js +1 -1
- package/dist/collection/components/fluent-ui/date-time-input/udp-date-time-input.js +1 -1
- package/dist/collection/components/fluent-ui/dialog/udp-fluent-dialog.js +1 -1
- package/dist/collection/components/fluent-ui/divider/udp-fluent-divider.js +1 -1
- package/dist/collection/components/fluent-ui/domain-table-input/domain-table-snapshot.js +78 -0
- package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.css +67 -0
- package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.js +871 -0
- package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.types.js +1 -0
- package/dist/collection/components/fluent-ui/drawer/udp-fluent-drawer.css +4 -0
- package/dist/collection/components/fluent-ui/drawer/udp-fluent-drawer.js +26 -1
- package/dist/collection/components/fluent-ui/dropdown/udp-fluent-dropdown.js +28 -10
- package/dist/collection/components/fluent-ui/empty-state/udp-empty-state.js +1 -1
- package/dist/collection/components/fluent-ui/file-input/udp-fluent-file-input.js +4 -4
- package/dist/collection/components/fluent-ui/icon/icon-grid/icon-grid.js +1 -1
- package/dist/collection/components/fluent-ui/icon/udp-fluent-icon.js +1 -1
- package/dist/collection/components/fluent-ui/icon-picker/udp-fluent-icon-picker.js +2 -2
- package/dist/collection/components/fluent-ui/image/udp-fluent-image.js +1 -1
- package/dist/collection/components/fluent-ui/inline-edit/udp-fluent-inline-edit.js +2 -2
- package/dist/collection/components/fluent-ui/link/udp-fluent-link.js +1 -1
- package/dist/collection/components/fluent-ui/list/udp-list.js +1 -1
- package/dist/collection/components/fluent-ui/list-input/udp-fluent-list-input.js +1 -1
- package/dist/collection/components/fluent-ui/list-item/udp-list-item.js +2 -2
- package/dist/collection/components/fluent-ui/location-input/udp-fluent-location-input.js +3 -3
- package/dist/collection/components/fluent-ui/menu/udp-fluent-menu.js +2 -2
- package/dist/collection/components/fluent-ui/message-bar/udp-message-bar.js +1 -1
- package/dist/collection/components/fluent-ui/number-input/udp-fluent-number-input.js +1 -1
- package/dist/collection/components/fluent-ui/popover/udp-popover.js +4 -4
- package/dist/collection/components/fluent-ui/progress-bar/udp-progress-bar.js +1 -1
- package/dist/collection/components/fluent-ui/radio-group/udp-fluent-radio-group.js +21 -8
- package/dist/collection/components/fluent-ui/rich-text/udp-rich-text.css +9 -0
- package/dist/collection/components/fluent-ui/rich-text/udp-rich-text.js +81 -0
- package/dist/collection/components/fluent-ui/rich-text-field/rich-text-content.css +97 -0
- package/dist/collection/components/fluent-ui/rich-text-field/rich-text-schema.js +39 -0
- package/dist/collection/components/fluent-ui/rich-text-field/udp-rich-text-field.css +1 -92
- package/dist/collection/components/fluent-ui/rich-text-field/udp-rich-text-field.js +12 -39
- package/dist/collection/components/fluent-ui/search-input/udp-search-input.css +6 -0
- package/dist/collection/components/fluent-ui/search-input/udp-search-input.js +3 -3
- package/dist/collection/components/fluent-ui/signature-input/udp-fluent-signature-input.js +4 -4
- package/dist/collection/components/fluent-ui/slider/udp-slider.js +1 -1
- package/dist/collection/components/fluent-ui/spinner/udp-spinner.js +1 -1
- package/dist/collection/components/fluent-ui/swatch-picker/udp-swatch-picker.js +1 -1
- package/dist/collection/components/fluent-ui/switch/udp-fluent-switch.js +1 -1
- package/dist/collection/components/fluent-ui/table-input/table-aggregates.js +57 -0
- package/dist/collection/components/fluent-ui/table-input/udp-fluent-table-input.js +12 -56
- package/dist/collection/components/fluent-ui/tablist/udp-fluent-tablist.js +13 -2
- package/dist/collection/components/fluent-ui/text/udp-text.js +1 -1
- package/dist/collection/components/fluent-ui/text-input/udp-fluent-text-input.js +2 -2
- package/dist/collection/components/fluent-ui/textarea/udp-textarea.js +2 -2
- package/dist/collection/components/fluent-ui/time-input/udp-time-input.js +7 -2
- package/dist/collection/components/fluent-ui/toggle-button/udp-fluent-toggle-button.js +1 -1
- package/dist/collection/components/fluent-ui/tooltip/udp-tooltip.js +2 -2
- package/dist/collection/components/fluent-ui/tree/udp-tree.js +1 -1
- package/dist/collection/components/forms/dynamic-form/udp-dynamic-form.js +1 -1
- package/dist/collection/components/forms/edit-view-form/edit-view-form.js +2 -2
- package/dist/collection/components/forms/form/stencil-form.js +1 -1
- package/dist/collection/components/forms/save-view-form/save-view-form.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-question-item/udp-forms-builder-question-item.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.js +4 -4
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.js +3 -3
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js +3 -3
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/location-renderer/location-renderer.js +6 -6
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js +7 -7
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/section-configs-renderer/section-configs-renderer.js +4 -4
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/table-columns-renderer/table-columns-renderer.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-menu/udp-forms-builder-menu.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-style-override/udp-forms-builder-style-override.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js +4 -4
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-follow-up-list-card/udp-forms-follow-up-list-card.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-question/table-input/table-input.js +1 -1
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/table-domain.fixtures.js +200 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/configure-question-drawer.js +7 -1
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/DomainTableConfig.js +309 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/TableConfig.js +32 -1
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.css +50 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.js +33 -3
- package/dist/collection/components/forms/udp-question-form/builder/udp-question-form-builder.js +7 -1
- package/dist/collection/components/forms/udp-question-form/builder/utils/builder-api.js +85 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.js +9 -1
- package/dist/collection/components/forms/udp-question-form/core/field-properties.js +6 -1
- package/dist/collection/components/forms/udp-question-form/core/validation/intrinsic.js +52 -3
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/codecs.js +10 -4
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/domain-table-snapshot.js +50 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/index.js +1 -0
- package/dist/collection/components/forms/udp-question-form/renderer/udp-question-form-renderer.js +62 -16
- package/dist/collection/components/forms/udp-question-form/renderer/ui/adapters/udp-question-tally-adapter.js +1 -1
- package/dist/collection/components/forms/udp-question-form/renderer/ui/form-shell.js +2 -1
- package/dist/collection/components/forms/udp-question-form/renderer/ui/question-renderer.js +7 -3
- package/dist/collection/components/forms/udp-question-form/renderer/ui/question-view-renderer.js +17 -11
- package/dist/collection/components/forms/udp-question-form/version-drawer/udp-form-version-drawer.js +1 -1
- package/dist/collection/components/grid/ambient-template-grid/ambient-template-grid.js +16 -16
- package/dist/collection/components/grid/grid-primary-bar/grid-primary-bar.js +2 -2
- package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +1 -1
- package/dist/collection/components/grid/new-grid/ag-grid-base.css +7 -0
- package/dist/collection/components/grid/new-grid/ag-grid-base.js +13 -4
- package/dist/collection/components/grid/new-grid/api-method-instance-grid.js +27 -3
- package/dist/collection/components/grid/new-grid/client-side-grid.js +2 -2
- package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js +20 -6
- package/dist/collection/components/grid/new-grid/gridFunctions/advancedSearch.js +3 -2
- package/dist/collection/components/grid/new-grid/gridFunctions/savedViews.js +7 -5
- package/dist/collection/components/grid/new-grid/gridFunctions/udpExport.js +12 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/buildSearchObject.js +17 -16
- package/dist/collection/components/grid/new-grid/helperFunctions/configureUdpColumnMods.js +23 -7
- package/dist/collection/components/grid/new-grid/helperFunctions/domainRowsHelper.js +177 -0
- package/dist/collection/components/grid/new-grid/helperFunctions/extraFieldsHelper.js +203 -0
- package/dist/collection/components/grid/new-grid/helperFunctions/lookupHelper.js +256 -16
- package/dist/collection/components/grid/new-grid/search-method-grid.js +124 -11
- package/dist/collection/components/grid/new-grid/server-side-grid.js +107 -4
- package/dist/collection/components/grid/renderers/actions-renderer.js +83 -55
- package/dist/collection/components/grid/renderers/input-renderer.js +66 -0
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js +1 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +3 -3
- package/dist/collection/components/import/udp-import-sheet/udp-import-sheet.css +38 -0
- package/dist/collection/components/import/udp-import-sheet/udp-import-sheet.js +425 -0
- package/dist/collection/components/inputs/address-search/address-search.js +3 -3
- package/dist/collection/components/inputs/checkbox/check-box.js +2 -2
- package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js +2 -2
- package/dist/collection/components/inputs/date-selector/udp-date-selector.js +3 -3
- package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +3 -3
- package/dist/collection/components/inputs/file-upload/file-upload.js +4 -4
- package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +1 -1
- package/dist/collection/components/inputs/image-upload/image-upload.js +1 -1
- package/dist/collection/components/inputs/numeric-field/numeric-field.js +3 -3
- package/dist/collection/components/inputs/signature-input/signature-input.js +2 -2
- package/dist/collection/components/inputs/tally/tally.js +2 -2
- package/dist/collection/components/inputs/text-area/text-area.js +3 -3
- package/dist/collection/components/inputs/text-field/text-field.js +3 -3
- package/dist/collection/components/inputs/time-selector/udp-time-selector.js +3 -3
- package/dist/collection/components/inputs/toggle/stencil-toggle.js +4 -4
- package/dist/collection/components/inputs/udp-selector/udp-selector.js +4 -4
- package/dist/collection/components/layout/primary-action-header/udp-primary-action-header.js +1 -1
- package/dist/collection/components/layout/udp-container/udp-container.js +2 -2
- package/dist/collection/components/layout/udp-container-query/udp-container-query.js +2 -2
- package/dist/collection/components/layout/udp-container-query-grid/udp-container-query-grid.js +1 -1
- package/dist/collection/components/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +1 -1
- package/dist/collection/components/layout/udp-page/udp-page.js +1 -1
- package/dist/collection/components/layout/udp-sidebar-layout/udp-sidebar-layout.js +3 -3
- package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js +1 -1
- package/dist/collection/components/layout/udp-vertical-spacer.js +1 -1
- package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js +2 -2
- package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +1 -1
- package/dist/collection/components/loaders/udp-skeleton-loading.js +1 -1
- package/dist/collection/components/map/udp-map/map-component.js +1 -1
- package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js +3 -3
- package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -4
- package/dist/collection/components/map/udp-map/popups/feature-details-popup.js +1 -1
- package/dist/collection/components/map/udp-map/popups/select-layer-popup.js +2 -2
- package/dist/collection/components/map/udp-map/popups/split-line-popup.js +1 -1
- package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js +2 -2
- package/dist/collection/components/map/udp-map/udp-map-toolbar.js +1 -1
- package/dist/collection/components/map/udp-map/udp-map.js +3 -3
- package/dist/collection/components/menu/menu-item/udp-menu-item.js +1 -1
- package/dist/collection/components/menu/udp-menu.js +1 -1
- package/dist/collection/components/new-form/field/udp-field.js +1 -1
- package/dist/collection/components/new-form/form/udp-form-component.js +2 -2
- package/dist/collection/components/stepper/udp-stepper-actions/udp-stepper-actions.js +1 -1
- package/dist/collection/components/stepper/udp-stepper-content/udp-stepper-content.js +2 -2
- package/dist/collection/components/stepper/udp-stepper-demo.js +1 -1
- package/dist/collection/components/stepper/udp-stepper-nav/udp-stepper-nav.js +1 -1
- package/dist/collection/components/tabs/tab/tabs/udp-tabs.js +2 -2
- package/dist/collection/components/tabs/tab/udp-tab.js +1 -1
- package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +1 -2
- package/dist/collection/components/timeline/udp-timeline-connector.js +1 -1
- package/dist/collection/components/timeline/udp-timeline-dot.js +1 -1
- package/dist/collection/components/timeline/udp-timeline-item.js +2 -2
- package/dist/collection/components/timeline/udp-timeline-separator.js +1 -1
- package/dist/collection/components/timeline/udp-timeline.js +1 -1
- package/dist/collection/components/toolbars/app-bar/app-bar.js +1 -1
- package/dist/collection/components/util/ghost-render/ghost-render.js +1 -1
- package/dist/collection/components/util/lazy-loader/udp-lazy-loader.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-connector.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-dot.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-item.js +2 -2
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-separator.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline.js +1 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet-container.js +1 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet.js +1 -1
- package/dist/collection/icons/fluent-icons.js +16 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/store/execution-store.js +6 -5
- package/dist/collection/test-pages/test-components-page.js +28 -28
- package/dist/collection/test-pages/test-form.js +4 -4
- package/dist/collection/udp-utilities/api-config/configService.js +0 -4
- package/dist/collection/udp-utilities/extra-fields/extraFields.js +94 -0
- package/dist/collection/udp-utilities/extra-fields/index.js +1 -0
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -2
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -1
- package/dist/components/add-map-feature-popup2.js +1 -1
- package/dist/components/address-search2.js +1 -1
- package/dist/components/advanced-search-grouped2.js +1 -1
- package/dist/components/advanced-search2.js +1 -1
- package/dist/components/ag-grid-base2.js +1 -1
- package/dist/components/ambient-template-grid.js +1 -1
- package/dist/components/api-method-instance-grid.js +1 -1
- package/dist/components/apiMethodInstance.js +1 -1
- package/dist/components/apiUtils.js +1 -1
- package/dist/components/app-bar.js +1 -1
- package/dist/components/chart-kpi2.js +1 -1
- package/dist/components/check-box.js +1 -1
- package/dist/components/chip-section.js +1 -1
- package/dist/components/client-side-grid2.js +1 -1
- package/dist/components/configService.js +1 -1
- package/dist/components/configureUdpColumnMods.js +1 -1
- package/dist/components/convertBackendTypeToAgGridType.js +1 -0
- package/dist/components/custom-button2.js +1 -1
- package/dist/components/edit-view-form.js +1 -1
- package/dist/components/extraFields.js +1 -0
- package/dist/components/feature-details-card2.js +1 -1
- package/dist/components/feature-details-popup2.js +1 -1
- package/dist/components/field-picker-tree.js +1 -1
- package/dist/components/field-picker.js +1 -1
- package/dist/components/file-upload-renderer2.js +1 -1
- package/dist/components/file-upload2.js +1 -1
- package/dist/components/filter-conditions2.js +1 -1
- package/dist/components/fluent-icons.js +1 -1
- package/dist/components/form-metadata-display-renderer2.js +1 -1
- package/dist/components/form-metadata-display2.js +1 -1
- package/dist/components/getCachedAzureMapsProviders.js +1 -1
- package/dist/components/ghost-render2.js +1 -1
- package/dist/components/grid-primary-bar2.js +1 -1
- package/dist/components/hint-panel2.js +1 -1
- package/dist/components/icon-grid2.js +1 -1
- package/dist/components/image-upload2.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/kpi-list2.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/list-options-renderer2.js +1 -1
- package/dist/components/location-renderer2.js +1 -1
- package/dist/components/logical-search-indicator.js +1 -1
- package/dist/components/lookup.js +1 -0
- package/dist/components/map-component2.js +1 -1
- package/dist/components/map-toolbar2.js +1 -1
- package/dist/components/numeric-field2.js +1 -1
- package/dist/components/primary-action-header2.js +1 -1
- package/dist/components/question-configs-renderer2.js +1 -1
- package/dist/components/resource-timeline-calendar.js +1 -1
- package/dist/components/resource-timeline-primary-bar2.js +1 -1
- package/dist/components/rich-text-schema.js +1 -0
- package/dist/components/save-view-form.js +1 -1
- package/dist/components/search-list-item2.js +1 -1
- package/dist/components/search-method-grid2.js +1 -1
- package/dist/components/section-configs-renderer2.js +1 -1
- package/dist/components/select-layer-popup2.js +1 -1
- package/dist/components/server-side-grid2.js +1 -1
- package/dist/components/side-sheet-container2.js +1 -1
- package/dist/components/side-sheet2.js +1 -1
- package/dist/components/signature-input2.js +1 -1
- package/dist/components/signature-renderer2.js +1 -1
- package/dist/components/simple-card.js +1 -1
- package/dist/components/split-line-popup2.js +1 -1
- package/dist/components/status-chip2.js +1 -1
- package/dist/components/status-renderer.js +1 -1
- package/dist/components/stencil-chip2.js +1 -1
- package/dist/components/stencil-form2.js +1 -1
- package/dist/components/stencil-toggle2.js +1 -1
- package/dist/components/table-aggregates.js +1 -0
- package/dist/components/table-columns-renderer2.js +1 -1
- package/dist/components/table-input2.js +1 -1
- package/dist/components/tally.js +1 -1
- package/dist/components/test-components-page.js +1 -1
- package/dist/components/test-form2.js +1 -1
- package/dist/components/text-area2.js +1 -1
- package/dist/components/text-field2.js +1 -1
- package/dist/components/text-input-renderer2.js +1 -1
- package/dist/components/types.js +1 -1
- package/dist/components/udp-adornment2.js +1 -1
- package/dist/components/udp-advanced-search-builder.js +1 -1
- package/dist/components/udp-ag-area-chart.js +1 -1
- package/dist/components/udp-ag-bar-chart2.js +1 -1
- package/dist/components/udp-ag-bubble-chart.js +1 -1
- package/dist/components/udp-ag-combo-chart.js +1 -1
- package/dist/components/udp-ag-donut-chart.js +1 -1
- package/dist/components/udp-ag-line-chart.js +1 -1
- package/dist/components/udp-ag-pie-chart.js +1 -1
- package/dist/components/udp-ag-scatter-chart.js +1 -1
- package/dist/components/udp-ambient-card2.js +1 -1
- package/dist/components/udp-ambient-tool-tip2.js +1 -1
- package/dist/components/udp-attachment-list.js +1 -1
- package/dist/components/udp-autocomplete2.js +1 -1
- package/dist/components/udp-avatar2.js +1 -1
- package/dist/components/udp-badge2.js +1 -1
- package/dist/components/udp-bar-chart.js +1 -1
- package/dist/components/udp-button2.js +1 -1
- package/dist/components/udp-calendar-base2.js +1 -1
- package/dist/components/udp-calendar-day.js +1 -1
- package/dist/components/udp-calendar-month.js +1 -1
- package/dist/components/udp-calendar-week.js +1 -1
- package/dist/components/udp-calendar-year.js +1 -1
- package/dist/components/udp-card-action-area.js +1 -1
- package/dist/components/udp-card-actions2.js +1 -1
- package/dist/components/udp-card-content2.js +1 -1
- package/dist/components/udp-card-header2.js +1 -1
- package/dist/components/udp-card-media2.js +1 -1
- package/dist/components/udp-card2.js +1 -1
- package/dist/components/udp-charts-example.js +1 -1
- package/dist/components/udp-chip2.js +1 -1
- package/dist/components/udp-column-header2.js +1 -1
- package/dist/components/udp-compound-button2.js +1 -1
- package/dist/components/udp-container-query-grid-item.js +1 -1
- package/dist/components/udp-container-query-grid2.js +1 -1
- package/dist/components/udp-container-query2.js +1 -1
- package/dist/components/udp-container2.js +1 -1
- package/dist/components/udp-date-range-selector2.js +1 -1
- package/dist/components/udp-date-selector2.js +1 -1
- package/dist/components/udp-date-time-input2.js +1 -1
- package/dist/components/udp-datetime-selector2.js +1 -1
- package/dist/components/udp-detail-list-item2.js +1 -1
- package/dist/components/udp-dialog2.js +1 -1
- package/dist/components/udp-distribution-chart2.js +1 -1
- package/dist/components/udp-divider2.js +1 -1
- package/dist/components/udp-donut-chart2.js +1 -1
- package/dist/components/udp-dynamic-container-with-menu2.js +1 -1
- package/dist/components/udp-dynamic-form.js +1 -1
- package/dist/components/udp-empty-state-display2.js +1 -1
- package/dist/components/udp-empty-state2.js +1 -1
- package/dist/components/udp-export-sheet2.js +1 -1
- package/dist/components/udp-field2.js +1 -1
- package/dist/components/udp-fluent-avatar2.js +1 -1
- package/dist/components/udp-fluent-badge2.js +1 -1
- package/dist/components/udp-fluent-button2.js +1 -1
- package/dist/components/udp-fluent-card2.js +1 -1
- package/dist/components/udp-fluent-checkbox2.js +1 -1
- package/dist/components/udp-fluent-counter-badge2.js +1 -1
- package/dist/components/udp-fluent-dialog2.js +1 -1
- package/dist/components/udp-fluent-divider2.js +1 -1
- package/dist/components/udp-fluent-domain-table-input.d.ts +11 -0
- package/dist/components/udp-fluent-domain-table-input.js +2 -0
- package/dist/components/udp-fluent-domain-table-input2.js +1 -0
- package/dist/components/udp-fluent-drawer2.js +1 -1
- package/dist/components/udp-fluent-dropdown2.js +1 -1
- package/dist/components/udp-fluent-file-input2.js +1 -1
- package/dist/components/udp-fluent-icon-picker.js +1 -1
- package/dist/components/udp-fluent-icon2.js +1 -1
- package/dist/components/udp-fluent-image2.js +1 -1
- package/dist/components/udp-fluent-inline-edit2.js +1 -1
- package/dist/components/udp-fluent-link.js +1 -1
- package/dist/components/udp-fluent-list-input2.js +1 -1
- package/dist/components/udp-fluent-location-input2.js +1 -1
- package/dist/components/udp-fluent-menu2.js +1 -1
- package/dist/components/udp-fluent-number-input.js +1 -1
- package/dist/components/udp-fluent-number-input2.js +1 -0
- package/dist/components/udp-fluent-radio-group2.js +1 -1
- package/dist/components/udp-fluent-signature-input2.js +1 -1
- package/dist/components/udp-fluent-switch2.js +1 -1
- package/dist/components/udp-fluent-table-input2.js +1 -1
- package/dist/components/udp-fluent-tablist2.js +1 -1
- package/dist/components/udp-fluent-text-input2.js +1 -1
- package/dist/components/udp-fluent-toggle-button2.js +1 -1
- package/dist/components/udp-form-component2.js +1 -1
- package/dist/components/udp-form-version-drawer2.js +1 -1
- package/dist/components/udp-forms-builder-menu2.js +1 -1
- package/dist/components/udp-forms-builder-question-item2.js +1 -1
- package/dist/components/udp-forms-builder-style-override.js +1 -1
- package/dist/components/udp-forms-follow-up-list-card.js +1 -1
- package/dist/components/udp-forms-list-card2.js +1 -1
- package/dist/components/udp-forms-list.js +1 -1
- package/dist/components/udp-forms-renderer.js +1 -1
- package/dist/components/udp-forms-ui2.js +1 -1
- package/dist/components/udp-function-button2.js +1 -1
- package/dist/components/udp-grid-loader2.js +1 -1
- package/dist/components/udp-hotlist-form2.js +1 -1
- package/dist/components/udp-import-sheet.d.ts +11 -0
- package/dist/components/udp-import-sheet.js +2 -0
- package/dist/components/udp-kpi-card2.js +1 -1
- package/dist/components/udp-kpi-cards.js +1 -1
- package/dist/components/udp-lazy-loader2.js +1 -1
- package/dist/components/udp-line-chart2.js +1 -1
- package/dist/components/udp-linear-loader2.js +1 -1
- package/dist/components/udp-list-item2.js +1 -1
- package/dist/components/udp-list2.js +1 -1
- package/dist/components/udp-map-toolbar2.js +1 -1
- package/dist/components/udp-map.js +1 -1
- package/dist/components/udp-menu-item2.js +1 -1
- package/dist/components/udp-menu.js +1 -1
- package/dist/components/udp-message-bar2.js +1 -1
- package/dist/components/udp-notification2.js +1 -1
- package/dist/components/udp-page-header2.js +1 -1
- package/dist/components/udp-page.js +1 -1
- package/dist/components/udp-pop-over-grid-action-header2.js +1 -1
- package/dist/components/udp-pop-over2.js +1 -1
- package/dist/components/udp-popover2.js +1 -1
- package/dist/components/udp-primary-action-header2.js +1 -1
- package/dist/components/udp-progress-bar2.js +1 -1
- package/dist/components/udp-question-config-fluent2.js +1 -1
- package/dist/components/udp-question-form-builder.js +1 -1
- package/dist/components/udp-question-form-renderer2.js +1 -1
- package/dist/components/udp-question-tally-adapter2.js +1 -1
- package/dist/components/udp-question2.js +1 -1
- package/dist/components/udp-radio-button2.js +1 -1
- package/dist/components/udp-rich-text-field.js +1 -1
- package/dist/components/udp-rich-text.d.ts +11 -0
- package/dist/components/udp-rich-text.js +2 -0
- package/dist/components/udp-sankey-chart.js +1 -1
- package/dist/components/udp-search-input2.js +1 -1
- package/dist/components/udp-selector2.js +1 -1
- package/dist/components/udp-side-sheet2.js +1 -1
- package/dist/components/udp-sidebar-layout2.js +1 -1
- package/dist/components/udp-skeleton-loading2.js +1 -1
- package/dist/components/udp-slider2.js +1 -1
- package/dist/components/udp-spinner2.js +1 -1
- package/dist/components/udp-split-screen.js +1 -1
- package/dist/components/udp-stepper-actions.js +1 -1
- package/dist/components/udp-stepper-content.js +1 -1
- package/dist/components/udp-stepper-demo.js +1 -1
- package/dist/components/udp-stepper-nav.js +1 -1
- package/dist/components/udp-swatch-picker2.js +1 -1
- package/dist/components/udp-tab-panel2.js +1 -1
- package/dist/components/udp-tab.js +1 -1
- package/dist/components/udp-tabs2.js +1 -1
- package/dist/components/udp-text2.js +1 -1
- package/dist/components/udp-textarea2.js +1 -1
- package/dist/components/udp-time-input2.js +1 -1
- package/dist/components/udp-time-selector2.js +1 -1
- package/dist/components/udp-timeline-connector.js +1 -1
- package/dist/components/udp-timeline-dot.js +1 -1
- package/dist/components/udp-timeline-item.js +1 -1
- package/dist/components/udp-timeline-separator.js +1 -1
- package/dist/components/udp-timeline.js +1 -1
- package/dist/components/udp-tooltip2.js +1 -1
- package/dist/components/udp-tree2.js +1 -1
- package/dist/components/udp-vertical-spacer2.js +1 -1
- package/dist/components/udp-vertical-timeline-connector.js +1 -1
- package/dist/components/udp-vertical-timeline-dot.js +1 -1
- package/dist/components/udp-vertical-timeline-item.js +1 -1
- package/dist/components/udp-vertical-timeline-separator.js +1 -1
- package/dist/components/udp-vertical-timeline.js +1 -1
- package/dist/components/udp-xy-chart2.js +1 -1
- package/dist/components/udp-xy-multi-series-chart.js +1 -1
- package/dist/components/upd-alert-banner2.js +1 -1
- package/dist/docs.json +1805 -112
- package/dist/esm/{SearchBuilder-BmqrJvtz.js → SearchBuilder-BxLXFEeR.js} +1 -1
- package/dist/esm/add-map-feature-popup_4.entry.js +8 -8
- package/dist/esm/address-search_6.entry.js +19 -19
- package/dist/esm/advanced-search_12.entry.js +20 -20
- package/dist/esm/{ag-grid-base_65.entry.js → ag-grid-base_66.entry.js} +450 -176
- package/dist/esm/ambient-template-grid.entry.js +20 -20
- package/dist/esm/api-method-instance-grid.entry.js +10 -9
- package/dist/esm/{apiMethodInstance-BunReWfq.js → apiMethodInstance-qaGbXDNr.js} +2 -31
- package/dist/esm/{apiUtils-Cq-WuEqc.js → apiUtils-CXqsYwOQ.js} +29 -28
- package/dist/esm/app-bar.entry.js +1 -1
- package/dist/esm/{catalog-store-CLsDGUEl.js → catalog-store-BOpo_zaC.js} +1 -1
- package/dist/esm/chart-container_3.entry.js +2 -2
- package/dist/esm/check-box.entry.js +2 -2
- package/dist/esm/chip-section.entry.js +2 -2
- package/dist/esm/{codecs-CI_fHfY1.js → codecs-BWyrM561.js} +400 -9
- package/dist/esm/{configService-D_9j963S.js → configService-CehZzjhw.js} +0 -4
- package/dist/esm/{configureUdpColumnMods-UWccWlH6.js → configureUdpColumnMods-bMO0_--H.js} +23 -7
- package/dist/esm/convertBackendTypeToAgGridType-B8xfl_wR.js +31 -0
- package/dist/esm/{createAzureMapsProviders-CLLCmr8f.js → createAzureMapsProviders-CtQryp1H.js} +13 -1
- package/dist/esm/custom-button.entry.js +1 -1
- package/dist/esm/date-time-renderer_9.entry.js +21 -21
- package/dist/esm/domain-table-snapshot-H3o5mjFB.js +331 -0
- package/dist/esm/extraFields-Cnpy_Bm7.js +97 -0
- package/dist/esm/extraFieldsHelper-CaBMA4HJ.js +205 -0
- package/dist/esm/feature-details-card_2.entry.js +5 -5
- package/dist/esm/file-upload_2.entry.js +7 -7
- package/dist/esm/filter-conditions_7.entry.js +7 -7
- package/dist/esm/{fluent-icons-pWFJyrRm.js → fluent-icons-wRyOZqj2.js} +20 -0
- package/dist/esm/form-metadata-display_2.entry.js +3 -3
- package/dist/esm/getCurrentApiCatalogId-DeurXd9l.js +5 -0
- package/dist/esm/icon-grid.entry.js +2 -2
- package/dist/esm/image-upload_8.entry.js +7 -7
- package/dist/esm/index-15aY63VA.js +12 -8
- package/dist/esm/index.js +13 -22
- package/dist/esm/{load-icons-BHSNRRRA.js → load-icons-D2ZhiHp6.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logical-search-indicator.entry.js +1 -1
- package/dist/esm/lookupHelper-D3LSjaES.js +682 -0
- package/dist/esm/map-component_2.entry.js +2 -2
- package/dist/esm/primary-action-header_2.entry.js +4 -4
- package/dist/esm/question-configs-renderer_4.entry.js +15 -15
- package/dist/esm/resource-timeline-calendar.entry.js +1 -1
- package/dist/esm/resource-timeline-primary-bar.entry.js +3 -3
- package/dist/esm/rich-text-schema-DCUYo610.js +42 -0
- package/dist/esm/search-method-grid.entry.js +120 -263
- package/dist/esm/server-side-grid.entry.js +85 -3
- package/dist/esm/side-sheet-container.entry.js +1 -1
- package/dist/esm/simple-card.entry.js +1 -1
- package/dist/esm/status-chip_2.entry.js +2 -2
- package/dist/esm/{status-renderer-BoY7sar9.js → status-renderer-Evo0rTNU.js} +83 -55
- package/dist/esm/stencil-chip.entry.js +2 -2
- package/dist/esm/stencil-library.js +1 -1
- package/dist/esm/stencil-toggle.entry.js +4 -4
- package/dist/esm/text-field_2.entry.js +7 -7
- package/dist/esm/{types-C9Z-dgvN.js → types-NqFGtWPW.js} +1 -1
- package/dist/esm/udp-adornment.entry.js +1 -1
- package/dist/esm/udp-advanced-search-builder.entry.js +102 -5
- package/dist/esm/udp-advanced-search-field-picker_3.entry.js +3 -3
- package/dist/esm/udp-ag-area-chart.entry.js +2 -2
- package/dist/esm/udp-ag-bar-chart_4.entry.js +5 -5
- package/dist/esm/udp-ag-bubble-chart.entry.js +2 -2
- package/dist/esm/udp-ag-combo-chart.entry.js +2 -2
- package/dist/esm/udp-ag-donut-chart.entry.js +2 -2
- package/dist/esm/udp-ag-line-chart.entry.js +2 -2
- package/dist/esm/udp-ag-pie-chart.entry.js +2 -2
- package/dist/esm/udp-ag-scatter-chart.entry.js +2 -2
- package/dist/esm/udp-attachment-item_2.entry.js +1 -1
- package/dist/esm/udp-attachment-list.entry.js +1 -1
- package/dist/esm/udp-bar-chart.entry.js +1 -1
- package/dist/esm/udp-calendar-base.entry.js +1 -1
- package/dist/esm/udp-calendar-day.entry.js +1 -1
- package/dist/esm/udp-calendar-month.entry.js +1 -1
- package/dist/esm/udp-calendar-week.entry.js +1 -1
- package/dist/esm/udp-calendar-year.entry.js +1 -1
- package/dist/esm/udp-card-action-area.entry.js +1 -1
- package/dist/esm/udp-card_6.entry.js +7 -7
- package/dist/esm/udp-charts-example.entry.js +1 -1
- package/dist/esm/udp-container-query-grid-item.entry.js +1 -1
- package/dist/esm/udp-container-query-grid.entry.js +1 -1
- package/dist/esm/udp-container-query.entry.js +2 -2
- package/dist/esm/udp-container.entry.js +2 -2
- package/dist/esm/{udp-detail-list_9.entry.js → udp-detail-list_10.entry.js} +606 -74
- package/dist/esm/{udp-drive-utils-DCivw3gq.js → udp-drive-utils-BVTuKAND.js} +1 -1
- package/dist/esm/udp-dynamic-container-with-menu.entry.js +1 -1
- package/dist/esm/udp-dynamic-form.entry.js +1 -1
- package/dist/esm/udp-fluent-icon-picker.entry.js +2 -2
- package/dist/esm/udp-fluent-inline-edit_5.entry.js +491 -42
- package/dist/esm/udp-fluent-link.entry.js +1 -1
- package/dist/esm/udp-fluent-list-item_2.entry.js +3 -3
- package/dist/esm/{udp-form-api-utils-HJ_eUZkX.js → udp-form-api-utils-Bq7Txu0h.js} +1 -1
- package/dist/esm/udp-forms-builder-style-override.entry.js +1 -1
- package/dist/esm/udp-forms-builder.entry.js +1 -1
- package/dist/esm/udp-forms-follow-up-list-card.entry.js +2 -2
- package/dist/esm/udp-forms-list-card.entry.js +4 -4
- package/dist/esm/udp-forms-list.entry.js +3 -3
- package/dist/esm/udp-forms-renderer.entry.js +4 -4
- package/dist/esm/udp-import-sheet.entry.js +242 -0
- package/dist/esm/udp-kpi-card.entry.js +1 -1
- package/dist/esm/udp-kpi-cards.entry.js +2 -2
- package/dist/esm/udp-map.entry.js +3 -3
- package/dist/esm/udp-menu.entry.js +1 -1
- package/dist/esm/udp-page.entry.js +1 -1
- package/dist/esm/udp-question-form-builder.entry.js +28 -251
- package/dist/esm/udp-rich-text-field.entry.js +28 -39
- package/dist/esm/udp-rich-text.entry.js +59 -0
- package/dist/esm/udp-sankey-chart.entry.js +1 -1
- package/dist/esm/udp-sidebar-layout.entry.js +3 -3
- package/dist/esm/udp-skeleton-loading.entry.js +1 -1
- package/dist/esm/udp-split-screen.entry.js +1 -1
- package/dist/esm/udp-stepper-actions.entry.js +1 -1
- package/dist/esm/udp-stepper-content.entry.js +2 -2
- package/dist/esm/udp-stepper-demo.entry.js +1 -1
- package/dist/esm/udp-stepper-nav.entry.js +1 -1
- package/dist/esm/udp-tab.entry.js +1 -1
- package/dist/esm/udp-timeline-connector.entry.js +1 -1
- package/dist/esm/udp-timeline-dot.entry.js +1 -1
- package/dist/esm/udp-timeline-item.entry.js +2 -2
- package/dist/esm/udp-timeline-separator.entry.js +1 -1
- package/dist/esm/udp-timeline.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline-connector.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline-dot.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline-item.entry.js +2 -2
- package/dist/esm/udp-vertical-timeline-separator.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline.entry.js +1 -1
- package/dist/esm/udp-xy-chart.entry.js +1 -1
- package/dist/esm/udp-xy-multi-series-chart.entry.js +1 -1
- package/dist/esm/valueFormatters-BbY_Q8IE.js +15 -0
- package/dist/stencil-library/{SearchBuilder-BmqrJvtz.js → SearchBuilder-BxLXFEeR.js} +1 -1
- package/dist/stencil-library/add-map-feature-popup_4.entry.js +1 -1
- package/dist/stencil-library/address-search_6.entry.js +1 -1
- package/dist/stencil-library/advanced-search_12.entry.js +1 -1
- package/dist/stencil-library/ag-grid-base_66.entry.js +1 -0
- package/dist/stencil-library/ambient-template-grid.entry.js +1 -1
- package/dist/stencil-library/api-method-instance-grid.entry.js +1 -1
- package/dist/stencil-library/apiMethodInstance-qaGbXDNr.js +1 -0
- package/dist/stencil-library/apiUtils-CXqsYwOQ.js +1 -0
- package/dist/stencil-library/app-bar.entry.js +1 -1
- package/dist/stencil-library/{catalog-store-CLsDGUEl.js → catalog-store-BOpo_zaC.js} +1 -1
- package/dist/stencil-library/chart-container_3.entry.js +1 -1
- package/dist/stencil-library/check-box.entry.js +1 -1
- package/dist/stencil-library/chip-section.entry.js +1 -1
- package/dist/stencil-library/codecs-BWyrM561.js +1 -0
- package/dist/stencil-library/configService-CehZzjhw.js +1 -0
- package/dist/stencil-library/configureUdpColumnMods-bMO0_--H.js +1 -0
- package/dist/stencil-library/convertBackendTypeToAgGridType-B8xfl_wR.js +1 -0
- package/dist/stencil-library/createAzureMapsProviders-CtQryp1H.js +1 -0
- package/dist/stencil-library/custom-button.entry.js +1 -1
- package/dist/stencil-library/date-time-renderer_9.entry.js +1 -1
- package/dist/stencil-library/domain-table-snapshot-H3o5mjFB.js +1 -0
- package/dist/stencil-library/extraFields-Cnpy_Bm7.js +1 -0
- package/dist/stencil-library/extraFieldsHelper-CaBMA4HJ.js +1 -0
- package/dist/stencil-library/feature-details-card_2.entry.js +1 -1
- package/dist/stencil-library/file-upload_2.entry.js +1 -1
- package/dist/stencil-library/filter-conditions_7.entry.js +1 -1
- package/dist/stencil-library/fluent-icons-wRyOZqj2.js +1 -0
- package/dist/stencil-library/form-metadata-display_2.entry.js +1 -1
- package/dist/stencil-library/getCurrentApiCatalogId-DeurXd9l.js +1 -0
- package/dist/stencil-library/icon-grid.entry.js +1 -1
- package/dist/stencil-library/image-upload_8.entry.js +1 -1
- package/dist/stencil-library/index.esm.js +1 -1
- package/dist/stencil-library/load-icons-D2ZhiHp6.js +1 -0
- package/dist/stencil-library/logical-search-indicator.entry.js +1 -1
- package/dist/stencil-library/lookupHelper-D3LSjaES.js +1 -0
- package/dist/stencil-library/map-component_2.entry.js +1 -1
- package/dist/stencil-library/primary-action-header_2.entry.js +1 -1
- package/dist/stencil-library/question-configs-renderer_4.entry.js +1 -1
- package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -1
- package/dist/stencil-library/resource-timeline-primary-bar.entry.js +1 -1
- package/dist/stencil-library/rich-text-schema-DCUYo610.js +1 -0
- package/dist/stencil-library/search-method-grid.entry.js +1 -1
- package/dist/stencil-library/server-side-grid.entry.js +1 -1
- package/dist/stencil-library/side-sheet-container.entry.js +1 -1
- package/dist/stencil-library/simple-card.entry.js +1 -1
- package/dist/stencil-library/status-chip_2.entry.js +1 -1
- package/dist/stencil-library/status-renderer-Evo0rTNU.js +1 -0
- package/dist/stencil-library/stencil-chip.entry.js +1 -1
- package/dist/stencil-library/stencil-library.esm.js +1 -1
- package/dist/stencil-library/stencil-toggle.entry.js +1 -1
- package/dist/stencil-library/text-field_2.entry.js +1 -1
- package/dist/stencil-library/{types-C9Z-dgvN.js → types-NqFGtWPW.js} +1 -1
- package/dist/stencil-library/udp-adornment.entry.js +1 -1
- package/dist/stencil-library/udp-advanced-search-builder.entry.js +1 -1
- package/dist/stencil-library/udp-advanced-search-field-picker_3.entry.js +1 -1
- package/dist/stencil-library/udp-ag-area-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-bar-chart_4.entry.js +1 -1
- package/dist/stencil-library/udp-ag-bubble-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-combo-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-donut-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-line-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-pie-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-scatter-chart.entry.js +1 -1
- package/dist/stencil-library/udp-attachment-item_2.entry.js +1 -1
- package/dist/stencil-library/udp-attachment-list.entry.js +1 -1
- package/dist/stencil-library/udp-bar-chart.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-base.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-day.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-month.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-week.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-year.entry.js +1 -1
- package/dist/stencil-library/udp-card-action-area.entry.js +1 -1
- package/dist/stencil-library/udp-card_6.entry.js +1 -1
- package/dist/stencil-library/udp-charts-example.entry.js +1 -1
- package/dist/stencil-library/udp-container-query-grid-item.entry.js +1 -1
- package/dist/stencil-library/udp-container-query-grid.entry.js +1 -1
- package/dist/stencil-library/udp-container-query.entry.js +1 -1
- package/dist/stencil-library/udp-container.entry.js +1 -1
- package/dist/stencil-library/udp-detail-list_10.entry.js +1 -0
- package/dist/stencil-library/{udp-drive-utils-DCivw3gq.js → udp-drive-utils-BVTuKAND.js} +1 -1
- package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js +1 -1
- package/dist/stencil-library/udp-dynamic-form.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-icon-picker.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-inline-edit_5.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-link.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-list-item_2.entry.js +1 -1
- package/dist/stencil-library/{udp-form-api-utils-HJ_eUZkX.js → udp-form-api-utils-Bq7Txu0h.js} +1 -1
- package/dist/stencil-library/udp-forms-builder-style-override.entry.js +1 -1
- package/dist/stencil-library/udp-forms-builder.entry.js +1 -1
- package/dist/stencil-library/udp-forms-follow-up-list-card.entry.js +1 -1
- package/dist/stencil-library/udp-forms-list-card.entry.js +1 -1
- package/dist/stencil-library/udp-forms-list.entry.js +1 -1
- package/dist/stencil-library/udp-forms-renderer.entry.js +1 -1
- package/dist/stencil-library/udp-import-sheet.entry.js +1 -0
- package/dist/stencil-library/udp-kpi-card.entry.js +1 -1
- package/dist/stencil-library/udp-kpi-cards.entry.js +1 -1
- package/dist/stencil-library/udp-map.entry.js +1 -1
- package/dist/stencil-library/udp-menu.entry.js +1 -1
- package/dist/stencil-library/udp-page.entry.js +1 -1
- package/dist/stencil-library/udp-question-form-builder.entry.js +1 -1
- package/dist/stencil-library/udp-rich-text-field.entry.js +1 -1
- package/dist/stencil-library/udp-rich-text.entry.js +1 -0
- package/dist/stencil-library/udp-sankey-chart.entry.js +1 -1
- package/dist/stencil-library/udp-sidebar-layout.entry.js +1 -1
- package/dist/stencil-library/udp-skeleton-loading.entry.js +1 -1
- package/dist/stencil-library/udp-split-screen.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-actions.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-content.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-demo.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-nav.entry.js +1 -1
- package/dist/stencil-library/udp-tab.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-connector.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-dot.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-item.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-separator.entry.js +1 -1
- package/dist/stencil-library/udp-timeline.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-connector.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-dot.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-item.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-separator.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline.entry.js +1 -1
- package/dist/stencil-library/udp-xy-chart.entry.js +1 -1
- package/dist/stencil-library/udp-xy-multi-series-chart.entry.js +1 -1
- package/dist/stencil-library/valueFormatters-BbY_Q8IE.js +1 -0
- package/dist/types/components/advanced-search-builder/udp-advanced-search-builder.d.ts +25 -0
- package/dist/types/components/fluent-ui/button/udp-fluent-button.d.ts +5 -0
- package/dist/types/components/fluent-ui/domain-table-input/domain-table-snapshot.d.ts +32 -0
- package/dist/types/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.d.ts +137 -0
- package/dist/types/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.types.d.ts +46 -0
- package/dist/types/components/fluent-ui/drawer/udp-fluent-drawer.d.ts +5 -0
- package/dist/types/components/fluent-ui/dropdown/udp-fluent-dropdown.d.ts +12 -1
- package/dist/types/components/fluent-ui/radio-group/udp-fluent-radio-group.d.ts +6 -0
- package/dist/types/components/fluent-ui/rich-text/udp-rich-text.d.ts +19 -0
- package/dist/types/components/fluent-ui/rich-text-field/rich-text-schema.d.ts +6 -0
- package/dist/types/components/fluent-ui/table-input/table-aggregates.d.ts +16 -0
- package/dist/types/components/fluent-ui/table-input/udp-fluent-table-input.d.ts +0 -8
- package/dist/types/components/fluent-ui/tablist/udp-fluent-tablist.d.ts +3 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/table-domain.fixtures.d.ts +22 -0
- package/dist/types/components/forms/udp-question-form/builder/components/configure-question-drawer.d.ts +2 -1
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/DomainTableConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/types.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/builder/udp-question-form-builder.d.ts +1 -0
- package/dist/types/components/forms/udp-question-form/builder/utils/builder-api.d.ts +37 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.d.ts +5 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties.d.ts +31 -1
- package/dist/types/components/forms/udp-question-form/core/validation/intrinsic.d.ts +15 -3
- package/dist/types/components/forms/udp-question-form/renderer/runtime/codecs.d.ts +12 -1
- package/dist/types/components/forms/udp-question-form/renderer/runtime/domain-table-snapshot.d.ts +20 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/index.d.ts +1 -0
- package/dist/types/components/forms/udp-question-form/renderer/udp-question-form-renderer.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/form-shell.d.ts +3 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/question-renderer.d.ts +7 -0
- package/dist/types/components/grid/new-grid/ag-grid-base.d.ts +3 -1
- package/dist/types/components/grid/new-grid/api-method-instance-grid.d.ts +9 -1
- package/dist/types/components/grid/new-grid/client-side-grid.d.ts +3 -1
- package/dist/types/components/grid/new-grid/datasources/searchMethodDatasource.d.ts +3 -0
- package/dist/types/components/grid/new-grid/gridFunctions/advancedSearch.d.ts +6 -3
- package/dist/types/components/grid/new-grid/gridFunctions/savedViews.d.ts +1 -0
- package/dist/types/components/grid/new-grid/gridFunctions/udpExport.d.ts +6 -0
- package/dist/types/components/grid/new-grid/helperFunctions/buildSearchObject.d.ts +13 -3
- package/dist/types/components/grid/new-grid/helperFunctions/domainRowsHelper.d.ts +60 -0
- package/dist/types/components/grid/new-grid/helperFunctions/extraFieldsHelper.d.ts +49 -0
- package/dist/types/components/grid/new-grid/helperFunctions/lookupHelper.d.ts +57 -0
- package/dist/types/components/grid/new-grid/helperFunctions/savedViewsHelpers.d.ts +2 -0
- package/dist/types/components/grid/new-grid/search-method-grid.d.ts +35 -1
- package/dist/types/components/grid/new-grid/server-side-grid.d.ts +27 -1
- package/dist/types/components/grid/renderers/actions-renderer.d.ts +15 -0
- package/dist/types/components/grid/renderers/input-renderer.d.ts +36 -0
- package/dist/types/components/import/udp-import-sheet/udp-import-sheet.d.ts +85 -0
- package/dist/types/components.d.ts +411 -12
- package/dist/types/icons/fluent-icons.d.ts +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/store/execution-store.d.ts +4 -5
- package/dist/types/udp-utilities/api-config/configService.d.ts +0 -2
- package/dist/types/udp-utilities/extra-fields/extraFields.d.ts +105 -0
- package/dist/types/udp-utilities/extra-fields/index.d.ts +1 -0
- package/dist/types/udp-utilities/search/searchObject.d.ts +2 -0
- package/package.json +3 -3
- package/dist/cjs/lookupHelper-ClpMWN_g.js +0 -101
- package/dist/cjs/searchObjectHelper-DYpPEIzz.js +0 -110
- package/dist/cjs/slot-index-Dzl7Zum5.js +0 -77
- package/dist/cjs/udp-fluent-number-input.cjs.entry.js +0 -146
- package/dist/esm/lookupHelper-CSo9DNLr.js +0 -96
- package/dist/esm/searchObjectHelper-BjA6OHxg.js +0 -107
- package/dist/esm/slot-index-aYrr8BJl.js +0 -74
- package/dist/esm/udp-fluent-number-input.entry.js +0 -144
- package/dist/stencil-library/ag-grid-base_65.entry.js +0 -1
- package/dist/stencil-library/apiMethodInstance-BunReWfq.js +0 -1
- package/dist/stencil-library/apiUtils-Cq-WuEqc.js +0 -1
- package/dist/stencil-library/codecs-CI_fHfY1.js +0 -1
- package/dist/stencil-library/configService-D_9j963S.js +0 -1
- package/dist/stencil-library/configureUdpColumnMods-UWccWlH6.js +0 -1
- package/dist/stencil-library/createAzureMapsProviders-CLLCmr8f.js +0 -1
- package/dist/stencil-library/fluent-icons-pWFJyrRm.js +0 -1
- package/dist/stencil-library/load-icons-BHSNRRRA.js +0 -1
- package/dist/stencil-library/lookupHelper-CSo9DNLr.js +0 -1
- package/dist/stencil-library/searchObjectHelper-BjA6OHxg.js +0 -1
- package/dist/stencil-library/slot-index-aYrr8BJl.js +0 -1
- package/dist/stencil-library/status-renderer-BoY7sar9.js +0 -1
- package/dist/stencil-library/udp-detail-list_9.entry.js +0 -1
- package/dist/stencil-library/udp-fluent-number-input.entry.js +0 -1
|
@@ -1,5 +1,31 @@
|
|
|
1
|
-
import { executeQueryWithParameters, getPromotedLookupMethod, } from "../../../../udp-utilities/api-udp/apiUtils";
|
|
1
|
+
import { executeQueryAdHoc, executeQueryWithParameters, getPromotedLookupMethod, getPromotedMethodEntities, } from "../../../../udp-utilities/api-udp/apiUtils";
|
|
2
2
|
import { getCurrentApiCatalogId } from "../../../../udp-utilities/catalog/getCurrentApiCatalogId";
|
|
3
|
+
import { FilterOperators } from "./buildSearchObject";
|
|
4
|
+
const isEntitySource = (value) => typeof value.entity === 'string' && typeof value.keyField === 'string' && typeof value.labelField === 'string';
|
|
5
|
+
export const columnLookupSource = (colDef) => {
|
|
6
|
+
var _a;
|
|
7
|
+
const context = ((_a = colDef.context) !== null && _a !== void 0 ? _a : undefined);
|
|
8
|
+
const lookup = context === null || context === void 0 ? void 0 : context.lookup;
|
|
9
|
+
if (lookup && typeof lookup === 'object') {
|
|
10
|
+
const candidate = lookup;
|
|
11
|
+
if (typeof candidate.lookupId === 'string' && candidate.lookupId)
|
|
12
|
+
return { lookupId: candidate.lookupId };
|
|
13
|
+
if (isEntitySource(candidate))
|
|
14
|
+
return candidate;
|
|
15
|
+
}
|
|
16
|
+
// Catalog properties default `lookup` to "": an empty id means no lookup.
|
|
17
|
+
if (typeof (context === null || context === void 0 ? void 0 : context.lookupId) === 'string' && context.lookupId)
|
|
18
|
+
return { lookupId: context.lookupId };
|
|
19
|
+
return undefined;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The property of `obj` holding `name`. Key names can differ in casing from
|
|
23
|
+
* the data's JSON properties (`MovieID` vs `movieId`), so match exactly first,
|
|
24
|
+
* then case-insensitively.
|
|
25
|
+
*/
|
|
26
|
+
export function findPropertyName(obj, name) {
|
|
27
|
+
return name in obj ? name : Object.keys(obj).find(p => p.toLowerCase() === name.toLowerCase());
|
|
28
|
+
}
|
|
3
29
|
const resolvedLookups = new Map();
|
|
4
30
|
const pendingLookups = new Map();
|
|
5
31
|
export async function getLookupTable(lookupId) {
|
|
@@ -25,7 +51,10 @@ export async function getLookupTable(lookupId) {
|
|
|
25
51
|
udpLookupUdpLookupKey = [{ name: keyName }];
|
|
26
52
|
const keys = udpLookupUdpLookupKey;
|
|
27
53
|
const valueMap = new Map(data.map((item) => {
|
|
28
|
-
const keyMap = new Map(keys.map((k) =>
|
|
54
|
+
const keyMap = new Map(keys.map((k) => {
|
|
55
|
+
const prop = findPropertyName(item, k.name);
|
|
56
|
+
return [k.name, String(prop === undefined ? undefined : item[prop])];
|
|
57
|
+
}));
|
|
29
58
|
return [keyMap, item[valueName]];
|
|
30
59
|
}));
|
|
31
60
|
const table = { keys: udpLookupUdpLookupKey, valueName, valueMap };
|
|
@@ -45,32 +74,243 @@ export async function getLookupTable(lookupId) {
|
|
|
45
74
|
export function getLookupTableSync(lookupId) {
|
|
46
75
|
return resolvedLookups.get(lookupId);
|
|
47
76
|
}
|
|
77
|
+
// ---------------------------------------------------------------------------
|
|
78
|
+
// Metadata-derived FK labels: `{ entity, keyField, labelField }` resolved through the
|
|
79
|
+
// target entity's promoted search, id → label, batched `IN` per page, cached per entity.
|
|
80
|
+
// ---------------------------------------------------------------------------
|
|
81
|
+
/** Backend `SearchConstants.IN_CLAUSE_MAX_ELEMENTS`. */
|
|
82
|
+
const IN_CLAUSE_MAX = 500;
|
|
83
|
+
/** Labels per entity, then per label field — an entity's label field can change within a session. */
|
|
84
|
+
const entityLabels = new Map();
|
|
85
|
+
const pendingSearchMethods = new Map();
|
|
86
|
+
const jsonKey = (name) => (name ? name[0].toLowerCase() + name.slice(1) : name);
|
|
87
|
+
const scalarText = (value) => {
|
|
88
|
+
switch (typeof value) {
|
|
89
|
+
case 'string':
|
|
90
|
+
return value;
|
|
91
|
+
case 'number':
|
|
92
|
+
case 'boolean':
|
|
93
|
+
case 'bigint':
|
|
94
|
+
return String(value);
|
|
95
|
+
default:
|
|
96
|
+
return undefined;
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
const fetchSearchMethodId = async (entity) => {
|
|
100
|
+
var _a;
|
|
101
|
+
try {
|
|
102
|
+
const promoted = (await getPromotedMethodEntities(getCurrentApiCatalogId(), entity, true));
|
|
103
|
+
return (_a = promoted === null || promoted === void 0 ? void 0 : promoted.unityBaseSearchMethod) === null || _a === void 0 ? void 0 : _a.apiMethodId;
|
|
104
|
+
}
|
|
105
|
+
catch (_b) {
|
|
106
|
+
// Not cached: the next page fetch retries the catalog lookup.
|
|
107
|
+
pendingSearchMethods.delete(entity);
|
|
108
|
+
return undefined;
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
const promotedSearchMethodId = (entity) => {
|
|
112
|
+
const hit = pendingSearchMethods.get(entity);
|
|
113
|
+
if (hit !== undefined)
|
|
114
|
+
return hit;
|
|
115
|
+
const promise = fetchSearchMethodId(entity);
|
|
116
|
+
pendingSearchMethods.set(entity, promise);
|
|
117
|
+
return promise;
|
|
118
|
+
};
|
|
119
|
+
const labelsFor = (entity, labelField) => {
|
|
120
|
+
let byField = entityLabels.get(entity);
|
|
121
|
+
if (!byField) {
|
|
122
|
+
byField = new Map();
|
|
123
|
+
entityLabels.set(entity, byField);
|
|
124
|
+
}
|
|
125
|
+
let map = byField.get(labelField);
|
|
126
|
+
if (!map) {
|
|
127
|
+
map = new Map();
|
|
128
|
+
byField.set(labelField, map);
|
|
129
|
+
}
|
|
130
|
+
return map;
|
|
131
|
+
};
|
|
132
|
+
/** One search of the label source; caches each returned row's label and returns the keys found. */
|
|
133
|
+
async function searchLabels(apiMethodId, source, filter, pageSize) {
|
|
134
|
+
var _a, _b;
|
|
135
|
+
const response = (await executeQueryAdHoc({
|
|
136
|
+
pageNumber: 1,
|
|
137
|
+
pageSize,
|
|
138
|
+
eagerLoad: false,
|
|
139
|
+
filterElements: [filter],
|
|
140
|
+
filterGroups: [],
|
|
141
|
+
orderElements: [],
|
|
142
|
+
groupingType: '',
|
|
143
|
+
groupProperty: [],
|
|
144
|
+
groupOperationList: [],
|
|
145
|
+
}, apiMethodId, undefined, false));
|
|
146
|
+
const labels = labelsFor(source.entity, source.labelField);
|
|
147
|
+
const keyJson = jsonKey(source.keyField);
|
|
148
|
+
const labelJson = jsonKey(source.labelField);
|
|
149
|
+
const keys = [];
|
|
150
|
+
for (const row of (_a = response === null || response === void 0 ? void 0 : response.pageList) !== null && _a !== void 0 ? _a : []) {
|
|
151
|
+
const key = scalarText(row[keyJson]);
|
|
152
|
+
if (key === undefined)
|
|
153
|
+
continue;
|
|
154
|
+
keys.push(key);
|
|
155
|
+
labels.set(key, (_b = scalarText(row[labelJson])) !== null && _b !== void 0 ? _b : key);
|
|
156
|
+
}
|
|
157
|
+
return keys;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Ensure labels for `ids` are cached for the source; only ids not yet known are fetched,
|
|
161
|
+
* in `IN` batches. Ids the server does not return are cached as their own key so a
|
|
162
|
+
* dangling FK is never re-queried.
|
|
163
|
+
*/
|
|
164
|
+
export async function ensureEntityLabels(source, ids) {
|
|
165
|
+
const labels = labelsFor(source.entity, source.labelField);
|
|
166
|
+
const missing = Array.from(new Set(Array.from(ids)
|
|
167
|
+
.map(scalarText)
|
|
168
|
+
.filter((id) => id !== undefined && id !== ''))).filter(id => !labels.has(id));
|
|
169
|
+
if (!missing.length)
|
|
170
|
+
return labels;
|
|
171
|
+
const apiMethodId = await promotedSearchMethodId(source.entity);
|
|
172
|
+
if (!apiMethodId)
|
|
173
|
+
return labels;
|
|
174
|
+
for (let i = 0; i < missing.length; i += IN_CLAUSE_MAX) {
|
|
175
|
+
const batch = missing.slice(i, i + IN_CLAUSE_MAX);
|
|
176
|
+
try {
|
|
177
|
+
await searchLabels(apiMethodId, source, { searchField: source.keyField, searchOperator: 'IN', searchValue: batch.join(',') }, batch.length);
|
|
178
|
+
}
|
|
179
|
+
catch (_a) {
|
|
180
|
+
// leave the batch unresolved; the cells fall back to the raw key
|
|
181
|
+
}
|
|
182
|
+
for (const id of batch)
|
|
183
|
+
if (!labels.has(id))
|
|
184
|
+
labels.set(id, id);
|
|
185
|
+
}
|
|
186
|
+
return labels;
|
|
187
|
+
}
|
|
188
|
+
/** Keys of the target rows whose label matches one text condition, capped at the `IN` limit. */
|
|
189
|
+
async function keysMatching(source, condition) {
|
|
190
|
+
var _a, _b;
|
|
191
|
+
if (source.keys)
|
|
192
|
+
return source.keys(FilterOperators[(_a = condition.type) !== null && _a !== void 0 ? _a : ''], String(condition.filter));
|
|
193
|
+
const apiMethodId = await promotedSearchMethodId(source.entity);
|
|
194
|
+
if (!apiMethodId)
|
|
195
|
+
return [];
|
|
196
|
+
return searchLabels(apiMethodId, source, { searchField: source.labelField, searchOperator: FilterOperators[(_b = condition.type) !== null && _b !== void 0 ? _b : ''], searchValue: String(condition.filter) }, IN_CLAUSE_MAX);
|
|
197
|
+
}
|
|
198
|
+
/** A negated text operator, and the operator whose matches it excludes. */
|
|
199
|
+
const NEGATED = { notContains: 'contains', notEqual: 'equals' };
|
|
200
|
+
const union = (sets) => [...new Set(sets.flat())];
|
|
201
|
+
const intersect = (sets) => sets.reduce((a, b) => a.filter(k => b.includes(k)));
|
|
202
|
+
const minus = (a, b) => a.filter(k => !b.includes(k));
|
|
203
|
+
/**
|
|
204
|
+
* A text filter on an FK label column with no association path can't be sent as is — the
|
|
205
|
+
* column holds keys. Replace it with an `IN` (or, for negated operators, `NOT IN`) filter on
|
|
206
|
+
* the keys whose label matches: one search of the target per condition, only when such a
|
|
207
|
+
* filter is applied. `undefined` when a filter matches nothing (the page is empty).
|
|
208
|
+
*/
|
|
209
|
+
export async function resolveLabelFilters(filterModel, columnDefs) {
|
|
210
|
+
if (!filterModel || 'filterType' in filterModel)
|
|
211
|
+
return filterModel;
|
|
212
|
+
// Columns resolve in parallel; a column whose filter matches nothing empties the page.
|
|
213
|
+
const entries = await Promise.all(Object.entries(filterModel).map(async ([colId, node]) => {
|
|
214
|
+
var _a;
|
|
215
|
+
const colDef = columnDefs.find(c => { var _a; return ((_a = c.colId) !== null && _a !== void 0 ? _a : c.field) === colId; });
|
|
216
|
+
const source = colDef && columnLookupSource(colDef);
|
|
217
|
+
if (!source || !('entity' in source) || source.path || node.filterType !== 'text')
|
|
218
|
+
return [colId, node];
|
|
219
|
+
const conditions = (_a = node.conditions) !== null && _a !== void 0 ? _a : [node];
|
|
220
|
+
if (conditions.some(c => c.filter === undefined || c.filter === ''))
|
|
221
|
+
return [colId, node];
|
|
222
|
+
// A negated condition is searched by its positive form; its keys are then excluded.
|
|
223
|
+
const negated = conditions.map(c => { var _a; return Boolean(NEGATED[(_a = c.type) !== null && _a !== void 0 ? _a : '']); });
|
|
224
|
+
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); }));
|
|
225
|
+
if (sets.some(s => s.length >= IN_CLAUSE_MAX))
|
|
226
|
+
console.warn(`[grid] ${colId}: the label filter matched ${IN_CLAUSE_MAX}+ records; only the first ${IN_CLAUSE_MAX} are used.`);
|
|
227
|
+
const pos = sets.filter((_, i) => !negated[i]);
|
|
228
|
+
const neg = sets.filter((_, i) => negated[i]);
|
|
229
|
+
// AND: every positive matches and no negated one does. OR: excluded only when every negated one
|
|
230
|
+
// matches and no positive one does.
|
|
231
|
+
const or = node.operator === 'OR';
|
|
232
|
+
const exclude = or ? neg.length > 0 : pos.length === 0;
|
|
233
|
+
const keys = or
|
|
234
|
+
? neg.length ? minus(intersect(neg), union(pos)) : union(pos)
|
|
235
|
+
: pos.length ? minus(intersect(pos), union(neg)) : union(neg);
|
|
236
|
+
const values = keys.slice(0, IN_CLAUSE_MAX);
|
|
237
|
+
// Nothing to exclude keeps every row (no filter); nothing to include empties the page.
|
|
238
|
+
if (exclude)
|
|
239
|
+
return [colId, values.length ? { filterType: 'set', values, exclude: true } : null];
|
|
240
|
+
return [colId, values.length ? { filterType: 'set', values } : undefined];
|
|
241
|
+
}));
|
|
242
|
+
if (entries.some(([, value]) => value === undefined))
|
|
243
|
+
return undefined;
|
|
244
|
+
return Object.fromEntries(entries.filter(([, value]) => value !== null));
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Drop cached labels for an entity (after a create/update/delete of its records) so the
|
|
248
|
+
* next page fetch re-resolves them. No argument clears every entity.
|
|
249
|
+
*/
|
|
250
|
+
export function invalidateEntityLabels(entity) {
|
|
251
|
+
if (entity === undefined)
|
|
252
|
+
entityLabels.clear();
|
|
253
|
+
else
|
|
254
|
+
entityLabels.delete(entity);
|
|
255
|
+
}
|
|
48
256
|
export async function processLookupsInData(rowData, columnDefs) {
|
|
49
257
|
if (!(rowData === null || rowData === void 0 ? void 0 : rowData.length)) {
|
|
50
258
|
return rowData;
|
|
51
259
|
}
|
|
52
|
-
const
|
|
53
|
-
const
|
|
260
|
+
const curatedByField = new Map();
|
|
261
|
+
const entityByField = new Map();
|
|
54
262
|
columnDefs.forEach(col => {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
263
|
+
if (!col.field)
|
|
264
|
+
return;
|
|
265
|
+
const source = columnLookupSource(col);
|
|
266
|
+
if (!source)
|
|
267
|
+
return;
|
|
268
|
+
if ('lookupId' in source)
|
|
269
|
+
curatedByField.set(col.field, source.lookupId);
|
|
270
|
+
else
|
|
271
|
+
entityByField.set(col.field, source);
|
|
61
272
|
});
|
|
62
|
-
if (
|
|
273
|
+
if (curatedByField.size === 0 && entityByField.size === 0) {
|
|
63
274
|
return rowData;
|
|
64
275
|
}
|
|
65
|
-
|
|
276
|
+
// Labels by key per FK column: resolved by the source itself when it says how, else searched here.
|
|
277
|
+
const labelsByField = new Map();
|
|
278
|
+
await Promise.all([
|
|
279
|
+
...Array.from(new Set(curatedByField.values())).map(id => getLookupTable(id)),
|
|
280
|
+
...Array.from(entityByField.entries()).map(async ([field, source]) => {
|
|
281
|
+
const ids = rowData.map(row => scalarText(row === null || row === void 0 ? void 0 : row[field])).filter((id) => !!id);
|
|
282
|
+
const labels = source.labels
|
|
283
|
+
? await source.labels([...new Set(ids)]).catch(() => new Map())
|
|
284
|
+
: await ensureEntityLabels(source, ids);
|
|
285
|
+
labelsByField.set(field, labels);
|
|
286
|
+
}),
|
|
287
|
+
]);
|
|
66
288
|
return rowData.map(row => {
|
|
67
|
-
var _a;
|
|
289
|
+
var _a, _b;
|
|
68
290
|
const newRow = Object.assign({}, row);
|
|
69
|
-
for (const
|
|
291
|
+
for (const field of entityByField.keys()) {
|
|
292
|
+
const key = scalarText(newRow[field]);
|
|
293
|
+
const label = key === undefined ? undefined : (_a = labelsByField.get(field)) === null || _a === void 0 ? void 0 : _a.get(key);
|
|
294
|
+
if (label !== undefined)
|
|
295
|
+
newRow[field + 'LookupValue'] = label;
|
|
296
|
+
}
|
|
297
|
+
for (const [field, lookupId] of curatedByField.entries()) {
|
|
70
298
|
const lookup = resolvedLookups.get(lookupId);
|
|
71
299
|
if (!(lookup === null || lookup === void 0 ? void 0 : lookup.valueMap))
|
|
72
300
|
continue;
|
|
73
|
-
const keys = (
|
|
301
|
+
const keys = (_b = lookup.keys) !== null && _b !== void 0 ? _b : [];
|
|
302
|
+
// Multi-key lookups read each key off the row by its own name; rows are often
|
|
303
|
+
// camelCase while key names are PascalCase (`movieId` vs `MovieID`), so match
|
|
304
|
+
// case-insensitively. A missing part never matches — otherwise "undefined" equals
|
|
305
|
+
// "undefined" and every row resolves to the lookup's first entry.
|
|
306
|
+
const rowKeyValues = keys.length > 1
|
|
307
|
+
? keys.map(k => {
|
|
308
|
+
const prop = findPropertyName(newRow, k.name);
|
|
309
|
+
return prop === undefined ? undefined : newRow[prop];
|
|
310
|
+
})
|
|
311
|
+
: [];
|
|
312
|
+
if (keys.length > 1 && rowKeyValues.some(v => v == null))
|
|
313
|
+
continue;
|
|
74
314
|
for (const [innerMap, resolvedValue] of lookup.valueMap.entries()) {
|
|
75
315
|
// Single-key lookups: the row holds the key value under the COLUMN's field, which may
|
|
76
316
|
// differ from the lookup's key-column name (e.g. grid row `status_id` vs lookup key
|
|
@@ -78,7 +318,7 @@ export async function processLookupsInData(rowData, columnDefs) {
|
|
|
78
318
|
// difference. Multi-key lookups: match each key by its own name on the row.
|
|
79
319
|
const allMatch = keys.length === 1
|
|
80
320
|
? String(innerMap.get(keys[0].name)) === String(newRow[field])
|
|
81
|
-
: keys.every(k =>
|
|
321
|
+
: keys.every((k, i) => innerMap.get(k.name) === String(rowKeyValues[i]));
|
|
82
322
|
if (allMatch) {
|
|
83
323
|
newRow[field + 'LookupValue'] = resolvedValue;
|
|
84
324
|
break;
|
|
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { createSearchMethodDataSource } from "./datasources/searchMethodDatasource";
|
|
3
3
|
import { getAgGridColumnState } from "./helperFunctions/convertSearchObjectToAgGridModel";
|
|
4
4
|
import isEqual from "lodash-es/isEqual";
|
|
5
|
+
import { insertExtraFieldColumns, loadExtraFieldColumnDefs, whenColumnsInstalled, } from "./helperFunctions/extraFieldsHelper";
|
|
5
6
|
export class SearchMethodGrid {
|
|
6
7
|
constructor() {
|
|
7
8
|
/**
|
|
@@ -12,13 +13,32 @@ export class SearchMethodGrid {
|
|
|
12
13
|
* Grid functions for the grid
|
|
13
14
|
*/
|
|
14
15
|
this.gridFunctions = [];
|
|
16
|
+
/**
|
|
17
|
+
* Column definitions built from the domain's extra-field definitions
|
|
18
|
+
*/
|
|
19
|
+
this.extraFieldColumnDefs = [];
|
|
20
|
+
/**
|
|
21
|
+
* False while the definitions are in flight. Columns and the datasource are
|
|
22
|
+
* withheld until then, so saved views baseline on (and restore) the full
|
|
23
|
+
* column set rather than the base columns alone.
|
|
24
|
+
*/
|
|
25
|
+
this.extraFieldsReady = true;
|
|
26
|
+
/** Invalidated on every `extraFields`/`entityName` change so a stale definitions response is dropped. */
|
|
27
|
+
this.extraFieldsRequestId = 0;
|
|
15
28
|
}
|
|
16
29
|
handleGridReady(event) {
|
|
17
30
|
this.gridApi = event.detail;
|
|
18
31
|
//Run these functions for the case that the props were instantly set
|
|
32
|
+
this.writeExtraFieldsContext();
|
|
19
33
|
this.setDatasource();
|
|
20
34
|
this.setGridModel();
|
|
21
35
|
}
|
|
36
|
+
/** Publishes the opt-in so the advancedSearch grid function can hand it to the builder. */
|
|
37
|
+
writeExtraFieldsContext() {
|
|
38
|
+
if (!this.gridApi)
|
|
39
|
+
return;
|
|
40
|
+
this.gridApi.setGridOption('context', Object.assign(Object.assign({}, this.gridApi.getGridOption('context')), { extraFields: this.extraFields }));
|
|
41
|
+
}
|
|
22
42
|
handleSearchMethodUpdate(newVal, prevVal) {
|
|
23
43
|
//Guard against recreating datasource if only reference changed. Pass in a memoized (useMemo in react) value to avoid the watch triggering
|
|
24
44
|
if (isEqual(newVal, prevVal)) {
|
|
@@ -27,9 +47,67 @@ export class SearchMethodGrid {
|
|
|
27
47
|
this.setDatasource();
|
|
28
48
|
this.setGridModel();
|
|
29
49
|
}
|
|
50
|
+
componentWillLoad() {
|
|
51
|
+
void this.loadExtraFieldColumns();
|
|
52
|
+
}
|
|
53
|
+
handleExtraFieldsUpdate(newVal, prevVal) {
|
|
54
|
+
if (isEqual(newVal, prevVal)) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
this.reloadExtraFields();
|
|
58
|
+
}
|
|
59
|
+
/** The domain defaults to `entityName`, so a grid with the opt-in follows it; one without is unaffected. */
|
|
60
|
+
handleEntityNameUpdate(newVal, prevVal) {
|
|
61
|
+
if (!this.extraFields || newVal === prevVal) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
this.reloadExtraFields();
|
|
65
|
+
}
|
|
66
|
+
reloadExtraFields() {
|
|
67
|
+
void this.loadExtraFieldColumns();
|
|
68
|
+
this.writeExtraFieldsContext();
|
|
69
|
+
this.setDatasource();
|
|
70
|
+
}
|
|
71
|
+
async loadExtraFieldColumns() {
|
|
72
|
+
const requestId = ++this.extraFieldsRequestId;
|
|
73
|
+
if (!this.extraFields) {
|
|
74
|
+
this.extraFieldColumnDefs = [];
|
|
75
|
+
this.extraFieldsReady = true;
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
this.extraFieldsReady = false;
|
|
79
|
+
const columnDefs = await loadExtraFieldColumnDefs(this.extraFields, this.entityName);
|
|
80
|
+
if (requestId !== this.extraFieldsRequestId)
|
|
81
|
+
return;
|
|
82
|
+
this.extraFieldColumnDefs = columnDefs;
|
|
83
|
+
this.extraFieldsReady = true;
|
|
84
|
+
// The datasource was withheld while loading; attach it, and apply the
|
|
85
|
+
// initial column state, once the merged columns are installed in the grid.
|
|
86
|
+
if (this.gridApi) {
|
|
87
|
+
whenColumnsInstalled(this.gridApi, this.mergedColumnDefs().length, () => {
|
|
88
|
+
if (requestId !== this.extraFieldsRequestId)
|
|
89
|
+
return;
|
|
90
|
+
this.setDatasource();
|
|
91
|
+
this.setGridModel();
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The base columns with the extra-field columns inserted. Extra columns join
|
|
97
|
+
* existing ones: while the base columns are still empty (a host still
|
|
98
|
+
* loading its catalog) none are shown, so they never appear on their own.
|
|
99
|
+
*/
|
|
100
|
+
mergedColumnDefs() {
|
|
101
|
+
var _a, _b, _c;
|
|
102
|
+
if (!this.extraFieldsReady)
|
|
103
|
+
return [];
|
|
104
|
+
if (!((_a = this.columnDefs) === null || _a === void 0 ? void 0 : _a.length))
|
|
105
|
+
return (_b = this.columnDefs) !== null && _b !== void 0 ? _b : [];
|
|
106
|
+
return insertExtraFieldColumns(this.columnDefs, this.extraFieldColumnDefs, (_c = this.extraFields) === null || _c === void 0 ? void 0 : _c.position);
|
|
107
|
+
}
|
|
30
108
|
setDatasource() {
|
|
31
109
|
var _a;
|
|
32
|
-
if (!this.searchMethodConfig || !this.gridApi) {
|
|
110
|
+
if (!this.searchMethodConfig || !this.gridApi || !this.extraFieldsReady) {
|
|
33
111
|
return;
|
|
34
112
|
}
|
|
35
113
|
const { apiMethodId, customSearchObject, requestUrl, integrationFallbackApiMethodId } = this.searchMethodConfig;
|
|
@@ -50,13 +128,16 @@ export class SearchMethodGrid {
|
|
|
50
128
|
apiMethodId: apiMethodId,
|
|
51
129
|
requestUrl: requestUrl,
|
|
52
130
|
integrationFallbackApiMethodId: integrationFallbackApiMethodId,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
131
|
+
extraFields: this.extraFields ? { prefix: this.extraFields.prefix } : undefined,
|
|
132
|
+
externalSearchObject: customSearchObject
|
|
133
|
+
? {
|
|
134
|
+
filterElements: customSearchObject.filterElements,
|
|
135
|
+
filterGroups: customSearchObject.filterGroups,
|
|
136
|
+
logicalSearchOperator: customSearchObject.logicalSearchOperator,
|
|
137
|
+
eagerLoad: (_a = customSearchObject.eagerLoad) !== null && _a !== void 0 ? _a : false,
|
|
138
|
+
getAll: customSearchObject.getAll,
|
|
139
|
+
}
|
|
140
|
+
: undefined,
|
|
60
141
|
});
|
|
61
142
|
}
|
|
62
143
|
}
|
|
@@ -75,7 +156,7 @@ export class SearchMethodGrid {
|
|
|
75
156
|
}
|
|
76
157
|
}
|
|
77
158
|
render() {
|
|
78
|
-
return (h("server-side-grid", { key: '
|
|
159
|
+
return (h("server-side-grid", { key: '7ebf7ba23217830a5e42766c94481fa2a9645cae', onGridReady: e => this.handleGridReady(e), dataSource: this.dataSource, gridFunctions: this.gridFunctions, columnDefs: this.mergedColumnDefs(), gridOptions: this.gridOptions, gridHeaderConfig: this.gridHeaderConfig, gridId: this.gridId, entityName: this.entityName, gridHeight: this.gridHeight, gridApiCallback: this.gridApiCallback }));
|
|
79
160
|
}
|
|
80
161
|
static get is() { return "search-method-grid"; }
|
|
81
162
|
static get properties() {
|
|
@@ -232,7 +313,7 @@ export class SearchMethodGrid {
|
|
|
232
313
|
"optional": false,
|
|
233
314
|
"docs": {
|
|
234
315
|
"tags": [],
|
|
235
|
-
"text": "
|
|
316
|
+
"text": "CSS height of the grid. Omitted, the grid fills the viewport below it. `'auto'` grows the\ngrid to fit its rows (AG Grid `domLayout: 'autoHeight'`) \u2014 for short lists inside a\nscrolling page, such as a settings grid."
|
|
236
317
|
},
|
|
237
318
|
"getter": false,
|
|
238
319
|
"setter": false,
|
|
@@ -286,12 +367,38 @@ export class SearchMethodGrid {
|
|
|
286
367
|
},
|
|
287
368
|
"getter": false,
|
|
288
369
|
"setter": false
|
|
370
|
+
},
|
|
371
|
+
"extraFields": {
|
|
372
|
+
"type": "unknown",
|
|
373
|
+
"mutable": false,
|
|
374
|
+
"complexType": {
|
|
375
|
+
"original": "ExtraFieldsConfig",
|
|
376
|
+
"resolved": "ExtraFieldsConfig",
|
|
377
|
+
"references": {
|
|
378
|
+
"ExtraFieldsConfig": {
|
|
379
|
+
"location": "import",
|
|
380
|
+
"path": "./helperFunctions/extraFieldsHelper",
|
|
381
|
+
"id": "src/components/grid/new-grid/helperFunctions/extraFieldsHelper.ts::ExtraFieldsConfig",
|
|
382
|
+
"referenceLocation": "ExtraFieldsConfig"
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"required": false,
|
|
387
|
+
"optional": true,
|
|
388
|
+
"docs": {
|
|
389
|
+
"tags": [],
|
|
390
|
+
"text": "Opt-in: show the domain's platform extra fields as columns. `domainName`\ndefaults to `entityName`. Absent \u2192 no behaviour change."
|
|
391
|
+
},
|
|
392
|
+
"getter": false,
|
|
393
|
+
"setter": false
|
|
289
394
|
}
|
|
290
395
|
};
|
|
291
396
|
}
|
|
292
397
|
static get states() {
|
|
293
398
|
return {
|
|
294
|
-
"dataSource": {}
|
|
399
|
+
"dataSource": {},
|
|
400
|
+
"extraFieldColumnDefs": {},
|
|
401
|
+
"extraFieldsReady": {}
|
|
295
402
|
};
|
|
296
403
|
}
|
|
297
404
|
static get events() {
|
|
@@ -323,6 +430,12 @@ export class SearchMethodGrid {
|
|
|
323
430
|
return [{
|
|
324
431
|
"propName": "searchMethodConfig",
|
|
325
432
|
"methodName": "handleSearchMethodUpdate"
|
|
433
|
+
}, {
|
|
434
|
+
"propName": "extraFields",
|
|
435
|
+
"methodName": "handleExtraFieldsUpdate"
|
|
436
|
+
}, {
|
|
437
|
+
"propName": "entityName",
|
|
438
|
+
"methodName": "handleEntityNameUpdate"
|
|
326
439
|
}];
|
|
327
440
|
}
|
|
328
441
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { EXTRA_FIELD_DEFAULT_PREFIX, attachExtraFieldValues, insertExtraFieldColumns, loadExtraFieldColumnDefs, whenColumnsInstalled, } from "./helperFunctions/extraFieldsHelper";
|
|
3
|
+
import { processLookupsInData } from "./helperFunctions/lookupHelper";
|
|
2
4
|
export class ServerSideGrid {
|
|
3
5
|
constructor() {
|
|
4
6
|
/**
|
|
@@ -9,21 +11,86 @@ export class ServerSideGrid {
|
|
|
9
11
|
* Grid options for the grid
|
|
10
12
|
*/
|
|
11
13
|
this.gridOptions = {};
|
|
14
|
+
this.extraFieldColumnDefs = [];
|
|
15
|
+
this.extraFieldsReady = true;
|
|
16
|
+
/** Invalidated on every `extraFields`/`entityName` change so a stale definitions response is dropped. */
|
|
17
|
+
this.extraFieldsRequestId = 0;
|
|
18
|
+
/** True while this grid's own opt-in is in grid context (never touches a parent grid's). */
|
|
19
|
+
this.publishedExtraFields = false;
|
|
12
20
|
}
|
|
13
21
|
handleGridReady(event) {
|
|
14
22
|
this.gridApi = event.detail;
|
|
23
|
+
this.writeExtraFieldsContext();
|
|
15
24
|
this.updateDataSource();
|
|
16
25
|
}
|
|
17
26
|
updateDataSource() {
|
|
18
|
-
if (this.gridApi && this.dataSource) {
|
|
19
|
-
this.gridApi.setGridOption('serverSideDatasource', this.dataSource);
|
|
27
|
+
if (this.gridApi && this.dataSource && this.extraFieldsReady) {
|
|
28
|
+
this.gridApi.setGridOption('serverSideDatasource', this.withExtraFieldValues(this.dataSource));
|
|
20
29
|
}
|
|
21
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Publishes this grid's opt-in so the advancedSearch grid function can hand
|
|
33
|
+
* it to the builder. `search-method-grid` publishes its own and never sets
|
|
34
|
+
* this prop, so an unset prop leaves the context alone.
|
|
35
|
+
*/
|
|
36
|
+
writeExtraFieldsContext() {
|
|
37
|
+
if (!this.gridApi || (!this.extraFields && !this.publishedExtraFields))
|
|
38
|
+
return;
|
|
39
|
+
this.gridApi.setGridOption('context', Object.assign(Object.assign({}, this.gridApi.getGridOption('context')), { extraFields: this.extraFields }));
|
|
40
|
+
this.publishedExtraFields = !!this.extraFields;
|
|
41
|
+
}
|
|
42
|
+
/** Attaches each block's extra-field values to the rows the datasource hands back. */
|
|
43
|
+
withExtraFieldValues(dataSource) {
|
|
44
|
+
var _a;
|
|
45
|
+
if (!this.extraFields)
|
|
46
|
+
return dataSource;
|
|
47
|
+
const prefix = (_a = this.extraFields.prefix) !== null && _a !== void 0 ? _a : EXTRA_FIELD_DEFAULT_PREFIX;
|
|
48
|
+
return Object.assign(Object.assign({}, dataSource), { getRows: (params) => dataSource.getRows(Object.assign(Object.assign({}, params), { success: (result) => {
|
|
49
|
+
var _a;
|
|
50
|
+
void attachExtraFieldValues(((_a = result.rowData) !== null && _a !== void 0 ? _a : []), prefix, { refetchEmpty: true })
|
|
51
|
+
// Lookup-backed extra fields display through `<field>LookupValue`,
|
|
52
|
+
// resolved here the same way the search-method datasource does.
|
|
53
|
+
.then(rows => { var _a; return processLookupsInData(rows, (_a = params.api.getColumnDefs()) !== null && _a !== void 0 ? _a : []); })
|
|
54
|
+
.then(rowData => params.success(Object.assign(Object.assign({}, result), { rowData })));
|
|
55
|
+
} })) });
|
|
56
|
+
}
|
|
22
57
|
componentWillLoad() {
|
|
58
|
+
void this.loadExtraFieldColumns();
|
|
23
59
|
this.serverSideConfig = Object.assign(Object.assign({ paginationAutoPageSize: true, suppressSetFilterByDefault: true }, this.gridOptions), { rowModelType: 'serverSide' });
|
|
24
60
|
}
|
|
61
|
+
async loadExtraFieldColumns() {
|
|
62
|
+
const requestId = ++this.extraFieldsRequestId;
|
|
63
|
+
this.writeExtraFieldsContext();
|
|
64
|
+
if (!this.extraFields) {
|
|
65
|
+
this.extraFieldColumnDefs = [];
|
|
66
|
+
this.extraFieldsReady = true;
|
|
67
|
+
// Opt-out: reinstall the caller's datasource without the values wrapper.
|
|
68
|
+
this.updateDataSource();
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
// Columns and the datasource wait for the definitions, so saved views
|
|
72
|
+
// baseline on the full column set (see search-method-grid).
|
|
73
|
+
this.extraFieldsReady = false;
|
|
74
|
+
const columnDefs = await loadExtraFieldColumnDefs(this.extraFields, this.entityName);
|
|
75
|
+
if (requestId !== this.extraFieldsRequestId)
|
|
76
|
+
return;
|
|
77
|
+
this.extraFieldColumnDefs = columnDefs;
|
|
78
|
+
this.extraFieldsReady = true;
|
|
79
|
+
if (this.gridApi) {
|
|
80
|
+
whenColumnsInstalled(this.gridApi, this.mergedColumnDefs().length, () => {
|
|
81
|
+
if (requestId === this.extraFieldsRequestId)
|
|
82
|
+
this.updateDataSource();
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
mergedColumnDefs() {
|
|
87
|
+
var _a;
|
|
88
|
+
return this.extraFieldsReady
|
|
89
|
+
? insertExtraFieldColumns(this.columnDefs, this.extraFieldColumnDefs, (_a = this.extraFields) === null || _a === void 0 ? void 0 : _a.position)
|
|
90
|
+
: [];
|
|
91
|
+
}
|
|
25
92
|
render() {
|
|
26
|
-
return (h("ag-grid-base", { key: '
|
|
93
|
+
return (h("ag-grid-base", { key: 'cbcd476ed56cf02572e12af7749adbb6d10512a3', columnDefs: this.mergedColumnDefs(), gridOptions: this.serverSideConfig, headerConfig: this.gridHeaderConfig, onGridReady: e => this.handleGridReady(e), gridFunctions: this.gridFunctions, gridId: this.gridId, entityName: this.entityName, gridHeight: this.gridHeight, gridApiCallback: this.gridApiCallback }));
|
|
27
94
|
}
|
|
28
95
|
static get is() { return "server-side-grid"; }
|
|
29
96
|
static get properties() {
|
|
@@ -204,7 +271,7 @@ export class ServerSideGrid {
|
|
|
204
271
|
"optional": false,
|
|
205
272
|
"docs": {
|
|
206
273
|
"tags": [],
|
|
207
|
-
"text": "
|
|
274
|
+
"text": "CSS height of the grid. Omitted, the grid fills the viewport below it. `'auto'` grows the\ngrid to fit its rows (AG Grid `domLayout: 'autoHeight'`) \u2014 for short lists inside a\nscrolling page, such as a settings grid."
|
|
208
275
|
},
|
|
209
276
|
"getter": false,
|
|
210
277
|
"setter": false,
|
|
@@ -234,9 +301,39 @@ export class ServerSideGrid {
|
|
|
234
301
|
},
|
|
235
302
|
"getter": false,
|
|
236
303
|
"setter": false
|
|
304
|
+
},
|
|
305
|
+
"extraFields": {
|
|
306
|
+
"type": "unknown",
|
|
307
|
+
"mutable": false,
|
|
308
|
+
"complexType": {
|
|
309
|
+
"original": "ExtraFieldsConfig",
|
|
310
|
+
"resolved": "ExtraFieldsConfig",
|
|
311
|
+
"references": {
|
|
312
|
+
"ExtraFieldsConfig": {
|
|
313
|
+
"location": "import",
|
|
314
|
+
"path": "./helperFunctions/extraFieldsHelper",
|
|
315
|
+
"id": "src/components/grid/new-grid/helperFunctions/extraFieldsHelper.ts::ExtraFieldsConfig",
|
|
316
|
+
"referenceLocation": "ExtraFieldsConfig"
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"required": false,
|
|
321
|
+
"optional": true,
|
|
322
|
+
"docs": {
|
|
323
|
+
"tags": [],
|
|
324
|
+
"text": "Opt-in for a grid over a custom datasource: show the entity's platform\nextra fields as columns and load each block's values with the two-request\npattern (`GET UdpExtraField/values` per row) after the datasource succeeds.\n`search-method-grid` handles its own opt-in and never sets this."
|
|
325
|
+
},
|
|
326
|
+
"getter": false,
|
|
327
|
+
"setter": false
|
|
237
328
|
}
|
|
238
329
|
};
|
|
239
330
|
}
|
|
331
|
+
static get states() {
|
|
332
|
+
return {
|
|
333
|
+
"extraFieldColumnDefs": {},
|
|
334
|
+
"extraFieldsReady": {}
|
|
335
|
+
};
|
|
336
|
+
}
|
|
240
337
|
static get events() {
|
|
241
338
|
return [{
|
|
242
339
|
"method": "gridReady",
|
|
@@ -266,6 +363,12 @@ export class ServerSideGrid {
|
|
|
266
363
|
return [{
|
|
267
364
|
"propName": "dataSource",
|
|
268
365
|
"methodName": "updateDataSource"
|
|
366
|
+
}, {
|
|
367
|
+
"propName": "extraFields",
|
|
368
|
+
"methodName": "loadExtraFieldColumns"
|
|
369
|
+
}, {
|
|
370
|
+
"propName": "entityName",
|
|
371
|
+
"methodName": "loadExtraFieldColumns"
|
|
269
372
|
}];
|
|
270
373
|
}
|
|
271
374
|
}
|