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
|
@@ -2,16 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-CZB9dMeB.js');
|
|
4
4
|
var agGridEnterpriseV33 = require('ag-grid-enterprise-v33');
|
|
5
|
-
var apiUtils = require('./apiUtils-
|
|
6
|
-
var
|
|
5
|
+
var apiUtils = require('./apiUtils-tzjwn5aw.js');
|
|
6
|
+
var getCurrentApiCatalogId = require('./getCurrentApiCatalogId-D7xHCEzs.js');
|
|
7
7
|
var tenantUtils = require('./tenantUtils-BCKSE0vq.js');
|
|
8
8
|
var searchObject = require('./searchObject-mbqgqdRh.js');
|
|
9
|
-
var
|
|
10
|
-
var statusRenderer = require('./status-renderer-
|
|
11
|
-
var configureUdpColumnMods = require('./configureUdpColumnMods-
|
|
9
|
+
var lookupHelper = require('./lookupHelper-DACjrAcP.js');
|
|
10
|
+
var statusRenderer = require('./status-renderer-be4boc5r.js');
|
|
11
|
+
var configureUdpColumnMods = require('./configureUdpColumnMods-Cqxn_OaF.js');
|
|
12
|
+
var valueFormatters = require('./valueFormatters-CUoOypK3.js');
|
|
12
13
|
var lodashEs = require('lodash-es');
|
|
13
14
|
var makeApiCall = require('./makeApiCall-CFfg9gI0.js');
|
|
14
|
-
var configService = require('./configService-
|
|
15
|
+
var configService = require('./configService-DbfLqId2.js');
|
|
15
16
|
require('@fluentui/web-components/accordion.js');
|
|
16
17
|
require('@fluentui/web-components/accordion-item.js');
|
|
17
18
|
var core = require('@popperjs/core');
|
|
@@ -36,7 +37,7 @@ require('@fluentui/web-components/dialog-body.js');
|
|
|
36
37
|
require('@fluentui/web-components/divider.js');
|
|
37
38
|
require('@fluentui/web-components/drawer.js');
|
|
38
39
|
require('@fluentui/web-components/drawer-body.js');
|
|
39
|
-
var loadIcons = require('./load-icons-
|
|
40
|
+
var loadIcons = require('./load-icons-JeRXx4O7.js');
|
|
40
41
|
require('@fluentui/web-components/menu.js');
|
|
41
42
|
require('@fluentui/web-components/menu-item.js');
|
|
42
43
|
require('@fluentui/web-components/menu-button.js');
|
|
@@ -406,8 +407,12 @@ class SavedViews {
|
|
|
406
407
|
// ── Local Session Storage ─────────────────────────────────────────────────
|
|
407
408
|
this.getStorageKey = () => {
|
|
408
409
|
const tenantId = tenantUtils.getCurrentTenantId();
|
|
409
|
-
|
|
410
|
+
// A gridId shared by many entities opts in to keeping each entity's last state apart.
|
|
411
|
+
const context = this.api.getGridOption('context');
|
|
412
|
+
const scope = (context === null || context === void 0 ? void 0 : context.scopeStateByEntity) && context.entityName ? `-${context.entityName}` : '';
|
|
413
|
+
return `saved-grid-state-${this.gridId}-${tenantId}${scope}`;
|
|
410
414
|
};
|
|
415
|
+
this.readLocalState = () => localStorage.getItem(this.getStorageKey());
|
|
411
416
|
this.saveCurrentStateToLocalStorage = () => {
|
|
412
417
|
if (this.localStorageDebounceId !== null) {
|
|
413
418
|
clearTimeout(this.localStorageDebounceId);
|
|
@@ -611,8 +616,7 @@ class SavedViews {
|
|
|
611
616
|
this.refresh();
|
|
612
617
|
return;
|
|
613
618
|
}
|
|
614
|
-
const
|
|
615
|
-
const savedStateStr = localStorage.getItem(storageKey);
|
|
619
|
+
const savedStateStr = this.readLocalState();
|
|
616
620
|
if (savedStateStr) {
|
|
617
621
|
try {
|
|
618
622
|
this.localRestoredState = JSON.parse(savedStateStr);
|
|
@@ -852,7 +856,7 @@ class SavedViews {
|
|
|
852
856
|
...this.collectScopedSaveState(context === null || context === void 0 ? void 0 : context.gridId, view),
|
|
853
857
|
];
|
|
854
858
|
try {
|
|
855
|
-
await apiUtils.updateViewAndConfigurations(view.gridViewId, getUserId(), context === null || context === void 0 ? void 0 : context.gridId,
|
|
859
|
+
await apiUtils.updateViewAndConfigurations(view.gridViewId, getUserId(), context === null || context === void 0 ? void 0 : context.gridId, getCurrentApiCatalogId.getCurrentApiCatalogId(), view.name, saveState, view.isDefault ? 1 : 0, context === null || context === void 0 ? void 0 : context.entityName, (_a = view.gridViewVisibilityTypeId) !== null && _a !== void 0 ? _a : 1, () => null);
|
|
856
860
|
await this.fetchViews();
|
|
857
861
|
const updated = this.filteredViews.find(v => v.gridViewId === view.gridViewId);
|
|
858
862
|
if (updated)
|
|
@@ -946,8 +950,7 @@ class SavedViews {
|
|
|
946
950
|
return;
|
|
947
951
|
}
|
|
948
952
|
// Read localStorage immediately
|
|
949
|
-
const
|
|
950
|
-
const savedStateStr = localStorage.getItem(storageKey);
|
|
953
|
+
const savedStateStr = this.readLocalState();
|
|
951
954
|
if (savedStateStr) {
|
|
952
955
|
try {
|
|
953
956
|
this.localRestoredState = JSON.parse(savedStateStr);
|
|
@@ -1024,7 +1027,7 @@ class SavedViews {
|
|
|
1024
1027
|
...this.collectScopedSaveState(context === null || context === void 0 ? void 0 : context.gridId),
|
|
1025
1028
|
];
|
|
1026
1029
|
try {
|
|
1027
|
-
await apiUtils.saveView(getUserId(), context === null || context === void 0 ? void 0 : context.gridId,
|
|
1030
|
+
await apiUtils.saveView(getUserId(), context === null || context === void 0 ? void 0 : context.gridId, getCurrentApiCatalogId.getCurrentApiCatalogId(), name, context === null || context === void 0 ? void 0 : context.entityName, saveState, visibilityTypeId, 0, // not set as default
|
|
1028
1031
|
() => null);
|
|
1029
1032
|
await this.fetchViews();
|
|
1030
1033
|
const newView = this.filteredViews.find(v => v.name === name);
|
|
@@ -1044,7 +1047,7 @@ class SavedViews {
|
|
|
1044
1047
|
this.refresh();
|
|
1045
1048
|
const context = this.api.getGridOption('context');
|
|
1046
1049
|
try {
|
|
1047
|
-
await apiUtils.updateView(view.gridViewId, getUserId(), context === null || context === void 0 ? void 0 : context.gridId,
|
|
1050
|
+
await apiUtils.updateView(view.gridViewId, getUserId(), context === null || context === void 0 ? void 0 : context.gridId, getCurrentApiCatalogId.getCurrentApiCatalogId(), name, view.isDefault ? 1 : 0, context === null || context === void 0 ? void 0 : context.entityName, visibilityTypeId, () => null);
|
|
1048
1051
|
await this.fetchViews();
|
|
1049
1052
|
}
|
|
1050
1053
|
catch (err) {
|
|
@@ -1062,12 +1065,12 @@ class SavedViews {
|
|
|
1062
1065
|
const context = this.api.getGridOption('context');
|
|
1063
1066
|
const isCurrentlyDefault = view.isDefault;
|
|
1064
1067
|
try {
|
|
1065
|
-
await apiUtils.updateView(view.gridViewId, getUserId(), context === null || context === void 0 ? void 0 : context.gridId,
|
|
1068
|
+
await apiUtils.updateView(view.gridViewId, getUserId(), context === null || context === void 0 ? void 0 : context.gridId, getCurrentApiCatalogId.getCurrentApiCatalogId(), view.name, isCurrentlyDefault ? 0 : 1, context === null || context === void 0 ? void 0 : context.entityName, (_a = view.gridViewVisibilityTypeId) !== null && _a !== void 0 ? _a : 1, () => null);
|
|
1066
1069
|
if (!isCurrentlyDefault) {
|
|
1067
1070
|
// Unset the previous default if there was one
|
|
1068
1071
|
const currentDefault = this.filteredViews.find(v => v.isDefault);
|
|
1069
1072
|
if (currentDefault) {
|
|
1070
|
-
await apiUtils.updateView(currentDefault.gridViewId, getUserId(), context === null || context === void 0 ? void 0 : context.gridId,
|
|
1073
|
+
await apiUtils.updateView(currentDefault.gridViewId, getUserId(), context === null || context === void 0 ? void 0 : context.gridId, getCurrentApiCatalogId.getCurrentApiCatalogId(), currentDefault.name, 0, context === null || context === void 0 ? void 0 : context.entityName, (_b = currentDefault.gridViewVisibilityTypeId) !== null && _b !== void 0 ? _b : 1, () => null).catch(err => console.log(err));
|
|
1071
1074
|
}
|
|
1072
1075
|
}
|
|
1073
1076
|
await this.fetchViews();
|
|
@@ -1403,7 +1406,7 @@ class BulkActions {
|
|
|
1403
1406
|
],
|
|
1404
1407
|
});
|
|
1405
1408
|
}
|
|
1406
|
-
return this.toFilterOnlySearch(
|
|
1409
|
+
return this.toFilterOnlySearch(lookupHelper.composeSearchFragments(fragments));
|
|
1407
1410
|
}
|
|
1408
1411
|
}
|
|
1409
1412
|
// Individual SSRM picks and client-side selections: an IN over the selected row
|
|
@@ -1517,9 +1520,10 @@ class AdvancedSearch {
|
|
|
1517
1520
|
this.onOpen = params.callback;
|
|
1518
1521
|
}
|
|
1519
1522
|
onAction(name) {
|
|
1520
|
-
var _a;
|
|
1523
|
+
var _a, _b;
|
|
1521
1524
|
if (name === 'advancedSearch') {
|
|
1522
|
-
(_a = this.
|
|
1525
|
+
const { extraFields } = ((_a = this.api.getGridOption('context')) !== null && _a !== void 0 ? _a : {});
|
|
1526
|
+
(_b = this.onOpen) === null || _b === void 0 ? void 0 : _b.call(this, this.applied, this.apply, extraFields);
|
|
1523
1527
|
}
|
|
1524
1528
|
}
|
|
1525
1529
|
/**
|
|
@@ -1628,12 +1632,23 @@ class UdpExport {
|
|
|
1628
1632
|
(_e = (_d = this.params) === null || _d === void 0 ? void 0 : _d.callback) === null || _e === void 0 ? void 0 : _e.call(_d, searchObject, entityName);
|
|
1629
1633
|
this.openSheet(entityName, searchObject, rowCount, this.exportableColumns());
|
|
1630
1634
|
}
|
|
1635
|
+
/**
|
|
1636
|
+
* Columns that export a stored field. The request names the field, not the column id: an FK
|
|
1637
|
+
* column's id can be its label path (`UnitPayPeriod.Name`), which the export can't select.
|
|
1638
|
+
* Columns without a field (computed values, row actions) and those that opt out with
|
|
1639
|
+
* `context.export: false` aren't offered.
|
|
1640
|
+
*/
|
|
1631
1641
|
exportableColumns() {
|
|
1632
1642
|
return toggleableColumns(this.api)
|
|
1643
|
+
.filter(col => {
|
|
1644
|
+
var _a;
|
|
1645
|
+
const def = col.getColDef();
|
|
1646
|
+
return !!def.field && def.field !== 'actions' && ((_a = def.context) === null || _a === void 0 ? void 0 : _a.export) !== false;
|
|
1647
|
+
})
|
|
1633
1648
|
.map(col => {
|
|
1634
1649
|
var _a;
|
|
1635
1650
|
return ({
|
|
1636
|
-
field: col.
|
|
1651
|
+
field: col.getColDef().field,
|
|
1637
1652
|
headerName: (_a = col.getColDef().headerName) !== null && _a !== void 0 ? _a : col.getColId(),
|
|
1638
1653
|
visible: col.isVisible(),
|
|
1639
1654
|
locked: col.getColDef().lockVisible === true,
|
|
@@ -2707,6 +2722,73 @@ class ImageRenderer {
|
|
|
2707
2722
|
}
|
|
2708
2723
|
}
|
|
2709
2724
|
|
|
2725
|
+
const TAGS = {
|
|
2726
|
+
text: 'udp-fluent-text-input',
|
|
2727
|
+
number: 'udp-fluent-number-input',
|
|
2728
|
+
dropdown: 'udp-fluent-dropdown',
|
|
2729
|
+
checkbox: 'udp-fluent-checkbox',
|
|
2730
|
+
};
|
|
2731
|
+
/**
|
|
2732
|
+
* Always-visible UDP field in a cell. Edits write back with `node.setDataValue`, so the
|
|
2733
|
+
* grid fires `cellValueChanged` — read changes there. Keys stay in the field instead of
|
|
2734
|
+
* driving grid navigation; Tab moves between fields.
|
|
2735
|
+
*/
|
|
2736
|
+
class InputRenderer {
|
|
2737
|
+
init(params) {
|
|
2738
|
+
this.params = params;
|
|
2739
|
+
this.eGui = document.createElement('div');
|
|
2740
|
+
this.eGui.style.cssText = 'display: flex; width: 100%; height: 100%; align-items: center;';
|
|
2741
|
+
this.eGui.addEventListener('keydown', e => e.stopPropagation());
|
|
2742
|
+
this.field = document.createElement(TAGS[params.inputType]);
|
|
2743
|
+
this.field.style.width = params.inputType === 'checkbox' ? '' : '100%';
|
|
2744
|
+
this.field.includeErrorPadding = false;
|
|
2745
|
+
if (params.inputType === 'dropdown') {
|
|
2746
|
+
this.field.valueAs = 'value';
|
|
2747
|
+
this.field.multiple = !!params.multiple;
|
|
2748
|
+
}
|
|
2749
|
+
this.field.addEventListener('valueChanged', ((e) => {
|
|
2750
|
+
e.stopPropagation();
|
|
2751
|
+
this.params.node.setDataValue(this.params.column, this.parse(e.detail));
|
|
2752
|
+
}));
|
|
2753
|
+
this.apply(params);
|
|
2754
|
+
this.eGui.appendChild(this.field);
|
|
2755
|
+
}
|
|
2756
|
+
getGui() {
|
|
2757
|
+
return this.eGui;
|
|
2758
|
+
}
|
|
2759
|
+
refresh(params) {
|
|
2760
|
+
this.params = params;
|
|
2761
|
+
this.apply(params);
|
|
2762
|
+
return true;
|
|
2763
|
+
}
|
|
2764
|
+
apply(params) {
|
|
2765
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2766
|
+
const f = this.field;
|
|
2767
|
+
const value = params.value;
|
|
2768
|
+
f.ariaLabel = (_d = (_b = (_a = params.getAriaLabel) === null || _a === void 0 ? void 0 : _a.call(params, params)) !== null && _b !== void 0 ? _b : (_c = params.colDef) === null || _c === void 0 ? void 0 : _c.headerName) !== null && _d !== void 0 ? _d : '';
|
|
2769
|
+
f.disabled = (_f = (_e = params.isDisabled) === null || _e === void 0 ? void 0 : _e.call(params, params)) !== null && _f !== void 0 ? _f : false;
|
|
2770
|
+
if (params.placeholder !== undefined)
|
|
2771
|
+
f.placeholder = typeof params.placeholder === 'function' ? params.placeholder(params) : params.placeholder;
|
|
2772
|
+
// New options drop the dropdown's selection, so the value is set again after them.
|
|
2773
|
+
const optionsChanged = params.inputType === 'dropdown' && f.options !== params.options;
|
|
2774
|
+
if (optionsChanged)
|
|
2775
|
+
f.options = (_g = params.options) !== null && _g !== void 0 ? _g : [];
|
|
2776
|
+
if (params.inputType === 'checkbox') {
|
|
2777
|
+
f.checked = !!value;
|
|
2778
|
+
return;
|
|
2779
|
+
}
|
|
2780
|
+
// Compare parsed values: re-setting what the user is typing ("1." → 1) would reset the field.
|
|
2781
|
+
if (!optionsChanged && JSON.stringify((_h = this.parse(f.value)) !== null && _h !== void 0 ? _h : null) === JSON.stringify(value !== null && value !== void 0 ? value : null))
|
|
2782
|
+
return;
|
|
2783
|
+
f.value = value == null ? (params.multiple ? [] : '') : params.inputType === 'number' ? String(value) : value;
|
|
2784
|
+
}
|
|
2785
|
+
parse(detail) {
|
|
2786
|
+
if (this.params.inputType !== 'number')
|
|
2787
|
+
return detail;
|
|
2788
|
+
return detail === '' || detail == null || isNaN(Number(detail)) ? null : Number(detail);
|
|
2789
|
+
}
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2710
2792
|
class LinkRenderer {
|
|
2711
2793
|
init(params) {
|
|
2712
2794
|
var _a, _b, _c;
|
|
@@ -2774,20 +2856,6 @@ class AgGridSubtitleCellRenderer {
|
|
|
2774
2856
|
destroy() { }
|
|
2775
2857
|
}
|
|
2776
2858
|
|
|
2777
|
-
const dateTimeValueFormatter = params => {
|
|
2778
|
-
const value = params.value;
|
|
2779
|
-
if (value == null) {
|
|
2780
|
-
return '';
|
|
2781
|
-
}
|
|
2782
|
-
// First, parse the string into a Date object
|
|
2783
|
-
const dateObject = new Date(value);
|
|
2784
|
-
if (!dateObject) {
|
|
2785
|
-
return '';
|
|
2786
|
-
}
|
|
2787
|
-
// Now format the Date object into the desired "YYYY-MM-DD HH:mm:ss" string
|
|
2788
|
-
return `${dateObject.getFullYear()}-${String(dateObject.getMonth() + 1).padStart(2, '0')}-${String(dateObject.getDate()).padStart(2, '0')} ${String(dateObject.getHours()).padStart(2, '0')}:${String(dateObject.getMinutes()).padStart(2, '0')}`;
|
|
2789
|
-
};
|
|
2790
|
-
|
|
2791
2859
|
// UDP column style presets (see ag-grid-base.css). Each maps to a cell class
|
|
2792
2860
|
// `udp-col-<name>` and a header class `udp-col-<name>-header`.
|
|
2793
2861
|
const UDP_COL_PRESETS = [
|
|
@@ -2901,7 +2969,7 @@ function buildUdpPresetExcelStyles() {
|
|
|
2901
2969
|
return styles;
|
|
2902
2970
|
}
|
|
2903
2971
|
|
|
2904
|
-
const agGridBaseCss = () => `.variant-dark{--udp-grid-column-header-bg:#F8F9FA;--udp-grid-column-header-bg-hover:#dce6f2;--udp-grid-column-header-text:var(--primary-color-dark)}.variant-light{--udp-grid-column-header-bg:#f2f4f5;--udp-grid-column-header-bg-hover:#eef3f9;--udp-grid-column-header-text:var(--primary-color-dark)}::view-transition-group(*){animation-duration:0.2s}.grid-wrapper{display:flex;flex-direction:column;height:100%}#myNewGrid{flex:1}.ag-cell.udp-col-brand{background-color:var(--colorBrandBackground2) !important;color:var(--colorBrandForeground2)}.ag-header-cell.udp-col-brand-header{background-color:var(--colorBrandBackground2) !important}.ag-header-cell.udp-col-brand-header .ag-header-cell-text{color:var(--colorBrandForeground2)}.ag-cell.udp-col-danger{background-color:var(--colorPaletteRedBackground1) !important;color:var(--colorPaletteRedForeground1)}.ag-header-cell.udp-col-danger-header{background-color:var(--colorPaletteRedBackground1) !important}.ag-header-cell.udp-col-danger-header .ag-header-cell-text{color:var(--colorPaletteRedForeground1)}.ag-cell.udp-col-important{background-color:color-mix(in srgb, var(--colorNeutralForeground1) 20%, transparent) !important;color:var(--colorNeutralForeground1)}.ag-header-cell.udp-col-important-header{background-color:color-mix(in srgb, var(--colorNeutralForeground1) 20%, transparent) !important}.ag-header-cell.udp-col-important-header .ag-header-cell-text{color:var(--colorNeutralForeground1)}.ag-cell.udp-col-informative{background-color:color-mix(in srgb, var(--colorPaletteBlueBackground2) 20%, transparent) !important;color:color-mix(in srgb, var(--colorPaletteBlueForeground2) 85%, transparent)}.ag-header-cell.udp-col-informative-header{background-color:color-mix(in srgb, var(--colorPaletteBlueBackground2) 20%, transparent) !important}.ag-header-cell.udp-col-informative-header .ag-header-cell-text{color:color-mix(in srgb, var(--colorPaletteBlueForeground2) 85%, transparent)}.ag-cell.udp-col-severe{background-color:var(--colorPaletteDarkOrangeBackground1) !important;color:var(--colorPaletteDarkOrangeForeground1)}.ag-header-cell.udp-col-severe-header{background-color:var(--colorPaletteDarkOrangeBackground1) !important}.ag-header-cell.udp-col-severe-header .ag-header-cell-text{color:var(--colorPaletteDarkOrangeForeground1)}.ag-cell.udp-col-subtle{background-color:var(--colorNeutralBackground1) !important;color:var(--colorNeutralForeground3)}.ag-header-cell.udp-col-subtle-header{background-color:var(--colorNeutralBackground1) !important}.ag-header-cell.udp-col-subtle-header .ag-header-cell-text{color:var(--colorNeutralForeground3)}.ag-cell.udp-col-success{background-color:var(--colorPaletteGreenBackground1) !important;color:var(--colorPaletteGreenForeground1)}.ag-header-cell.udp-col-success-header{background-color:var(--colorPaletteGreenBackground1) !important}.ag-header-cell.udp-col-success-header .ag-header-cell-text{color:var(--colorPaletteGreenForeground1)}.ag-cell.udp-col-warning{background-color:var(--colorPaletteYellowBackground1) !important;color:var(--colorPaletteYellowForeground2)}.ag-header-cell.udp-col-warning-header{background-color:var(--colorPaletteYellowBackground1) !important}.ag-header-cell.udp-col-warning-header .ag-header-cell-text{color:var(--colorPaletteYellowForeground2)}`;
|
|
2972
|
+
const agGridBaseCss = () => `.variant-dark{--udp-grid-column-header-bg:#F8F9FA;--udp-grid-column-header-bg-hover:#dce6f2;--udp-grid-column-header-text:var(--primary-color-dark)}.variant-light{--udp-grid-column-header-bg:#f2f4f5;--udp-grid-column-header-bg-hover:#eef3f9;--udp-grid-column-header-text:var(--primary-color-dark)}::view-transition-group(*){animation-duration:0.2s}.grid-wrapper{display:flex;flex-direction:column;height:100%}#myNewGrid{flex:1}.ag-layout-auto-height .ag-center-cols-viewport{min-height:unset !important}.ag-cell.udp-col-brand{background-color:var(--colorBrandBackground2) !important;color:var(--colorBrandForeground2)}.ag-header-cell.udp-col-brand-header{background-color:var(--colorBrandBackground2) !important}.ag-header-cell.udp-col-brand-header .ag-header-cell-text{color:var(--colorBrandForeground2)}.ag-cell.udp-col-danger{background-color:var(--colorPaletteRedBackground1) !important;color:var(--colorPaletteRedForeground1)}.ag-header-cell.udp-col-danger-header{background-color:var(--colorPaletteRedBackground1) !important}.ag-header-cell.udp-col-danger-header .ag-header-cell-text{color:var(--colorPaletteRedForeground1)}.ag-cell.udp-col-important{background-color:color-mix(in srgb, var(--colorNeutralForeground1) 20%, transparent) !important;color:var(--colorNeutralForeground1)}.ag-header-cell.udp-col-important-header{background-color:color-mix(in srgb, var(--colorNeutralForeground1) 20%, transparent) !important}.ag-header-cell.udp-col-important-header .ag-header-cell-text{color:var(--colorNeutralForeground1)}.ag-cell.udp-col-informative{background-color:color-mix(in srgb, var(--colorPaletteBlueBackground2) 20%, transparent) !important;color:color-mix(in srgb, var(--colorPaletteBlueForeground2) 85%, transparent)}.ag-header-cell.udp-col-informative-header{background-color:color-mix(in srgb, var(--colorPaletteBlueBackground2) 20%, transparent) !important}.ag-header-cell.udp-col-informative-header .ag-header-cell-text{color:color-mix(in srgb, var(--colorPaletteBlueForeground2) 85%, transparent)}.ag-cell.udp-col-severe{background-color:var(--colorPaletteDarkOrangeBackground1) !important;color:var(--colorPaletteDarkOrangeForeground1)}.ag-header-cell.udp-col-severe-header{background-color:var(--colorPaletteDarkOrangeBackground1) !important}.ag-header-cell.udp-col-severe-header .ag-header-cell-text{color:var(--colorPaletteDarkOrangeForeground1)}.ag-cell.udp-col-subtle{background-color:var(--colorNeutralBackground1) !important;color:var(--colorNeutralForeground3)}.ag-header-cell.udp-col-subtle-header{background-color:var(--colorNeutralBackground1) !important}.ag-header-cell.udp-col-subtle-header .ag-header-cell-text{color:var(--colorNeutralForeground3)}.ag-cell.udp-col-success{background-color:var(--colorPaletteGreenBackground1) !important;color:var(--colorPaletteGreenForeground1)}.ag-header-cell.udp-col-success-header{background-color:var(--colorPaletteGreenBackground1) !important}.ag-header-cell.udp-col-success-header .ag-header-cell-text{color:var(--colorPaletteGreenForeground1)}.ag-cell.udp-col-warning{background-color:var(--colorPaletteYellowBackground1) !important;color:var(--colorPaletteYellowForeground2)}.ag-header-cell.udp-col-warning-header{background-color:var(--colorPaletteYellowBackground1) !important}.ag-header-cell.udp-col-warning-header .ag-header-cell-text{color:var(--colorPaletteYellowForeground2)}`;
|
|
2905
2973
|
|
|
2906
2974
|
const AgGridBase = class {
|
|
2907
2975
|
constructor(hostRef) {
|
|
@@ -3052,7 +3120,7 @@ const AgGridBase = class {
|
|
|
3052
3120
|
dateTimeString: {
|
|
3053
3121
|
baseDataType: 'dateTimeString',
|
|
3054
3122
|
extendsDataType: 'dateTimeString',
|
|
3055
|
-
valueFormatter: dateTimeValueFormatter,
|
|
3123
|
+
valueFormatter: valueFormatters.dateTimeValueFormatter,
|
|
3056
3124
|
},
|
|
3057
3125
|
boolean: {
|
|
3058
3126
|
baseDataType: 'boolean',
|
|
@@ -3066,9 +3134,11 @@ const AgGridBase = class {
|
|
|
3066
3134
|
excelStyles: [
|
|
3067
3135
|
...buildUdpPresetExcelStyles().filter(preset => { var _a, _b; return !((_b = (_a = this.gridOptions) === null || _a === void 0 ? void 0 : _a.excelStyles) !== null && _b !== void 0 ? _b : []).some(s => s.id === preset.id); }),
|
|
3068
3136
|
...((_b = (_a = this.gridOptions) === null || _a === void 0 ? void 0 : _a.excelStyles) !== null && _b !== void 0 ? _b : []),
|
|
3069
|
-
], components: Object.assign({ actionsRenderer: statusRenderer.ActionsRenderer, avatarRenderer: AvatarRenderer, iconRenderer: statusRenderer.IconRenderer, imageRenderer: ImageRenderer, linkRenderer: LinkRenderer, statusRenderer: statusRenderer.StatusRenderer, subtitleRenderer: AgGridSubtitleCellRenderer }, (_c = this.gridOptions) === null || _c === void 0 ? void 0 : _c.components), domLayout: 'normal', defaultColDef: Object.assign(Object.assign({ cellDataType: false, sortable: true, filter: true, flex: 1, minWidth: 150, suppressHeaderMenuButton: true }, (_d = this.gridOptions) === null || _d === void 0 ? void 0 : _d.defaultColDef), { filterParams: Object.assign({ buttons: ['reset', 'apply'], closeOnApply: true, maxNumConditions: 10 }, (_f = (_e = this.gridOptions) === null || _e === void 0 ? void 0 : _e.defaultColDef) === null || _f === void 0 ? void 0 : _f.filterParams) }) });
|
|
3137
|
+
], components: Object.assign({ actionsRenderer: statusRenderer.ActionsRenderer, avatarRenderer: AvatarRenderer, iconRenderer: statusRenderer.IconRenderer, imageRenderer: ImageRenderer, inputRenderer: InputRenderer, linkRenderer: LinkRenderer, statusRenderer: statusRenderer.StatusRenderer, subtitleRenderer: AgGridSubtitleCellRenderer }, (_c = this.gridOptions) === null || _c === void 0 ? void 0 : _c.components), domLayout: this.gridHeight === 'auto' ? 'autoHeight' : 'normal', defaultColDef: Object.assign(Object.assign({ cellDataType: false, sortable: true, filter: true, flex: 1, minWidth: 150, suppressHeaderMenuButton: true }, (_d = this.gridOptions) === null || _d === void 0 ? void 0 : _d.defaultColDef), { filterParams: Object.assign({ buttons: ['reset', 'apply'], closeOnApply: true, maxNumConditions: 10 }, (_f = (_e = this.gridOptions) === null || _e === void 0 ? void 0 : _e.defaultColDef) === null || _f === void 0 ? void 0 : _f.filterParams) }) });
|
|
3070
3138
|
agGridEnterpriseV33.createGrid(this.gridEl, gridOptions);
|
|
3071
3139
|
window.addEventListener('theme-changed', this.themeChangedHandler);
|
|
3140
|
+
if (this.gridHeight === 'auto')
|
|
3141
|
+
return;
|
|
3072
3142
|
if (this.gridHeight) {
|
|
3073
3143
|
this.gridEl.style.height = this.gridHeight;
|
|
3074
3144
|
}
|
|
@@ -3092,9 +3162,15 @@ const AgGridBase = class {
|
|
|
3092
3162
|
});
|
|
3093
3163
|
}
|
|
3094
3164
|
handleUpdateGridHeight(newVal) {
|
|
3165
|
+
var _a;
|
|
3095
3166
|
if (!this.gridEl)
|
|
3096
3167
|
return;
|
|
3097
|
-
|
|
3168
|
+
(_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.setGridOption('domLayout', newVal === 'auto' ? 'autoHeight' : 'normal');
|
|
3169
|
+
if (newVal === 'auto') {
|
|
3170
|
+
this.detachAutoHeight();
|
|
3171
|
+
this.gridEl.style.height = '';
|
|
3172
|
+
}
|
|
3173
|
+
else if (newVal) {
|
|
3098
3174
|
this.detachAutoHeight();
|
|
3099
3175
|
this.gridEl.style.height = newVal;
|
|
3100
3176
|
}
|
|
@@ -3121,7 +3197,7 @@ const AgGridBase = class {
|
|
|
3121
3197
|
this.updateGridContextValues();
|
|
3122
3198
|
}
|
|
3123
3199
|
render() {
|
|
3124
|
-
return (index.h("div", { key: '
|
|
3200
|
+
return (index.h("div", { key: 'f2cc1f79783cd64d0d357c6da9f5b1c6091c4ec5', ref: el => (this.gridContainerEl = el) }, index.h("ghost-render", { key: '79854dbf25791eb11a3973b914e70feda058f418' }, index.h("div", { key: '1520796da831bd1f7950abe99e1c217ae8fee75d' }, index.h("udp-dialog", { key: '61bd57fb2941746595aa48cbcb70b1a0c701cd76' }), index.h("udp-list-item", { key: '4874021aa61c85fec3999b64a575148b1ab3b338' }), index.h("hint-panel", { key: '4e38f3307a611192dc9b7957d2658a86bae6539e' }), index.h("udp-side-sheet", { key: '773fbc2addb8c79d5bf56430ebc5f61330bc4a1b' }), index.h("udp-fluent-dialog", { key: 'ed3521d67e05de24da3672148378aba324169b59' }), index.h("udp-fluent-text", { key: '24fa589cae7a5808fb07c306017560338cdb70a0' }), index.h("udp-fluent-text-input", { key: 'c72bfed3bf11b0920aed304620c3b2c1bb566ecd' }), index.h("udp-fluent-switch", { key: 'd76c6b5b39b111249a3771a6fb92bde98c866c8f' }), index.h("udp-fluent-button", { key: '93e616bc0927fbabec4d0f41cd57b62bda413f15' }), index.h("udp-text", { key: 'e4146473c6fe1ccf138b9986ce501704e002bf0c' }), index.h("udp-search-input", { key: 'c63a0d1a775a14f5e10be375832b3ee5effd22b6' }), index.h("udp-export-sheet", { key: '27b601e4abaedd15072cd44783f01e1776faf5c3' }), index.h("udp-fluent-drawer", { key: '530534c5b7d115d258bb1153522f4ffd8da415b7' }), index.h("udp-flexbox", { key: 'c5a2612724978f8c0fcd93486326d74bfac6a069' }), index.h("udp-accordion", { key: '162f420b6a2520a33b98e9624ff910cbcb378ba3' }), index.h("udp-popover", { key: '8a4750d4ae9794a43dccbfb332533bdfe0aeb2ac' }), index.h("udp-date-range-selector", { key: 'e59589420100a8c13016618881d89be40bd41376' }), index.h("udp-fluent-avatar", { key: 'c5815c67fcb7aa47f6dd7c9df1a5773bf7a9aaf2' }), index.h("udp-fluent-icon-button", { key: '7a3f4d6793cfd023ba00820d0b569cf6677dba1c' }), index.h("udp-fluent-icon", { key: '0f527e20c9e1f2c5c2d5c2a8a97891cb410da3e7' }), index.h("udp-fluent-badge", { key: '84bda25668f15dd2da9e422b29bbf11f73714ee8' }), index.h("udp-empty-state", { key: 'ae94919c458727206139c9519db0e719fe8ff3ab' }), index.h("udp-message-bar", { key: '9d00735ccd7669eba89fb7510c51595683cb10e1' }), index.h("udp-fluent-menu", { key: '73c20cbd18580bb81959b29eb0913cb0048ec36b' }), index.h("udp-fluent-number-input", { key: '88a0c5a2aa437e10acf13572cfecf85a7316f748' }), index.h("udp-fluent-dropdown", { key: 'a2377be744fe06ca85d7afc862ec395c7164b163' }), index.h("udp-fluent-checkbox", { key: '6be1e9601325a388b162d8ab9e4ba6e28c3a7353' }))), index.h("grid-header", { key: '52236f0b1251ca5a6004202d2ff960023e88ed97', headerConfig: this.headerConfig, gridFunctions: this.gridFunctions, gridFunctionInstances: this.gridFunctionInstances, refreshKey: this.refreshKey, onHeaderAction: this.onHeaderAction }), index.h("div", { key: '50a5a325005ec65d93872949aa7822f4c60cd181', ref: el => (this.gridEl = el) })));
|
|
3125
3201
|
}
|
|
3126
3202
|
static get watchers() { return {
|
|
3127
3203
|
"gridFunctions": [{
|
|
@@ -3189,7 +3265,7 @@ const ClientSideGrid = class {
|
|
|
3189
3265
|
this.clientSideConfig = Object.assign(Object.assign({}, this.gridOptions), { rowModelType: 'clientSide' });
|
|
3190
3266
|
}
|
|
3191
3267
|
render() {
|
|
3192
|
-
return (index.h("ag-grid-base", { key: '
|
|
3268
|
+
return (index.h("ag-grid-base", { key: 'de6ea5374b773c9221cd0f5ed6ffeb3d7f412fbf', columnDefs: this.columnDefs, gridOptions: this.clientSideConfig, headerConfig: this.gridHeaderConfig, onGridReady: e => this.handleGridReady(e), gridFunctions: this.gridFunctions, gridId: this.gridId, gridApiCallback: this.gridApiCallback, gridHeight: this.gridHeight }));
|
|
3193
3269
|
}
|
|
3194
3270
|
static get watchers() { return {
|
|
3195
3271
|
"rowData": [{
|
|
@@ -3275,7 +3351,7 @@ const GhostRender = class {
|
|
|
3275
3351
|
// The <slot /> is necessary to prevent the Stencil compiler from
|
|
3276
3352
|
// overly optimizing this component's output and aliasing the
|
|
3277
3353
|
// defineCustomElement export, which breaks downstream wrappers.
|
|
3278
|
-
return (index.h(index.Host, { key: '
|
|
3354
|
+
return (index.h(index.Host, { key: '49eb0c2ef023f09c39ef17830eeec36163067be8' }, index.h("slot", { key: '3551bcef49135623daf6175abb1879e4a6b2f408' })));
|
|
3279
3355
|
}
|
|
3280
3356
|
};
|
|
3281
3357
|
GhostRender.style = `:host {
|
|
@@ -3470,7 +3546,7 @@ const HintPanel = class {
|
|
|
3470
3546
|
};
|
|
3471
3547
|
}
|
|
3472
3548
|
render() {
|
|
3473
|
-
return (index.h("div", { key: '
|
|
3549
|
+
return (index.h("div", { key: 'a78ff0e81453f9a41fdc5ad6a508d491f521141c', class: "hint-container" }, this.showHint && (index.h("div", { key: '3a6c774ec83e7917218b2b56c69b5c6206cb47f2', class: "hint-content" }, index.h("div", { key: '60392c68a1e58fa0fc2ceaeafd1954bde43cb997' }, index.h("unity-typography", { key: '28779702b2bcc85a2162c5519d3a78fbe4389705', variant: "body" }, " ", this.hint, " ")), this.hideHintText && (index.h("div", { key: '45c9207bcb15e10e63944bd318521a4832190239', class: "hide-help" }, index.h("udp-button", { key: '6c9089d29e458cd88ce7031f00379c374c6d5a80', size: "small", color: "info", onClick: this.handleHideHint }, this.hideHintText)))))));
|
|
3474
3550
|
}
|
|
3475
3551
|
};
|
|
3476
3552
|
HintPanel.style = hintPanelCss();
|
|
@@ -3923,51 +3999,51 @@ const TestComponentsPage = class {
|
|
|
3923
3999
|
}
|
|
3924
4000
|
render() {
|
|
3925
4001
|
var _a;
|
|
3926
|
-
return (index.h("div", { key: '
|
|
4002
|
+
return (index.h("div", { key: '18fd1e2b16222d67939f34d584cb247541b9478d', style: { display: 'flex', flexDirection: 'column' } }, index.h("div", { key: '02bc01bb17c3c7043a5a9c3b8f5e3d86184981db', style: { display: 'flex', gap: '1rem', marginTop: '1rem' } }, index.h("udp-fluent-button", { key: 'd96728eef56f02ebedc75926e7b7122ea6d5d48f', onClick: () => (this.formDrawerOpen = true) }, "Open Form Drawer"), index.h("udp-fluent-button", { key: 'dc02ee28d0166c79db80aab04054eb848cd823b6', onClick: () => (this.drawerOpen = true) }, "Open Grid Drawer")), index.h("div", { key: 'c8b5a363454d10c9e195bd05346c0a6ca8dbcfcb', style: { display: 'flex', flexDirection: 'column', gap: '1rem', marginTop: '2rem' } }, index.h("h4", { key: '865584cb486ba2ac34c8d0e27c1c53b2cb8b8549' }, "Scroll Overflow Strategy"), index.h("udp-fluent-tablist", { key: 'e188f86b1802978af3df11a9d537ad326e5bc8a7', tabList: this.tabs, onTabChange: this.handleTabChange, appearance: "transparent", size: "small", orientation: "horizontal", overflowStrategy: "scroll" }, index.h("span", { key: '01db61a15f3c186741668732f188d4cf5c4f2e69', slot: "grids-start", style: { color: 'red', fontWeight: 'bold' } }, "!")), index.h("h4", { key: 'ecd3e1284dc579fa3ee1a5bb0363ea937a237ec5' }, "Collapse Overflow Strategy"), index.h("udp-fluent-tablist", { key: '4723b79239fe4436493d7efc260b670d34b284fa', tabList: this.tabs, onTabChange: this.handleTabChange, appearance: "contained", size: "small", orientation: "horizontal", overflowStrategy: "collapse" }, index.h("span", { key: 'b9e2a7dd5ad6301231b4dad70af656b1d3cd4685', slot: "grids-start", style: { color: 'red', fontWeight: 'bold' } }, "!")), index.h("div", { key: 'abeef3d7ee3bac5924c2592afd6f365b240326f5', style: { padding: '1rem', border: '1px solid #ccc' } }, index.h("udp-tab-panel", { key: 'eb61a803e375464e46b5f72dc820a627e9e7a96b', id: "buttons-inputs", activeTabId: this.currentTab }, index.h("div", { key: '2a0d8497841d0ab64ef0a30c169979965f8b64fb', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, index.h("h3", { key: 'f926cda24a1c4c13645f595f62e4e149c8c69c3a' }, "Buttons & Inputs"), index.h("div", { key: '2eb539af4874d85d24d421fac642b210f9c0c9c9', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-switch", { key: 'f70ffc102d721b889729ca56c4afb5c69001610b', label: "Toggle Loading", checked: this.isButtonLoading, onValueChanged: e => (this.isButtonLoading = e.detail) }), index.h("udp-fluent-button", { key: '54deb7b07a11b64733262b922fb2bf41fba6fb0c', loading: this.isButtonLoading, size: "medium" }, index.h("udp-fluent-icon", { key: 'f40c48bbcdbb758655c35cb9c523e9ccbe85c207', name: "calendar", size: "sm", slot: "start" }), "Loading Button")), index.h("div", { key: '165ea207e50619dc7e3a4067077bd40aafa78131' }, index.h("udp-fluent-button", { key: 'e9935ec628416eb61d29b44add2cca8e20e930b2', onClick: () => console.log('Click Me Clicked') }, "Click Me")), index.h("div", { key: '27a11ef59452800aaa14a7ae63f647866f4c8cc8' }, index.h("h4", { key: '462a47bc1e711b302a98f9e48d2ad8e71e932a3f' }, "New Icon Props"), index.h("div", { key: '0555ea5ba31b4b8a638f1e8f5d8740d14285f909', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-button", { key: '8419e42440e708e95d3bcc2175aff2cc0844cda4', startIconName: "checkmark", onClick: () => console.log('Start Icon Clicked') }, "Start Icon"), index.h("udp-fluent-button", { key: '15bbd7f6967d7230160555a25204e1c649aec7e1', size: "large", onClick: () => console.log('End Icon Clicked'), endIconName: "home" }, "End Icon"), index.h("udp-fluent-button", { key: 'e31c254a5d5fcf7ed42c6cc9906ac2f4570dcfe2', appearance: "primary", onClick: () => console.log('Primary Clicked') }, "Delete"), index.h("udp-fluent-button", { key: 'e2c3899cc38919f81965b8e1351abfbb904181ab', startIconName: "checkmark", onClick: () => console.log('Override Icon Clicked') }, index.h("span", { key: '589d0a176b8a3759abd6f029da097bf373648b59', slot: "start" }, index.h("udp-fluent-icon", { key: 'cc5d1485b7c194791c08a3dd0624a6c0a4fea36a', name: "home", size: "md" })), "Slotted icon override"))), index.h("div", { key: '18e7b1a88da22d46d65ce729564799249715830b' }, index.h("h4", { key: 'f00d7e99402e5139e85acb9bb7c0ebaf4ae6aaf1' }, "Compound Buttons"), index.h("div", { key: '1fbfb6479b72c893aaff808d32ec7e3e1177741f', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-compound-button", { key: 'dcf049f703ae704131f71347ea38bb3922f63f6c', description: "Hello World", startIconName: "calendar" }, "Compound Button"), index.h("udp-compound-button", { key: '51dd4ce06638e242a39a7523a4fe6023fabd28f8', appearance: "primary", description: "With End Icon", endIconName: "delete" }, "Primary"), index.h("udp-compound-button", { key: '40aa6de01635e457a77e36a462e9b5ece70342c6', description: "Custom Slot", size: "small", startIconName: "add", onClick: () => console.log('Compound Button Clicked') }, index.h("span", { key: '68d6738a7955ef9ef4dcd0267c95c75c492fbef3', slot: "description" }, "Slotted Description"), "Compound")), index.h("div", { key: 'abe6cf4a133eb05b365fc3a93efe3643df998c41', style: {
|
|
3927
4003
|
marginTop: '1rem',
|
|
3928
4004
|
display: 'flex',
|
|
3929
4005
|
gap: '1rem',
|
|
3930
4006
|
alignItems: 'center',
|
|
3931
|
-
} }, index.h("udp-fluent-switch", { key: '
|
|
4007
|
+
} }, index.h("udp-fluent-switch", { key: '77e7ee2da5edc3e263080ca571f4bc15e6fd8286', checked: this.isButtonLoading, onValueChanged: e => (this.isButtonLoading = e.detail) }, "Toggle Loading"), index.h("udp-compound-button", { key: 'e09407d6dca6f753aa2eb0ac93e7c7acc822153c', description: "Click switch to load", endIconName: "add", loading: this.isButtonLoading, onClick: () => console.log('Compound Button Clicked') }, "Loading Test"))), index.h("div", { key: '29348f0434db027ef4a6a238eb9c946f3389cb26' }, index.h("h4", { key: 'a418c179ddeddbe33e66880b77c3d86e5231321f' }, "Toggle Buttons"), index.h("div", { key: 'e0dbc3715ab95b1310278d68fdca21676288f663', style: { display: 'flex', gap: '1rem', alignItems: 'center', flexWrap: 'wrap' } }, index.h("udp-fluent-toggle-button", { key: '6465c73ccfaed104247188f188482bc87d30c40c' }, "Toggle Me"), index.h("udp-fluent-toggle-button", { key: 'cd950d0c4f997601e00eb4a8a718e4779bef1d0d', pressed: true, disabled: true }, "Disabled Pressed"), index.h("udp-fluent-toggle-button", { key: '9f2fe0d7e57db9edfee1919d47609d19ea5ef7f7' }, index.h("udp-fluent-icon", { key: '6f7cc6949d7a420a48c428368b111c0d01d135ea', name: "add", size: "sm", slot: "start" }), "Slotted icon"), index.h("udp-fluent-toggle-button", { key: '8e8efe7e763e03a117c8cfb35843b83ce910f458', endIconName: "settings" }, "End Icon Prop"), index.h("udp-fluent-toggle-button", { key: '3bd0fba6ceb225b06c0e0e3fed6b7d936f5f1ae7', size: "small", startIconName: "add" }, "Small"), index.h("udp-fluent-toggle-button", { key: '02bee72f400db00c372cb17c3af6e2bfe0fcc2b4', size: "large", endIconName: "delete" }, "Large"))), index.h("div", { key: '29ef4453c85d70b606e0c2e68b7fdfc3276c2eee' }, index.h("h4", { key: '74c9c72c7c428a447b2cf5f6faecc28fd3bb8ec9' }, "Icon Buttons (Dynamic Sizing)"), index.h("div", { key: 'f2f130a2fbf8dc32364004e931ac6274b4c6b165', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("div", { key: '378bfca260b5316241eda7e6dd1d9593a9cbd692', style: { display: 'flex', flexDirection: 'column', alignItems: 'center' } }, index.h("udp-fluent-icon-button", { key: '3e6a0946b466ca2676265f6cf844dcd9579e4784', iconName: "settings", size: "small", appearance: "primary", ariaLabel: "Edit" }), index.h("span", { key: '3334c4b877b21a39cba1af3ec8457f3cd9750f05', style: { fontSize: '12px' } }, "Small (Subtle)")), index.h("div", { key: '987df7d5312cb8c696ecd6cd90f70712ff820e68', style: { display: 'flex', flexDirection: 'column', alignItems: 'center' } }, index.h("udp-fluent-icon-button", { key: '5ae1c05c47b92b84605876cc9324a7eeb054ac47', iconName: "settings", size: "medium",
|
|
3932
4008
|
//appearance="primary"
|
|
3933
|
-
ariaLabel: "Delete" }), index.h("span", { key: '
|
|
4009
|
+
ariaLabel: "Delete" }), index.h("span", { key: '799a55733ec853ca5430dcd919b68e90f4c02dcd', style: { fontSize: '12px' } }, "Medium (Outline)")), index.h("div", { key: 'bf43d00c8b8611aea1b48d97442d2266edef4650', style: { display: 'flex', flexDirection: 'column', alignItems: 'center' } }, index.h("udp-fluent-icon-button", { key: '7ecc1f14f8d66e354e0d6b4e068d7a7828cc2a9b', iconName: "settings", size: "large", appearance: "primary", ariaLabel: "Settings" }), index.h("span", { key: '29a3c337b2453b571e148d71deae5e6a04e5653a', style: { fontSize: '12px' } }, "Large (Transparent)")))), index.h("div", { key: '400cdfc2d1839fe89b40b95527f1242041ddd6db' }, index.h("udp-loading-spinner", { key: '770d9fee14999347e87ea55faceb7b9f25413b3f', size: "tiny", appearance: "primary" })))), index.h("udp-tab-panel", { key: 'd5641ef1ee858b4dc3f4dcd4ccc0332f6ae2fe5c', id: "inputs", activeTabId: this.currentTab }, index.h("div", { key: 'e68258e8031fa7382fda939b1f43cf31ac0eee6a', style: { display: 'flex', gap: '1rem', flexDirection: 'column' } }, index.h("div", { key: '693f94ebca450627063bb2eed8271297874af0c0', style: {
|
|
3934
4010
|
padding: '1rem',
|
|
3935
4011
|
backgroundColor: 'var(--colorNeutralBackground3, #f5f5f5)',
|
|
3936
4012
|
borderRadius: '8px',
|
|
3937
4013
|
marginBottom: '1rem',
|
|
3938
|
-
} }, index.h("h3", { key: '
|
|
4014
|
+
} }, index.h("h3", { key: '513f34d525312dc44b9af7140713860633148104', style: { margin: '0 0 1rem 0', fontSize: '16px', fontWeight: '600' } }, "Global Property Controls"), index.h("div", { key: '470349665edd2838c398ed4b4aee6b76eb83d7aa', style: {
|
|
3939
4015
|
display: 'flex',
|
|
3940
4016
|
gap: '2rem',
|
|
3941
4017
|
flexWrap: 'wrap',
|
|
3942
4018
|
alignItems: 'flex-end',
|
|
3943
|
-
} }, index.h("udp-fluent-dropdown", { key: '
|
|
4019
|
+
} }, index.h("udp-fluent-dropdown", { key: 'b0fccc2c1c2e3d8a2d9131d0792e621b284a4846', label: "Appearance", value: this.inputControlAppearance, options: [
|
|
3944
4020
|
{ label: 'Outline', value: 'outline' },
|
|
3945
4021
|
{ label: 'Underline', value: 'underline' },
|
|
3946
4022
|
{ label: 'Filled Lighter', value: 'filled-lighter' },
|
|
3947
4023
|
{ label: 'Filled Darker', value: 'filled-darker' },
|
|
3948
|
-
], optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.inputControlAppearance = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '150px' } }), index.h("udp-fluent-dropdown", { key: '
|
|
4024
|
+
], optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.inputControlAppearance = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '150px' } }), index.h("udp-fluent-dropdown", { key: 'aaa49c92e538276c23688f8b0e6f1a7d3e127cf5', label: "Control Size", value: this.inputControlSize, options: [
|
|
3949
4025
|
{ label: 'Small', value: 'small' },
|
|
3950
4026
|
{ label: 'Medium', value: 'medium' },
|
|
3951
4027
|
{ label: 'Large', value: 'large' },
|
|
3952
|
-
], optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.inputControlSize = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '120px' } }), index.h("udp-fluent-switch", { key: '
|
|
4028
|
+
], optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.inputControlSize = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '120px' } }), index.h("udp-fluent-switch", { key: 'f4dd58ec18f4267e94f0b2c573f74f9327fffe12', label: "Required", labelPosition: "after", checked: this.inputControlRequired, onValueChanged: (e) => (this.inputControlRequired = e.detail) }), index.h("udp-fluent-switch", { key: '3be21e9c65642fef6a460dde0c8c40bbcca4cefb', label: "Disabled", labelPosition: "after", checked: this.inputControlDisabled, onValueChanged: (e) => (this.inputControlDisabled = e.detail) }), index.h("udp-fluent-switch", { key: '1c32caf01a25f329612fd842e0e783ffa7849b0e', label: "Readonly", labelPosition: "after", checked: this.inputControlReadonly, onValueChanged: (e) => (this.inputControlReadonly = e.detail) })), index.h("p", { key: 'e9f6b6f6220d1dfeb84fb20aeae02ce5c8463ae6', style: {
|
|
3953
4029
|
margin: '0.75rem 0 0',
|
|
3954
4030
|
fontSize: '12px',
|
|
3955
4031
|
color: 'var(--colorNeutralForeground3)',
|
|
3956
|
-
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), index.h("udp-fluent-text-input", { key: '
|
|
4032
|
+
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), index.h("udp-fluent-text-input", { key: '3dbd496aa3eb8f557ba4720715657caacca81eda', label: "Text Input", placeholder: "Enter text...", required: this.inputControlRequired, disabled: this.inputControlDisabled, readonly: this.inputControlReadonly, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: "test" }), index.h("udp-fluent-text-input", { key: '22c13753c68b77cbcc6db9b93d79fc283bf6e529', label: "Email Input", type: "email", placeholder: "Enter email...", required: this.inputControlRequired, disabled: this.inputControlDisabled, readonly: this.inputControlReadonly, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: "test@gmail.com" }), index.h("udp-fluent-text-input", { key: '182dfdfcaf6e89e16376776c3d930b66a8cad2c6', label: "Number Input", type: "number", placeholder: "Enter number...", required: this.inputControlRequired, disabled: this.inputControlDisabled, readonly: this.inputControlReadonly, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: '123' }), index.h("udp-date-input", { key: '94b9267893fd2d67ef4a1fcea9d6cff294d8481f', label: "Date Input", required: this.inputControlRequired, disabled: this.inputControlDisabled, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: '2026-01-30' }), index.h("udp-date-time-input", { key: '1fbf21ad7ecba02acf84cc1832651ba31599710c', label: "Date Time Input", required: this.inputControlRequired, disabled: this.inputControlDisabled, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: '2026-01-30T12:00:00' }), index.h("udp-time-input", { key: 'dbba7acae4f190cb62336a9d76577f137a7f0166', label: "Time Input", placeholder: "e.g. 2:30pm", hint: "Type any time or select from list", required: this.inputControlRequired, disabled: this.inputControlDisabled, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: '12:00' }), index.h("udp-textarea", { key: '8833f2692ff392241d2ca5a07d9864e163c394e1', label: "Textarea", placeholder: "Tell us about yourself...", autoResize: true, required: this.inputControlRequired, disabled: this.inputControlDisabled, readonly: this.inputControlReadonly, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: 'test' }), index.h("udp-fluent-dropdown", { key: 'db113f63b32df3e68f7c01db4ae2b9fdf7488fa5', label: "Dropdown", placeholder: "Select an option...", appearance: this.inputControlAppearance, disabled: this.inputControlDisabled, optionValue: "value", optionLabel: "label", options: [
|
|
3957
4033
|
{ label: 'Option 1', value: 'option1' },
|
|
3958
4034
|
{ label: 'Option 2', value: 'option2' },
|
|
3959
4035
|
{ label: 'Option 3', value: 'option3' },
|
|
3960
|
-
], controlSize: this.inputControlSize, multiple: true }), index.h("udp-autocomplete", { key: '
|
|
4036
|
+
], controlSize: this.inputControlSize, multiple: true }), index.h("udp-autocomplete", { key: '95c1b10281dbcaead9ee9ace69b876a98b022396', label: "Autocomplete", placeholder: "Type to search...", appearance: this.inputControlAppearance, disabled: this.inputControlDisabled, optionValue: "value", optionLabel: "label", options: [
|
|
3961
4037
|
{ label: 'Apple', value: 'apple' },
|
|
3962
4038
|
{ label: 'Banana', value: 'banana' },
|
|
3963
4039
|
{ label: 'Cherry', value: 'cherry' },
|
|
3964
4040
|
{ label: 'Date', value: 'date' },
|
|
3965
4041
|
{ label: 'Elderberry', value: 'elderberry' },
|
|
3966
|
-
], controlSize: this.inputControlSize }), index.h("udp-fluent-checkbox", { key: '
|
|
4042
|
+
], controlSize: this.inputControlSize }), index.h("udp-fluent-checkbox", { key: 'b3fc1e57916a147d5736749b526751bfca871a80', label: "Checkbox", hint: "Check me!", disabled: this.inputControlDisabled, controlSize: this.inputControlSize, checked: true }), index.h("udp-fluent-switch", { key: '97d1d64178f414b8223655f9307f26b6294682dd', label: "Switch", labelPosition: "after", disabled: this.inputControlDisabled, checked: true }), index.h("udp-slider", { key: '905aafcb2c5fe754e23039aa440c4caade3f62f6', label: "Slider", min: "0", max: "100", hint: "Slide to adjust value", disabled: this.inputControlDisabled, value: '50' }), index.h("udp-fluent-radio-group", { key: 'c732b48e0748b267eeb64188bd16f536289dac8e', label: "Radio Group", disabled: this.inputControlDisabled, items: [
|
|
3967
4043
|
{ label: 'Option A', value: 'a' },
|
|
3968
4044
|
{ label: 'Option B', value: 'b' },
|
|
3969
4045
|
{ label: 'Option C', value: 'c' },
|
|
3970
|
-
], value: "a" }))), index.h("udp-tab-panel", { key: '
|
|
4046
|
+
], value: "a" }))), index.h("udp-tab-panel", { key: 'd97e34e16715ae7d0829eff6088266e1e1a7e260', id: "data-display", activeTabId: this.currentTab }, index.h("div", { key: 'cb2671d8c031c9f539cd3ed620ff63e0332c171e', style: { display: 'flex', flexDirection: 'column', gap: '3rem' } }, index.h("div", { key: '86ba6ac4a3c453dd1df106ac96f8a06b400d3b88' }, index.h("h3", { key: '669f25398ab074d2ce9e0c8e1c27ab714f0c78d5' }, "Tree Example - Animal Kingdom (Conservation Status)"), index.h("p", { key: '0b70be4351b3ac875a4f1b7341e7d3207e677ac0', style: { fontSize: '14px', color: '#6b7280', marginBottom: '1rem' } }, "Explore the animal kingdom with conservation status, population data, and more."), index.h("udp-tree", { key: 'f4922134ab3830c448d3caafc3073eadebba3ead', treeItems: this.animals, itemContent: "name", itemStart: "emoji", itemEnd: this.getStatusBadge, itemAside: this.getItemAside, size: "medium", appearance: "subtle" })), index.h("div", { key: '9d2b4dc4c14dd3acdf44e58f621077f67b1a52c5' }, index.h("h3", { key: 'ae6e716e5e2a3096429af9a23e5e170f15642c9c' }, "Accordion Example"), index.h("udp-accordion", { key: '8c2821a2b3e27f3d284b6816e365c2d7cf396a96', items: [
|
|
3971
4047
|
{
|
|
3972
4048
|
id: 'simple',
|
|
3973
4049
|
label: 'Simple Item (Default)',
|
|
@@ -4002,29 +4078,29 @@ const TestComponentsPage = class {
|
|
|
4002
4078
|
id: 'complex-slotted',
|
|
4003
4079
|
// complex content provided via slots below
|
|
4004
4080
|
},
|
|
4005
|
-
] }, index.h("span", { key: '
|
|
4081
|
+
] }, index.h("span", { key: 'b66732cfea7bfe725e23c7635a7b621622cdfc4b', slot: "complex-slotted-heading" }, index.h("div", { key: '0a7f608027d0777a5e82a1a65710e780289fa7f4', style: { display: 'flex', alignItems: 'center', gap: '8px' } }, index.h("udp-fluent-icon", { key: '0d09c3aedff74e787b2037c059b910cdcc1e19bd', name: "star", size: "md" }), index.h("span", { key: 'b206a765ef525b083b2c4928bc8ba93fe91b009d' }, "Complex Slotted Header"), index.h("udp-chip", { key: '9bcfea59f286926e2c984628510b2febf13c7cc4', label: "New", color: "success", size: "small", variant: "filled" }))), index.h("div", { key: 'c8ee672ddf03254b0b9740bc60dce81557f02f95', slot: "complex-slotted-content" }, index.h("p", { key: 'e38a0ded0a6baab06e8f7c042d5de0cf45c1eb04' }, "This content uses slots for complete control.", index.h("br", { key: 'dd9edf909e97fac78f1f89957b4e244c2127eb7f' }), index.h("span", { key: '5ef30ce5d8a2494c9c6aaeb751767511716459c3', style: { fontSize: '12px', color: 'gray' } }, "(Try adding buttons, forms, or any component here)")), index.h("div", { key: '323ccf8edc9c48bc39176cf0909617008f5477fa', style: { marginTop: '8px' } }, index.h("udp-fluent-button", { key: '6f68a4ba87fbf2d8bbc43e4a557156b27656f4d9', size: "small" }, "Action A"), index.h("udp-fluent-button", { key: '56be5791276760bcd7f05fd2cfb749422775e5f2', size: "small", appearance: "outline" }, "Action B"))))), index.h("div", { key: 'd02d94d9be847faa1709d1e4a68516d77f7c7db3' }, index.h("h3", { key: 'fee65b325dff74c7bf934e4fec42dbf3155f4e94' }, "Auto-Wrapping Tooltip"), index.h("udp-tooltip", { key: '34d0c49953196771799789f63ef5b904e3c4a19c', positioning: "above", content: "This works with Shadow DOM!" }, index.h("udp-fluent-button", { key: '784d77c9bd4519d2a437f309d9b161bde1deb7c4' }, "Hover me"))), index.h("div", { key: '8eb47166f7ad4e61ef8935335d3c3263d57c4f5a' }, index.h("h3", { key: 'c7eaf4de0b577199bd0ae32d5f041dce2f51eea9' }, "Message Bar Example"), index.h("div", { key: '5bd59b72cb678981cc957eb5c8ff6a43a36e1d07', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, index.h("udp-message-bar", { key: '31d5c36e13bd4d51d4bab07200a283262fefbe4d', intent: "info" }, "This is an informational message bar."), index.h("udp-message-bar", { key: '2e38698ce837366237bfe5b750df9457e086d340', intent: "warning" }, "This is a warning message bar."), index.h("udp-message-bar", { key: 'cd3e427b54465fc89e1fb0cc6630a8d876ff8afb', intent: "error" }, "This is an error message bar with actions.", index.h("udp-fluent-button", { key: '8062f967f35abac9592e68a62313908458a41ab6', slot: "actions", appearance: "outline", size: "small" }, "Resolve")), this.showMessageBar && (index.h("udp-message-bar", { key: 'caf4885994aa2c24f7a2293b58ce06f308e159b4', intent: "success", shape: "square" }, "This is a success message bar (square).", index.h("udp-icon", { key: '6f6cba2fd518ab0d4e6167a96e62c49112a53cae', iconName: "add", slot: "icon" }), index.h("udp-fluent-icon-button", { key: '687306eec350a667762ea6be4de0165422c7fb19', iconName: "dismiss", shape: "circular", appearance: "subtle", ariaLabel: "Close drawer", onClick: () => (this.showMessageBar = false), slot: "dismiss" }))))), index.h("div", { key: 'a6b8ba45f3b1c446f4234b3ae2bc7a1023b22209' }, index.h("h3", { key: 'd2abc1af7289acee227d7453f79c0958690356f5' }, "Progress Bar Examples"), index.h("h4", { key: 'ddacffd4686af357700ca2ef7d28967046ec27c2' }, "Indeterminate"), index.h("udp-progress-bar", { key: '4ef7e742ada98154ac081859c5c1f75bba9d1961', thickness: "large" }), index.h("h4", { key: 'aa0f1525da28713b217eb3bf6b11b8e8780bce84' }, "Determinate (Success)"), index.h("udp-progress-bar", { key: 'cb9bca3fd9363a661e1f78dac6d4b4369a578c14', value: 75, validationState: "success", shape: "square" }), index.h("h4", { key: 'b27052b858bda8ff312cd4ea90dd19a5c8e6e533' }, "Interactive"), index.h("div", { key: 'd7241c016eb7f6a60c62964c0c1886c54cb4f33c', style: {
|
|
4006
4082
|
display: 'flex',
|
|
4007
4083
|
gap: '1rem',
|
|
4008
4084
|
alignItems: 'center',
|
|
4009
4085
|
marginBottom: '1rem',
|
|
4010
|
-
} }, index.h("udp-fluent-text-input", { key: '
|
|
4086
|
+
} }, index.h("udp-fluent-text-input", { key: '25fa00eb84d36df1561fd63429b27be640dbe209', label: "Set Progress", type: "number", value: (_a = this.progressValue) === null || _a === void 0 ? void 0 : _a.toString(), onValueChanged: e => (this.progressValue = parseInt(e.detail)) })), index.h("udp-progress-bar", { key: 'fc1e22576cd1acae21307f80388c9f1182bba1c9', value: this.progressValue, min: 0, max: 100, shape: "square" })), index.h("div", { key: 'bf51a5ba241328220b0ffd0bf10aa8a18df83ad5' }, index.h("h3", { key: 'c6dab2c6ecbf39e3e029b32194969cb050f6ef46' }, "Divider Examples"), index.h("p", { key: 'd1b2424e9bd793ee449d28452d88aa39481fdf80' }, "Default Divider:"), index.h("udp-fluent-divider", { key: 'd96dd4b454a939aa2351374637b49a71800cab1c' }), index.h("p", { key: 'ff0a186881e1723e4a5ff83f7f81eda3be8c79d6' }, "Align Content:"), index.h("udp-fluent-divider", { key: 'fef45a9fbed856ca138198fdce91e51db7d6fc12', "align-content": "start" }, "Start"), index.h("udp-fluent-divider", { key: '7b62454ed6951d49a164aabec1be847b9cf9f985', "align-content": "center" }, "Center"), index.h("udp-fluent-divider", { key: '82190bf35ec0b7601c762407ffdf036ab9067393', "align-content": "end" }, "End"), index.h("p", { key: '58f6d634eda9a2546028255dbaed2e59e2f3f8dd' }, "Appearance:"), index.h("udp-fluent-divider", { key: 'd470d247e6ba0762b240807a25bd8e78686eb6e4', appearance: "strong" }, index.h("udp-icon", { key: '978c37c09cfea4209a4056bb9438078de0f0c1b2', iconName: "add" })), index.h("div", { key: '70da8077e765bc299412d79bcb0453829c84c566', style: { height: '10px' } }), index.h("udp-fluent-divider", { key: 'd48b95b6bd32e32627b6a21b8d4d894327c91d74', appearance: "brand" }, "Brand"), index.h("div", { key: '8de5fb22b4bb7c83c4bca20eae0323f6aa32ea85', style: { height: '10px' } }), index.h("udp-fluent-divider", { key: 'fa7e332332fb57b289209203c77675deed195369', appearance: "subtle" }, "Subtle"), index.h("p", { key: '018be2298666fe3c83790020b2ce1463474f2734' }, "Vertical Divider (inside flex container):"), index.h("div", { key: '7d462f49deeb78d74d46621974387d66cba1c308', style: {
|
|
4011
4087
|
display: 'flex',
|
|
4012
4088
|
height: '50px',
|
|
4013
4089
|
alignItems: 'center',
|
|
4014
4090
|
border: '1px solid #ccc',
|
|
4015
4091
|
padding: '10px',
|
|
4016
|
-
} }, index.h("span", { key: '8c92b588e0ce6d680299900e872ecf1b83ea4ef6' }, "Item 1"), index.h("udp-fluent-divider", { key: 'ac670e8728e86b259963a9b5cb8b60a68d2af07b', orientation: "vertical" }), index.h("span", { key: '64273f23f08844d0f2e5cc6225f058f6513af282' }, "Item 2"), index.h("udp-fluent-divider", { key: 'df2dbb976e2d83d8eebe607e43b686b359baef78', orientation: "vertical", appearance: "brand" }), index.h("span", { key: 'be9474d6e7b30fcd6c211ffab38e0d08dad5a508' }, "Item 3"))), index.h("div", { key: 'cfcbd4ca6912e200fbe40078c10ce766e5af839e' }, index.h("h3", { key: '190a491545df2cdb08a0d5b4cb68e0737b2863e8' }, "Fluent Icon Examples"), index.h("p", { key: '91396ee260f1e728ee5689f8ec9f463791fb3f7f' }, "Basic usage (new simplified API):"), index.h("div", { key: '3af714fd99015f0422bdf335d2361a2b5a0c55cc', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: '15917118b424768cafab454f6b93f11dbdc5fab4', name: "add" }), index.h("udp-fluent-icon", { key: '28b2def8ff76f0b9ff5e7afbb0f3d5f38d9a9f78', name: "home" }), index.h("udp-fluent-icon", { key: '1750fd69f1708530e95432aad8f3faa1b5be2c0e', name: "settings" })), index.h("p", { key: '0152d8844544e93e7745cb92ec1bb6f7339fa8a6' }, "Colored:"), index.h("div", { key: '2cd57620b53acea6db22f9004da6de3aa00d5ebb', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: '3936e5a63965e05729d1532f5b3bb8a7d5a50ee0', name: "add", variant: "filled", color: "green" }), index.h("udp-fluent-icon", { key: 'de12083e929af616a5165aa18a8b8b3cfdb022c9', name: "delete", color: "red" })), index.h("p", { key: '8f976c69d0d18d3b8e869adc19d7a267107f28c4' }, "Sizes (xs=16px, sm=20px, md=24px, lg=28px):"), index.h("div", { key: '2efe4d8046e2a31992f408a043bada0dcca9b0be', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: 'f84e1a86c50163333088dbac56314c6a6e84d808', name: "home", size: "xs" }), index.h("udp-fluent-icon", { key: '16157719c8f4866e30ed1e125d68ec40e3f01cef', name: "home", size: "sm" }), index.h("udp-fluent-icon", { key: '1fa07db545f49646fccb543609d9e42d685815bf', name: "home", size: "md" }), index.h("udp-fluent-icon", { key: '62ce1ed3976ed4fb8f745669cd9615105515ade8', name: "home", size: "lg" })), index.h("p", { key: '743a4e9117b4fe77dd20d414ce3b2b65fff999ce' }, "Variants (regular vs filled):"), index.h("div", { key: '8bfe6255bf2da19a129ab705f62ea0528f6301ac', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: '4fd9cc68f90f8bdf86595b72546755b35297a024', name: "star", variant: "regular", size: "lg" }), index.h("udp-fluent-icon", { key: '7334bea31b94c47853d038d2f7a81dcae028d477', name: "star", variant: "filled", size: "lg", color: "gold" }))))), index.h("udp-tab-panel", { key: '9db2f82fba1a0a05e59d31ee6fd46c6272ffce28', id: "text", activeTabId: this.currentTab }, index.h("div", { key: '83af21bbf7efc0eccb2032cdf0cd19de10188342', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, index.h("h3", { key: '8b368f4a3f5210f4239ee29a3e78307c6e067e4f' }, "Text Component - All Variants"), index.h("div", { key: 'acd9be76cc701c72b33426f72f9632f53a553089' }, index.h("h4", { key: '6ea9334d927891b1f2afebe1efdc393205fc6811' }, "Display Variant"), index.h("udp-text", { key: 'cb90cdef80605123c77ea8780b8b8fad94457b70', variant: "display" }, "Display Text (h1)")), index.h("div", { key: '0594a8081302411cc4f0149aa5d819f4b6d3b280' }, index.h("h4", { key: 'd1dc30fea186aaaefebc8e848bc4b0b990bd4a17' }, "Large Title Variant"), index.h("udp-text", { key: '13d20906d11dc483541d20ccceecbd2df94055ee', variant: "largeTitle" }, "Large Title Text (h2)")), index.h("div", { key: '0b413bfc4fe784f30058c182fdda9d199c716f62' }, index.h("h4", { key: 'e339075c4ba3cae25fda3836b6b961b1e5954d1b' }, "Title Variants"), index.h("udp-text", { key: '0a97e37ed06f85256524ab0e227a3fdbc6392012', variant: "title1" }, "Title 1 Text (h3)"), index.h("udp-text", { key: 'c0d011cc198ba56ce8551c481ef08aa6cdd51566', variant: "title2" }, "Title 2 Text (h4)"), index.h("udp-text", { key: '5ef752ca16ee82bd3937f9c69ee540ba8afb0c50', variant: "title3" }, "Title 3 Text (h5)")), index.h("div", { key: 'a5468878fc77f6b8846d41e18a6c30e812a81d30' }, index.h("h4", { key: '153af75a4ad4aa62e6eccf011c4bee7d50ea101e' }, "Subtitle Variants"), index.h("udp-text", { key: '9f3a7f3b9dad9366559c561ae20c36686a3b985f', variant: "subtitle1" }, "Subtitle 1 Text (h6, medium weight)"), index.h("udp-text", { key: 'ef5bb59cb9b9a58897f03393fbe5d6f155bda435', variant: "subtitle2" }, "Subtitle 2 Text (h6, semibold weight)")), index.h("div", { key: '219faaa502fe2e7760ea24719bc688abf5000295' }, index.h("h4", { key: '084e2272cc2c2cbf3726f5ccecc7ecd3eed582dd' }, "Body Variants"), index.h("udp-text", { key: 'b37b9c076c3f17cf2600b280a28b6719814e460a', variant: "body1" }, "Body 1 Text (p) - This is the default variant. Lorem ipsum dolor sit amet, consectetur adipiscing elit."), index.h("udp-text", { key: 'b7209e5c8aa847e2205f27b678ef897ba20c3174', variant: "body1Strong" }, "Body 1 Strong - Semibold weight for emphasis."), index.h("udp-text", { key: 'ba26ead95e1541f147c214cd9c382e7b10382e07', variant: "body1Stronger" }, "Body 1 Stronger - Bold weight for strong emphasis."), index.h("udp-text", { key: '27c9c7f8af8dd15acd11d91ada9da9ab2c71a7fe', variant: "body2" }, "Body 2 Text - Slightly larger than body1.")), index.h("div", { key: '73a1bd101121e9140db1bc82f1d19640550b34cc' }, index.h("h4", { key: 'c073ada3dda83054cc769338252736f067cb9999' }, "Caption Variants"), index.h("udp-text", { key: 'bfdede800d3dbc749435a44344f070df797e9d18', variant: "caption1" }, "Caption 1 Text (span, inline)"), index.h("br", { key: '0d841b519988a32b49b5eeea9b046e3a9b7f8711' }), index.h("udp-text", { key: 'b59d1ade577840b4e326b4237b331e00c4820de5', variant: "caption1Strong" }, "Caption 1 Strong (semibold)"), index.h("br", { key: '54e8e7482eea9c382f391eb2f6e9a41e74c8c2f9' }), index.h("udp-text", { key: '26e51ac111ccde52d83fb73320b3a972dc3d06a6', variant: "caption1Stronger" }, "Caption 1 Stronger (bold)"), index.h("br", { key: '7e32158fa44653f354bf3cf2fad4783459983a8c' }), index.h("udp-text", { key: 'a218c9abe6264d6342247235fca255b5c8f3c98d', variant: "caption2" }, "Caption 2 Text (span, inline, smaller)"), index.h("br", { key: '1553d008e5ad42c3f1065169ef5a74795ea68e63' }), index.h("udp-text", { key: '4d1e1d680649fc27c99a8b0d278c5f1a70d9167f', variant: "caption2Strong" }, "Caption 2 Strong (semibold)")), index.h("div", { key: 'e87d3c95bbff0a53ebea6e4f6c33c2a86186ac19' }, index.h("h4", { key: '3540e4dd7e4732ca0d27dfc6b49dc4e6c3cbd87c' }, "Text Alignment"), index.h("udp-text", { key: 'bf4f919ac0a3500ecf4eb2d015aa69444a40c2ef', variant: "body1", align: "start" }, "Aligned to start"), index.h("udp-text", { key: '307c05c629fee01863dfc51f9e69bb4c09b5fd16', variant: "body1", align: "center" }, "Centered text"), index.h("udp-text", { key: 'a45d93359c5183f976710b0357139a11da8675f2', variant: "body1", align: "end" }, "Aligned to end")), index.h("div", { key: 'c66792670689674d8368e8f23c8153aeddec3157' }, index.h("h4", { key: 'a8bf1cf71f79e6807cf5a4c75bf4d3ec5d620f1f' }, "Text Styling"), index.h("udp-text", { key: '88b71d91243c6a41dd7ef2ba64b6d3ad48e67613', variant: "body1", italic: true }, "Italic text"), index.h("udp-text", { key: '72e838042af8cf6950aafd4f9a234ca21d20a245', variant: "body1", underline: true }, "Underlined text"), index.h("udp-text", { key: 'b2fd7fe317b3624753fc672f16a41be2b66051e9', variant: "body1", strikethrough: true }, "Strikethrough text"), index.h("udp-text", { key: 'b2bc1d0653ca6a89484f8bc9c8b6d95edf55271b', variant: "body1", weight: "bold" }, "Bold text")), index.h("div", { key: 'd48fdc3fecf267ceb2870cfb74018460e5adbd48' }, index.h("h4", { key: '454e4fce9a96297e585346073ffa9372a55f73e9' }, "Custom Semantic Tags"), index.h("udp-text", { key: 'fe9c336cb8efcf9d326364f7b0182318ff7af3c3', as: "h1" }, "text as h1 element"), index.h("udp-text", { key: '7f1cfa6315cbb2c82a346c6336a49dcdf86b0608', variant: "caption1", as: "p" }, "Caption text as paragraph")), index.h("div", { key: '40f582a367d1c44926809633c03a66057254e52e' }, index.h("h4", { key: '005155481a80ea0d7047cd7dd5715796e156cfe2' }, "Font Variants"), index.h("udp-text", { key: '67be68d64d536939231a867c7df2b92cfa9f6c09', variant: "body1", font: "base" }, "Base font (default)"), index.h("udp-text", { key: '567e609c000db897373538ea6ee4b81d9d0fc323', variant: "body1", font: "numeric" }, "Numeric font: 1234567890"), index.h("udp-text", { key: '3390a98f6fe68347b3a31c44a226988c1a9676f4', variant: "body1", font: "monospace" }, "Monospace font: const x = 42;")), index.h("div", { key: '18ed7e064583035272aeba32ce31a67cf5f637fc' }, index.h("h4", { key: '221d81530105636147f9c4ca0886a2a52f13b0d6' }, "Size Override"), index.h("udp-text", { key: '0c5ce80d5a5040aaa2151867f4b2044033a59b6e', variant: "body1", size: "200" }, "Body variant with size 200"), index.h("udp-text", { key: '7e18d7980f5ac91e29d0f18a12234f86e90e1716', variant: "body1", size: "600" }, "Body variant with size 600"), index.h("udp-text", { key: 'f1412636857185dd8f102ca1eb3947dd951f517a', variant: "body1", size: "1000" }, "Body variant with size 1000")), index.h("div", { key: 'd0200e30db936f030cb961a0231fc033d37e2ff6' }, index.h("h4", { key: '4caa25b87caf88ddadbc72e58ee531b7bc605449' }, "Lists"), index.h("udp-text", { key: 'd3176b87e06d9c8e5d382271f5e672b6dcde5883', variant: "body1", as: "ul" }, index.h("li", { key: '416077dcbaf5d53f75e62df19b770b1a735feb9e' }, "First list item"), index.h("li", { key: '04fbb0b39f49b81a10f6b8053753c32676c68ef7' }, "Second list item"), index.h("li", { key: 'dc6ef2fb3f78ccfc892c5449726473844d5c9ab7' }, "Third list item")), index.h("udp-text", { key: '62481148871dd5bc604eebfe09f48cef7d0c33ea', variant: "body1", as: "ol" }, index.h("li", { key: '2a03d35219ff23d3c638f82a147d87b51e1a81a1' }, "First ordered item"), index.h("li", { key: 'bd683585dd8d149fa51e11ec6618099555b8b745' }, "Second ordered item"), index.h("li", { key: 'e3f4fe46ef255704f824221dd26632a0150322a1' }, "Third ordered item"))))), index.h("udp-tab-panel", { key: '0d1e1ef1bb4750094bab0432778ebfbccbc854f1', id: "menus", activeTabId: this.currentTab }, index.h("div", { key: 'f2756e002f43c7ac80b8813a98c8dbab5118d266', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, index.h("div", { key: '8c6b85b98bca1284d4d70756d28a387426e91329' }, index.h("udp-fluent-menu", { key: 'f2c178275639d52ced39a9edbd1451e01a9b1a16', items: this.nestedMenuItems, label: "Nested Menu" })), index.h("div", { key: 'bf1b5c8c78c93fe8c51dd5d377c0fa168c5d7483' }, index.h("udp-fluent-menu", { key: '54d97e24052656e46953994886e54d3fcf011b8d', items: this.sectionedMenuItems, label: "Sectioned Menu", endIconName: "add" })), index.h("div", { key: '6acdc5b81be01e792aaeba3b82ac2616880e3ea9' }, index.h("udp-fluent-menu", { key: 'ea09b525fc86ec1f1a41a75235ba61d8adbe8d97', items: this.iconMenuItems, label: "Icons & Slots", startIconName: "grid_20_regular" }, index.h("div", { key: '1b8bba35b24bc0d69001f15738b83cd3db2081c0', slot: "slot-test-start", style: { color: 'magenta', fontSize: '20px' } }, "\u2605"), index.h("span", { key: 'c8622139907b2237a930e2cbe2102d35bcabc849', slot: "slot-test-end", style: {
|
|
4092
|
+
} }, index.h("span", { key: '9c536758a479932f8f4f54614cb180e9c1aa78cb' }, "Item 1"), index.h("udp-fluent-divider", { key: '2ad56a2c8e5f52e6a8f8092f3de5e28e1824e039', orientation: "vertical" }), index.h("span", { key: '19dedd768b1c3648ca60be64f0a356d961a329ce' }, "Item 2"), index.h("udp-fluent-divider", { key: 'c6786fdab46bc71d75ae3efb464aac11cc17c909', orientation: "vertical", appearance: "brand" }), index.h("span", { key: '773cbe3e42de7cef18ca8276bf3c0f881b4762fe' }, "Item 3"))), index.h("div", { key: '1e21d5271014c6c140206f4a2ecbb8de98e3138e' }, index.h("h3", { key: 'eeb2482a54835838f07c839d40221f8cbdf9f755' }, "Fluent Icon Examples"), index.h("p", { key: 'd2ca68ced36bcfa7ed903e3cbc703874b35e73ae' }, "Basic usage (new simplified API):"), index.h("div", { key: '64160db90bfae6e46d6667932b8ac0f65c3384d7', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: '319909555a11f617af725045b314924b5651f683', name: "add" }), index.h("udp-fluent-icon", { key: '30fa70dd5749b09c6d6829f36c8d108e1cb27216', name: "home" }), index.h("udp-fluent-icon", { key: 'd5e9c72d7727683c623e49020c278b84e2291612', name: "settings" })), index.h("p", { key: 'e8f94640df5d28636a8cfc3194607a5660aab17d' }, "Colored:"), index.h("div", { key: 'd8a3b6b83070363a1bfe7fe2bc291e07e22fc405', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: 'bc10d66fe0642c0c9ad026e0c319954a490f262b', name: "add", variant: "filled", color: "green" }), index.h("udp-fluent-icon", { key: 'ff2db398450d840cce52a979caf8111be44cdd0b', name: "delete", color: "red" })), index.h("p", { key: 'fbbab90b75bb6a7720f3bda0dc7d7e5dbe0270ae' }, "Sizes (xs=16px, sm=20px, md=24px, lg=28px):"), index.h("div", { key: '26174d1a6f0e684b34fdf0280be394508801c597', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: 'd06924017cbd8e479bd353ae38f538a7404f7817', name: "home", size: "xs" }), index.h("udp-fluent-icon", { key: '59eb40f32db2fd5f72a930aed63c89d40bf38218', name: "home", size: "sm" }), index.h("udp-fluent-icon", { key: '0952b306ca9757a4fced2d928202f290adb12c10', name: "home", size: "md" }), index.h("udp-fluent-icon", { key: '655e5bd595009c4766846882b60b48d02f93f5bc', name: "home", size: "lg" })), index.h("p", { key: '5bad35bab2833570c01e89f9fddeb343e4ff41ac' }, "Variants (regular vs filled):"), index.h("div", { key: '0386e72896a59312ca908ee485347ad0c558cfb5', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: '7b50d25b4e561b926c9394c91d020aa0148eb9a1', name: "star", variant: "regular", size: "lg" }), index.h("udp-fluent-icon", { key: 'fe858546a164c7e32a91be32d8c662d25698c939', name: "star", variant: "filled", size: "lg", color: "gold" }))))), index.h("udp-tab-panel", { key: 'd62878961d3b0a8f4394472999d83a4d220c5acb', id: "text", activeTabId: this.currentTab }, index.h("div", { key: '2a51515fe0369799a67209dbc59f4d6a35082d5c', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, index.h("h3", { key: '5406c5f3e4702e22fac9bd8624da447fd4f9c0ae' }, "Text Component - All Variants"), index.h("div", { key: '6dee4043ffe919ef8a1e9005ed413754c9e93454' }, index.h("h4", { key: '698afdde200edac50edc2279022fba23461eabe8' }, "Display Variant"), index.h("udp-text", { key: '182931dd756158f3833985bf78b1573abf99307f', variant: "display" }, "Display Text (h1)")), index.h("div", { key: 'fcc308404f8f80aab3973443438c01752e708bb5' }, index.h("h4", { key: 'b3c1721c93ee8d989c4f7d94dc45ce8f5edec7fe' }, "Large Title Variant"), index.h("udp-text", { key: '7eea714831f7d53ee2e42ff6d16786d82f5a28ee', variant: "largeTitle" }, "Large Title Text (h2)")), index.h("div", { key: '084c1f1ea26b0991cb5596359f652d4d92d1f717' }, index.h("h4", { key: 'f24333c26493e41b20a3d438d1d310dd6cf86504' }, "Title Variants"), index.h("udp-text", { key: '4105b06c86225350a0319cb3a8286546774edf6d', variant: "title1" }, "Title 1 Text (h3)"), index.h("udp-text", { key: '58019fca85b3139ea2412a565e2e7fd418cef8b5', variant: "title2" }, "Title 2 Text (h4)"), index.h("udp-text", { key: '6a4ff548636e6850abf3d4230ca10a85eb338ff9', variant: "title3" }, "Title 3 Text (h5)")), index.h("div", { key: '9572a763eec350f4d5fa1b378bb18cc9418d3f3d' }, index.h("h4", { key: 'e2e8c2ce6f90a1b38751a99bdb2776bf459ae278' }, "Subtitle Variants"), index.h("udp-text", { key: '27a83dac7688da2d2a1e9f75aa8218b029d054ec', variant: "subtitle1" }, "Subtitle 1 Text (h6, medium weight)"), index.h("udp-text", { key: '0d372ac0feebf01c6a334e902d215d84c1e3a529', variant: "subtitle2" }, "Subtitle 2 Text (h6, semibold weight)")), index.h("div", { key: '2dc356d1d41e8211a69af5ec04ba8fd3dd1066b0' }, index.h("h4", { key: 'b5eb4df494afeb6ab3a64456f02331e9f677a9bf' }, "Body Variants"), index.h("udp-text", { key: '441e5a312f1976a9535cbe7b1b578188996b0d37', variant: "body1" }, "Body 1 Text (p) - This is the default variant. Lorem ipsum dolor sit amet, consectetur adipiscing elit."), index.h("udp-text", { key: '4623e2b4a5a98c2c401234a047aceee96ed0058b', variant: "body1Strong" }, "Body 1 Strong - Semibold weight for emphasis."), index.h("udp-text", { key: 'f8b4081602ad5aad71f560761915079d3c0864c4', variant: "body1Stronger" }, "Body 1 Stronger - Bold weight for strong emphasis."), index.h("udp-text", { key: 'f069c935c137e27b3298a33c5549dbd40151d4ad', variant: "body2" }, "Body 2 Text - Slightly larger than body1.")), index.h("div", { key: '92e71c442484dcaf6f5d50d220e7b81b35e752ba' }, index.h("h4", { key: 'e59f7adb2b362a1b296a07203183887544ce6c9d' }, "Caption Variants"), index.h("udp-text", { key: 'd6d79b95c544a10d314237e7b3a5419a822c4228', variant: "caption1" }, "Caption 1 Text (span, inline)"), index.h("br", { key: '4878a0e239a4a4f26434959643aacdd80a56d8be' }), index.h("udp-text", { key: 'b20f5042b9ef57e8591df1fc4fb79b0d6e76c12f', variant: "caption1Strong" }, "Caption 1 Strong (semibold)"), index.h("br", { key: '4140d1dc1fe1875750dd8a3f5c5fee4468de05fa' }), index.h("udp-text", { key: 'c3d656195c21bd994dc6b38cd44a8b7020916756', variant: "caption1Stronger" }, "Caption 1 Stronger (bold)"), index.h("br", { key: '928c8f55d6d119867fce39628a9279c963dde66a' }), index.h("udp-text", { key: '19e2a178e47327f6928fb8eaade9e39abecf0c60', variant: "caption2" }, "Caption 2 Text (span, inline, smaller)"), index.h("br", { key: '26feafd43024da6028049304f37ba6962655791f' }), index.h("udp-text", { key: '116068aa1aafa8c8636d57bacd38f2c262fb34e0', variant: "caption2Strong" }, "Caption 2 Strong (semibold)")), index.h("div", { key: '334b24a6919dee7556bb1f03866665cb8d5dfac8' }, index.h("h4", { key: '6c359cae16b4daa9b357b6630b2e1c9c6870bce9' }, "Text Alignment"), index.h("udp-text", { key: '1c499722ff2f1e880ab4a6a98b5b8b9ab6251cfb', variant: "body1", align: "start" }, "Aligned to start"), index.h("udp-text", { key: 'f90b7cbbb10ea87d67b5426646240443eb54fae4', variant: "body1", align: "center" }, "Centered text"), index.h("udp-text", { key: 'fb3656d44b60ebc7242929b38ba1fea377e59ff8', variant: "body1", align: "end" }, "Aligned to end")), index.h("div", { key: '0a3097287df0e606466f4e247bf69c5591eb2766' }, index.h("h4", { key: 'b83eb383b2a24f5bb3e64d0bf320787ad5384879' }, "Text Styling"), index.h("udp-text", { key: '23865f82140cf41ddcbc004651d4b0268e20ac20', variant: "body1", italic: true }, "Italic text"), index.h("udp-text", { key: 'e076a86c6c5604eec9d355bceceb07ca08726b9d', variant: "body1", underline: true }, "Underlined text"), index.h("udp-text", { key: '9191664a3061ff2874fd2a480c488f6a81a6e58b', variant: "body1", strikethrough: true }, "Strikethrough text"), index.h("udp-text", { key: '244202da0b3e7b8126e19eabda79cd21cff1d14f', variant: "body1", weight: "bold" }, "Bold text")), index.h("div", { key: '05265de3226b634e5dc56f91ac80d0e247afa084' }, index.h("h4", { key: 'cf06f1181bfb82b7f2af014f3be03605e264e8af' }, "Custom Semantic Tags"), index.h("udp-text", { key: '657d7572ea44cd24a9943ecd99c1c8f4c2a63735', as: "h1" }, "text as h1 element"), index.h("udp-text", { key: 'e2c2b0200ebf140e97c72b9a0c9ab342efa96bf6', variant: "caption1", as: "p" }, "Caption text as paragraph")), index.h("div", { key: 'c64e48f04f6dc09c629ed89190af101d1ed7ef14' }, index.h("h4", { key: '088c6ecb22631ec61eb78931ae75b01aec209e2b' }, "Font Variants"), index.h("udp-text", { key: '55bba0a3ca3539a56643dc6ee2e4452596871237', variant: "body1", font: "base" }, "Base font (default)"), index.h("udp-text", { key: '8038865ff3b4ef68f5452c464945e1119d6fffd5', variant: "body1", font: "numeric" }, "Numeric font: 1234567890"), index.h("udp-text", { key: 'c9ecfb61f7a9c7a5b33f6dd45e7df8864cbaa438', variant: "body1", font: "monospace" }, "Monospace font: const x = 42;")), index.h("div", { key: '09a6b9dc94ae8c582441dc10f2c0dcc9f097c335' }, index.h("h4", { key: '471508e89ef5b726edb99a189bf1ace26e022718' }, "Size Override"), index.h("udp-text", { key: '6d092d9e124da036500edcda958c215bc4e56538', variant: "body1", size: "200" }, "Body variant with size 200"), index.h("udp-text", { key: '136fa67d986293e3c09ed0b06ef9e99b36b5a9b4', variant: "body1", size: "600" }, "Body variant with size 600"), index.h("udp-text", { key: '3c2eedf3725966fa9b040f1e0b6550a20c0db341', variant: "body1", size: "1000" }, "Body variant with size 1000")), index.h("div", { key: '3d2bc1889a4190f943fbf0e4ee1395c36140b0ae' }, index.h("h4", { key: '9ac13dcda3c4f36cac11083fb44bf5e6c5c765c1' }, "Lists"), index.h("udp-text", { key: '64afa7ce209a0beb957ad98bf029644d17cb02bb', variant: "body1", as: "ul" }, index.h("li", { key: '8e8f8569bf015abb2cc16ffcb8c9668fc23e0c73' }, "First list item"), index.h("li", { key: '54d36c89797a74bf7e20fbcef2f0b2a8088e442a' }, "Second list item"), index.h("li", { key: 'ece784851c9ff8895f01fd5352b076c0e4391d25' }, "Third list item")), index.h("udp-text", { key: '27fc9fc87e6d386ca15b51c8db55affccc4bcb35', variant: "body1", as: "ol" }, index.h("li", { key: '1c11d240c6536a62b15d4e08517cae86e35831f2' }, "First ordered item"), index.h("li", { key: 'f0846f8a15b7a8ac98b8a8ef0203702290b1b355' }, "Second ordered item"), index.h("li", { key: 'd9d384f26b47901fef3c388743f09060cd82b6f7' }, "Third ordered item"))))), index.h("udp-tab-panel", { key: 'fd89c62b0489b1ebfa53eb41ae66422b8128c909', id: "menus", activeTabId: this.currentTab }, index.h("div", { key: '4d6a6184ecdf173fa19329af7d6d40802cdd3fb5', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, index.h("div", { key: '1182437d253ba4963e2c4d1564b5012cec7b4645' }, index.h("udp-fluent-menu", { key: '2b7a985deb1924cd302e7decf4ed45d7c7e28efe', items: this.nestedMenuItems, label: "Nested Menu" })), index.h("div", { key: '2d3472e8ace0545d3b524be490216034980bc97a' }, index.h("udp-fluent-menu", { key: '67183e747481208903d9f7afef5d97d8e46b6659', items: this.sectionedMenuItems, label: "Sectioned Menu", endIconName: "add" })), index.h("div", { key: '14c646efae143204866d324a007207326ff4cb79' }, index.h("udp-fluent-menu", { key: 'a8a2bb49977be00993aff9dd82f2349f96b8af0b', items: this.iconMenuItems, label: "Icons & Slots", startIconName: "grid_20_regular" }, index.h("div", { key: '07476735edbce517fe0e6dc34d2035bbd4217be9', slot: "slot-test-start", style: { color: 'magenta', fontSize: '20px' } }, "\u2605"), index.h("span", { key: '1017731d54414564b262452a0479f43ed69e6f54', slot: "slot-test-end", style: {
|
|
4017
4093
|
backgroundColor: 'red',
|
|
4018
4094
|
color: 'white',
|
|
4019
4095
|
borderRadius: '4px',
|
|
4020
4096
|
padding: '2px 6px',
|
|
4021
4097
|
fontSize: '10px',
|
|
4022
|
-
} }, "NEW"), index.h("span", { key: '
|
|
4098
|
+
} }, "NEW"), index.h("span", { key: 'd42909b25a70d86be30c03f8a8de476a9fd01ea2', slot: "end-slot-item-end", style: { color: 'magenta', fontSize: '12px' } }, "Custom"))), index.h("div", { key: 'a57cbdc0895ea5cc1c9c302a5c7d619efc5c4390', style: {
|
|
4023
4099
|
display: 'flex',
|
|
4024
4100
|
justifyContent: 'flex-end',
|
|
4025
4101
|
border: '1px dashed #ccc',
|
|
4026
4102
|
padding: '1rem',
|
|
4027
|
-
} }, index.h("span", { key: '
|
|
4103
|
+
} }, index.h("span", { key: 'c3d0076b82d21442358947711057ee16160515a6', style: { marginRight: 'auto' } }, "Menu Overflow Test (far right):"), index.h("udp-tooltip", { key: 'fc54d73d9fa7e52c06c064693749f7767534678e', positioning: "before", content: "More Options" }, index.h("udp-fluent-menu", { key: '7fc2e3046fa12727c27148379b2744a8ddf93e9f', items: this.radioMenuItems, onCheckedChange: e => console.log('Radio item changed:', e.detail), label: "Radio Groups", buttonType: "icon", endIconName: "more_horizontal_20_regular", shape: "circular", appearance: "transparent", openOnContext: true }))), index.h("div", { key: '51525e6acadf8e9fdd051c9ba04b904292e92fbd' }, index.h("h3", { key: '9c3860f49bdaa324f661553313d3237d2037bed6' }, "New Radio Group Example"), index.h("udp-fluent-menu", { key: '4ddebab79636311097fe0425c2b265a132e0e70f', items: this.newRadioGroupItems, label: "Select Option", onCheckedChange: e => console.log('New Radio Group Change:', e.detail) })), index.h("div", { key: 'c4433cc35abeec6a9d255900159246b884eeafc4', style: { padding: '1rem', border: '1px dashed #ccc' } }, index.h("h3", { key: 'd51bb00957015b3818f3de5f741a56a84efc2964' }, "Menu at Bottom (Testing onClick handlers)"), index.h("udp-fluent-menu", { key: '3fa73810bcc2d5cec4c9e344739ebee4b2e669b2', items: this.checkboxMenuItems, onCheckedChange: e => console.log('Checked changed:', e.detail), label: "Checkbox Groups", buttonType: "split", onPrimaryClick: () => console.log('Primary clicked'), shape: "circular" }, index.h("udp-icon", { key: '827f24cfa29ece9751728ec614043f1a2f5d8512', slot: "start", iconName: "add" }))))), index.h("udp-tab-panel", { key: '01bdd6349ecd8e59cd583be14b609c3a07bad1d1', id: "grids", activeTabId: this.currentTab }, index.h("udp-lazy-loader", { key: '9cef28dda34711c3de6159bdc6b1c5c68536b6c1', if: this.currentTab === 'grids', content: () => (index.h("client-side-grid", { columnDefs: [
|
|
4028
4104
|
{ field: 'make' },
|
|
4029
4105
|
{ field: 'model' },
|
|
4030
4106
|
{ field: 'price' },
|
|
@@ -4035,7 +4111,7 @@ const TestComponentsPage = class {
|
|
|
4035
4111
|
{ make: 'Toyota', model: 'Celica', price: 35000 },
|
|
4036
4112
|
{ make: 'Ford', model: 'Mondeo', price: 32000 },
|
|
4037
4113
|
{ make: 'Porsche', model: 'Boxster', price: 72000 },
|
|
4038
|
-
] })) })), index.h("udp-tab-panel", { key: '
|
|
4114
|
+
] })) })), index.h("udp-tab-panel", { key: 'c1c9cceb2ac50b7de4dd74b50012ca476e161340', id: "dialogs", activeTabId: this.currentTab }, index.h("div", { key: '416b77faa86aac29eac332aad604ef568484fae1' }, index.h("udp-fluent-button", { key: '201516452195e1baadc7eec26608647f30a5e1e5', onClick: () => (this.dialogOpen = true) }, "Open Dialog"), index.h("udp-fluent-dialog", { key: '49232447ba0df58abc820fe4b460ca3919f07f0d', open: this.dialogOpen, dialogTitle: "Example Dialog", onDialogClose: () => (this.dialogOpen = false) }, index.h("div", { key: '240b7d42f7ea0f8273aa53a8e36a8261866b5c50' }, "This is a simple dialog example."), index.h("udp-fluent-button", { key: 'cba55c22f6b985ea55c9e8cb9fa9276ed6a0a282', slot: "action", onClick: () => (this.dialogOpen = false) }, "Custom Close"), index.h("udp-fluent-button", { key: '4bd90b737ae61ff31fd09b26b3603117e68733e4', appearance: "primary", slot: "action" }, "Confirm")))), index.h("udp-tab-panel", { key: 'b4f84e76a1f5e45f5724fcf1d7cdeca8b0063c4f', id: "cards", activeTabId: this.currentTab }, index.h("div", { key: '7e317c4f9bdf0162227c38f2f089514d1a23140d', style: { display: 'flex', flexDirection: 'column', gap: '2rem', padding: '1rem' } }, index.h("h3", { key: '26826e6f71f6f23af6c4c6a7908d5d8194ca25a6' }, "Cards"), index.h("h4", { key: '93e85b109345db368075bd2dcb29e302cb3e93f5' }, "Basic & Outlined (Default)"), index.h("div", { key: 'ac7a40343038b132bd5ccaa00b29e5c4de842e9d', style: { display: 'flex', gap: '1rem', flexWrap: 'wrap' } }, index.h("udp-fluent-card", { key: '226e9537c34f6a3b6515a3b6fa2e9d8241ce232f', appearance: "filled" }, index.h("div", { key: 'f69c0d0820615927e2c850fb5c1628c0de74f807', slot: "header" }, index.h("h3", { key: '6b2b69d8f2b75023b3f86577f1adb2fa911c3cf5', style: { margin: '0' } }, "Basic Card"), index.h("span", { key: '49fd4fb23eb12b59a49e22c163e3b5e68f7f9617', style: { fontSize: '12px', color: 'var(--colorNeutralForeground2)' } }, "This is a basic outlined card")), index.h("span", { key: '1958f4a9d3255fd627b06f12e053e80be5bf5c33' }, "Card content goes here. The card handles its own slots for header, preview, and footer."))), index.h("h4", { key: '8ef4a47f26367fe14f4935df416d732e782ffe13' }, "Elevated & Media"), index.h("div", { key: '59d96c97f981d2dfeb6b4102a6832226504f62ba', style: { display: 'flex', gap: '1rem', flexWrap: 'wrap' } }, index.h("udp-fluent-card", { key: '169997145ec4a93bfcdeef67f46a75e1544bedbd', appearance: "filled", interactive: true, label: "With shadow & interactive", subtitle: "This card uses the filled appearance and has a preview image." }, index.h("img", { key: 'b159d8cae1571c920aadfec9691a497a2ea30d07', slot: "preview", src: "https://images.unsplash.com/photo-1557683316-973673baf926?w=600&h=400&fit=crop", alt: "Abstract gradient preview" }), index.h("span", { key: '6f13e00c60960195d591b22d72df24cf056ebdc0' }, "Card content"), index.h("div", { key: '5c16735c28a4873f1f01527b221655446bcb6903', slot: "footer", style: { display: 'flex', gap: '8px' } }, index.h("udp-fluent-button", { key: '2d4b50386253dfa82e1db37dd903d01363d8e501', size: "small" }, "Action 1"), index.h("udp-fluent-button", { key: 'c7493600d70bd19d17031d4d2af0b8df8439653e', size: "small", appearance: "outline" }, "Action 2"))), index.h("udp-fluent-card", { key: '4b4718beb8ec41f9d8fc9393a9b8e01e8baab78b', appearance: "subtle", label: "Prop provided title", subtitle: "Prop provided subtitle" }, index.h("span", { key: '2367a949a814965c083697edb45017e76c0f4b7b' }, "This card uses the subtle appearance. Good for lists or less emphasized content."), index.h("div", { key: '1176538faa87404782e9d0f65079d3de39bc32f0', slot: "footer" }, index.h("udp-fluent-button", { key: '02bd1beca76572b5c00296e0a8274cefd78b119e', appearance: "primary" }, "Dismiss"))), index.h("udp-fluent-card", { key: '93d293b30bd6eebd417c2dbf33c28097df8000f8', appearance: "outline", label: "Card with Action", subtitle: "Header action example", width: "320px" }, index.h("udp-fluent-icon-button", { key: 'ff078690c2129a72c1ae61900deebea2d5442b5e', slot: "header-action", iconName: "more_horizontal_20_regular", appearance: "subtle", ariaLabel: "More options", onClick: () => console.log('More clicked') }), index.h("span", { key: 'e7a503cd35a4b99e6f3152af234693c9becb6f71' }, "This card demonstrates the header-action slot with an icon button.")), index.h("udp-fluent-card", { key: '9a8cbe79e1441d638821d40d655100c04fc8753a', appearance: "muted" }, index.h("h4", { key: 'de8099642a2f4b8863e9342fac54202b307be708', slot: "header", style: { margin: '0' } }, "Muted Card"), index.h("span", { key: '9208311696eada89468b706563e8160df92af5c4' }, "Flat with subtle grey shading."))), index.h("h4", { key: 'f5244fbc1c5a311ee5d42d83ba61705e94fd4f95' }, "Horizontal & Sized"), index.h("div", { key: '13c9e100e5c99b65ae55df33a2fe3a007b652592', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, index.h("udp-fluent-card", { key: '7309744aae94f2138748b1825634e9eeca6693ae', orientation: "horizontal", width: "400px" }, index.h("div", { key: '8c2d46b2d6ca78be6c4e67a3c4fa5b2a24a9fc78', slot: "preview", style: {
|
|
4039
4115
|
width: '80px',
|
|
4040
4116
|
height: '100%',
|
|
4041
4117
|
backgroundColor: 'var(--colorNeutralBackground3)',
|
|
@@ -4043,7 +4119,7 @@ const TestComponentsPage = class {
|
|
|
4043
4119
|
alignItems: 'center',
|
|
4044
4120
|
justifyContent: 'center',
|
|
4045
4121
|
fontSize: '24px',
|
|
4046
|
-
} }, "\uD83D\uDCF7"), index.h("div", { key: '
|
|
4122
|
+
} }, "\uD83D\uDCF7"), index.h("div", { key: 'd0b783365efec4f1c4b6fa8a6bb634f3408d3f73', style: { display: 'flex', flexDirection: 'column', width: '100%' } }, index.h("div", { key: '9102a71aacf5ca6161b59e83c4cb7ba3244b1ea8', slot: "header" }, index.h("h4", { key: '32a23a4a2054956f09099c4deb2afef00890e6f7', style: { margin: '0' } }, "Horizontal Card")), index.h("span", { key: '06423e8f6f23ab3d856cb6fa890adc2639c53bce' }, "Fixed 400px width."))), index.h("udp-fluent-card", { key: '7c4e1a4cb60033d78a9edc382c658b29aebd70ac', width: "300px", appearance: "filled" }, index.h("div", { key: '9b2f99ff566f6ee946e6ae06034d3d1864fd7471', slot: "header", style: { display: 'flex', justifyContent: 'space-between' } }, index.h("span", { key: '028d6d97a0cebf4c8273b30b548933ea0c0f4a98', style: { fontWeight: '600' } }, "Fixed Width User"), index.h("udp-fluent-icon", { key: '0f70a433ceb938afe058d14044419523e6259386', name: "person_20_regular" })), index.h("span", { key: '07f4759add77a4890ca523f4fb502ea0fcafc1a4' }, "Fixed width (300px), auto height. Reduced padding is no longer controlled by a prop."))), index.h("h4", { key: '73cb1a65cbce59560287200ba2ea905bb9000066' }, "Complex Interaction"), index.h("div", { key: 'c10aa7c092714906667ab87012445dc36fdf0c18', style: { display: 'flex', gap: '1rem', flexWrap: 'wrap' } }, index.h("udp-fluent-card", { key: '8d676b6c6d8191bb34213a856f7388d181d78ba8', interactive: true, appearance: "outline", onClick: () => console.log('Card clicked'), style: { width: '280px' }, label: "John Doe", subtitle: "Software Engineer" }, index.h("div", { key: '596834e8cb6ee5a9a9cd638f99650a4fc60022f4', style: {
|
|
4047
4123
|
width: '32px',
|
|
4048
4124
|
height: '32px',
|
|
4049
4125
|
borderRadius: '50%',
|
|
@@ -4052,39 +4128,39 @@ const TestComponentsPage = class {
|
|
|
4052
4128
|
display: 'flex',
|
|
4053
4129
|
alignItems: 'center',
|
|
4054
4130
|
justifyContent: 'center',
|
|
4055
|
-
}, slot: "header-start" }, "JD"), index.h("udp-fluent-icon-button", { key: '
|
|
4131
|
+
}, slot: "header-start" }, "JD"), index.h("udp-fluent-icon-button", { key: 'a1bd14fabd1d460d00951391f9c1a793edc0eff7', iconName: "more", slot: "header-action", shape: "circular" }), index.h("udp-fluent-icon-button", { key: 'cb86e7c4fff3023b04b14c88fca6c1a37d16239d', iconName: "dismiss", slot: "header-action", shape: "circular" }), index.h("div", { key: '2eac89230af087ef0c43863067707dd94ed6d6cc' }, "(div) Responsible for maintaining the core design system and ensuring accessibility compliance across all products."), index.h("udp-typography", { key: '268c03da74139ba296462927b6ffb5a0c1f43137', variant: "body1" }, "(body1) Responsible for maintaining the core design system and ensuring accessibility compliance across all products."), index.h("udp-typography", { key: 'da822740c72ee4a395da5fd8e1d7f164ea0a98db', variant: "body2" }, "(body2) Responsible for maintaining the core design system and ensuring accessibility compliance across all products."), index.h("udp-fluent-button", { key: '0fe2caf08c9226c67f5a7a0e835bb60a6a36d9d8', slot: "footer", appearance: "primary", size: "small", onClick: () => console.log('Profile clicked') }, "View Profile"), index.h("udp-fluent-button", { key: 'f5cdeed805490c02d175d2e8e1a438b2ee2427fe', slot: "footer", appearance: "outline", size: "small", onClick: () => console.log('Help clicked') }, "Help Center"))), index.h("h4", { key: '867731b553fb08f87faa0a14fa3538d2ba609459' }, "Flex Layout (Grid System)"), index.h("div", { key: '0c7c02b752ccced3c7be2060b0603245bda5dfcb', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, index.h("div", { key: '61ce2d51cc3743dbe51e66f549e78e69490eb3d7', style: { display: 'flex', gap: '1rem' } }, index.h("div", { key: 'f5da2a21649075343fb469119ed6bff8baf86f71', style: { flex: '1' } }, index.h("udp-fluent-card", { key: '318787a1ad4148a9de069bca3cbc4a5b0a77c725', width: "100%" }, index.h("div", { key: '528fb60494e5b96e43e25ee9c6ee89b5dcbf6842', slot: "header" }, index.h("h3", { key: '032f25afef431f21ec61aa9692f41e50c642df99' }, "Card 1 (50%)")), index.h("span", { key: '51e5e60323484a383a3810e7f5475b8750ee306d' }, "Flex item 1"))), index.h("div", { key: '1eb74a142777fc9caa4ae298cd3f76614b52983b', style: { flex: '1' } }, index.h("udp-fluent-card", { key: 'bf65ea9f9d9891148b2808f5ae969e6ecabedbe2', width: "100%" }, index.h("div", { key: '2f16712615121a544c5600b4cc269cd0c5200447', slot: "header" }, index.h("h3", { key: '29a399bc442bd99dc90b777f81317c7d349e9fb3' }, "Card 2 (50%)")), index.h("span", { key: '6eedcde87b5a8a4b476dd0bbf4261a3ff8e3d3c5' }, "Flex item 2")))), index.h("div", { key: '91f16c1555889eb4be49cdd38f7018112aabb274', style: { display: 'flex', gap: '1rem' } }, index.h("div", { key: '451142f90ccb56c5d600868ab346c3e334058f31', style: { flex: '1' } }, index.h("udp-fluent-card", { key: 'd01dddd295a87475ca59a744e811941ada9f52d7', width: "100%" }, index.h("div", { key: '0f4704dd7370d664ed7428ce577a713ca576b03d', slot: "header" }, index.h("h3", { key: '21a41c3c44b95132beb0d20ef3218ae71ebdc5da' }, "Card 3 (33%)")), index.h("span", { key: '7a6479d11a10bcfe6bb63fe0df7be336dc19c3ef' }, "Flex item 3"))), index.h("div", { key: '0b9bd010ac8ed76e0c707d48b064fb965e8294c2', style: { flex: '1' } }, index.h("udp-fluent-card", { key: 'eedf3a0e3bc542ab625bbb602ee8b16e73db9fd6', width: "100%" }, index.h("div", { key: '6ae40952ad99e81150bb7f6347aebd561cd82b0e', slot: "header" }, index.h("h3", { key: '753e6e2977d53aceaf73a4ed6d87bd78d346b268' }, "Card 4 (33%)")), index.h("span", { key: '44b8ccb104748c68cc41c63a2dd7454dcf96b1ef' }, "Flex item 4"))), index.h("div", { key: '1b07eaf464839f51a3ac6cad6e040ee6a6d75efd', style: { flex: '1' } }, index.h("udp-fluent-card", { key: '91d22d56c1c68f3bd349df52316551322a60fd03', width: "100%" }, index.h("div", { key: '4da43ccd3c8ce4c759d35eff9240cff2e2a0f14e', slot: "header" }, index.h("h3", { key: '819abad268ba7add7444a4391c80d858021b7134' }, "Card 5 (33%)")), index.h("span", { key: '50c626bc4afdf4215d1c88c58d7019c53469902c' }, "Flex item 5"))))))), index.h("udp-tab-panel", { key: '34beaa761ed8a134ba6d5196b3c05274a0de986b', id: "chips", activeTabId: this.currentTab }, index.h("div", { key: 'cf8987f4c708a6a08200ccb135e099881fd08934', style: { padding: '24px', display: 'flex', flexDirection: 'column', gap: '24px' } }, index.h("h4", { key: 'a443b6695f04d1ca041af2120da6e8589a91ab74' }, "Filled Chips"), index.h("div", { key: '97a0383056e414de3d5c2ffbceef8080fb556958', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, index.h("udp-chip", { key: 'e680018fb36d6e7184387d4bef30277e48d3dd1a', label: "Basic Chip", variant: "filled", color: "gray" }), index.h("udp-chip", { key: '233a3e4b46a86b031546d2874b8a556963232687', label: "Primary", variant: "filled", color: "primary" }), index.h("udp-chip", { key: '2d5f4dc5cc9fac6cdaea35a1d3fc081197b28efb', label: "Success", variant: "filled", color: "success" }), index.h("udp-chip", { key: '9442ed1f40e253d2f9674c3c850f425be9306062', label: "Warning", variant: "filled", color: "warning" }), index.h("udp-chip", { key: 'c97fc80fad58b6fbf9191a0691be93ba8626c3a4', label: "Error", variant: "filled", color: "error" })), index.h("h4", { key: '3cef3e3c2e0c3bcafe27c64aeba42820d9c1a3ce' }, "Outlined Chips"), index.h("div", { key: 'b7ba1fdb9ac391913bd7ffaf905f47dba0e4e00e', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, index.h("udp-chip", { key: '35029071dc9b8b868a607a3f088b278f2723e837', label: "Basic Chip", variant: "outlined", color: "gray" }), index.h("udp-chip", { key: 'a04eed3c8d9fb920e532abb112821e0a150df27f', label: "Primary", variant: "outlined", color: "primary" }), index.h("udp-chip", { key: 'c7d6b1236a4b58f9100733488533cdda84a71bb5', label: "Success", variant: "outlined", color: "success" }), index.h("udp-chip", { key: '107f2ba87e9a422cbec1b79eaf0acd103ec98d42', label: "Warning", variant: "outlined", color: "warning" }), index.h("udp-chip", { key: '0e2b904fea2293798525976e2f729dc71e9a448d', label: "Error", variant: "outlined", color: "error" })), index.h("h4", { key: 'ea43c1aa870be9a938b24e519433f55120fbdcda' }, "With Icons & Deletable"), index.h("div", { key: '4848b24e080011a7465db651c2d6c5a480533a4b', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, index.h("udp-chip", { key: '38488083aa431282d8989fc8afd8617ae4007743', label: "Person", startIcon: "person_20_regular", variant: "filled", color: "primary" }), index.h("udp-chip", { key: '199acce69cb3045ac6451ec34d89b59bf3b4d16c', label: "Deletable", variant: "filled", color: "gray", deleteButton: true, onChipDelete: e => console.log('Delete:', e.detail) })), index.h("h4", { key: 'ba34387b5290fb218e2c125f693beba3f7246cea' }, "Sizes"), index.h("div", { key: '9c082a6c9a68ac2197ad28525140af27609efe91', style: { display: 'flex', gap: '8px', flexWrap: 'wrap', alignItems: 'center' } }, index.h("udp-chip", { key: 'e733e25fb8bd83f54cf800f6335ca6ffa0f0291f', label: "Medium (Default)", size: "medium" }), index.h("udp-chip", { key: '981347509cd9532354fde7a0f04099bd49eb7235', label: "Small", size: "small" })))), index.h("udp-tab-panel", { key: 'd1197e3dfc145562e8e086ed14bad11ef986e7bf', id: "forms", activeTabId: this.currentTab }, index.h("div", { key: 'b51c5dfb7906a27c460e88ba745fafc9e65887f9', style: {
|
|
4056
4132
|
padding: '24px',
|
|
4057
4133
|
display: 'flex',
|
|
4058
4134
|
flexDirection: 'column',
|
|
4059
4135
|
gap: '40px',
|
|
4060
|
-
} }, index.h("div", { key: '
|
|
4136
|
+
} }, index.h("div", { key: '62c957488fb4421291d2610bcb1f8773ab1e9c75' }, index.h("h3", { key: 'a310680dfbc1feb61f08b116c814b5a302409681' }, "1. Registry Pattern (Sidesheet)"), index.h("p", { key: '9566b14026765cd4cb3d93d0a0053ef60eb26b57' }, "Button in drawer footer auto-connects to form via ", index.h("code", { key: 'ce0f313006aa2f362b20fe7c743e19f91c72e9b3' }, "formId"), "."), index.h("div", { key: '64b791b00072a2d9de017ece27a71f7165b045b1', style: { marginTop: '16px' } }, index.h("udp-fluent-button", { key: '384bf5bb1a6560b7a65a1c14d8fbbf9f5818591d', appearance: "primary", onClick: () => (this.formDrawerOpen = true) }, "Open Registry Form Drawer"))), index.h("hr", { key: 'd3da6ad482c038f42122b29a2f6a720572940000', style: { width: '100%', borderColor: '#eee' } }), index.h("div", { key: '4f83db32a1daedaf09f89c4999e53a42b74ead5b' }, index.h("h3", { key: '6bff923918ddd2ed062d6b9fd01a9fae987a221b' }, "2. Legacy Manual Wiring (Sidesheet)"), index.h("p", { key: 'a42bd8106df84034fc43f35caf8528416c3d460b' }, "Parent component manually listens to ", index.h("code", { key: '48ac435e3e4fa7f347fbac24bb59f0111ff6aa7c' }, "formReady"), ", tracks validity state, and calls ", index.h("code", { key: 'bf44e866f9a06b0d17b05d43eeeb5894298789c2' }, "submit()"), "."), index.h("div", { key: 'cfa85e9e73e0751c45f8b45d6cc134b97dadb01c', style: { marginTop: '16px' } }, index.h("udp-fluent-button", { key: 'c1d95584d49e1ef802b97760f52500cd23f61884', appearance: "outline", onClick: () => (this.manualDrawerOpen = true) }, "Open Manual Form Drawer"))), index.h("hr", { key: '1865873fc975160d72d5189854dd33905ea6bf92', style: { width: '100%', borderColor: '#eee' } }), index.h("div", { key: '2a1b3b8e4724a510019d727054be581b340e949d' }, index.h("h3", { key: '687db99ad9e43b87d025d62333d309f4ffbe19be' }, "3. Inline Form"), index.h("p", { key: '21504caa0b9ca4a584d31fea84af6ebdd4309363' }, "Form embedded directly in the page. Uses registry pattern for the external submit button."), index.h("div", { key: '60f289893600c54011e94ce9bc44ed2bb16b10f9', style: { border: '1px solid #e0e0e0', padding: '24px', borderRadius: '8px' } }, index.h("div", { key: '4d591a84f323bcbd4953efa713b962d03d487533', style: { marginTop: '16px', display: 'flex', justifyContent: 'flex-end' } }, index.h("udp-fluent-button", { key: 'cd68539e3b29a9408def876eff0f0e55c24f0ee8', appearance: "primary", form: "inline-form", type: "reset" }, "Inline Reset")))))), index.h("udp-tab-panel", { key: '41421977ad879962b1fd27b00864cfd272542382', id: "calendar", activeTabId: this.currentTab }, index.h("div", { key: 'efc7f79f799e445579844bf4a520bf3c881a7dfd', style: {
|
|
4061
4137
|
padding: '24px',
|
|
4062
4138
|
display: 'flex',
|
|
4063
4139
|
flexDirection: 'column',
|
|
4064
4140
|
gap: '32px',
|
|
4065
|
-
} }, index.h("div", { key: '
|
|
4141
|
+
} }, index.h("div", { key: '423e827d87ed577594174a315fbc241433ffb370' }, index.h("h3", { key: '81118c6b83455c77de22a8764ebf7287840887b9' }, "Date Range Selector (Fluent2 Styled)"), index.h("p", { key: '0b126e6245fc5aacbdaaafb98026eae6f9c12a62', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '8px' } }, "Calendar component with month/year view navigation. Click the header to switch views.")), index.h("div", { key: 'b2c01e78d579c01161db64c472ff4075180e8b1b', style: { display: 'flex', gap: '48px', flexWrap: 'wrap' } }, index.h("div", { key: '0caf28b6e50da3d1ce578503769cad6cf6afdc26' }, index.h("h4", { key: 'fdafdcbc48f1923205c150eccf666e7f744b5986', style: { marginBottom: '8px' } }, "Single Date (sm)"), index.h("udp-date-range-selector", { key: '0cf20cb2c02803e7cc1745f040b34e336b0a7e00', variant: "single", monthsToDisplay: 1, size: "sm", onChange: (e) => (this.singleDateValue = e.detail) }), index.h("p", { key: 'ec105c0d9c5243c4202ace4f3a7024a79a52fd13', style: {
|
|
4066
4142
|
fontSize: '12px',
|
|
4067
4143
|
color: 'var(--colorNeutralForeground3)',
|
|
4068
4144
|
marginTop: '8px',
|
|
4069
|
-
} }, "Value: ", index.h("code", { key: '
|
|
4145
|
+
} }, "Value: ", index.h("code", { key: '06bafcb2364b92b944a4c1dbdaa32822e403534e' }, this.singleDateValue || '(none)'))), index.h("div", { key: '005e6a7093206348f3191d368a992e4fb7c54bf4' }, index.h("h4", { key: '0fc2ff1012508e28640ebd0debe5b31b4cd3587d', style: { marginBottom: '8px' } }, "Multi-Select (md)"), index.h("udp-date-range-selector", { key: '48b9f72a9267365a27d519e1a1f9b08bbe1cdd16', variant: "multi", monthsToDisplay: 1, size: "md", onChange: (e) => (this.multiDateValue = e.detail) }), index.h("p", { key: '310541949421eeeb3fbfbd8318b6787e71580b5d', style: {
|
|
4070
4146
|
fontSize: '12px',
|
|
4071
4147
|
color: 'var(--colorNeutralForeground3)',
|
|
4072
4148
|
marginTop: '8px',
|
|
4073
|
-
} }, "Value: ", index.h("code", { key: '
|
|
4149
|
+
} }, "Value: ", index.h("code", { key: '698ae542384fe58b48ef58dd4a1fd91270066925' }, this.multiDateValue || '(none)')))), index.h("div", { key: '470db1199fa9d693070f1db303556c784f6cd508' }, index.h("h4", { key: 'df8280f5c098dbccdcd7c0cd23b0251a66690a9f', style: { marginBottom: '8px' } }, "Date Range (lg, 2 months)"), index.h("udp-date-range-selector", { key: 'ec0fa72337e2c462698c2b900f7adfa8637bffe5', variant: "range", monthsToDisplay: 2, size: "lg", orientation: "horizontal", onChange: (e) => (this.rangeDateValue = e.detail) }), index.h("p", { key: 'd6b9e97483437731f35a22277516c22c3fc8e9f7', style: {
|
|
4074
4150
|
fontSize: '12px',
|
|
4075
4151
|
color: 'var(--colorNeutralForeground3)',
|
|
4076
4152
|
marginTop: '8px',
|
|
4077
|
-
} }, "Value: ", index.h("code", { key: '
|
|
4153
|
+
} }, "Value: ", index.h("code", { key: '4ce37391843caa351a4bcbe078069f0f16ca6faa' }, this.rangeDateValue || '(none)'))), index.h("div", { key: '48467025ac64d139c275a2e63e35e8996e3cd66c' }, index.h("h3", { key: '8ffe4e00f460490fa5cd9b08241a9317e78efc44', style: { marginTop: '16px' } }, "Date Picker (Native)"), index.h("p", { key: '7222c6c0166ce53fedb7542d63c8358d429a9061', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '16px' } }, "For simple single date selection, the native date input provides quick month/year navigation."), index.h("div", { key: 'e3a99d860066ef4da40674d3ba77d62ea4174f5f', style: { display: 'flex', gap: '24px', flexWrap: 'wrap' } }, index.h("udp-date-input", { key: '344c509dfc7bbadf779382383a8f49348f7c8635', label: "Date", appearance: "outline" }), index.h("udp-date-input", { key: '21767c50917aaf689c25a29543ae058ee04b02d6', label: "Date & Time", appearance: "outline" }))), index.h("div", { key: 'c2f53d59a059653d40d3c002fdc2d7d24d2abc43' }, index.h("h3", { key: '27b88e90e324854fc6200ab256319766a6beabdb', style: { marginTop: '24px' } }, "Popover Component"), index.h("p", { key: '9d1da82defd6b35cd6bbf9c990ed708996ee6f91', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '16px' } }, "Generic popover using native Popover API and CSS Anchor Positioning."), index.h("div", { key: 'df0996436a515fd344c92a88596d9dc56e782dd9', style: {
|
|
4078
4154
|
display: 'flex',
|
|
4079
4155
|
gap: '24px',
|
|
4080
4156
|
flexWrap: 'wrap',
|
|
4081
4157
|
alignItems: 'flex-start',
|
|
4082
|
-
} }, index.h("udp-popover", { key: '
|
|
4158
|
+
} }, index.h("udp-popover", { key: '0f24fb92663ff92718ef891ee1a9a8a7ad7cd5ca', position: "bottom-start" }, index.h("udp-fluent-button", { key: 'ee2120db2aca258802c77eef551f980d5e192c20', slot: "trigger", appearance: "outline" }, "Open Popover"), index.h("div", { key: '5e3ede18a2ae20856f4e20d5f81bac7fd300d47b', slot: "content", style: { padding: '16px', minWidth: '200px' } }, index.h("p", { key: 'f2b6f0d3497afbade606f4144fd1ebf22b58ed75', style: { margin: '0 0 8px 0', fontWeight: '600' } }, "Popover Title"), index.h("p", { key: 'd117f3463294f0c6bed0192bb566bca27dc2e53b', style: { margin: '0', color: 'var(--colorNeutralForeground2)' } }, "This is popover content. Click outside to close."))), index.h("udp-popover", { key: '32ec3f2e96ca3d8bb0d52cac0b2e4fe3dc91cd1c', position: "bottom-start" }, index.h("udp-fluent-button", { key: '4f6e8436db24ae1869da1145efabc8609b63cfa6', slot: "trigger", appearance: "primary", startIconName: "calendar" }, "Date Picker Popover"), index.h("div", { key: '21ab2575423ba9e8bd57fc707588d115521c0314', slot: "content", style: { padding: '8px' } }, index.h("udp-date-range-selector", { key: 'ad80b75fba3f6c727374205fff0dfe866260906f', variant: "single", monthsToDisplay: 1, size: "sm" }))), index.h("udp-popover", { key: 'ccde4dbcc98341b51024f578bb0b3a1432659f9d', position: "right" }, index.h("udp-fluent-button", { key: '5d69b2dae3254385f77c442aba9ff7c5041789dc', slot: "trigger", appearance: "subtle" }, "Right Position"), index.h("div", { key: 'c5758b785f68abbde42ccf4f050dcb9a92f486c5', slot: "content", style: { padding: '12px', minWidth: '150px' } }, "Positioned to the right")))))), index.h("udp-tab-panel", { key: '5fcf1f3fa7af3027d5c69ad5539c0b349559c4fb', id: "popover", activeTabId: this.currentTab }, index.h("div", { key: '6f11c22f348ee617ec361715747c0021b5e230f5', style: {
|
|
4083
4159
|
padding: '24px',
|
|
4084
4160
|
display: 'flex',
|
|
4085
4161
|
flexDirection: 'column',
|
|
4086
4162
|
gap: '32px',
|
|
4087
|
-
} }, index.h("div", { key: '
|
|
4163
|
+
} }, index.h("div", { key: '379d332c5c08682c668ad03f729eca5966aab75a' }, index.h("h3", { key: '7975bd4cbd5575f831a9be81e402be89f2da8c6d' }, "Popover Component"), index.h("p", { key: '1963d687bd7febc44a3513bdbf6b3240ade30a0d', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '8px' } }, "Generic popover using native Popover API with JavaScript positioning. Follows Fluent 2 Design System guidelines.")), index.h("div", { key: 'd91db1faf57ccc51155e57d0673d3c92f92ef69c' }, index.h("h4", { key: '53e32b095c9300de5d3fabc7da7821d3df202792' }, "Basic Usage"), index.h("div", { key: '63bd82382af67dd2b6938764cf69e86a0b81f826', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, index.h("udp-popover", { key: '3b2b476d864d88b5f32f7410a615560c63ee63c1' }, index.h("udp-fluent-button", { key: '574add9de362b0be20f027503920bde46e379684', slot: "trigger" }, "Default Popover"), index.h("div", { key: '272b5fdb259cc1196b7540abeca54f79694826a2', slot: "content" }, index.h("h4", { key: '58a701c7a4b99ec67ed382238c3d19f5c2ffa01a', style: { marginTop: '0px' } }, "Popover Title"), index.h("p", { key: '3a24745c0739831503a7ee42dce009d51e8877f2', style: { marginBottom: '0px' } }, "This is popover content. Click outside to close."))), index.h("udp-popover", { key: '27d61b153265031a09c0fa450dc8b9bc6d9b581a', position: "top" }, index.h("udp-fluent-button", { key: '6790f9d4a6f7dfa29472cc8780f518e8a0c786e3', slot: "trigger", appearance: "outline" }, "Top Position"), index.h("div", { key: '21346dd7015df7e84a81aeef02a43224b5161b34', slot: "content" }, index.h("p", { key: '60a5d802ad2d6d1df9589e7bf6a1f8f33fc09009', style: { margin: '0px' } }, "Positioned above the trigger"))), index.h("udp-popover", { key: '8d79912a9eeb9fe67a6076d66f0ab1d11b7e1466', position: "right" }, index.h("udp-fluent-button", { key: '12a3aa6ebb75968533b27ae722290d707d5f865a', slot: "trigger", appearance: "subtle" }, "Right Position"), index.h("div", { key: 'ba9a08b3084485a6fd6e8e18944b131a240ea40a', slot: "content" }, index.h("p", { key: 'f7942183a0db104adbf0e18eac09e1da4ce5daf6', style: { margin: '0px' } }, "Positioned to the right"))))), index.h("div", { key: '30bfbc1d24e44efe91828e8229097b8ded880be8' }, index.h("h4", { key: 'ed62a69058ab167a102eeac59b4c7510f894b8c8' }, "With Arrow"), index.h("p", { key: '06b379f7b4005961be31bd40fb62872226e0d324', style: { fontSize: '14px', color: 'var(--colorNeutralForeground3)' } }, "Display an arrow pointing from the popover to the trigger."), index.h("div", { key: 'ee03b79ff2490dfd031481e6150d576728981f31', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, index.h("udp-popover", { key: '214623b4bbb12d178aa827e6d6b5f2967bdbafe5', "with-arrow": true }, index.h("udp-fluent-button", { key: '6aa7ba388273608777428a759b4759571759df1c', slot: "trigger" }, "Default Arrow"), index.h("div", { key: 'd3b4571dc4a1e5ac966d6e9ce7ab62d8ba6b9dea', slot: "content" }, index.h("p", { key: '30ba9e51dda4e1dbc8ed9fe11e9f5267a7b915e9', style: { margin: '0px' } }, "Popover with arrow"))), index.h("udp-popover", { key: 'e83c92df02b8ec2db6d5e63b49a2954cde407ecb', "with-arrow": true }, index.h("udp-fluent-button", { key: 'f193e0cf16fcf2d9f00071cd2ec5496e26465f83', slot: "trigger", appearance: "primary" }, "Brand Arrow"), index.h("div", { key: 'c3a66f162ef5150d14e1e4528b5c512351f6380b', slot: "content" }, index.h("p", { key: '3c942ed6f4b4fff45e792690c4c11466938a3b5d', style: { margin: '0px' } }, "Brand popover with arrow"))), index.h("udp-popover", { key: '518e83f447820ba6c9e17455bd4848712a61e34e', "with-arrow": true, position: "top" }, index.h("udp-fluent-button", { key: 'c814db7b9747ebdd2420e46a440d646f23c83b39', slot: "trigger", appearance: "outline" }, "Top Arrow"), index.h("div", { key: '60c8dc8bb030682ffffdba7c56f99af0144b3aab', slot: "content" }, index.h("p", { key: '7537ebc6798ec2c70322cc10be99bafaa70b4a2f', style: { margin: '0px' } }, "Arrow on top position"))))), index.h("div", { key: '0bde7862dd54d1a5eda8f94dacc0385b776e1303' }, index.h("h4", { key: 'f8ff865dccce2222d1cb0df18a9566160e3e15b5' }, "Size Constraints"), index.h("p", { key: '6733217fe5b9e7b41bb2547867343d069767abc4', style: { fontSize: '14px', color: 'var(--colorNeutralForeground3)' } }, "Optional max-width constraints. Without size, popover grows to fit content."), index.h("div", { key: '5890db283b48310e3289c05c6511ffebdec46d9d', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, index.h("udp-popover", { key: '2d8b9af1d81c05965c57ddc43eafd579f889bc35', size: "small" }, index.h("udp-fluent-button", { key: 'ae532295c381c626587341b10ca4023dbcd6bc58', slot: "trigger" }, "Small (320px)"), index.h("div", { key: '62f9c3d86829d186ba309b5459d824914bf7bd7c', slot: "content" }, index.h("p", { key: '2e160d518a5bc295d8c584d3c42bf943fac1b2cb', style: { margin: '0px' } }, "This is a small popover with max-width of 320px. The content will wrap if it exceeds this width."))), index.h("udp-popover", { key: '4b0948b082414fc7ccdc796eaf84a61cf23f4f3e', size: "medium" }, index.h("udp-fluent-button", { key: '985f42831e50636f757b6f96e1a23b053db85d88', slot: "trigger" }, "Medium (480px)"), index.h("div", { key: '94babdeee53d714bc2c2948e7827b2b0dd338504', slot: "content" }, index.h("p", { key: '4292e3045c001c1fd26f33edbaf8a3b8a5f92a0a', style: { margin: '0px' } }, "This is a medium popover with max-width of 480px. The content will wrap if it exceeds this width. This gives you more room for content."))), index.h("udp-popover", { key: 'd4c8856338374843e3c5e3074d1e2d286c1afddc', size: "large" }, index.h("udp-fluent-button", { key: '5ee11e780bc1d03d81c04201f9491ac21998eb87', slot: "trigger" }, "Large (640px)"), index.h("div", { key: '8becdc8aebca6aeeb44c252423981209499431f6', slot: "content" }, index.h("p", { key: 'a3036ab50543215d32f7d214da7033032b1b93b8', style: { margin: '0px' } }, "This is a large popover with max-width of 640px. This size is suitable for more complex content that needs additional space while still maintaining good readability and layout."))))), index.h("div", { key: 'c5a1a08676058ef6c45e2d2089ffaec9b8ffe627' }, index.h("h4", { key: '0dad26c9feb56b0fa90f265a7ebff08202124af4' }, "Trap Focus (Accessibility)"), index.h("p", { key: 'd86b8ab69a42583f97e8c6d85ddb3d0295501013', style: { fontSize: '14px', color: 'var(--colorNeutralForeground3)' } }, "When trapFocus is enabled, keyboard navigation is restricted to the popover."), index.h("div", { key: 'e6688dad0ddfe680efa2983bafdc4e0bc70f99c7', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, index.h("udp-popover", { key: '8eeb183ac9dc9d4218a52878eaa44a22517b5264', trapFocus: true }, index.h("udp-fluent-button", { key: 'b0765a65a433547441cf895281949f268dab6d6f', slot: "trigger" }, "Trap Focus"), index.h("div", { key: '806ca4cb1ef162a8490360edf8fddcdb1181e379', slot: "content" }, index.h("h4", { key: '8a9eb436ef03cca09d2b0590c915b5477135612b', style: { marginTop: '0px' } }, "Modal Popover"), index.h("p", { key: '153a7af006b3b245b497e30393923a1a81181e71' }, "This popover traps focus. Press Escape to close."), index.h("div", { key: '3bf20669ed423b0d00e554219035b12c461ab9fc', style: { display: 'flex', gap: '8px' } }, index.h("udp-fluent-button", { key: '492a161bac361cd74bae6bbd13c2bcd3c2faaa8c', size: "small" }, "Action 1"), index.h("udp-fluent-button", { key: '2beba1dce071c5f1322a0bb8ae38915ff277c2ce', size: "small", appearance: "outline" }, "Action 2")))))), index.h("div", { key: '747c27849a3e33429d5e3efb1f37daf57ef66956' }, index.h("h4", { key: '5e3c28c590ee98b2224bff319ca2f79cd5253602' }, "Advanced Examples"), index.h("div", { key: 'cec8177b4356c863fc916d119fae0f3836a12bad', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, index.h("udp-popover", { key: '901749d859c95cfec9fed7106aa8174b808e631f', position: "bottom-start", "with-arrow": true }, index.h("udp-fluent-button", { key: '8f256088bc13a43f83bbbea7f4597d0b5404825b', slot: "trigger", startIconName: "calendar" }, "Date Picker"), index.h("div", { key: 'f6a09d8c04af354e57ab6dd048e156ea6928c30f', slot: "content", style: { padding: '8px' } }, index.h("udp-date-range-selector", { key: 'd98408fb082affdc3d9855718d56015ed3f89a27', variant: "single", monthsToDisplay: 1, size: "sm" }))), index.h("udp-popover", { key: 'ac1ff600bb43001c0b7ade62a784a52a1b6c266c', size: "medium", "with-arrow": true }, index.h("udp-fluent-button", { key: '180fcf38ba56c4cadb551f15709ad22900730d5b', slot: "trigger" }, "Rich Content"), index.h("div", { key: 'faa5843230f747b2ccbcb8596c7c12840752fd93', slot: "content" }, index.h("h4", { key: '9359ba051889c23c58d70db8d5c59f80f92e3b21', style: { marginTop: '0px' } }, "Feature Update"), index.h("p", { key: '5e70e5ee3c7cd2d8fbcb953ed9a1af2ae92743fb', style: { fontSize: '14px' } }, "New features are now available! Check out the latest updates to improve your workflow."), index.h("udp-fluent-button", { key: '140e32be958a62b5c82ad88e00762a7b2bf1bf15', size: "small" }, "Learn More"))), index.h("udp-popover", { key: '5f357e7d43bbe7d23410176cf681f77014ef3005', "close-on-scroll": true }, index.h("udp-fluent-button", { key: 'be7e0d3e7ce5972c4a304e3287543e6e2d94d7b1', slot: "trigger" }, "Closes on Scroll"), index.h("div", { key: 'e87ccd73b3e50ea04f07f9d36d3af80623a4156c', slot: "content" }, index.h("p", { key: '22fe8c96660ce939d7d30bd9248cfcc9837fd9e7', style: { margin: '0px' } }, "This popover will close when you scroll the page."))))))))), index.h("udp-fluent-drawer", { key: '32456b3d38ca5aea2cdcd4ee733b5b437e68ade2', open: this.drawerOpen, onDrawerClose: () => (this.drawerOpen = false), drawerTitle: "Drawer Title" }, index.h("udp-lazy-loader", { key: '30c9dd30a1a99b84d007fadcb285df821967de92', if: this.drawerOpen, content: () => (index.h("div", null, index.h("client-side-grid", { columnDefs: [
|
|
4088
4164
|
{ field: 'name' },
|
|
4089
4165
|
{ field: 'age' },
|
|
4090
4166
|
{ field: 'name' },
|
|
@@ -4095,10 +4171,10 @@ const TestComponentsPage = class {
|
|
|
4095
4171
|
], rowData: [
|
|
4096
4172
|
{ name: 'John', age: 30 },
|
|
4097
4173
|
{ name: 'Jane', age: 25 },
|
|
4098
|
-
] }), index.h("udp-fluent-button", { onClick: () => (this.drawerOpen = false) }, "Close Drawer"))) })), index.h("udp-fluent-drawer", { key: '
|
|
4174
|
+
] }), index.h("udp-fluent-button", { onClick: () => (this.drawerOpen = false) }, "Close Drawer"))) })), index.h("udp-fluent-drawer", { key: '5dff9a2ce936247257dbb8a023bdd73361814bf4', open: this.formDrawerOpen, onDrawerClose: () => (this.formDrawerOpen = false), drawerTitle: "Sample Form", size: "large" }, index.h("udp-lazy-loader", { key: 'c8f720e61ee5592cc4edc5bb1c466415e02e4135', if: this.formDrawerOpen, content: () => (index.h("div", { style: { display: 'flex', flexDirection: 'column', gap: '16px' } }, index.h("div", { style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, index.h("udp-fluent-button", { appearance: "outline", onClick: () => (this.secondDrawerOpen = true) }, "Open Second Drawer")), index.h("test-form", { handleSubmit: this.handleSubmit, formId: "registry-drawer-form" }))) }), index.h("udp-fluent-button", { key: 'f1a637ab8b726eb275816b5616757a64aeaca97c', appearance: "primary", slot: "footer", form: "registry-drawer-form", type: "submit" }, "Submit Form"), index.h("udp-fluent-button", { key: '2d2a7dfc22cc1476903a0107f61f9972a803d3cf', slot: "footer", form: "registry-drawer-form", type: "reset" }, "Reset Form")), index.h("udp-fluent-drawer", { key: 'd161260410e711a1901e378ed7e88ab8ef6cde01', open: this.manualDrawerOpen, onDrawerClose: () => (this.manualDrawerOpen = false), drawerTitle: "Form (Manual Wiring)" }, index.h("udp-lazy-loader", { key: 'fe58e60a4dd482025f18ded4577afd5f7a1ebb45', if: this.manualDrawerOpen, content: () => (index.h("test-form", { handleSubmit: this.handleSubmit, onFormReady: this.handleManualFormReady })) }), index.h("udp-fluent-button", { key: '1b3d6b5be7ee7a4e60487b5b60dfc59322918c5f', appearance: "primary", slot: "footer", disabled: !this.manualCanSubmit, onClick: () => {
|
|
4099
4175
|
var _a;
|
|
4100
4176
|
void ((_a = this.manualFormInstance) === null || _a === void 0 ? void 0 : _a.submit());
|
|
4101
|
-
} }, "Submit (Manual)")), index.h("udp-fluent-dialog", { key: 'c72f6406b6b8c67beb31bc1cd645f736d6e509c7', open: this.drawerDialogOpen, dialogTitle: "Dialog from Drawer", onDialogClose: () => (this.drawerDialogOpen = false) }, index.h("div", { key: 'e17c2f7ed56146710204d9676782a4b13d16bfd7' }, "This dialog was opened from inside the drawer!"), index.h("div", { key: '8e1f8f4b7f1a05658298e27ec46db1abb4703bae' }, index.h("p", { key: '19cc6c68065c88874b86d9c62cec18afe588eea1' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: '2aa478b6259d57cac18b3d2c860ac432758d2082' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."), index.h("p", { key: 'b19546ec4980135d5f57d00ca5c7979dcdd5ee9e' }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?")), index.h("udp-fluent-button", { key: '21d08fe6a0ed0d377bb18483e30b6b03ffb27d90', slot: "action", onClick: () => (this.drawerDialogOpen = false) }, "Close"), index.h("udp-fluent-button", { key: '9b3d3c8c3703b35a25e3665dfba25f6a94cc3e89', appearance: "primary", slot: "action" }, "Confirm")), index.h("udp-fluent-drawer", { key: 'acf1ca2c4e90999b46f60aed10ab82d6ad81a24f', open: this.secondDrawerOpen, onDrawerClose: () => (this.secondDrawerOpen = false), drawerTitle: "Second Drawer (Nested)", size: "medium" }, index.h("div", { key: '971fb1c4e089c87df28b195ec9abcc39a64e9308', style: { display: 'flex', flexDirection: 'column', gap: '16px', padding: '16px' } }, index.h("p", { key: 'e8227f1b540d64c7266cbda2ee97cbdca26c3824' }, "This is the second drawer opened from within the first drawer."), index.h("div", { key: 'c1f5b4eced6ade15e6ce5d3b973353300cc3dc43', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, index.h("udp-fluent-button", { key: '33a33acc39a465006bbae2f15b2ec4f6dde43bfe', onClick: () => (this.secondDrawerDialogOpen = true) }, "Open Dialog from Second Drawer"), index.h("udp-fluent-button", { key: '1faa0b0b0d6480809c78ca21ae4e2236f652f1f2', appearance: "outline", onClick: () => (this.thirdDrawerOpen = true) }, "Open Third Drawer")), index.h("p", { key: '73d4a7ef3c069e3e62b741436a708abc324b5311' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: '94567c82631dab384d78f777a45c17719849a221' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."), index.h("p", { key: '302105af0dbcd00fabceec0a6b78839925024580' }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), index.h("p", { key: '3594865aa6bfc4f6724eb4ae076ca894316f766a' }, "At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus."), index.h("p", { key: 'dd57a213604f7fa3a62658173b724c0cd60f8452' }, "Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.")), index.h("udp-fluent-button", { key: '7cab9159c9a0534ab5ccb1bd9eb30e0acb7e5b45', appearance: "primary", slot: "footer", onClick: () => (this.secondDrawerOpen = false) }, "Close Second Drawer")), index.h("udp-fluent-drawer", { key: '3addf55f1317ba6cd32d39222e4fd553fa859356', open: this.thirdDrawerOpen, onDrawerClose: () => (this.thirdDrawerOpen = false), drawerTitle: "Third Drawer (Deeply Nested)", size: "small" }, index.h("div", { key: 'd7d4a300362b783247928ab2e93b2adcee52d5f3', style: { padding: '16px' } }, index.h("p", { key: '06640da56336cd98d9db9303e6056f02ac971a25' }, "This is the third drawer! Three levels deep."), index.h("p", { key: '18a14276e1f3b662c754cd8cba06921de3d9694b', style: { fontSize: '14px', color: 'var(--colorNeutralForeground2)' } }, "Testing the drawer stacking and body scroll lock mechanism with multiple drawers."), index.h("p", { key: 'abb7ce94a517a480688ea51974220068d2c07749' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: '9f1c94d0f163e7da7811eb79d5c06dd0d1db2703' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt."), index.h("p", { key: '1554693948709b635aa09fba0902965200f2e564' }, "Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?"), index.h("p", { key: '85657871f4afef5a66783dcda6f3117a4a516cc7' }, "Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident."), index.h("p", { key: '6a9bd30c19895c7d2dc066261a51b32a7584eda0' }, "Similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.")), index.h("udp-fluent-button", { key: '90e912fbba9c85a56e26add92e2f4707ad2047fa', appearance: "primary", slot: "footer", onClick: () => (this.thirdDrawerOpen = false) }, "Close Third Drawer")), index.h("udp-fluent-dialog", { key: '23ff3522117da34c59139fe4cdb1f61c990e5c7f', open: this.secondDrawerDialogOpen, dialogTitle: "Dialog from Second Drawer", onDialogClose: () => (this.secondDrawerDialogOpen = false) }, index.h("div", { key: '4bd2851a7e28fc0fb4e813ff54e871a68d96af2c' }, "This dialog was opened from the second drawer!"), index.h("p", { key: '0f928d8e827a8973816fb5d0cbce94c201a74573' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: 'c71829966e7f02654abd2c1e8a0f284b810d7f35' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."), index.h("p", { key: 'c93d9a8b9732875a896abb29e43f1b79e4b6c7a6' }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), index.h("udp-fluent-button", { key: '4ef32d3bad856c7c8823ad937be047823cedd04f', slot: "action", onClick: () => (this.secondDrawerDialogOpen = false) }, "Close"), index.h("udp-fluent-button", { key: 'f7dda3e743e5d366b963e3813c9d3454d79ca4fe', appearance: "primary", slot: "action" }, "Confirm"))));
|
|
4177
|
+
} }, "Submit (Manual)")), index.h("udp-fluent-dialog", { key: '6e2f885a9284a4ad0ac42d7b51a18cdcb897d9d8', open: this.drawerDialogOpen, dialogTitle: "Dialog from Drawer", onDialogClose: () => (this.drawerDialogOpen = false) }, index.h("div", { key: 'f621a6a9993ab6032fd193635045c436ba3c6349' }, "This dialog was opened from inside the drawer!"), index.h("div", { key: '82e74b8681d10efe76eaa735fb2f699f0a2810bf' }, index.h("p", { key: '9a82bcf761fe62f06dba7579060c73501dac43e8' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: '296c56ef8ca1c878012e0b3e33e1cde227ae5621' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."), index.h("p", { key: '938f67cd786e37e20bf052d036a944be2262a3e7' }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?")), index.h("udp-fluent-button", { key: '9e5d1ca06fb01827197a268819c873bd72230d54', slot: "action", onClick: () => (this.drawerDialogOpen = false) }, "Close"), index.h("udp-fluent-button", { key: '5420e2101e3409d83f89538b6b6a37a46671e22e', appearance: "primary", slot: "action" }, "Confirm")), index.h("udp-fluent-drawer", { key: '3b7cc906bb55aad5ac6b2e26b4bdc0d35de47158', open: this.secondDrawerOpen, onDrawerClose: () => (this.secondDrawerOpen = false), drawerTitle: "Second Drawer (Nested)", size: "medium" }, index.h("div", { key: '3bc5ba56cb0404c0f4e3ad9224db136469bc1528', style: { display: 'flex', flexDirection: 'column', gap: '16px', padding: '16px' } }, index.h("p", { key: '17feede92d70760d9171092bf0022f13a4fe062c' }, "This is the second drawer opened from within the first drawer."), index.h("div", { key: 'a504757ca93cc987dbe0997c0fa590ffc28b6ea3', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, index.h("udp-fluent-button", { key: '7f54adced3e252cc75a4ed66abda8e25948cf93c', onClick: () => (this.secondDrawerDialogOpen = true) }, "Open Dialog from Second Drawer"), index.h("udp-fluent-button", { key: '8a842564e23e8f7a73a1ea2d94f35868f1566e95', appearance: "outline", onClick: () => (this.thirdDrawerOpen = true) }, "Open Third Drawer")), index.h("p", { key: 'aabc7359e002f506757db167c27833d3524714e9' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: 'e6018ac219120a86bfda8b19a0e7dbb0d228ffbb' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."), index.h("p", { key: '8a31dcc0ba4b572edbb763b655fa2e982e60fa9c' }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), index.h("p", { key: 'df83921a563f13f369dee1598331efc217206413' }, "At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus."), index.h("p", { key: 'f118339151f2dda7261bfe118e6260114e1c6577' }, "Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.")), index.h("udp-fluent-button", { key: '78f90176e4e68e14477c13d63b401e3f544eb120', appearance: "primary", slot: "footer", onClick: () => (this.secondDrawerOpen = false) }, "Close Second Drawer")), index.h("udp-fluent-drawer", { key: '18ec2020f3298da943adffae2a9f507422cdc88f', open: this.thirdDrawerOpen, onDrawerClose: () => (this.thirdDrawerOpen = false), drawerTitle: "Third Drawer (Deeply Nested)", size: "small" }, index.h("div", { key: '843b59cb804bbcc3b459a6ab8dd1517eb0579981', style: { padding: '16px' } }, index.h("p", { key: 'f3fc08d940a068cb2d3817c6c47a3a987629eb89' }, "This is the third drawer! Three levels deep."), index.h("p", { key: '58fdddec465c512055de208ff28a17665ede32e6', style: { fontSize: '14px', color: 'var(--colorNeutralForeground2)' } }, "Testing the drawer stacking and body scroll lock mechanism with multiple drawers."), index.h("p", { key: '2337f71e46595ffe1ee9d591f615da64caaa706c' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: '5c6bf3c7dde9f4c745ac69e02cfc8daca3ae28d1' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt."), index.h("p", { key: '53eb380e76ace6b5a55150c22e2efae719e392db' }, "Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?"), index.h("p", { key: 'c1a034332ac37c2369a65d2598921bfec128c33c' }, "Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident."), index.h("p", { key: 'ba6b276672f91875cb303192a2d05c598724e315' }, "Similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.")), index.h("udp-fluent-button", { key: 'a0b8fcfaba788a5b0904410b7af2ffc23f6db17f', appearance: "primary", slot: "footer", onClick: () => (this.thirdDrawerOpen = false) }, "Close Third Drawer")), index.h("udp-fluent-dialog", { key: '23da9aab5fb9970933d64a59dfc073db5b36fc31', open: this.secondDrawerDialogOpen, dialogTitle: "Dialog from Second Drawer", onDialogClose: () => (this.secondDrawerDialogOpen = false) }, index.h("div", { key: 'c395c7d7f9f106c724a0048ad1a19804be63e088' }, "This dialog was opened from the second drawer!"), index.h("p", { key: '1566bd57e9b2cb5718ae230185dfedbb6c174603' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: 'adb05b19567128dfcc8f0f7140e62f17451770f5' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."), index.h("p", { key: '6300204f7d96b063efab94b7f75e5de349d2247d' }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), index.h("udp-fluent-button", { key: 'b94d861aa77d127c23d25943cf8e2e15248e5122', slot: "action", onClick: () => (this.secondDrawerDialogOpen = false) }, "Close"), index.h("udp-fluent-button", { key: 'c122fa6f5398c36d770a869b7d7af56d7eb65af9', appearance: "primary", slot: "action" }, "Confirm"))));
|
|
4102
4178
|
}
|
|
4103
4179
|
};
|
|
4104
4180
|
|
|
@@ -4217,17 +4293,17 @@ const TestForm = class {
|
|
|
4217
4293
|
{ label: 'Medium', value: 'medium' },
|
|
4218
4294
|
{ label: 'Large', value: 'large' },
|
|
4219
4295
|
];
|
|
4220
|
-
return (index.h("div", { key: '
|
|
4296
|
+
return (index.h("div", { key: 'ecc920a9eb4a5830186d384cf4a6aaf20181f482' }, index.h("udp-form-component", { key: '3a138dc7c26ce93dbf21216586bceb009de337e6', formId: this.formId, validate: this.validateForm, onFormReady: this.handleFormReady, submitHandler: this.handleFormSubmit, initialValues: this.formData }, index.h("udp-flexbox", { key: 'ae20f47edf6a065f43b5ccc0d67a1304a7e78981' }, index.h("udp-flexbox", { key: '6c7a8c50714c4674cdc69a6a6f4de8043ea9939b', style: { display: 'none' } }, index.h("h3", { key: '4b1250a514a82d55d71bdd892d235aedaacf443c', style: { margin: '0 0 1rem 0', fontSize: '16px', fontWeight: '600' } }, "Global Property Controls"), index.h("udp-flexbox", { key: '810893748156fdeb81384caacfccc05b7c5a2cf2' }, index.h("udp-fluent-dropdown", { key: 'f7fd1681f5fc4010c24df10bba8fca165fd0ee5f', label: "Appearance", value: this.controlAppearance, options: appearanceOptions, optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.controlAppearance = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); } }), index.h("udp-fluent-dropdown", { key: '78ddcfe35e1747d857121b6b16a0dff93572e0ff', label: "Control Size", value: this.controlSize, options: sizeOptions, optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.controlSize = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '120px' } }), index.h("udp-fluent-switch", { key: '04a0567c03b8180ab97c1ca66bb92dc740f87987', label: "Required", labelPosition: "after", checked: this.controlRequired, onValueChanged: (e) => (this.controlRequired = e.detail) }), index.h("udp-fluent-switch", { key: '5ae7f4c7bc7775221907ebd92ca5d74e0354d9c4', label: "Disabled", labelPosition: "after", checked: this.controlDisabled, onValueChanged: (e) => (this.controlDisabled = e.detail) }), index.h("udp-fluent-switch", { key: 'fa18212efd90fb9dbe43d40c0a8be0f11d56e384', label: "Readonly", labelPosition: "after", checked: this.controlReadonly, onValueChanged: (e) => (this.controlReadonly = e.detail) })), index.h("p", { key: '5302371db95942c68bbd5a8fdee592cb3ac021b1', style: {
|
|
4221
4297
|
margin: '0.75rem 0 0',
|
|
4222
4298
|
fontSize: '12px',
|
|
4223
4299
|
color: 'var(--colorNeutralForeground3)',
|
|
4224
|
-
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), index.h("udp-field", { key: '
|
|
4300
|
+
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), index.h("udp-field", { key: '577ba4ad237d728e41965465037379bdf72a1a76', name: "searchText" }, index.h("udp-search-input", { key: 'c3d668496a5412b1857d9af0e471afd3f7338d40', disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize, placeholder: "Search for something...", includeErrorPadding: false })), index.h("udp-field", { key: 'cbe154cec33d20e5dbf53c169f6cd5c1d977efdb', name: "firstName" }, index.h("udp-fluent-text-input", { key: 'b9e18af32e285eb8b0a333e077db563328b59522', label: "First Name", required: true, disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize, placeholder: "Enter your first name", popupHint: "Enter your first name, this should appear above the input" })), index.h("div", { key: '543118dac633adf8116391a09cc7771b3d02453b', style: { display: 'flex', gap: '1rem', flexDirection: 'row', flex: '1' } }, index.h("udp-field", { key: '13cc86f85b21bb47c7cfcd7190bccfa6510e2414', name: "email" }, index.h("udp-fluent-text-input", { key: 'b99da8dda5eaa445e07ba7a7f4984458eeb4d5f9', label: "Email Address", type: "email", value: "jordanatchison@univerus.com", required: true, disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize })), index.h("udp-field", { key: '13a15ee8541a0ac1a7326f6f4fdcc2bbb7ae647d', name: "age" }, index.h("udp-fluent-text-input", { key: '066109f96e1aa31cba53ecd3396caf3692304036', label: "Age", type: "number", required: true, disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize }))), index.h("udp-field", { key: '7c3a5ab1406defbd262ee94f1c7b13c1b1accfe9', name: "birthday" }, index.h("udp-date-input", { key: '3c91d7a879dc6c7583b612880bd281251c378c6c', label: "Birthday", minDate: "2026-01-11", maxDate: "2026-01-22", dateSelectionType: "range", required: true, disabled: this.controlDisabled, appearance: this.controlAppearance, controlSize: this.controlSize })), index.h("udp-field", { key: 'a0e7dde5d7738d23fa04326986f083150faaf379', name: "appointment" }, index.h("udp-date-time-input", { key: '16d274feeb819b80e26fcbbadae81018049544d0', label: "Appointment (Combined Date/Time)", required: true, disabled: this.controlDisabled, appearance: this.controlAppearance, controlSize: this.controlSize })), index.h("div", { key: '3cf979b4d1fd075aa755d83d1c09f526bfed6066', style: { display: 'flex', gap: '1rem', flexDirection: 'row', flex: '1' } }, index.h("udp-field", { key: '2e993091abe198133644b7eda391bb7e4ec7413d', name: "startTime" }, index.h("udp-time-input", { key: '5ed411657aa92cee99ad7d5cfada1b179886772f', label: "Start Time (Freeform)", placeholder: "e.g. 2:30pm", hint: "Type any time or select from list", required: true, disabled: this.controlDisabled, appearance: this.controlAppearance, controlSize: this.controlSize })), index.h("udp-field", { key: '5e5a7ddf3cfd9eb3d5e33a44e708302d59dc3bf1', name: "endTime", validate: () => 'always invalid' }, index.h("udp-time-input", { key: 'faa769287854353e477131cd011f02293d7dfd3d', label: "End Time", placeholder: "e.g. 5:30pm", minuteStep: 30, hint: "Type any time or select from list", required: true, disabled: this.controlDisabled, appearance: this.controlAppearance, controlSize: this.controlSize }))), index.h("udp-field", { key: '3ecee12210022915c21ad750c0a2efbe489b2331', name: "bio" }, index.h("udp-textarea", { key: 'f4fbde49eb135edfbbd1ed189aeabf26a713d58a', label: "Bio", placeholder: "Tell us about yourself", autoResize: true, required: true, disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize })), index.h("udp-field", { key: '54a760f790b539f320f386bf153dd030f9c36833', name: "exclamation", validate: mustHaveExclamation }, index.h("udp-fluent-text-input", { key: '7897336e29ddf49904dd51b99cda739a0ecea7c7', label: "Exclamation", hint: "exclamation mark please", required: true, disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize })), index.h("udp-field", { key: '398dc1bbf8eddce4469939254571fbe469eae83e', name: "favoriteAnimal" }, index.h("udp-fluent-dropdown", { key: '1ab9cc338cab60bbc0d39a250bf3e5b4bea1eaff', placeholder: "Select an animal", label: "Favorite Animal (Dropdown)", appearance: this.controlAppearance, disabled: this.controlDisabled, required: true, optionValue: 'value', optionLabel: (data) => data.label, options: animals, controlSize: this.controlSize })), index.h("udp-field", { key: '037af85abfa64af79df7f6999277936bbed9ee3c', name: "favoriteAnimalAutoComplete" }, index.h("udp-autocomplete", { key: '8c13f0e646ad1a88fba73d3a1e94fda9c6241a6d', placeholder: "Select an animal", label: "Favorite Animal", appearance: this.controlAppearance, disabled: this.controlDisabled, required: true, optionValue: 'value', optionLabel: (data) => data.label,
|
|
4225
4301
|
// multiple={true}
|
|
4226
|
-
options: animals, controlSize: this.controlSize, popupHint: "Select an animal" })), index.h("udp-field", { key: '
|
|
4302
|
+
options: animals, controlSize: this.controlSize, popupHint: "Select an animal" })), index.h("udp-field", { key: '1ed35217e38fc89930ced1c85205223f00dd9a47', name: "serverSideUser" }, index.h("udp-autocomplete", { key: 'bb659d324791d9397c10b7edf47e44e3545ffabc', required: true, placeholder: "Search for an actor...", label: "Server Side Actor", appearance: this.controlAppearance, disabled: this.controlDisabled, optionValue: "id", optionLabel: (option) => option.firstName + ' ' + option.lastName, searchFunction: this.searchFunction, controlSize: this.controlSize, multiple: true })), index.h("udp-field", { key: '00b50bbd5e3c6d383982a639d7bf2d34221dcde0', name: "newsletter" }, index.h("udp-fluent-checkbox", { key: 'd22e6f022b5f32c1e517be65dd02793c042ff964', label: "Subscribe to newsletter", hint: "We will only send you emails about important updates", disabled: this.controlDisabled, controlSize: this.controlSize })), index.h("udp-field", { key: '6f774281e54e3492ec48b5e88011be81db921f3a', name: "commitment" }, index.h("udp-slider", { key: '10867345a8d51930b37cbed4303e60882a6c588a', label: "Commitment Level", disabled: this.controlDisabled })), index.h("udp-field", { key: 'dd00ca268cf6e0ad3dfb9c5b2b5a42c1409e98d3', name: "active" }, index.h("udp-fluent-switch", { key: '97921e56b2052032f05449cc9a0a8d24ed733e68', label: "Active", labelPosition: "after", disabled: this.controlDisabled })), index.h("udp-field", { key: '08ec8a0abd17c9b01a7fbc8c85a741c3fc8d1453', name: "favoriteColor" }, index.h("udp-fluent-radio-group", { key: '7b2f4a5c7ac37ad62182ebf9ebc62d046438a8f1', label: "Favorite Colo", disabled: this.controlDisabled, hint: "Favorite Color", items: [
|
|
4227
4303
|
{ label: 'Red', value: 'red' },
|
|
4228
4304
|
{ label: 'Green', value: 'green' },
|
|
4229
4305
|
{ label: 'Blue', value: 'blue' },
|
|
4230
|
-
] })), index.h("udp-field", { key: '
|
|
4306
|
+
] })), index.h("udp-field", { key: '4c478aa702a451d5e4883142f566daa22bf618bb', name: "swatchColor" }, index.h("udp-swatch-picker", { key: 'e2cac0903a1f70edc9cb4b6d21f22b6f34dae9af', label: "Pick a Color (Swatch)", hint: "Pick a color", swatches: colorSwatches, layout: "row", shape: "square", size: this.controlSize === 'small'
|
|
4231
4307
|
? 'small'
|
|
4232
4308
|
: this.controlSize === 'large'
|
|
4233
4309
|
? 'large'
|
|
@@ -4352,9 +4428,9 @@ const UdpAmbientToolTip = class {
|
|
|
4352
4428
|
render() {
|
|
4353
4429
|
// Check if content is provided before rendering the tooltip content.
|
|
4354
4430
|
const shouldDisplayTooltip = !!this.isVisible && !!this.content && this.content.trim() !== '';
|
|
4355
|
-
return (index.h("div", { key: '
|
|
4431
|
+
return (index.h("div", { key: 'ba43b9272b01c8f13256d6d0367e3cb19ca91f4a', class: "tooltip-wrapper", ref: el => (this.wrapperEl = el), onMouseOver: this.showTooltip, onMouseOut: this.hideTooltip }, index.h("slot", { key: 'f028f5baee28229de5e34485102181071bfbc5f5' }), shouldDisplayTooltip && (
|
|
4356
4432
|
// STEP 4: Use the global class name we defined in our style string.
|
|
4357
|
-
index.h("div", { key: '
|
|
4433
|
+
index.h("div", { key: 'bad944a8541dd8eea47f8e70c34abe76246fb86c', class: "udp-tooltip-portal", role: "tooltip", ref: el => (this.tooltipContentEl = el) }, index.h("unity-typography", { key: '1e172e9d30000a5a32ce7fb78f18c1a570d074a3', variant: "caption-text" }, this.content)))));
|
|
4358
4434
|
}
|
|
4359
4435
|
};
|
|
4360
4436
|
UdpAmbientToolTip.style = udpAmbientToolTipCss();
|
|
@@ -5094,10 +5170,10 @@ const UdpAutocomplete = class {
|
|
|
5094
5170
|
? this.resolveProp(overlayOption, this.optionLabel, true)
|
|
5095
5171
|
: null;
|
|
5096
5172
|
const overlayBadges = overlayOption ? this.getOptionBadges(overlayOption) : [];
|
|
5097
|
-
return (index.h(index.Host, { key: '
|
|
5173
|
+
return (index.h(index.Host, { key: '41b58b9428f2a8c9f155cef92268a5ef950bd8fa', class: { 'has-error': hasError } }, index.h("fluent-field", { key: '4f07c34e825f56bbc1e0706add450c3ae4793fc3', class: {
|
|
5098
5174
|
'no-label': !this.label && !this.multiple,
|
|
5099
5175
|
'no-message': !message && !this.includeErrorPadding,
|
|
5100
|
-
} }, index.h("div", { key: '
|
|
5176
|
+
} }, index.h("div", { key: '669ef2dd7723af468728fa1b45f5bf5748a10775', class: "label-content", onClick: () => this.handleTogglePopover(false), slot: "label" }, this.label && (index.h("fluent-label", { key: '6bf435ce0a60103cdb7814df5bd1c197d2c19a8a', disabled: this.disabled, style: { paddingTop: '2px', paddingBottom: '2px' } }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '0b7cd46fc4a19b04cb136c107b7d97f22eb3c671', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: 'b2e3c5eabad1323d6e50aab05a139ecb3950afb5', name: "info", size: "xs", class: "popup-hint-icon" }))))), this.multiple && (index.h("div", { key: '9375ee46ee1d3e7bb67f032a5212842af8e3ebd8', class: {
|
|
5101
5177
|
'selected-items': true,
|
|
5102
5178
|
'has-items': selectedItems.length > 0,
|
|
5103
5179
|
} }, selectedItems.map(item => {
|
|
@@ -5107,14 +5183,14 @@ const UdpAutocomplete = class {
|
|
|
5107
5183
|
// mode `item` is already the object, so this is a no-op.
|
|
5108
5184
|
const opt = (_a = this.findOptionByValue(this.getOptionValue(item))) !== null && _a !== void 0 ? _a : item;
|
|
5109
5185
|
return (index.h("udp-fluent-badge", { color: "brand", shape: "circular", dismissible: !this.disabled, onDismiss: () => this.handleChipDelete(item) }, this.resolveProp(opt, this.optionLabel, true)));
|
|
5110
|
-
})))), index.h("div", { key: '
|
|
5186
|
+
})))), index.h("div", { key: '4c2ea28f1784c4f3cb54a5828af8bf9ca97cf811', slot: "input", class: {
|
|
5111
5187
|
'input-wrapper': true,
|
|
5112
5188
|
'has-overlay': !!overlayOption,
|
|
5113
|
-
} }, index.h("fluent-dropdown", { key: '
|
|
5189
|
+
} }, index.h("fluent-dropdown", { key: '641e550ad106a048c6ed1846bf07bc6e465ca12f', type: "combobox", name: this.name, appearance: mappedAppearance, size: this.controlSize, disabled: this.disabled, required: this.required, placeholder: this.placeholder, multiple: this.multiple,
|
|
5114
5190
|
// Events
|
|
5115
5191
|
onInput: this.handleInput, onChange: this.handleChange, onFocusout: this.handleBlur, onFocusin: this.handleFocusIn,
|
|
5116
5192
|
// Suppress native invalid popup
|
|
5117
|
-
onInvalid: (e) => e.preventDefault(), exportparts: "control, listbox", ref: el => (this.dropdownRef = el) }, index.h("fluent-listbox", { key: '
|
|
5193
|
+
onInvalid: (e) => e.preventDefault(), exportparts: "control, listbox", ref: el => (this.dropdownRef = el) }, index.h("fluent-listbox", { key: '1bca6b2057765e9f602f4f5f19beb0f815517d6a' }, (this.loading || this.internalLoading) && (index.h("fluent-option", { key: 'cc3b0d1be8ba90d1dfcea78c6eb01e77b8e3db56', disabled: true, ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, index.h("span", { key: '613f179e5c78991e4cbbe4410fa89fe21902f5c2' }, "Loading..."), index.h("span", { key: '373efef0bf10844ed599242da7597d2e5eab1e18', slot: "indicator" }))), !this.loading && !this.internalLoading && visibleCount === 0 && !this.freeForm && (index.h("fluent-option", { key: 'b1969f76607daf1c32a7b0f77b9ee5e09bef9290', disabled: true, value: "empty", ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, "No options available")), !this.loading &&
|
|
5118
5194
|
!this.internalLoading &&
|
|
5119
5195
|
(displayOptions === null || displayOptions === void 0 ? void 0 : displayOptions.length) > 0 &&
|
|
5120
5196
|
(() => {
|
|
@@ -5145,7 +5221,7 @@ const UdpAutocomplete = class {
|
|
|
5145
5221
|
} }, optIcon && this.iconPosition === 'start' && (index.h("span", { slot: "start", class: "option-icon-slot" }, index.h("udp-fluent-icon", { name: optIcon, size: "sm" }))), this.renderOptionContent(optLabel, optIcon, optBadges, this.getOptionSecondaryText(option))));
|
|
5146
5222
|
});
|
|
5147
5223
|
return nodes;
|
|
5148
|
-
})(), this.freeForm && (index.h("fluent-option", { key: '
|
|
5224
|
+
})(), this.freeForm && (index.h("fluent-option", { key: '63d467e3ee2166b2d0bbbbfa75ece2c187656a07', freeform: true }, index.h("output", { key: 'eea33d6791ba4298b580dd4ea25e4628306f4ed8' })))), index.h("div", { key: 'eb3fdaf70c848ba4c69fe448a4da5d497779a10b', slot: "indicator", class: "indicator-wrapper" }, index.h("udp-fluent-icon-button", { key: '1b85a59b3f94e9c089a65b54bb16c45fa5369a7a', class: {
|
|
5149
5225
|
'clear-button': true,
|
|
5150
5226
|
'is-visible': this.clearable &&
|
|
5151
5227
|
!this.disabled &&
|
|
@@ -5154,10 +5230,10 @@ const UdpAutocomplete = class {
|
|
|
5154
5230
|
(this.multiple &&
|
|
5155
5231
|
Array.isArray(this.value) &&
|
|
5156
5232
|
this.value.length > 0)),
|
|
5157
|
-
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), index.h("udp-fluent-icon", { key: '
|
|
5233
|
+
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), index.h("udp-fluent-icon", { key: '1d442a00b18f54cb3dbc31e969582f6d891e9a08', name: "chevron-down", size: "sm", class: "chevron-down", onClick: () => this.handleTogglePopover(false) }))), overlayOption && (index.h("div", { key: '86e25f0406501ae90c2c18bfc45439ecaabde552', class: "selected-overlay", "aria-hidden": "true" }, index.h("span", { key: '1141ec0652db41ab4f47d6f011d255d337dd9d6e', class: "selected-label" }, overlayLabel), this.renderBadges(overlayBadges)))), index.h("div", { key: 'a0fe9404433887a0412fa0b88741b3d7199f58cc', class: {
|
|
5158
5234
|
'message-wrapper': true,
|
|
5159
5235
|
'includeErrorPadding': this.includeErrorPadding,
|
|
5160
|
-
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, index.h("udp-text", { key: '
|
|
5236
|
+
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, index.h("udp-text", { key: '8c3aaf37f8e570c41fd19d569f329b2741c42c25', variant: "caption1", class: {
|
|
5161
5237
|
message: true,
|
|
5162
5238
|
error: hasError,
|
|
5163
5239
|
} }, message)))));
|
|
@@ -5223,7 +5299,7 @@ const UdpAvatar = class {
|
|
|
5223
5299
|
else {
|
|
5224
5300
|
style['background-color'] = this.getColorForUsername();
|
|
5225
5301
|
}
|
|
5226
|
-
return (index.h("div", { key: '
|
|
5302
|
+
return (index.h("div", { key: '8a4610ec04661e1b452a3a90d1014bf8b52ab724', class: classes.join(' '), style: style }, this.iconName ? index.h("udp-icon", { iconName: this.iconName, darkIcon: false }) : index.h("unity-typography", { variant: "data-display-two" }, " ", this.getInitial())));
|
|
5227
5303
|
}
|
|
5228
5304
|
};
|
|
5229
5305
|
UdpAvatar.style = udpAvatarCss();
|
|
@@ -5238,7 +5314,7 @@ const UdpBadge = class {
|
|
|
5238
5314
|
}
|
|
5239
5315
|
render() {
|
|
5240
5316
|
const displayContent = this.content > this.max ? `${this.max}+` : this.content;
|
|
5241
|
-
return (index.h("div", { key: '
|
|
5317
|
+
return (index.h("div", { key: '0da8a2e57f1008f1c8125dc04371b7ff2f645d46', class: "badge-wrapper" }, index.h("slot", { key: '58c84e04d456bffb8ef52bc17920106e877731a6' }), index.h("span", { key: '6d89069c5fba243dd09768d53bc22db5a9d10087', class: "badge-content" }, index.h("unity-typography", { key: '782d4e30187dcdc37c3f576c8c5ef7abdba98c69', variant: 'caption-text' }, " ", displayContent, " "))));
|
|
5242
5318
|
}
|
|
5243
5319
|
};
|
|
5244
5320
|
UdpBadge.style = udpBadgeCss();
|
|
@@ -5344,7 +5420,7 @@ const UdpButton = class {
|
|
|
5344
5420
|
else {
|
|
5345
5421
|
attributes.type = this.type;
|
|
5346
5422
|
}
|
|
5347
|
-
return (index.h(TagType, Object.assign({ key: '
|
|
5423
|
+
return (index.h(TagType, Object.assign({ key: '7baa84d7ecb0dad30e292631ec5f4b802517981e' }, attributes), index.h("div", { key: '8cccc816704063361274b8d49c21e7572833054c', class: "udp-button__spinner" }), index.h("span", { key: '4b58d1302bb915e3f5b2e601a018b7a50a0e9d85', class: "udp-button__content-wrapper" }, this.startIcon && (index.h("span", { key: '0ee4f987276bf6a7e45bb2640459b1758f4278a6', class: "udp-button__icon udp-button__icon--start", "aria-hidden": "true" }, this.startIcon)), index.h("span", { key: 'd62a766a265c05bee812fcb65c3e27d583f743e2', class: "udp-button__text-content" }, index.h("slot", { key: 'c6f506475afbb059da5c83d018cd58e507ee23fe' })), this.endIcon && (index.h("span", { key: '2484247e6274bfe59692431bfbd14ebe7361382c', class: "udp-button__icon udp-button__icon--end", "aria-hidden": "true" }, this.endIcon)))));
|
|
5348
5424
|
}
|
|
5349
5425
|
get el() { return index.getElement(this); }
|
|
5350
5426
|
};
|
|
@@ -5395,7 +5471,7 @@ const UdpChip = class {
|
|
|
5395
5471
|
[`chip--size-${this.size}`]: true,
|
|
5396
5472
|
'chip--clickable': this.clickable,
|
|
5397
5473
|
};
|
|
5398
|
-
return (index.h("div", { key: '
|
|
5474
|
+
return (index.h("div", { key: 'db2ae186154f0cca508f74a6b15a34572168e1bb', class: chipClasses, onClick: this.handleChipClick }, this.startIcon && (index.h("span", { key: '2f37a3cf668cb672af2d21e59631931759917b08', class: "chip__icon chip__icon--start" }, index.h("udp-icon", { key: 'b9fff2c87738d25b13bfa8b754a150799fb1d451', iconName: this.startIcon, color: 'inherit' }))), index.h("span", { key: '3ab501a26f3c2054952fbeb6b99ef0d223503c5c', class: "chip__label" }, this.label), this.deleteButton && (index.h("span", { key: '926050f23f933abf8d841ad3b10f3a5445b2c8b6', class: "chip__delete-icon", onClick: this.handleDeleteClick, title: "Remove" }, index.h("svg", { key: '6c726696d04bc69faaa782328ecb3d39a3248930', width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor" }, index.h("path", { key: '02445c24dad9bf50d77f96f0cc762ca208c32a5b', d: "M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z" }))))));
|
|
5399
5475
|
}
|
|
5400
5476
|
};
|
|
5401
5477
|
UdpChip.style = udpChipCss();
|
|
@@ -5473,7 +5549,7 @@ const UdpCompoundButton = class {
|
|
|
5473
5549
|
const showEnd = slotHelpers.hasSlotContent(this.el, 'end') || !!this.endIconName;
|
|
5474
5550
|
const showDescription = slotHelpers.hasSlotContent(this.el, 'description') || !!this.description;
|
|
5475
5551
|
const iconSize = getIconSize(this.size, 'prominent');
|
|
5476
|
-
return (index.h(index.Host, { key: '
|
|
5552
|
+
return (index.h(index.Host, { key: '0ce666036b63eb40d2f9f5f489ce384a59ba8fd3' }, index.h("fluent-compound-button", { key: 'ce4cd212c8d05e0fb8a01b8d6a6014f2072d17c9', appearance: this.appearance, disabled: this.disabled || this.loading, "disabled-focusable": this.disabledFocusable, shape: this.shape, size: this.size, "icon-only": this.iconOnly, "aria-pressed": this.selected === undefined ? null : String(this.selected) }, showStart && (index.h("span", { key: 'df21f5a953fae24b6e53b97a4094cf65b22164ca', class: "slot-wrapper", slot: "start" }, index.h("slot", { key: 'b34eaa4dfbb4d5ce316bc5f77914ff1a765d71b2', name: "start" }, this.startIconName && (index.h("udp-fluent-icon", { key: 'cf9964ee8edcabb1aad307841c2cb2d1f131ea5b', name: this.startIconName, size: iconSize }))))), showDescription && (index.h("span", { key: 'ea0a9aadb37af98f519f4efb56d0342e0eed434e', slot: "description", class: "description-wrapper" }, index.h("slot", { key: '20b5799b4ae282e74f3ae1e0c6de6b6ddedf0618', name: "description" }, this.description))), index.h("slot", { key: '6b1af3fbbe045224af7c72fe1f87e1c5a1afcded' }), showEnd && (index.h("span", { key: '431fc5a2e8c6db9e80132b5e0252dcfb2fddbe02', class: "slot-wrapper", slot: "end" }, index.h("slot", { key: '02fb767468962d5eb827101183f9fe409b030f9a', name: "end" }, this.endIconName && index.h("udp-fluent-icon", { key: '212230c61329e892926512ca66cb6078b9eba991', name: this.endIconName, size: iconSize }))))), this.loading && (index.h("div", { key: '7aa2262408cf008917f358983056b84b272e8d6b', class: "loading-overlay" }, index.h("udp-spinner", { key: '69356419e7eab31e29c057ef16071f08ce9c6e7b', size: this.size === 'large' ? 'extra-small' : 'tiny' })))));
|
|
5477
5553
|
}
|
|
5478
5554
|
get el() { return index.getElement(this); }
|
|
5479
5555
|
};
|
|
@@ -6554,10 +6630,10 @@ const UdpDateRangeSelector = class {
|
|
|
6554
6630
|
: 'calendar-range';
|
|
6555
6631
|
const containerWidth = this.getContainerWidth();
|
|
6556
6632
|
const monthWidth = this.getMonthWidth();
|
|
6557
|
-
return (index.h(index.Host, { key: '
|
|
6633
|
+
return (index.h(index.Host, { key: '83e00a2208e91dfdd44a778b1b057d8feed2a000', style: {
|
|
6558
6634
|
'--calendar-width': monthWidth,
|
|
6559
6635
|
'--container-width': containerWidth,
|
|
6560
|
-
}, class: `size-${this.size}`, onClick: e => e.stopPropagation() }, index.h("div", { key: '
|
|
6636
|
+
}, class: `size-${this.size}`, onClick: e => e.stopPropagation() }, index.h("div", { key: '889da7ac6b4ad6c7085c0e61a981b1c6b78abafb', class: "calendar-header" }, index.h("udp-fluent-icon-button", { key: 'f0f6c0e218f53dc894b5135afd507e6918c8cd67', iconName: "chevron-left", onClick: this.handlePrevious, disabled: this.isPrevDisabled(), appearance: "transparent", ariaLabel: "Previous" }), index.h("udp-fluent-button", { key: 'd4e556303c65bc34770d4b0f5ae23d0dfb08d33d', appearance: "transparent", onClick: this.handleHeaderClick, ariaLabel: this.viewMode === 'year' ? undefined : 'Change view', disabled: this.viewMode === 'year' }, this.getHeaderText()), index.h("udp-fluent-icon-button", { key: 'b7a0f8767e0f6d5d97e06716682c7fbc9f69842d', iconName: "chevron-right", onClick: this.handleNext, disabled: this.isNextDisabled(), appearance: "transparent", ariaLabel: "Next" })), this.viewMode === 'day' && (index.h(CalendarTag, { key: '0fb02e7eb16b6ea86087f7afc424c65fe923db18', ref: el => (this.calendarRef = el), value: this.value, min: this.minDate, max: this.maxDate, firstDayOfWeek: 0, months: this.monthsToDisplay, showOutsideDays: true, pageBy: "single", isDateDisallowed: this.isDateDisallowed, getDayParts: this.getDayParts, onChange: this.handleChange, onFocusday: this.handleFocusChange }, index.h("span", { key: '2f780c058c875271683cbe83d90fc23d13bb62a7', slot: "previous", style: { display: 'none' } }), index.h("span", { key: '5737f2a4bd9da8594172b632788f0521cce4b7d9', slot: "next", style: { display: 'none' } }), index.h("div", { key: '2d77fc1c69ece8277f8e02cfbf6758db923c33bf', class: "grid" }, Array.from({ length: this.monthsToDisplay }).map((_, index$1) => (index.h("calendar-month", { offset: index$1 })))))), this.viewMode === 'month' && this.renderMonthGrid(), this.viewMode === 'year' && this.renderYearGrid()));
|
|
6561
6637
|
}
|
|
6562
6638
|
static get delegatesFocus() { return true; }
|
|
6563
6639
|
static get watchers() { return {
|
|
@@ -6663,7 +6739,7 @@ const UdpDateTimeInput = class {
|
|
|
6663
6739
|
// If a main label is provided (for date) but no time label, default time label to a non-breaking space
|
|
6664
6740
|
// to maintain vertical alignment (ensuring the time input isn't pushed up).
|
|
6665
6741
|
const effectiveTimeLabel = this.timeLabel === undefined && this.label ? '\u00A0' : this.timeLabel;
|
|
6666
|
-
return (index.h(index.Host, { key: '
|
|
6742
|
+
return (index.h(index.Host, { key: '716c96e34655b984544529a5702bed5fb92fda57' }, index.h("div", { key: '71f35f3335950d60638388b7941079df2cc8ddc4', class: "date-part" }, index.h("udp-date-input", { key: '1022e4f7d2c9ecc05aaafef3b99b376836c2ab6d', name: `${this.name}-date`, value: this.datePart, required: this.required, disabled: this.disabled, autofocus: this.autofocus, appearance: this.appearance, controlSize: this.controlSize, dateFormat: (_a = this.dateFormat) !== null && _a !== void 0 ? _a : this.format, minDate: this.minDate, maxDate: this.maxDate, isDateDisallowed: this.isDateDisallowed, getDayParts: this.getDayParts, error: this.error, includeErrorPadding: this.includeErrorPadding, onValueChanged: this.handleDateChange, label: this.label, popupHint: this.popupHint })), index.h("div", { key: 'fe596e8c2faf15f60fe64ce210057f7fdfeb669b', class: "time-part" }, index.h("udp-time-input", { key: '5db75ff15bf0587131855f8d327b499ee67e1521', name: `${this.name}-time`, value: this.timePart, required: false, disabled: this.disabled, appearance: this.appearance, controlSize: this.controlSize, label: effectiveTimeLabel, minuteStep: this.minuteStep, use24Hour: this.use24Hour, onValueChanged: this.handleTimeChange, includeErrorPadding: this.includeErrorPadding, error: this.error ? ' ' : undefined }))));
|
|
6667
6743
|
}
|
|
6668
6744
|
static get watchers() { return {
|
|
6669
6745
|
"value": [{
|
|
@@ -6726,7 +6802,7 @@ const UdpDialog = class {
|
|
|
6726
6802
|
document.removeEventListener('keydown', this.handleKeyDown);
|
|
6727
6803
|
}
|
|
6728
6804
|
render() {
|
|
6729
|
-
return (index.h(index.Host, { key: '
|
|
6805
|
+
return (index.h(index.Host, { key: 'cb18dd6c5ab33027ca2ec9393dccd65d8758ccc4', onClick: this.handleOverlayClick }, index.h("div", { key: 'd9eb88d6df1c725d4e88f3ddc3c164e805381398', class: "dialog-container", role: "dialog", "aria-modal": "true", "aria-labelledby": this.titleId, "aria-describedby": this.descriptionId, onClick: (event) => event.stopPropagation() }, index.h("div", { key: 'c1802e316d82b90208879df0e5c83d55e4af36cf', class: "dialog-title", id: this.titleId }, index.h("unity-typography", { key: 'a5da1a32e1384fd005d9450255dac9c3f7bae008', variant: "h3" }, this.title)), index.h("div", { key: 'e3cfefaf4b7b5f795f2c80e443f2e8112cd18143', class: "dialog-content", id: this.descriptionId }, this.message && index.h("unity-typography", { key: '985ed90140ed83a6097cc458e8632ac557d143eb', variant: "body" }, this.message), index.h("slot", { key: '24cc4caf5617e445f04662cfb76c40fbec3ab9bd' })), index.h("div", { key: 'bea5757676e3f01a875a514580ccc066501df7dd', class: "dialog-actions" }, !this.buttonTwoHidden && (index.h("udp-button", { key: '0d612a4ae1bc44b061d4b2a897c3a7f45ce98ca2', variant: 'text', disabled: this.disableTwo, onClick: () => this.actionTwo() }, this.labelTwo)), !this.buttonThreeHidden && (index.h("udp-button", { key: '074a8527a9f48fcc1c1027f9db7baa2da9a8e16d', variant: 'text', disabled: this.disableThree, onClick: () => this.actionThree() }, this.labelThree)), !this.buttonOneHidden && (index.h("udp-button", { key: '13860fe4323f892ea67e189ca21e5a2178ebc69e', variant: 'contained', disabled: this.disableOne, onClick: () => this.actionOne(), loading: !!this.progress }, this.labelOne))))));
|
|
6730
6806
|
}
|
|
6731
6807
|
get hostEl() { return index.getElement(this); }
|
|
6732
6808
|
static get watchers() { return {
|
|
@@ -6782,13 +6858,13 @@ const UdpEmptyState = class {
|
|
|
6782
6858
|
const showIconArea = this.loading || this.hasIcon || !!this.iconName;
|
|
6783
6859
|
const showSecondary = this.hasSecondary || !!this.description;
|
|
6784
6860
|
const textVariants = TEXT_VARIANT_MAP[this.size];
|
|
6785
|
-
return (index.h(index.Host, { key: '
|
|
6861
|
+
return (index.h(index.Host, { key: 'e93b07a3fd7735656f9e1cdaf85a4d1c6e5ca67e', class: `size-${this.size}` }, index.h("div", { key: 'c914cd2dddc06ea87dfb6bb114815ef7c3ead245', class: { 'empty-state-icon': true, hidden: !showIconArea } }, index.h("div", { key: '9485f4dcaacf5d8b19d9fad9e5d90b3aa0bd6fc6', class: { 'icon-slot': true, hidden: this.loading } }, index.h("slot", { key: '4676772d152d8fe23026d8ab8d430807f270f0d8', name: "icon", onSlotchange: this.handleSlotChange }, this.iconName && index.h("udp-fluent-icon", { key: '8fdbbec190c85ed57e8aed29b82f08315806a66c', name: this.iconName }))), this.loading && index.h("udp-spinner", { key: '5d7e768f488e31943d085f687fc5b2e5ea53879c', size: SPINNER_SIZE_MAP[this.size] })), index.h("div", { key: '56e08c3b1b15f3dcf4cb49376ffebdee87b01580', class: "empty-state-primary" }, index.h("slot", { key: '0a70b1a898419dcc65463ebcd25cb2d310783609', onSlotchange: this.handleSlotChange }, this.heading && index.h("udp-text", { key: '4db25583f38bcecf12c151c0e9553004b7a7a7a4', variant: textVariants.heading }, this.heading))), index.h("div", { key: '41cf4f1723f3a87d1be0dacba88415063bd910a7', class: { 'empty-state-secondary': true, hidden: !showSecondary } }, index.h("slot", { key: '776f182e79316b98f9bbece60db558ef919dd22f', name: "secondary", onSlotchange: this.handleSlotChange }, this.description && index.h("udp-text", { key: '71598dc5f908689fb69c5fe62f466e2468cb10b2', variant: textVariants.description }, this.description))), index.h("div", { key: '102cce72e2f5d009f2fcad7f45b69ecdb28dc66d', class: { 'empty-state-action': true, hidden: !this.hasAction } }, index.h("slot", { key: 'f2779cec821fefd7300303c4f8c485aac837b8ba', name: "action", onSlotchange: this.handleSlotChange }))));
|
|
6786
6862
|
}
|
|
6787
6863
|
get el() { return index.getElement(this); }
|
|
6788
6864
|
};
|
|
6789
6865
|
UdpEmptyState.style = udpEmptyStateCss();
|
|
6790
6866
|
|
|
6791
|
-
const udpExportSheetCss = () => `:host{display:contents}.export-sheet{display:flex;flex-direction:column;gap:var(--spacingVerticalM, 12px)}.stack{display:flex;flex-direction:column;gap:var(--spacingVerticalM, 12px)}.row-list{display:flex;flex-direction:column;gap:var(--spacingVerticalS, 8px);margin-top:var(--spacingVerticalS, 8px)}.row{display:flex;align-items:center;justify-content:space-between;gap:var(--spacingHorizontalM, 12px)}.row-label{color:var(--colorNeutralForeground3, #616161)}.filters{display:flex;flex-wrap:wrap;gap:var(--spacingHorizontalS, 8px)}.muted{color:var(--colorNeutralForeground3, #616161)}.export-footer{display:flex;
|
|
6867
|
+
const udpExportSheetCss = () => `:host{display:contents}.export-sheet{display:flex;flex-direction:column;gap:var(--spacingVerticalM, 12px)}.stack{display:flex;flex-direction:column;gap:var(--spacingVerticalM, 12px)}.row-list{display:flex;flex-direction:column;gap:var(--spacingVerticalS, 8px);margin-top:var(--spacingVerticalS, 8px)}.row{display:flex;align-items:center;justify-content:space-between;gap:var(--spacingHorizontalM, 12px)}.row-label{color:var(--colorNeutralForeground3, #616161)}.filters{display:flex;flex-wrap:wrap;gap:var(--spacingHorizontalS, 8px)}.muted{color:var(--colorNeutralForeground3, #616161)}.export-footer{display:flex;width:100%}`;
|
|
6792
6868
|
|
|
6793
6869
|
const POLL_INTERVAL_MS = 5000;
|
|
6794
6870
|
const STATUS = { PENDING: 1, RUNNING: 2, COMPLETED: 3, FAILED: 4 };
|
|
@@ -6855,7 +6931,6 @@ const UdpExportSheet = class {
|
|
|
6855
6931
|
const job = (await apiUtils.executeQueryWithParameters({
|
|
6856
6932
|
data: {
|
|
6857
6933
|
requestBody: {
|
|
6858
|
-
debug: true,
|
|
6859
6934
|
exportAcrossAssociations: false,
|
|
6860
6935
|
exportOnAllAssociations: false,
|
|
6861
6936
|
exportSiblings: false,
|
|
@@ -6957,7 +7032,7 @@ const UdpExportSheet = class {
|
|
|
6957
7032
|
}
|
|
6958
7033
|
this.preparing = true;
|
|
6959
7034
|
try {
|
|
6960
|
-
const catalogId = this.apiCatalogId ||
|
|
7035
|
+
const catalogId = this.apiCatalogId || getCurrentApiCatalogId.getCurrentApiCatalogId();
|
|
6961
7036
|
if (!catalogId) {
|
|
6962
7037
|
this.pushError('catalog', 'No API catalog is available for export.', 'error');
|
|
6963
7038
|
return;
|
|
@@ -7007,9 +7082,15 @@ const UdpExportSheet = class {
|
|
|
7007
7082
|
}
|
|
7008
7083
|
}
|
|
7009
7084
|
selectedExportColumns() {
|
|
7085
|
+
var _a;
|
|
7010
7086
|
if (!this.columns.length)
|
|
7011
7087
|
return [];
|
|
7012
|
-
|
|
7088
|
+
// "Everything selected" normally means no projection, letting the backend
|
|
7089
|
+
// export its default column set. With extra fields in play that default
|
|
7090
|
+
// would not know which definitions the grid shows, so the projection is
|
|
7091
|
+
// always explicit (`_UdpExtraField.<Name>` ids ride along unchanged).
|
|
7092
|
+
const hasExtraFields = ((_a = this.searchObject) === null || _a === void 0 ? void 0 : _a.includeUdpExtraFieldValues) === true;
|
|
7093
|
+
if (!hasExtraFields && this.selectedColumns.length === this.columns.length)
|
|
7013
7094
|
return [];
|
|
7014
7095
|
return this.columns
|
|
7015
7096
|
.filter(col => this.selectedColumns.includes(col.field))
|
|
@@ -7110,12 +7191,12 @@ const UdpExportSheet = class {
|
|
|
7110
7191
|
const someShownSelected = shownSelectedCount > 0;
|
|
7111
7192
|
const sanitized = entityUtilities.getSanitizedName(this.entityName || '');
|
|
7112
7193
|
const statusId = (_a = this.activeJob) === null || _a === void 0 ? void 0 : _a.statusId;
|
|
7113
|
-
return (index.h(index.Host, { key: '
|
|
7194
|
+
return (index.h(index.Host, { key: 'b586670a12ee8884a29db89c019656d4e9898adb' }, index.h("udp-fluent-drawer", { key: '7fb9208134f6d1b80716f5f9ec7fcf2922ba848e', open: this.open, drawerTitle: this.sheetTitle, size: "medium", onDrawerClose: this.handleDrawerClose }, index.h("div", { key: 'cb3b3f11b9965d17a5884ec7ccb0797da3bb2362', class: "export-sheet" }, this.errors.map(err => (index.h("udp-message-bar", { intent: err.severity, layout: "multiline" }, err.message))), !showProgress && (index.h("div", { key: '2239d6909eae277525e64de849835bb736c4ec76', class: "stack" }, index.h("udp-fluent-card", { key: 'e59175204062aa54856f5d545bb614408b627d48', label: "Export Summary" }, index.h("udp-text", { key: 'da62298dea6ef6ede47904b344a088aa55abe683', variant: "body1" }, "Exports all records that match your applied filters."), index.h("div", { key: '9bdfefb0700c7dc321f1827ac6d037d7d5ff015d', class: "row-list" }, this.renderRow('Table', sanitized || '—'), this.renderRow('Number of Rows', this.numRowsToExport == null ? null : this.numRowsToExport.toLocaleString()))), index.h("udp-fluent-card", { key: '09575d8faa1602eedde568ba99f68bb849f81659', label: "Export Options" }, index.h("div", { key: '37a2474656cc2a7e4a5389c5c97b0a52c37dc9d8', class: "row-list" }, this.renderRow('File Format', this.fileFormat))), this.columns.length > 0 && (index.h("udp-fluent-card", { key: '05c2328541dba497f3e431baea5434ca48975304', label: "Columns" }, index.h("udp-flexbox", { key: 'a311207593a27d551e27d6b948fd9eaeb29cef33', direction: "column", gap: "sm" }, index.h("udp-search-input", { key: '5e01900d0714f89e17a52154ca1d4ac62ea440a5', value: this.columnSearch, placeholder: "Search columns", onValueChanged: (e) => {
|
|
7114
7195
|
var _a;
|
|
7115
7196
|
this.columnSearch = (_a = e.detail) !== null && _a !== void 0 ? _a : '';
|
|
7116
|
-
} }), shownColumns.length > 0 && (index.h("udp-fluent-checkbox", { key: '
|
|
7197
|
+
} }), shownColumns.length > 0 && (index.h("udp-fluent-checkbox", { key: 'fda814dfc8af31180aee40f2eaec66533c56d100', label: "Select all", includeErrorPadding: false, checked: allShownSelected, indeterminate: !allShownSelected && someShownSelected, onValueChanged: () => this.toggleAllShown(!allShownSelected) })), shownColumns.map(col => (index.h("udp-fluent-checkbox", { key: col.field, label: col.headerName, includeErrorPadding: false, checked: this.selectedColumns.includes(col.field), disabled: col.locked, onValueChanged: (e) => this.toggleColumn(col.field, e.detail) }))), shownColumns.length === 0 && (index.h("udp-text", { key: '7d84937045ca0e3208f7b19889055a1ed2e87698', variant: "body1" }, "No columns match your search."))))))), showProgress && (index.h("div", { key: '27cc1d06460fe594357f4ec0a5ceb3b65c27f5f2', class: "stack" }, index.h("udp-fluent-card", { key: 'be5a68f2d889e68aa288f18fde4be42c50726efe', label: "Job Details" }, index.h("udp-text", { key: 'd448f49236bded2f90f16c41fa0190b0d48fb910', variant: "body1" }, "Exports are handled in the background. You can safely close this window."), index.h("div", { key: '70079f75fa034b5435a8eb1be44cc033ace69ffa', class: "row-list" }, this.renderRow('Job Id', ((_b = this.activeJob) === null || _b === void 0 ? void 0 : _b.id) != null ? String(this.activeJob.id) : '—'), index.h("div", { key: '9a7a6e78086d161f05cb4c883138c77fbdfec14d', class: "row" }, index.h("udp-text", { key: 'f7b501c21709a625aa397c266096c69f79b62395', variant: "caption1", class: "row-label" }, "Status"), index.h("udp-fluent-badge", { key: 'a2d98e2f681aeea69ecb944308ae029cb4b8c0c5', appearance: "tint", color: this.statusColor(), shape: "rounded", size: "small" }, this.statusLabel())), (statusId === STATUS.PENDING || statusId === STATUS.RUNNING) && (index.h("udp-progress-bar", { key: '271dd8afc32e4fa7ee2d1f2e88f84dabecb7b29d', thickness: "medium", validationState: "info" })), statusId === STATUS.COMPLETED && !((_c = this.fileResult) === null || _c === void 0 ? void 0 : _c.link) && (index.h("udp-text", { key: '6a5b85b4b67e2f58877496c96a474a7ec829e5f9', variant: "body1" }, this.errors.some(e => e.id === 'fileResultGet')
|
|
7117
7198
|
? 'Your export is ready. To download it, visit the My Exports page.'
|
|
7118
|
-
: 'Your file is being finalized…')), statusId === STATUS.FAILED && (index.h("udp-text", { key: '
|
|
7199
|
+
: 'Your file is being finalized…')), statusId === STATUS.FAILED && (index.h("udp-text", { key: '3bd10c5f3a0d0efbe7f3a1c722550e89f46a7e03', variant: "body1" }, "The export failed. Please try again."))), statusId === STATUS.COMPLETED && ((_d = this.fileResult) === null || _d === void 0 ? void 0 : _d.link) && (index.h("udp-fluent-button", { key: '669eba1f0e5eb5f83cd402895cc3ed7d4d550f0f', slot: "footer", startIconName: "download", onClick: this.handleDownload }, "Download")))))), !showProgress && (index.h("div", { key: 'f76975ac218804b8ca4dcaffd24736073173a4e5', slot: "footer", class: "export-footer" }, index.h("udp-fluent-button", { key: '9dd2cb4fb5795b3f77db16972f78591bef752ce6', appearance: "primary", disabled: !this.validSearch || this.exportLoading || this.preparing, loading: this.exportLoading, startIconName: "export", onClick: this.handleCreateExport }, "Create Export"))))));
|
|
7119
7200
|
}
|
|
7120
7201
|
static get watchers() { return {
|
|
7121
7202
|
"open": [{
|
|
@@ -7411,7 +7492,7 @@ const UdpField = class {
|
|
|
7411
7492
|
}
|
|
7412
7493
|
}
|
|
7413
7494
|
render() {
|
|
7414
|
-
return index.h("slot", { key: '
|
|
7495
|
+
return index.h("slot", { key: 'adb9c22625a985ce7222ba9a77ed111f23b14192' });
|
|
7415
7496
|
}
|
|
7416
7497
|
get el() { return index.getElement(this); }
|
|
7417
7498
|
};
|
|
@@ -7578,7 +7659,7 @@ const UdpFluentAvatar = class {
|
|
|
7578
7659
|
}
|
|
7579
7660
|
render() {
|
|
7580
7661
|
const imgBorderRadius = this.getImageBorderRadius();
|
|
7581
|
-
return (index.h(index.Host, { key: '
|
|
7662
|
+
return (index.h(index.Host, { key: 'ede0119d8b0d4aae40fdc1fbd820ee598e0d411d' }, index.h("fluent-avatar", { key: '4d0d3d80cbb75bd6abe81c91bec5d9225ffc09fe', ref: this.setAvatarRef, active: this.active, shape: this.shape, appearance: this.appearance, size: this.size, color: this.color, name: this.name, initials: this.initials }, this.src ? (index.h("img", { src: this.src, alt: this.alt, style: Object.assign({ objectFit: 'cover' }, (imgBorderRadius ? { borderRadius: imgBorderRadius } : {})) })) : this.iconName ? (index.h("udp-fluent-icon", { name: this.iconName, variant: this.iconVariant, size: this.getIconSize() })) : null, index.h("slot", { key: 'e72efbdfa309e5c3b703be730a2db98b3d2f0d0e', name: "badge", slot: "badge" }))));
|
|
7582
7663
|
}
|
|
7583
7664
|
static get watchers() { return {
|
|
7584
7665
|
"name": [{
|
|
@@ -7631,13 +7712,13 @@ const UdpFluentBadge = class {
|
|
|
7631
7712
|
this.ready = true;
|
|
7632
7713
|
}
|
|
7633
7714
|
render() {
|
|
7634
|
-
return (index.h(index.Host, { key: '
|
|
7715
|
+
return (index.h(index.Host, { key: '113d66f531bd3b882a100121446adaf00ba58b24', class: { ready: this.ready, truncate: this.truncate } }, index.h("fluent-badge", { key: '3565c8ade5e3cbac1dd208e3b8343a5fe0323ce9', appearance: this.appearance, color: this.color, shape: this.shape, size: this.size }, (this.startIconName || slotHelpers.hasSlotContent(this.el, 'start')) && (index.h("span", { key: 'b072f87e2d76fb81d63fd5dfb121033f763f130c', class: "slot-wrapper", slot: "start" }, index.h("slot", { key: '53188a6ddbb19443647a1f00dd6a1c90c39142e4', name: "start" }, this.startIconName && (index.h("udp-fluent-icon", { key: 'b6ff4092b525defa3d1f2f774251ce0ed72dee80', name: this.startIconName, size: getBadgeIconSize(this.size) }))))), index.h("span", { key: 'f2e391949bc4390fa92a68508d67e2ee2bf08721', class: "default-slot" }, index.h("slot", { key: 'd32520b7838e0cf7d1c9e751c99646c358fc8272' })), this.dismissible ? (index.h("button", { type: "button", class: "dismiss-button", slot: "end", "aria-label": this.dismissLabel, onClick: this.handleDismiss, onMouseDown: (e) => e.preventDefault() }, index.h("udp-fluent-icon", { name: "dismiss", size: getBadgeIconSize(this.size) }))) : ((this.endIconName || slotHelpers.hasSlotContent(this.el, 'end')) && (index.h("span", { class: "slot-wrapper", slot: "end" }, index.h("slot", { name: "end" }, this.endIconName && (index.h("udp-fluent-icon", { name: this.endIconName, size: getBadgeIconSize(this.size) })))))))));
|
|
7635
7716
|
}
|
|
7636
7717
|
get el() { return index.getElement(this); }
|
|
7637
7718
|
};
|
|
7638
7719
|
UdpFluentBadge.style = udpFluentBadgeCss();
|
|
7639
7720
|
|
|
7640
|
-
const udpFluentButtonCss = () => `:host{display:inline-block;position:relative;width:fit-content}:host([loading]) fluent-button{color:transparent !important}:host([loading]) ::slotted(*){visibility:hidden !important}.loading-overlay{position:absolute;top:57%;left:50%;transform:translate(-50%, -50%);z-index:1;pointer-events:none;display:flex;align-items:center;justify-content:center}:host([loading]) .slot-wrapper{visibility:hidden}.slot-wrapper{display:inline-flex;align-items:center}`;
|
|
7721
|
+
const udpFluentButtonCss = () => `:host{display:inline-block;position:relative;width:fit-content}:host([danger]) fluent-button{--colorBrandBackground:var(--colorStatusDangerBackground3);--colorBrandBackgroundHover:var(--colorStatusDangerBackground3Hover);--colorBrandBackgroundPressed:var(--colorStatusDangerBackground3Pressed);--colorNeutralForeground1:var(--colorStatusDangerForeground1);--colorNeutralForeground1Hover:var(--colorStatusDangerForeground1);--colorNeutralForeground1Pressed:var(--colorStatusDangerForeground1)}:host([loading]) fluent-button{color:transparent !important}:host([loading]) ::slotted(*){visibility:hidden !important}.loading-overlay{position:absolute;top:57%;left:50%;transform:translate(-50%, -50%);z-index:1;pointer-events:none;display:flex;align-items:center;justify-content:center}:host([loading]) .slot-wrapper{visibility:hidden}.slot-wrapper{display:inline-flex;align-items:center}`;
|
|
7641
7722
|
|
|
7642
7723
|
const UdpFluentButton = class {
|
|
7643
7724
|
constructor(hostRef) {
|
|
@@ -7657,6 +7738,11 @@ const UdpFluentButton = class {
|
|
|
7657
7738
|
* Defines the size of the button.
|
|
7658
7739
|
*/
|
|
7659
7740
|
this.size = 'medium';
|
|
7741
|
+
/**
|
|
7742
|
+
* Marks a destructive action (Delete): the primary appearance fills red, the others turn their
|
|
7743
|
+
* text red. Pair it with a confirmation; keep it to the action that destroys data.
|
|
7744
|
+
*/
|
|
7745
|
+
this.danger = false;
|
|
7660
7746
|
/**
|
|
7661
7747
|
* Indicates the button should only display as an icon. Use udp-fluent-icon-button.
|
|
7662
7748
|
*/
|
|
@@ -7714,7 +7800,7 @@ const UdpFluentButton = class {
|
|
|
7714
7800
|
const iconSize = getIconSize(this.size);
|
|
7715
7801
|
const isDisabled = this.disabled || this.loading;
|
|
7716
7802
|
const isLoading = this.loading;
|
|
7717
|
-
return (index.h(index.Host, { key: '
|
|
7803
|
+
return (index.h(index.Host, { key: '6ec3fd6c33aceb30979c2b36837c1a0ecb0428d4' }, index.h("fluent-button", { key: '5fa0cea7ac6580e614ccc4048f0289bca140131b', appearance: this.appearance, disabled: isDisabled, "disabled-focusable": this.disabledFocusable, shape: this.shape, size: this.size, "icon-only": this.iconOnly, type: this.type, form: this.form, "aria-label": this.ariaLabel, onClick: this.handleClick, tabindex: this.tabIndex, part: "button", exportparts: "content" }, (this.startIconName || slotHelpers.hasSlotContent(this.el, 'start')) && (index.h("span", { key: '353e89774b22ad23eb6a4f2e2e0a6037e5435182', class: "slot-wrapper", slot: "start" }, index.h("slot", { key: 'be2d5b057b614ed9d054d64e3c820e003577d1ff', name: "start" }, this.startIconName && (index.h("udp-fluent-icon", { key: '51b37d743f1b7c931dc00c5ea42a0ae3e3b7cc84', name: this.startIconName, size: iconSize }))))), index.h("slot", { key: '1865ddc91d92d70e4e3a43fe044ea350941ed620' }), (this.endIconName || slotHelpers.hasSlotContent(this.el, 'end')) && (index.h("span", { key: 'fbd36d54b8312a5d0fb8800402d92be121400b27', class: "slot-wrapper", slot: "end" }, index.h("slot", { key: 'cc29704aedf782834799d57e60d4585664868282', name: "end" }, this.endIconName && index.h("udp-fluent-icon", { key: '316f0a7abc455072cd626d5ed5874296e2347bf5', name: this.endIconName, size: iconSize }))))), isLoading && (index.h("div", { key: '784fbd341db8d8ad9c21313df9ffc5e01dac4b0c', class: "loading-overlay" }, index.h("udp-spinner", { key: 'a7fc8d2b02ea10c3f8c02dbb27ee396ac81c4879', size: this.size === 'large' ? 'extra-small' : 'tiny' })))));
|
|
7718
7804
|
}
|
|
7719
7805
|
get el() { return index.getElement(this); }
|
|
7720
7806
|
};
|
|
@@ -7771,21 +7857,21 @@ const UdpFluentCard = class {
|
|
|
7771
7857
|
}
|
|
7772
7858
|
}
|
|
7773
7859
|
render() {
|
|
7774
|
-
return (index.h(index.Host, { key: '
|
|
7860
|
+
return (index.h(index.Host, { key: '42613fd2fc928545f2ee3b591724d792ac6bf8b9', class: {
|
|
7775
7861
|
[`appearance-${this.appearance}`]: true,
|
|
7776
7862
|
[`orientation-${this.orientation}`]: true,
|
|
7777
7863
|
interactive: this.interactive,
|
|
7778
7864
|
}, style: {
|
|
7779
7865
|
width: this.width,
|
|
7780
7866
|
height: this.height,
|
|
7781
|
-
}, tabIndex: this.interactive ? 0 : undefined }, index.h("div", { key: '
|
|
7867
|
+
}, tabIndex: this.interactive ? 0 : undefined }, index.h("div", { key: 'ef0d005cae6ee7cdf34d6b934f28ac5f8303aadd', class: { 'card-preview': true, 'hidden': !this.hasPreview } }, index.h("slot", { key: '75dfc18d36cec3409ba32942ec3ed5e7a37a1c5e', name: "preview", onSlotchange: this.handleSlotChange })), index.h("div", { key: 'f6075b079c9d21c35cb818eb017da3b286210b08', class: {
|
|
7782
7868
|
'card-header': true,
|
|
7783
7869
|
'hidden': !(this.hasHeader ||
|
|
7784
7870
|
this.hasHeaderStart ||
|
|
7785
7871
|
this.label ||
|
|
7786
7872
|
this.subtitle ||
|
|
7787
7873
|
this.hasHeaderAction),
|
|
7788
|
-
} }, index.h("div", { key: '
|
|
7874
|
+
} }, index.h("div", { key: 'a28c32b4427719cc626bbea195f49726481074cd', class: { 'card-header-start': true, 'hidden': !this.hasHeaderStart } }, index.h("slot", { key: 'b20831ce03d8d5c2f644abefed29e08ba3abe588', name: "header-start", onSlotchange: this.handleSlotChange })), index.h("div", { key: '61ecab395a0cd8e04e969c73bbfecb6e74067763', class: "card-header-content" }, index.h("slot", { key: 'ebddff0bb42ba3d647fadeff27be27e60d1128a3', name: "header", onSlotchange: this.handleSlotChange }, (this.label || this.subtitle) && (index.h("div", { key: '9eb17399d0f24259713a2fb4a92bbae33f0c9353', class: "header-content-wrapper" }, this.label && index.h("udp-text", { key: 'ca3fe574f8ce3438be50c98f8cbf31960092c136', variant: "subtitle2" }, this.label), this.subtitle && (index.h("udp-text", { key: '488255c4e3a9188164a225931ed0a58ef7604819', variant: "caption1", class: "header-subtitle" }, this.subtitle)))))), index.h("udp-flexbox", { key: '24f70ee2d1cece39e4a4c1ac2e061b7bfa10707b', class: { hidden: !this.hasHeaderAction }, direction: "row" }, index.h("slot", { key: 'b3524d013e7f50af49d9ddc0520ddeb780b00ba2', name: "header-action", onSlotchange: this.handleSlotChange }))), index.h("div", { key: '13571c531d0c394063164ad0bedf5e309b3e8d8d', class: { 'card-body': true, 'no-padding': !this.bodyPadding } }, index.h("slot", { key: 'e82b84b8f3d31a5e18d3ebb6167dbadd1279756f' })), index.h("udp-flexbox", { key: 'f1d5edb7e8e0ac53300efa3d5706fc369e464c7f', class: { 'card-footer': true, 'hidden': !this.hasFooter }, direction: "row" }, index.h("slot", { key: 'b1f6055dbf74ef963459240981acbd65b9a81b7a', name: "footer", onSlotchange: this.handleSlotChange }))));
|
|
7789
7875
|
}
|
|
7790
7876
|
get el() { return index.getElement(this); }
|
|
7791
7877
|
};
|
|
@@ -7849,7 +7935,7 @@ const UdpFluentCheckbox = class {
|
|
|
7849
7935
|
render() {
|
|
7850
7936
|
const hasError = !!this.error;
|
|
7851
7937
|
const message = this.error || this.hint;
|
|
7852
|
-
return (index.h(index.Host, { key: '
|
|
7938
|
+
return (index.h(index.Host, { key: '96d04acfede460801f97d6a064354301a35906af' }, index.h("fluent-field", { key: '6dbeae4a003c16a7b90e730e747bc2fec18cb0f1', "label-position": this.labelPosition, class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-label", { key: 'f32baab890f1997746beae705004a770bf8dbac2', slot: "label", disabled: this.disabled, onClick: this.handleLabelClick }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '1c7bfb3bc919dcaa03905881f972956403e28c37', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: '40921c124f21ffa08d53cbd42c04a37146a46858', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("fluent-checkbox", { key: 'd093a69e171689fcf4b06992242c64df2467c79e', ref: (el) => (this.internalCheckbox = el), slot: "input", name: this.name, checked: this.checked, indeterminate: this.indeterminate, disabled: this.disabled, shape: this.shape, size: this.controlSize, autofocus: this.autofocus, onChange: this.handleChange }), index.h("udp-text", { key: 'd272a0d1d5b76278d00f17b1a40b07b20fce915d', slot: "message", variant: "caption1", class: {
|
|
7853
7939
|
message: true,
|
|
7854
7940
|
error: hasError,
|
|
7855
7941
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -7875,7 +7961,7 @@ const UdpFluentCounterBadge = class {
|
|
|
7875
7961
|
this.dot = false;
|
|
7876
7962
|
}
|
|
7877
7963
|
render() {
|
|
7878
|
-
return (index.h(index.Host, { key: '
|
|
7964
|
+
return (index.h(index.Host, { key: '594f89a3520a869fb2b3bb0acc6a7e72ccf38082' }, index.h("fluent-counter-badge", { key: 'c375f838b3313c4da40fed815b22c88e1101b12d', appearance: this.appearance, color: this.color, shape: this.shape, size: this.size, count: this.count, "overflow-count": this.overflowCount, "show-zero": this.showZero, dot: this.dot }, index.h("slot", { key: '46b130818ecde4db65c928ce0bea2b116a43b22a', name: "start", slot: "start" }), this.count === undefined && index.h("slot", { key: '908a725c21faa29c8d16159e2e4316d593222a50' }), index.h("slot", { key: 'f95e241aaef725952fe160d6fe6ece7cb0cdcc64', name: "end", slot: "end" }))));
|
|
7879
7965
|
}
|
|
7880
7966
|
};
|
|
7881
7967
|
UdpFluentCounterBadge.style = udpFluentCounterBadgeCss();
|
|
@@ -7939,7 +8025,7 @@ const UdpFluentDialog = class {
|
|
|
7939
8025
|
}
|
|
7940
8026
|
}
|
|
7941
8027
|
render() {
|
|
7942
|
-
return (index.h(index.Host, { key: '
|
|
8028
|
+
return (index.h(index.Host, { key: '53448ffb889b9560368b9462c2389aac768bd73b', style: { '--dialog-max-height': this.maxHeight } }, index.h("fluent-dialog", { key: '3647c7d8dff46f1791ca6bc333ea79107f189ada', ref: this.setDialogRef, type: this.type, onToggle: this.handleToggle }, index.h("fluent-dialog-body", { key: '96ca9e72996394dcafddce099160e31ac9c5c892' }, index.h("slot", { key: 'f4cb923289f14f5fb6b3f57ae03af356a8391a44', name: "header", slot: "title" }, this.dialogTitle && index.h("udp-fluent-text", { key: '98042494e6f2f106d8c3f731a5228c3c233a1d9e' }, this.dialogTitle)), this.showHeaderCloseButton && (index.h("udp-fluent-icon-button", { key: '0f1885b19b0316351147e2c9e403f20b8cb14634', slot: "close", appearance: "subtle", iconName: "dismiss", ariaLabel: "Close Dialog" })), index.h("div", { key: 'e62db86aed4efb2552eca9fbad0cb906c43c890e', class: "dialog-content" }, index.h("slot", { key: 'f84885993c11f14dd9900dd8dfaad939d1d26a7b' })), index.h("udp-flexbox", { key: '9f82314289f7f99a27f3759cb5a73f3f307fbc3a', slot: "action", direction: "row" }, index.h("slot", { key: '8d27289e38d63c5fc6dc12e06813a898702e9f21', name: "action" }))))));
|
|
7943
8029
|
}
|
|
7944
8030
|
get el() { return index.getElement(this); }
|
|
7945
8031
|
static get watchers() { return {
|
|
@@ -7963,11 +8049,11 @@ const UdpFluentDivider = class {
|
|
|
7963
8049
|
this.orientation = 'horizontal';
|
|
7964
8050
|
}
|
|
7965
8051
|
render() {
|
|
7966
|
-
return (index.h(index.Host, { key: '
|
|
8052
|
+
return (index.h(index.Host, { key: '745878ef603dc3e010d00087336f2bd4766b7466', style: { background: 'transparent' } }, index.h("fluent-divider", { key: 'a602184f20f4d4eaba040de1d9c3f8abbb3d554f', "align-content": this.alignContent, appearance: this.appearance, inset: this.inset, role: this.role, orientation: this.orientation }, index.h("slot", { key: '0eb588fc86d7af0a0ce0026ebe8dece40022206d' }))));
|
|
7967
8053
|
}
|
|
7968
8054
|
};
|
|
7969
8055
|
|
|
7970
|
-
const udpFluentDrawerCss = () => `fluent-drawer-body{padding:0;background-color:var(--colorNeutralBackground2)}fluent-drawer-body::part(header){background:var(--colorNeutralBackground1);overflow:visible;padding:var(--spacingHorizontalM);border-bottom:1px solid var(--colorNeutralStroke3)}fluent-drawer-body::part(content){overflow:hidden;display:flex;flex-direction:column;flex:1 1 auto;min-height:0;padding:0}fluent-button[slot="close"]{margin:2px;}fluent-drawer-body::part(footer){display:none}.drawer-toolbar{position:relative;z-index:10;background:var(--colorNeutralBackground1);padding:var(--spacingVerticalNone) var(--spacingHorizontalM);border-bottom:1px solid var(--colorNeutralStroke2);width:100%}.drawer-scroll-container{padding:0;overflow-y:auto;flex:1 1 auto;min-height:0;position:relative;display:flex;flex-direction:column}.drawer-content-inner{padding:var(--spacingHorizontalM);padding-bottom:var(--spacingVerticalXXXL);flex:1 0 auto;}.drawer-content-inner.exclude-vertical{padding-top:0;padding-bottom:0}.drawer-content-inner.exclude-horizontal{padding-left:0;padding-right:0}.drawer-content-inner.no-body-padding{padding:0;display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.drawer-content-inner.no-body-padding{padding:0;display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.scroll-shadow{position:sticky;left:0;right:0;height:24px;z-index:100;pointer-events:none;opacity:0;transition:opacity 0.2s ease;flex-shrink:0}.scroll-shadow.visible{opacity:1}.scroll-shadow.top{top:0;margin-bottom:-24px;background:linear-gradient(to bottom, rgba(0, 0, 0, 0.12), transparent)}.scroll-shadow.bottom{bottom:0;margin-top:-24px;background:linear-gradient(to top, rgba(0, 0, 0, 0.12), transparent)}:host(.has-footer) fluent-drawer-body::part(footer){display:block;background:var(--colorNeutralBackground1);border-top:1px solid var(--colorNeutralStroke3);padding-top:var(--spacingVerticalS);padding-bottom:var(--spacingVerticalM);padding-left:var(--spacingHorizontalM);padding-right:var(--spacingHorizontalM)}`;
|
|
8056
|
+
const udpFluentDrawerCss = () => `fluent-drawer-body{padding:0;background-color:var(--colorNeutralBackground1)}:host(.body-muted) fluent-drawer-body{background-color:var(--colorNeutralBackground2)}fluent-drawer-body::part(header){background:var(--colorNeutralBackground1);overflow:visible;padding:var(--spacingHorizontalM);border-bottom:1px solid var(--colorNeutralStroke3)}fluent-drawer-body::part(content){overflow:hidden;display:flex;flex-direction:column;flex:1 1 auto;min-height:0;padding:0}fluent-button[slot="close"]{margin:2px;}fluent-drawer-body::part(footer){display:none}.drawer-toolbar{position:relative;z-index:10;background:var(--colorNeutralBackground1);padding:var(--spacingVerticalNone) var(--spacingHorizontalM);border-bottom:1px solid var(--colorNeutralStroke2);width:100%}.drawer-scroll-container{padding:0;overflow-y:auto;flex:1 1 auto;min-height:0;position:relative;display:flex;flex-direction:column}.drawer-content-inner{padding:var(--spacingHorizontalM);padding-bottom:var(--spacingVerticalXXXL);flex:1 0 auto;}.drawer-content-inner.exclude-vertical{padding-top:0;padding-bottom:0}.drawer-content-inner.exclude-horizontal{padding-left:0;padding-right:0}.drawer-content-inner.no-body-padding{padding:0;display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.drawer-content-inner.no-body-padding{padding:0;display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.scroll-shadow{position:sticky;left:0;right:0;height:24px;z-index:100;pointer-events:none;opacity:0;transition:opacity 0.2s ease;flex-shrink:0}.scroll-shadow.visible{opacity:1}.scroll-shadow.top{top:0;margin-bottom:-24px;background:linear-gradient(to bottom, rgba(0, 0, 0, 0.12), transparent)}.scroll-shadow.bottom{bottom:0;margin-top:-24px;background:linear-gradient(to top, rgba(0, 0, 0, 0.12), transparent)}:host(.has-footer) fluent-drawer-body::part(footer){display:block;background:var(--colorNeutralBackground1);border-top:1px solid var(--colorNeutralStroke3);padding-top:var(--spacingVerticalS);padding-bottom:var(--spacingVerticalM);padding-left:var(--spacingHorizontalM);padding-right:var(--spacingHorizontalM)}`;
|
|
7971
8057
|
|
|
7972
8058
|
// Approximate widths for standard Fluent drawer sizes
|
|
7973
8059
|
const DRAWER_SIZES = {
|
|
@@ -8011,6 +8097,11 @@ const UdpFluentDrawer = class {
|
|
|
8011
8097
|
* layouts that draw their own regions (e.g. a builder with panes and dividers).
|
|
8012
8098
|
*/
|
|
8013
8099
|
this.excludeBodyPadding = false;
|
|
8100
|
+
/**
|
|
8101
|
+
* Body background. `default` matches the header and footer, so content lays flat with
|
|
8102
|
+
* dividers; `muted` is the softer grey that cards sit on, for a drawer laid out in cards.
|
|
8103
|
+
*/
|
|
8104
|
+
this.bodyBackground = 'default';
|
|
8014
8105
|
/**
|
|
8015
8106
|
* When true, the drawer will not close itself when the user clicks the close
|
|
8016
8107
|
* button, presses Escape, or clicks the backdrop. Instead it emits `drawerClose`
|
|
@@ -8369,7 +8460,7 @@ const UdpFluentDrawer = class {
|
|
|
8369
8460
|
}
|
|
8370
8461
|
}
|
|
8371
8462
|
render() {
|
|
8372
|
-
return (index.h(index.Host, { key: '
|
|
8463
|
+
return (index.h(index.Host, { key: 'a1bd186bc5056454ac62402bb81949091d72e3f3', class: { 'has-footer': this.hasFooter, 'body-muted': this.bodyBackground === 'muted' } }, index.h("fluent-drawer", { key: '1b6b39af51d8c08c7c98103543cf5e45a11e1a1f', ref: this.setDrawerRef, onToggle: this.handleToggle, type: "modal", position: this.position, size: this.effectiveSize }, index.h("fluent-drawer-body", { key: 'bfa65ccd20602ee90985e4ef779949b3569dbedb' }, this.hasTitle ? (index.h("slot", { name: "title", slot: "title" })) : (index.h("udp-text", { variant: "subtitle1", slot: "title" }, this.drawerTitle)), index.h("udp-fluent-icon-button", { key: 'ac5d3863dc79e3f9e1f47755183c6a953fe51d9c', slot: "close", appearance: "subtle", iconName: "dismiss", "aria-label": "close" }), this.hasToolbar && (index.h("udp-flexbox", { key: '60932e646dab225c2e56f2725b5ff6b429a3cc12', class: "drawer-toolbar", direction: "row", width: "100%" }, index.h("slot", { key: '064326973889ed9879dfa05c75e98fe5f6c87cde', name: "toolbar" }))), index.h("div", { key: '7ef314cdf3606e8f42b62f499eb9ed2481767bf9', class: "drawer-scroll-container", ref: el => (this.contentRef = el), onScroll: this.handleScroll }, index.h("div", { key: '7ee4533a8dc0915b71d8983916044baf6c43f6e0', class: `scroll-shadow top ${this.showTopShadow ? 'visible' : ''}` }), index.h("div", { key: 'c06b98fcac82fea917d6518347c3f2e87b290a93', class: `drawer-content-inner${this.excludeVerticalPadding ? ' exclude-vertical' : ''}${this.excludeHorizontalPadding ? ' exclude-horizontal' : ''}${this.excludeBodyPadding ? ' no-body-padding' : ''}` }, index.h("slot", { key: '9f069f6e11e851bb7336a6019095ef2647ec8eee' })), index.h("div", { key: '93666fa0932f3f6d4f871ea713415dcd0149d92c', class: `scroll-shadow bottom ${this.showBottomShadow ? 'visible' : ''}` })), this.hasFooter && (index.h("udp-flexbox", { key: '1a564b90af81554aa0e3aeea141c974c48611bf3', slot: "footer", direction: "row" }, index.h("slot", { key: '4ed056b980fe0a6d941f70f56343c63e93e23ec5', name: "footer" })))))));
|
|
8373
8464
|
}
|
|
8374
8465
|
get el() { return index.getElement(this); }
|
|
8375
8466
|
static get watchers() { return {
|
|
@@ -8494,6 +8585,8 @@ const UdpFluentDropdown = class {
|
|
|
8494
8585
|
* Single mode: the selected option (or null). Multi mode: array of selected options.
|
|
8495
8586
|
*/
|
|
8496
8587
|
this.selectionForOverlay = null;
|
|
8588
|
+
/** Set by the value/options watchers; the next render applies the selection to the options it rendered. */
|
|
8589
|
+
this.selectionPending = false;
|
|
8497
8590
|
this.typeaheadBuffer = '';
|
|
8498
8591
|
this.handleTogglePopover = (onlyClose) => {
|
|
8499
8592
|
var _a, _b, _c, _d;
|
|
@@ -8642,7 +8735,20 @@ const UdpFluentDropdown = class {
|
|
|
8642
8735
|
componentDidLoad() {
|
|
8643
8736
|
this.patchDropdownShadow();
|
|
8644
8737
|
this.syncSelectionForOverlay();
|
|
8645
|
-
this.
|
|
8738
|
+
this.applySelection();
|
|
8739
|
+
}
|
|
8740
|
+
/**
|
|
8741
|
+
* Applies a value/options change once the render it caused has run. The
|
|
8742
|
+
* watchers fire before that render, so a new options list's
|
|
8743
|
+
* `<fluent-option>`s don't exist yet; syncing from the watcher (even a frame
|
|
8744
|
+
* later) can miss them, leaving a value set before its options arrived with
|
|
8745
|
+
* no selected option and an empty control.
|
|
8746
|
+
*/
|
|
8747
|
+
componentDidRender() {
|
|
8748
|
+
if (!this.selectionPending)
|
|
8749
|
+
return;
|
|
8750
|
+
this.selectionPending = false;
|
|
8751
|
+
this.applySelection();
|
|
8646
8752
|
}
|
|
8647
8753
|
/**
|
|
8648
8754
|
* Override fluent-dropdown's hardcoded min-width: 160px on .control (shadow DOM,
|
|
@@ -8661,8 +8767,11 @@ const UdpFluentDropdown = class {
|
|
|
8661
8767
|
`);
|
|
8662
8768
|
shadow.adoptedStyleSheets = [...shadow.adoptedStyleSheets, sheet];
|
|
8663
8769
|
}
|
|
8664
|
-
/** Syncs fluent-dropdown selection when value or options change. */
|
|
8770
|
+
/** Syncs fluent-dropdown selection when value or options change, after they render. */
|
|
8665
8771
|
valueHandler() {
|
|
8772
|
+
this.selectionPending = true;
|
|
8773
|
+
}
|
|
8774
|
+
applySelection() {
|
|
8666
8775
|
if (!this.dropdownRef)
|
|
8667
8776
|
return;
|
|
8668
8777
|
// rAF lets the option list finish rendering before we read selected state.
|
|
@@ -8794,15 +8903,15 @@ const UdpFluentDropdown = class {
|
|
|
8794
8903
|
const overlayOptions = this.getSelectedOverlayOptions();
|
|
8795
8904
|
const hasOverlay = overlayOptions.length > 0;
|
|
8796
8905
|
const mappedAppearance = this.appearance === 'underline' ? 'transparent' : this.appearance;
|
|
8797
|
-
return (index.h(index.Host, { key: '
|
|
8906
|
+
return (index.h(index.Host, { key: '4af2944eac3fbcc8a7ab5a728739db9ac5dfd6c9', class: { 'has-error': hasError } }, index.h("fluent-field", { key: 'a363bf200bdbb04ccb82526ce5273057cf179a39', class: {
|
|
8798
8907
|
'no-message': !message && !this.includeErrorPadding,
|
|
8799
8908
|
'no-label': !this.label,
|
|
8800
|
-
} }, this.label && (index.h("fluent-label", { key: '
|
|
8909
|
+
} }, this.label && (index.h("fluent-label", { key: '7eeebfc9170e03046fd797c7053a110b7eae38f5', slot: "label", disabled: this.disabled, onClick: () => this.handleTogglePopover(false), style: { paddingTop: '2px', paddingBottom: '2px' } }, this.label, this.popupHint && (index.h("udp-tooltip", { key: 'b60927d3204d20b8d957727baa8c93ec98c2888e', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: 'fe96ed742d2bc568cfe64947a08b5c1ee383a508', name: "info", size: "xs", class: "popup-hint-icon" }))))), index.h("div", { key: '27b94bf86cba1b03e2cf5535bc06ba0eabf9a300', slot: "input", class: {
|
|
8801
8910
|
'input-wrapper': true,
|
|
8802
8911
|
'has-overlay': hasOverlay,
|
|
8803
|
-
} }, index.h("fluent-dropdown", { key: '
|
|
8912
|
+
} }, index.h("fluent-dropdown", { key: 'd245ecdd3db862a6138f542394f82ce9d329e959', type: "dropdown", name: this.name, appearance: mappedAppearance, size: this.controlSize, required: this.required, disabled: this.disabled, placeholder: this.placeholder, multiple: this.multiple, onChange: this.handleChange, onKeyDown: this.handleKeyDown, onFocusout: () => this.inputBlur.emit(), onFocusin: () => this.inputFocus.emit(),
|
|
8804
8913
|
// Suppress native invalid popup
|
|
8805
|
-
onInvalid: (e) => e.preventDefault(), ref: el => (this.dropdownRef = el) }, index.h("fluent-listbox", { key: '
|
|
8914
|
+
onInvalid: (e) => e.preventDefault(), ref: el => (this.dropdownRef = el) }, index.h("fluent-listbox", { key: 'd0f8a3f1edf511c18937ab394a2a33f35995433b' }, this.loading && (index.h("fluent-option", { key: '4248b325952cfb566291400e99f7e8462e4db642', disabled: true, ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, index.h("span", { key: '9a67a779d650ac68e979b19664593a43009fa82f' }, "Loading..."), index.h("span", { key: '32f0ae502cf34615e49152bef429be5a3c46c1b1', slot: "indicator" }))), !this.loading && ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) === 0 && (index.h("fluent-option", { key: '7ba997073e25008269c37f3ceaa1053ca6e50cc5', disabled: true, value: "empty", ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, "No options available")), !this.loading &&
|
|
8806
8915
|
((_b = this.options) === null || _b === void 0 ? void 0 : _b.length) > 0 &&
|
|
8807
8916
|
(() => {
|
|
8808
8917
|
const nodes = [];
|
|
@@ -8822,17 +8931,17 @@ const UdpFluentDropdown = class {
|
|
|
8822
8931
|
nodes.push(index.h("fluent-option", { key: index$1, disabled: !!optDisabled, value: safeValue, ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', !!optDisabled) }, optIcon && this.iconPosition === 'start' && (index.h("span", { slot: "start", class: "option-icon-slot" }, index.h("udp-fluent-icon", { name: optIcon, size: "sm" }))), optLabel, optIcon && this.iconPosition === 'end' && (index.h("span", { class: "option-icon-end", style: { pointerEvents: 'none', marginLeft: '4px' } }, index.h("udp-fluent-icon", { name: optIcon, size: "sm" }))), this.renderBadges(optBadges)));
|
|
8823
8932
|
});
|
|
8824
8933
|
return nodes;
|
|
8825
|
-
})()), index.h("div", { key: '
|
|
8934
|
+
})()), index.h("div", { key: '71aa382d0627d33ade32250abdb524f9f400d1d6', slot: "indicator", class: "indicator-wrapper" }, index.h("udp-fluent-icon-button", { key: 'ae08bacc142cf4309b7c1ea50a2700f9ff25dd2c', class: {
|
|
8826
8935
|
'clear-button': true,
|
|
8827
8936
|
'is-visible': this.showClearButton && !this.disabled && this.clearable,
|
|
8828
|
-
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), index.h("udp-fluent-icon", { key: '
|
|
8937
|
+
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), index.h("udp-fluent-icon", { key: 'b5a1b696d6dff58c26d6935e6ea6961752e7253e', name: "chevron-down", size: "sm", class: "chevron-down", onClick: (ev) => {
|
|
8829
8938
|
// stopPropagation: fluent's clickHandler would re-open via its `!this.open → showPopover` branch.
|
|
8830
8939
|
ev.stopPropagation();
|
|
8831
8940
|
this.handleTogglePopover(false);
|
|
8832
|
-
} }))), hasOverlay && (index.h("div", { key: '
|
|
8941
|
+
} }))), hasOverlay && (index.h("div", { key: 'dd009ec183faf48af1a1a7b959b658ba02d900ca', class: { 'selected-overlay': true, 'multi': overlayOptions.length > 1 }, "aria-hidden": "true" }, overlayOptions.map((opt, i) => (index.h("span", { class: "selected-item", key: this.getOptionValue(opt) || i }, i > 0 && index.h("span", { class: "selected-separator" }, ", "), index.h("span", { class: "selected-label" }, this.resolveProp(opt, this.optionLabel, true)), this.renderBadges(this.getOptionBadges(opt)))))))), index.h("div", { key: '7e5b4f4adc04da9bdea3311032e17abe244580f7', class: {
|
|
8833
8942
|
'message-wrapper': true,
|
|
8834
8943
|
'includeErrorPadding': this.includeErrorPadding,
|
|
8835
|
-
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, index.h("udp-text", { key: '
|
|
8944
|
+
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, index.h("udp-text", { key: 'afb12736acb544f45fd2e4dd92cfd58279ce9a4f', variant: "caption1", class: {
|
|
8836
8945
|
message: true,
|
|
8837
8946
|
error: hasError,
|
|
8838
8947
|
} }, message)))));
|
|
@@ -9104,7 +9213,7 @@ const UdpFluentIcon = class {
|
|
|
9104
9213
|
};
|
|
9105
9214
|
if (this.color)
|
|
9106
9215
|
hostStyle.color = this.color;
|
|
9107
|
-
return (index.h(index.Host, { key: '
|
|
9216
|
+
return (index.h(index.Host, { key: '8f10c427920915f9460e948f1c0bad2725254d71', style: hostStyle }, this.svgContent && (index.h("div", { key: '2dbda826fa919234e7112b81fcd327b49f815342', class: "icon-inner", innerHTML: this.svgContent, role: "img", "aria-label": this.name }))));
|
|
9108
9217
|
}
|
|
9109
9218
|
static get watchers() { return {
|
|
9110
9219
|
"name": [{
|
|
@@ -9370,8 +9479,8 @@ const UdpFluentMenu = class {
|
|
|
9370
9479
|
}
|
|
9371
9480
|
render() {
|
|
9372
9481
|
const isIconOrSplit = this.buttonType === 'icon' || this.buttonType === 'split';
|
|
9373
|
-
return (index.h(index.Host, { key: '8352f4a655086a09cec6eb440793fbfe688758a9', exportparts: "trigger" }, index.h("fluent-menu", { key: 'b2b10de366d6f3b912e05f18332735beca75fa4a', "open-on-hover": this.openOnHover, "close-on-scroll": this.closeOnScroll, split: this.buttonType === 'split', "persist-on-item-click": this.persistOnMenuClick, "open-on-context": this.openOnContext }, this.buttonType === 'split' && (index.h("fluent-button", { key: '1c28f3bbc4a3486265907230574a23094f07c21a', slot: "primary-action", onClick: this.handlePrimaryClick, appearance: this.appearance, shape: this.shape, size: this.size }, (this.startIconName || slotHelpers.hasSlotContent(this.el, 'start')) && (index.h("span", { key: 'd4df319623ca47ec60fac7a8cdfdf11e8aa2491c', class: "slot-wrapper", slot: "start" }, index.h("slot", { key: 'dbf730397f3d6e0eb1ea3dd21ab58c54c38dce08', name: "start" }, this.startIconName && (index.h("udp-fluent-icon", { key: '7e81093bb951c7223a66512a450b03a4e26256fb', name: this.startIconName, size: getIconSize(this.size) }))))), this.label)), index.h("fluent-menu-button", { key: '
|
|
9374
|
-
this.buttonType !== 'split' && (index.h("span", { key: '
|
|
9482
|
+
return (index.h(index.Host, { key: '8352f4a655086a09cec6eb440793fbfe688758a9', exportparts: "trigger" }, index.h("fluent-menu", { key: 'b2b10de366d6f3b912e05f18332735beca75fa4a', "open-on-hover": this.openOnHover, "close-on-scroll": this.closeOnScroll, split: this.buttonType === 'split', "persist-on-item-click": this.persistOnMenuClick, "open-on-context": this.openOnContext }, this.buttonType === 'split' && (index.h("fluent-button", { key: '1c28f3bbc4a3486265907230574a23094f07c21a', slot: "primary-action", onClick: this.handlePrimaryClick, appearance: this.appearance, shape: this.shape, size: this.size }, (this.startIconName || slotHelpers.hasSlotContent(this.el, 'start')) && (index.h("span", { key: 'd4df319623ca47ec60fac7a8cdfdf11e8aa2491c', class: "slot-wrapper", slot: "start" }, index.h("slot", { key: 'dbf730397f3d6e0eb1ea3dd21ab58c54c38dce08', name: "start" }, this.startIconName && (index.h("udp-fluent-icon", { key: '7e81093bb951c7223a66512a450b03a4e26256fb', name: this.startIconName, size: getIconSize(this.size) }))))), this.label)), index.h("fluent-menu-button", { key: 'edca66166244b90d0f6b8e997f7e77af82d97816', part: "trigger", slot: "trigger", "icon-only": isIconOrSplit, "aria-label": isIconOrSplit && this.label ? this.label : undefined, appearance: this.appearance, shape: this.shape, size: this.size, disabled: this.disabled }, (this.startIconName || slotHelpers.hasSlotContent(this.el, 'start')) &&
|
|
9483
|
+
this.buttonType !== 'split' && (index.h("span", { key: 'cbabd05cbf9b0bf2d9cfec7db1789c9c27f3966d', class: "slot-wrapper", slot: "start" }, index.h("slot", { key: 'ccc8f5faee4002a9a5a0f39f75222b07417d6704', name: "start" }, this.startIconName && (index.h("udp-fluent-icon", { key: '5e92e06c488a2caf8dac56d681138dd2e6c5ad28', name: this.startIconName, size: getIconSize(this.size) }))))), !isIconOrSplit && this.label, (slotHelpers.hasSlotContent(this.el, 'end') || this.endIconName) && (index.h("span", { key: '21161af16419cab3d6f63935d18a11b5d930b98d', class: "slot-wrapper", slot: "end" }, this.endIconName ? (index.h("udp-fluent-icon", { name: this.endIconName, size: getIconSize(this.size, 'standard') })) : (index.h("slot", { name: "end" }))))), index.h("fluent-menu-list", { key: '0535fc39640a5c085f14459966ef1698b1a130b5' }, this.renderItems(this._items)))));
|
|
9375
9484
|
}
|
|
9376
9485
|
get el() { return index.getElement(this); }
|
|
9377
9486
|
static get watchers() { return {
|
|
@@ -9382,6 +9491,144 @@ const UdpFluentMenu = class {
|
|
|
9382
9491
|
};
|
|
9383
9492
|
UdpFluentMenu.style = udpFluentMenuCss();
|
|
9384
9493
|
|
|
9494
|
+
const udpFluentNumberInputCss = () => `fluent-text-input[disabled]::part(control){color:var(--colorNeutralForegroundDisabled);-webkit-text-fill-color:var(--colorNeutralForegroundDisabled)}fluent-text-input[disabled]::part(root){background-color:var(--colorNeutralBackgroundDisabled)}fluent-label[disabled]{color:var(--colorNeutralForeground1)}fluent-text-input::part(control):-webkit-autofill,fluent-text-input::part(control):-webkit-autofill:hover,fluent-text-input::part(control):-webkit-autofill:focus,fluent-text-input::part(control):-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px var(--colorNeutralBackground1) inset !important;-webkit-text-fill-color:var(--colorNeutralForeground1) !important;transition:background-color 5000s ease-in-out 0s}:host{display:block;width:100%}fluent-field{width:100%}fluent-text-input{width:100%;max-width:100%}.message{color:var(--colorNeutralForeground3)}.message.includeErrorPadding{min-height:var(--lineHeightBase200)}.message.error{color:var(--colorPaletteRedForeground1)}.popup-hint-icon{margin-left:2px}fluent-text-input.no-label::part(label){display:none}fluent-field.no-message::part(message){display:none}:host(.has-error) fluent-text-input::part(root){border-color:var(--colorPaletteRedBorder2)}:host(.has-error:focus-within) fluent-text-input::part(root){border-color:var(--colorNeutralStroke1)}`;
|
|
9495
|
+
|
|
9496
|
+
const UdpFluentNumberInput = class {
|
|
9497
|
+
constructor(hostRef) {
|
|
9498
|
+
index.registerInstance(this, hostRef);
|
|
9499
|
+
this.valueChanged = index.createEvent(this, "valueChanged", 7);
|
|
9500
|
+
this.inputBlur = index.createEvent(this, "inputBlur", 7);
|
|
9501
|
+
this.inputFocus = index.createEvent(this, "inputFocus", 7);
|
|
9502
|
+
/** Whether to include error padding below the input. */
|
|
9503
|
+
this.includeErrorPadding = true;
|
|
9504
|
+
/** Whether the input is required for form submission. */
|
|
9505
|
+
this.required = false;
|
|
9506
|
+
/** Whether the input is disabled and cannot be interacted with. */
|
|
9507
|
+
this.disabled = false;
|
|
9508
|
+
/** Whether the input is read-only. */
|
|
9509
|
+
this.readonly = false;
|
|
9510
|
+
/** Whether the input should automatically focus when the page loads. */
|
|
9511
|
+
this.autofocus = false;
|
|
9512
|
+
/** Hints to the browser about what kind of data is expected. Defaults to "off" to suppress the browser's recent-values dropdown. */
|
|
9513
|
+
this.autocomplete = 'off';
|
|
9514
|
+
/** The visual appearance of the input. */
|
|
9515
|
+
this.appearance = 'outline';
|
|
9516
|
+
/** The size of the input control. */
|
|
9517
|
+
this.controlSize = 'medium';
|
|
9518
|
+
this.handleKeyDown = (ev) => {
|
|
9519
|
+
var _a, _b, _c, _d, _e;
|
|
9520
|
+
const { key, ctrlKey, metaKey } = ev;
|
|
9521
|
+
if (ctrlKey || metaKey)
|
|
9522
|
+
return;
|
|
9523
|
+
if (['Backspace', 'Delete', 'Tab', 'Enter', 'ArrowLeft', 'ArrowRight', 'Home', 'End'].includes(key))
|
|
9524
|
+
return;
|
|
9525
|
+
if (key === 'ArrowUp' || key === 'ArrowDown') {
|
|
9526
|
+
this.handleStep(key === 'ArrowUp' ? 1 : -1);
|
|
9527
|
+
ev.preventDefault();
|
|
9528
|
+
return;
|
|
9529
|
+
}
|
|
9530
|
+
// Block scientific notation keys not useful in a form number input
|
|
9531
|
+
if (key === 'e' || key === 'E' || key === '+') {
|
|
9532
|
+
ev.preventDefault();
|
|
9533
|
+
return;
|
|
9534
|
+
}
|
|
9535
|
+
// Block decimal point for integer-only inputs, or if one already exists
|
|
9536
|
+
if (key === '.') {
|
|
9537
|
+
if (this.decimals === 0) {
|
|
9538
|
+
ev.preventDefault();
|
|
9539
|
+
return;
|
|
9540
|
+
}
|
|
9541
|
+
const nativeInput = (_b = (_a = this.internalInput) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('input');
|
|
9542
|
+
if (nativeInput === null || nativeInput === void 0 ? void 0 : nativeInput.value.includes('.'))
|
|
9543
|
+
ev.preventDefault();
|
|
9544
|
+
return;
|
|
9545
|
+
}
|
|
9546
|
+
// For digit keys, enforce decimal place limit
|
|
9547
|
+
if (/^\d$/.test(key)) {
|
|
9548
|
+
if (this.decimals != null && this.decimals > 0) {
|
|
9549
|
+
const nativeInput = (_d = (_c = this.internalInput) === null || _c === void 0 ? void 0 : _c.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelector('input');
|
|
9550
|
+
if (nativeInput) {
|
|
9551
|
+
const value = nativeInput.value;
|
|
9552
|
+
const dotIndex = value.indexOf('.');
|
|
9553
|
+
if (dotIndex !== -1) {
|
|
9554
|
+
const cursorAfterDot = ((_e = nativeInput.selectionEnd) !== null && _e !== void 0 ? _e : value.length) > dotIndex;
|
|
9555
|
+
const decimalsFilled = value.length - dotIndex - 1 >= this.decimals;
|
|
9556
|
+
if (cursorAfterDot && decimalsFilled)
|
|
9557
|
+
ev.preventDefault();
|
|
9558
|
+
}
|
|
9559
|
+
}
|
|
9560
|
+
}
|
|
9561
|
+
return;
|
|
9562
|
+
}
|
|
9563
|
+
// Allow minus sign for negative numbers; block everything else (letters, etc.)
|
|
9564
|
+
if (key !== '-')
|
|
9565
|
+
ev.preventDefault();
|
|
9566
|
+
};
|
|
9567
|
+
this.handleInput = (ev) => {
|
|
9568
|
+
ev.stopPropagation();
|
|
9569
|
+
const target = ev.target;
|
|
9570
|
+
this.valueChanged.emit(target.value);
|
|
9571
|
+
};
|
|
9572
|
+
this.handleBlur = () => {
|
|
9573
|
+
this.inputBlur.emit();
|
|
9574
|
+
};
|
|
9575
|
+
}
|
|
9576
|
+
// Sync controlled value updates to the inner input without going through the render
|
|
9577
|
+
// cycle — avoids FAST's setter resetting cursor on unrelated re-renders (e.g. error prop).
|
|
9578
|
+
onValuePropChange(newValue) {
|
|
9579
|
+
if (this.internalInput) {
|
|
9580
|
+
this.internalInput.value = newValue !== null && newValue !== void 0 ? newValue : '';
|
|
9581
|
+
}
|
|
9582
|
+
}
|
|
9583
|
+
componentDidLoad() {
|
|
9584
|
+
if (this.internalInput && this.value != null) {
|
|
9585
|
+
this.internalInput.value = this.value;
|
|
9586
|
+
}
|
|
9587
|
+
}
|
|
9588
|
+
/** Selects the text in the input. */
|
|
9589
|
+
select() {
|
|
9590
|
+
var _a;
|
|
9591
|
+
(_a = this.internalInput) === null || _a === void 0 ? void 0 : _a.select();
|
|
9592
|
+
return Promise.resolve();
|
|
9593
|
+
}
|
|
9594
|
+
handleStep(direction) {
|
|
9595
|
+
var _a, _b, _c;
|
|
9596
|
+
const nativeInput = (_b = (_a = this.internalInput) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('input');
|
|
9597
|
+
if (!nativeInput)
|
|
9598
|
+
return;
|
|
9599
|
+
const rawStep = this.step != null && this.step !== '' ? parseFloat(this.step) : 1;
|
|
9600
|
+
const stepSize = isNaN(rawStep) ? 1 : rawStep;
|
|
9601
|
+
const current = parseFloat(nativeInput.value);
|
|
9602
|
+
const base = isNaN(current) ? 0 : current;
|
|
9603
|
+
const next = base + direction * stepSize;
|
|
9604
|
+
const stepStr = (_c = this.step) !== null && _c !== void 0 ? _c : '1';
|
|
9605
|
+
const dotIdx = stepStr.indexOf('.');
|
|
9606
|
+
const decimalPlaces = dotIdx !== -1 ? stepStr.length - dotIdx - 1 : 0;
|
|
9607
|
+
const newValue = next.toFixed(decimalPlaces);
|
|
9608
|
+
if (this.internalInput) {
|
|
9609
|
+
this.internalInput.value = newValue;
|
|
9610
|
+
}
|
|
9611
|
+
this.valueChanged.emit(newValue);
|
|
9612
|
+
}
|
|
9613
|
+
render() {
|
|
9614
|
+
const hasError = !!this.error;
|
|
9615
|
+
const message = this.error || this.hint;
|
|
9616
|
+
const noMessage = !message && !this.includeErrorPadding;
|
|
9617
|
+
return (index.h(index.Host, { key: 'cbd82abcb97144eb240e26e1835648b8ed8ef511', class: { 'has-error': hasError } }, index.h("fluent-field", { key: '6051b965118be312ae48ac3c367fa74537ab9806', class: { 'no-message': noMessage } }, index.h("fluent-text-input", { key: 'b5491f22d0a02b17340eb28dd1e649269f142740', ref: el => (this.internalInput = el), slot: "input", class: { 'no-label': !this.label }, name: this.name, placeholder: this.placeholder, required: this.required, disabled: this.disabled, readonly: this.readonly, autofocus: this.autofocus, autocomplete: this.autocomplete, spellcheck: "false", appearance: this.appearance, controlSize: this.controlSize, onKeyDown: this.handleKeyDown, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: () => this.inputFocus.emit(), onInvalid: (e) => e.preventDefault() }, index.h("slot", { key: 'babb83e670dee57c34e3be9ce1de2270d84a96d3', slot: "start", name: "start" }), index.h("slot", { key: '5e29bb83e61f0b50e034512fa2861328566f9c3a', slot: "end", name: "end" }), this.label && (index.h("fluent-label", { key: 'f811d13e1286c9208d239b0152cb4b9d2456571c', required: this.required, disabled: this.disabled }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '8887773242a8f8aa8071d36557ec8afd28adb997', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: '2b17f6aaf9944f31d292071f71d7afc583f1e870', name: "info", size: "xs", class: "popup-hint-icon" })))))), index.h("udp-text", { key: '18bf2271fc87d2cacc5c893191795a99d2ac3c50', slot: "message", variant: "caption1", class: {
|
|
9618
|
+
message: true,
|
|
9619
|
+
error: hasError,
|
|
9620
|
+
includeErrorPadding: this.includeErrorPadding,
|
|
9621
|
+
} }, message))));
|
|
9622
|
+
}
|
|
9623
|
+
static get delegatesFocus() { return true; }
|
|
9624
|
+
static get watchers() { return {
|
|
9625
|
+
"value": [{
|
|
9626
|
+
"onValuePropChange": 0
|
|
9627
|
+
}]
|
|
9628
|
+
}; }
|
|
9629
|
+
};
|
|
9630
|
+
UdpFluentNumberInput.style = udpFluentNumberInputCss();
|
|
9631
|
+
|
|
9385
9632
|
const udpFluentRadioGroupCss = () => `.message{color:var(--colorNeutralForeground3)}.message.includeErrorPadding{min-height:var(--lineHeightBase200)}.message.error{color:var(--colorPaletteRedForeground1)}.popup-hint-icon{margin-left:2px}fluent-label[disabled]{color:var(--colorNeutralForeground1)}fluent-field.no-label::part(label){display:none}fluent-field.no-message::part(message){display:none}`;
|
|
9386
9633
|
|
|
9387
9634
|
const UdpFluentRadioGroup = class {
|
|
@@ -9418,18 +9665,14 @@ const UdpFluentRadioGroup = class {
|
|
|
9418
9665
|
* componentDidRender fires synchronously before that happens, so defer the initial value set.
|
|
9419
9666
|
*/
|
|
9420
9667
|
componentDidLoad() {
|
|
9421
|
-
if (this.internalInput && this.value != null) {
|
|
9422
|
-
requestAnimationFrame(() =>
|
|
9423
|
-
this.internalInput.value = this.value;
|
|
9424
|
-
});
|
|
9668
|
+
if (this.internalInput && (this.value != null || this.disabled)) {
|
|
9669
|
+
requestAnimationFrame(() => this.applyValue());
|
|
9425
9670
|
}
|
|
9426
9671
|
}
|
|
9427
9672
|
/** Handle subsequent value/disabled updates after the component is initialized. */
|
|
9428
9673
|
componentDidRender() {
|
|
9429
9674
|
var _a;
|
|
9430
|
-
|
|
9431
|
-
this.internalInput.value = this.value;
|
|
9432
|
-
}
|
|
9675
|
+
this.applyValue();
|
|
9433
9676
|
(_a = this.items) === null || _a === void 0 ? void 0 : _a.forEach(item => {
|
|
9434
9677
|
const radioElement = this.radioRefs.get(item.value);
|
|
9435
9678
|
if (radioElement) {
|
|
@@ -9437,11 +9680,28 @@ const UdpFluentRadioGroup = class {
|
|
|
9437
9680
|
}
|
|
9438
9681
|
});
|
|
9439
9682
|
}
|
|
9683
|
+
/**
|
|
9684
|
+
* Fluent's RadioGroup ignores `value` while disabled (its enabled-radio list is
|
|
9685
|
+
* empty, and disabling resets the selection), so a disabled group checks the
|
|
9686
|
+
* matching radio directly.
|
|
9687
|
+
*/
|
|
9688
|
+
applyValue() {
|
|
9689
|
+
if (!this.internalInput)
|
|
9690
|
+
return;
|
|
9691
|
+
if (this.disabled) {
|
|
9692
|
+
this.radioRefs.forEach((radio, value) => {
|
|
9693
|
+
radio.checked = value === this.value;
|
|
9694
|
+
});
|
|
9695
|
+
}
|
|
9696
|
+
else if (this.value != null) {
|
|
9697
|
+
this.internalInput.value = this.value;
|
|
9698
|
+
}
|
|
9699
|
+
}
|
|
9440
9700
|
render() {
|
|
9441
9701
|
var _a;
|
|
9442
9702
|
const hasError = !!this.error;
|
|
9443
9703
|
const message = this.error || this.hint;
|
|
9444
|
-
return (index.h(index.Host, { key: '
|
|
9704
|
+
return (index.h(index.Host, { key: '1bce6c09dc0d01e28cf6a46fc1887ed16743c4a6' }, index.h("fluent-field", { key: '33813ff63f3438bcb61d73880ef681c45d87da05', "label-position": "above", class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-label", { key: '57ee49ee615c5611893bbfcfb8197b03586494df', slot: "label", disabled: this.disabled }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '2c022b38ffd05de98662401b249c67e48d9e6ce7', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: '2ffb13db3c00defadd8eabc7938200c6ff278d53', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("fluent-radio-group", { key: '5ce56723f77b72fffbe72c0281fd37107f048bfd', ref: el => (this.internalInput = el), slot: "input", name: this.name, disabled: this.disabled, orientation: this.orientation, onChange: this.handleChange }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => (index.h("fluent-field", { "label-position": "after" }, index.h("fluent-label", { slot: "label", onClick: () => this.handleLabelClick(item.value, item.disabled) }, item.label), index.h("fluent-radio", { slot: "input", value: item.value, disabled: item.disabled, ref: (el) => this.radioRefs.set(item.value, el) }))))), index.h("udp-text", { key: 'ac504fe5e5f7fd0a09b82536737ca00d8036846f', slot: "message", variant: "caption1", class: {
|
|
9445
9705
|
message: true,
|
|
9446
9706
|
error: hasError,
|
|
9447
9707
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -9494,7 +9754,7 @@ const UdpFluentSwitch = class {
|
|
|
9494
9754
|
render() {
|
|
9495
9755
|
const hasError = !!this.error;
|
|
9496
9756
|
const message = this.error || this.hint;
|
|
9497
|
-
return (index.h(index.Host, { key: '
|
|
9757
|
+
return (index.h(index.Host, { key: '2d590237f4326dc0953d1b6df4ad03e643703965' }, index.h("fluent-field", { key: 'de866327c55b55d6ed7cec19735ffe0d2e86cd4e', "label-position": this.labelPosition, class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-label", { key: '8bb1c8adc73365e3fb5fe982fc1a0435572a8bba', slot: "label", onClick: this.handleLabelClick }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '163d101459d23450d5d2c385bca44e386841dfc4', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: '9762024882a0a8916d5ca70d6bdefd71bd231ccb', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("fluent-switch", { key: '87d94bf0b4b96a552e99a6197124c2cec4b5aa88', slot: "input", name: this.name, checked: this.checked, disabled: this.disabled, onChange: this.handleChange, ref: (el) => (this.internalSwitch = el) }), index.h("udp-text", { key: '44335dd37408e880819ec8d69676390553b7ffa1', slot: "message", variant: "caption1", class: {
|
|
9498
9758
|
message: true,
|
|
9499
9759
|
error: hasError,
|
|
9500
9760
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -9550,6 +9810,8 @@ const UdpFluentTablist = class {
|
|
|
9550
9810
|
this.showEndShadow = false;
|
|
9551
9811
|
//Only used for collapse overflow strategy
|
|
9552
9812
|
this.overflowTabs = [];
|
|
9813
|
+
/** Bumped when light-DOM slot content changes, so per-tab slots render for late-arriving children. */
|
|
9814
|
+
this.slotVersion = 0;
|
|
9553
9815
|
this.visibleTabIds = [];
|
|
9554
9816
|
this.handleScrollStart = () => {
|
|
9555
9817
|
if (this.scrollContainer) {
|
|
@@ -9611,14 +9873,22 @@ const UdpFluentTablist = class {
|
|
|
9611
9873
|
if (this.orientation === 'horizontal') {
|
|
9612
9874
|
this.initScrollObserver();
|
|
9613
9875
|
}
|
|
9876
|
+
// Per-tab start/end slots only render when slotted content exists. Counts and badges
|
|
9877
|
+
// often arrive after first paint, so re-render (and re-measure overflow) when children change.
|
|
9878
|
+
this.slotObserver = new MutationObserver(() => {
|
|
9879
|
+
this.slotVersion++;
|
|
9880
|
+
requestAnimationFrame(() => this.updateOverflowState());
|
|
9881
|
+
});
|
|
9882
|
+
this.slotObserver.observe(this.el, { childList: true });
|
|
9614
9883
|
}
|
|
9615
9884
|
connectedCallback() {
|
|
9616
9885
|
this.el.addEventListener('keydown', this.handleKeyDown, { capture: true });
|
|
9617
9886
|
}
|
|
9618
9887
|
disconnectedCallback() {
|
|
9619
|
-
var _a;
|
|
9888
|
+
var _a, _b;
|
|
9620
9889
|
this.el.removeEventListener('keydown', this.handleKeyDown, { capture: true });
|
|
9621
9890
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
9891
|
+
(_b = this.slotObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
9622
9892
|
}
|
|
9623
9893
|
initScrollObserver() {
|
|
9624
9894
|
if (!this.scrollContainer)
|
|
@@ -9864,11 +10134,11 @@ const UdpFluentTextInput = class {
|
|
|
9864
10134
|
const hasError = !!this.error;
|
|
9865
10135
|
const message = this.error || this.hint;
|
|
9866
10136
|
const noMessage = !message && !this.includeErrorPadding;
|
|
9867
|
-
return (index.h(index.Host, { key: '
|
|
10137
|
+
return (index.h(index.Host, { key: 'eb087bb58717aff52640bf025289e0b105a28bc0', class: { 'has-error': hasError } }, index.h("fluent-field", { key: '9664a740d11175ff365603f704e3cda880ed775b', class: { 'no-message': noMessage } }, index.h("fluent-text-input", { key: '1f0a9bd0e4f2c3d2227b107847745e8fba930b8b', ref: el => (this.internalInput = el), slot: "input", class: { 'no-label': !this.label }, name: this.name, value: this.value, type: this.type, placeholder: this.placeholder, required: this.required, disabled: this.disabled, readonly: this.readonly, autofocus: this.autofocus, autocomplete: this.autocomplete, spellcheck: this.spellcheck ? 'true' : 'false', appearance: this.appearance, controlSize: this.controlSize, maxlength: this.maxLength,
|
|
9868
10138
|
// Events
|
|
9869
10139
|
onInput: this.handleInput, onBlur: () => this.inputBlur.emit(), onFocus: () => this.inputFocus.emit(),
|
|
9870
10140
|
// Suppress native invalid popup
|
|
9871
|
-
onInvalid: (e) => e.preventDefault() }, index.h("slot", { key: '
|
|
10141
|
+
onInvalid: (e) => e.preventDefault() }, index.h("slot", { key: 'ad77e9fed75aeeec7526918ef0804145e26cb7d8', slot: "start", name: "start" }), index.h("slot", { key: '44d5342f76ef8696224db5ba85001151959f25e5', slot: "end", name: "end" }), this.label && (index.h("fluent-label", { key: '57ee3129c1234169b4fb848b5484d4b9b39a815f', required: this.required, disabled: this.disabled }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '1b32ba0f824542d5a8c92854e6a6b5b365986159', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: 'c3a2a5e30b7728bf4b2e3651c3de1f9341c8163c', name: "info", size: "xs", class: "popup-hint-icon" })))))), index.h("udp-text", { key: '7596cc45c230e9d9953ba557970064a7ded38a9a', slot: "message", variant: "caption1", class: {
|
|
9872
10142
|
message: true,
|
|
9873
10143
|
error: hasError,
|
|
9874
10144
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -9915,7 +10185,7 @@ const UdpFluentToggleButton = class {
|
|
|
9915
10185
|
}
|
|
9916
10186
|
render() {
|
|
9917
10187
|
const iconSize = getIconSize(this.size);
|
|
9918
|
-
return (index.h(index.Host, { key: '
|
|
10188
|
+
return (index.h(index.Host, { key: '0a8eff3d258ca2adc1fe25694051e21b367958cd' }, index.h("fluent-toggle-button", { key: 'da359faa1ef41f3c10d854381120bda8a45910d4', pressed: this.pressed, mixed: this.mixed, disabled: this.disabled, size: this.size, appearance: this.appearance, shape: this.shape, "icon-only": this.iconOnly, "aria-label": this.ariaLabel }, (this.startIconName || slotHelpers.hasSlotContent(this.el, 'start')) && (index.h("span", { key: 'a75625189f1d5bccad66046c5bda1133b5f639a5', class: "slot-wrapper", slot: "start" }, index.h("slot", { key: '4a941a8d79735e011f90f7fde0cf10c4e0ec2615', name: "start" }, this.startIconName && (index.h("udp-fluent-icon", { key: '3a997c7dc942e3afd24a8fdd0a3f8dc102bd2ecc', name: this.startIconName, size: iconSize }))))), index.h("slot", { key: '22b997d65ad2d5dd83816295859f68138c34473e' }), (this.endIconName || slotHelpers.hasSlotContent(this.el, 'end')) && (index.h("span", { key: 'b7282aad98811ee9574a9548ea0bb7dae6e5fd48', class: "slot-wrapper", slot: "end" }, index.h("slot", { key: 'b9487514b9c2e943f51761d40b087e3aa9bd9456', name: "end" }, this.endIconName && index.h("udp-fluent-icon", { key: '2107532e1302f0bb36181ac8a4e751269ebebf47', name: this.endIconName, size: iconSize })))))));
|
|
9919
10189
|
}
|
|
9920
10190
|
get el() { return index.getElement(this); }
|
|
9921
10191
|
};
|
|
@@ -10122,10 +10392,10 @@ const UdpFormComponent = class {
|
|
|
10122
10392
|
}
|
|
10123
10393
|
}
|
|
10124
10394
|
render() {
|
|
10125
|
-
return (index.h("form", { key: '
|
|
10395
|
+
return (index.h("form", { key: '6c98340a5fb29221b11ecb9cfa6053ed37d3f3f6', id: this.formId, noValidate: true, onSubmit: e => {
|
|
10126
10396
|
e.preventDefault();
|
|
10127
10397
|
void this.form.submit();
|
|
10128
|
-
} }, index.h("slot", { key: '
|
|
10398
|
+
} }, index.h("slot", { key: '92a249f9133c905314b0c99dc3021baac8706c16' })));
|
|
10129
10399
|
}
|
|
10130
10400
|
get el() { return index.getElement(this); }
|
|
10131
10401
|
static get watchers() { return {
|
|
@@ -10236,7 +10506,7 @@ const UdpLazyLoader = class {
|
|
|
10236
10506
|
}
|
|
10237
10507
|
}
|
|
10238
10508
|
render() {
|
|
10239
|
-
return index.h(index.Host, { key: '
|
|
10509
|
+
return index.h(index.Host, { key: '518723cdf088e980df4582c1da10c253d10941c3' }, this.shouldRender && this.content ? this.content() : null);
|
|
10240
10510
|
}
|
|
10241
10511
|
static get watchers() { return {
|
|
10242
10512
|
"if": [{
|
|
@@ -10260,7 +10530,7 @@ const UdpLinearLoader = class {
|
|
|
10260
10530
|
loader: true,
|
|
10261
10531
|
[`loader--color-${this.color}`]: true,
|
|
10262
10532
|
};
|
|
10263
|
-
return (index.h(index.Host, { key: '
|
|
10533
|
+
return (index.h(index.Host, { key: '48257b756fee9b23946539dbc48c9b2a93fd9123' }, index.h("div", { key: '8cf293854214f8ac196c502ac89fe7c222f288aa', class: loaderClasses }, index.h("div", { key: 'a79391bfca1aac861aa84739c59cfe5c9bd179c0', class: "indeterminate" }))));
|
|
10264
10534
|
}
|
|
10265
10535
|
};
|
|
10266
10536
|
UdpLinearLoader.style = udpLinearLoaderCss();
|
|
@@ -10319,11 +10589,11 @@ const UdpListRenderer = class {
|
|
|
10319
10589
|
render() {
|
|
10320
10590
|
const showPrimaryText = this.primaryText || this.hasPrimaryTextSlot;
|
|
10321
10591
|
const showSecondaryText = this.secondaryText || this.hasSecondaryTextSlot;
|
|
10322
|
-
return (index.h(index.Host, { key: '
|
|
10592
|
+
return (index.h(index.Host, { key: '6dd42b769e01b704f24f224c44d146f84c0a4212' }, index.h("div", { key: '2cf507ced35daddcf8972774f75ca979ad46f058', class: {
|
|
10323
10593
|
'list-item': true,
|
|
10324
10594
|
'clickable': this.clickable,
|
|
10325
10595
|
'variant-compact': this.variant === 'compact',
|
|
10326
|
-
}, onClick: this.handleClick, onKeyPress: this.handleKeyPress, role: this.clickable ? 'button' : undefined, tabindex: this.clickable ? 0 : -1 }, this.iconName && (index.h("div", { key: '
|
|
10596
|
+
}, onClick: this.handleClick, onKeyPress: this.handleKeyPress, role: this.clickable ? 'button' : undefined, tabindex: this.clickable ? 0 : -1 }, this.iconName && (index.h("div", { key: '967706879b46a63aabbebd269e1ec183b18ac680', class: "avatar-container" }, index.h("udp-avatar", { key: '681b494d819da6e34c83fbfa36d8a3a081643ce7', iconName: this.iconName, variant: this.avatarVariant, color: this.avatarBackgroundColor }))), index.h("div", { key: 'a84384838c1c14c5c334e91cf7e5d41f0b080a6c', class: "text-container" }, showPrimaryText && (index.h("div", { key: '96050a551d1b12fba429ac574bb096209e053a47', class: "primary-text" }, index.h("slot", { key: '647f4f9dd2e04ed4c7fda8f40ac249c1c4e13b38', name: "primary-text" }, index.h("unity-typography", { key: '721b21ca11304ee42fd98c04ec2cf54e82eee418', variant: "body" }, this.primaryText)))), showSecondaryText && (index.h("div", { key: '4f4f4080b28ceea81c67351646ff633bdb88bf24', class: "secondary-text" }, index.h("slot", { key: '5385fb4c9f2e8710e7aa2a48de8b61542b7a5ca2', name: "secondary-text" }, index.h("unity-typography", { key: '41b489f174d14ee732f5866801c366e7b9014c8f', variant: "caption-text", color: "textSecondary" }, this.secondaryText))))), this.hasStatusChipSlot && (index.h("div", { key: 'bcac870f39bf157f530a2df7350ab7394cb2aacb', class: "status-chip-container" }, index.h("slot", { key: '0e49744b34df4134977b753a9c9a29b5b8185910', name: "status-chip" }))), this.hasActionsSlot && (index.h("div", { key: '33d94b977f772172bc11e4a70fd52a7fcde717ac', class: "actions-container" }, index.h("slot", { key: 'c54d3464aa458f3ff6a5207045582284ce343c6e', name: "actions" }))))));
|
|
10327
10597
|
}
|
|
10328
10598
|
get hostEl() { return index.getElement(this); }
|
|
10329
10599
|
};
|
|
@@ -10345,7 +10615,7 @@ const UdpMenuItem = class {
|
|
|
10345
10615
|
};
|
|
10346
10616
|
}
|
|
10347
10617
|
render() {
|
|
10348
|
-
return (index.h("button", { key: '
|
|
10618
|
+
return (index.h("button", { key: '00a21035e4881a5f9acc340852ad8ad8e62318d2', class: "menu-item-root", onClick: this.handleItemClick, disabled: this.disabled, role: "menuitem" }, this.iconName && index.h("udp-icon", { key: 'c16d151ddb57a4b40869bce5466c3f864f8d9475', iconName: this.iconName, class: "menu-icon" }), index.h("span", { key: '5aa0b8adf7f3b0a8f682edebd54fce3fb6cce97e', class: "menu-item-label" }, index.h("unity-typography", { key: '4aff04eb970bcd352e952d99e783647a29d9a9ee', variant: 'body1' }, this.label))));
|
|
10349
10619
|
}
|
|
10350
10620
|
};
|
|
10351
10621
|
UdpMenuItem.style = udpMenuItemCss();
|
|
@@ -10377,7 +10647,7 @@ const UdpMessageBar = class {
|
|
|
10377
10647
|
};
|
|
10378
10648
|
}
|
|
10379
10649
|
render() {
|
|
10380
|
-
return (index.h(index.Host, { key: '
|
|
10650
|
+
return (index.h(index.Host, { key: '772d4f5677e6627f02cfea58f49f016a78bce425' }, index.h("fluent-message-bar", { key: 'b424e0f23e6afa3225c190720ea5cfa64bfe3870', shape: this.shape, layout: this.layout, intent: this.intent }, index.h("udp-flexbox", { key: 'c8b4d5f7717267a565e4e03be57d806586be3e1b', direction: "row", gap: "sm", slot: "actions" }, index.h("slot", { key: '9f7347a7d7a92f7eaffec5ab5aec4a04531b2f4c', name: "actions" })), this.dismissible ? (index.h("udp-fluent-icon-button", { slot: "dismiss", appearance: "subtle", iconName: "dismiss", "aria-label": "Dismiss", onClick: this.handleDismissClick })) : (index.h("slot", { name: "dismiss", slot: "dismiss" })), index.h("slot", { key: '598ac2efab14ef42b49a502ea3325a9641cc3dca', name: "icon", slot: "icon" }), index.h("slot", { key: '7d1bd1347a8c1b1e627ccd08741eca8471f9934c' }))));
|
|
10381
10651
|
}
|
|
10382
10652
|
};
|
|
10383
10653
|
UdpMessageBar.style = udpMessageBarCss();
|
|
@@ -10498,7 +10768,7 @@ const UdpPopOver = class {
|
|
|
10498
10768
|
maxHeight: this.popoverMaxHeight,
|
|
10499
10769
|
overflow: this.overflow
|
|
10500
10770
|
};
|
|
10501
|
-
return (index.h(index.Host, { key: '
|
|
10771
|
+
return (index.h(index.Host, { key: '6dde57c93e241279ab298548ffabddbc1af0e255' }, index.h("div", { key: 'a73b40a1f14975eafe307f92c21ada4f11f84994', class: "popover", style: style }, index.h("slot", { key: 'd459d0fd7cbc8e6d04a0d7d43308ae636c9682b6' }))));
|
|
10502
10772
|
}
|
|
10503
10773
|
get hostEl() { return index.getElement(this); }
|
|
10504
10774
|
static get watchers() { return {
|
|
@@ -10820,14 +11090,14 @@ const UdpPopover = class {
|
|
|
10820
11090
|
}
|
|
10821
11091
|
render() {
|
|
10822
11092
|
const anchorName = `--${this.anchorId}`;
|
|
10823
|
-
return (index.h(index.Host, { key: '
|
|
11093
|
+
return (index.h(index.Host, { key: 'bb1bd2d88d2d60cb48ffc46fc0048fdb17d49b49', style: { '--udp-internal-anchor-name': anchorName }, class: { 'has-arrow': this.withArrow }, onClick: (e) => {
|
|
10824
11094
|
if (!this.toggleOnTriggerClick)
|
|
10825
11095
|
return;
|
|
10826
11096
|
if (this.popoverWrapper && e.composedPath().includes(this.popoverWrapper)) {
|
|
10827
11097
|
return;
|
|
10828
11098
|
}
|
|
10829
11099
|
this.open = !this.open;
|
|
10830
|
-
}, onFocusout: this.handleFocusOut }, index.h("slot", { key: '
|
|
11100
|
+
}, onFocusout: this.handleFocusOut }, index.h("slot", { key: '7b2b459613693680a6b72aafc5046947470eb841', name: "trigger" }), index.h("div", { key: 'de7660bfc8b2add56bcdbbd74c948b16d21c99e1', popover: this.keepOpenOnClickOutside ? 'manual' : 'auto', class: {
|
|
10831
11101
|
'popover-shell': true,
|
|
10832
11102
|
'position-top': this.position.startsWith('top'),
|
|
10833
11103
|
'position-bottom': this.position.startsWith('bottom'),
|
|
@@ -10843,10 +11113,10 @@ const UdpPopover = class {
|
|
|
10843
11113
|
}, style: {
|
|
10844
11114
|
'position-anchor': `var(--udp-internal-anchor-name)`,
|
|
10845
11115
|
'position-area': this.getPositionArea(),
|
|
10846
|
-
} }, index.h("div", { key: '
|
|
11116
|
+
} }, index.h("div", { key: '5de5a4162054c0c6558a38a5edd9a79d487752d1', part: "content", class: {
|
|
10847
11117
|
'popover-content': true,
|
|
10848
11118
|
[`size-${this.size}`]: !!this.size,
|
|
10849
|
-
} }, this.withArrow && index.h("div", { key: '
|
|
11119
|
+
} }, this.withArrow && index.h("div", { key: '5710981f65927628094668949083eeeb30776f2d', class: "popover-arrow" }), index.h("slot", { key: 'e6de77c5084064632d91e4ddcb9cd1ad865552e9', name: "content" })))));
|
|
10850
11120
|
}
|
|
10851
11121
|
get el() { return index.getElement(this); }
|
|
10852
11122
|
static get watchers() { return {
|
|
@@ -11109,7 +11379,7 @@ const UdpPrimaryActionHeader = class {
|
|
|
11109
11379
|
render() {
|
|
11110
11380
|
var _a;
|
|
11111
11381
|
const hasPropActions = !!this.primaryAction || (((_a = this.secondaryActions) === null || _a === void 0 ? void 0 : _a.length) || 0) > 0;
|
|
11112
|
-
return (index.h(index.Host, { key: '
|
|
11382
|
+
return (index.h(index.Host, { key: '98a9fba8dba1acf7584841003e2b7615141409dd' }, index.h("div", { key: '7f3c5b0d9400d76b4691a8ba9e09d5067d3fa3d9', class: { 'header-body': true, 'has-toolbar': this.hasToolbar } }, index.h("div", { key: 'f6f561a9e9712dcc7440cfb667be994d1edfdebc', class: "title-row" }, index.h("div", { key: '29d872cd609151a113cf893ea3e3938c1e813c07', class: "title-inline" }, this.title !== undefined ? (index.h("udp-text", { variant: "subtitle1", block: false }, this.title)) : (index.h("slot", { name: "title", onSlotchange: this.handleSlotChange })), index.h("div", { key: '89813e871d25e96a6ed042e70d6e3b180861881e', class: { 'slot-inline': true, 'hidden': !this.hasInline } }, index.h("slot", { key: '2d70003f75ef36d58f6f6b9ae2f180b589b82096', name: "inline", onSlotchange: this.handleSlotChange }))), index.h("div", { key: '0d3e8f8fab3cf70297dde2aa9650c0a0de1c2b6a', class: { 'slot-actions': true, 'hidden': !this.hasActions } }, index.h("slot", { key: 'cfe871ef8a7fc1e9855ffcadc38a3ea4cd15c483', name: "actions", onSlotchange: this.handleSlotChange })), index.h("div", { key: '2175c9a9cbf8712db6df03928739339b68d903e9', class: { 'system-actions': true, 'hidden': !hasPropActions } }, this.renderSecondaryActions(), this.renderPrimaryAction())), index.h("div", { key: 'c7ba3093471451dbe7d8e015d2f3b69a237f596e', class: { 'subtitle-row': true, 'hidden': !this.hasSubtitle && !this.subtitle } }, this.subtitle !== undefined ? (index.h("udp-text", { variant: "caption1" }, this.subtitle)) : (index.h("slot", { name: "subtitle", onSlotchange: this.handleSlotChange })))), index.h("div", { key: '7d6794877f105d315cbebdf5791dc6257df48289', class: { 'toolbar-row': true, 'hidden': !this.hasToolbar } }, index.h("slot", { key: 'eec4bc9ceb363dab2090fbde8243b6c3330ebd63', name: "toolbar", onSlotchange: this.handleSlotChange }))));
|
|
11113
11383
|
}
|
|
11114
11384
|
get el() { return index.getElement(this); }
|
|
11115
11385
|
};
|
|
@@ -11132,11 +11402,11 @@ const UdpProgressBar = class {
|
|
|
11132
11402
|
this.validationState = 'info';
|
|
11133
11403
|
}
|
|
11134
11404
|
render() {
|
|
11135
|
-
return (index.h(index.Host, { key: '
|
|
11405
|
+
return (index.h(index.Host, { key: 'be298b002d90614ba848d23e03eb819227449289' }, index.h("fluent-progress-bar", { key: 'a26b7ff6b223801bf4f2f1b4230ae063d7095cdb', thickness: this.thickness, shape: this.shape, "validation-state": this.validationState, value: this.value, min: this.min, max: this.max })));
|
|
11136
11406
|
}
|
|
11137
11407
|
};
|
|
11138
11408
|
|
|
11139
|
-
const udpSearchInputCss = () => `fluent-text-input.no-label::part(label){display:none}fluent-field.no-message::part(message){display:none}fluent-field.no-message{row-gap:0}fluent-text-input[disabled]::part(control){color:var(--colorNeutralForegroundDisabled);-webkit-text-fill-color:var(--colorNeutralForegroundDisabled)}fluent-text-input[disabled]::part(root){background-color:var(--colorNeutralBackgroundDisabled)}fluent-label[disabled]{color:var(--colorNeutralForeground1)}fluent-text-input::part(control):-webkit-autofill,fluent-text-input::part(control):-webkit-autofill:hover,fluent-text-input::part(control):-webkit-autofill:focus,fluent-text-input::part(control):-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px var(--colorNeutralBackground1) inset !important;-webkit-text-fill-color:var(--colorNeutralForeground1) !important;transition:background-color 5000s ease-in-out 0s}:host{display:block;width:100%;color:var(--colorNeutralForeground1)}fluent-field{width:100%;display:grid}fluent-text-input{width:100%;max-width:100%;display:grid}.message{color:var(--colorNeutralForeground3)}.message.includeErrorPadding{min-height:var(--lineHeightBase200)}.message.error{color:var(--colorPaletteRedForeground1)}.popup-hint-icon{margin-left:2px}:host(.has-error) fluent-text-input::part(root){border-color:var(--colorPaletteRedBorder2)}:host(.has-error:focus-within) fluent-text-input::part(root){border-color:var(--colorNeutralStroke1)}slot[name='end']{display:contents}.clear-button{display:none}.clear-button.is-visible{display:inline-flex}`;
|
|
11409
|
+
const udpSearchInputCss = () => `fluent-text-input.no-label::part(label){display:none}fluent-field.no-message::part(message){display:none}fluent-field.no-message{row-gap:0}fluent-text-input[disabled]::part(control){color:var(--colorNeutralForegroundDisabled);-webkit-text-fill-color:var(--colorNeutralForegroundDisabled)}fluent-text-input[disabled]::part(root){background-color:var(--colorNeutralBackgroundDisabled)}fluent-label[disabled]{color:var(--colorNeutralForeground1)}fluent-text-input::part(control):-webkit-autofill,fluent-text-input::part(control):-webkit-autofill:hover,fluent-text-input::part(control):-webkit-autofill:focus,fluent-text-input::part(control):-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px var(--colorNeutralBackground1) inset !important;-webkit-text-fill-color:var(--colorNeutralForeground1) !important;transition:background-color 5000s ease-in-out 0s}:host{display:block;width:100%;color:var(--colorNeutralForeground1)}fluent-field{width:100%;display:grid}fluent-text-input{width:100%;max-width:100%;display:grid}.message{color:var(--colorNeutralForeground3)}.message.includeErrorPadding{min-height:var(--lineHeightBase200)}.message.error{color:var(--colorPaletteRedForeground1)}.popup-hint-icon{margin-left:2px}:host(.has-error) fluent-text-input::part(root){border-color:var(--colorPaletteRedBorder2)}:host(.has-error:focus-within) fluent-text-input::part(root){border-color:var(--colorNeutralStroke1)}slot[name='end']{display:contents}.clear-button{display:none}.clear-button.is-visible{display:inline-flex}.search-icon{flex-shrink:0}`;
|
|
11140
11410
|
|
|
11141
11411
|
const UdpSearchInput = class {
|
|
11142
11412
|
constructor(hostRef) {
|
|
@@ -11214,14 +11484,14 @@ const UdpSearchInput = class {
|
|
|
11214
11484
|
render() {
|
|
11215
11485
|
const hasError = !!this.error;
|
|
11216
11486
|
const message = this.error || this.hint;
|
|
11217
|
-
return (index.h(index.Host, { key: '
|
|
11487
|
+
return (index.h(index.Host, { key: 'da8928c8dc127ef9b7fc3d4597c0c13855d4feb9', class: { 'has-error': hasError } }, index.h("fluent-field", { key: '34d7788b8126bdc247bc4b308c09e7ef0a7c56e7', class: { 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-text-input", { key: '48f099245b272414db99a6cf12be588b5c7dbbf4', ref: el => (this.internalInput = el), class: { 'no-label': !this.label }, slot: "input", name: this.name, value: this.value, type: this.type, placeholder: this.placeholder, "aria-label": this.ariaLabel, required: this.required, disabled: this.disabled, readonly: this.readonly, autofocus: this.autofocus, autocomplete: this.autocomplete, spellcheck: this.spellcheck ? 'true' : 'false', appearance: this.appearance, controlSize: this.controlSize,
|
|
11218
11488
|
// Events
|
|
11219
11489
|
onInput: this.handleInput, onBlur: () => this.inputBlur.emit(), onFocus: () => this.inputFocus.emit(),
|
|
11220
11490
|
// Suppress native invalid popup
|
|
11221
|
-
onInvalid: (e) => e.preventDefault() }, index.h("slot", { key: '
|
|
11491
|
+
onInvalid: (e) => e.preventDefault() }, index.h("slot", { key: '8357bcc1cc5cc15f7d68d31c990708c6f60d31ea', slot: "start", name: "start" }, index.h("udp-fluent-icon", { key: 'e1eb2f90c0a72495927260cb197bbb134b868c3f', class: "search-icon", name: "search", size: "xs" })), index.h("slot", { key: '26232c504438074a84f57e692ad3dac2b100b8a0', slot: "end", name: "end" }), index.h("udp-fluent-icon-button", { key: '7e195c2673ed077b634a785953729f95a48a50f4', class: {
|
|
11222
11492
|
'clear-button': true,
|
|
11223
11493
|
'is-visible': !!this.internalValue && !this.disabled && !this.readonly,
|
|
11224
|
-
}, slot: "end", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), this.label && (index.h("fluent-label", { key: '
|
|
11494
|
+
}, slot: "end", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), this.label && (index.h("fluent-label", { key: '2b713bb1526e7b781df400df0e62633a8604378a', required: this.required, disabled: this.disabled }, this.label, this.popupHint && (index.h("udp-tooltip", { key: 'b0d2fddf53af22368df4acf3f8c7132548f8c2cc', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: '4aacc1f2c3a96ff3f6335c5074c82f49d1719fa7', name: "info", size: "xs", class: "popup-hint-icon" })))))), (!!message || this.includeErrorPadding) && (index.h("udp-text", { key: 'ec4ba109b020efb0af993dec797994e86d03fbe6', slot: "message", variant: "caption1", class: {
|
|
11225
11495
|
message: true,
|
|
11226
11496
|
error: hasError,
|
|
11227
11497
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -11463,27 +11733,27 @@ const UdpSideSheet = class {
|
|
|
11463
11733
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11464
11734
|
const headerStartIcon = Boolean(this.headerActionButtonIcon) ? (index.h("udp-icon", { iconName: this.headerActionButtonIcon, color: "inherit" })) : undefined;
|
|
11465
11735
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11466
|
-
const overflowIcon = index.h("udp-icon", { key: '
|
|
11467
|
-
return (index.h("div", { key: '
|
|
11736
|
+
const overflowIcon = index.h("udp-icon", { key: '28cac4dad7d0194ad32c0ee3f638660499e20b54', iconName: "overflowMenuVertical", color: "inherit" });
|
|
11737
|
+
return (index.h("div", { key: '404fc91a2fd0e8201a845126d9ba96db3fedf042', class: "backdrop", onClick: this.onCloseBackdrop }, index.h("div", { key: 'a1c2f4bca18390fd6a88360fc74a82289abf0222', class: { sheet: true, [this.position]: true, [widthClass]: true }, style: sideSheetStyle }, index.h("div", { key: 'f7011ea224645afdfcd4d271e11c9ac533b77783', class: "title-container" }, index.h("div", { key: '89c124867a4f5eb56561393ddc1b6acbb774d50e', class: "close-button" }, index.h("stencil-icon-button", { key: '12734e4af392d68f6ea71fea9529a33854e13490',
|
|
11468
11738
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11469
|
-
icon: Close24__default.default, onClick: this.onClose, secondary: true })), index.h("div", { key: '
|
|
11470
|
-
_b.map((item) => (index.h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label))), this.headerActionButtonLabel && (index.h("udp-button", { key: '
|
|
11739
|
+
icon: Close24__default.default, onClick: this.onClose, secondary: true })), index.h("div", { key: '6c39e74f1da97eeb1661b12dfc22d9ece837f88a', class: "title-text" }, index.h("unity-typography", { key: '8161c1b90126015320cc079e44ccc1cf9bf28022', variant: "h6" }, this.title)), (this.headerActionButtonLabel || ((_a = this.headerSecondaryButtons) === null || _a === void 0 ? void 0 : _a.length) > 0) && (index.h("div", { key: '4cda43ab0a58fc763d68f4b9c6278f19c632c747', class: "header-action-button" }, (_b = this.headerSecondaryButtons) === null || _b === void 0 ? void 0 :
|
|
11740
|
+
_b.map((item) => (index.h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label))), this.headerActionButtonLabel && (index.h("udp-button", { key: 'a17331f701a49229170291479be320b332b0cb92', disabled: this.headerActionButtonDisabled, onClick: this.onHeaderActionButtonClick,
|
|
11471
11741
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11472
|
-
startIcon: headerStartIcon, variant: "contained" }, this.headerActionButtonLabel))))), index.h("div", { key: '
|
|
11742
|
+
startIcon: headerStartIcon, variant: "contained" }, this.headerActionButtonLabel))))), index.h("div", { key: '21568e20b7322b523d1d2c664d3ab27d9061209d', class: "loader-container" }, index.h("udp-linear-loader", { key: 'd19088e709bba9285f5e9a70ac9a1ee3eb445499', class: { 'is-loading': this.loading }, color: "primary" })), index.h("div", { key: '888b8035b069136523ead735d1d99555d26e7a60', class: { content: true, padding: this.padding } }, index.h("slot", { key: 'a67fc5b26dba96f24eb184e6a98d00acaff48a40' })), (this.primaryButtonLabel || ((_c = this.footerSecondaryButtons) === null || _c === void 0 ? void 0 : _c.length) > 0) && (index.h("div", { key: '6a9fb7df2a57989842ca137acd041a60680b9457' }, index.h("div", { key: '5cad8312dbdfbb86569e97a12e1b842c405b14cf', class: "loader-container" }), index.h("div", { key: 'e1de09b6a2794422a973d8f58465f7507f40e7d7', class: {
|
|
11473
11743
|
footer: true,
|
|
11474
|
-
}, ref: el => (this.footerRef = el) }, !this.showOverflowButton && ((_d = this.footerSecondaryButtons) === null || _d === void 0 ? void 0 : _d.length) > 0 && (index.h("div", { key: '
|
|
11744
|
+
}, ref: el => (this.footerRef = el) }, !this.showOverflowButton && ((_d = this.footerSecondaryButtons) === null || _d === void 0 ? void 0 : _d.length) > 0 && (index.h("div", { key: '2d8324718f9fae2c3e1b9979ab2b0ec636cbf969', class: "footer-secondary-buttons-container" }, index.h("div", { key: 'c0f80f704d9262337b986e541b0093efa65886aa', class: "footer-secondary-buttons" }, (_e = this.footerSecondaryButtons) === null || _e === void 0 ? void 0 : _e.map((item) => (index.h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label)))))), this.showOverflowButton && (index.h("udp-button", { key: '1e0cda6e5152a70ff1e09c382f212e5195102dcc', variant: "outlined", onClick: this.onMoreActionButtonClick, color: "secondary",
|
|
11475
11745
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11476
|
-
endIcon: overflowIcon }, "More")), this.primaryButtonLabel && (index.h("udp-button", { key: '
|
|
11746
|
+
endIcon: overflowIcon }, "More")), this.primaryButtonLabel && (index.h("udp-button", { key: '9741c7b4201386dbc3d9dc3bab02a1de6789cf7b', variant: "contained", disabled: this.primaryButtonDisabled, onClick: this.onPrimaryButtonClick, endIcon: this.primaryButtonIcon }, this.primaryButtonLabel)), this.showOverflowButton && (index.h("udp-pop-over", { key: 'c67b4c66e56282fc9a71f8aaad18a413ccc608cf', anchorElement: this.overflowMenuAnchor, isOpen: this.openOverflowMenu, popoverWidth: '200px', popoverMaxHeight: '300px', handleOnClose: this.handleCloseOverflowMenu }, index.h("div", { key: 'dd4ec2034d1f8c484b1fbd48737d80e89a893402', class: "menu" }, (_f = this.footerSecondaryButtons) === null || _f === void 0 ? void 0 : _f.map(item => (index.h("udp-menu-item", { label: item === null || item === void 0 ? void 0 : item.label, iconName: item === null || item === void 0 ? void 0 : item.icon, onItemClick: () => {
|
|
11477
11747
|
item === null || item === void 0 ? void 0 : item.onClick();
|
|
11478
11748
|
this.handleCloseOverflowMenu();
|
|
11479
|
-
}, disabled: item === null || item === void 0 ? void 0 : item.disabled })))))), index.h("div", { key: '
|
|
11749
|
+
}, disabled: item === null || item === void 0 ? void 0 : item.disabled })))))), index.h("div", { key: 'b3c9c596be513e0bb37b3ef0e9c51543eb14da13', ref: el => (this.measurementContainerRef = el), style: {
|
|
11480
11750
|
position: 'absolute',
|
|
11481
11751
|
visibility: 'hidden',
|
|
11482
11752
|
pointerEvents: 'none',
|
|
11483
11753
|
display: 'flex',
|
|
11484
11754
|
gap: 'var(--spacing-02, 4px)',
|
|
11485
11755
|
}, "aria-hidden": "true" }, (_g = this.footerSecondaryButtons) === null || _g === void 0 ? void 0 :
|
|
11486
|
-
_g.map((item) => (index.h("udp-button", { variant: "text", size: "medium", disabled: item.disabled, endIcon: item.icon }, item.label))), this.primaryButtonLabel && (index.h("udp-button", { key: '
|
|
11756
|
+
_g.map((item) => (index.h("udp-button", { variant: "text", size: "medium", disabled: item.disabled, endIcon: item.icon }, item.label))), this.primaryButtonLabel && (index.h("udp-button", { key: 'c9c0c193a97a7cbac86298bedfdca95fcdba0d4b', variant: "contained", size: "medium", disabled: this.primaryButtonDisabled, endIcon: this.primaryButtonIcon }, this.primaryButtonLabel)))))))));
|
|
11487
11757
|
}
|
|
11488
11758
|
get hostEl() { return index.getElement(this); }
|
|
11489
11759
|
static get watchers() { return {
|
|
@@ -11530,7 +11800,7 @@ const UdpSlider = class {
|
|
|
11530
11800
|
render() {
|
|
11531
11801
|
const hasError = !!this.error;
|
|
11532
11802
|
const message = this.error || this.hint;
|
|
11533
|
-
return (index.h(index.Host, { key: '
|
|
11803
|
+
return (index.h(index.Host, { key: 'f5624a013b62ead90ca479fb025a63e6865b06af' }, index.h("fluent-field", { key: '16f29a4249f9e5be46b007a8e9065facf88e7425', "label-position": "above", class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-label", { key: '69b704dce204fa173d8b0cd676e16a9fe3fe0c48', slot: "label", disabled: this.disabled }, this.label, this.popupHint && (index.h("udp-tooltip", { key: 'e05a045408325536dbc44482bf8f529f66564f85', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: 'a31fee952984def1ebcd96e7cebcdd1827761da0', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("fluent-slider", { key: 'f4ef3a3bdd9480a900d411fbc87dfcfa501755d3', slot: "input", name: this.name, disabled: this.disabled, min: this.min, max: this.max, step: this.step, orientation: this.orientation, value: this.value, onChange: this.handleChange }), index.h("udp-text", { key: 'd91632d46b7ff2280830d46f8010490433bbbf89', slot: "message", variant: "caption1", class: {
|
|
11534
11804
|
message: true,
|
|
11535
11805
|
error: hasError,
|
|
11536
11806
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -11544,7 +11814,7 @@ const UdpSpinner = class {
|
|
|
11544
11814
|
index.registerInstance(this, hostRef);
|
|
11545
11815
|
}
|
|
11546
11816
|
render() {
|
|
11547
|
-
return (index.h(index.Host, { key: '
|
|
11817
|
+
return (index.h(index.Host, { key: '0e7892150d6f406a8ab0001fdba12bb5acf04271' }, index.h("fluent-spinner", { key: '2cdf7e8cff1a73c77713d1477376e5ef1c25c61a', size: this.size, appearance: this.appearance })));
|
|
11548
11818
|
}
|
|
11549
11819
|
};
|
|
11550
11820
|
|
|
@@ -11758,7 +12028,7 @@ const UdpSwatchPicker = class {
|
|
|
11758
12028
|
const gridStyle = this.layout === 'grid' ? { '--grid-columns': Math.min(this.gridColumns, 8).toString() } : {};
|
|
11759
12029
|
const hasError = !!this.error;
|
|
11760
12030
|
const message = this.error || this.hint;
|
|
11761
|
-
return (index.h(index.Host, { key: '
|
|
12031
|
+
return (index.h(index.Host, { key: '785eb210f3aa5f158c451d8e2746fb9403293459' }, index.h("fluent-field", { key: 'e1bf938f51d949f04f25e853d89df991fe72fe19', class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-label", { key: '4687efd8c524a41a430cc79f31c237b45d30b06d', required: this.required, disabled: this.disabled, slot: "label" }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '3b58a7ae6023fdcb4cb03642dee9e71c22023ed6', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: '4e51919c1fe89cc0a47d6dd7ffca6335ba36947d', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("div", { key: '390886c2227646b62434d00f7a5e4d6245fb0753', slot: "input", class: containerClasses, role: "radiogroup", "aria-label": "Color picker", style: gridStyle }, this.swatches.map((swatch, index) => this.renderSwatch(swatch, index))), index.h("udp-text", { key: '4c663f84a4793c9fb7e0b951575314d3bb6c38b6', slot: "message", variant: "caption1", class: {
|
|
11762
12032
|
message: true,
|
|
11763
12033
|
error: hasError,
|
|
11764
12034
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -11810,9 +12080,8 @@ const UdpTabPanel = class {
|
|
|
11810
12080
|
}
|
|
11811
12081
|
render() {
|
|
11812
12082
|
const isActive = this.activeTabId === this.id;
|
|
11813
|
-
return (index.h(index.Host, { key: '
|
|
12083
|
+
return (index.h(index.Host, { key: 'b92e6acb25e0968a8bd6340a8bc3430917f1cb57', role: "tabpanel", "aria-labelledby": this.id, "aria-hidden": !isActive ? 'true' : 'false', hidden: !isActive }, index.h("slot", { key: 'd82569c36656d3adb7976f8a075e629a13a37bdf' })));
|
|
11814
12084
|
}
|
|
11815
|
-
static get delegatesFocus() { return true; }
|
|
11816
12085
|
};
|
|
11817
12086
|
UdpTabPanel.style = udpTabPanelCss();
|
|
11818
12087
|
|
|
@@ -11874,7 +12143,7 @@ const UdpText = class {
|
|
|
11874
12143
|
.join(' ');
|
|
11875
12144
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11876
12145
|
const Tag = finalAs;
|
|
11877
|
-
return (index.h(index.Host, { key: '
|
|
12146
|
+
return (index.h(index.Host, { key: '347d98cd2e6d7cd88905811d7dd7fd8cbb4d1d53', class: classNames }, index.h(Tag, { key: '20851998bd4b60830ff6f6e0036b546fa42bf2ac' }, index.h("slot", { key: '9a39b2203132fa1318646e645f169c799bff8f2b' }))));
|
|
11878
12147
|
}
|
|
11879
12148
|
};
|
|
11880
12149
|
UdpText.style = udpTextCss();
|
|
@@ -11945,11 +12214,11 @@ const UdpTextarea = class {
|
|
|
11945
12214
|
render() {
|
|
11946
12215
|
const hasError = !!this.error;
|
|
11947
12216
|
const message = this.error || this.hint;
|
|
11948
|
-
return (index.h(index.Host, { key: '
|
|
12217
|
+
return (index.h(index.Host, { key: '4b41fcbde66314bceed2d33b4d5af866b1f887ca', class: { 'has-error': hasError } }, index.h("fluent-field", { key: '25879d043c2105a7459c45064cafc3c4d781de2c', class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-textarea", { key: 'b40d7a8513d68d2fdb9b38bdc44d3dcd4db24b39', ref: el => (this.internalInput = el), slot: "input", name: this.name, value: this.value, placeholder: this.placeholder, required: this.required, disabled: this.disabled, readonly: this.readonly, autofocus: this.autofocus, spellcheck: this.spellcheck ? 'true' : 'false', appearance: this.appearance, resize: this.resize, maxlength: this.maxLength, autoResize: this.autoResize, size: this.controlSize, displayShadow: true,
|
|
11949
12218
|
// Events
|
|
11950
12219
|
onInput: this.handleInput, onBlur: () => this.inputBlur.emit(), onFocus: () => this.inputFocus.emit(),
|
|
11951
12220
|
// Suppress native invalid popup
|
|
11952
|
-
onInvalid: (e) => e.preventDefault() }), index.h("fluent-label", { key: '
|
|
12221
|
+
onInvalid: (e) => e.preventDefault() }), index.h("fluent-label", { key: '488511db2377de70de7fcf067abc6864abe59a6c', slot: "label", disabled: this.disabled }, this.label, this.popupHint && (index.h("udp-tooltip", { key: 'ef0c8e4030c859cb8b1ee0bd0f350e69be04c854', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: 'e4622400eb639e20af2470025e5cd29664b95caa', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("udp-text", { key: '90e52126e5a7b3e0172df6c67ad61bf4194d660d', slot: "message", variant: "caption1", class: {
|
|
11953
12222
|
message: true,
|
|
11954
12223
|
error: hasError,
|
|
11955
12224
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -12003,7 +12272,12 @@ const UdpTimeInput = class {
|
|
|
12003
12272
|
};
|
|
12004
12273
|
this.handleFocus = () => {
|
|
12005
12274
|
if (this.inputValue) {
|
|
12006
|
-
|
|
12275
|
+
// Only while still focused: select() focuses the input, so a deferred one after a quick Tab-out would pull focus back.
|
|
12276
|
+
setTimeout(() => {
|
|
12277
|
+
const input = this.getInputElement();
|
|
12278
|
+
if (input === null || input === void 0 ? void 0 : input.matches(':focus'))
|
|
12279
|
+
input.select();
|
|
12280
|
+
}, 0);
|
|
12007
12281
|
}
|
|
12008
12282
|
// Highlight the best match or closest time to now
|
|
12009
12283
|
if (this.value) {
|
|
@@ -12429,7 +12703,7 @@ const UdpTimeInput = class {
|
|
|
12429
12703
|
const effectiveError = this.internalError || this.error;
|
|
12430
12704
|
const hasError = !!effectiveError;
|
|
12431
12705
|
const message = effectiveError || this.hint;
|
|
12432
|
-
return (index.h(index.Host, { key: '
|
|
12706
|
+
return (index.h(index.Host, { key: '5b7be0c4736a2d9c79deeb4990d52512fdb6c412', class: { 'has-error': hasError } }, index.h("fluent-field", { key: '11a026d7977f7a6fe855b291f50e513c0dd84bf9', class: { 'no-message': !message && !this.includeErrorPadding } }, index.h("udp-popover", { key: '3096bfdee1b7f39524afbf0065f8c0daa6cbadf3', slot: "input", open: this.isOpen, position: "bottom-start", toggleOnTriggerClick: false, matchTriggerWidth: true, onPopoverClose: this.handlePopoverClose }, index.h("fluent-text-input", { key: '591aa7467003318c87a9a9b7f3158e55a031fa4a', slot: "trigger", ref: el => (this.internalInput = el), class: { 'no-label': !this.label }, value: this.inputValue, name: this.name, autocomplete: "off", placeholder: this.placeholder, disabled: this.disabled, appearance: this.appearance, controlSize: this.controlSize, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, onClick: this.handleInputClick }, index.h("fluent-label", { key: '528443f773ccdf1616fc1a23b4f345a93da48b16', required: this.required, disabled: this.disabled, onMouseDown: this.handleLabelMouseDown }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '913d3e322e33046842267e4be933aedd386ff449', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: 'a1326f1a498714b99e0c913a865501aee1dcc570', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("div", { key: 'c8d59622bd5227d0e7458e69cddf9aff98b274d7', slot: "end" }, index.h("udp-fluent-icon-button", { key: '7b36389429fa6aa36beee5100c7eb377ce9a3073', appearance: "transparent", iconName: "clock", disabled: this.disabled, tabindex: -1, onMouseDown: this.handleIconMouseDown, onClick: this.handleIconClick }))), index.h("div", { key: '96c83a3dd1ac0e41083329308bf88c263622f6ba', slot: "content", class: "listbox-container" }, index.h("fluent-listbox", { key: 'b0e08a8eeb7fe5b98eab9a9e74b008cad929e8f8' }, this.timeOptions.map((option, index$1) => (index.h("fluent-option", { key: option.value, value: option.value, class: { active: index$1 === this.activeIndex }, onClick: () => this.handleOptionClick(option) }, index.h("span", { slot: "checked-indicator" }), option.label)))))), index.h("udp-text", { key: '87f5afde2ba91e51e59073f43f5b9536e7dc1a7b', slot: "message", variant: "caption1", class: {
|
|
12433
12707
|
message: true,
|
|
12434
12708
|
error: hasError,
|
|
12435
12709
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -12477,13 +12751,13 @@ const UdpTooltip = class {
|
|
|
12477
12751
|
render() {
|
|
12478
12752
|
// A stable, internal ID is safe because it is scoped to this Shadow Root
|
|
12479
12753
|
const anchorId = 'internal-anchor';
|
|
12480
|
-
return (index.h(index.Host, { key: '
|
|
12754
|
+
return (index.h(index.Host, { key: '10fa91d75d46688461e4d78fd0b04d1f603e0043' }, index.h("div", { key: 'b516586dbabaf94313bf9ee3b8263cefef9fe033', id: anchorId, onFocusin: (e) => {
|
|
12481
12755
|
var _a, _b;
|
|
12482
12756
|
// Only show on keyboard-driven focus, not pointer clicks or programmatic focus restoration
|
|
12483
12757
|
if ((_a = e.target) === null || _a === void 0 ? void 0 : _a.matches(':focus-visible')) {
|
|
12484
12758
|
(_b = this.tooltipRef) === null || _b === void 0 ? void 0 : _b.showTooltip(0);
|
|
12485
12759
|
}
|
|
12486
|
-
}, onFocusout: () => { var _a; return (_a = this.tooltipRef) === null || _a === void 0 ? void 0 : _a.hideTooltip(0); } }, index.h("slot", { key: '
|
|
12760
|
+
}, onFocusout: () => { var _a; return (_a = this.tooltipRef) === null || _a === void 0 ? void 0 : _a.hideTooltip(0); } }, index.h("slot", { key: '4b0b9954e5df3067f5ab4d1f418872fe409ffe1d' })), index.h("fluent-tooltip", { key: '7c63944fd27f3064baa5e9262c63511158bf65b5', ref: el => (this.tooltipRef = el), anchor: anchorId, delay: this.delay, positioning: this.positioning }, this.content)));
|
|
12487
12761
|
}
|
|
12488
12762
|
};
|
|
12489
12763
|
UdpTooltip.style = udpTooltipCss();
|
|
@@ -12938,7 +13212,7 @@ const UdpTree = class {
|
|
|
12938
13212
|
});
|
|
12939
13213
|
}
|
|
12940
13214
|
render() {
|
|
12941
|
-
return (index.h(index.Host, { key: '
|
|
13215
|
+
return (index.h(index.Host, { key: '0a318146956b93a0351c217a1077951558517898' }, index.h("fluent-tree", { key: '3e32ca46c9c79203ca7bee354d8257322758b51e', class: {
|
|
12942
13216
|
'interaction-button': this.interaction === 'button',
|
|
12943
13217
|
collapsible: this.collapsible,
|
|
12944
13218
|
multiselect: this.selectionMode === 'multiselect',
|
|
@@ -13041,6 +13315,7 @@ exports.udp_fluent_dropdown = UdpFluentDropdown;
|
|
|
13041
13315
|
exports.udp_fluent_icon = UdpFluentIcon;
|
|
13042
13316
|
exports.udp_fluent_icon_button = UdpFluentIconButton;
|
|
13043
13317
|
exports.udp_fluent_menu = UdpFluentMenu;
|
|
13318
|
+
exports.udp_fluent_number_input = UdpFluentNumberInput;
|
|
13044
13319
|
exports.udp_fluent_radio_group = UdpFluentRadioGroup;
|
|
13045
13320
|
exports.udp_fluent_switch = UdpFluentSwitch;
|
|
13046
13321
|
exports.udp_fluent_tablist = UdpFluentTablist;
|