udp-stencil-component-library 26.9.0-beta.2 → 26.9.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{SearchBuilder-CyR7DyPc.js → SearchBuilder-Ca9_ur9o.js} +1 -1
- package/dist/cjs/add-map-feature-popup_4.cjs.entry.js +8 -8
- package/dist/cjs/address-search_6.cjs.entry.js +19 -19
- package/dist/cjs/advanced-search_12.cjs.entry.js +20 -20
- package/dist/cjs/{ag-grid-base_65.cjs.entry.js → ag-grid-base_66.cjs.entry.js} +458 -183
- package/dist/cjs/ambient-template-grid.cjs.entry.js +20 -20
- package/dist/cjs/api-method-instance-grid.cjs.entry.js +11 -10
- package/dist/cjs/{apiMethodInstance-D65NIw8S.js → apiMethodInstance-DTeNcmNq.js} +3 -32
- package/dist/cjs/{apiUtils-0pkNuvqf.js → apiUtils-tzjwn5aw.js} +29 -28
- package/dist/cjs/app-bar.cjs.entry.js +1 -1
- package/dist/cjs/{catalog-store-B_YMkXRh.js → catalog-store-CzG8hINB.js} +1 -1
- package/dist/cjs/chart-container_3.cjs.entry.js +2 -2
- package/dist/cjs/check-box.cjs.entry.js +2 -2
- package/dist/cjs/chip-section.cjs.entry.js +2 -2
- package/dist/cjs/{codecs-ClSB_OaD.js → codecs-Dyka7kpz.js} +407 -7
- package/dist/cjs/{configService-N6ke1_s4.js → configService-DbfLqId2.js} +2 -6
- package/dist/cjs/{configureUdpColumnMods-BT7UbQPh.js → configureUdpColumnMods-Cqxn_OaF.js} +23 -7
- package/dist/cjs/convertBackendTypeToAgGridType-CZEQIj7A.js +33 -0
- package/dist/cjs/{createAzureMapsProviders-b1fKbjhG.js → createAzureMapsProviders-CURScysk.js} +14 -0
- package/dist/cjs/custom-button.cjs.entry.js +1 -1
- package/dist/cjs/date-time-renderer_9.cjs.entry.js +21 -21
- package/dist/cjs/domain-table-snapshot-DXs9ceFE.js +339 -0
- package/dist/cjs/extraFields-CNvT2Qyf.js +109 -0
- package/dist/cjs/extraFieldsHelper-Clk9u_FW.js +211 -0
- package/dist/cjs/feature-details-card_2.cjs.entry.js +5 -5
- package/dist/cjs/file-upload_2.cjs.entry.js +7 -7
- package/dist/cjs/filter-conditions_7.cjs.entry.js +7 -7
- package/dist/cjs/{fluent-icons-DLY_DCOh.js → fluent-icons-Cs6J6uVm.js} +20 -0
- package/dist/cjs/form-metadata-display_2.cjs.entry.js +3 -3
- package/dist/cjs/getCurrentApiCatalogId-D7xHCEzs.js +7 -0
- package/dist/cjs/icon-grid.cjs.entry.js +2 -2
- package/dist/cjs/image-upload_8.cjs.entry.js +7 -7
- package/dist/cjs/index-CZB9dMeB.js +12 -8
- package/dist/cjs/index.cjs.js +26 -23
- package/dist/cjs/{load-icons-BAAH3v1o.js → load-icons-JeRXx4O7.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logical-search-indicator.cjs.entry.js +1 -1
- package/dist/cjs/lookupHelper-DACjrAcP.js +694 -0
- package/dist/cjs/map-component_2.cjs.entry.js +2 -2
- package/dist/cjs/primary-action-header_2.cjs.entry.js +4 -4
- package/dist/cjs/question-configs-renderer_4.cjs.entry.js +15 -15
- package/dist/cjs/resource-timeline-calendar.cjs.entry.js +1 -1
- package/dist/cjs/resource-timeline-primary-bar.cjs.entry.js +3 -3
- package/dist/cjs/rich-text-schema-Dhani4hA.js +58 -0
- package/dist/cjs/search-method-grid.cjs.entry.js +121 -264
- package/dist/cjs/server-side-grid.cjs.entry.js +85 -3
- package/dist/cjs/side-sheet-container.cjs.entry.js +1 -1
- package/dist/cjs/simple-card.cjs.entry.js +1 -1
- package/dist/cjs/status-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/{status-renderer-9CQ-hhq8.js → status-renderer-be4boc5r.js} +83 -55
- package/dist/cjs/stencil-chip.cjs.entry.js +2 -2
- package/dist/cjs/stencil-library.cjs.js +1 -1
- package/dist/cjs/stencil-toggle.cjs.entry.js +4 -4
- package/dist/cjs/text-field_2.cjs.entry.js +7 -7
- package/dist/cjs/udp-adornment.cjs.entry.js +1 -1
- package/dist/cjs/udp-advanced-search-builder.cjs.entry.js +102 -5
- package/dist/cjs/udp-advanced-search-field-picker_3.cjs.entry.js +3 -3
- package/dist/cjs/udp-ag-area-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-bar-chart_4.cjs.entry.js +5 -5
- package/dist/cjs/udp-ag-bubble-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-combo-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-donut-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-line-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-pie-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-scatter-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-attachment-item_2.cjs.entry.js +1 -1
- package/dist/cjs/udp-attachment-list.cjs.entry.js +1 -1
- package/dist/cjs/udp-bar-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-base.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-day.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-month.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-week.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-year.cjs.entry.js +1 -1
- package/dist/cjs/udp-card-action-area.cjs.entry.js +1 -1
- package/dist/cjs/udp-card_6.cjs.entry.js +7 -7
- package/dist/cjs/udp-charts-example.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query-grid.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query.cjs.entry.js +2 -2
- package/dist/cjs/udp-container.cjs.entry.js +2 -2
- package/dist/cjs/{udp-detail-list_9.cjs.entry.js → udp-detail-list_10.cjs.entry.js} +606 -73
- package/dist/cjs/{udp-drive-utils-DM1l6XMm.js → udp-drive-utils-BuTLI35n.js} +1 -1
- package/dist/cjs/udp-dynamic-container-with-menu.cjs.entry.js +1 -1
- package/dist/cjs/udp-dynamic-form.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-icon-picker.cjs.entry.js +2 -2
- package/dist/cjs/udp-fluent-inline-edit_5.cjs.entry.js +494 -45
- package/dist/cjs/udp-fluent-link.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-list-item_2.cjs.entry.js +3 -3
- package/dist/cjs/{udp-form-api-utils-zMPk_IT1.js → udp-form-api-utils-ZY88igvH.js} +1 -1
- package/dist/cjs/udp-forms-builder-style-override.cjs.entry.js +1 -1
- package/dist/cjs/udp-forms-builder.cjs.entry.js +1 -1
- package/dist/cjs/udp-forms-follow-up-list-card.cjs.entry.js +2 -2
- package/dist/cjs/udp-forms-list-card.cjs.entry.js +4 -4
- package/dist/cjs/udp-forms-list.cjs.entry.js +3 -3
- package/dist/cjs/udp-forms-renderer.cjs.entry.js +4 -4
- package/dist/cjs/udp-import-sheet.cjs.entry.js +244 -0
- package/dist/cjs/udp-kpi-card.cjs.entry.js +1 -1
- package/dist/cjs/udp-kpi-cards.cjs.entry.js +2 -2
- package/dist/cjs/udp-map.cjs.entry.js +3 -3
- package/dist/cjs/udp-menu.cjs.entry.js +1 -1
- package/dist/cjs/udp-page.cjs.entry.js +1 -1
- package/dist/cjs/udp-question-form-builder.cjs.entry.js +35 -258
- package/dist/cjs/udp-rich-text-field.cjs.entry.js +28 -53
- package/dist/cjs/udp-rich-text.cjs.entry.js +61 -0
- package/dist/cjs/udp-sankey-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-sidebar-layout.cjs.entry.js +3 -3
- package/dist/cjs/udp-skeleton-loading.cjs.entry.js +1 -1
- package/dist/cjs/udp-split-screen.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-actions.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-content.cjs.entry.js +2 -2
- package/dist/cjs/udp-stepper-demo.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-nav.cjs.entry.js +1 -1
- package/dist/cjs/udp-tab.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-connector.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-dot.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/udp-timeline-separator.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline-connector.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline-dot.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/udp-vertical-timeline-separator.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline.cjs.entry.js +1 -1
- package/dist/cjs/udp-xy-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-xy-multi-series-chart.cjs.entry.js +1 -1
- package/dist/cjs/valueFormatters-CUoOypK3.js +17 -0
- package/dist/collection/__mocks__/jest-setup.js +3 -0
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/advanced-search/advanced-search-grouped.js +2 -2
- package/dist/collection/components/advanced-search/advanced-search.js +2 -2
- package/dist/collection/components/advanced-search/filter-conditions/filter-conditions.js +1 -1
- package/dist/collection/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.js +1 -1
- package/dist/collection/components/advanced-search-builder/field-picker/field-picker.js +1 -1
- package/dist/collection/components/advanced-search-builder/field-picker-tree/field-picker-tree.js +2 -2
- package/dist/collection/components/advanced-search-builder/udp-advanced-search-builder.js +125 -2
- package/dist/collection/components/attachment-list/udp-attachment-list.js +1 -1
- package/dist/collection/components/buttons/icon-button/function-button/udp-function-button.js +1 -1
- package/dist/collection/components/buttons/icon-button/primary-button/custom-button.js +1 -1
- package/dist/collection/components/buttons/icon-button/radio-button/udp-radio-button.js +1 -1
- package/dist/collection/components/buttons/udp-button/udp-button.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-base.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-day.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-month.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-week.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-year.js +1 -1
- package/dist/collection/components/charts/chart-kpi/chart-kpi.js +1 -1
- package/dist/collection/components/charts/udp-ag-area-chart/udp-ag-area-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-bar-chart/udp-ag-bar-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-bubble-chart/udp-ag-bubble-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-combo-chart/udp-ag-combo-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-donut-chart/udp-ag-donut-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-line-chart/udp-ag-line-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-pie-chart/udp-ag-pie-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-scatter-chart/udp-ag-scatter-chart.js +2 -2
- package/dist/collection/components/charts/udp-bar-chart/udp-bar-chart.js +1 -1
- package/dist/collection/components/charts/udp-charts-example.js +1 -1
- package/dist/collection/components/charts/udp-distribution-chart/udp-distribution-chart.js +1 -1
- package/dist/collection/components/charts/udp-donut-chart/udp-donut-chart.js +1 -1
- package/dist/collection/components/charts/udp-line-chart/udp-line-chart.js +1 -1
- package/dist/collection/components/charts/udp-sankey-chart/udp-sankey-chart.js +1 -1
- package/dist/collection/components/charts/udp-xy-chart/udp-xy-chart.js +1 -1
- package/dist/collection/components/charts/udp-xy-multi-series-chart/udp-xy-multi-series-chart.js +1 -1
- package/dist/collection/components/data-display/adornment/udp-adornment/udp-adornment.js +1 -1
- package/dist/collection/components/data-display/badge/udp-badge.js +1 -1
- package/dist/collection/components/data-display/cards/udp-ambient-card/udp-ambient-card.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-content/udp-card-content.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-header/udp-card-header.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-media/udp-card-media.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card.js +3 -3
- package/dist/collection/components/data-display/chips/stencil-chip/status-chip/status-chip.js +1 -1
- package/dist/collection/components/data-display/chips/stencil-chip/stencil-chip.js +2 -2
- package/dist/collection/components/data-display/chips/udp-chip.js +1 -1
- package/dist/collection/components/data-display/detail-list-item/udp-detail-list-item.js +1 -1
- package/dist/collection/components/data-display/divider/udp-divider.js +1 -1
- package/dist/collection/components/data-display/empty-state-display/udp-empty-state-display.js +1 -1
- package/dist/collection/components/data-display/headers/udp-column-header.js +1 -1
- package/dist/collection/components/data-display/headers/udp-page-header/udp-page-header.js +1 -1
- package/dist/collection/components/data-display/hint-panel/hint-panel.js +1 -1
- package/dist/collection/components/data-display/kpi/kpi-list.js +1 -1
- package/dist/collection/components/data-display/kpi/udp-kpi-card.js +1 -1
- package/dist/collection/components/data-display/kpi/udp-kpi-cards.js +2 -2
- package/dist/collection/components/data-display/list-item/list-item.js +2 -2
- package/dist/collection/components/data-display/pop-over/udp-pop-over.js +1 -1
- package/dist/collection/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js +1 -1
- package/dist/collection/components/data-display/primary-action-header/primary-action-header.js +2 -2
- package/dist/collection/components/data-display/simple-card/simple-card.js +1 -1
- package/dist/collection/components/data-display/tool-tip/udp-ambient-tool-tip.js +2 -2
- package/dist/collection/components/data-display/tree/tree-list-item/search-item/search-list-item.js +1 -1
- package/dist/collection/components/data-display/udp-avatar/udp-avatar.js +1 -1
- package/dist/collection/components/dialogs/udp-dialog.js +1 -1
- package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.js +9 -9
- package/dist/collection/components/export/udp-export-sheet/udp-export-sheet.css +0 -1
- package/dist/collection/components/export/udp-export-sheet/udp-export-sheet.js +10 -5
- package/dist/collection/components/feedback/udp-notification/alerts/upd-alert-banner.js +1 -1
- package/dist/collection/components/feedback/udp-notification/udp-notification.js +2 -2
- package/dist/collection/components/fluent-ui/autocomplete/udp-autocomplete.js +8 -8
- package/dist/collection/components/fluent-ui/avatar/udp-fluent-avatar.js +1 -1
- package/dist/collection/components/fluent-ui/badge/udp-fluent-badge.js +1 -1
- package/dist/collection/components/fluent-ui/button/udp-fluent-button.css +10 -0
- package/dist/collection/components/fluent-ui/button/udp-fluent-button.js +26 -1
- package/dist/collection/components/fluent-ui/card/udp-fluent-card.js +3 -3
- package/dist/collection/components/fluent-ui/checkbox/udp-fluent-checkbox.js +1 -1
- package/dist/collection/components/fluent-ui/compound-button/udp-compound-button.js +1 -1
- package/dist/collection/components/fluent-ui/counter-badge/udp-fluent-counter-badge.js +1 -1
- package/dist/collection/components/fluent-ui/date-time-input/udp-date-time-input.js +1 -1
- package/dist/collection/components/fluent-ui/dialog/udp-fluent-dialog.js +1 -1
- package/dist/collection/components/fluent-ui/divider/udp-fluent-divider.js +1 -1
- package/dist/collection/components/fluent-ui/domain-table-input/domain-table-snapshot.js +78 -0
- package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.css +67 -0
- package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.js +871 -0
- package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.types.js +1 -0
- package/dist/collection/components/fluent-ui/drawer/udp-fluent-drawer.css +4 -0
- package/dist/collection/components/fluent-ui/drawer/udp-fluent-drawer.js +26 -1
- package/dist/collection/components/fluent-ui/dropdown/udp-fluent-dropdown.js +28 -10
- package/dist/collection/components/fluent-ui/empty-state/udp-empty-state.js +1 -1
- package/dist/collection/components/fluent-ui/file-input/udp-fluent-file-input.js +4 -4
- package/dist/collection/components/fluent-ui/icon/icon-grid/icon-grid.js +1 -1
- package/dist/collection/components/fluent-ui/icon/udp-fluent-icon.js +1 -1
- package/dist/collection/components/fluent-ui/icon-picker/udp-fluent-icon-picker.js +2 -2
- package/dist/collection/components/fluent-ui/image/udp-fluent-image.js +1 -1
- package/dist/collection/components/fluent-ui/inline-edit/udp-fluent-inline-edit.js +2 -2
- package/dist/collection/components/fluent-ui/link/udp-fluent-link.js +1 -1
- package/dist/collection/components/fluent-ui/list/udp-list.js +1 -1
- package/dist/collection/components/fluent-ui/list-input/udp-fluent-list-input.js +1 -1
- package/dist/collection/components/fluent-ui/list-item/udp-list-item.js +2 -2
- package/dist/collection/components/fluent-ui/location-input/udp-fluent-location-input.js +3 -3
- package/dist/collection/components/fluent-ui/menu/udp-fluent-menu.js +2 -2
- package/dist/collection/components/fluent-ui/message-bar/udp-message-bar.js +1 -1
- package/dist/collection/components/fluent-ui/number-input/udp-fluent-number-input.js +1 -1
- package/dist/collection/components/fluent-ui/popover/udp-popover.js +4 -4
- package/dist/collection/components/fluent-ui/progress-bar/udp-progress-bar.js +1 -1
- package/dist/collection/components/fluent-ui/radio-group/udp-fluent-radio-group.js +21 -8
- package/dist/collection/components/fluent-ui/rich-text/udp-rich-text.css +9 -0
- package/dist/collection/components/fluent-ui/rich-text/udp-rich-text.js +81 -0
- package/dist/collection/components/fluent-ui/rich-text-field/rich-text-content.css +97 -0
- package/dist/collection/components/fluent-ui/rich-text-field/rich-text-schema.js +39 -0
- package/dist/collection/components/fluent-ui/rich-text-field/udp-rich-text-field.css +1 -92
- package/dist/collection/components/fluent-ui/rich-text-field/udp-rich-text-field.js +12 -39
- package/dist/collection/components/fluent-ui/search-input/udp-search-input.css +6 -0
- package/dist/collection/components/fluent-ui/search-input/udp-search-input.js +3 -3
- package/dist/collection/components/fluent-ui/signature-input/udp-fluent-signature-input.js +4 -4
- package/dist/collection/components/fluent-ui/slider/udp-slider.js +1 -1
- package/dist/collection/components/fluent-ui/spinner/udp-spinner.js +1 -1
- package/dist/collection/components/fluent-ui/swatch-picker/udp-swatch-picker.js +1 -1
- package/dist/collection/components/fluent-ui/switch/udp-fluent-switch.js +1 -1
- package/dist/collection/components/fluent-ui/table-input/table-aggregates.js +57 -0
- package/dist/collection/components/fluent-ui/table-input/udp-fluent-table-input.js +12 -56
- package/dist/collection/components/fluent-ui/tablist/udp-fluent-tablist.js +13 -2
- package/dist/collection/components/fluent-ui/text/udp-text.js +1 -1
- package/dist/collection/components/fluent-ui/text-input/udp-fluent-text-input.js +2 -2
- package/dist/collection/components/fluent-ui/textarea/udp-textarea.js +2 -2
- package/dist/collection/components/fluent-ui/time-input/udp-time-input.js +7 -2
- package/dist/collection/components/fluent-ui/toggle-button/udp-fluent-toggle-button.js +1 -1
- package/dist/collection/components/fluent-ui/tooltip/udp-tooltip.js +2 -2
- package/dist/collection/components/fluent-ui/tree/udp-tree.js +1 -1
- package/dist/collection/components/forms/dynamic-form/udp-dynamic-form.js +1 -1
- package/dist/collection/components/forms/edit-view-form/edit-view-form.js +2 -2
- package/dist/collection/components/forms/form/stencil-form.js +1 -1
- package/dist/collection/components/forms/save-view-form/save-view-form.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-question-item/udp-forms-builder-question-item.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.js +4 -4
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.js +3 -3
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js +3 -3
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/location-renderer/location-renderer.js +6 -6
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js +7 -7
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/section-configs-renderer/section-configs-renderer.js +4 -4
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/table-columns-renderer/table-columns-renderer.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-menu/udp-forms-builder-menu.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-style-override/udp-forms-builder-style-override.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js +4 -4
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-follow-up-list-card/udp-forms-follow-up-list-card.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-question/table-input/table-input.js +1 -1
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/table-domain.fixtures.js +200 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/configure-question-drawer.js +7 -1
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/DomainTableConfig.js +309 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/TableConfig.js +32 -1
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.css +50 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.js +33 -3
- package/dist/collection/components/forms/udp-question-form/builder/udp-question-form-builder.js +7 -1
- package/dist/collection/components/forms/udp-question-form/builder/utils/builder-api.js +85 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.js +9 -1
- package/dist/collection/components/forms/udp-question-form/core/field-properties.js +6 -1
- package/dist/collection/components/forms/udp-question-form/core/validation/intrinsic.js +52 -3
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/codecs.js +10 -4
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/domain-table-snapshot.js +50 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/index.js +1 -0
- package/dist/collection/components/forms/udp-question-form/renderer/udp-question-form-renderer.js +62 -16
- package/dist/collection/components/forms/udp-question-form/renderer/ui/adapters/udp-question-tally-adapter.js +1 -1
- package/dist/collection/components/forms/udp-question-form/renderer/ui/form-shell.js +2 -1
- package/dist/collection/components/forms/udp-question-form/renderer/ui/question-renderer.js +7 -3
- package/dist/collection/components/forms/udp-question-form/renderer/ui/question-view-renderer.js +17 -11
- package/dist/collection/components/forms/udp-question-form/version-drawer/udp-form-version-drawer.js +1 -1
- package/dist/collection/components/grid/ambient-template-grid/ambient-template-grid.js +16 -16
- package/dist/collection/components/grid/grid-primary-bar/grid-primary-bar.js +2 -2
- package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +1 -1
- package/dist/collection/components/grid/new-grid/ag-grid-base.css +7 -0
- package/dist/collection/components/grid/new-grid/ag-grid-base.js +13 -4
- package/dist/collection/components/grid/new-grid/api-method-instance-grid.js +27 -3
- package/dist/collection/components/grid/new-grid/client-side-grid.js +2 -2
- package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js +20 -6
- package/dist/collection/components/grid/new-grid/gridFunctions/advancedSearch.js +3 -2
- package/dist/collection/components/grid/new-grid/gridFunctions/savedViews.js +7 -5
- package/dist/collection/components/grid/new-grid/gridFunctions/udpExport.js +12 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/buildSearchObject.js +17 -16
- package/dist/collection/components/grid/new-grid/helperFunctions/configureUdpColumnMods.js +23 -7
- package/dist/collection/components/grid/new-grid/helperFunctions/domainRowsHelper.js +177 -0
- package/dist/collection/components/grid/new-grid/helperFunctions/extraFieldsHelper.js +203 -0
- package/dist/collection/components/grid/new-grid/helperFunctions/lookupHelper.js +256 -16
- package/dist/collection/components/grid/new-grid/search-method-grid.js +124 -11
- package/dist/collection/components/grid/new-grid/server-side-grid.js +107 -4
- package/dist/collection/components/grid/renderers/actions-renderer.js +83 -55
- package/dist/collection/components/grid/renderers/input-renderer.js +66 -0
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js +1 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +3 -3
- package/dist/collection/components/import/udp-import-sheet/udp-import-sheet.css +38 -0
- package/dist/collection/components/import/udp-import-sheet/udp-import-sheet.js +425 -0
- package/dist/collection/components/inputs/address-search/address-search.js +3 -3
- package/dist/collection/components/inputs/checkbox/check-box.js +2 -2
- package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js +2 -2
- package/dist/collection/components/inputs/date-selector/udp-date-selector.js +3 -3
- package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +3 -3
- package/dist/collection/components/inputs/file-upload/file-upload.js +4 -4
- package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +1 -1
- package/dist/collection/components/inputs/image-upload/image-upload.js +1 -1
- package/dist/collection/components/inputs/numeric-field/numeric-field.js +3 -3
- package/dist/collection/components/inputs/signature-input/signature-input.js +2 -2
- package/dist/collection/components/inputs/tally/tally.js +2 -2
- package/dist/collection/components/inputs/text-area/text-area.js +3 -3
- package/dist/collection/components/inputs/text-field/text-field.js +3 -3
- package/dist/collection/components/inputs/time-selector/udp-time-selector.js +3 -3
- package/dist/collection/components/inputs/toggle/stencil-toggle.js +4 -4
- package/dist/collection/components/inputs/udp-selector/udp-selector.js +4 -4
- package/dist/collection/components/layout/primary-action-header/udp-primary-action-header.js +1 -1
- package/dist/collection/components/layout/udp-container/udp-container.js +2 -2
- package/dist/collection/components/layout/udp-container-query/udp-container-query.js +2 -2
- package/dist/collection/components/layout/udp-container-query-grid/udp-container-query-grid.js +1 -1
- package/dist/collection/components/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +1 -1
- package/dist/collection/components/layout/udp-page/udp-page.js +1 -1
- package/dist/collection/components/layout/udp-sidebar-layout/udp-sidebar-layout.js +3 -3
- package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js +1 -1
- package/dist/collection/components/layout/udp-vertical-spacer.js +1 -1
- package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js +2 -2
- package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +1 -1
- package/dist/collection/components/loaders/udp-skeleton-loading.js +1 -1
- package/dist/collection/components/map/udp-map/map-component.js +1 -1
- package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js +3 -3
- package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -4
- package/dist/collection/components/map/udp-map/popups/feature-details-popup.js +1 -1
- package/dist/collection/components/map/udp-map/popups/select-layer-popup.js +2 -2
- package/dist/collection/components/map/udp-map/popups/split-line-popup.js +1 -1
- package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js +2 -2
- package/dist/collection/components/map/udp-map/udp-map-toolbar.js +1 -1
- package/dist/collection/components/map/udp-map/udp-map.js +3 -3
- package/dist/collection/components/menu/menu-item/udp-menu-item.js +1 -1
- package/dist/collection/components/menu/udp-menu.js +1 -1
- package/dist/collection/components/new-form/field/udp-field.js +1 -1
- package/dist/collection/components/new-form/form/udp-form-component.js +2 -2
- package/dist/collection/components/stepper/udp-stepper-actions/udp-stepper-actions.js +1 -1
- package/dist/collection/components/stepper/udp-stepper-content/udp-stepper-content.js +2 -2
- package/dist/collection/components/stepper/udp-stepper-demo.js +1 -1
- package/dist/collection/components/stepper/udp-stepper-nav/udp-stepper-nav.js +1 -1
- package/dist/collection/components/tabs/tab/tabs/udp-tabs.js +2 -2
- package/dist/collection/components/tabs/tab/udp-tab.js +1 -1
- package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +1 -2
- package/dist/collection/components/timeline/udp-timeline-connector.js +1 -1
- package/dist/collection/components/timeline/udp-timeline-dot.js +1 -1
- package/dist/collection/components/timeline/udp-timeline-item.js +2 -2
- package/dist/collection/components/timeline/udp-timeline-separator.js +1 -1
- package/dist/collection/components/timeline/udp-timeline.js +1 -1
- package/dist/collection/components/toolbars/app-bar/app-bar.js +1 -1
- package/dist/collection/components/util/ghost-render/ghost-render.js +1 -1
- package/dist/collection/components/util/lazy-loader/udp-lazy-loader.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-connector.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-dot.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-item.js +2 -2
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-separator.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline.js +1 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet-container.js +1 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet.js +1 -1
- package/dist/collection/icons/fluent-icons.js +16 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/store/execution-store.js +6 -5
- package/dist/collection/test-pages/test-components-page.js +28 -28
- package/dist/collection/test-pages/test-form.js +4 -4
- package/dist/collection/udp-utilities/api-config/configService.js +0 -4
- package/dist/collection/udp-utilities/extra-fields/extraFields.js +94 -0
- package/dist/collection/udp-utilities/extra-fields/index.js +1 -0
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -2
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -1
- package/dist/components/add-map-feature-popup2.js +1 -1
- package/dist/components/address-search2.js +1 -1
- package/dist/components/advanced-search-grouped2.js +1 -1
- package/dist/components/advanced-search2.js +1 -1
- package/dist/components/ag-grid-base2.js +1 -1
- package/dist/components/ambient-template-grid.js +1 -1
- package/dist/components/api-method-instance-grid.js +1 -1
- package/dist/components/apiMethodInstance.js +1 -1
- package/dist/components/apiUtils.js +1 -1
- package/dist/components/app-bar.js +1 -1
- package/dist/components/chart-kpi2.js +1 -1
- package/dist/components/check-box.js +1 -1
- package/dist/components/chip-section.js +1 -1
- package/dist/components/client-side-grid2.js +1 -1
- package/dist/components/configService.js +1 -1
- package/dist/components/configureUdpColumnMods.js +1 -1
- package/dist/components/convertBackendTypeToAgGridType.js +1 -0
- package/dist/components/custom-button2.js +1 -1
- package/dist/components/edit-view-form.js +1 -1
- package/dist/components/extraFields.js +1 -0
- package/dist/components/feature-details-card2.js +1 -1
- package/dist/components/feature-details-popup2.js +1 -1
- package/dist/components/field-picker-tree.js +1 -1
- package/dist/components/field-picker.js +1 -1
- package/dist/components/file-upload-renderer2.js +1 -1
- package/dist/components/file-upload2.js +1 -1
- package/dist/components/filter-conditions2.js +1 -1
- package/dist/components/fluent-icons.js +1 -1
- package/dist/components/form-metadata-display-renderer2.js +1 -1
- package/dist/components/form-metadata-display2.js +1 -1
- package/dist/components/getCachedAzureMapsProviders.js +1 -1
- package/dist/components/ghost-render2.js +1 -1
- package/dist/components/grid-primary-bar2.js +1 -1
- package/dist/components/hint-panel2.js +1 -1
- package/dist/components/icon-grid2.js +1 -1
- package/dist/components/image-upload2.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/kpi-list2.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/list-options-renderer2.js +1 -1
- package/dist/components/location-renderer2.js +1 -1
- package/dist/components/logical-search-indicator.js +1 -1
- package/dist/components/lookup.js +1 -0
- package/dist/components/map-component2.js +1 -1
- package/dist/components/map-toolbar2.js +1 -1
- package/dist/components/numeric-field2.js +1 -1
- package/dist/components/primary-action-header2.js +1 -1
- package/dist/components/question-configs-renderer2.js +1 -1
- package/dist/components/resource-timeline-calendar.js +1 -1
- package/dist/components/resource-timeline-primary-bar2.js +1 -1
- package/dist/components/rich-text-schema.js +1 -0
- package/dist/components/save-view-form.js +1 -1
- package/dist/components/search-list-item2.js +1 -1
- package/dist/components/search-method-grid2.js +1 -1
- package/dist/components/section-configs-renderer2.js +1 -1
- package/dist/components/select-layer-popup2.js +1 -1
- package/dist/components/server-side-grid2.js +1 -1
- package/dist/components/side-sheet-container2.js +1 -1
- package/dist/components/side-sheet2.js +1 -1
- package/dist/components/signature-input2.js +1 -1
- package/dist/components/signature-renderer2.js +1 -1
- package/dist/components/simple-card.js +1 -1
- package/dist/components/split-line-popup2.js +1 -1
- package/dist/components/status-chip2.js +1 -1
- package/dist/components/status-renderer.js +1 -1
- package/dist/components/stencil-chip2.js +1 -1
- package/dist/components/stencil-form2.js +1 -1
- package/dist/components/stencil-toggle2.js +1 -1
- package/dist/components/table-aggregates.js +1 -0
- package/dist/components/table-columns-renderer2.js +1 -1
- package/dist/components/table-input2.js +1 -1
- package/dist/components/tally.js +1 -1
- package/dist/components/test-components-page.js +1 -1
- package/dist/components/test-form2.js +1 -1
- package/dist/components/text-area2.js +1 -1
- package/dist/components/text-field2.js +1 -1
- package/dist/components/text-input-renderer2.js +1 -1
- package/dist/components/types.js +1 -1
- package/dist/components/udp-adornment2.js +1 -1
- package/dist/components/udp-advanced-search-builder.js +1 -1
- package/dist/components/udp-ag-area-chart.js +1 -1
- package/dist/components/udp-ag-bar-chart2.js +1 -1
- package/dist/components/udp-ag-bubble-chart.js +1 -1
- package/dist/components/udp-ag-combo-chart.js +1 -1
- package/dist/components/udp-ag-donut-chart.js +1 -1
- package/dist/components/udp-ag-line-chart.js +1 -1
- package/dist/components/udp-ag-pie-chart.js +1 -1
- package/dist/components/udp-ag-scatter-chart.js +1 -1
- package/dist/components/udp-ambient-card2.js +1 -1
- package/dist/components/udp-ambient-tool-tip2.js +1 -1
- package/dist/components/udp-attachment-list.js +1 -1
- package/dist/components/udp-autocomplete2.js +1 -1
- package/dist/components/udp-avatar2.js +1 -1
- package/dist/components/udp-badge2.js +1 -1
- package/dist/components/udp-bar-chart.js +1 -1
- package/dist/components/udp-button2.js +1 -1
- package/dist/components/udp-calendar-base2.js +1 -1
- package/dist/components/udp-calendar-day.js +1 -1
- package/dist/components/udp-calendar-month.js +1 -1
- package/dist/components/udp-calendar-week.js +1 -1
- package/dist/components/udp-calendar-year.js +1 -1
- package/dist/components/udp-card-action-area.js +1 -1
- package/dist/components/udp-card-actions2.js +1 -1
- package/dist/components/udp-card-content2.js +1 -1
- package/dist/components/udp-card-header2.js +1 -1
- package/dist/components/udp-card-media2.js +1 -1
- package/dist/components/udp-card2.js +1 -1
- package/dist/components/udp-charts-example.js +1 -1
- package/dist/components/udp-chip2.js +1 -1
- package/dist/components/udp-column-header2.js +1 -1
- package/dist/components/udp-compound-button2.js +1 -1
- package/dist/components/udp-container-query-grid-item.js +1 -1
- package/dist/components/udp-container-query-grid2.js +1 -1
- package/dist/components/udp-container-query2.js +1 -1
- package/dist/components/udp-container2.js +1 -1
- package/dist/components/udp-date-range-selector2.js +1 -1
- package/dist/components/udp-date-selector2.js +1 -1
- package/dist/components/udp-date-time-input2.js +1 -1
- package/dist/components/udp-datetime-selector2.js +1 -1
- package/dist/components/udp-detail-list-item2.js +1 -1
- package/dist/components/udp-dialog2.js +1 -1
- package/dist/components/udp-distribution-chart2.js +1 -1
- package/dist/components/udp-divider2.js +1 -1
- package/dist/components/udp-donut-chart2.js +1 -1
- package/dist/components/udp-dynamic-container-with-menu2.js +1 -1
- package/dist/components/udp-dynamic-form.js +1 -1
- package/dist/components/udp-empty-state-display2.js +1 -1
- package/dist/components/udp-empty-state2.js +1 -1
- package/dist/components/udp-export-sheet2.js +1 -1
- package/dist/components/udp-field2.js +1 -1
- package/dist/components/udp-fluent-avatar2.js +1 -1
- package/dist/components/udp-fluent-badge2.js +1 -1
- package/dist/components/udp-fluent-button2.js +1 -1
- package/dist/components/udp-fluent-card2.js +1 -1
- package/dist/components/udp-fluent-checkbox2.js +1 -1
- package/dist/components/udp-fluent-counter-badge2.js +1 -1
- package/dist/components/udp-fluent-dialog2.js +1 -1
- package/dist/components/udp-fluent-divider2.js +1 -1
- package/dist/components/udp-fluent-domain-table-input.d.ts +11 -0
- package/dist/components/udp-fluent-domain-table-input.js +2 -0
- package/dist/components/udp-fluent-domain-table-input2.js +1 -0
- package/dist/components/udp-fluent-drawer2.js +1 -1
- package/dist/components/udp-fluent-dropdown2.js +1 -1
- package/dist/components/udp-fluent-file-input2.js +1 -1
- package/dist/components/udp-fluent-icon-picker.js +1 -1
- package/dist/components/udp-fluent-icon2.js +1 -1
- package/dist/components/udp-fluent-image2.js +1 -1
- package/dist/components/udp-fluent-inline-edit2.js +1 -1
- package/dist/components/udp-fluent-link.js +1 -1
- package/dist/components/udp-fluent-list-input2.js +1 -1
- package/dist/components/udp-fluent-location-input2.js +1 -1
- package/dist/components/udp-fluent-menu2.js +1 -1
- package/dist/components/udp-fluent-number-input.js +1 -1
- package/dist/components/udp-fluent-number-input2.js +1 -0
- package/dist/components/udp-fluent-radio-group2.js +1 -1
- package/dist/components/udp-fluent-signature-input2.js +1 -1
- package/dist/components/udp-fluent-switch2.js +1 -1
- package/dist/components/udp-fluent-table-input2.js +1 -1
- package/dist/components/udp-fluent-tablist2.js +1 -1
- package/dist/components/udp-fluent-text-input2.js +1 -1
- package/dist/components/udp-fluent-toggle-button2.js +1 -1
- package/dist/components/udp-form-component2.js +1 -1
- package/dist/components/udp-form-version-drawer2.js +1 -1
- package/dist/components/udp-forms-builder-menu2.js +1 -1
- package/dist/components/udp-forms-builder-question-item2.js +1 -1
- package/dist/components/udp-forms-builder-style-override.js +1 -1
- package/dist/components/udp-forms-follow-up-list-card.js +1 -1
- package/dist/components/udp-forms-list-card2.js +1 -1
- package/dist/components/udp-forms-list.js +1 -1
- package/dist/components/udp-forms-renderer.js +1 -1
- package/dist/components/udp-forms-ui2.js +1 -1
- package/dist/components/udp-function-button2.js +1 -1
- package/dist/components/udp-grid-loader2.js +1 -1
- package/dist/components/udp-hotlist-form2.js +1 -1
- package/dist/components/udp-import-sheet.d.ts +11 -0
- package/dist/components/udp-import-sheet.js +2 -0
- package/dist/components/udp-kpi-card2.js +1 -1
- package/dist/components/udp-kpi-cards.js +1 -1
- package/dist/components/udp-lazy-loader2.js +1 -1
- package/dist/components/udp-line-chart2.js +1 -1
- package/dist/components/udp-linear-loader2.js +1 -1
- package/dist/components/udp-list-item2.js +1 -1
- package/dist/components/udp-list2.js +1 -1
- package/dist/components/udp-map-toolbar2.js +1 -1
- package/dist/components/udp-map.js +1 -1
- package/dist/components/udp-menu-item2.js +1 -1
- package/dist/components/udp-menu.js +1 -1
- package/dist/components/udp-message-bar2.js +1 -1
- package/dist/components/udp-notification2.js +1 -1
- package/dist/components/udp-page-header2.js +1 -1
- package/dist/components/udp-page.js +1 -1
- package/dist/components/udp-pop-over-grid-action-header2.js +1 -1
- package/dist/components/udp-pop-over2.js +1 -1
- package/dist/components/udp-popover2.js +1 -1
- package/dist/components/udp-primary-action-header2.js +1 -1
- package/dist/components/udp-progress-bar2.js +1 -1
- package/dist/components/udp-question-config-fluent2.js +1 -1
- package/dist/components/udp-question-form-builder.js +1 -1
- package/dist/components/udp-question-form-renderer2.js +1 -1
- package/dist/components/udp-question-tally-adapter2.js +1 -1
- package/dist/components/udp-question2.js +1 -1
- package/dist/components/udp-radio-button2.js +1 -1
- package/dist/components/udp-rich-text-field.js +1 -1
- package/dist/components/udp-rich-text.d.ts +11 -0
- package/dist/components/udp-rich-text.js +2 -0
- package/dist/components/udp-sankey-chart.js +1 -1
- package/dist/components/udp-search-input2.js +1 -1
- package/dist/components/udp-selector2.js +1 -1
- package/dist/components/udp-side-sheet2.js +1 -1
- package/dist/components/udp-sidebar-layout2.js +1 -1
- package/dist/components/udp-skeleton-loading2.js +1 -1
- package/dist/components/udp-slider2.js +1 -1
- package/dist/components/udp-spinner2.js +1 -1
- package/dist/components/udp-split-screen.js +1 -1
- package/dist/components/udp-stepper-actions.js +1 -1
- package/dist/components/udp-stepper-content.js +1 -1
- package/dist/components/udp-stepper-demo.js +1 -1
- package/dist/components/udp-stepper-nav.js +1 -1
- package/dist/components/udp-swatch-picker2.js +1 -1
- package/dist/components/udp-tab-panel2.js +1 -1
- package/dist/components/udp-tab.js +1 -1
- package/dist/components/udp-tabs2.js +1 -1
- package/dist/components/udp-text2.js +1 -1
- package/dist/components/udp-textarea2.js +1 -1
- package/dist/components/udp-time-input2.js +1 -1
- package/dist/components/udp-time-selector2.js +1 -1
- package/dist/components/udp-timeline-connector.js +1 -1
- package/dist/components/udp-timeline-dot.js +1 -1
- package/dist/components/udp-timeline-item.js +1 -1
- package/dist/components/udp-timeline-separator.js +1 -1
- package/dist/components/udp-timeline.js +1 -1
- package/dist/components/udp-tooltip2.js +1 -1
- package/dist/components/udp-tree2.js +1 -1
- package/dist/components/udp-vertical-spacer2.js +1 -1
- package/dist/components/udp-vertical-timeline-connector.js +1 -1
- package/dist/components/udp-vertical-timeline-dot.js +1 -1
- package/dist/components/udp-vertical-timeline-item.js +1 -1
- package/dist/components/udp-vertical-timeline-separator.js +1 -1
- package/dist/components/udp-vertical-timeline.js +1 -1
- package/dist/components/udp-xy-chart2.js +1 -1
- package/dist/components/udp-xy-multi-series-chart.js +1 -1
- package/dist/components/upd-alert-banner2.js +1 -1
- package/dist/docs.json +1805 -112
- package/dist/esm/{SearchBuilder-BmqrJvtz.js → SearchBuilder-BxLXFEeR.js} +1 -1
- package/dist/esm/add-map-feature-popup_4.entry.js +8 -8
- package/dist/esm/address-search_6.entry.js +19 -19
- package/dist/esm/advanced-search_12.entry.js +20 -20
- package/dist/esm/{ag-grid-base_65.entry.js → ag-grid-base_66.entry.js} +450 -176
- package/dist/esm/ambient-template-grid.entry.js +20 -20
- package/dist/esm/api-method-instance-grid.entry.js +10 -9
- package/dist/esm/{apiMethodInstance-BunReWfq.js → apiMethodInstance-qaGbXDNr.js} +2 -31
- package/dist/esm/{apiUtils-Cq-WuEqc.js → apiUtils-CXqsYwOQ.js} +29 -28
- package/dist/esm/app-bar.entry.js +1 -1
- package/dist/esm/{catalog-store-CLsDGUEl.js → catalog-store-BOpo_zaC.js} +1 -1
- package/dist/esm/chart-container_3.entry.js +2 -2
- package/dist/esm/check-box.entry.js +2 -2
- package/dist/esm/chip-section.entry.js +2 -2
- package/dist/esm/{codecs-CI_fHfY1.js → codecs-BWyrM561.js} +400 -9
- package/dist/esm/{configService-D_9j963S.js → configService-CehZzjhw.js} +0 -4
- package/dist/esm/{configureUdpColumnMods-UWccWlH6.js → configureUdpColumnMods-bMO0_--H.js} +23 -7
- package/dist/esm/convertBackendTypeToAgGridType-B8xfl_wR.js +31 -0
- package/dist/esm/{createAzureMapsProviders-CLLCmr8f.js → createAzureMapsProviders-CtQryp1H.js} +13 -1
- package/dist/esm/custom-button.entry.js +1 -1
- package/dist/esm/date-time-renderer_9.entry.js +21 -21
- package/dist/esm/domain-table-snapshot-H3o5mjFB.js +331 -0
- package/dist/esm/extraFields-Cnpy_Bm7.js +97 -0
- package/dist/esm/extraFieldsHelper-CaBMA4HJ.js +205 -0
- package/dist/esm/feature-details-card_2.entry.js +5 -5
- package/dist/esm/file-upload_2.entry.js +7 -7
- package/dist/esm/filter-conditions_7.entry.js +7 -7
- package/dist/esm/{fluent-icons-pWFJyrRm.js → fluent-icons-wRyOZqj2.js} +20 -0
- package/dist/esm/form-metadata-display_2.entry.js +3 -3
- package/dist/esm/getCurrentApiCatalogId-DeurXd9l.js +5 -0
- package/dist/esm/icon-grid.entry.js +2 -2
- package/dist/esm/image-upload_8.entry.js +7 -7
- package/dist/esm/index-15aY63VA.js +12 -8
- package/dist/esm/index.js +13 -22
- package/dist/esm/{load-icons-BHSNRRRA.js → load-icons-D2ZhiHp6.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logical-search-indicator.entry.js +1 -1
- package/dist/esm/lookupHelper-D3LSjaES.js +682 -0
- package/dist/esm/map-component_2.entry.js +2 -2
- package/dist/esm/primary-action-header_2.entry.js +4 -4
- package/dist/esm/question-configs-renderer_4.entry.js +15 -15
- package/dist/esm/resource-timeline-calendar.entry.js +1 -1
- package/dist/esm/resource-timeline-primary-bar.entry.js +3 -3
- package/dist/esm/rich-text-schema-DCUYo610.js +42 -0
- package/dist/esm/search-method-grid.entry.js +120 -263
- package/dist/esm/server-side-grid.entry.js +85 -3
- package/dist/esm/side-sheet-container.entry.js +1 -1
- package/dist/esm/simple-card.entry.js +1 -1
- package/dist/esm/status-chip_2.entry.js +2 -2
- package/dist/esm/{status-renderer-BoY7sar9.js → status-renderer-Evo0rTNU.js} +83 -55
- package/dist/esm/stencil-chip.entry.js +2 -2
- package/dist/esm/stencil-library.js +1 -1
- package/dist/esm/stencil-toggle.entry.js +4 -4
- package/dist/esm/text-field_2.entry.js +7 -7
- package/dist/esm/{types-C9Z-dgvN.js → types-NqFGtWPW.js} +1 -1
- package/dist/esm/udp-adornment.entry.js +1 -1
- package/dist/esm/udp-advanced-search-builder.entry.js +102 -5
- package/dist/esm/udp-advanced-search-field-picker_3.entry.js +3 -3
- package/dist/esm/udp-ag-area-chart.entry.js +2 -2
- package/dist/esm/udp-ag-bar-chart_4.entry.js +5 -5
- package/dist/esm/udp-ag-bubble-chart.entry.js +2 -2
- package/dist/esm/udp-ag-combo-chart.entry.js +2 -2
- package/dist/esm/udp-ag-donut-chart.entry.js +2 -2
- package/dist/esm/udp-ag-line-chart.entry.js +2 -2
- package/dist/esm/udp-ag-pie-chart.entry.js +2 -2
- package/dist/esm/udp-ag-scatter-chart.entry.js +2 -2
- package/dist/esm/udp-attachment-item_2.entry.js +1 -1
- package/dist/esm/udp-attachment-list.entry.js +1 -1
- package/dist/esm/udp-bar-chart.entry.js +1 -1
- package/dist/esm/udp-calendar-base.entry.js +1 -1
- package/dist/esm/udp-calendar-day.entry.js +1 -1
- package/dist/esm/udp-calendar-month.entry.js +1 -1
- package/dist/esm/udp-calendar-week.entry.js +1 -1
- package/dist/esm/udp-calendar-year.entry.js +1 -1
- package/dist/esm/udp-card-action-area.entry.js +1 -1
- package/dist/esm/udp-card_6.entry.js +7 -7
- package/dist/esm/udp-charts-example.entry.js +1 -1
- package/dist/esm/udp-container-query-grid-item.entry.js +1 -1
- package/dist/esm/udp-container-query-grid.entry.js +1 -1
- package/dist/esm/udp-container-query.entry.js +2 -2
- package/dist/esm/udp-container.entry.js +2 -2
- package/dist/esm/{udp-detail-list_9.entry.js → udp-detail-list_10.entry.js} +606 -74
- package/dist/esm/{udp-drive-utils-DCivw3gq.js → udp-drive-utils-BVTuKAND.js} +1 -1
- package/dist/esm/udp-dynamic-container-with-menu.entry.js +1 -1
- package/dist/esm/udp-dynamic-form.entry.js +1 -1
- package/dist/esm/udp-fluent-icon-picker.entry.js +2 -2
- package/dist/esm/udp-fluent-inline-edit_5.entry.js +491 -42
- package/dist/esm/udp-fluent-link.entry.js +1 -1
- package/dist/esm/udp-fluent-list-item_2.entry.js +3 -3
- package/dist/esm/{udp-form-api-utils-HJ_eUZkX.js → udp-form-api-utils-Bq7Txu0h.js} +1 -1
- package/dist/esm/udp-forms-builder-style-override.entry.js +1 -1
- package/dist/esm/udp-forms-builder.entry.js +1 -1
- package/dist/esm/udp-forms-follow-up-list-card.entry.js +2 -2
- package/dist/esm/udp-forms-list-card.entry.js +4 -4
- package/dist/esm/udp-forms-list.entry.js +3 -3
- package/dist/esm/udp-forms-renderer.entry.js +4 -4
- package/dist/esm/udp-import-sheet.entry.js +242 -0
- package/dist/esm/udp-kpi-card.entry.js +1 -1
- package/dist/esm/udp-kpi-cards.entry.js +2 -2
- package/dist/esm/udp-map.entry.js +3 -3
- package/dist/esm/udp-menu.entry.js +1 -1
- package/dist/esm/udp-page.entry.js +1 -1
- package/dist/esm/udp-question-form-builder.entry.js +28 -251
- package/dist/esm/udp-rich-text-field.entry.js +28 -39
- package/dist/esm/udp-rich-text.entry.js +59 -0
- package/dist/esm/udp-sankey-chart.entry.js +1 -1
- package/dist/esm/udp-sidebar-layout.entry.js +3 -3
- package/dist/esm/udp-skeleton-loading.entry.js +1 -1
- package/dist/esm/udp-split-screen.entry.js +1 -1
- package/dist/esm/udp-stepper-actions.entry.js +1 -1
- package/dist/esm/udp-stepper-content.entry.js +2 -2
- package/dist/esm/udp-stepper-demo.entry.js +1 -1
- package/dist/esm/udp-stepper-nav.entry.js +1 -1
- package/dist/esm/udp-tab.entry.js +1 -1
- package/dist/esm/udp-timeline-connector.entry.js +1 -1
- package/dist/esm/udp-timeline-dot.entry.js +1 -1
- package/dist/esm/udp-timeline-item.entry.js +2 -2
- package/dist/esm/udp-timeline-separator.entry.js +1 -1
- package/dist/esm/udp-timeline.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline-connector.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline-dot.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline-item.entry.js +2 -2
- package/dist/esm/udp-vertical-timeline-separator.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline.entry.js +1 -1
- package/dist/esm/udp-xy-chart.entry.js +1 -1
- package/dist/esm/udp-xy-multi-series-chart.entry.js +1 -1
- package/dist/esm/valueFormatters-BbY_Q8IE.js +15 -0
- package/dist/stencil-library/{SearchBuilder-BmqrJvtz.js → SearchBuilder-BxLXFEeR.js} +1 -1
- package/dist/stencil-library/add-map-feature-popup_4.entry.js +1 -1
- package/dist/stencil-library/address-search_6.entry.js +1 -1
- package/dist/stencil-library/advanced-search_12.entry.js +1 -1
- package/dist/stencil-library/ag-grid-base_66.entry.js +1 -0
- package/dist/stencil-library/ambient-template-grid.entry.js +1 -1
- package/dist/stencil-library/api-method-instance-grid.entry.js +1 -1
- package/dist/stencil-library/apiMethodInstance-qaGbXDNr.js +1 -0
- package/dist/stencil-library/apiUtils-CXqsYwOQ.js +1 -0
- package/dist/stencil-library/app-bar.entry.js +1 -1
- package/dist/stencil-library/{catalog-store-CLsDGUEl.js → catalog-store-BOpo_zaC.js} +1 -1
- package/dist/stencil-library/chart-container_3.entry.js +1 -1
- package/dist/stencil-library/check-box.entry.js +1 -1
- package/dist/stencil-library/chip-section.entry.js +1 -1
- package/dist/stencil-library/codecs-BWyrM561.js +1 -0
- package/dist/stencil-library/configService-CehZzjhw.js +1 -0
- package/dist/stencil-library/configureUdpColumnMods-bMO0_--H.js +1 -0
- package/dist/stencil-library/convertBackendTypeToAgGridType-B8xfl_wR.js +1 -0
- package/dist/stencil-library/createAzureMapsProviders-CtQryp1H.js +1 -0
- package/dist/stencil-library/custom-button.entry.js +1 -1
- package/dist/stencil-library/date-time-renderer_9.entry.js +1 -1
- package/dist/stencil-library/domain-table-snapshot-H3o5mjFB.js +1 -0
- package/dist/stencil-library/extraFields-Cnpy_Bm7.js +1 -0
- package/dist/stencil-library/extraFieldsHelper-CaBMA4HJ.js +1 -0
- package/dist/stencil-library/feature-details-card_2.entry.js +1 -1
- package/dist/stencil-library/file-upload_2.entry.js +1 -1
- package/dist/stencil-library/filter-conditions_7.entry.js +1 -1
- package/dist/stencil-library/fluent-icons-wRyOZqj2.js +1 -0
- package/dist/stencil-library/form-metadata-display_2.entry.js +1 -1
- package/dist/stencil-library/getCurrentApiCatalogId-DeurXd9l.js +1 -0
- package/dist/stencil-library/icon-grid.entry.js +1 -1
- package/dist/stencil-library/image-upload_8.entry.js +1 -1
- package/dist/stencil-library/index.esm.js +1 -1
- package/dist/stencil-library/load-icons-D2ZhiHp6.js +1 -0
- package/dist/stencil-library/logical-search-indicator.entry.js +1 -1
- package/dist/stencil-library/lookupHelper-D3LSjaES.js +1 -0
- package/dist/stencil-library/map-component_2.entry.js +1 -1
- package/dist/stencil-library/primary-action-header_2.entry.js +1 -1
- package/dist/stencil-library/question-configs-renderer_4.entry.js +1 -1
- package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -1
- package/dist/stencil-library/resource-timeline-primary-bar.entry.js +1 -1
- package/dist/stencil-library/rich-text-schema-DCUYo610.js +1 -0
- package/dist/stencil-library/search-method-grid.entry.js +1 -1
- package/dist/stencil-library/server-side-grid.entry.js +1 -1
- package/dist/stencil-library/side-sheet-container.entry.js +1 -1
- package/dist/stencil-library/simple-card.entry.js +1 -1
- package/dist/stencil-library/status-chip_2.entry.js +1 -1
- package/dist/stencil-library/status-renderer-Evo0rTNU.js +1 -0
- package/dist/stencil-library/stencil-chip.entry.js +1 -1
- package/dist/stencil-library/stencil-library.esm.js +1 -1
- package/dist/stencil-library/stencil-toggle.entry.js +1 -1
- package/dist/stencil-library/text-field_2.entry.js +1 -1
- package/dist/stencil-library/{types-C9Z-dgvN.js → types-NqFGtWPW.js} +1 -1
- package/dist/stencil-library/udp-adornment.entry.js +1 -1
- package/dist/stencil-library/udp-advanced-search-builder.entry.js +1 -1
- package/dist/stencil-library/udp-advanced-search-field-picker_3.entry.js +1 -1
- package/dist/stencil-library/udp-ag-area-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-bar-chart_4.entry.js +1 -1
- package/dist/stencil-library/udp-ag-bubble-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-combo-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-donut-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-line-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-pie-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-scatter-chart.entry.js +1 -1
- package/dist/stencil-library/udp-attachment-item_2.entry.js +1 -1
- package/dist/stencil-library/udp-attachment-list.entry.js +1 -1
- package/dist/stencil-library/udp-bar-chart.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-base.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-day.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-month.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-week.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-year.entry.js +1 -1
- package/dist/stencil-library/udp-card-action-area.entry.js +1 -1
- package/dist/stencil-library/udp-card_6.entry.js +1 -1
- package/dist/stencil-library/udp-charts-example.entry.js +1 -1
- package/dist/stencil-library/udp-container-query-grid-item.entry.js +1 -1
- package/dist/stencil-library/udp-container-query-grid.entry.js +1 -1
- package/dist/stencil-library/udp-container-query.entry.js +1 -1
- package/dist/stencil-library/udp-container.entry.js +1 -1
- package/dist/stencil-library/udp-detail-list_10.entry.js +1 -0
- package/dist/stencil-library/{udp-drive-utils-DCivw3gq.js → udp-drive-utils-BVTuKAND.js} +1 -1
- package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js +1 -1
- package/dist/stencil-library/udp-dynamic-form.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-icon-picker.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-inline-edit_5.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-link.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-list-item_2.entry.js +1 -1
- package/dist/stencil-library/{udp-form-api-utils-HJ_eUZkX.js → udp-form-api-utils-Bq7Txu0h.js} +1 -1
- package/dist/stencil-library/udp-forms-builder-style-override.entry.js +1 -1
- package/dist/stencil-library/udp-forms-builder.entry.js +1 -1
- package/dist/stencil-library/udp-forms-follow-up-list-card.entry.js +1 -1
- package/dist/stencil-library/udp-forms-list-card.entry.js +1 -1
- package/dist/stencil-library/udp-forms-list.entry.js +1 -1
- package/dist/stencil-library/udp-forms-renderer.entry.js +1 -1
- package/dist/stencil-library/udp-import-sheet.entry.js +1 -0
- package/dist/stencil-library/udp-kpi-card.entry.js +1 -1
- package/dist/stencil-library/udp-kpi-cards.entry.js +1 -1
- package/dist/stencil-library/udp-map.entry.js +1 -1
- package/dist/stencil-library/udp-menu.entry.js +1 -1
- package/dist/stencil-library/udp-page.entry.js +1 -1
- package/dist/stencil-library/udp-question-form-builder.entry.js +1 -1
- package/dist/stencil-library/udp-rich-text-field.entry.js +1 -1
- package/dist/stencil-library/udp-rich-text.entry.js +1 -0
- package/dist/stencil-library/udp-sankey-chart.entry.js +1 -1
- package/dist/stencil-library/udp-sidebar-layout.entry.js +1 -1
- package/dist/stencil-library/udp-skeleton-loading.entry.js +1 -1
- package/dist/stencil-library/udp-split-screen.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-actions.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-content.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-demo.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-nav.entry.js +1 -1
- package/dist/stencil-library/udp-tab.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-connector.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-dot.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-item.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-separator.entry.js +1 -1
- package/dist/stencil-library/udp-timeline.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-connector.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-dot.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-item.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-separator.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline.entry.js +1 -1
- package/dist/stencil-library/udp-xy-chart.entry.js +1 -1
- package/dist/stencil-library/udp-xy-multi-series-chart.entry.js +1 -1
- package/dist/stencil-library/valueFormatters-BbY_Q8IE.js +1 -0
- package/dist/types/components/advanced-search-builder/udp-advanced-search-builder.d.ts +25 -0
- package/dist/types/components/fluent-ui/button/udp-fluent-button.d.ts +5 -0
- package/dist/types/components/fluent-ui/domain-table-input/domain-table-snapshot.d.ts +32 -0
- package/dist/types/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.d.ts +137 -0
- package/dist/types/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.types.d.ts +46 -0
- package/dist/types/components/fluent-ui/drawer/udp-fluent-drawer.d.ts +5 -0
- package/dist/types/components/fluent-ui/dropdown/udp-fluent-dropdown.d.ts +12 -1
- package/dist/types/components/fluent-ui/radio-group/udp-fluent-radio-group.d.ts +6 -0
- package/dist/types/components/fluent-ui/rich-text/udp-rich-text.d.ts +19 -0
- package/dist/types/components/fluent-ui/rich-text-field/rich-text-schema.d.ts +6 -0
- package/dist/types/components/fluent-ui/table-input/table-aggregates.d.ts +16 -0
- package/dist/types/components/fluent-ui/table-input/udp-fluent-table-input.d.ts +0 -8
- package/dist/types/components/fluent-ui/tablist/udp-fluent-tablist.d.ts +3 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/table-domain.fixtures.d.ts +22 -0
- package/dist/types/components/forms/udp-question-form/builder/components/configure-question-drawer.d.ts +2 -1
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/DomainTableConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/types.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/builder/udp-question-form-builder.d.ts +1 -0
- package/dist/types/components/forms/udp-question-form/builder/utils/builder-api.d.ts +37 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.d.ts +5 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties.d.ts +31 -1
- package/dist/types/components/forms/udp-question-form/core/validation/intrinsic.d.ts +15 -3
- package/dist/types/components/forms/udp-question-form/renderer/runtime/codecs.d.ts +12 -1
- package/dist/types/components/forms/udp-question-form/renderer/runtime/domain-table-snapshot.d.ts +20 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/index.d.ts +1 -0
- package/dist/types/components/forms/udp-question-form/renderer/udp-question-form-renderer.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/form-shell.d.ts +3 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/question-renderer.d.ts +7 -0
- package/dist/types/components/grid/new-grid/ag-grid-base.d.ts +3 -1
- package/dist/types/components/grid/new-grid/api-method-instance-grid.d.ts +9 -1
- package/dist/types/components/grid/new-grid/client-side-grid.d.ts +3 -1
- package/dist/types/components/grid/new-grid/datasources/searchMethodDatasource.d.ts +3 -0
- package/dist/types/components/grid/new-grid/gridFunctions/advancedSearch.d.ts +6 -3
- package/dist/types/components/grid/new-grid/gridFunctions/savedViews.d.ts +1 -0
- package/dist/types/components/grid/new-grid/gridFunctions/udpExport.d.ts +6 -0
- package/dist/types/components/grid/new-grid/helperFunctions/buildSearchObject.d.ts +13 -3
- package/dist/types/components/grid/new-grid/helperFunctions/domainRowsHelper.d.ts +60 -0
- package/dist/types/components/grid/new-grid/helperFunctions/extraFieldsHelper.d.ts +49 -0
- package/dist/types/components/grid/new-grid/helperFunctions/lookupHelper.d.ts +57 -0
- package/dist/types/components/grid/new-grid/helperFunctions/savedViewsHelpers.d.ts +2 -0
- package/dist/types/components/grid/new-grid/search-method-grid.d.ts +35 -1
- package/dist/types/components/grid/new-grid/server-side-grid.d.ts +27 -1
- package/dist/types/components/grid/renderers/actions-renderer.d.ts +15 -0
- package/dist/types/components/grid/renderers/input-renderer.d.ts +36 -0
- package/dist/types/components/import/udp-import-sheet/udp-import-sheet.d.ts +85 -0
- package/dist/types/components.d.ts +411 -12
- package/dist/types/icons/fluent-icons.d.ts +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/store/execution-store.d.ts +4 -5
- package/dist/types/udp-utilities/api-config/configService.d.ts +0 -2
- package/dist/types/udp-utilities/extra-fields/extraFields.d.ts +105 -0
- package/dist/types/udp-utilities/extra-fields/index.d.ts +1 -0
- package/dist/types/udp-utilities/search/searchObject.d.ts +2 -0
- package/package.json +3 -3
- package/dist/cjs/lookupHelper-ClpMWN_g.js +0 -101
- package/dist/cjs/searchObjectHelper-DYpPEIzz.js +0 -110
- package/dist/cjs/slot-index-Dzl7Zum5.js +0 -77
- package/dist/cjs/udp-fluent-number-input.cjs.entry.js +0 -146
- package/dist/esm/lookupHelper-CSo9DNLr.js +0 -96
- package/dist/esm/searchObjectHelper-BjA6OHxg.js +0 -107
- package/dist/esm/slot-index-aYrr8BJl.js +0 -74
- package/dist/esm/udp-fluent-number-input.entry.js +0 -144
- package/dist/stencil-library/ag-grid-base_65.entry.js +0 -1
- package/dist/stencil-library/apiMethodInstance-BunReWfq.js +0 -1
- package/dist/stencil-library/apiUtils-Cq-WuEqc.js +0 -1
- package/dist/stencil-library/codecs-CI_fHfY1.js +0 -1
- package/dist/stencil-library/configService-D_9j963S.js +0 -1
- package/dist/stencil-library/configureUdpColumnMods-UWccWlH6.js +0 -1
- package/dist/stencil-library/createAzureMapsProviders-CLLCmr8f.js +0 -1
- package/dist/stencil-library/fluent-icons-pWFJyrRm.js +0 -1
- package/dist/stencil-library/load-icons-BHSNRRRA.js +0 -1
- package/dist/stencil-library/lookupHelper-CSo9DNLr.js +0 -1
- package/dist/stencil-library/searchObjectHelper-BjA6OHxg.js +0 -1
- package/dist/stencil-library/slot-index-aYrr8BJl.js +0 -1
- package/dist/stencil-library/status-renderer-BoY7sar9.js +0 -1
- package/dist/stencil-library/udp-detail-list_9.entry.js +0 -1
- package/dist/stencil-library/udp-fluent-number-input.entry.js +0 -1
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { readDraftFieldProperty, extractDropdownValue, createSortableRef } from "../utils";
|
|
3
|
+
import { LookupTypeId } from "../../../../../../../udp-utilities/lookup/lookup";
|
|
4
|
+
const customColumnTypeOptions = [
|
|
5
|
+
{ value: 'text', label: 'Text' },
|
|
6
|
+
{ value: 'number', label: 'Number' },
|
|
7
|
+
{ value: 'boolean', label: 'Boolean' },
|
|
8
|
+
{ value: 'date', label: 'Date' },
|
|
9
|
+
{ value: 'datetime', label: 'Date time' },
|
|
10
|
+
];
|
|
11
|
+
/** A custom column's key (`customColumn{n}`) must never collide with (or alias to) a domain field. */
|
|
12
|
+
const nextCustomColumnNumber = (takenKeys) => {
|
|
13
|
+
let n = 1;
|
|
14
|
+
while (takenKeys.has(`customcolumn${n}`))
|
|
15
|
+
n++;
|
|
16
|
+
return n;
|
|
17
|
+
};
|
|
18
|
+
const aggregateOptions = [
|
|
19
|
+
{ value: 'sum', label: 'Sum' },
|
|
20
|
+
{ value: 'avg', label: 'Average' },
|
|
21
|
+
{ value: 'min', label: 'Min' },
|
|
22
|
+
{ value: 'max', label: 'Max' },
|
|
23
|
+
];
|
|
24
|
+
const aggregateDecimalPlacesOptions = [
|
|
25
|
+
{ value: '0', label: '0' },
|
|
26
|
+
{ value: '1', label: '1' },
|
|
27
|
+
{ value: '2', label: '2' },
|
|
28
|
+
{ value: '3', label: '3' },
|
|
29
|
+
];
|
|
30
|
+
/** Same reactive-value-or-draft precedence every type-specific config uses. */
|
|
31
|
+
function readDomainTableState(ctx) {
|
|
32
|
+
const domainRaw = readDraftFieldProperty(ctx, 'domainLookupId');
|
|
33
|
+
const columnsRaw = readDraftFieldProperty(ctx, 'columns');
|
|
34
|
+
return {
|
|
35
|
+
domainLookupId: typeof domainRaw === 'string' ? domainRaw : '',
|
|
36
|
+
columns: Array.isArray(columnsRaw) ? columnsRaw : [],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function renderDomainTableConfig(ctx) {
|
|
40
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
41
|
+
const { domainLookupId, columns } = readDomainTableState(ctx);
|
|
42
|
+
const lookupOptions = (_a = ctx.lookupOptions) !== null && _a !== void 0 ? _a : [];
|
|
43
|
+
// The grid's source must be a domain; a column may also map to a virtual lookup.
|
|
44
|
+
const domainOptions = lookupOptions.filter(o => o.typeId === LookupTypeId.Domain);
|
|
45
|
+
const columnLookupOptions = lookupOptions.filter(o => o.typeId === LookupTypeId.Domain || o.typeId === LookupTypeId.Lookup);
|
|
46
|
+
const schema = (_b = ctx.domainSchemaByLookupId) === null || _b === void 0 ? void 0 : _b[domainLookupId];
|
|
47
|
+
const isLoadingSchema = !!((_c = ctx.domainSchemaLoading) === null || _c === void 0 ? void 0 : _c[domainLookupId]);
|
|
48
|
+
// Kick off the fetch as a side effect of render — mirrors how ListOptionsConfig
|
|
49
|
+
// reads state, but this config also needs to trigger a fetch the first time a
|
|
50
|
+
// domain is selected (e.g. reopening a previously-saved question).
|
|
51
|
+
if (domainLookupId && !schema && !isLoadingSchema) {
|
|
52
|
+
(_d = ctx.fetchDomainSchema) === null || _d === void 0 ? void 0 : _d.call(ctx, domainLookupId);
|
|
53
|
+
}
|
|
54
|
+
const writeDomain = (next) => {
|
|
55
|
+
var _a, _b, _c, _d, _e;
|
|
56
|
+
(_b = (_a = ctx.getForm) === null || _a === void 0 ? void 0 : _a.call(ctx)) === null || _b === void 0 ? void 0 : _b.change('fieldProperties.domainLookupId', next);
|
|
57
|
+
// Switching domains invalidates any prior column selection — the new
|
|
58
|
+
// domain's schema is unrelated to the old one's column keys. Custom
|
|
59
|
+
// columns don't depend on the domain, so they're kept.
|
|
60
|
+
(_d = (_c = ctx.getForm) === null || _c === void 0 ? void 0 : _c.call(ctx)) === null || _d === void 0 ? void 0 : _d.change('fieldProperties.columns', columns.filter(c => c.custom));
|
|
61
|
+
if (next)
|
|
62
|
+
(_e = ctx.fetchDomainSchema) === null || _e === void 0 ? void 0 : _e.call(ctx, next);
|
|
63
|
+
};
|
|
64
|
+
const writeColumns = (next) => {
|
|
65
|
+
var _a, _b;
|
|
66
|
+
(_b = (_a = ctx.getForm) === null || _a === void 0 ? void 0 : _a.call(ctx)) === null || _b === void 0 ? void 0 : _b.change('fieldProperties.columns', next);
|
|
67
|
+
};
|
|
68
|
+
// Columns saved before their type was detected (e.g. dates saved as 'text')
|
|
69
|
+
// pick up the domain's current metadata. Only 'text' is upgraded: when the
|
|
70
|
+
// `UdpObjectInfo` fetch fails the schema falls back to describe-only, which
|
|
71
|
+
// reports dates and booleans as 'text' and must not overwrite them. A lookup
|
|
72
|
+
// is never healed in — it needs a `lookupId`, and clearing one is the
|
|
73
|
+
// author's choice.
|
|
74
|
+
if (schema && !ctx.isViewOnly) {
|
|
75
|
+
const typeByKey = new Map(schema.map(d => [d.key.toLowerCase(), d.type]));
|
|
76
|
+
const healed = columns.map(col => {
|
|
77
|
+
const detected = typeByKey.get(col.key.toLowerCase());
|
|
78
|
+
return detected && col.type === 'text' && detected !== 'text' && detected !== 'lookup'
|
|
79
|
+
? Object.assign(Object.assign({}, col), { type: detected }) : col;
|
|
80
|
+
});
|
|
81
|
+
if (healed.some((col, i) => col !== columns[i]))
|
|
82
|
+
writeColumns(healed);
|
|
83
|
+
}
|
|
84
|
+
const findColumn = (key) => columns.find(c => c.key === key);
|
|
85
|
+
const toColumn = (descriptor, patch) => {
|
|
86
|
+
var _a, _b, _c, _d;
|
|
87
|
+
const existing = findColumn(descriptor.key);
|
|
88
|
+
if (existing && !patch)
|
|
89
|
+
return existing;
|
|
90
|
+
return Object.assign({ key: descriptor.key, displayName: existing === null || existing === void 0 ? void 0 : existing.displayName,
|
|
91
|
+
// A saved type wins over a 'text' one from a describe-only fallback schema;
|
|
92
|
+
// the heal pass above upgrades a saved 'text'.
|
|
93
|
+
type: existing && existing.type !== 'text' ? existing.type : descriptor.type, lookupId: (_a = existing === null || existing === void 0 ? void 0 : existing.lookupId) !== null && _a !== void 0 ? _a : descriptor.lookupId, isKey: descriptor.isKey, custom: existing === null || existing === void 0 ? void 0 : existing.custom, show: (_b = existing === null || existing === void 0 ? void 0 : existing.show) !== null && _b !== void 0 ? _b : false, editable: (_c = existing === null || existing === void 0 ? void 0 : existing.editable) !== null && _c !== void 0 ? _c : false, required: (_d = existing === null || existing === void 0 ? void 0 : existing.required) !== null && _d !== void 0 ? _d : false, locked: existing === null || existing === void 0 ? void 0 : existing.locked, aggregate: existing === null || existing === void 0 ? void 0 : existing.aggregate, aggregateDecimalPlaces: existing === null || existing === void 0 ? void 0 : existing.aggregateDecimalPlaces }, patch);
|
|
94
|
+
};
|
|
95
|
+
// A freshly picked domain starts with its display-value column (the lookup's
|
|
96
|
+
// `valueName`) visible. Only while no domain column is saved yet, so an
|
|
97
|
+
// author's later choice to hide it sticks.
|
|
98
|
+
const valueName = (_f = (_e = domainOptions
|
|
99
|
+
.find(o => o.value === domainLookupId)) === null || _e === void 0 ? void 0 : _e.valueName) === null || _f === void 0 ? void 0 : _f.toLowerCase();
|
|
100
|
+
if (schema && valueName && !ctx.isViewOnly && !columns.some(c => !c.custom)) {
|
|
101
|
+
const descriptor = schema.find(d => d.key.toLowerCase() === valueName && !d.isKey);
|
|
102
|
+
if (descriptor)
|
|
103
|
+
writeColumns([toColumn(descriptor, { show: true }), ...columns]);
|
|
104
|
+
}
|
|
105
|
+
// Display order: the saved columns in the author's order, then any schema
|
|
106
|
+
// columns not configured yet. A primary-key column can be shown and mapped to
|
|
107
|
+
// a lookup, but never edited or aggregated; it still becomes each row's `_recordId`.
|
|
108
|
+
// A custom column stands in as its own descriptor.
|
|
109
|
+
const schemaByKey = new Map((schema !== null && schema !== void 0 ? schema : []).map(d => [d.key, d]));
|
|
110
|
+
const displayDescriptors = [
|
|
111
|
+
...columns
|
|
112
|
+
.map(c => {
|
|
113
|
+
var _a;
|
|
114
|
+
return c.custom
|
|
115
|
+
? { key: c.key, displayName: (_a = c.displayName) !== null && _a !== void 0 ? _a : '', type: c.type, lookupId: c.lookupId }
|
|
116
|
+
: schemaByKey.get(c.key);
|
|
117
|
+
})
|
|
118
|
+
.filter((d) => !!d),
|
|
119
|
+
...(schema !== null && schema !== void 0 ? schema : []).filter(d => !findColumn(d.key)),
|
|
120
|
+
];
|
|
121
|
+
// Domain columns no longer in the schema are kept as-is at the end.
|
|
122
|
+
const orphanColumns = columns.filter(c => !c.custom && !schemaByKey.has(c.key));
|
|
123
|
+
// Every write persists the full display order, so a column keeps its position.
|
|
124
|
+
const writeOrdered = (descriptors, patchKey, patch) => {
|
|
125
|
+
writeColumns([
|
|
126
|
+
...descriptors.map(d => (d.key === patchKey ? toColumn(d, patch) : toColumn(d))),
|
|
127
|
+
...orphanColumns,
|
|
128
|
+
]);
|
|
129
|
+
};
|
|
130
|
+
const patchColumn = (descriptor, patch) => {
|
|
131
|
+
writeOrdered(displayDescriptors, descriptor.key, patch);
|
|
132
|
+
};
|
|
133
|
+
const moveColumn = (fromIndex, toIndex) => {
|
|
134
|
+
if (fromIndex === toIndex || toIndex < 0 || toIndex >= displayDescriptors.length)
|
|
135
|
+
return;
|
|
136
|
+
const next = displayDescriptors.slice();
|
|
137
|
+
const [moved] = next.splice(fromIndex, 1);
|
|
138
|
+
next.splice(toIndex, 0, moved);
|
|
139
|
+
writeOrdered(next);
|
|
140
|
+
};
|
|
141
|
+
// Custom columns are user input by definition — always shown and editable.
|
|
142
|
+
const addCustomColumn = () => {
|
|
143
|
+
const n = nextCustomColumnNumber(takenKeysExcept());
|
|
144
|
+
writeColumns([
|
|
145
|
+
...displayDescriptors.map(d => toColumn(d)),
|
|
146
|
+
{
|
|
147
|
+
key: `customColumn${n}`,
|
|
148
|
+
displayName: `Column ${n}`,
|
|
149
|
+
type: 'text',
|
|
150
|
+
custom: true,
|
|
151
|
+
show: true,
|
|
152
|
+
editable: true,
|
|
153
|
+
required: false,
|
|
154
|
+
},
|
|
155
|
+
...orphanColumns,
|
|
156
|
+
]);
|
|
157
|
+
};
|
|
158
|
+
// Lowercased keys of every domain field and saved column, minus `exceptKey` — prefill matches keys ignoring case.
|
|
159
|
+
const takenKeysExcept = (exceptKey) => new Set([...(schema !== null && schema !== void 0 ? schema : []).map(d => d.key), ...columns.map(c => c.key)]
|
|
160
|
+
.filter(k => k !== exceptKey)
|
|
161
|
+
.map(k => k.toLowerCase()));
|
|
162
|
+
// Prefill matches keys ignoring case, a leading `_` is reserved for row
|
|
163
|
+
// metadata (`_recordId`, `_added`), and the grid reads a dotted name as a nested path.
|
|
164
|
+
const columnNameError = (name, savedKey) => {
|
|
165
|
+
if (!name)
|
|
166
|
+
return 'Column name is required.';
|
|
167
|
+
if (name.startsWith('_'))
|
|
168
|
+
return 'Column names can\'t start with "_".';
|
|
169
|
+
if (name.includes('.'))
|
|
170
|
+
return 'Column names can\'t contain ".".';
|
|
171
|
+
if (takenKeysExcept(savedKey).has(name.toLowerCase())) {
|
|
172
|
+
return 'A column with this name already exists.';
|
|
173
|
+
}
|
|
174
|
+
return null;
|
|
175
|
+
};
|
|
176
|
+
// An invalid column name is held here (saved key → typed name), never in
|
|
177
|
+
// `columns`: the key is the column's identity, so a duplicate would merge two
|
|
178
|
+
// columns. Not part of the saved question; the drawer blocks save while any remain.
|
|
179
|
+
const nameDrafts = ((_h = (_g = ctx.formValues) === null || _g === void 0 ? void 0 : _g.columnNameDrafts) !== null && _h !== void 0 ? _h : {});
|
|
180
|
+
const writeNameDraft = (savedKey, name) => {
|
|
181
|
+
var _a, _b;
|
|
182
|
+
const next = Object.assign({}, nameDrafts);
|
|
183
|
+
if (name === undefined)
|
|
184
|
+
delete next[savedKey];
|
|
185
|
+
else
|
|
186
|
+
next[savedKey] = name;
|
|
187
|
+
(_b = (_a = ctx.getForm) === null || _a === void 0 ? void 0 : _a.call(ctx)) === null || _b === void 0 ? void 0 : _b.change('columnNameDrafts', next);
|
|
188
|
+
};
|
|
189
|
+
const removeColumn = (key) => {
|
|
190
|
+
if (key in nameDrafts)
|
|
191
|
+
writeNameDraft(key);
|
|
192
|
+
writeOrdered(displayDescriptors.filter(d => d.key !== key));
|
|
193
|
+
};
|
|
194
|
+
const columnsRef = createSortableRef(moveColumn, ctx.isViewOnly);
|
|
195
|
+
return (h("udp-flexbox", { display: "flex", direction: "column", gap: "md" }, h("udp-field", { name: "fieldProperties.allowAddRows" }, h("udp-fluent-switch", { label: "Allow Adding Rows", labelPosition: "after", hint: "Let users add their own rows and type in every visible column.", disabled: ctx.isViewOnly })), h("udp-fluent-dropdown", { label: "Lookup", placeholder: "Select a lookup", options: domainOptions, value: domainLookupId, disabled: ctx.isViewOnly, required: true, onValueChanged: (e) => {
|
|
196
|
+
if (ctx.isViewOnly)
|
|
197
|
+
return;
|
|
198
|
+
writeDomain(extractDropdownValue(e.detail));
|
|
199
|
+
} }), domainLookupId && isLoadingSchema && (h("udp-flexbox", { display: "flex", direction: "row", gap: "sm", align: "center" }, h("udp-spinner", { size: "tiny" }), h("udp-text", { variant: "caption1" }, "Loading domain columns\u2026"))), domainLookupId && !isLoadingSchema && schema && displayDescriptors.length === 0 && (h("udp-text", { variant: "caption1" }, "This domain has no describable columns.")), domainLookupId && !isLoadingSchema && displayDescriptors.length > 0 && (h("udp-flexbox", { display: "flex", direction: "column", gap: "xs" }, h("div", { class: "domain-table-col-row" }, h("span", { class: "options-drag-handle-spacer", "aria-hidden": "true" }), h("span", { class: "options-grid-header-label" }, "Column Name"), h("span", { class: "options-grid-header-label" }, "Visible"), h("span", { class: "options-grid-header-label" }, "Editable"), h("span", { class: "options-grid-header-label" }, "Locked"), h("span", { class: "options-grid-header-label" }, "Display Name"), h("span", { class: "options-grid-header-label" }, "Value Lookup"), h("span", { "aria-hidden": "true" })), h("div", { ref: columnsRef }, displayDescriptors.map(descriptor => {
|
|
200
|
+
var _a, _b, _c, _d, _e;
|
|
201
|
+
const column = findColumn(descriptor.key);
|
|
202
|
+
const isKey = !!descriptor.isKey;
|
|
203
|
+
const isCustom = !!(column === null || column === void 0 ? void 0 : column.custom);
|
|
204
|
+
const isShown = !!(column === null || column === void 0 ? void 0 : column.show);
|
|
205
|
+
const isEditable = !!(column === null || column === void 0 ? void 0 : column.editable);
|
|
206
|
+
const isRequired = !!(column === null || column === void 0 ? void 0 : column.required);
|
|
207
|
+
// The primary key always survives a row clear.
|
|
208
|
+
const isLocked = isKey || !!(column === null || column === void 0 ? void 0 : column.locked);
|
|
209
|
+
const columnType = (_a = column === null || column === void 0 ? void 0 : column.type) !== null && _a !== void 0 ? _a : descriptor.type;
|
|
210
|
+
const isNumeric = !isKey && columnType === 'number';
|
|
211
|
+
const hasAggregate = isNumeric && !!(column === null || column === void 0 ? void 0 : column.aggregate);
|
|
212
|
+
const aggregate = (column === null || column === void 0 ? void 0 : column.aggregate) || 'sum';
|
|
213
|
+
const aggregateDecimalPlaces = Number.isInteger(Number(column === null || column === void 0 ? void 0 : column.aggregateDecimalPlaces))
|
|
214
|
+
? String(Math.min(3, Math.max(0, Number(column === null || column === void 0 ? void 0 : column.aggregateDecimalPlaces))))
|
|
215
|
+
: '1';
|
|
216
|
+
return (h("div", { class: "table-col-card" }, h("div", { class: "domain-table-col-row" }, !ctx.isViewOnly ? (h("span", { class: "option-drag-handle", "aria-label": "Drag to reorder" }, h("udp-fluent-icon", { name: "drag", size: "sm" }))) : (h("span", { class: "options-drag-handle-spacer", "aria-hidden": "true" })), isCustom ? (h("udp-fluent-text-input", { "aria-label": "Column name", value: (_b = nameDrafts[descriptor.key]) !== null && _b !== void 0 ? _b : descriptor.key, error: descriptor.key in nameDrafts
|
|
217
|
+
? ((_c = columnNameError(nameDrafts[descriptor.key].trim(), descriptor.key)) !== null && _c !== void 0 ? _c : undefined)
|
|
218
|
+
: undefined, disabled: ctx.isViewOnly, autocomplete: "off", includeErrorPadding: false, onValueChanged: (e) => {
|
|
219
|
+
if (ctx.isViewOnly)
|
|
220
|
+
return;
|
|
221
|
+
const next = e.detail.trim();
|
|
222
|
+
if (columnNameError(next, descriptor.key)) {
|
|
223
|
+
writeNameDraft(descriptor.key, e.detail);
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
if (descriptor.key in nameDrafts)
|
|
227
|
+
writeNameDraft(descriptor.key);
|
|
228
|
+
if (next !== descriptor.key)
|
|
229
|
+
patchColumn(descriptor, { key: next });
|
|
230
|
+
} })) : (h("udp-text", { variant: "body1", truncate: true, title: descriptor.key }, descriptor.key)), h("udp-fluent-checkbox", { "aria-label": `${descriptor.key} visible`, includeErrorPadding: false, disabled: ctx.isViewOnly || isCustom, checked: isShown, onValueChanged: () => {
|
|
231
|
+
if (ctx.isViewOnly)
|
|
232
|
+
return;
|
|
233
|
+
patchColumn(descriptor, isShown
|
|
234
|
+
? { show: false, editable: false, required: false }
|
|
235
|
+
: { show: true });
|
|
236
|
+
} }), h("udp-fluent-checkbox", { "aria-label": `${descriptor.key} editable`, includeErrorPadding: false, disabled: ctx.isViewOnly || !isShown || isKey || isCustom, checked: isEditable, onValueChanged: () => {
|
|
237
|
+
if (ctx.isViewOnly)
|
|
238
|
+
return;
|
|
239
|
+
patchColumn(descriptor, { editable: !isEditable });
|
|
240
|
+
} }), h("udp-fluent-checkbox", { "aria-label": `${descriptor.key} locked`, includeErrorPadding: false, disabled: ctx.isViewOnly || !isShown || isKey, checked: isLocked, onValueChanged: () => {
|
|
241
|
+
if (ctx.isViewOnly)
|
|
242
|
+
return;
|
|
243
|
+
patchColumn(descriptor, { locked: !isLocked });
|
|
244
|
+
} }), h("udp-fluent-text-input", { value: (_d = column === null || column === void 0 ? void 0 : column.displayName) !== null && _d !== void 0 ? _d : '', disabled: ctx.isViewOnly || !isShown, placeholder: descriptor.key, autocomplete: "off", includeErrorPadding: false, onValueChanged: (e) => {
|
|
245
|
+
if (ctx.isViewOnly)
|
|
246
|
+
return;
|
|
247
|
+
// Blank = no override; the column shows its key.
|
|
248
|
+
patchColumn(descriptor, { displayName: e.detail.trim() || undefined });
|
|
249
|
+
} }), h("udp-fluent-dropdown", { "aria-label": `${descriptor.key} value lookup`, options: columnLookupOptions, valueAs: "value", value: (_e = column === null || column === void 0 ? void 0 : column.lookupId) !== null && _e !== void 0 ? _e : '', placeholder: "None", clearable: true, includeErrorPadding: false, disabled: ctx.isViewOnly || !isShown, onValueChanged: (e) => {
|
|
250
|
+
if (ctx.isViewOnly)
|
|
251
|
+
return;
|
|
252
|
+
const lookupId = extractDropdownValue(e.detail);
|
|
253
|
+
patchColumn(descriptor, lookupId
|
|
254
|
+
? {
|
|
255
|
+
type: 'lookup',
|
|
256
|
+
lookupId,
|
|
257
|
+
aggregate: undefined,
|
|
258
|
+
aggregateDecimalPlaces: undefined,
|
|
259
|
+
}
|
|
260
|
+
: {
|
|
261
|
+
type: descriptor.type === 'lookup' ? 'text' : descriptor.type,
|
|
262
|
+
lookupId: undefined,
|
|
263
|
+
});
|
|
264
|
+
} }), isCustom ? (h("udp-fluent-icon-button", { iconName: "delete", appearance: "subtle", size: "small", ariaLabel: "Remove column", disabled: ctx.isViewOnly, onClick: () => {
|
|
265
|
+
if (ctx.isViewOnly)
|
|
266
|
+
return;
|
|
267
|
+
removeColumn(descriptor.key);
|
|
268
|
+
} })) : (h("span", { "aria-hidden": "true" }))), isShown && (isEditable || isNumeric) && (h("div", { class: "table-col-secondary domain-table-col-settings" }, isEditable && isCustom && columnType !== 'lookup' && (h("udp-fluent-dropdown", { class: "domain-table-col-type", label: "Type", value: columnType, options: customColumnTypeOptions, optionLabel: "label", optionValue: "value", disabled: ctx.isViewOnly, includeErrorPadding: false, onValueChanged: (e) => {
|
|
269
|
+
if (ctx.isViewOnly)
|
|
270
|
+
return;
|
|
271
|
+
const picked = extractDropdownValue(e.detail, 'text');
|
|
272
|
+
const type = (customColumnTypeOptions.some(o => o.value === picked) ? picked : 'text');
|
|
273
|
+
patchColumn(descriptor, type === 'number'
|
|
274
|
+
? { type }
|
|
275
|
+
: { type, aggregate: undefined, aggregateDecimalPlaces: undefined });
|
|
276
|
+
} })), isEditable && (h("udp-fluent-switch", { label: "Required", labelPosition: "after", includeErrorPadding: false, disabled: ctx.isViewOnly, checked: isRequired, onValueChanged: () => {
|
|
277
|
+
if (ctx.isViewOnly)
|
|
278
|
+
return;
|
|
279
|
+
patchColumn(descriptor, { required: !isRequired });
|
|
280
|
+
} })), isNumeric && (h("udp-fluent-switch", { label: "Display Aggregate", labelPosition: "after", includeErrorPadding: false, disabled: ctx.isViewOnly, checked: hasAggregate, onValueChanged: () => {
|
|
281
|
+
if (ctx.isViewOnly)
|
|
282
|
+
return;
|
|
283
|
+
if (hasAggregate) {
|
|
284
|
+
patchColumn(descriptor, {
|
|
285
|
+
aggregate: undefined,
|
|
286
|
+
aggregateDecimalPlaces: undefined,
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
else {
|
|
290
|
+
patchColumn(descriptor, {
|
|
291
|
+
aggregate: 'sum',
|
|
292
|
+
aggregateDecimalPlaces: 1,
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
} })))), isShown && isNumeric && hasAggregate && (h("udp-container-query-grid", { columns: { 0: 1, 360: 2 }, gaps: { 0: 'sm' }, class: "table-col-secondary" }, h("udp-container-query-grid-item", null, h("udp-fluent-dropdown", { label: "Aggregate Function", value: aggregate, options: aggregateOptions, optionLabel: "label", optionValue: "value", disabled: ctx.isViewOnly, required: true, onValueChanged: (e) => {
|
|
296
|
+
if (ctx.isViewOnly)
|
|
297
|
+
return;
|
|
298
|
+
patchColumn(descriptor, {
|
|
299
|
+
aggregate: extractDropdownValue(e.detail, 'sum'),
|
|
300
|
+
});
|
|
301
|
+
} })), h("udp-container-query-grid-item", null, h("udp-fluent-dropdown", { label: "Decimal Places", value: aggregateDecimalPlaces, options: aggregateDecimalPlacesOptions, optionLabel: "label", optionValue: "value", disabled: ctx.isViewOnly, required: true, onValueChanged: (e) => {
|
|
302
|
+
if (ctx.isViewOnly)
|
|
303
|
+
return;
|
|
304
|
+
patchColumn(descriptor, {
|
|
305
|
+
aggregateDecimalPlaces: Number(extractDropdownValue(e.detail, '1')),
|
|
306
|
+
});
|
|
307
|
+
} }))))));
|
|
308
|
+
})))), domainLookupId && !isLoadingSchema && !ctx.isViewOnly && (h("div", { class: "options-add-row" }, h("udp-fluent-button", { appearance: "subtle", startIconName: "add", onClick: () => addCustomColumn() }, "Add Column")))));
|
|
309
|
+
}
|
|
@@ -13,6 +13,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
13
13
|
import { h } from "@stencil/core";
|
|
14
14
|
import { ensureTableColumnIds, createDefaultTableColumn, isNumericTableColumnType, } from "../../../form-item-types/templates";
|
|
15
15
|
import { readDraftFieldProperty, extractDropdownValue, createSortableRef } from "../utils";
|
|
16
|
+
import { renderDomainTableConfig } from "./DomainTableConfig";
|
|
16
17
|
const columnTypeOptions = [
|
|
17
18
|
{ value: 'text', label: 'Text' },
|
|
18
19
|
{ value: 'number', label: 'Number' },
|
|
@@ -38,7 +39,7 @@ function readColumns(ctx) {
|
|
|
38
39
|
const raw = readDraftFieldProperty(ctx, 'columns');
|
|
39
40
|
return Array.isArray(raw) ? raw : [];
|
|
40
41
|
}
|
|
41
|
-
|
|
42
|
+
function renderCustomColumnsConfig(ctx) {
|
|
42
43
|
const columns = readColumns(ctx);
|
|
43
44
|
const writeColumns = (next) => {
|
|
44
45
|
var _b, _c;
|
|
@@ -151,3 +152,33 @@ export function renderTableConfig(ctx) {
|
|
|
151
152
|
} }))))));
|
|
152
153
|
})), !ctx.isViewOnly && (h("div", { class: "options-add-row" }, h("udp-fluent-button", { appearance: "subtle", startIconName: "add", onClick: () => addColumn() }, "Add Column"))))));
|
|
153
154
|
}
|
|
155
|
+
const dataSourceItems = [
|
|
156
|
+
{ value: 'custom', label: 'Simple Table' },
|
|
157
|
+
{ value: 'domain', label: 'Advanced Table' },
|
|
158
|
+
];
|
|
159
|
+
export function renderTableConfig(ctx) {
|
|
160
|
+
const dataSource = readDraftFieldProperty(ctx, 'dataSource') === 'domain' ? 'domain' : 'custom';
|
|
161
|
+
// The two modes' columns are different shapes (TableColumn vs DomainTableColumn),
|
|
162
|
+
// so switching resets every mode-specific key instead of trying to convert.
|
|
163
|
+
const onDataSourceChange = (e) => {
|
|
164
|
+
var _b;
|
|
165
|
+
if (ctx.isViewOnly)
|
|
166
|
+
return;
|
|
167
|
+
const form = (_b = ctx.getForm) === null || _b === void 0 ? void 0 : _b.call(ctx);
|
|
168
|
+
const next = e.detail === 'domain' ? 'domain' : 'custom';
|
|
169
|
+
if (!form || next === dataSource)
|
|
170
|
+
return;
|
|
171
|
+
if (next === 'domain') {
|
|
172
|
+
form.change('fieldProperties.dataSource', 'domain');
|
|
173
|
+
form.change('fieldProperties.domainLookupId', '');
|
|
174
|
+
form.change('fieldProperties.columns', []);
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
form.change('fieldProperties.dataSource', '');
|
|
178
|
+
form.change('fieldProperties.domainLookupId', '');
|
|
179
|
+
form.change('fieldProperties.allowAddRows', undefined);
|
|
180
|
+
form.change('fieldProperties.columns', ensureTableColumnIds([createDefaultTableColumn()]));
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
return (h("udp-flexbox", { display: "flex", direction: "column", gap: "md" }, h("udp-fluent-radio-group", { label: "Table Type", items: dataSourceItems, value: dataSource, disabled: ctx.isViewOnly, includeErrorPadding: false, onValueChanged: onDataSourceChange }), dataSource === 'domain' ? renderDomainTableConfig(ctx) : renderCustomColumnsConfig(ctx)));
|
|
184
|
+
}
|
|
@@ -113,9 +113,41 @@
|
|
|
113
113
|
align-items: center;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
/* Domain Table column header + row: handle | column name | visible | editable | locked | display name | lookup | delete. */
|
|
117
|
+
.domain-table-col-row {
|
|
118
|
+
display: grid;
|
|
119
|
+
/* minmax(0, …) lets the name column shrink so long names truncate. */
|
|
120
|
+
grid-template-columns: 24px minmax(0, 1fr) 56px 56px 56px minmax(0, 1.2fr) minmax(0, 1.2fr) 32px;
|
|
121
|
+
gap: var(--spacingHorizontalS);
|
|
122
|
+
align-items: center;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* A column-name error grows its cell; pin the row to the top so the other
|
|
126
|
+
controls stay on the input's line instead of re-centering (32px = input height). */
|
|
127
|
+
.domain-table-col-row:has(> udp-fluent-text-input.has-error) {
|
|
128
|
+
align-items: start;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.domain-table-col-row:has(> udp-fluent-text-input.has-error)
|
|
132
|
+
> :not(udp-fluent-text-input):not(udp-fluent-dropdown) {
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
min-height: 32px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/* Center the Visible / Editable / Locked checkboxes (and their header labels) in their columns. */
|
|
139
|
+
.domain-table-col-row > :nth-child(3),
|
|
140
|
+
.domain-table-col-row > :nth-child(4),
|
|
141
|
+
.domain-table-col-row > :nth-child(5) {
|
|
142
|
+
justify-self: center;
|
|
143
|
+
text-align: center;
|
|
144
|
+
}
|
|
145
|
+
|
|
116
146
|
/* Row of secondary controls inside a table column card (switches, aggregate dropdowns).
|
|
117
147
|
Indented to align with the input content (past the 24px drag handle + gap). */
|
|
118
148
|
.table-col-secondary {
|
|
149
|
+
/* The aggregate row is a width:100% udp-container-query-grid — keep the indent inside that width. */
|
|
150
|
+
box-sizing: border-box;
|
|
119
151
|
display: flex;
|
|
120
152
|
flex-wrap: wrap;
|
|
121
153
|
gap: var(--spacingHorizontalS);
|
|
@@ -124,6 +156,24 @@
|
|
|
124
156
|
padding-left: calc(24px + var(--spacingHorizontalXS));
|
|
125
157
|
}
|
|
126
158
|
|
|
159
|
+
/* A custom domain Table column's type dropdown sits on the same row as its switches
|
|
160
|
+
(same 120px width as the lookup sheet's column Type dropdown). */
|
|
161
|
+
.domain-table-col-type {
|
|
162
|
+
flex: 0 0 auto;
|
|
163
|
+
width: 120px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/* With the type dropdown's label above it, line the switches up with the
|
|
167
|
+
dropdown box: bottom-align, then lift the switches 4px so their toggles
|
|
168
|
+
centre on the box (measured: bottom-aligned toggles sit 4px low). */
|
|
169
|
+
.domain-table-col-settings {
|
|
170
|
+
align-items: flex-end;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.domain-table-col-settings udp-fluent-switch {
|
|
174
|
+
margin-bottom: var(--spacingVerticalXS, 4px);
|
|
175
|
+
}
|
|
176
|
+
|
|
127
177
|
@container (max-width: 400px) {
|
|
128
178
|
.options-grid-header {
|
|
129
179
|
display: none;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { getType } from "../../form-item-types";
|
|
3
|
+
import { fetchDomainColumns } from "../../utils/builder-api";
|
|
3
4
|
import { renderBasicsSection, renderFieldBehaviorSection, renderAdvancedSection, } from "./GenericQuestionConfig";
|
|
4
5
|
import { renderTypeSpecific } from "./typeSpecific";
|
|
5
6
|
import { renderValidationRulesSection } from "./ValidationRulesSection";
|
|
@@ -27,6 +28,30 @@ export class UdpQuestionConfigFluent {
|
|
|
27
28
|
* subscriber in udp-field handles their value sync independently.
|
|
28
29
|
*/
|
|
29
30
|
this.formValues = {};
|
|
31
|
+
/**
|
|
32
|
+
* Domain Table's domain schema-describe cache. Lives here (not in the
|
|
33
|
+
* stateless `DomainTableConfig` renderer) for the same reason `lookupOptions`
|
|
34
|
+
* does — one fetch per domain, shared across re-renders and reopenings.
|
|
35
|
+
*/
|
|
36
|
+
this.domainSchemaCache = {};
|
|
37
|
+
this.domainSchemaLoading = {};
|
|
38
|
+
this.fetchDomainSchema = (lookupId) => {
|
|
39
|
+
var _a;
|
|
40
|
+
if (this.domainSchemaCache[lookupId] || this.domainSchemaLoading[lookupId])
|
|
41
|
+
return;
|
|
42
|
+
// Wait for the lookup list: without its `domainName` the fetch falls back to
|
|
43
|
+
// describe-only columns, and the result is cached. Render calls this again.
|
|
44
|
+
const option = (_a = this.lookupOptions) === null || _a === void 0 ? void 0 : _a.find(o => o.value === lookupId);
|
|
45
|
+
if (!option)
|
|
46
|
+
return;
|
|
47
|
+
this.domainSchemaLoading = Object.assign(Object.assign({}, this.domainSchemaLoading), { [lookupId]: true });
|
|
48
|
+
const domainName = option.domainName;
|
|
49
|
+
// A rejected fetch must still clear the loading flag, or the spinner never stops.
|
|
50
|
+
void fetchDomainColumns(lookupId, domainName).catch(() => []).then(columns => {
|
|
51
|
+
this.domainSchemaCache = Object.assign(Object.assign({}, this.domainSchemaCache), { [lookupId]: columns });
|
|
52
|
+
this.domainSchemaLoading = Object.assign(Object.assign({}, this.domainSchemaLoading), { [lookupId]: false });
|
|
53
|
+
});
|
|
54
|
+
};
|
|
30
55
|
this.getForm = () => this.form;
|
|
31
56
|
}
|
|
32
57
|
componentDidLoad() {
|
|
@@ -65,6 +90,9 @@ export class UdpQuestionConfigFluent {
|
|
|
65
90
|
lookupOptions: this.lookupOptions,
|
|
66
91
|
sections: this.sections,
|
|
67
92
|
currentQuestionId: question.id,
|
|
93
|
+
domainSchemaByLookupId: this.domainSchemaCache,
|
|
94
|
+
domainSchemaLoading: this.domainSchemaLoading,
|
|
95
|
+
fetchDomainSchema: this.fetchDomainSchema,
|
|
68
96
|
};
|
|
69
97
|
}
|
|
70
98
|
render() {
|
|
@@ -191,8 +219,8 @@ export class UdpQuestionConfigFluent {
|
|
|
191
219
|
"type": "unknown",
|
|
192
220
|
"mutable": false,
|
|
193
221
|
"complexType": {
|
|
194
|
-
"original": "{ value: string; label: string }[]",
|
|
195
|
-
"resolved": "{ value: string; label: string; }[]",
|
|
222
|
+
"original": "{ value: string; label: string; domainName?: string }[]",
|
|
223
|
+
"resolved": "{ value: string; label: string; domainName?: string; }[]",
|
|
196
224
|
"references": {}
|
|
197
225
|
},
|
|
198
226
|
"required": false,
|
|
@@ -292,7 +320,9 @@ export class UdpQuestionConfigFluent {
|
|
|
292
320
|
}
|
|
293
321
|
static get states() {
|
|
294
322
|
return {
|
|
295
|
-
"formValues": {}
|
|
323
|
+
"formValues": {},
|
|
324
|
+
"domainSchemaCache": {},
|
|
325
|
+
"domainSchemaLoading": {}
|
|
296
326
|
};
|
|
297
327
|
}
|
|
298
328
|
static get elementRef() { return "el"; }
|
package/dist/collection/components/forms/udp-question-form/builder/udp-question-form-builder.js
CHANGED
|
@@ -2,7 +2,7 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { getIn, setIn } from "final-form";
|
|
3
3
|
import Sortable from "sortablejs";
|
|
4
4
|
import { createNewLoadedForm, createNewQuestion, createNewSection, checkRangeConsistency, FormType, getAuthorRulesFor, } from "../core";
|
|
5
|
-
import { getType, validateForm, validateQuestionItem } from "./form-item-types";
|
|
5
|
+
import { getType, validateForm, validateQuestionItem, } from "./form-item-types";
|
|
6
6
|
import { getQuestionTemplatesGroupedByCategory } from "./utils/question-template";
|
|
7
7
|
import { formRegistry } from "../../../../utilities/global-form-registry/form-registry";
|
|
8
8
|
import { getCurrentTenantId } from "../../../../udp-utilities/tenant/tenantUtils";
|
|
@@ -340,6 +340,12 @@ export class UdpQuestionFormBuilder {
|
|
|
340
340
|
for (const { formPath, message } of checkRangeConsistency(synthetic)) {
|
|
341
341
|
setError(formPath, message);
|
|
342
342
|
}
|
|
343
|
+
// Domain Table column names that failed validation (shown inline on each
|
|
344
|
+
// input) — block the Update until the author fixes them.
|
|
345
|
+
const nameDrafts = values.columnNameDrafts;
|
|
346
|
+
if (nameDrafts && Object.keys(nameDrafts).length > 0) {
|
|
347
|
+
setError('columnNameDrafts', 'Fix the column names before saving.');
|
|
348
|
+
}
|
|
343
349
|
return errors;
|
|
344
350
|
};
|
|
345
351
|
this.openSectionEditor = (sIndex) => {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { makeApiCall } from "../../../../../udp-utilities/api/makeApiCall/makeApiCall";
|
|
2
2
|
import { ConfigService } from "../../../../../udp-utilities/api-config";
|
|
3
|
+
import { executeQueryWithParameters, getPromotedLookupMethod, } from "../../../../../udp-utilities/api-udp/apiUtils";
|
|
4
|
+
import { getCurrentApiCatalogId } from "../../../../../udp-utilities/catalog/getCurrentApiCatalogId";
|
|
3
5
|
import { createNewLoadedForm, parseForm, serializeFormFull, } from "../../core";
|
|
6
|
+
import { mapDotNetTypeToAgGridType } from "../../../../grid/new-grid/helperFunctions/convertBackendTypeToAgGridType";
|
|
4
7
|
export { fetchFollowUpFormsList } from '../../follow-up-forms-api';
|
|
5
8
|
/**
|
|
6
9
|
* Thrown when `/UdpForm/{id}/describe` returns no row for the given
|
|
@@ -87,6 +90,88 @@ export async function fetchLookupOptions() {
|
|
|
87
90
|
return [];
|
|
88
91
|
}
|
|
89
92
|
}
|
|
93
|
+
/**
|
|
94
|
+
* Fetch a domain's column schema for a domain Table — same "promoted lookup
|
|
95
|
+
* method" transport `lookupHelper.ts`/`domainRowsHelper.ts` use, but routed
|
|
96
|
+
* to the describe method id rather than the data method id. Returns `[]` on
|
|
97
|
+
* failure (non-blocking), same convention as `fetchLookupOptions`.
|
|
98
|
+
*/
|
|
99
|
+
export async function fetchDomainSchemaDescribe(lookupId) {
|
|
100
|
+
var _a, _b;
|
|
101
|
+
try {
|
|
102
|
+
const describeApiMethodId = (_b = (_a = (await getPromotedLookupMethod(getCurrentApiCatalogId()))) === null || _a === void 0 ? void 0 : _a.unityBaseGetDescriptionMethod) === null || _b === void 0 ? void 0 : _b.apiMethodId;
|
|
103
|
+
if (!describeApiMethodId)
|
|
104
|
+
return [];
|
|
105
|
+
const response = await executeQueryWithParameters({ data: { id: lookupId } }, describeApiMethodId);
|
|
106
|
+
if (!Array.isArray(response))
|
|
107
|
+
return [];
|
|
108
|
+
return response;
|
|
109
|
+
}
|
|
110
|
+
catch (_c) {
|
|
111
|
+
return [];
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Fetch a domain's fields via `GET /UdpObjectInfo/domain/{domainName}`.
|
|
116
|
+
* Returns `[]` on failure (non-blocking).
|
|
117
|
+
*/
|
|
118
|
+
export async function fetchDomainObjectFields(domainName) {
|
|
119
|
+
try {
|
|
120
|
+
const response = (await makeApiCall('GET', `${ConfigService.productV1ApiUrl}/UdpObjectInfo/domain/${encodeURIComponent(domainName)}`));
|
|
121
|
+
return Array.isArray(response === null || response === void 0 ? void 0 : response.objectFieldInfo) ? response.objectFieldInfo : [];
|
|
122
|
+
}
|
|
123
|
+
catch (_a) {
|
|
124
|
+
return [];
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
/** Column type from a UdpObjectInfo .NET `dataType` (e.g. `DateTime?`), via the grid's own mapper. */
|
|
128
|
+
function columnTypeFromDataType(dataType) {
|
|
129
|
+
const agType = mapDotNetTypeToAgGridType(dataType !== null && dataType !== void 0 ? dataType : '');
|
|
130
|
+
if (agType === 'number')
|
|
131
|
+
return 'number';
|
|
132
|
+
if (agType === 'boolean')
|
|
133
|
+
return 'boolean';
|
|
134
|
+
if (agType === 'dateTimeString' || agType === 'dateString')
|
|
135
|
+
return 'datetime';
|
|
136
|
+
return 'text';
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Domain rows arrive as camelCase JSON (backend Newtonsoft defaults), while
|
|
140
|
+
* `objectFieldInfo` names are PascalCase — the runtime reads `row[col.key]`
|
|
141
|
+
* exactly, so the key must be the camelCased property name.
|
|
142
|
+
*/
|
|
143
|
+
function toRowPropertyName(name) {
|
|
144
|
+
return name.charAt(0).toLowerCase() + name.slice(1);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Domain Table columns for a domain. The `UdpObjectInfo` fields drive the
|
|
148
|
+
* list; the describe response (matched by key) supplies `type`, `lookupId`
|
|
149
|
+
* and `isKey`. Falls back to describe-only when `domainName` is missing.
|
|
150
|
+
*/
|
|
151
|
+
export async function fetchDomainColumns(lookupId, domainName) {
|
|
152
|
+
if (!domainName)
|
|
153
|
+
return fetchDomainSchemaDescribe(lookupId);
|
|
154
|
+
const [described, fields] = await Promise.all([
|
|
155
|
+
fetchDomainSchemaDescribe(lookupId),
|
|
156
|
+
fetchDomainObjectFields(domainName),
|
|
157
|
+
]);
|
|
158
|
+
if (fields.length === 0)
|
|
159
|
+
return described;
|
|
160
|
+
const describedByKey = new Map(described.filter(d => typeof (d === null || d === void 0 ? void 0 : d.key) === 'string').map(d => [d.key.toLowerCase(), d]));
|
|
161
|
+
return fields.filter(field => typeof (field === null || field === void 0 ? void 0 : field.name) === 'string' && field.name).map(field => {
|
|
162
|
+
var _a, _b, _c, _d;
|
|
163
|
+
const match = (_a = describedByKey.get(field.name.toLowerCase())) !== null && _a !== void 0 ? _a : (field.sanitizedName ? describedByKey.get(field.sanitizedName.toLowerCase()) : undefined);
|
|
164
|
+
return {
|
|
165
|
+
key: (_b = match === null || match === void 0 ? void 0 : match.key) !== null && _b !== void 0 ? _b : toRowPropertyName(field.sanitizedName || field.name),
|
|
166
|
+
displayName: (_c = match === null || match === void 0 ? void 0 : match.displayName) !== null && _c !== void 0 ? _c : field.name,
|
|
167
|
+
// The field's .NET dataType is authoritative; describe only knows
|
|
168
|
+
// text/number/lookup, so it can only add a lookup.
|
|
169
|
+
type: (match === null || match === void 0 ? void 0 : match.type) === 'lookup' ? 'lookup' : columnTypeFromDataType(field.dataType),
|
|
170
|
+
lookupId: match === null || match === void 0 ? void 0 : match.lookupId,
|
|
171
|
+
isKey: (_d = match === null || match === void 0 ? void 0 : match.isKey) !== null && _d !== void 0 ? _d : field.isPrimaryKey,
|
|
172
|
+
};
|
|
173
|
+
});
|
|
174
|
+
}
|
|
90
175
|
/**
|
|
91
176
|
* Save a `LoadedForm` to the API in a single transactional request:
|
|
92
177
|
* - `POST /UdpForm/full` for a brand-new form.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { COMMON_KEYS } from "../common-keys";
|
|
2
|
+
import { optionalBooleanToggle } from "../toggles";
|
|
2
3
|
/**
|
|
3
4
|
* Table — `columns` is the only type-specific key. Each column is a
|
|
4
5
|
* `TableColumn` object (`{ uiKey?, id?, name, type, required?, aggregate?,
|
|
@@ -11,10 +12,17 @@ import { COMMON_KEYS } from "../common-keys";
|
|
|
11
12
|
* (`ensureTableColumnIds`) — those are stable column identifiers used as
|
|
12
13
|
* row keys on the wire, not engine concerns.
|
|
13
14
|
*
|
|
15
|
+
* `dataSource: 'domain'` switches the table onto the domain grid runtime:
|
|
16
|
+
* `columns` then holds `DomainTableColumn`s and the domain keys below apply.
|
|
17
|
+
* Absent = custom columns, so existing tables keep
|
|
18
|
+
* their exact wire shape.
|
|
19
|
+
*
|
|
14
20
|
* No cross-key constraints.
|
|
15
21
|
*/
|
|
16
22
|
export const tableSchema = {
|
|
17
23
|
keys: Object.assign(Object.assign({}, COMMON_KEYS), { columns: { type: 'array' },
|
|
18
24
|
// Row-count validation bounds (number-keyed: absent = rule off).
|
|
19
|
-
minRows: { type: 'number' }, maxRows: { type: 'number' }
|
|
25
|
+
minRows: { type: 'number' }, maxRows: { type: 'number' },
|
|
26
|
+
// Domain-lookup mode.
|
|
27
|
+
dataSource: { type: 'string', dropWhenEmpty: true }, domainLookupId: { type: 'string', dropWhenEmpty: true }, allowAddRows: optionalBooleanToggle() }),
|
|
20
28
|
};
|