udp-stencil-component-library 26.9.0-beta.2 → 26.9.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{SearchBuilder-CyR7DyPc.js → SearchBuilder-Ca9_ur9o.js} +1 -1
- package/dist/cjs/add-map-feature-popup_4.cjs.entry.js +8 -8
- package/dist/cjs/address-search_6.cjs.entry.js +19 -19
- package/dist/cjs/advanced-search_12.cjs.entry.js +20 -20
- package/dist/cjs/{ag-grid-base_65.cjs.entry.js → ag-grid-base_66.cjs.entry.js} +458 -183
- package/dist/cjs/ambient-template-grid.cjs.entry.js +20 -20
- package/dist/cjs/api-method-instance-grid.cjs.entry.js +11 -10
- package/dist/cjs/{apiMethodInstance-D65NIw8S.js → apiMethodInstance-DTeNcmNq.js} +3 -32
- package/dist/cjs/{apiUtils-0pkNuvqf.js → apiUtils-tzjwn5aw.js} +29 -28
- package/dist/cjs/app-bar.cjs.entry.js +1 -1
- package/dist/cjs/{catalog-store-B_YMkXRh.js → catalog-store-CzG8hINB.js} +1 -1
- package/dist/cjs/chart-container_3.cjs.entry.js +2 -2
- package/dist/cjs/check-box.cjs.entry.js +2 -2
- package/dist/cjs/chip-section.cjs.entry.js +2 -2
- package/dist/cjs/{codecs-ClSB_OaD.js → codecs-Dyka7kpz.js} +407 -7
- package/dist/cjs/{configService-N6ke1_s4.js → configService-DbfLqId2.js} +2 -6
- package/dist/cjs/{configureUdpColumnMods-BT7UbQPh.js → configureUdpColumnMods-Cqxn_OaF.js} +23 -7
- package/dist/cjs/convertBackendTypeToAgGridType-CZEQIj7A.js +33 -0
- package/dist/cjs/{createAzureMapsProviders-b1fKbjhG.js → createAzureMapsProviders-CURScysk.js} +14 -0
- package/dist/cjs/custom-button.cjs.entry.js +1 -1
- package/dist/cjs/date-time-renderer_9.cjs.entry.js +21 -21
- package/dist/cjs/domain-table-snapshot-DXs9ceFE.js +339 -0
- package/dist/cjs/extraFields-CNvT2Qyf.js +109 -0
- package/dist/cjs/extraFieldsHelper-Clk9u_FW.js +211 -0
- package/dist/cjs/feature-details-card_2.cjs.entry.js +5 -5
- package/dist/cjs/file-upload_2.cjs.entry.js +7 -7
- package/dist/cjs/filter-conditions_7.cjs.entry.js +7 -7
- package/dist/cjs/{fluent-icons-DLY_DCOh.js → fluent-icons-Cs6J6uVm.js} +20 -0
- package/dist/cjs/form-metadata-display_2.cjs.entry.js +3 -3
- package/dist/cjs/getCurrentApiCatalogId-D7xHCEzs.js +7 -0
- package/dist/cjs/icon-grid.cjs.entry.js +2 -2
- package/dist/cjs/image-upload_8.cjs.entry.js +7 -7
- package/dist/cjs/index-CZB9dMeB.js +12 -8
- package/dist/cjs/index.cjs.js +26 -23
- package/dist/cjs/{load-icons-BAAH3v1o.js → load-icons-JeRXx4O7.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logical-search-indicator.cjs.entry.js +1 -1
- package/dist/cjs/lookupHelper-DACjrAcP.js +694 -0
- package/dist/cjs/map-component_2.cjs.entry.js +2 -2
- package/dist/cjs/primary-action-header_2.cjs.entry.js +4 -4
- package/dist/cjs/question-configs-renderer_4.cjs.entry.js +15 -15
- package/dist/cjs/resource-timeline-calendar.cjs.entry.js +1 -1
- package/dist/cjs/resource-timeline-primary-bar.cjs.entry.js +3 -3
- package/dist/cjs/rich-text-schema-Dhani4hA.js +58 -0
- package/dist/cjs/search-method-grid.cjs.entry.js +121 -264
- package/dist/cjs/server-side-grid.cjs.entry.js +85 -3
- package/dist/cjs/side-sheet-container.cjs.entry.js +1 -1
- package/dist/cjs/simple-card.cjs.entry.js +1 -1
- package/dist/cjs/status-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/{status-renderer-9CQ-hhq8.js → status-renderer-be4boc5r.js} +83 -55
- package/dist/cjs/stencil-chip.cjs.entry.js +2 -2
- package/dist/cjs/stencil-library.cjs.js +1 -1
- package/dist/cjs/stencil-toggle.cjs.entry.js +4 -4
- package/dist/cjs/text-field_2.cjs.entry.js +7 -7
- package/dist/cjs/udp-adornment.cjs.entry.js +1 -1
- package/dist/cjs/udp-advanced-search-builder.cjs.entry.js +102 -5
- package/dist/cjs/udp-advanced-search-field-picker_3.cjs.entry.js +3 -3
- package/dist/cjs/udp-ag-area-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-bar-chart_4.cjs.entry.js +5 -5
- package/dist/cjs/udp-ag-bubble-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-combo-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-donut-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-line-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-pie-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-ag-scatter-chart.cjs.entry.js +2 -2
- package/dist/cjs/udp-attachment-item_2.cjs.entry.js +1 -1
- package/dist/cjs/udp-attachment-list.cjs.entry.js +1 -1
- package/dist/cjs/udp-bar-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-base.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-day.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-month.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-week.cjs.entry.js +1 -1
- package/dist/cjs/udp-calendar-year.cjs.entry.js +1 -1
- package/dist/cjs/udp-card-action-area.cjs.entry.js +1 -1
- package/dist/cjs/udp-card_6.cjs.entry.js +7 -7
- package/dist/cjs/udp-charts-example.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query-grid.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query.cjs.entry.js +2 -2
- package/dist/cjs/udp-container.cjs.entry.js +2 -2
- package/dist/cjs/{udp-detail-list_9.cjs.entry.js → udp-detail-list_10.cjs.entry.js} +606 -73
- package/dist/cjs/{udp-drive-utils-DM1l6XMm.js → udp-drive-utils-BuTLI35n.js} +1 -1
- package/dist/cjs/udp-dynamic-container-with-menu.cjs.entry.js +1 -1
- package/dist/cjs/udp-dynamic-form.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-icon-picker.cjs.entry.js +2 -2
- package/dist/cjs/udp-fluent-inline-edit_5.cjs.entry.js +494 -45
- package/dist/cjs/udp-fluent-link.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-list-item_2.cjs.entry.js +3 -3
- package/dist/cjs/{udp-form-api-utils-zMPk_IT1.js → udp-form-api-utils-ZY88igvH.js} +1 -1
- package/dist/cjs/udp-forms-builder-style-override.cjs.entry.js +1 -1
- package/dist/cjs/udp-forms-builder.cjs.entry.js +1 -1
- package/dist/cjs/udp-forms-follow-up-list-card.cjs.entry.js +2 -2
- package/dist/cjs/udp-forms-list-card.cjs.entry.js +4 -4
- package/dist/cjs/udp-forms-list.cjs.entry.js +3 -3
- package/dist/cjs/udp-forms-renderer.cjs.entry.js +4 -4
- package/dist/cjs/udp-import-sheet.cjs.entry.js +244 -0
- package/dist/cjs/udp-kpi-card.cjs.entry.js +1 -1
- package/dist/cjs/udp-kpi-cards.cjs.entry.js +2 -2
- package/dist/cjs/udp-map.cjs.entry.js +3 -3
- package/dist/cjs/udp-menu.cjs.entry.js +1 -1
- package/dist/cjs/udp-page.cjs.entry.js +1 -1
- package/dist/cjs/udp-question-form-builder.cjs.entry.js +35 -258
- package/dist/cjs/udp-rich-text-field.cjs.entry.js +28 -53
- package/dist/cjs/udp-rich-text.cjs.entry.js +61 -0
- package/dist/cjs/udp-sankey-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-sidebar-layout.cjs.entry.js +3 -3
- package/dist/cjs/udp-skeleton-loading.cjs.entry.js +1 -1
- package/dist/cjs/udp-split-screen.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-actions.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-content.cjs.entry.js +2 -2
- package/dist/cjs/udp-stepper-demo.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-nav.cjs.entry.js +1 -1
- package/dist/cjs/udp-tab.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-connector.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-dot.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/udp-timeline-separator.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline-connector.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline-dot.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/udp-vertical-timeline-separator.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-timeline.cjs.entry.js +1 -1
- package/dist/cjs/udp-xy-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-xy-multi-series-chart.cjs.entry.js +1 -1
- package/dist/cjs/valueFormatters-CUoOypK3.js +17 -0
- package/dist/collection/__mocks__/jest-setup.js +3 -0
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/advanced-search/advanced-search-grouped.js +2 -2
- package/dist/collection/components/advanced-search/advanced-search.js +2 -2
- package/dist/collection/components/advanced-search/filter-conditions/filter-conditions.js +1 -1
- package/dist/collection/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.js +1 -1
- package/dist/collection/components/advanced-search-builder/field-picker/field-picker.js +1 -1
- package/dist/collection/components/advanced-search-builder/field-picker-tree/field-picker-tree.js +2 -2
- package/dist/collection/components/advanced-search-builder/udp-advanced-search-builder.js +125 -2
- package/dist/collection/components/attachment-list/udp-attachment-list.js +1 -1
- package/dist/collection/components/buttons/icon-button/function-button/udp-function-button.js +1 -1
- package/dist/collection/components/buttons/icon-button/primary-button/custom-button.js +1 -1
- package/dist/collection/components/buttons/icon-button/radio-button/udp-radio-button.js +1 -1
- package/dist/collection/components/buttons/udp-button/udp-button.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-base.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-day.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-month.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-week.js +1 -1
- package/dist/collection/components/calendar/udp-calendar-year.js +1 -1
- package/dist/collection/components/charts/chart-kpi/chart-kpi.js +1 -1
- package/dist/collection/components/charts/udp-ag-area-chart/udp-ag-area-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-bar-chart/udp-ag-bar-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-bubble-chart/udp-ag-bubble-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-combo-chart/udp-ag-combo-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-donut-chart/udp-ag-donut-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-line-chart/udp-ag-line-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-pie-chart/udp-ag-pie-chart.js +2 -2
- package/dist/collection/components/charts/udp-ag-scatter-chart/udp-ag-scatter-chart.js +2 -2
- package/dist/collection/components/charts/udp-bar-chart/udp-bar-chart.js +1 -1
- package/dist/collection/components/charts/udp-charts-example.js +1 -1
- package/dist/collection/components/charts/udp-distribution-chart/udp-distribution-chart.js +1 -1
- package/dist/collection/components/charts/udp-donut-chart/udp-donut-chart.js +1 -1
- package/dist/collection/components/charts/udp-line-chart/udp-line-chart.js +1 -1
- package/dist/collection/components/charts/udp-sankey-chart/udp-sankey-chart.js +1 -1
- package/dist/collection/components/charts/udp-xy-chart/udp-xy-chart.js +1 -1
- package/dist/collection/components/charts/udp-xy-multi-series-chart/udp-xy-multi-series-chart.js +1 -1
- package/dist/collection/components/data-display/adornment/udp-adornment/udp-adornment.js +1 -1
- package/dist/collection/components/data-display/badge/udp-badge.js +1 -1
- package/dist/collection/components/data-display/cards/udp-ambient-card/udp-ambient-card.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-content/udp-card-content.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-header/udp-card-header.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-media/udp-card-media.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card.js +3 -3
- package/dist/collection/components/data-display/chips/stencil-chip/status-chip/status-chip.js +1 -1
- package/dist/collection/components/data-display/chips/stencil-chip/stencil-chip.js +2 -2
- package/dist/collection/components/data-display/chips/udp-chip.js +1 -1
- package/dist/collection/components/data-display/detail-list-item/udp-detail-list-item.js +1 -1
- package/dist/collection/components/data-display/divider/udp-divider.js +1 -1
- package/dist/collection/components/data-display/empty-state-display/udp-empty-state-display.js +1 -1
- package/dist/collection/components/data-display/headers/udp-column-header.js +1 -1
- package/dist/collection/components/data-display/headers/udp-page-header/udp-page-header.js +1 -1
- package/dist/collection/components/data-display/hint-panel/hint-panel.js +1 -1
- package/dist/collection/components/data-display/kpi/kpi-list.js +1 -1
- package/dist/collection/components/data-display/kpi/udp-kpi-card.js +1 -1
- package/dist/collection/components/data-display/kpi/udp-kpi-cards.js +2 -2
- package/dist/collection/components/data-display/list-item/list-item.js +2 -2
- package/dist/collection/components/data-display/pop-over/udp-pop-over.js +1 -1
- package/dist/collection/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js +1 -1
- package/dist/collection/components/data-display/primary-action-header/primary-action-header.js +2 -2
- package/dist/collection/components/data-display/simple-card/simple-card.js +1 -1
- package/dist/collection/components/data-display/tool-tip/udp-ambient-tool-tip.js +2 -2
- package/dist/collection/components/data-display/tree/tree-list-item/search-item/search-list-item.js +1 -1
- package/dist/collection/components/data-display/udp-avatar/udp-avatar.js +1 -1
- package/dist/collection/components/dialogs/udp-dialog.js +1 -1
- package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.js +9 -9
- package/dist/collection/components/export/udp-export-sheet/udp-export-sheet.css +0 -1
- package/dist/collection/components/export/udp-export-sheet/udp-export-sheet.js +10 -5
- package/dist/collection/components/feedback/udp-notification/alerts/upd-alert-banner.js +1 -1
- package/dist/collection/components/feedback/udp-notification/udp-notification.js +2 -2
- package/dist/collection/components/fluent-ui/autocomplete/udp-autocomplete.js +8 -8
- package/dist/collection/components/fluent-ui/avatar/udp-fluent-avatar.js +1 -1
- package/dist/collection/components/fluent-ui/badge/udp-fluent-badge.js +1 -1
- package/dist/collection/components/fluent-ui/button/udp-fluent-button.css +10 -0
- package/dist/collection/components/fluent-ui/button/udp-fluent-button.js +26 -1
- package/dist/collection/components/fluent-ui/card/udp-fluent-card.js +3 -3
- package/dist/collection/components/fluent-ui/checkbox/udp-fluent-checkbox.js +1 -1
- package/dist/collection/components/fluent-ui/compound-button/udp-compound-button.js +1 -1
- package/dist/collection/components/fluent-ui/counter-badge/udp-fluent-counter-badge.js +1 -1
- package/dist/collection/components/fluent-ui/date-time-input/udp-date-time-input.js +1 -1
- package/dist/collection/components/fluent-ui/dialog/udp-fluent-dialog.js +1 -1
- package/dist/collection/components/fluent-ui/divider/udp-fluent-divider.js +1 -1
- package/dist/collection/components/fluent-ui/domain-table-input/domain-table-snapshot.js +78 -0
- package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.css +67 -0
- package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.js +871 -0
- package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.types.js +1 -0
- package/dist/collection/components/fluent-ui/drawer/udp-fluent-drawer.css +4 -0
- package/dist/collection/components/fluent-ui/drawer/udp-fluent-drawer.js +26 -1
- package/dist/collection/components/fluent-ui/dropdown/udp-fluent-dropdown.js +28 -10
- package/dist/collection/components/fluent-ui/empty-state/udp-empty-state.js +1 -1
- package/dist/collection/components/fluent-ui/file-input/udp-fluent-file-input.js +4 -4
- package/dist/collection/components/fluent-ui/icon/icon-grid/icon-grid.js +1 -1
- package/dist/collection/components/fluent-ui/icon/udp-fluent-icon.js +1 -1
- package/dist/collection/components/fluent-ui/icon-picker/udp-fluent-icon-picker.js +2 -2
- package/dist/collection/components/fluent-ui/image/udp-fluent-image.js +1 -1
- package/dist/collection/components/fluent-ui/inline-edit/udp-fluent-inline-edit.js +2 -2
- package/dist/collection/components/fluent-ui/link/udp-fluent-link.js +1 -1
- package/dist/collection/components/fluent-ui/list/udp-list.js +1 -1
- package/dist/collection/components/fluent-ui/list-input/udp-fluent-list-input.js +1 -1
- package/dist/collection/components/fluent-ui/list-item/udp-list-item.js +2 -2
- package/dist/collection/components/fluent-ui/location-input/udp-fluent-location-input.js +3 -3
- package/dist/collection/components/fluent-ui/menu/udp-fluent-menu.js +2 -2
- package/dist/collection/components/fluent-ui/message-bar/udp-message-bar.js +1 -1
- package/dist/collection/components/fluent-ui/number-input/udp-fluent-number-input.js +1 -1
- package/dist/collection/components/fluent-ui/popover/udp-popover.js +4 -4
- package/dist/collection/components/fluent-ui/progress-bar/udp-progress-bar.js +1 -1
- package/dist/collection/components/fluent-ui/radio-group/udp-fluent-radio-group.js +21 -8
- package/dist/collection/components/fluent-ui/rich-text/udp-rich-text.css +9 -0
- package/dist/collection/components/fluent-ui/rich-text/udp-rich-text.js +81 -0
- package/dist/collection/components/fluent-ui/rich-text-field/rich-text-content.css +97 -0
- package/dist/collection/components/fluent-ui/rich-text-field/rich-text-schema.js +39 -0
- package/dist/collection/components/fluent-ui/rich-text-field/udp-rich-text-field.css +1 -92
- package/dist/collection/components/fluent-ui/rich-text-field/udp-rich-text-field.js +12 -39
- package/dist/collection/components/fluent-ui/search-input/udp-search-input.css +6 -0
- package/dist/collection/components/fluent-ui/search-input/udp-search-input.js +3 -3
- package/dist/collection/components/fluent-ui/signature-input/udp-fluent-signature-input.js +4 -4
- package/dist/collection/components/fluent-ui/slider/udp-slider.js +1 -1
- package/dist/collection/components/fluent-ui/spinner/udp-spinner.js +1 -1
- package/dist/collection/components/fluent-ui/swatch-picker/udp-swatch-picker.js +1 -1
- package/dist/collection/components/fluent-ui/switch/udp-fluent-switch.js +1 -1
- package/dist/collection/components/fluent-ui/table-input/table-aggregates.js +57 -0
- package/dist/collection/components/fluent-ui/table-input/udp-fluent-table-input.js +12 -56
- package/dist/collection/components/fluent-ui/tablist/udp-fluent-tablist.js +13 -2
- package/dist/collection/components/fluent-ui/text/udp-text.js +1 -1
- package/dist/collection/components/fluent-ui/text-input/udp-fluent-text-input.js +2 -2
- package/dist/collection/components/fluent-ui/textarea/udp-textarea.js +2 -2
- package/dist/collection/components/fluent-ui/time-input/udp-time-input.js +7 -2
- package/dist/collection/components/fluent-ui/toggle-button/udp-fluent-toggle-button.js +1 -1
- package/dist/collection/components/fluent-ui/tooltip/udp-tooltip.js +2 -2
- package/dist/collection/components/fluent-ui/tree/udp-tree.js +1 -1
- package/dist/collection/components/forms/dynamic-form/udp-dynamic-form.js +1 -1
- package/dist/collection/components/forms/edit-view-form/edit-view-form.js +2 -2
- package/dist/collection/components/forms/form/stencil-form.js +1 -1
- package/dist/collection/components/forms/save-view-form/save-view-form.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-question-item/udp-forms-builder-question-item.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.js +4 -4
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.js +3 -3
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js +3 -3
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/location-renderer/location-renderer.js +6 -6
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js +7 -7
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/section-configs-renderer/section-configs-renderer.js +4 -4
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/table-columns-renderer/table-columns-renderer.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-menu/udp-forms-builder-menu.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-style-override/udp-forms-builder-style-override.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js +4 -4
- package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-follow-up-list-card/udp-forms-follow-up-list-card.js +2 -2
- package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js +1 -1
- package/dist/collection/components/forms/udp-forms/udp-question/table-input/table-input.js +1 -1
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/table-domain.fixtures.js +200 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/configure-question-drawer.js +7 -1
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/DomainTableConfig.js +309 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/TableConfig.js +32 -1
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.css +50 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.js +33 -3
- package/dist/collection/components/forms/udp-question-form/builder/udp-question-form-builder.js +7 -1
- package/dist/collection/components/forms/udp-question-form/builder/utils/builder-api.js +85 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.js +9 -1
- package/dist/collection/components/forms/udp-question-form/core/field-properties.js +6 -1
- package/dist/collection/components/forms/udp-question-form/core/validation/intrinsic.js +52 -3
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/codecs.js +10 -4
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/domain-table-snapshot.js +50 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/index.js +1 -0
- package/dist/collection/components/forms/udp-question-form/renderer/udp-question-form-renderer.js +62 -16
- package/dist/collection/components/forms/udp-question-form/renderer/ui/adapters/udp-question-tally-adapter.js +1 -1
- package/dist/collection/components/forms/udp-question-form/renderer/ui/form-shell.js +2 -1
- package/dist/collection/components/forms/udp-question-form/renderer/ui/question-renderer.js +7 -3
- package/dist/collection/components/forms/udp-question-form/renderer/ui/question-view-renderer.js +17 -11
- package/dist/collection/components/forms/udp-question-form/version-drawer/udp-form-version-drawer.js +1 -1
- package/dist/collection/components/grid/ambient-template-grid/ambient-template-grid.js +16 -16
- package/dist/collection/components/grid/grid-primary-bar/grid-primary-bar.js +2 -2
- package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +1 -1
- package/dist/collection/components/grid/new-grid/ag-grid-base.css +7 -0
- package/dist/collection/components/grid/new-grid/ag-grid-base.js +13 -4
- package/dist/collection/components/grid/new-grid/api-method-instance-grid.js +27 -3
- package/dist/collection/components/grid/new-grid/client-side-grid.js +2 -2
- package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js +20 -6
- package/dist/collection/components/grid/new-grid/gridFunctions/advancedSearch.js +3 -2
- package/dist/collection/components/grid/new-grid/gridFunctions/savedViews.js +7 -5
- package/dist/collection/components/grid/new-grid/gridFunctions/udpExport.js +12 -1
- package/dist/collection/components/grid/new-grid/helperFunctions/buildSearchObject.js +17 -16
- package/dist/collection/components/grid/new-grid/helperFunctions/configureUdpColumnMods.js +23 -7
- package/dist/collection/components/grid/new-grid/helperFunctions/domainRowsHelper.js +177 -0
- package/dist/collection/components/grid/new-grid/helperFunctions/extraFieldsHelper.js +203 -0
- package/dist/collection/components/grid/new-grid/helperFunctions/lookupHelper.js +256 -16
- package/dist/collection/components/grid/new-grid/search-method-grid.js +124 -11
- package/dist/collection/components/grid/new-grid/server-side-grid.js +107 -4
- package/dist/collection/components/grid/renderers/actions-renderer.js +83 -55
- package/dist/collection/components/grid/renderers/input-renderer.js +66 -0
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js +1 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +3 -3
- package/dist/collection/components/import/udp-import-sheet/udp-import-sheet.css +38 -0
- package/dist/collection/components/import/udp-import-sheet/udp-import-sheet.js +425 -0
- package/dist/collection/components/inputs/address-search/address-search.js +3 -3
- package/dist/collection/components/inputs/checkbox/check-box.js +2 -2
- package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js +2 -2
- package/dist/collection/components/inputs/date-selector/udp-date-selector.js +3 -3
- package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +3 -3
- package/dist/collection/components/inputs/file-upload/file-upload.js +4 -4
- package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +1 -1
- package/dist/collection/components/inputs/image-upload/image-upload.js +1 -1
- package/dist/collection/components/inputs/numeric-field/numeric-field.js +3 -3
- package/dist/collection/components/inputs/signature-input/signature-input.js +2 -2
- package/dist/collection/components/inputs/tally/tally.js +2 -2
- package/dist/collection/components/inputs/text-area/text-area.js +3 -3
- package/dist/collection/components/inputs/text-field/text-field.js +3 -3
- package/dist/collection/components/inputs/time-selector/udp-time-selector.js +3 -3
- package/dist/collection/components/inputs/toggle/stencil-toggle.js +4 -4
- package/dist/collection/components/inputs/udp-selector/udp-selector.js +4 -4
- package/dist/collection/components/layout/primary-action-header/udp-primary-action-header.js +1 -1
- package/dist/collection/components/layout/udp-container/udp-container.js +2 -2
- package/dist/collection/components/layout/udp-container-query/udp-container-query.js +2 -2
- package/dist/collection/components/layout/udp-container-query-grid/udp-container-query-grid.js +1 -1
- package/dist/collection/components/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +1 -1
- package/dist/collection/components/layout/udp-page/udp-page.js +1 -1
- package/dist/collection/components/layout/udp-sidebar-layout/udp-sidebar-layout.js +3 -3
- package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js +1 -1
- package/dist/collection/components/layout/udp-vertical-spacer.js +1 -1
- package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js +2 -2
- package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +1 -1
- package/dist/collection/components/loaders/udp-skeleton-loading.js +1 -1
- package/dist/collection/components/map/udp-map/map-component.js +1 -1
- package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js +3 -3
- package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -4
- package/dist/collection/components/map/udp-map/popups/feature-details-popup.js +1 -1
- package/dist/collection/components/map/udp-map/popups/select-layer-popup.js +2 -2
- package/dist/collection/components/map/udp-map/popups/split-line-popup.js +1 -1
- package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js +2 -2
- package/dist/collection/components/map/udp-map/udp-map-toolbar.js +1 -1
- package/dist/collection/components/map/udp-map/udp-map.js +3 -3
- package/dist/collection/components/menu/menu-item/udp-menu-item.js +1 -1
- package/dist/collection/components/menu/udp-menu.js +1 -1
- package/dist/collection/components/new-form/field/udp-field.js +1 -1
- package/dist/collection/components/new-form/form/udp-form-component.js +2 -2
- package/dist/collection/components/stepper/udp-stepper-actions/udp-stepper-actions.js +1 -1
- package/dist/collection/components/stepper/udp-stepper-content/udp-stepper-content.js +2 -2
- package/dist/collection/components/stepper/udp-stepper-demo.js +1 -1
- package/dist/collection/components/stepper/udp-stepper-nav/udp-stepper-nav.js +1 -1
- package/dist/collection/components/tabs/tab/tabs/udp-tabs.js +2 -2
- package/dist/collection/components/tabs/tab/udp-tab.js +1 -1
- package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +1 -2
- package/dist/collection/components/timeline/udp-timeline-connector.js +1 -1
- package/dist/collection/components/timeline/udp-timeline-dot.js +1 -1
- package/dist/collection/components/timeline/udp-timeline-item.js +2 -2
- package/dist/collection/components/timeline/udp-timeline-separator.js +1 -1
- package/dist/collection/components/timeline/udp-timeline.js +1 -1
- package/dist/collection/components/toolbars/app-bar/app-bar.js +1 -1
- package/dist/collection/components/util/ghost-render/ghost-render.js +1 -1
- package/dist/collection/components/util/lazy-loader/udp-lazy-loader.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-connector.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-dot.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-item.js +2 -2
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline-separator.js +1 -1
- package/dist/collection/components/vertical-timeline/udp-vertical-timeline.js +1 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet-container.js +1 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet.js +1 -1
- package/dist/collection/icons/fluent-icons.js +16 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/store/execution-store.js +6 -5
- package/dist/collection/test-pages/test-components-page.js +28 -28
- package/dist/collection/test-pages/test-form.js +4 -4
- package/dist/collection/udp-utilities/api-config/configService.js +0 -4
- package/dist/collection/udp-utilities/extra-fields/extraFields.js +94 -0
- package/dist/collection/udp-utilities/extra-fields/index.js +1 -0
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -2
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -1
- package/dist/components/add-map-feature-popup2.js +1 -1
- package/dist/components/address-search2.js +1 -1
- package/dist/components/advanced-search-grouped2.js +1 -1
- package/dist/components/advanced-search2.js +1 -1
- package/dist/components/ag-grid-base2.js +1 -1
- package/dist/components/ambient-template-grid.js +1 -1
- package/dist/components/api-method-instance-grid.js +1 -1
- package/dist/components/apiMethodInstance.js +1 -1
- package/dist/components/apiUtils.js +1 -1
- package/dist/components/app-bar.js +1 -1
- package/dist/components/chart-kpi2.js +1 -1
- package/dist/components/check-box.js +1 -1
- package/dist/components/chip-section.js +1 -1
- package/dist/components/client-side-grid2.js +1 -1
- package/dist/components/configService.js +1 -1
- package/dist/components/configureUdpColumnMods.js +1 -1
- package/dist/components/convertBackendTypeToAgGridType.js +1 -0
- package/dist/components/custom-button2.js +1 -1
- package/dist/components/edit-view-form.js +1 -1
- package/dist/components/extraFields.js +1 -0
- package/dist/components/feature-details-card2.js +1 -1
- package/dist/components/feature-details-popup2.js +1 -1
- package/dist/components/field-picker-tree.js +1 -1
- package/dist/components/field-picker.js +1 -1
- package/dist/components/file-upload-renderer2.js +1 -1
- package/dist/components/file-upload2.js +1 -1
- package/dist/components/filter-conditions2.js +1 -1
- package/dist/components/fluent-icons.js +1 -1
- package/dist/components/form-metadata-display-renderer2.js +1 -1
- package/dist/components/form-metadata-display2.js +1 -1
- package/dist/components/getCachedAzureMapsProviders.js +1 -1
- package/dist/components/ghost-render2.js +1 -1
- package/dist/components/grid-primary-bar2.js +1 -1
- package/dist/components/hint-panel2.js +1 -1
- package/dist/components/icon-grid2.js +1 -1
- package/dist/components/image-upload2.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/kpi-list2.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/list-options-renderer2.js +1 -1
- package/dist/components/location-renderer2.js +1 -1
- package/dist/components/logical-search-indicator.js +1 -1
- package/dist/components/lookup.js +1 -0
- package/dist/components/map-component2.js +1 -1
- package/dist/components/map-toolbar2.js +1 -1
- package/dist/components/numeric-field2.js +1 -1
- package/dist/components/primary-action-header2.js +1 -1
- package/dist/components/question-configs-renderer2.js +1 -1
- package/dist/components/resource-timeline-calendar.js +1 -1
- package/dist/components/resource-timeline-primary-bar2.js +1 -1
- package/dist/components/rich-text-schema.js +1 -0
- package/dist/components/save-view-form.js +1 -1
- package/dist/components/search-list-item2.js +1 -1
- package/dist/components/search-method-grid2.js +1 -1
- package/dist/components/section-configs-renderer2.js +1 -1
- package/dist/components/select-layer-popup2.js +1 -1
- package/dist/components/server-side-grid2.js +1 -1
- package/dist/components/side-sheet-container2.js +1 -1
- package/dist/components/side-sheet2.js +1 -1
- package/dist/components/signature-input2.js +1 -1
- package/dist/components/signature-renderer2.js +1 -1
- package/dist/components/simple-card.js +1 -1
- package/dist/components/split-line-popup2.js +1 -1
- package/dist/components/status-chip2.js +1 -1
- package/dist/components/status-renderer.js +1 -1
- package/dist/components/stencil-chip2.js +1 -1
- package/dist/components/stencil-form2.js +1 -1
- package/dist/components/stencil-toggle2.js +1 -1
- package/dist/components/table-aggregates.js +1 -0
- package/dist/components/table-columns-renderer2.js +1 -1
- package/dist/components/table-input2.js +1 -1
- package/dist/components/tally.js +1 -1
- package/dist/components/test-components-page.js +1 -1
- package/dist/components/test-form2.js +1 -1
- package/dist/components/text-area2.js +1 -1
- package/dist/components/text-field2.js +1 -1
- package/dist/components/text-input-renderer2.js +1 -1
- package/dist/components/types.js +1 -1
- package/dist/components/udp-adornment2.js +1 -1
- package/dist/components/udp-advanced-search-builder.js +1 -1
- package/dist/components/udp-ag-area-chart.js +1 -1
- package/dist/components/udp-ag-bar-chart2.js +1 -1
- package/dist/components/udp-ag-bubble-chart.js +1 -1
- package/dist/components/udp-ag-combo-chart.js +1 -1
- package/dist/components/udp-ag-donut-chart.js +1 -1
- package/dist/components/udp-ag-line-chart.js +1 -1
- package/dist/components/udp-ag-pie-chart.js +1 -1
- package/dist/components/udp-ag-scatter-chart.js +1 -1
- package/dist/components/udp-ambient-card2.js +1 -1
- package/dist/components/udp-ambient-tool-tip2.js +1 -1
- package/dist/components/udp-attachment-list.js +1 -1
- package/dist/components/udp-autocomplete2.js +1 -1
- package/dist/components/udp-avatar2.js +1 -1
- package/dist/components/udp-badge2.js +1 -1
- package/dist/components/udp-bar-chart.js +1 -1
- package/dist/components/udp-button2.js +1 -1
- package/dist/components/udp-calendar-base2.js +1 -1
- package/dist/components/udp-calendar-day.js +1 -1
- package/dist/components/udp-calendar-month.js +1 -1
- package/dist/components/udp-calendar-week.js +1 -1
- package/dist/components/udp-calendar-year.js +1 -1
- package/dist/components/udp-card-action-area.js +1 -1
- package/dist/components/udp-card-actions2.js +1 -1
- package/dist/components/udp-card-content2.js +1 -1
- package/dist/components/udp-card-header2.js +1 -1
- package/dist/components/udp-card-media2.js +1 -1
- package/dist/components/udp-card2.js +1 -1
- package/dist/components/udp-charts-example.js +1 -1
- package/dist/components/udp-chip2.js +1 -1
- package/dist/components/udp-column-header2.js +1 -1
- package/dist/components/udp-compound-button2.js +1 -1
- package/dist/components/udp-container-query-grid-item.js +1 -1
- package/dist/components/udp-container-query-grid2.js +1 -1
- package/dist/components/udp-container-query2.js +1 -1
- package/dist/components/udp-container2.js +1 -1
- package/dist/components/udp-date-range-selector2.js +1 -1
- package/dist/components/udp-date-selector2.js +1 -1
- package/dist/components/udp-date-time-input2.js +1 -1
- package/dist/components/udp-datetime-selector2.js +1 -1
- package/dist/components/udp-detail-list-item2.js +1 -1
- package/dist/components/udp-dialog2.js +1 -1
- package/dist/components/udp-distribution-chart2.js +1 -1
- package/dist/components/udp-divider2.js +1 -1
- package/dist/components/udp-donut-chart2.js +1 -1
- package/dist/components/udp-dynamic-container-with-menu2.js +1 -1
- package/dist/components/udp-dynamic-form.js +1 -1
- package/dist/components/udp-empty-state-display2.js +1 -1
- package/dist/components/udp-empty-state2.js +1 -1
- package/dist/components/udp-export-sheet2.js +1 -1
- package/dist/components/udp-field2.js +1 -1
- package/dist/components/udp-fluent-avatar2.js +1 -1
- package/dist/components/udp-fluent-badge2.js +1 -1
- package/dist/components/udp-fluent-button2.js +1 -1
- package/dist/components/udp-fluent-card2.js +1 -1
- package/dist/components/udp-fluent-checkbox2.js +1 -1
- package/dist/components/udp-fluent-counter-badge2.js +1 -1
- package/dist/components/udp-fluent-dialog2.js +1 -1
- package/dist/components/udp-fluent-divider2.js +1 -1
- package/dist/components/udp-fluent-domain-table-input.d.ts +11 -0
- package/dist/components/udp-fluent-domain-table-input.js +2 -0
- package/dist/components/udp-fluent-domain-table-input2.js +1 -0
- package/dist/components/udp-fluent-drawer2.js +1 -1
- package/dist/components/udp-fluent-dropdown2.js +1 -1
- package/dist/components/udp-fluent-file-input2.js +1 -1
- package/dist/components/udp-fluent-icon-picker.js +1 -1
- package/dist/components/udp-fluent-icon2.js +1 -1
- package/dist/components/udp-fluent-image2.js +1 -1
- package/dist/components/udp-fluent-inline-edit2.js +1 -1
- package/dist/components/udp-fluent-link.js +1 -1
- package/dist/components/udp-fluent-list-input2.js +1 -1
- package/dist/components/udp-fluent-location-input2.js +1 -1
- package/dist/components/udp-fluent-menu2.js +1 -1
- package/dist/components/udp-fluent-number-input.js +1 -1
- package/dist/components/udp-fluent-number-input2.js +1 -0
- package/dist/components/udp-fluent-radio-group2.js +1 -1
- package/dist/components/udp-fluent-signature-input2.js +1 -1
- package/dist/components/udp-fluent-switch2.js +1 -1
- package/dist/components/udp-fluent-table-input2.js +1 -1
- package/dist/components/udp-fluent-tablist2.js +1 -1
- package/dist/components/udp-fluent-text-input2.js +1 -1
- package/dist/components/udp-fluent-toggle-button2.js +1 -1
- package/dist/components/udp-form-component2.js +1 -1
- package/dist/components/udp-form-version-drawer2.js +1 -1
- package/dist/components/udp-forms-builder-menu2.js +1 -1
- package/dist/components/udp-forms-builder-question-item2.js +1 -1
- package/dist/components/udp-forms-builder-style-override.js +1 -1
- package/dist/components/udp-forms-follow-up-list-card.js +1 -1
- package/dist/components/udp-forms-list-card2.js +1 -1
- package/dist/components/udp-forms-list.js +1 -1
- package/dist/components/udp-forms-renderer.js +1 -1
- package/dist/components/udp-forms-ui2.js +1 -1
- package/dist/components/udp-function-button2.js +1 -1
- package/dist/components/udp-grid-loader2.js +1 -1
- package/dist/components/udp-hotlist-form2.js +1 -1
- package/dist/components/udp-import-sheet.d.ts +11 -0
- package/dist/components/udp-import-sheet.js +2 -0
- package/dist/components/udp-kpi-card2.js +1 -1
- package/dist/components/udp-kpi-cards.js +1 -1
- package/dist/components/udp-lazy-loader2.js +1 -1
- package/dist/components/udp-line-chart2.js +1 -1
- package/dist/components/udp-linear-loader2.js +1 -1
- package/dist/components/udp-list-item2.js +1 -1
- package/dist/components/udp-list2.js +1 -1
- package/dist/components/udp-map-toolbar2.js +1 -1
- package/dist/components/udp-map.js +1 -1
- package/dist/components/udp-menu-item2.js +1 -1
- package/dist/components/udp-menu.js +1 -1
- package/dist/components/udp-message-bar2.js +1 -1
- package/dist/components/udp-notification2.js +1 -1
- package/dist/components/udp-page-header2.js +1 -1
- package/dist/components/udp-page.js +1 -1
- package/dist/components/udp-pop-over-grid-action-header2.js +1 -1
- package/dist/components/udp-pop-over2.js +1 -1
- package/dist/components/udp-popover2.js +1 -1
- package/dist/components/udp-primary-action-header2.js +1 -1
- package/dist/components/udp-progress-bar2.js +1 -1
- package/dist/components/udp-question-config-fluent2.js +1 -1
- package/dist/components/udp-question-form-builder.js +1 -1
- package/dist/components/udp-question-form-renderer2.js +1 -1
- package/dist/components/udp-question-tally-adapter2.js +1 -1
- package/dist/components/udp-question2.js +1 -1
- package/dist/components/udp-radio-button2.js +1 -1
- package/dist/components/udp-rich-text-field.js +1 -1
- package/dist/components/udp-rich-text.d.ts +11 -0
- package/dist/components/udp-rich-text.js +2 -0
- package/dist/components/udp-sankey-chart.js +1 -1
- package/dist/components/udp-search-input2.js +1 -1
- package/dist/components/udp-selector2.js +1 -1
- package/dist/components/udp-side-sheet2.js +1 -1
- package/dist/components/udp-sidebar-layout2.js +1 -1
- package/dist/components/udp-skeleton-loading2.js +1 -1
- package/dist/components/udp-slider2.js +1 -1
- package/dist/components/udp-spinner2.js +1 -1
- package/dist/components/udp-split-screen.js +1 -1
- package/dist/components/udp-stepper-actions.js +1 -1
- package/dist/components/udp-stepper-content.js +1 -1
- package/dist/components/udp-stepper-demo.js +1 -1
- package/dist/components/udp-stepper-nav.js +1 -1
- package/dist/components/udp-swatch-picker2.js +1 -1
- package/dist/components/udp-tab-panel2.js +1 -1
- package/dist/components/udp-tab.js +1 -1
- package/dist/components/udp-tabs2.js +1 -1
- package/dist/components/udp-text2.js +1 -1
- package/dist/components/udp-textarea2.js +1 -1
- package/dist/components/udp-time-input2.js +1 -1
- package/dist/components/udp-time-selector2.js +1 -1
- package/dist/components/udp-timeline-connector.js +1 -1
- package/dist/components/udp-timeline-dot.js +1 -1
- package/dist/components/udp-timeline-item.js +1 -1
- package/dist/components/udp-timeline-separator.js +1 -1
- package/dist/components/udp-timeline.js +1 -1
- package/dist/components/udp-tooltip2.js +1 -1
- package/dist/components/udp-tree2.js +1 -1
- package/dist/components/udp-vertical-spacer2.js +1 -1
- package/dist/components/udp-vertical-timeline-connector.js +1 -1
- package/dist/components/udp-vertical-timeline-dot.js +1 -1
- package/dist/components/udp-vertical-timeline-item.js +1 -1
- package/dist/components/udp-vertical-timeline-separator.js +1 -1
- package/dist/components/udp-vertical-timeline.js +1 -1
- package/dist/components/udp-xy-chart2.js +1 -1
- package/dist/components/udp-xy-multi-series-chart.js +1 -1
- package/dist/components/upd-alert-banner2.js +1 -1
- package/dist/docs.json +1805 -112
- package/dist/esm/{SearchBuilder-BmqrJvtz.js → SearchBuilder-BxLXFEeR.js} +1 -1
- package/dist/esm/add-map-feature-popup_4.entry.js +8 -8
- package/dist/esm/address-search_6.entry.js +19 -19
- package/dist/esm/advanced-search_12.entry.js +20 -20
- package/dist/esm/{ag-grid-base_65.entry.js → ag-grid-base_66.entry.js} +450 -176
- package/dist/esm/ambient-template-grid.entry.js +20 -20
- package/dist/esm/api-method-instance-grid.entry.js +10 -9
- package/dist/esm/{apiMethodInstance-BunReWfq.js → apiMethodInstance-qaGbXDNr.js} +2 -31
- package/dist/esm/{apiUtils-Cq-WuEqc.js → apiUtils-CXqsYwOQ.js} +29 -28
- package/dist/esm/app-bar.entry.js +1 -1
- package/dist/esm/{catalog-store-CLsDGUEl.js → catalog-store-BOpo_zaC.js} +1 -1
- package/dist/esm/chart-container_3.entry.js +2 -2
- package/dist/esm/check-box.entry.js +2 -2
- package/dist/esm/chip-section.entry.js +2 -2
- package/dist/esm/{codecs-CI_fHfY1.js → codecs-BWyrM561.js} +400 -9
- package/dist/esm/{configService-D_9j963S.js → configService-CehZzjhw.js} +0 -4
- package/dist/esm/{configureUdpColumnMods-UWccWlH6.js → configureUdpColumnMods-bMO0_--H.js} +23 -7
- package/dist/esm/convertBackendTypeToAgGridType-B8xfl_wR.js +31 -0
- package/dist/esm/{createAzureMapsProviders-CLLCmr8f.js → createAzureMapsProviders-CtQryp1H.js} +13 -1
- package/dist/esm/custom-button.entry.js +1 -1
- package/dist/esm/date-time-renderer_9.entry.js +21 -21
- package/dist/esm/domain-table-snapshot-H3o5mjFB.js +331 -0
- package/dist/esm/extraFields-Cnpy_Bm7.js +97 -0
- package/dist/esm/extraFieldsHelper-CaBMA4HJ.js +205 -0
- package/dist/esm/feature-details-card_2.entry.js +5 -5
- package/dist/esm/file-upload_2.entry.js +7 -7
- package/dist/esm/filter-conditions_7.entry.js +7 -7
- package/dist/esm/{fluent-icons-pWFJyrRm.js → fluent-icons-wRyOZqj2.js} +20 -0
- package/dist/esm/form-metadata-display_2.entry.js +3 -3
- package/dist/esm/getCurrentApiCatalogId-DeurXd9l.js +5 -0
- package/dist/esm/icon-grid.entry.js +2 -2
- package/dist/esm/image-upload_8.entry.js +7 -7
- package/dist/esm/index-15aY63VA.js +12 -8
- package/dist/esm/index.js +13 -22
- package/dist/esm/{load-icons-BHSNRRRA.js → load-icons-D2ZhiHp6.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logical-search-indicator.entry.js +1 -1
- package/dist/esm/lookupHelper-D3LSjaES.js +682 -0
- package/dist/esm/map-component_2.entry.js +2 -2
- package/dist/esm/primary-action-header_2.entry.js +4 -4
- package/dist/esm/question-configs-renderer_4.entry.js +15 -15
- package/dist/esm/resource-timeline-calendar.entry.js +1 -1
- package/dist/esm/resource-timeline-primary-bar.entry.js +3 -3
- package/dist/esm/rich-text-schema-DCUYo610.js +42 -0
- package/dist/esm/search-method-grid.entry.js +120 -263
- package/dist/esm/server-side-grid.entry.js +85 -3
- package/dist/esm/side-sheet-container.entry.js +1 -1
- package/dist/esm/simple-card.entry.js +1 -1
- package/dist/esm/status-chip_2.entry.js +2 -2
- package/dist/esm/{status-renderer-BoY7sar9.js → status-renderer-Evo0rTNU.js} +83 -55
- package/dist/esm/stencil-chip.entry.js +2 -2
- package/dist/esm/stencil-library.js +1 -1
- package/dist/esm/stencil-toggle.entry.js +4 -4
- package/dist/esm/text-field_2.entry.js +7 -7
- package/dist/esm/{types-C9Z-dgvN.js → types-NqFGtWPW.js} +1 -1
- package/dist/esm/udp-adornment.entry.js +1 -1
- package/dist/esm/udp-advanced-search-builder.entry.js +102 -5
- package/dist/esm/udp-advanced-search-field-picker_3.entry.js +3 -3
- package/dist/esm/udp-ag-area-chart.entry.js +2 -2
- package/dist/esm/udp-ag-bar-chart_4.entry.js +5 -5
- package/dist/esm/udp-ag-bubble-chart.entry.js +2 -2
- package/dist/esm/udp-ag-combo-chart.entry.js +2 -2
- package/dist/esm/udp-ag-donut-chart.entry.js +2 -2
- package/dist/esm/udp-ag-line-chart.entry.js +2 -2
- package/dist/esm/udp-ag-pie-chart.entry.js +2 -2
- package/dist/esm/udp-ag-scatter-chart.entry.js +2 -2
- package/dist/esm/udp-attachment-item_2.entry.js +1 -1
- package/dist/esm/udp-attachment-list.entry.js +1 -1
- package/dist/esm/udp-bar-chart.entry.js +1 -1
- package/dist/esm/udp-calendar-base.entry.js +1 -1
- package/dist/esm/udp-calendar-day.entry.js +1 -1
- package/dist/esm/udp-calendar-month.entry.js +1 -1
- package/dist/esm/udp-calendar-week.entry.js +1 -1
- package/dist/esm/udp-calendar-year.entry.js +1 -1
- package/dist/esm/udp-card-action-area.entry.js +1 -1
- package/dist/esm/udp-card_6.entry.js +7 -7
- package/dist/esm/udp-charts-example.entry.js +1 -1
- package/dist/esm/udp-container-query-grid-item.entry.js +1 -1
- package/dist/esm/udp-container-query-grid.entry.js +1 -1
- package/dist/esm/udp-container-query.entry.js +2 -2
- package/dist/esm/udp-container.entry.js +2 -2
- package/dist/esm/{udp-detail-list_9.entry.js → udp-detail-list_10.entry.js} +606 -74
- package/dist/esm/{udp-drive-utils-DCivw3gq.js → udp-drive-utils-BVTuKAND.js} +1 -1
- package/dist/esm/udp-dynamic-container-with-menu.entry.js +1 -1
- package/dist/esm/udp-dynamic-form.entry.js +1 -1
- package/dist/esm/udp-fluent-icon-picker.entry.js +2 -2
- package/dist/esm/udp-fluent-inline-edit_5.entry.js +491 -42
- package/dist/esm/udp-fluent-link.entry.js +1 -1
- package/dist/esm/udp-fluent-list-item_2.entry.js +3 -3
- package/dist/esm/{udp-form-api-utils-HJ_eUZkX.js → udp-form-api-utils-Bq7Txu0h.js} +1 -1
- package/dist/esm/udp-forms-builder-style-override.entry.js +1 -1
- package/dist/esm/udp-forms-builder.entry.js +1 -1
- package/dist/esm/udp-forms-follow-up-list-card.entry.js +2 -2
- package/dist/esm/udp-forms-list-card.entry.js +4 -4
- package/dist/esm/udp-forms-list.entry.js +3 -3
- package/dist/esm/udp-forms-renderer.entry.js +4 -4
- package/dist/esm/udp-import-sheet.entry.js +242 -0
- package/dist/esm/udp-kpi-card.entry.js +1 -1
- package/dist/esm/udp-kpi-cards.entry.js +2 -2
- package/dist/esm/udp-map.entry.js +3 -3
- package/dist/esm/udp-menu.entry.js +1 -1
- package/dist/esm/udp-page.entry.js +1 -1
- package/dist/esm/udp-question-form-builder.entry.js +28 -251
- package/dist/esm/udp-rich-text-field.entry.js +28 -39
- package/dist/esm/udp-rich-text.entry.js +59 -0
- package/dist/esm/udp-sankey-chart.entry.js +1 -1
- package/dist/esm/udp-sidebar-layout.entry.js +3 -3
- package/dist/esm/udp-skeleton-loading.entry.js +1 -1
- package/dist/esm/udp-split-screen.entry.js +1 -1
- package/dist/esm/udp-stepper-actions.entry.js +1 -1
- package/dist/esm/udp-stepper-content.entry.js +2 -2
- package/dist/esm/udp-stepper-demo.entry.js +1 -1
- package/dist/esm/udp-stepper-nav.entry.js +1 -1
- package/dist/esm/udp-tab.entry.js +1 -1
- package/dist/esm/udp-timeline-connector.entry.js +1 -1
- package/dist/esm/udp-timeline-dot.entry.js +1 -1
- package/dist/esm/udp-timeline-item.entry.js +2 -2
- package/dist/esm/udp-timeline-separator.entry.js +1 -1
- package/dist/esm/udp-timeline.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline-connector.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline-dot.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline-item.entry.js +2 -2
- package/dist/esm/udp-vertical-timeline-separator.entry.js +1 -1
- package/dist/esm/udp-vertical-timeline.entry.js +1 -1
- package/dist/esm/udp-xy-chart.entry.js +1 -1
- package/dist/esm/udp-xy-multi-series-chart.entry.js +1 -1
- package/dist/esm/valueFormatters-BbY_Q8IE.js +15 -0
- package/dist/stencil-library/{SearchBuilder-BmqrJvtz.js → SearchBuilder-BxLXFEeR.js} +1 -1
- package/dist/stencil-library/add-map-feature-popup_4.entry.js +1 -1
- package/dist/stencil-library/address-search_6.entry.js +1 -1
- package/dist/stencil-library/advanced-search_12.entry.js +1 -1
- package/dist/stencil-library/ag-grid-base_66.entry.js +1 -0
- package/dist/stencil-library/ambient-template-grid.entry.js +1 -1
- package/dist/stencil-library/api-method-instance-grid.entry.js +1 -1
- package/dist/stencil-library/apiMethodInstance-qaGbXDNr.js +1 -0
- package/dist/stencil-library/apiUtils-CXqsYwOQ.js +1 -0
- package/dist/stencil-library/app-bar.entry.js +1 -1
- package/dist/stencil-library/{catalog-store-CLsDGUEl.js → catalog-store-BOpo_zaC.js} +1 -1
- package/dist/stencil-library/chart-container_3.entry.js +1 -1
- package/dist/stencil-library/check-box.entry.js +1 -1
- package/dist/stencil-library/chip-section.entry.js +1 -1
- package/dist/stencil-library/codecs-BWyrM561.js +1 -0
- package/dist/stencil-library/configService-CehZzjhw.js +1 -0
- package/dist/stencil-library/configureUdpColumnMods-bMO0_--H.js +1 -0
- package/dist/stencil-library/convertBackendTypeToAgGridType-B8xfl_wR.js +1 -0
- package/dist/stencil-library/createAzureMapsProviders-CtQryp1H.js +1 -0
- package/dist/stencil-library/custom-button.entry.js +1 -1
- package/dist/stencil-library/date-time-renderer_9.entry.js +1 -1
- package/dist/stencil-library/domain-table-snapshot-H3o5mjFB.js +1 -0
- package/dist/stencil-library/extraFields-Cnpy_Bm7.js +1 -0
- package/dist/stencil-library/extraFieldsHelper-CaBMA4HJ.js +1 -0
- package/dist/stencil-library/feature-details-card_2.entry.js +1 -1
- package/dist/stencil-library/file-upload_2.entry.js +1 -1
- package/dist/stencil-library/filter-conditions_7.entry.js +1 -1
- package/dist/stencil-library/fluent-icons-wRyOZqj2.js +1 -0
- package/dist/stencil-library/form-metadata-display_2.entry.js +1 -1
- package/dist/stencil-library/getCurrentApiCatalogId-DeurXd9l.js +1 -0
- package/dist/stencil-library/icon-grid.entry.js +1 -1
- package/dist/stencil-library/image-upload_8.entry.js +1 -1
- package/dist/stencil-library/index.esm.js +1 -1
- package/dist/stencil-library/load-icons-D2ZhiHp6.js +1 -0
- package/dist/stencil-library/logical-search-indicator.entry.js +1 -1
- package/dist/stencil-library/lookupHelper-D3LSjaES.js +1 -0
- package/dist/stencil-library/map-component_2.entry.js +1 -1
- package/dist/stencil-library/primary-action-header_2.entry.js +1 -1
- package/dist/stencil-library/question-configs-renderer_4.entry.js +1 -1
- package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -1
- package/dist/stencil-library/resource-timeline-primary-bar.entry.js +1 -1
- package/dist/stencil-library/rich-text-schema-DCUYo610.js +1 -0
- package/dist/stencil-library/search-method-grid.entry.js +1 -1
- package/dist/stencil-library/server-side-grid.entry.js +1 -1
- package/dist/stencil-library/side-sheet-container.entry.js +1 -1
- package/dist/stencil-library/simple-card.entry.js +1 -1
- package/dist/stencil-library/status-chip_2.entry.js +1 -1
- package/dist/stencil-library/status-renderer-Evo0rTNU.js +1 -0
- package/dist/stencil-library/stencil-chip.entry.js +1 -1
- package/dist/stencil-library/stencil-library.esm.js +1 -1
- package/dist/stencil-library/stencil-toggle.entry.js +1 -1
- package/dist/stencil-library/text-field_2.entry.js +1 -1
- package/dist/stencil-library/{types-C9Z-dgvN.js → types-NqFGtWPW.js} +1 -1
- package/dist/stencil-library/udp-adornment.entry.js +1 -1
- package/dist/stencil-library/udp-advanced-search-builder.entry.js +1 -1
- package/dist/stencil-library/udp-advanced-search-field-picker_3.entry.js +1 -1
- package/dist/stencil-library/udp-ag-area-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-bar-chart_4.entry.js +1 -1
- package/dist/stencil-library/udp-ag-bubble-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-combo-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-donut-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-line-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-pie-chart.entry.js +1 -1
- package/dist/stencil-library/udp-ag-scatter-chart.entry.js +1 -1
- package/dist/stencil-library/udp-attachment-item_2.entry.js +1 -1
- package/dist/stencil-library/udp-attachment-list.entry.js +1 -1
- package/dist/stencil-library/udp-bar-chart.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-base.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-day.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-month.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-week.entry.js +1 -1
- package/dist/stencil-library/udp-calendar-year.entry.js +1 -1
- package/dist/stencil-library/udp-card-action-area.entry.js +1 -1
- package/dist/stencil-library/udp-card_6.entry.js +1 -1
- package/dist/stencil-library/udp-charts-example.entry.js +1 -1
- package/dist/stencil-library/udp-container-query-grid-item.entry.js +1 -1
- package/dist/stencil-library/udp-container-query-grid.entry.js +1 -1
- package/dist/stencil-library/udp-container-query.entry.js +1 -1
- package/dist/stencil-library/udp-container.entry.js +1 -1
- package/dist/stencil-library/udp-detail-list_10.entry.js +1 -0
- package/dist/stencil-library/{udp-drive-utils-DCivw3gq.js → udp-drive-utils-BVTuKAND.js} +1 -1
- package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js +1 -1
- package/dist/stencil-library/udp-dynamic-form.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-icon-picker.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-inline-edit_5.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-link.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-list-item_2.entry.js +1 -1
- package/dist/stencil-library/{udp-form-api-utils-HJ_eUZkX.js → udp-form-api-utils-Bq7Txu0h.js} +1 -1
- package/dist/stencil-library/udp-forms-builder-style-override.entry.js +1 -1
- package/dist/stencil-library/udp-forms-builder.entry.js +1 -1
- package/dist/stencil-library/udp-forms-follow-up-list-card.entry.js +1 -1
- package/dist/stencil-library/udp-forms-list-card.entry.js +1 -1
- package/dist/stencil-library/udp-forms-list.entry.js +1 -1
- package/dist/stencil-library/udp-forms-renderer.entry.js +1 -1
- package/dist/stencil-library/udp-import-sheet.entry.js +1 -0
- package/dist/stencil-library/udp-kpi-card.entry.js +1 -1
- package/dist/stencil-library/udp-kpi-cards.entry.js +1 -1
- package/dist/stencil-library/udp-map.entry.js +1 -1
- package/dist/stencil-library/udp-menu.entry.js +1 -1
- package/dist/stencil-library/udp-page.entry.js +1 -1
- package/dist/stencil-library/udp-question-form-builder.entry.js +1 -1
- package/dist/stencil-library/udp-rich-text-field.entry.js +1 -1
- package/dist/stencil-library/udp-rich-text.entry.js +1 -0
- package/dist/stencil-library/udp-sankey-chart.entry.js +1 -1
- package/dist/stencil-library/udp-sidebar-layout.entry.js +1 -1
- package/dist/stencil-library/udp-skeleton-loading.entry.js +1 -1
- package/dist/stencil-library/udp-split-screen.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-actions.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-content.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-demo.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-nav.entry.js +1 -1
- package/dist/stencil-library/udp-tab.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-connector.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-dot.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-item.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-separator.entry.js +1 -1
- package/dist/stencil-library/udp-timeline.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-connector.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-dot.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-item.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline-separator.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-timeline.entry.js +1 -1
- package/dist/stencil-library/udp-xy-chart.entry.js +1 -1
- package/dist/stencil-library/udp-xy-multi-series-chart.entry.js +1 -1
- package/dist/stencil-library/valueFormatters-BbY_Q8IE.js +1 -0
- package/dist/types/components/advanced-search-builder/udp-advanced-search-builder.d.ts +25 -0
- package/dist/types/components/fluent-ui/button/udp-fluent-button.d.ts +5 -0
- package/dist/types/components/fluent-ui/domain-table-input/domain-table-snapshot.d.ts +32 -0
- package/dist/types/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.d.ts +137 -0
- package/dist/types/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.types.d.ts +46 -0
- package/dist/types/components/fluent-ui/drawer/udp-fluent-drawer.d.ts +5 -0
- package/dist/types/components/fluent-ui/dropdown/udp-fluent-dropdown.d.ts +12 -1
- package/dist/types/components/fluent-ui/radio-group/udp-fluent-radio-group.d.ts +6 -0
- package/dist/types/components/fluent-ui/rich-text/udp-rich-text.d.ts +19 -0
- package/dist/types/components/fluent-ui/rich-text-field/rich-text-schema.d.ts +6 -0
- package/dist/types/components/fluent-ui/table-input/table-aggregates.d.ts +16 -0
- package/dist/types/components/fluent-ui/table-input/udp-fluent-table-input.d.ts +0 -8
- package/dist/types/components/fluent-ui/tablist/udp-fluent-tablist.d.ts +3 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/table-domain.fixtures.d.ts +22 -0
- package/dist/types/components/forms/udp-question-form/builder/components/configure-question-drawer.d.ts +2 -1
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/DomainTableConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/types.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/builder/udp-question-form-builder.d.ts +1 -0
- package/dist/types/components/forms/udp-question-form/builder/utils/builder-api.d.ts +37 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.d.ts +5 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties.d.ts +31 -1
- package/dist/types/components/forms/udp-question-form/core/validation/intrinsic.d.ts +15 -3
- package/dist/types/components/forms/udp-question-form/renderer/runtime/codecs.d.ts +12 -1
- package/dist/types/components/forms/udp-question-form/renderer/runtime/domain-table-snapshot.d.ts +20 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/index.d.ts +1 -0
- package/dist/types/components/forms/udp-question-form/renderer/udp-question-form-renderer.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/form-shell.d.ts +3 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/question-renderer.d.ts +7 -0
- package/dist/types/components/grid/new-grid/ag-grid-base.d.ts +3 -1
- package/dist/types/components/grid/new-grid/api-method-instance-grid.d.ts +9 -1
- package/dist/types/components/grid/new-grid/client-side-grid.d.ts +3 -1
- package/dist/types/components/grid/new-grid/datasources/searchMethodDatasource.d.ts +3 -0
- package/dist/types/components/grid/new-grid/gridFunctions/advancedSearch.d.ts +6 -3
- package/dist/types/components/grid/new-grid/gridFunctions/savedViews.d.ts +1 -0
- package/dist/types/components/grid/new-grid/gridFunctions/udpExport.d.ts +6 -0
- package/dist/types/components/grid/new-grid/helperFunctions/buildSearchObject.d.ts +13 -3
- package/dist/types/components/grid/new-grid/helperFunctions/domainRowsHelper.d.ts +60 -0
- package/dist/types/components/grid/new-grid/helperFunctions/extraFieldsHelper.d.ts +49 -0
- package/dist/types/components/grid/new-grid/helperFunctions/lookupHelper.d.ts +57 -0
- package/dist/types/components/grid/new-grid/helperFunctions/savedViewsHelpers.d.ts +2 -0
- package/dist/types/components/grid/new-grid/search-method-grid.d.ts +35 -1
- package/dist/types/components/grid/new-grid/server-side-grid.d.ts +27 -1
- package/dist/types/components/grid/renderers/actions-renderer.d.ts +15 -0
- package/dist/types/components/grid/renderers/input-renderer.d.ts +36 -0
- package/dist/types/components/import/udp-import-sheet/udp-import-sheet.d.ts +85 -0
- package/dist/types/components.d.ts +411 -12
- package/dist/types/icons/fluent-icons.d.ts +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/store/execution-store.d.ts +4 -5
- package/dist/types/udp-utilities/api-config/configService.d.ts +0 -2
- package/dist/types/udp-utilities/extra-fields/extraFields.d.ts +105 -0
- package/dist/types/udp-utilities/extra-fields/index.d.ts +1 -0
- package/dist/types/udp-utilities/search/searchObject.d.ts +2 -0
- package/package.json +3 -3
- package/dist/cjs/lookupHelper-ClpMWN_g.js +0 -101
- package/dist/cjs/searchObjectHelper-DYpPEIzz.js +0 -110
- package/dist/cjs/slot-index-Dzl7Zum5.js +0 -77
- package/dist/cjs/udp-fluent-number-input.cjs.entry.js +0 -146
- package/dist/esm/lookupHelper-CSo9DNLr.js +0 -96
- package/dist/esm/searchObjectHelper-BjA6OHxg.js +0 -107
- package/dist/esm/slot-index-aYrr8BJl.js +0 -74
- package/dist/esm/udp-fluent-number-input.entry.js +0 -144
- package/dist/stencil-library/ag-grid-base_65.entry.js +0 -1
- package/dist/stencil-library/apiMethodInstance-BunReWfq.js +0 -1
- package/dist/stencil-library/apiUtils-Cq-WuEqc.js +0 -1
- package/dist/stencil-library/codecs-CI_fHfY1.js +0 -1
- package/dist/stencil-library/configService-D_9j963S.js +0 -1
- package/dist/stencil-library/configureUdpColumnMods-UWccWlH6.js +0 -1
- package/dist/stencil-library/createAzureMapsProviders-CLLCmr8f.js +0 -1
- package/dist/stencil-library/fluent-icons-pWFJyrRm.js +0 -1
- package/dist/stencil-library/load-icons-BHSNRRRA.js +0 -1
- package/dist/stencil-library/lookupHelper-CSo9DNLr.js +0 -1
- package/dist/stencil-library/searchObjectHelper-BjA6OHxg.js +0 -1
- package/dist/stencil-library/slot-index-aYrr8BJl.js +0 -1
- package/dist/stencil-library/status-renderer-BoY7sar9.js +0 -1
- package/dist/stencil-library/udp-detail-list_9.entry.js +0 -1
- package/dist/stencil-library/udp-fluent-number-input.entry.js +0 -1
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, a as getElement } from './index-15aY63VA.js';
|
|
2
2
|
import { themeQuartz, ModuleRegistry, AllEnterpriseModule, LicenseManager, createGrid } from 'ag-grid-enterprise-v33';
|
|
3
|
-
import { p as getGridViewsWithConfigurations, q as deleteSelectedView, u as updateViewAndConfigurations, t as saveView, v as updateView, x as getAvailableGridActions, y as executeQueryWithParameters, z as getPromotedMethodEntities, A as executeQueryAdHoc } from './apiUtils-
|
|
4
|
-
import { g as getCurrentApiCatalogId } from './
|
|
3
|
+
import { p as getGridViewsWithConfigurations, q as deleteSelectedView, u as updateViewAndConfigurations, t as saveView, v as updateView, x as getAvailableGridActions, y as executeQueryWithParameters, z as getPromotedMethodEntities, A as executeQueryAdHoc } from './apiUtils-CXqsYwOQ.js';
|
|
4
|
+
import { g as getCurrentApiCatalogId } from './getCurrentApiCatalogId-DeurXd9l.js';
|
|
5
5
|
import { g as getCurrentTenantId } from './tenantUtils-Basdb1b1.js';
|
|
6
6
|
import { a as SearchOperators, L as LogicalSearchOperator, d as SearchConstants } from './searchObject-DpUZkcYC.js';
|
|
7
|
-
import { c as composeSearchFragments } from './
|
|
8
|
-
import { S as StatusRenderer, I as IconRenderer, A as ActionsRenderer } from './status-renderer-
|
|
9
|
-
import { c as configureUdpColumnMods } from './configureUdpColumnMods-
|
|
7
|
+
import { c as composeSearchFragments } from './lookupHelper-D3LSjaES.js';
|
|
8
|
+
import { S as StatusRenderer, I as IconRenderer, A as ActionsRenderer } from './status-renderer-Evo0rTNU.js';
|
|
9
|
+
import { c as configureUdpColumnMods } from './configureUdpColumnMods-bMO0_--H.js';
|
|
10
|
+
import { d as dateTimeValueFormatter } from './valueFormatters-BbY_Q8IE.js';
|
|
10
11
|
import { isEqual } from 'lodash-es';
|
|
11
12
|
import { m as makeApiCall } from './makeApiCall-B-daVutk.js';
|
|
12
|
-
import { C as ConfigService } from './configService-
|
|
13
|
+
import { C as ConfigService } from './configService-CehZzjhw.js';
|
|
13
14
|
import '@fluentui/web-components/accordion.js';
|
|
14
15
|
import '@fluentui/web-components/accordion-item.js';
|
|
15
16
|
import { createPopper } from '@popperjs/core';
|
|
@@ -34,7 +35,7 @@ import '@fluentui/web-components/dialog-body.js';
|
|
|
34
35
|
import '@fluentui/web-components/divider.js';
|
|
35
36
|
import '@fluentui/web-components/drawer.js';
|
|
36
37
|
import '@fluentui/web-components/drawer-body.js';
|
|
37
|
-
import { l as loadIconsModule } from './load-icons-
|
|
38
|
+
import { l as loadIconsModule } from './load-icons-D2ZhiHp6.js';
|
|
38
39
|
import '@fluentui/web-components/menu.js';
|
|
39
40
|
import '@fluentui/web-components/menu-item.js';
|
|
40
41
|
import '@fluentui/web-components/menu-button.js';
|
|
@@ -400,8 +401,12 @@ class SavedViews {
|
|
|
400
401
|
// ── Local Session Storage ─────────────────────────────────────────────────
|
|
401
402
|
this.getStorageKey = () => {
|
|
402
403
|
const tenantId = getCurrentTenantId();
|
|
403
|
-
|
|
404
|
+
// A gridId shared by many entities opts in to keeping each entity's last state apart.
|
|
405
|
+
const context = this.api.getGridOption('context');
|
|
406
|
+
const scope = (context === null || context === void 0 ? void 0 : context.scopeStateByEntity) && context.entityName ? `-${context.entityName}` : '';
|
|
407
|
+
return `saved-grid-state-${this.gridId}-${tenantId}${scope}`;
|
|
404
408
|
};
|
|
409
|
+
this.readLocalState = () => localStorage.getItem(this.getStorageKey());
|
|
405
410
|
this.saveCurrentStateToLocalStorage = () => {
|
|
406
411
|
if (this.localStorageDebounceId !== null) {
|
|
407
412
|
clearTimeout(this.localStorageDebounceId);
|
|
@@ -605,8 +610,7 @@ class SavedViews {
|
|
|
605
610
|
this.refresh();
|
|
606
611
|
return;
|
|
607
612
|
}
|
|
608
|
-
const
|
|
609
|
-
const savedStateStr = localStorage.getItem(storageKey);
|
|
613
|
+
const savedStateStr = this.readLocalState();
|
|
610
614
|
if (savedStateStr) {
|
|
611
615
|
try {
|
|
612
616
|
this.localRestoredState = JSON.parse(savedStateStr);
|
|
@@ -940,8 +944,7 @@ class SavedViews {
|
|
|
940
944
|
return;
|
|
941
945
|
}
|
|
942
946
|
// Read localStorage immediately
|
|
943
|
-
const
|
|
944
|
-
const savedStateStr = localStorage.getItem(storageKey);
|
|
947
|
+
const savedStateStr = this.readLocalState();
|
|
945
948
|
if (savedStateStr) {
|
|
946
949
|
try {
|
|
947
950
|
this.localRestoredState = JSON.parse(savedStateStr);
|
|
@@ -1511,9 +1514,10 @@ class AdvancedSearch {
|
|
|
1511
1514
|
this.onOpen = params.callback;
|
|
1512
1515
|
}
|
|
1513
1516
|
onAction(name) {
|
|
1514
|
-
var _a;
|
|
1517
|
+
var _a, _b;
|
|
1515
1518
|
if (name === 'advancedSearch') {
|
|
1516
|
-
(_a = this.
|
|
1519
|
+
const { extraFields } = ((_a = this.api.getGridOption('context')) !== null && _a !== void 0 ? _a : {});
|
|
1520
|
+
(_b = this.onOpen) === null || _b === void 0 ? void 0 : _b.call(this, this.applied, this.apply, extraFields);
|
|
1517
1521
|
}
|
|
1518
1522
|
}
|
|
1519
1523
|
/**
|
|
@@ -1622,12 +1626,23 @@ class UdpExport {
|
|
|
1622
1626
|
(_e = (_d = this.params) === null || _d === void 0 ? void 0 : _d.callback) === null || _e === void 0 ? void 0 : _e.call(_d, searchObject, entityName);
|
|
1623
1627
|
this.openSheet(entityName, searchObject, rowCount, this.exportableColumns());
|
|
1624
1628
|
}
|
|
1629
|
+
/**
|
|
1630
|
+
* Columns that export a stored field. The request names the field, not the column id: an FK
|
|
1631
|
+
* column's id can be its label path (`UnitPayPeriod.Name`), which the export can't select.
|
|
1632
|
+
* Columns without a field (computed values, row actions) and those that opt out with
|
|
1633
|
+
* `context.export: false` aren't offered.
|
|
1634
|
+
*/
|
|
1625
1635
|
exportableColumns() {
|
|
1626
1636
|
return toggleableColumns(this.api)
|
|
1637
|
+
.filter(col => {
|
|
1638
|
+
var _a;
|
|
1639
|
+
const def = col.getColDef();
|
|
1640
|
+
return !!def.field && def.field !== 'actions' && ((_a = def.context) === null || _a === void 0 ? void 0 : _a.export) !== false;
|
|
1641
|
+
})
|
|
1627
1642
|
.map(col => {
|
|
1628
1643
|
var _a;
|
|
1629
1644
|
return ({
|
|
1630
|
-
field: col.
|
|
1645
|
+
field: col.getColDef().field,
|
|
1631
1646
|
headerName: (_a = col.getColDef().headerName) !== null && _a !== void 0 ? _a : col.getColId(),
|
|
1632
1647
|
visible: col.isVisible(),
|
|
1633
1648
|
locked: col.getColDef().lockVisible === true,
|
|
@@ -2701,6 +2716,73 @@ class ImageRenderer {
|
|
|
2701
2716
|
}
|
|
2702
2717
|
}
|
|
2703
2718
|
|
|
2719
|
+
const TAGS = {
|
|
2720
|
+
text: 'udp-fluent-text-input',
|
|
2721
|
+
number: 'udp-fluent-number-input',
|
|
2722
|
+
dropdown: 'udp-fluent-dropdown',
|
|
2723
|
+
checkbox: 'udp-fluent-checkbox',
|
|
2724
|
+
};
|
|
2725
|
+
/**
|
|
2726
|
+
* Always-visible UDP field in a cell. Edits write back with `node.setDataValue`, so the
|
|
2727
|
+
* grid fires `cellValueChanged` — read changes there. Keys stay in the field instead of
|
|
2728
|
+
* driving grid navigation; Tab moves between fields.
|
|
2729
|
+
*/
|
|
2730
|
+
class InputRenderer {
|
|
2731
|
+
init(params) {
|
|
2732
|
+
this.params = params;
|
|
2733
|
+
this.eGui = document.createElement('div');
|
|
2734
|
+
this.eGui.style.cssText = 'display: flex; width: 100%; height: 100%; align-items: center;';
|
|
2735
|
+
this.eGui.addEventListener('keydown', e => e.stopPropagation());
|
|
2736
|
+
this.field = document.createElement(TAGS[params.inputType]);
|
|
2737
|
+
this.field.style.width = params.inputType === 'checkbox' ? '' : '100%';
|
|
2738
|
+
this.field.includeErrorPadding = false;
|
|
2739
|
+
if (params.inputType === 'dropdown') {
|
|
2740
|
+
this.field.valueAs = 'value';
|
|
2741
|
+
this.field.multiple = !!params.multiple;
|
|
2742
|
+
}
|
|
2743
|
+
this.field.addEventListener('valueChanged', ((e) => {
|
|
2744
|
+
e.stopPropagation();
|
|
2745
|
+
this.params.node.setDataValue(this.params.column, this.parse(e.detail));
|
|
2746
|
+
}));
|
|
2747
|
+
this.apply(params);
|
|
2748
|
+
this.eGui.appendChild(this.field);
|
|
2749
|
+
}
|
|
2750
|
+
getGui() {
|
|
2751
|
+
return this.eGui;
|
|
2752
|
+
}
|
|
2753
|
+
refresh(params) {
|
|
2754
|
+
this.params = params;
|
|
2755
|
+
this.apply(params);
|
|
2756
|
+
return true;
|
|
2757
|
+
}
|
|
2758
|
+
apply(params) {
|
|
2759
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2760
|
+
const f = this.field;
|
|
2761
|
+
const value = params.value;
|
|
2762
|
+
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 : '';
|
|
2763
|
+
f.disabled = (_f = (_e = params.isDisabled) === null || _e === void 0 ? void 0 : _e.call(params, params)) !== null && _f !== void 0 ? _f : false;
|
|
2764
|
+
if (params.placeholder !== undefined)
|
|
2765
|
+
f.placeholder = typeof params.placeholder === 'function' ? params.placeholder(params) : params.placeholder;
|
|
2766
|
+
// New options drop the dropdown's selection, so the value is set again after them.
|
|
2767
|
+
const optionsChanged = params.inputType === 'dropdown' && f.options !== params.options;
|
|
2768
|
+
if (optionsChanged)
|
|
2769
|
+
f.options = (_g = params.options) !== null && _g !== void 0 ? _g : [];
|
|
2770
|
+
if (params.inputType === 'checkbox') {
|
|
2771
|
+
f.checked = !!value;
|
|
2772
|
+
return;
|
|
2773
|
+
}
|
|
2774
|
+
// Compare parsed values: re-setting what the user is typing ("1." → 1) would reset the field.
|
|
2775
|
+
if (!optionsChanged && JSON.stringify((_h = this.parse(f.value)) !== null && _h !== void 0 ? _h : null) === JSON.stringify(value !== null && value !== void 0 ? value : null))
|
|
2776
|
+
return;
|
|
2777
|
+
f.value = value == null ? (params.multiple ? [] : '') : params.inputType === 'number' ? String(value) : value;
|
|
2778
|
+
}
|
|
2779
|
+
parse(detail) {
|
|
2780
|
+
if (this.params.inputType !== 'number')
|
|
2781
|
+
return detail;
|
|
2782
|
+
return detail === '' || detail == null || isNaN(Number(detail)) ? null : Number(detail);
|
|
2783
|
+
}
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2704
2786
|
class LinkRenderer {
|
|
2705
2787
|
init(params) {
|
|
2706
2788
|
var _a, _b, _c;
|
|
@@ -2768,20 +2850,6 @@ class AgGridSubtitleCellRenderer {
|
|
|
2768
2850
|
destroy() { }
|
|
2769
2851
|
}
|
|
2770
2852
|
|
|
2771
|
-
const dateTimeValueFormatter = params => {
|
|
2772
|
-
const value = params.value;
|
|
2773
|
-
if (value == null) {
|
|
2774
|
-
return '';
|
|
2775
|
-
}
|
|
2776
|
-
// First, parse the string into a Date object
|
|
2777
|
-
const dateObject = new Date(value);
|
|
2778
|
-
if (!dateObject) {
|
|
2779
|
-
return '';
|
|
2780
|
-
}
|
|
2781
|
-
// Now format the Date object into the desired "YYYY-MM-DD HH:mm:ss" string
|
|
2782
|
-
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')}`;
|
|
2783
|
-
};
|
|
2784
|
-
|
|
2785
2853
|
// UDP column style presets (see ag-grid-base.css). Each maps to a cell class
|
|
2786
2854
|
// `udp-col-<name>` and a header class `udp-col-<name>-header`.
|
|
2787
2855
|
const UDP_COL_PRESETS = [
|
|
@@ -2895,7 +2963,7 @@ function buildUdpPresetExcelStyles() {
|
|
|
2895
2963
|
return styles;
|
|
2896
2964
|
}
|
|
2897
2965
|
|
|
2898
|
-
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)}`;
|
|
2966
|
+
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)}`;
|
|
2899
2967
|
|
|
2900
2968
|
const AgGridBase = class {
|
|
2901
2969
|
constructor(hostRef) {
|
|
@@ -3060,9 +3128,11 @@ const AgGridBase = class {
|
|
|
3060
3128
|
excelStyles: [
|
|
3061
3129
|
...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); }),
|
|
3062
3130
|
...((_b = (_a = this.gridOptions) === null || _a === void 0 ? void 0 : _a.excelStyles) !== null && _b !== void 0 ? _b : []),
|
|
3063
|
-
], components: Object.assign({ actionsRenderer: ActionsRenderer, avatarRenderer: AvatarRenderer, iconRenderer: IconRenderer, imageRenderer: ImageRenderer, linkRenderer: LinkRenderer, 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) }) });
|
|
3131
|
+
], components: Object.assign({ actionsRenderer: ActionsRenderer, avatarRenderer: AvatarRenderer, iconRenderer: IconRenderer, imageRenderer: ImageRenderer, inputRenderer: InputRenderer, linkRenderer: LinkRenderer, 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) }) });
|
|
3064
3132
|
createGrid(this.gridEl, gridOptions);
|
|
3065
3133
|
window.addEventListener('theme-changed', this.themeChangedHandler);
|
|
3134
|
+
if (this.gridHeight === 'auto')
|
|
3135
|
+
return;
|
|
3066
3136
|
if (this.gridHeight) {
|
|
3067
3137
|
this.gridEl.style.height = this.gridHeight;
|
|
3068
3138
|
}
|
|
@@ -3086,9 +3156,15 @@ const AgGridBase = class {
|
|
|
3086
3156
|
});
|
|
3087
3157
|
}
|
|
3088
3158
|
handleUpdateGridHeight(newVal) {
|
|
3159
|
+
var _a;
|
|
3089
3160
|
if (!this.gridEl)
|
|
3090
3161
|
return;
|
|
3091
|
-
|
|
3162
|
+
(_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.setGridOption('domLayout', newVal === 'auto' ? 'autoHeight' : 'normal');
|
|
3163
|
+
if (newVal === 'auto') {
|
|
3164
|
+
this.detachAutoHeight();
|
|
3165
|
+
this.gridEl.style.height = '';
|
|
3166
|
+
}
|
|
3167
|
+
else if (newVal) {
|
|
3092
3168
|
this.detachAutoHeight();
|
|
3093
3169
|
this.gridEl.style.height = newVal;
|
|
3094
3170
|
}
|
|
@@ -3115,7 +3191,7 @@ const AgGridBase = class {
|
|
|
3115
3191
|
this.updateGridContextValues();
|
|
3116
3192
|
}
|
|
3117
3193
|
render() {
|
|
3118
|
-
return (h("div", { key: '
|
|
3194
|
+
return (h("div", { key: 'f2cc1f79783cd64d0d357c6da9f5b1c6091c4ec5', ref: el => (this.gridContainerEl = el) }, h("ghost-render", { key: '79854dbf25791eb11a3973b914e70feda058f418' }, h("div", { key: '1520796da831bd1f7950abe99e1c217ae8fee75d' }, h("udp-dialog", { key: '61bd57fb2941746595aa48cbcb70b1a0c701cd76' }), h("udp-list-item", { key: '4874021aa61c85fec3999b64a575148b1ab3b338' }), h("hint-panel", { key: '4e38f3307a611192dc9b7957d2658a86bae6539e' }), h("udp-side-sheet", { key: '773fbc2addb8c79d5bf56430ebc5f61330bc4a1b' }), h("udp-fluent-dialog", { key: 'ed3521d67e05de24da3672148378aba324169b59' }), h("udp-fluent-text", { key: '24fa589cae7a5808fb07c306017560338cdb70a0' }), h("udp-fluent-text-input", { key: 'c72bfed3bf11b0920aed304620c3b2c1bb566ecd' }), h("udp-fluent-switch", { key: 'd76c6b5b39b111249a3771a6fb92bde98c866c8f' }), h("udp-fluent-button", { key: '93e616bc0927fbabec4d0f41cd57b62bda413f15' }), h("udp-text", { key: 'e4146473c6fe1ccf138b9986ce501704e002bf0c' }), h("udp-search-input", { key: 'c63a0d1a775a14f5e10be375832b3ee5effd22b6' }), h("udp-export-sheet", { key: '27b601e4abaedd15072cd44783f01e1776faf5c3' }), h("udp-fluent-drawer", { key: '530534c5b7d115d258bb1153522f4ffd8da415b7' }), h("udp-flexbox", { key: 'c5a2612724978f8c0fcd93486326d74bfac6a069' }), h("udp-accordion", { key: '162f420b6a2520a33b98e9624ff910cbcb378ba3' }), h("udp-popover", { key: '8a4750d4ae9794a43dccbfb332533bdfe0aeb2ac' }), h("udp-date-range-selector", { key: 'e59589420100a8c13016618881d89be40bd41376' }), h("udp-fluent-avatar", { key: 'c5815c67fcb7aa47f6dd7c9df1a5773bf7a9aaf2' }), h("udp-fluent-icon-button", { key: '7a3f4d6793cfd023ba00820d0b569cf6677dba1c' }), h("udp-fluent-icon", { key: '0f527e20c9e1f2c5c2d5c2a8a97891cb410da3e7' }), h("udp-fluent-badge", { key: '84bda25668f15dd2da9e422b29bbf11f73714ee8' }), h("udp-empty-state", { key: 'ae94919c458727206139c9519db0e719fe8ff3ab' }), h("udp-message-bar", { key: '9d00735ccd7669eba89fb7510c51595683cb10e1' }), h("udp-fluent-menu", { key: '73c20cbd18580bb81959b29eb0913cb0048ec36b' }), h("udp-fluent-number-input", { key: '88a0c5a2aa437e10acf13572cfecf85a7316f748' }), h("udp-fluent-dropdown", { key: 'a2377be744fe06ca85d7afc862ec395c7164b163' }), h("udp-fluent-checkbox", { key: '6be1e9601325a388b162d8ab9e4ba6e28c3a7353' }))), h("grid-header", { key: '52236f0b1251ca5a6004202d2ff960023e88ed97', headerConfig: this.headerConfig, gridFunctions: this.gridFunctions, gridFunctionInstances: this.gridFunctionInstances, refreshKey: this.refreshKey, onHeaderAction: this.onHeaderAction }), h("div", { key: '50a5a325005ec65d93872949aa7822f4c60cd181', ref: el => (this.gridEl = el) })));
|
|
3119
3195
|
}
|
|
3120
3196
|
static get watchers() { return {
|
|
3121
3197
|
"gridFunctions": [{
|
|
@@ -3183,7 +3259,7 @@ const ClientSideGrid = class {
|
|
|
3183
3259
|
this.clientSideConfig = Object.assign(Object.assign({}, this.gridOptions), { rowModelType: 'clientSide' });
|
|
3184
3260
|
}
|
|
3185
3261
|
render() {
|
|
3186
|
-
return (h("ag-grid-base", { key: '
|
|
3262
|
+
return (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 }));
|
|
3187
3263
|
}
|
|
3188
3264
|
static get watchers() { return {
|
|
3189
3265
|
"rowData": [{
|
|
@@ -3269,7 +3345,7 @@ const GhostRender = class {
|
|
|
3269
3345
|
// The <slot /> is necessary to prevent the Stencil compiler from
|
|
3270
3346
|
// overly optimizing this component's output and aliasing the
|
|
3271
3347
|
// defineCustomElement export, which breaks downstream wrappers.
|
|
3272
|
-
return (h(Host, { key: '
|
|
3348
|
+
return (h(Host, { key: '49eb0c2ef023f09c39ef17830eeec36163067be8' }, h("slot", { key: '3551bcef49135623daf6175abb1879e4a6b2f408' })));
|
|
3273
3349
|
}
|
|
3274
3350
|
};
|
|
3275
3351
|
GhostRender.style = `:host {
|
|
@@ -3464,7 +3540,7 @@ const HintPanel = class {
|
|
|
3464
3540
|
};
|
|
3465
3541
|
}
|
|
3466
3542
|
render() {
|
|
3467
|
-
return (h("div", { key: '
|
|
3543
|
+
return (h("div", { key: 'a78ff0e81453f9a41fdc5ad6a508d491f521141c', class: "hint-container" }, this.showHint && (h("div", { key: '3a6c774ec83e7917218b2b56c69b5c6206cb47f2', class: "hint-content" }, h("div", { key: '60392c68a1e58fa0fc2ceaeafd1954bde43cb997' }, h("unity-typography", { key: '28779702b2bcc85a2162c5519d3a78fbe4389705', variant: "body" }, " ", this.hint, " ")), this.hideHintText && (h("div", { key: '45c9207bcb15e10e63944bd318521a4832190239', class: "hide-help" }, h("udp-button", { key: '6c9089d29e458cd88ce7031f00379c374c6d5a80', size: "small", color: "info", onClick: this.handleHideHint }, this.hideHintText)))))));
|
|
3468
3544
|
}
|
|
3469
3545
|
};
|
|
3470
3546
|
HintPanel.style = hintPanelCss();
|
|
@@ -3917,51 +3993,51 @@ const TestComponentsPage = class {
|
|
|
3917
3993
|
}
|
|
3918
3994
|
render() {
|
|
3919
3995
|
var _a;
|
|
3920
|
-
return (h("div", { key: '
|
|
3996
|
+
return (h("div", { key: '18fd1e2b16222d67939f34d584cb247541b9478d', style: { display: 'flex', flexDirection: 'column' } }, h("div", { key: '02bc01bb17c3c7043a5a9c3b8f5e3d86184981db', style: { display: 'flex', gap: '1rem', marginTop: '1rem' } }, h("udp-fluent-button", { key: 'd96728eef56f02ebedc75926e7b7122ea6d5d48f', onClick: () => (this.formDrawerOpen = true) }, "Open Form Drawer"), h("udp-fluent-button", { key: 'dc02ee28d0166c79db80aab04054eb848cd823b6', onClick: () => (this.drawerOpen = true) }, "Open Grid Drawer")), h("div", { key: 'c8b5a363454d10c9e195bd05346c0a6ca8dbcfcb', style: { display: 'flex', flexDirection: 'column', gap: '1rem', marginTop: '2rem' } }, h("h4", { key: '865584cb486ba2ac34c8d0e27c1c53b2cb8b8549' }, "Scroll Overflow Strategy"), h("udp-fluent-tablist", { key: 'e188f86b1802978af3df11a9d537ad326e5bc8a7', tabList: this.tabs, onTabChange: this.handleTabChange, appearance: "transparent", size: "small", orientation: "horizontal", overflowStrategy: "scroll" }, h("span", { key: '01db61a15f3c186741668732f188d4cf5c4f2e69', slot: "grids-start", style: { color: 'red', fontWeight: 'bold' } }, "!")), h("h4", { key: 'ecd3e1284dc579fa3ee1a5bb0363ea937a237ec5' }, "Collapse Overflow Strategy"), h("udp-fluent-tablist", { key: '4723b79239fe4436493d7efc260b670d34b284fa', tabList: this.tabs, onTabChange: this.handleTabChange, appearance: "contained", size: "small", orientation: "horizontal", overflowStrategy: "collapse" }, h("span", { key: 'b9e2a7dd5ad6301231b4dad70af656b1d3cd4685', slot: "grids-start", style: { color: 'red', fontWeight: 'bold' } }, "!")), h("div", { key: 'abeef3d7ee3bac5924c2592afd6f365b240326f5', style: { padding: '1rem', border: '1px solid #ccc' } }, h("udp-tab-panel", { key: 'eb61a803e375464e46b5f72dc820a627e9e7a96b', id: "buttons-inputs", activeTabId: this.currentTab }, h("div", { key: '2a0d8497841d0ab64ef0a30c169979965f8b64fb', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, h("h3", { key: 'f926cda24a1c4c13645f595f62e4e149c8c69c3a' }, "Buttons & Inputs"), h("div", { key: '2eb539af4874d85d24d421fac642b210f9c0c9c9', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-switch", { key: 'f70ffc102d721b889729ca56c4afb5c69001610b', label: "Toggle Loading", checked: this.isButtonLoading, onValueChanged: e => (this.isButtonLoading = e.detail) }), h("udp-fluent-button", { key: '54deb7b07a11b64733262b922fb2bf41fba6fb0c', loading: this.isButtonLoading, size: "medium" }, h("udp-fluent-icon", { key: 'f40c48bbcdbb758655c35cb9c523e9ccbe85c207', name: "calendar", size: "sm", slot: "start" }), "Loading Button")), h("div", { key: '165ea207e50619dc7e3a4067077bd40aafa78131' }, h("udp-fluent-button", { key: 'e9935ec628416eb61d29b44add2cca8e20e930b2', onClick: () => console.log('Click Me Clicked') }, "Click Me")), h("div", { key: '27a11ef59452800aaa14a7ae63f647866f4c8cc8' }, h("h4", { key: '462a47bc1e711b302a98f9e48d2ad8e71e932a3f' }, "New Icon Props"), h("div", { key: '0555ea5ba31b4b8a638f1e8f5d8740d14285f909', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-button", { key: '8419e42440e708e95d3bcc2175aff2cc0844cda4', startIconName: "checkmark", onClick: () => console.log('Start Icon Clicked') }, "Start Icon"), h("udp-fluent-button", { key: '15bbd7f6967d7230160555a25204e1c649aec7e1', size: "large", onClick: () => console.log('End Icon Clicked'), endIconName: "home" }, "End Icon"), h("udp-fluent-button", { key: 'e31c254a5d5fcf7ed42c6cc9906ac2f4570dcfe2', appearance: "primary", onClick: () => console.log('Primary Clicked') }, "Delete"), h("udp-fluent-button", { key: 'e2c3899cc38919f81965b8e1351abfbb904181ab', startIconName: "checkmark", onClick: () => console.log('Override Icon Clicked') }, h("span", { key: '589d0a176b8a3759abd6f029da097bf373648b59', slot: "start" }, h("udp-fluent-icon", { key: 'cc5d1485b7c194791c08a3dd0624a6c0a4fea36a', name: "home", size: "md" })), "Slotted icon override"))), h("div", { key: '18e7b1a88da22d46d65ce729564799249715830b' }, h("h4", { key: 'f00d7e99402e5139e85acb9bb7c0ebaf4ae6aaf1' }, "Compound Buttons"), h("div", { key: '1fbfb6479b72c893aaff808d32ec7e3e1177741f', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-compound-button", { key: 'dcf049f703ae704131f71347ea38bb3922f63f6c', description: "Hello World", startIconName: "calendar" }, "Compound Button"), h("udp-compound-button", { key: '51dd4ce06638e242a39a7523a4fe6023fabd28f8', appearance: "primary", description: "With End Icon", endIconName: "delete" }, "Primary"), h("udp-compound-button", { key: '40aa6de01635e457a77e36a462e9b5ece70342c6', description: "Custom Slot", size: "small", startIconName: "add", onClick: () => console.log('Compound Button Clicked') }, h("span", { key: '68d6738a7955ef9ef4dcd0267c95c75c492fbef3', slot: "description" }, "Slotted Description"), "Compound")), h("div", { key: 'abe6cf4a133eb05b365fc3a93efe3643df998c41', style: {
|
|
3921
3997
|
marginTop: '1rem',
|
|
3922
3998
|
display: 'flex',
|
|
3923
3999
|
gap: '1rem',
|
|
3924
4000
|
alignItems: 'center',
|
|
3925
|
-
} }, h("udp-fluent-switch", { key: '
|
|
4001
|
+
} }, h("udp-fluent-switch", { key: '77e7ee2da5edc3e263080ca571f4bc15e6fd8286', checked: this.isButtonLoading, onValueChanged: e => (this.isButtonLoading = e.detail) }, "Toggle Loading"), h("udp-compound-button", { key: 'e09407d6dca6f753aa2eb0ac93e7c7acc822153c', description: "Click switch to load", endIconName: "add", loading: this.isButtonLoading, onClick: () => console.log('Compound Button Clicked') }, "Loading Test"))), h("div", { key: '29348f0434db027ef4a6a238eb9c946f3389cb26' }, h("h4", { key: 'a418c179ddeddbe33e66880b77c3d86e5231321f' }, "Toggle Buttons"), h("div", { key: 'e0dbc3715ab95b1310278d68fdca21676288f663', style: { display: 'flex', gap: '1rem', alignItems: 'center', flexWrap: 'wrap' } }, h("udp-fluent-toggle-button", { key: '6465c73ccfaed104247188f188482bc87d30c40c' }, "Toggle Me"), h("udp-fluent-toggle-button", { key: 'cd950d0c4f997601e00eb4a8a718e4779bef1d0d', pressed: true, disabled: true }, "Disabled Pressed"), h("udp-fluent-toggle-button", { key: '9f2fe0d7e57db9edfee1919d47609d19ea5ef7f7' }, h("udp-fluent-icon", { key: '6f7cc6949d7a420a48c428368b111c0d01d135ea', name: "add", size: "sm", slot: "start" }), "Slotted icon"), h("udp-fluent-toggle-button", { key: '8e8efe7e763e03a117c8cfb35843b83ce910f458', endIconName: "settings" }, "End Icon Prop"), h("udp-fluent-toggle-button", { key: '3bd0fba6ceb225b06c0e0e3fed6b7d936f5f1ae7', size: "small", startIconName: "add" }, "Small"), h("udp-fluent-toggle-button", { key: '02bee72f400db00c372cb17c3af6e2bfe0fcc2b4', size: "large", endIconName: "delete" }, "Large"))), h("div", { key: '29ef4453c85d70b606e0c2e68b7fdfc3276c2eee' }, h("h4", { key: '74c9c72c7c428a447b2cf5f6faecc28fd3bb8ec9' }, "Icon Buttons (Dynamic Sizing)"), h("div", { key: 'f2f130a2fbf8dc32364004e931ac6274b4c6b165', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("div", { key: '378bfca260b5316241eda7e6dd1d9593a9cbd692', style: { display: 'flex', flexDirection: 'column', alignItems: 'center' } }, h("udp-fluent-icon-button", { key: '3e6a0946b466ca2676265f6cf844dcd9579e4784', iconName: "settings", size: "small", appearance: "primary", ariaLabel: "Edit" }), h("span", { key: '3334c4b877b21a39cba1af3ec8457f3cd9750f05', style: { fontSize: '12px' } }, "Small (Subtle)")), h("div", { key: '987df7d5312cb8c696ecd6cd90f70712ff820e68', style: { display: 'flex', flexDirection: 'column', alignItems: 'center' } }, h("udp-fluent-icon-button", { key: '5ae1c05c47b92b84605876cc9324a7eeb054ac47', iconName: "settings", size: "medium",
|
|
3926
4002
|
//appearance="primary"
|
|
3927
|
-
ariaLabel: "Delete" }), h("span", { key: '
|
|
4003
|
+
ariaLabel: "Delete" }), h("span", { key: '799a55733ec853ca5430dcd919b68e90f4c02dcd', style: { fontSize: '12px' } }, "Medium (Outline)")), h("div", { key: 'bf43d00c8b8611aea1b48d97442d2266edef4650', style: { display: 'flex', flexDirection: 'column', alignItems: 'center' } }, h("udp-fluent-icon-button", { key: '7ecc1f14f8d66e354e0d6b4e068d7a7828cc2a9b', iconName: "settings", size: "large", appearance: "primary", ariaLabel: "Settings" }), h("span", { key: '29a3c337b2453b571e148d71deae5e6a04e5653a', style: { fontSize: '12px' } }, "Large (Transparent)")))), h("div", { key: '400cdfc2d1839fe89b40b95527f1242041ddd6db' }, h("udp-loading-spinner", { key: '770d9fee14999347e87ea55faceb7b9f25413b3f', size: "tiny", appearance: "primary" })))), h("udp-tab-panel", { key: 'd5641ef1ee858b4dc3f4dcd4ccc0332f6ae2fe5c', id: "inputs", activeTabId: this.currentTab }, h("div", { key: 'e68258e8031fa7382fda939b1f43cf31ac0eee6a', style: { display: 'flex', gap: '1rem', flexDirection: 'column' } }, h("div", { key: '693f94ebca450627063bb2eed8271297874af0c0', style: {
|
|
3928
4004
|
padding: '1rem',
|
|
3929
4005
|
backgroundColor: 'var(--colorNeutralBackground3, #f5f5f5)',
|
|
3930
4006
|
borderRadius: '8px',
|
|
3931
4007
|
marginBottom: '1rem',
|
|
3932
|
-
} }, h("h3", { key: '
|
|
4008
|
+
} }, h("h3", { key: '513f34d525312dc44b9af7140713860633148104', style: { margin: '0 0 1rem 0', fontSize: '16px', fontWeight: '600' } }, "Global Property Controls"), h("div", { key: '470349665edd2838c398ed4b4aee6b76eb83d7aa', style: {
|
|
3933
4009
|
display: 'flex',
|
|
3934
4010
|
gap: '2rem',
|
|
3935
4011
|
flexWrap: 'wrap',
|
|
3936
4012
|
alignItems: 'flex-end',
|
|
3937
|
-
} }, h("udp-fluent-dropdown", { key: '
|
|
4013
|
+
} }, h("udp-fluent-dropdown", { key: 'b0fccc2c1c2e3d8a2d9131d0792e621b284a4846', label: "Appearance", value: this.inputControlAppearance, options: [
|
|
3938
4014
|
{ label: 'Outline', value: 'outline' },
|
|
3939
4015
|
{ label: 'Underline', value: 'underline' },
|
|
3940
4016
|
{ label: 'Filled Lighter', value: 'filled-lighter' },
|
|
3941
4017
|
{ label: 'Filled Darker', value: 'filled-darker' },
|
|
3942
|
-
], 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' } }), h("udp-fluent-dropdown", { key: '
|
|
4018
|
+
], 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' } }), h("udp-fluent-dropdown", { key: 'aaa49c92e538276c23688f8b0e6f1a7d3e127cf5', label: "Control Size", value: this.inputControlSize, options: [
|
|
3943
4019
|
{ label: 'Small', value: 'small' },
|
|
3944
4020
|
{ label: 'Medium', value: 'medium' },
|
|
3945
4021
|
{ label: 'Large', value: 'large' },
|
|
3946
|
-
], 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' } }), h("udp-fluent-switch", { key: '
|
|
4022
|
+
], 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' } }), h("udp-fluent-switch", { key: 'f4dd58ec18f4267e94f0b2c573f74f9327fffe12', label: "Required", labelPosition: "after", checked: this.inputControlRequired, onValueChanged: (e) => (this.inputControlRequired = e.detail) }), h("udp-fluent-switch", { key: '3be21e9c65642fef6a460dde0c8c40bbcca4cefb', label: "Disabled", labelPosition: "after", checked: this.inputControlDisabled, onValueChanged: (e) => (this.inputControlDisabled = e.detail) }), h("udp-fluent-switch", { key: '1c32caf01a25f329612fd842e0e783ffa7849b0e', label: "Readonly", labelPosition: "after", checked: this.inputControlReadonly, onValueChanged: (e) => (this.inputControlReadonly = e.detail) })), h("p", { key: 'e9f6b6f6220d1dfeb84fb20aeae02ce5c8463ae6', style: {
|
|
3947
4023
|
margin: '0.75rem 0 0',
|
|
3948
4024
|
fontSize: '12px',
|
|
3949
4025
|
color: 'var(--colorNeutralForeground3)',
|
|
3950
|
-
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), h("udp-fluent-text-input", { key: '
|
|
4026
|
+
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), 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" }), 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" }), 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' }), 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' }), 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' }), 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' }), 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' }), h("udp-fluent-dropdown", { key: 'db113f63b32df3e68f7c01db4ae2b9fdf7488fa5', label: "Dropdown", placeholder: "Select an option...", appearance: this.inputControlAppearance, disabled: this.inputControlDisabled, optionValue: "value", optionLabel: "label", options: [
|
|
3951
4027
|
{ label: 'Option 1', value: 'option1' },
|
|
3952
4028
|
{ label: 'Option 2', value: 'option2' },
|
|
3953
4029
|
{ label: 'Option 3', value: 'option3' },
|
|
3954
|
-
], controlSize: this.inputControlSize, multiple: true }), h("udp-autocomplete", { key: '
|
|
4030
|
+
], controlSize: this.inputControlSize, multiple: true }), h("udp-autocomplete", { key: '95c1b10281dbcaead9ee9ace69b876a98b022396', label: "Autocomplete", placeholder: "Type to search...", appearance: this.inputControlAppearance, disabled: this.inputControlDisabled, optionValue: "value", optionLabel: "label", options: [
|
|
3955
4031
|
{ label: 'Apple', value: 'apple' },
|
|
3956
4032
|
{ label: 'Banana', value: 'banana' },
|
|
3957
4033
|
{ label: 'Cherry', value: 'cherry' },
|
|
3958
4034
|
{ label: 'Date', value: 'date' },
|
|
3959
4035
|
{ label: 'Elderberry', value: 'elderberry' },
|
|
3960
|
-
], controlSize: this.inputControlSize }), h("udp-fluent-checkbox", { key: '
|
|
4036
|
+
], controlSize: this.inputControlSize }), h("udp-fluent-checkbox", { key: 'b3fc1e57916a147d5736749b526751bfca871a80', label: "Checkbox", hint: "Check me!", disabled: this.inputControlDisabled, controlSize: this.inputControlSize, checked: true }), h("udp-fluent-switch", { key: '97d1d64178f414b8223655f9307f26b6294682dd', label: "Switch", labelPosition: "after", disabled: this.inputControlDisabled, checked: true }), h("udp-slider", { key: '905aafcb2c5fe754e23039aa440c4caade3f62f6', label: "Slider", min: "0", max: "100", hint: "Slide to adjust value", disabled: this.inputControlDisabled, value: '50' }), h("udp-fluent-radio-group", { key: 'c732b48e0748b267eeb64188bd16f536289dac8e', label: "Radio Group", disabled: this.inputControlDisabled, items: [
|
|
3961
4037
|
{ label: 'Option A', value: 'a' },
|
|
3962
4038
|
{ label: 'Option B', value: 'b' },
|
|
3963
4039
|
{ label: 'Option C', value: 'c' },
|
|
3964
|
-
], value: "a" }))), h("udp-tab-panel", { key: '
|
|
4040
|
+
], value: "a" }))), h("udp-tab-panel", { key: 'd97e34e16715ae7d0829eff6088266e1e1a7e260', id: "data-display", activeTabId: this.currentTab }, h("div", { key: 'cb2671d8c031c9f539cd3ed620ff63e0332c171e', style: { display: 'flex', flexDirection: 'column', gap: '3rem' } }, h("div", { key: '86ba6ac4a3c453dd1df106ac96f8a06b400d3b88' }, h("h3", { key: '669f25398ab074d2ce9e0c8e1c27ab714f0c78d5' }, "Tree Example - Animal Kingdom (Conservation Status)"), h("p", { key: '0b70be4351b3ac875a4f1b7341e7d3207e677ac0', style: { fontSize: '14px', color: '#6b7280', marginBottom: '1rem' } }, "Explore the animal kingdom with conservation status, population data, and more."), h("udp-tree", { key: 'f4922134ab3830c448d3caafc3073eadebba3ead', treeItems: this.animals, itemContent: "name", itemStart: "emoji", itemEnd: this.getStatusBadge, itemAside: this.getItemAside, size: "medium", appearance: "subtle" })), h("div", { key: '9d2b4dc4c14dd3acdf44e58f621077f67b1a52c5' }, h("h3", { key: 'ae6e716e5e2a3096429af9a23e5e170f15642c9c' }, "Accordion Example"), h("udp-accordion", { key: '8c2821a2b3e27f3d284b6816e365c2d7cf396a96', items: [
|
|
3965
4041
|
{
|
|
3966
4042
|
id: 'simple',
|
|
3967
4043
|
label: 'Simple Item (Default)',
|
|
@@ -3996,29 +4072,29 @@ const TestComponentsPage = class {
|
|
|
3996
4072
|
id: 'complex-slotted',
|
|
3997
4073
|
// complex content provided via slots below
|
|
3998
4074
|
},
|
|
3999
|
-
] }, h("span", { key: '
|
|
4075
|
+
] }, h("span", { key: 'b66732cfea7bfe725e23c7635a7b621622cdfc4b', slot: "complex-slotted-heading" }, h("div", { key: '0a7f608027d0777a5e82a1a65710e780289fa7f4', style: { display: 'flex', alignItems: 'center', gap: '8px' } }, h("udp-fluent-icon", { key: '0d09c3aedff74e787b2037c059b910cdcc1e19bd', name: "star", size: "md" }), h("span", { key: 'b206a765ef525b083b2c4928bc8ba93fe91b009d' }, "Complex Slotted Header"), h("udp-chip", { key: '9bcfea59f286926e2c984628510b2febf13c7cc4', label: "New", color: "success", size: "small", variant: "filled" }))), h("div", { key: 'c8ee672ddf03254b0b9740bc60dce81557f02f95', slot: "complex-slotted-content" }, h("p", { key: 'e38a0ded0a6baab06e8f7c042d5de0cf45c1eb04' }, "This content uses slots for complete control.", h("br", { key: 'dd9edf909e97fac78f1f89957b4e244c2127eb7f' }), h("span", { key: '5ef30ce5d8a2494c9c6aaeb751767511716459c3', style: { fontSize: '12px', color: 'gray' } }, "(Try adding buttons, forms, or any component here)")), h("div", { key: '323ccf8edc9c48bc39176cf0909617008f5477fa', style: { marginTop: '8px' } }, h("udp-fluent-button", { key: '6f68a4ba87fbf2d8bbc43e4a557156b27656f4d9', size: "small" }, "Action A"), h("udp-fluent-button", { key: '56be5791276760bcd7f05fd2cfb749422775e5f2', size: "small", appearance: "outline" }, "Action B"))))), h("div", { key: 'd02d94d9be847faa1709d1e4a68516d77f7c7db3' }, h("h3", { key: 'fee65b325dff74c7bf934e4fec42dbf3155f4e94' }, "Auto-Wrapping Tooltip"), h("udp-tooltip", { key: '34d0c49953196771799789f63ef5b904e3c4a19c', positioning: "above", content: "This works with Shadow DOM!" }, h("udp-fluent-button", { key: '784d77c9bd4519d2a437f309d9b161bde1deb7c4' }, "Hover me"))), h("div", { key: '8eb47166f7ad4e61ef8935335d3c3263d57c4f5a' }, h("h3", { key: 'c7eaf4de0b577199bd0ae32d5f041dce2f51eea9' }, "Message Bar Example"), h("div", { key: '5bd59b72cb678981cc957eb5c8ff6a43a36e1d07', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, h("udp-message-bar", { key: '31d5c36e13bd4d51d4bab07200a283262fefbe4d', intent: "info" }, "This is an informational message bar."), h("udp-message-bar", { key: '2e38698ce837366237bfe5b750df9457e086d340', intent: "warning" }, "This is a warning message bar."), h("udp-message-bar", { key: 'cd3e427b54465fc89e1fb0cc6630a8d876ff8afb', intent: "error" }, "This is an error message bar with actions.", h("udp-fluent-button", { key: '8062f967f35abac9592e68a62313908458a41ab6', slot: "actions", appearance: "outline", size: "small" }, "Resolve")), this.showMessageBar && (h("udp-message-bar", { key: 'caf4885994aa2c24f7a2293b58ce06f308e159b4', intent: "success", shape: "square" }, "This is a success message bar (square).", h("udp-icon", { key: '6f6cba2fd518ab0d4e6167a96e62c49112a53cae', iconName: "add", slot: "icon" }), h("udp-fluent-icon-button", { key: '687306eec350a667762ea6be4de0165422c7fb19', iconName: "dismiss", shape: "circular", appearance: "subtle", ariaLabel: "Close drawer", onClick: () => (this.showMessageBar = false), slot: "dismiss" }))))), h("div", { key: 'a6b8ba45f3b1c446f4234b3ae2bc7a1023b22209' }, h("h3", { key: 'd2abc1af7289acee227d7453f79c0958690356f5' }, "Progress Bar Examples"), h("h4", { key: 'ddacffd4686af357700ca2ef7d28967046ec27c2' }, "Indeterminate"), h("udp-progress-bar", { key: '4ef7e742ada98154ac081859c5c1f75bba9d1961', thickness: "large" }), h("h4", { key: 'aa0f1525da28713b217eb3bf6b11b8e8780bce84' }, "Determinate (Success)"), h("udp-progress-bar", { key: 'cb9bca3fd9363a661e1f78dac6d4b4369a578c14', value: 75, validationState: "success", shape: "square" }), h("h4", { key: 'b27052b858bda8ff312cd4ea90dd19a5c8e6e533' }, "Interactive"), h("div", { key: 'd7241c016eb7f6a60c62964c0c1886c54cb4f33c', style: {
|
|
4000
4076
|
display: 'flex',
|
|
4001
4077
|
gap: '1rem',
|
|
4002
4078
|
alignItems: 'center',
|
|
4003
4079
|
marginBottom: '1rem',
|
|
4004
|
-
} }, h("udp-fluent-text-input", { key: '
|
|
4080
|
+
} }, 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)) })), h("udp-progress-bar", { key: 'fc1e22576cd1acae21307f80388c9f1182bba1c9', value: this.progressValue, min: 0, max: 100, shape: "square" })), h("div", { key: 'bf51a5ba241328220b0ffd0bf10aa8a18df83ad5' }, h("h3", { key: 'c6dab2c6ecbf39e3e029b32194969cb050f6ef46' }, "Divider Examples"), h("p", { key: 'd1b2424e9bd793ee449d28452d88aa39481fdf80' }, "Default Divider:"), h("udp-fluent-divider", { key: 'd96dd4b454a939aa2351374637b49a71800cab1c' }), h("p", { key: 'ff0a186881e1723e4a5ff83f7f81eda3be8c79d6' }, "Align Content:"), h("udp-fluent-divider", { key: 'fef45a9fbed856ca138198fdce91e51db7d6fc12', "align-content": "start" }, "Start"), h("udp-fluent-divider", { key: '7b62454ed6951d49a164aabec1be847b9cf9f985', "align-content": "center" }, "Center"), h("udp-fluent-divider", { key: '82190bf35ec0b7601c762407ffdf036ab9067393', "align-content": "end" }, "End"), h("p", { key: '58f6d634eda9a2546028255dbaed2e59e2f3f8dd' }, "Appearance:"), h("udp-fluent-divider", { key: 'd470d247e6ba0762b240807a25bd8e78686eb6e4', appearance: "strong" }, h("udp-icon", { key: '978c37c09cfea4209a4056bb9438078de0f0c1b2', iconName: "add" })), h("div", { key: '70da8077e765bc299412d79bcb0453829c84c566', style: { height: '10px' } }), h("udp-fluent-divider", { key: 'd48b95b6bd32e32627b6a21b8d4d894327c91d74', appearance: "brand" }, "Brand"), h("div", { key: '8de5fb22b4bb7c83c4bca20eae0323f6aa32ea85', style: { height: '10px' } }), h("udp-fluent-divider", { key: 'fa7e332332fb57b289209203c77675deed195369', appearance: "subtle" }, "Subtle"), h("p", { key: '018be2298666fe3c83790020b2ce1463474f2734' }, "Vertical Divider (inside flex container):"), h("div", { key: '7d462f49deeb78d74d46621974387d66cba1c308', style: {
|
|
4005
4081
|
display: 'flex',
|
|
4006
4082
|
height: '50px',
|
|
4007
4083
|
alignItems: 'center',
|
|
4008
4084
|
border: '1px solid #ccc',
|
|
4009
4085
|
padding: '10px',
|
|
4010
|
-
} }, h("span", { key: '8c92b588e0ce6d680299900e872ecf1b83ea4ef6' }, "Item 1"), h("udp-fluent-divider", { key: 'ac670e8728e86b259963a9b5cb8b60a68d2af07b', orientation: "vertical" }), h("span", { key: '64273f23f08844d0f2e5cc6225f058f6513af282' }, "Item 2"), h("udp-fluent-divider", { key: 'df2dbb976e2d83d8eebe607e43b686b359baef78', orientation: "vertical", appearance: "brand" }), h("span", { key: 'be9474d6e7b30fcd6c211ffab38e0d08dad5a508' }, "Item 3"))), h("div", { key: 'cfcbd4ca6912e200fbe40078c10ce766e5af839e' }, h("h3", { key: '190a491545df2cdb08a0d5b4cb68e0737b2863e8' }, "Fluent Icon Examples"), h("p", { key: '91396ee260f1e728ee5689f8ec9f463791fb3f7f' }, "Basic usage (new simplified API):"), h("div", { key: '3af714fd99015f0422bdf335d2361a2b5a0c55cc', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: '15917118b424768cafab454f6b93f11dbdc5fab4', name: "add" }), h("udp-fluent-icon", { key: '28b2def8ff76f0b9ff5e7afbb0f3d5f38d9a9f78', name: "home" }), h("udp-fluent-icon", { key: '1750fd69f1708530e95432aad8f3faa1b5be2c0e', name: "settings" })), h("p", { key: '0152d8844544e93e7745cb92ec1bb6f7339fa8a6' }, "Colored:"), h("div", { key: '2cd57620b53acea6db22f9004da6de3aa00d5ebb', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: '3936e5a63965e05729d1532f5b3bb8a7d5a50ee0', name: "add", variant: "filled", color: "green" }), h("udp-fluent-icon", { key: 'de12083e929af616a5165aa18a8b8b3cfdb022c9', name: "delete", color: "red" })), h("p", { key: '8f976c69d0d18d3b8e869adc19d7a267107f28c4' }, "Sizes (xs=16px, sm=20px, md=24px, lg=28px):"), h("div", { key: '2efe4d8046e2a31992f408a043bada0dcca9b0be', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: 'f84e1a86c50163333088dbac56314c6a6e84d808', name: "home", size: "xs" }), h("udp-fluent-icon", { key: '16157719c8f4866e30ed1e125d68ec40e3f01cef', name: "home", size: "sm" }), h("udp-fluent-icon", { key: '1fa07db545f49646fccb543609d9e42d685815bf', name: "home", size: "md" }), h("udp-fluent-icon", { key: '62ce1ed3976ed4fb8f745669cd9615105515ade8', name: "home", size: "lg" })), h("p", { key: '743a4e9117b4fe77dd20d414ce3b2b65fff999ce' }, "Variants (regular vs filled):"), h("div", { key: '8bfe6255bf2da19a129ab705f62ea0528f6301ac', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: '4fd9cc68f90f8bdf86595b72546755b35297a024', name: "star", variant: "regular", size: "lg" }), h("udp-fluent-icon", { key: '7334bea31b94c47853d038d2f7a81dcae028d477', name: "star", variant: "filled", size: "lg", color: "gold" }))))), h("udp-tab-panel", { key: '9db2f82fba1a0a05e59d31ee6fd46c6272ffce28', id: "text", activeTabId: this.currentTab }, h("div", { key: '83af21bbf7efc0eccb2032cdf0cd19de10188342', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, h("h3", { key: '8b368f4a3f5210f4239ee29a3e78307c6e067e4f' }, "Text Component - All Variants"), h("div", { key: 'acd9be76cc701c72b33426f72f9632f53a553089' }, h("h4", { key: '6ea9334d927891b1f2afebe1efdc393205fc6811' }, "Display Variant"), h("udp-text", { key: 'cb90cdef80605123c77ea8780b8b8fad94457b70', variant: "display" }, "Display Text (h1)")), h("div", { key: '0594a8081302411cc4f0149aa5d819f4b6d3b280' }, h("h4", { key: 'd1dc30fea186aaaefebc8e848bc4b0b990bd4a17' }, "Large Title Variant"), h("udp-text", { key: '13d20906d11dc483541d20ccceecbd2df94055ee', variant: "largeTitle" }, "Large Title Text (h2)")), h("div", { key: '0b413bfc4fe784f30058c182fdda9d199c716f62' }, h("h4", { key: 'e339075c4ba3cae25fda3836b6b961b1e5954d1b' }, "Title Variants"), h("udp-text", { key: '0a97e37ed06f85256524ab0e227a3fdbc6392012', variant: "title1" }, "Title 1 Text (h3)"), h("udp-text", { key: 'c0d011cc198ba56ce8551c481ef08aa6cdd51566', variant: "title2" }, "Title 2 Text (h4)"), h("udp-text", { key: '5ef752ca16ee82bd3937f9c69ee540ba8afb0c50', variant: "title3" }, "Title 3 Text (h5)")), h("div", { key: 'a5468878fc77f6b8846d41e18a6c30e812a81d30' }, h("h4", { key: '153af75a4ad4aa62e6eccf011c4bee7d50ea101e' }, "Subtitle Variants"), h("udp-text", { key: '9f3a7f3b9dad9366559c561ae20c36686a3b985f', variant: "subtitle1" }, "Subtitle 1 Text (h6, medium weight)"), h("udp-text", { key: 'ef5bb59cb9b9a58897f03393fbe5d6f155bda435', variant: "subtitle2" }, "Subtitle 2 Text (h6, semibold weight)")), h("div", { key: '219faaa502fe2e7760ea24719bc688abf5000295' }, h("h4", { key: '084e2272cc2c2cbf3726f5ccecc7ecd3eed582dd' }, "Body Variants"), h("udp-text", { key: 'b37b9c076c3f17cf2600b280a28b6719814e460a', variant: "body1" }, "Body 1 Text (p) - This is the default variant. Lorem ipsum dolor sit amet, consectetur adipiscing elit."), h("udp-text", { key: 'b7209e5c8aa847e2205f27b678ef897ba20c3174', variant: "body1Strong" }, "Body 1 Strong - Semibold weight for emphasis."), h("udp-text", { key: 'ba26ead95e1541f147c214cd9c382e7b10382e07', variant: "body1Stronger" }, "Body 1 Stronger - Bold weight for strong emphasis."), h("udp-text", { key: '27c9c7f8af8dd15acd11d91ada9da9ab2c71a7fe', variant: "body2" }, "Body 2 Text - Slightly larger than body1.")), h("div", { key: '73a1bd101121e9140db1bc82f1d19640550b34cc' }, h("h4", { key: 'c073ada3dda83054cc769338252736f067cb9999' }, "Caption Variants"), h("udp-text", { key: 'bfdede800d3dbc749435a44344f070df797e9d18', variant: "caption1" }, "Caption 1 Text (span, inline)"), h("br", { key: '0d841b519988a32b49b5eeea9b046e3a9b7f8711' }), h("udp-text", { key: 'b59d1ade577840b4e326b4237b331e00c4820de5', variant: "caption1Strong" }, "Caption 1 Strong (semibold)"), h("br", { key: '54e8e7482eea9c382f391eb2f6e9a41e74c8c2f9' }), h("udp-text", { key: '26e51ac111ccde52d83fb73320b3a972dc3d06a6', variant: "caption1Stronger" }, "Caption 1 Stronger (bold)"), h("br", { key: '7e32158fa44653f354bf3cf2fad4783459983a8c' }), h("udp-text", { key: 'a218c9abe6264d6342247235fca255b5c8f3c98d', variant: "caption2" }, "Caption 2 Text (span, inline, smaller)"), h("br", { key: '1553d008e5ad42c3f1065169ef5a74795ea68e63' }), h("udp-text", { key: '4d1e1d680649fc27c99a8b0d278c5f1a70d9167f', variant: "caption2Strong" }, "Caption 2 Strong (semibold)")), h("div", { key: 'e87d3c95bbff0a53ebea6e4f6c33c2a86186ac19' }, h("h4", { key: '3540e4dd7e4732ca0d27dfc6b49dc4e6c3cbd87c' }, "Text Alignment"), h("udp-text", { key: 'bf4f919ac0a3500ecf4eb2d015aa69444a40c2ef', variant: "body1", align: "start" }, "Aligned to start"), h("udp-text", { key: '307c05c629fee01863dfc51f9e69bb4c09b5fd16', variant: "body1", align: "center" }, "Centered text"), h("udp-text", { key: 'a45d93359c5183f976710b0357139a11da8675f2', variant: "body1", align: "end" }, "Aligned to end")), h("div", { key: 'c66792670689674d8368e8f23c8153aeddec3157' }, h("h4", { key: 'a8bf1cf71f79e6807cf5a4c75bf4d3ec5d620f1f' }, "Text Styling"), h("udp-text", { key: '88b71d91243c6a41dd7ef2ba64b6d3ad48e67613', variant: "body1", italic: true }, "Italic text"), h("udp-text", { key: '72e838042af8cf6950aafd4f9a234ca21d20a245', variant: "body1", underline: true }, "Underlined text"), h("udp-text", { key: 'b2fd7fe317b3624753fc672f16a41be2b66051e9', variant: "body1", strikethrough: true }, "Strikethrough text"), h("udp-text", { key: 'b2bc1d0653ca6a89484f8bc9c8b6d95edf55271b', variant: "body1", weight: "bold" }, "Bold text")), h("div", { key: 'd48fdc3fecf267ceb2870cfb74018460e5adbd48' }, h("h4", { key: '454e4fce9a96297e585346073ffa9372a55f73e9' }, "Custom Semantic Tags"), h("udp-text", { key: 'fe9c336cb8efcf9d326364f7b0182318ff7af3c3', as: "h1" }, "text as h1 element"), h("udp-text", { key: '7f1cfa6315cbb2c82a346c6336a49dcdf86b0608', variant: "caption1", as: "p" }, "Caption text as paragraph")), h("div", { key: '40f582a367d1c44926809633c03a66057254e52e' }, h("h4", { key: '005155481a80ea0d7047cd7dd5715796e156cfe2' }, "Font Variants"), h("udp-text", { key: '67be68d64d536939231a867c7df2b92cfa9f6c09', variant: "body1", font: "base" }, "Base font (default)"), h("udp-text", { key: '567e609c000db897373538ea6ee4b81d9d0fc323', variant: "body1", font: "numeric" }, "Numeric font: 1234567890"), h("udp-text", { key: '3390a98f6fe68347b3a31c44a226988c1a9676f4', variant: "body1", font: "monospace" }, "Monospace font: const x = 42;")), h("div", { key: '18ed7e064583035272aeba32ce31a67cf5f637fc' }, h("h4", { key: '221d81530105636147f9c4ca0886a2a52f13b0d6' }, "Size Override"), h("udp-text", { key: '0c5ce80d5a5040aaa2151867f4b2044033a59b6e', variant: "body1", size: "200" }, "Body variant with size 200"), h("udp-text", { key: '7e18d7980f5ac91e29d0f18a12234f86e90e1716', variant: "body1", size: "600" }, "Body variant with size 600"), h("udp-text", { key: 'f1412636857185dd8f102ca1eb3947dd951f517a', variant: "body1", size: "1000" }, "Body variant with size 1000")), h("div", { key: 'd0200e30db936f030cb961a0231fc033d37e2ff6' }, h("h4", { key: '4caa25b87caf88ddadbc72e58ee531b7bc605449' }, "Lists"), h("udp-text", { key: 'd3176b87e06d9c8e5d382271f5e672b6dcde5883', variant: "body1", as: "ul" }, h("li", { key: '416077dcbaf5d53f75e62df19b770b1a735feb9e' }, "First list item"), h("li", { key: '04fbb0b39f49b81a10f6b8053753c32676c68ef7' }, "Second list item"), h("li", { key: 'dc6ef2fb3f78ccfc892c5449726473844d5c9ab7' }, "Third list item")), h("udp-text", { key: '62481148871dd5bc604eebfe09f48cef7d0c33ea', variant: "body1", as: "ol" }, h("li", { key: '2a03d35219ff23d3c638f82a147d87b51e1a81a1' }, "First ordered item"), h("li", { key: 'bd683585dd8d149fa51e11ec6618099555b8b745' }, "Second ordered item"), h("li", { key: 'e3f4fe46ef255704f824221dd26632a0150322a1' }, "Third ordered item"))))), h("udp-tab-panel", { key: '0d1e1ef1bb4750094bab0432778ebfbccbc854f1', id: "menus", activeTabId: this.currentTab }, h("div", { key: 'f2756e002f43c7ac80b8813a98c8dbab5118d266', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, h("div", { key: '8c6b85b98bca1284d4d70756d28a387426e91329' }, h("udp-fluent-menu", { key: 'f2c178275639d52ced39a9edbd1451e01a9b1a16', items: this.nestedMenuItems, label: "Nested Menu" })), h("div", { key: 'bf1b5c8c78c93fe8c51dd5d377c0fa168c5d7483' }, h("udp-fluent-menu", { key: '54d97e24052656e46953994886e54d3fcf011b8d', items: this.sectionedMenuItems, label: "Sectioned Menu", endIconName: "add" })), h("div", { key: '6acdc5b81be01e792aaeba3b82ac2616880e3ea9' }, h("udp-fluent-menu", { key: 'ea09b525fc86ec1f1a41a75235ba61d8adbe8d97', items: this.iconMenuItems, label: "Icons & Slots", startIconName: "grid_20_regular" }, h("div", { key: '1b8bba35b24bc0d69001f15738b83cd3db2081c0', slot: "slot-test-start", style: { color: 'magenta', fontSize: '20px' } }, "\u2605"), h("span", { key: 'c8622139907b2237a930e2cbe2102d35bcabc849', slot: "slot-test-end", style: {
|
|
4086
|
+
} }, h("span", { key: '9c536758a479932f8f4f54614cb180e9c1aa78cb' }, "Item 1"), h("udp-fluent-divider", { key: '2ad56a2c8e5f52e6a8f8092f3de5e28e1824e039', orientation: "vertical" }), h("span", { key: '19dedd768b1c3648ca60be64f0a356d961a329ce' }, "Item 2"), h("udp-fluent-divider", { key: 'c6786fdab46bc71d75ae3efb464aac11cc17c909', orientation: "vertical", appearance: "brand" }), h("span", { key: '773cbe3e42de7cef18ca8276bf3c0f881b4762fe' }, "Item 3"))), h("div", { key: '1e21d5271014c6c140206f4a2ecbb8de98e3138e' }, h("h3", { key: 'eeb2482a54835838f07c839d40221f8cbdf9f755' }, "Fluent Icon Examples"), h("p", { key: 'd2ca68ced36bcfa7ed903e3cbc703874b35e73ae' }, "Basic usage (new simplified API):"), h("div", { key: '64160db90bfae6e46d6667932b8ac0f65c3384d7', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: '319909555a11f617af725045b314924b5651f683', name: "add" }), h("udp-fluent-icon", { key: '30fa70dd5749b09c6d6829f36c8d108e1cb27216', name: "home" }), h("udp-fluent-icon", { key: 'd5e9c72d7727683c623e49020c278b84e2291612', name: "settings" })), h("p", { key: 'e8f94640df5d28636a8cfc3194607a5660aab17d' }, "Colored:"), h("div", { key: 'd8a3b6b83070363a1bfe7fe2bc291e07e22fc405', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: 'bc10d66fe0642c0c9ad026e0c319954a490f262b', name: "add", variant: "filled", color: "green" }), h("udp-fluent-icon", { key: 'ff2db398450d840cce52a979caf8111be44cdd0b', name: "delete", color: "red" })), h("p", { key: 'fbbab90b75bb6a7720f3bda0dc7d7e5dbe0270ae' }, "Sizes (xs=16px, sm=20px, md=24px, lg=28px):"), h("div", { key: '26174d1a6f0e684b34fdf0280be394508801c597', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: 'd06924017cbd8e479bd353ae38f538a7404f7817', name: "home", size: "xs" }), h("udp-fluent-icon", { key: '59eb40f32db2fd5f72a930aed63c89d40bf38218', name: "home", size: "sm" }), h("udp-fluent-icon", { key: '0952b306ca9757a4fced2d928202f290adb12c10', name: "home", size: "md" }), h("udp-fluent-icon", { key: '655e5bd595009c4766846882b60b48d02f93f5bc', name: "home", size: "lg" })), h("p", { key: '5bad35bab2833570c01e89f9fddeb343e4ff41ac' }, "Variants (regular vs filled):"), h("div", { key: '0386e72896a59312ca908ee485347ad0c558cfb5', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: '7b50d25b4e561b926c9394c91d020aa0148eb9a1', name: "star", variant: "regular", size: "lg" }), h("udp-fluent-icon", { key: 'fe858546a164c7e32a91be32d8c662d25698c939', name: "star", variant: "filled", size: "lg", color: "gold" }))))), h("udp-tab-panel", { key: 'd62878961d3b0a8f4394472999d83a4d220c5acb', id: "text", activeTabId: this.currentTab }, h("div", { key: '2a51515fe0369799a67209dbc59f4d6a35082d5c', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, h("h3", { key: '5406c5f3e4702e22fac9bd8624da447fd4f9c0ae' }, "Text Component - All Variants"), h("div", { key: '6dee4043ffe919ef8a1e9005ed413754c9e93454' }, h("h4", { key: '698afdde200edac50edc2279022fba23461eabe8' }, "Display Variant"), h("udp-text", { key: '182931dd756158f3833985bf78b1573abf99307f', variant: "display" }, "Display Text (h1)")), h("div", { key: 'fcc308404f8f80aab3973443438c01752e708bb5' }, h("h4", { key: 'b3c1721c93ee8d989c4f7d94dc45ce8f5edec7fe' }, "Large Title Variant"), h("udp-text", { key: '7eea714831f7d53ee2e42ff6d16786d82f5a28ee', variant: "largeTitle" }, "Large Title Text (h2)")), h("div", { key: '084c1f1ea26b0991cb5596359f652d4d92d1f717' }, h("h4", { key: 'f24333c26493e41b20a3d438d1d310dd6cf86504' }, "Title Variants"), h("udp-text", { key: '4105b06c86225350a0319cb3a8286546774edf6d', variant: "title1" }, "Title 1 Text (h3)"), h("udp-text", { key: '58019fca85b3139ea2412a565e2e7fd418cef8b5', variant: "title2" }, "Title 2 Text (h4)"), h("udp-text", { key: '6a4ff548636e6850abf3d4230ca10a85eb338ff9', variant: "title3" }, "Title 3 Text (h5)")), h("div", { key: '9572a763eec350f4d5fa1b378bb18cc9418d3f3d' }, h("h4", { key: 'e2e8c2ce6f90a1b38751a99bdb2776bf459ae278' }, "Subtitle Variants"), h("udp-text", { key: '27a83dac7688da2d2a1e9f75aa8218b029d054ec', variant: "subtitle1" }, "Subtitle 1 Text (h6, medium weight)"), h("udp-text", { key: '0d372ac0feebf01c6a334e902d215d84c1e3a529', variant: "subtitle2" }, "Subtitle 2 Text (h6, semibold weight)")), h("div", { key: '2dc356d1d41e8211a69af5ec04ba8fd3dd1066b0' }, h("h4", { key: 'b5eb4df494afeb6ab3a64456f02331e9f677a9bf' }, "Body Variants"), h("udp-text", { key: '441e5a312f1976a9535cbe7b1b578188996b0d37', variant: "body1" }, "Body 1 Text (p) - This is the default variant. Lorem ipsum dolor sit amet, consectetur adipiscing elit."), h("udp-text", { key: '4623e2b4a5a98c2c401234a047aceee96ed0058b', variant: "body1Strong" }, "Body 1 Strong - Semibold weight for emphasis."), h("udp-text", { key: 'f8b4081602ad5aad71f560761915079d3c0864c4', variant: "body1Stronger" }, "Body 1 Stronger - Bold weight for strong emphasis."), h("udp-text", { key: 'f069c935c137e27b3298a33c5549dbd40151d4ad', variant: "body2" }, "Body 2 Text - Slightly larger than body1.")), h("div", { key: '92e71c442484dcaf6f5d50d220e7b81b35e752ba' }, h("h4", { key: 'e59f7adb2b362a1b296a07203183887544ce6c9d' }, "Caption Variants"), h("udp-text", { key: 'd6d79b95c544a10d314237e7b3a5419a822c4228', variant: "caption1" }, "Caption 1 Text (span, inline)"), h("br", { key: '4878a0e239a4a4f26434959643aacdd80a56d8be' }), h("udp-text", { key: 'b20f5042b9ef57e8591df1fc4fb79b0d6e76c12f', variant: "caption1Strong" }, "Caption 1 Strong (semibold)"), h("br", { key: '4140d1dc1fe1875750dd8a3f5c5fee4468de05fa' }), h("udp-text", { key: 'c3d656195c21bd994dc6b38cd44a8b7020916756', variant: "caption1Stronger" }, "Caption 1 Stronger (bold)"), h("br", { key: '928c8f55d6d119867fce39628a9279c963dde66a' }), h("udp-text", { key: '19e2a178e47327f6928fb8eaade9e39abecf0c60', variant: "caption2" }, "Caption 2 Text (span, inline, smaller)"), h("br", { key: '26feafd43024da6028049304f37ba6962655791f' }), h("udp-text", { key: '116068aa1aafa8c8636d57bacd38f2c262fb34e0', variant: "caption2Strong" }, "Caption 2 Strong (semibold)")), h("div", { key: '334b24a6919dee7556bb1f03866665cb8d5dfac8' }, h("h4", { key: '6c359cae16b4daa9b357b6630b2e1c9c6870bce9' }, "Text Alignment"), h("udp-text", { key: '1c499722ff2f1e880ab4a6a98b5b8b9ab6251cfb', variant: "body1", align: "start" }, "Aligned to start"), h("udp-text", { key: 'f90b7cbbb10ea87d67b5426646240443eb54fae4', variant: "body1", align: "center" }, "Centered text"), h("udp-text", { key: 'fb3656d44b60ebc7242929b38ba1fea377e59ff8', variant: "body1", align: "end" }, "Aligned to end")), h("div", { key: '0a3097287df0e606466f4e247bf69c5591eb2766' }, h("h4", { key: 'b83eb383b2a24f5bb3e64d0bf320787ad5384879' }, "Text Styling"), h("udp-text", { key: '23865f82140cf41ddcbc004651d4b0268e20ac20', variant: "body1", italic: true }, "Italic text"), h("udp-text", { key: 'e076a86c6c5604eec9d355bceceb07ca08726b9d', variant: "body1", underline: true }, "Underlined text"), h("udp-text", { key: '9191664a3061ff2874fd2a480c488f6a81a6e58b', variant: "body1", strikethrough: true }, "Strikethrough text"), h("udp-text", { key: '244202da0b3e7b8126e19eabda79cd21cff1d14f', variant: "body1", weight: "bold" }, "Bold text")), h("div", { key: '05265de3226b634e5dc56f91ac80d0e247afa084' }, h("h4", { key: 'cf06f1181bfb82b7f2af014f3be03605e264e8af' }, "Custom Semantic Tags"), h("udp-text", { key: '657d7572ea44cd24a9943ecd99c1c8f4c2a63735', as: "h1" }, "text as h1 element"), h("udp-text", { key: 'e2c2b0200ebf140e97c72b9a0c9ab342efa96bf6', variant: "caption1", as: "p" }, "Caption text as paragraph")), h("div", { key: 'c64e48f04f6dc09c629ed89190af101d1ed7ef14' }, h("h4", { key: '088c6ecb22631ec61eb78931ae75b01aec209e2b' }, "Font Variants"), h("udp-text", { key: '55bba0a3ca3539a56643dc6ee2e4452596871237', variant: "body1", font: "base" }, "Base font (default)"), h("udp-text", { key: '8038865ff3b4ef68f5452c464945e1119d6fffd5', variant: "body1", font: "numeric" }, "Numeric font: 1234567890"), h("udp-text", { key: 'c9ecfb61f7a9c7a5b33f6dd45e7df8864cbaa438', variant: "body1", font: "monospace" }, "Monospace font: const x = 42;")), h("div", { key: '09a6b9dc94ae8c582441dc10f2c0dcc9f097c335' }, h("h4", { key: '471508e89ef5b726edb99a189bf1ace26e022718' }, "Size Override"), h("udp-text", { key: '6d092d9e124da036500edcda958c215bc4e56538', variant: "body1", size: "200" }, "Body variant with size 200"), h("udp-text", { key: '136fa67d986293e3c09ed0b06ef9e99b36b5a9b4', variant: "body1", size: "600" }, "Body variant with size 600"), h("udp-text", { key: '3c2eedf3725966fa9b040f1e0b6550a20c0db341', variant: "body1", size: "1000" }, "Body variant with size 1000")), h("div", { key: '3d2bc1889a4190f943fbf0e4ee1395c36140b0ae' }, h("h4", { key: '9ac13dcda3c4f36cac11083fb44bf5e6c5c765c1' }, "Lists"), h("udp-text", { key: '64afa7ce209a0beb957ad98bf029644d17cb02bb', variant: "body1", as: "ul" }, h("li", { key: '8e8f8569bf015abb2cc16ffcb8c9668fc23e0c73' }, "First list item"), h("li", { key: '54d36c89797a74bf7e20fbcef2f0b2a8088e442a' }, "Second list item"), h("li", { key: 'ece784851c9ff8895f01fd5352b076c0e4391d25' }, "Third list item")), h("udp-text", { key: '27fc9fc87e6d386ca15b51c8db55affccc4bcb35', variant: "body1", as: "ol" }, h("li", { key: '1c11d240c6536a62b15d4e08517cae86e35831f2' }, "First ordered item"), h("li", { key: 'f0846f8a15b7a8ac98b8a8ef0203702290b1b355' }, "Second ordered item"), h("li", { key: 'd9d384f26b47901fef3c388743f09060cd82b6f7' }, "Third ordered item"))))), h("udp-tab-panel", { key: 'fd89c62b0489b1ebfa53eb41ae66422b8128c909', id: "menus", activeTabId: this.currentTab }, h("div", { key: '4d6a6184ecdf173fa19329af7d6d40802cdd3fb5', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, h("div", { key: '1182437d253ba4963e2c4d1564b5012cec7b4645' }, h("udp-fluent-menu", { key: '2b7a985deb1924cd302e7decf4ed45d7c7e28efe', items: this.nestedMenuItems, label: "Nested Menu" })), h("div", { key: '2d3472e8ace0545d3b524be490216034980bc97a' }, h("udp-fluent-menu", { key: '67183e747481208903d9f7afef5d97d8e46b6659', items: this.sectionedMenuItems, label: "Sectioned Menu", endIconName: "add" })), h("div", { key: '14c646efae143204866d324a007207326ff4cb79' }, h("udp-fluent-menu", { key: 'a8a2bb49977be00993aff9dd82f2349f96b8af0b', items: this.iconMenuItems, label: "Icons & Slots", startIconName: "grid_20_regular" }, h("div", { key: '07476735edbce517fe0e6dc34d2035bbd4217be9', slot: "slot-test-start", style: { color: 'magenta', fontSize: '20px' } }, "\u2605"), h("span", { key: '1017731d54414564b262452a0479f43ed69e6f54', slot: "slot-test-end", style: {
|
|
4011
4087
|
backgroundColor: 'red',
|
|
4012
4088
|
color: 'white',
|
|
4013
4089
|
borderRadius: '4px',
|
|
4014
4090
|
padding: '2px 6px',
|
|
4015
4091
|
fontSize: '10px',
|
|
4016
|
-
} }, "NEW"), h("span", { key: '
|
|
4092
|
+
} }, "NEW"), h("span", { key: 'd42909b25a70d86be30c03f8a8de476a9fd01ea2', slot: "end-slot-item-end", style: { color: 'magenta', fontSize: '12px' } }, "Custom"))), h("div", { key: 'a57cbdc0895ea5cc1c9c302a5c7d619efc5c4390', style: {
|
|
4017
4093
|
display: 'flex',
|
|
4018
4094
|
justifyContent: 'flex-end',
|
|
4019
4095
|
border: '1px dashed #ccc',
|
|
4020
4096
|
padding: '1rem',
|
|
4021
|
-
} }, h("span", { key: '
|
|
4097
|
+
} }, h("span", { key: 'c3d0076b82d21442358947711057ee16160515a6', style: { marginRight: 'auto' } }, "Menu Overflow Test (far right):"), h("udp-tooltip", { key: 'fc54d73d9fa7e52c06c064693749f7767534678e', positioning: "before", content: "More Options" }, 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 }))), h("div", { key: '51525e6acadf8e9fdd051c9ba04b904292e92fbd' }, h("h3", { key: '9c3860f49bdaa324f661553313d3237d2037bed6' }, "New Radio Group Example"), h("udp-fluent-menu", { key: '4ddebab79636311097fe0425c2b265a132e0e70f', items: this.newRadioGroupItems, label: "Select Option", onCheckedChange: e => console.log('New Radio Group Change:', e.detail) })), h("div", { key: 'c4433cc35abeec6a9d255900159246b884eeafc4', style: { padding: '1rem', border: '1px dashed #ccc' } }, h("h3", { key: 'd51bb00957015b3818f3de5f741a56a84efc2964' }, "Menu at Bottom (Testing onClick handlers)"), 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" }, h("udp-icon", { key: '827f24cfa29ece9751728ec614043f1a2f5d8512', slot: "start", iconName: "add" }))))), h("udp-tab-panel", { key: '01bdd6349ecd8e59cd583be14b609c3a07bad1d1', id: "grids", activeTabId: this.currentTab }, h("udp-lazy-loader", { key: '9cef28dda34711c3de6159bdc6b1c5c68536b6c1', if: this.currentTab === 'grids', content: () => (h("client-side-grid", { columnDefs: [
|
|
4022
4098
|
{ field: 'make' },
|
|
4023
4099
|
{ field: 'model' },
|
|
4024
4100
|
{ field: 'price' },
|
|
@@ -4029,7 +4105,7 @@ const TestComponentsPage = class {
|
|
|
4029
4105
|
{ make: 'Toyota', model: 'Celica', price: 35000 },
|
|
4030
4106
|
{ make: 'Ford', model: 'Mondeo', price: 32000 },
|
|
4031
4107
|
{ make: 'Porsche', model: 'Boxster', price: 72000 },
|
|
4032
|
-
] })) })), h("udp-tab-panel", { key: '
|
|
4108
|
+
] })) })), h("udp-tab-panel", { key: 'c1c9cceb2ac50b7de4dd74b50012ca476e161340', id: "dialogs", activeTabId: this.currentTab }, h("div", { key: '416b77faa86aac29eac332aad604ef568484fae1' }, h("udp-fluent-button", { key: '201516452195e1baadc7eec26608647f30a5e1e5', onClick: () => (this.dialogOpen = true) }, "Open Dialog"), h("udp-fluent-dialog", { key: '49232447ba0df58abc820fe4b460ca3919f07f0d', open: this.dialogOpen, dialogTitle: "Example Dialog", onDialogClose: () => (this.dialogOpen = false) }, h("div", { key: '240b7d42f7ea0f8273aa53a8e36a8261866b5c50' }, "This is a simple dialog example."), h("udp-fluent-button", { key: 'cba55c22f6b985ea55c9e8cb9fa9276ed6a0a282', slot: "action", onClick: () => (this.dialogOpen = false) }, "Custom Close"), h("udp-fluent-button", { key: '4bd90b737ae61ff31fd09b26b3603117e68733e4', appearance: "primary", slot: "action" }, "Confirm")))), h("udp-tab-panel", { key: 'b4f84e76a1f5e45f5724fcf1d7cdeca8b0063c4f', id: "cards", activeTabId: this.currentTab }, h("div", { key: '7e317c4f9bdf0162227c38f2f089514d1a23140d', style: { display: 'flex', flexDirection: 'column', gap: '2rem', padding: '1rem' } }, h("h3", { key: '26826e6f71f6f23af6c4c6a7908d5d8194ca25a6' }, "Cards"), h("h4", { key: '93e85b109345db368075bd2dcb29e302cb3e93f5' }, "Basic & Outlined (Default)"), h("div", { key: 'ac7a40343038b132bd5ccaa00b29e5c4de842e9d', style: { display: 'flex', gap: '1rem', flexWrap: 'wrap' } }, h("udp-fluent-card", { key: '226e9537c34f6a3b6515a3b6fa2e9d8241ce232f', appearance: "filled" }, h("div", { key: 'f69c0d0820615927e2c850fb5c1628c0de74f807', slot: "header" }, h("h3", { key: '6b2b69d8f2b75023b3f86577f1adb2fa911c3cf5', style: { margin: '0' } }, "Basic Card"), h("span", { key: '49fd4fb23eb12b59a49e22c163e3b5e68f7f9617', style: { fontSize: '12px', color: 'var(--colorNeutralForeground2)' } }, "This is a basic outlined card")), h("span", { key: '1958f4a9d3255fd627b06f12e053e80be5bf5c33' }, "Card content goes here. The card handles its own slots for header, preview, and footer."))), h("h4", { key: '8ef4a47f26367fe14f4935df416d732e782ffe13' }, "Elevated & Media"), h("div", { key: '59d96c97f981d2dfeb6b4102a6832226504f62ba', style: { display: 'flex', gap: '1rem', flexWrap: 'wrap' } }, 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." }, h("img", { key: 'b159d8cae1571c920aadfec9691a497a2ea30d07', slot: "preview", src: "https://images.unsplash.com/photo-1557683316-973673baf926?w=600&h=400&fit=crop", alt: "Abstract gradient preview" }), h("span", { key: '6f13e00c60960195d591b22d72df24cf056ebdc0' }, "Card content"), h("div", { key: '5c16735c28a4873f1f01527b221655446bcb6903', slot: "footer", style: { display: 'flex', gap: '8px' } }, h("udp-fluent-button", { key: '2d4b50386253dfa82e1db37dd903d01363d8e501', size: "small" }, "Action 1"), h("udp-fluent-button", { key: 'c7493600d70bd19d17031d4d2af0b8df8439653e', size: "small", appearance: "outline" }, "Action 2"))), h("udp-fluent-card", { key: '4b4718beb8ec41f9d8fc9393a9b8e01e8baab78b', appearance: "subtle", label: "Prop provided title", subtitle: "Prop provided subtitle" }, h("span", { key: '2367a949a814965c083697edb45017e76c0f4b7b' }, "This card uses the subtle appearance. Good for lists or less emphasized content."), h("div", { key: '1176538faa87404782e9d0f65079d3de39bc32f0', slot: "footer" }, h("udp-fluent-button", { key: '02bd1beca76572b5c00296e0a8274cefd78b119e', appearance: "primary" }, "Dismiss"))), h("udp-fluent-card", { key: '93d293b30bd6eebd417c2dbf33c28097df8000f8', appearance: "outline", label: "Card with Action", subtitle: "Header action example", width: "320px" }, 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') }), h("span", { key: 'e7a503cd35a4b99e6f3152af234693c9becb6f71' }, "This card demonstrates the header-action slot with an icon button.")), h("udp-fluent-card", { key: '9a8cbe79e1441d638821d40d655100c04fc8753a', appearance: "muted" }, h("h4", { key: 'de8099642a2f4b8863e9342fac54202b307be708', slot: "header", style: { margin: '0' } }, "Muted Card"), h("span", { key: '9208311696eada89468b706563e8160df92af5c4' }, "Flat with subtle grey shading."))), h("h4", { key: 'f5244fbc1c5a311ee5d42d83ba61705e94fd4f95' }, "Horizontal & Sized"), h("div", { key: '13c9e100e5c99b65ae55df33a2fe3a007b652592', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, h("udp-fluent-card", { key: '7309744aae94f2138748b1825634e9eeca6693ae', orientation: "horizontal", width: "400px" }, h("div", { key: '8c2d46b2d6ca78be6c4e67a3c4fa5b2a24a9fc78', slot: "preview", style: {
|
|
4033
4109
|
width: '80px',
|
|
4034
4110
|
height: '100%',
|
|
4035
4111
|
backgroundColor: 'var(--colorNeutralBackground3)',
|
|
@@ -4037,7 +4113,7 @@ const TestComponentsPage = class {
|
|
|
4037
4113
|
alignItems: 'center',
|
|
4038
4114
|
justifyContent: 'center',
|
|
4039
4115
|
fontSize: '24px',
|
|
4040
|
-
} }, "\uD83D\uDCF7"), h("div", { key: '
|
|
4116
|
+
} }, "\uD83D\uDCF7"), h("div", { key: 'd0b783365efec4f1c4b6fa8a6bb634f3408d3f73', style: { display: 'flex', flexDirection: 'column', width: '100%' } }, h("div", { key: '9102a71aacf5ca6161b59e83c4cb7ba3244b1ea8', slot: "header" }, h("h4", { key: '32a23a4a2054956f09099c4deb2afef00890e6f7', style: { margin: '0' } }, "Horizontal Card")), h("span", { key: '06423e8f6f23ab3d856cb6fa890adc2639c53bce' }, "Fixed 400px width."))), h("udp-fluent-card", { key: '7c4e1a4cb60033d78a9edc382c658b29aebd70ac', width: "300px", appearance: "filled" }, h("div", { key: '9b2f99ff566f6ee946e6ae06034d3d1864fd7471', slot: "header", style: { display: 'flex', justifyContent: 'space-between' } }, h("span", { key: '028d6d97a0cebf4c8273b30b548933ea0c0f4a98', style: { fontWeight: '600' } }, "Fixed Width User"), h("udp-fluent-icon", { key: '0f70a433ceb938afe058d14044419523e6259386', name: "person_20_regular" })), h("span", { key: '07f4759add77a4890ca523f4fb502ea0fcafc1a4' }, "Fixed width (300px), auto height. Reduced padding is no longer controlled by a prop."))), h("h4", { key: '73cb1a65cbce59560287200ba2ea905bb9000066' }, "Complex Interaction"), h("div", { key: 'c10aa7c092714906667ab87012445dc36fdf0c18', style: { display: 'flex', gap: '1rem', flexWrap: 'wrap' } }, h("udp-fluent-card", { key: '8d676b6c6d8191bb34213a856f7388d181d78ba8', interactive: true, appearance: "outline", onClick: () => console.log('Card clicked'), style: { width: '280px' }, label: "John Doe", subtitle: "Software Engineer" }, h("div", { key: '596834e8cb6ee5a9a9cd638f99650a4fc60022f4', style: {
|
|
4041
4117
|
width: '32px',
|
|
4042
4118
|
height: '32px',
|
|
4043
4119
|
borderRadius: '50%',
|
|
@@ -4046,39 +4122,39 @@ const TestComponentsPage = class {
|
|
|
4046
4122
|
display: 'flex',
|
|
4047
4123
|
alignItems: 'center',
|
|
4048
4124
|
justifyContent: 'center',
|
|
4049
|
-
}, slot: "header-start" }, "JD"), h("udp-fluent-icon-button", { key: '
|
|
4125
|
+
}, slot: "header-start" }, "JD"), h("udp-fluent-icon-button", { key: 'a1bd14fabd1d460d00951391f9c1a793edc0eff7', iconName: "more", slot: "header-action", shape: "circular" }), h("udp-fluent-icon-button", { key: 'cb86e7c4fff3023b04b14c88fca6c1a37d16239d', iconName: "dismiss", slot: "header-action", shape: "circular" }), h("div", { key: '2eac89230af087ef0c43863067707dd94ed6d6cc' }, "(div) Responsible for maintaining the core design system and ensuring accessibility compliance across all products."), h("udp-typography", { key: '268c03da74139ba296462927b6ffb5a0c1f43137', variant: "body1" }, "(body1) Responsible for maintaining the core design system and ensuring accessibility compliance across all products."), h("udp-typography", { key: 'da822740c72ee4a395da5fd8e1d7f164ea0a98db', variant: "body2" }, "(body2) Responsible for maintaining the core design system and ensuring accessibility compliance across all products."), h("udp-fluent-button", { key: '0fe2caf08c9226c67f5a7a0e835bb60a6a36d9d8', slot: "footer", appearance: "primary", size: "small", onClick: () => console.log('Profile clicked') }, "View Profile"), h("udp-fluent-button", { key: 'f5cdeed805490c02d175d2e8e1a438b2ee2427fe', slot: "footer", appearance: "outline", size: "small", onClick: () => console.log('Help clicked') }, "Help Center"))), h("h4", { key: '867731b553fb08f87faa0a14fa3538d2ba609459' }, "Flex Layout (Grid System)"), h("div", { key: '0c7c02b752ccced3c7be2060b0603245bda5dfcb', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, h("div", { key: '61ce2d51cc3743dbe51e66f549e78e69490eb3d7', style: { display: 'flex', gap: '1rem' } }, h("div", { key: 'f5da2a21649075343fb469119ed6bff8baf86f71', style: { flex: '1' } }, h("udp-fluent-card", { key: '318787a1ad4148a9de069bca3cbc4a5b0a77c725', width: "100%" }, h("div", { key: '528fb60494e5b96e43e25ee9c6ee89b5dcbf6842', slot: "header" }, h("h3", { key: '032f25afef431f21ec61aa9692f41e50c642df99' }, "Card 1 (50%)")), h("span", { key: '51e5e60323484a383a3810e7f5475b8750ee306d' }, "Flex item 1"))), h("div", { key: '1eb74a142777fc9caa4ae298cd3f76614b52983b', style: { flex: '1' } }, h("udp-fluent-card", { key: 'bf65ea9f9d9891148b2808f5ae969e6ecabedbe2', width: "100%" }, h("div", { key: '2f16712615121a544c5600b4cc269cd0c5200447', slot: "header" }, h("h3", { key: '29a399bc442bd99dc90b777f81317c7d349e9fb3' }, "Card 2 (50%)")), h("span", { key: '6eedcde87b5a8a4b476dd0bbf4261a3ff8e3d3c5' }, "Flex item 2")))), h("div", { key: '91f16c1555889eb4be49cdd38f7018112aabb274', style: { display: 'flex', gap: '1rem' } }, h("div", { key: '451142f90ccb56c5d600868ab346c3e334058f31', style: { flex: '1' } }, h("udp-fluent-card", { key: 'd01dddd295a87475ca59a744e811941ada9f52d7', width: "100%" }, h("div", { key: '0f4704dd7370d664ed7428ce577a713ca576b03d', slot: "header" }, h("h3", { key: '21a41c3c44b95132beb0d20ef3218ae71ebdc5da' }, "Card 3 (33%)")), h("span", { key: '7a6479d11a10bcfe6bb63fe0df7be336dc19c3ef' }, "Flex item 3"))), h("div", { key: '0b9bd010ac8ed76e0c707d48b064fb965e8294c2', style: { flex: '1' } }, h("udp-fluent-card", { key: 'eedf3a0e3bc542ab625bbb602ee8b16e73db9fd6', width: "100%" }, h("div", { key: '6ae40952ad99e81150bb7f6347aebd561cd82b0e', slot: "header" }, h("h3", { key: '753e6e2977d53aceaf73a4ed6d87bd78d346b268' }, "Card 4 (33%)")), h("span", { key: '44b8ccb104748c68cc41c63a2dd7454dcf96b1ef' }, "Flex item 4"))), h("div", { key: '1b07eaf464839f51a3ac6cad6e040ee6a6d75efd', style: { flex: '1' } }, h("udp-fluent-card", { key: '91d22d56c1c68f3bd349df52316551322a60fd03', width: "100%" }, h("div", { key: '4da43ccd3c8ce4c759d35eff9240cff2e2a0f14e', slot: "header" }, h("h3", { key: '819abad268ba7add7444a4391c80d858021b7134' }, "Card 5 (33%)")), h("span", { key: '50c626bc4afdf4215d1c88c58d7019c53469902c' }, "Flex item 5"))))))), h("udp-tab-panel", { key: '34beaa761ed8a134ba6d5196b3c05274a0de986b', id: "chips", activeTabId: this.currentTab }, h("div", { key: 'cf8987f4c708a6a08200ccb135e099881fd08934', style: { padding: '24px', display: 'flex', flexDirection: 'column', gap: '24px' } }, h("h4", { key: 'a443b6695f04d1ca041af2120da6e8589a91ab74' }, "Filled Chips"), h("div", { key: '97a0383056e414de3d5c2ffbceef8080fb556958', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, h("udp-chip", { key: 'e680018fb36d6e7184387d4bef30277e48d3dd1a', label: "Basic Chip", variant: "filled", color: "gray" }), h("udp-chip", { key: '233a3e4b46a86b031546d2874b8a556963232687', label: "Primary", variant: "filled", color: "primary" }), h("udp-chip", { key: '2d5f4dc5cc9fac6cdaea35a1d3fc081197b28efb', label: "Success", variant: "filled", color: "success" }), h("udp-chip", { key: '9442ed1f40e253d2f9674c3c850f425be9306062', label: "Warning", variant: "filled", color: "warning" }), h("udp-chip", { key: 'c97fc80fad58b6fbf9191a0691be93ba8626c3a4', label: "Error", variant: "filled", color: "error" })), h("h4", { key: '3cef3e3c2e0c3bcafe27c64aeba42820d9c1a3ce' }, "Outlined Chips"), h("div", { key: 'b7ba1fdb9ac391913bd7ffaf905f47dba0e4e00e', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, h("udp-chip", { key: '35029071dc9b8b868a607a3f088b278f2723e837', label: "Basic Chip", variant: "outlined", color: "gray" }), h("udp-chip", { key: 'a04eed3c8d9fb920e532abb112821e0a150df27f', label: "Primary", variant: "outlined", color: "primary" }), h("udp-chip", { key: 'c7d6b1236a4b58f9100733488533cdda84a71bb5', label: "Success", variant: "outlined", color: "success" }), h("udp-chip", { key: '107f2ba87e9a422cbec1b79eaf0acd103ec98d42', label: "Warning", variant: "outlined", color: "warning" }), h("udp-chip", { key: '0e2b904fea2293798525976e2f729dc71e9a448d', label: "Error", variant: "outlined", color: "error" })), h("h4", { key: 'ea43c1aa870be9a938b24e519433f55120fbdcda' }, "With Icons & Deletable"), h("div", { key: '4848b24e080011a7465db651c2d6c5a480533a4b', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, h("udp-chip", { key: '38488083aa431282d8989fc8afd8617ae4007743', label: "Person", startIcon: "person_20_regular", variant: "filled", color: "primary" }), h("udp-chip", { key: '199acce69cb3045ac6451ec34d89b59bf3b4d16c', label: "Deletable", variant: "filled", color: "gray", deleteButton: true, onChipDelete: e => console.log('Delete:', e.detail) })), h("h4", { key: 'ba34387b5290fb218e2c125f693beba3f7246cea' }, "Sizes"), h("div", { key: '9c082a6c9a68ac2197ad28525140af27609efe91', style: { display: 'flex', gap: '8px', flexWrap: 'wrap', alignItems: 'center' } }, h("udp-chip", { key: 'e733e25fb8bd83f54cf800f6335ca6ffa0f0291f', label: "Medium (Default)", size: "medium" }), h("udp-chip", { key: '981347509cd9532354fde7a0f04099bd49eb7235', label: "Small", size: "small" })))), h("udp-tab-panel", { key: 'd1197e3dfc145562e8e086ed14bad11ef986e7bf', id: "forms", activeTabId: this.currentTab }, h("div", { key: 'b51c5dfb7906a27c460e88ba745fafc9e65887f9', style: {
|
|
4050
4126
|
padding: '24px',
|
|
4051
4127
|
display: 'flex',
|
|
4052
4128
|
flexDirection: 'column',
|
|
4053
4129
|
gap: '40px',
|
|
4054
|
-
} }, h("div", { key: '
|
|
4130
|
+
} }, h("div", { key: '62c957488fb4421291d2610bcb1f8773ab1e9c75' }, h("h3", { key: 'a310680dfbc1feb61f08b116c814b5a302409681' }, "1. Registry Pattern (Sidesheet)"), h("p", { key: '9566b14026765cd4cb3d93d0a0053ef60eb26b57' }, "Button in drawer footer auto-connects to form via ", h("code", { key: 'ce0f313006aa2f362b20fe7c743e19f91c72e9b3' }, "formId"), "."), h("div", { key: '64b791b00072a2d9de017ece27a71f7165b045b1', style: { marginTop: '16px' } }, h("udp-fluent-button", { key: '384bf5bb1a6560b7a65a1c14d8fbbf9f5818591d', appearance: "primary", onClick: () => (this.formDrawerOpen = true) }, "Open Registry Form Drawer"))), h("hr", { key: 'd3da6ad482c038f42122b29a2f6a720572940000', style: { width: '100%', borderColor: '#eee' } }), h("div", { key: '4f83db32a1daedaf09f89c4999e53a42b74ead5b' }, h("h3", { key: '6bff923918ddd2ed062d6b9fd01a9fae987a221b' }, "2. Legacy Manual Wiring (Sidesheet)"), h("p", { key: 'a42bd8106df84034fc43f35caf8528416c3d460b' }, "Parent component manually listens to ", h("code", { key: '48ac435e3e4fa7f347fbac24bb59f0111ff6aa7c' }, "formReady"), ", tracks validity state, and calls ", h("code", { key: 'bf44e866f9a06b0d17b05d43eeeb5894298789c2' }, "submit()"), "."), h("div", { key: 'cfa85e9e73e0751c45f8b45d6cc134b97dadb01c', style: { marginTop: '16px' } }, h("udp-fluent-button", { key: 'c1d95584d49e1ef802b97760f52500cd23f61884', appearance: "outline", onClick: () => (this.manualDrawerOpen = true) }, "Open Manual Form Drawer"))), h("hr", { key: '1865873fc975160d72d5189854dd33905ea6bf92', style: { width: '100%', borderColor: '#eee' } }), h("div", { key: '2a1b3b8e4724a510019d727054be581b340e949d' }, h("h3", { key: '687db99ad9e43b87d025d62333d309f4ffbe19be' }, "3. Inline Form"), h("p", { key: '21504caa0b9ca4a584d31fea84af6ebdd4309363' }, "Form embedded directly in the page. Uses registry pattern for the external submit button."), h("div", { key: '60f289893600c54011e94ce9bc44ed2bb16b10f9', style: { border: '1px solid #e0e0e0', padding: '24px', borderRadius: '8px' } }, h("div", { key: '4d591a84f323bcbd4953efa713b962d03d487533', style: { marginTop: '16px', display: 'flex', justifyContent: 'flex-end' } }, h("udp-fluent-button", { key: 'cd68539e3b29a9408def876eff0f0e55c24f0ee8', appearance: "primary", form: "inline-form", type: "reset" }, "Inline Reset")))))), h("udp-tab-panel", { key: '41421977ad879962b1fd27b00864cfd272542382', id: "calendar", activeTabId: this.currentTab }, h("div", { key: 'efc7f79f799e445579844bf4a520bf3c881a7dfd', style: {
|
|
4055
4131
|
padding: '24px',
|
|
4056
4132
|
display: 'flex',
|
|
4057
4133
|
flexDirection: 'column',
|
|
4058
4134
|
gap: '32px',
|
|
4059
|
-
} }, h("div", { key: '
|
|
4135
|
+
} }, h("div", { key: '423e827d87ed577594174a315fbc241433ffb370' }, h("h3", { key: '81118c6b83455c77de22a8764ebf7287840887b9' }, "Date Range Selector (Fluent2 Styled)"), h("p", { key: '0b126e6245fc5aacbdaaafb98026eae6f9c12a62', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '8px' } }, "Calendar component with month/year view navigation. Click the header to switch views.")), h("div", { key: 'b2c01e78d579c01161db64c472ff4075180e8b1b', style: { display: 'flex', gap: '48px', flexWrap: 'wrap' } }, h("div", { key: '0caf28b6e50da3d1ce578503769cad6cf6afdc26' }, h("h4", { key: 'fdafdcbc48f1923205c150eccf666e7f744b5986', style: { marginBottom: '8px' } }, "Single Date (sm)"), h("udp-date-range-selector", { key: '0cf20cb2c02803e7cc1745f040b34e336b0a7e00', variant: "single", monthsToDisplay: 1, size: "sm", onChange: (e) => (this.singleDateValue = e.detail) }), h("p", { key: 'ec105c0d9c5243c4202ace4f3a7024a79a52fd13', style: {
|
|
4060
4136
|
fontSize: '12px',
|
|
4061
4137
|
color: 'var(--colorNeutralForeground3)',
|
|
4062
4138
|
marginTop: '8px',
|
|
4063
|
-
} }, "Value: ", h("code", { key: '
|
|
4139
|
+
} }, "Value: ", h("code", { key: '06bafcb2364b92b944a4c1dbdaa32822e403534e' }, this.singleDateValue || '(none)'))), h("div", { key: '005e6a7093206348f3191d368a992e4fb7c54bf4' }, h("h4", { key: '0fc2ff1012508e28640ebd0debe5b31b4cd3587d', style: { marginBottom: '8px' } }, "Multi-Select (md)"), h("udp-date-range-selector", { key: '48b9f72a9267365a27d519e1a1f9b08bbe1cdd16', variant: "multi", monthsToDisplay: 1, size: "md", onChange: (e) => (this.multiDateValue = e.detail) }), h("p", { key: '310541949421eeeb3fbfbd8318b6787e71580b5d', style: {
|
|
4064
4140
|
fontSize: '12px',
|
|
4065
4141
|
color: 'var(--colorNeutralForeground3)',
|
|
4066
4142
|
marginTop: '8px',
|
|
4067
|
-
} }, "Value: ", h("code", { key: '
|
|
4143
|
+
} }, "Value: ", h("code", { key: '698ae542384fe58b48ef58dd4a1fd91270066925' }, this.multiDateValue || '(none)')))), h("div", { key: '470db1199fa9d693070f1db303556c784f6cd508' }, h("h4", { key: 'df8280f5c098dbccdcd7c0cd23b0251a66690a9f', style: { marginBottom: '8px' } }, "Date Range (lg, 2 months)"), h("udp-date-range-selector", { key: 'ec0fa72337e2c462698c2b900f7adfa8637bffe5', variant: "range", monthsToDisplay: 2, size: "lg", orientation: "horizontal", onChange: (e) => (this.rangeDateValue = e.detail) }), h("p", { key: 'd6b9e97483437731f35a22277516c22c3fc8e9f7', style: {
|
|
4068
4144
|
fontSize: '12px',
|
|
4069
4145
|
color: 'var(--colorNeutralForeground3)',
|
|
4070
4146
|
marginTop: '8px',
|
|
4071
|
-
} }, "Value: ", h("code", { key: '
|
|
4147
|
+
} }, "Value: ", h("code", { key: '4ce37391843caa351a4bcbe078069f0f16ca6faa' }, this.rangeDateValue || '(none)'))), h("div", { key: '48467025ac64d139c275a2e63e35e8996e3cd66c' }, h("h3", { key: '8ffe4e00f460490fa5cd9b08241a9317e78efc44', style: { marginTop: '16px' } }, "Date Picker (Native)"), h("p", { key: '7222c6c0166ce53fedb7542d63c8358d429a9061', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '16px' } }, "For simple single date selection, the native date input provides quick month/year navigation."), h("div", { key: 'e3a99d860066ef4da40674d3ba77d62ea4174f5f', style: { display: 'flex', gap: '24px', flexWrap: 'wrap' } }, h("udp-date-input", { key: '344c509dfc7bbadf779382383a8f49348f7c8635', label: "Date", appearance: "outline" }), h("udp-date-input", { key: '21767c50917aaf689c25a29543ae058ee04b02d6', label: "Date & Time", appearance: "outline" }))), h("div", { key: 'c2f53d59a059653d40d3c002fdc2d7d24d2abc43' }, h("h3", { key: '27b88e90e324854fc6200ab256319766a6beabdb', style: { marginTop: '24px' } }, "Popover Component"), h("p", { key: '9d1da82defd6b35cd6bbf9c990ed708996ee6f91', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '16px' } }, "Generic popover using native Popover API and CSS Anchor Positioning."), h("div", { key: 'df0996436a515fd344c92a88596d9dc56e782dd9', style: {
|
|
4072
4148
|
display: 'flex',
|
|
4073
4149
|
gap: '24px',
|
|
4074
4150
|
flexWrap: 'wrap',
|
|
4075
4151
|
alignItems: 'flex-start',
|
|
4076
|
-
} }, h("udp-popover", { key: '
|
|
4152
|
+
} }, h("udp-popover", { key: '0f24fb92663ff92718ef891ee1a9a8a7ad7cd5ca', position: "bottom-start" }, h("udp-fluent-button", { key: 'ee2120db2aca258802c77eef551f980d5e192c20', slot: "trigger", appearance: "outline" }, "Open Popover"), h("div", { key: '5e3ede18a2ae20856f4e20d5f81bac7fd300d47b', slot: "content", style: { padding: '16px', minWidth: '200px' } }, h("p", { key: 'f2b6f0d3497afbade606f4144fd1ebf22b58ed75', style: { margin: '0 0 8px 0', fontWeight: '600' } }, "Popover Title"), h("p", { key: 'd117f3463294f0c6bed0192bb566bca27dc2e53b', style: { margin: '0', color: 'var(--colorNeutralForeground2)' } }, "This is popover content. Click outside to close."))), h("udp-popover", { key: '32ec3f2e96ca3d8bb0d52cac0b2e4fe3dc91cd1c', position: "bottom-start" }, h("udp-fluent-button", { key: '4f6e8436db24ae1869da1145efabc8609b63cfa6', slot: "trigger", appearance: "primary", startIconName: "calendar" }, "Date Picker Popover"), h("div", { key: '21ab2575423ba9e8bd57fc707588d115521c0314', slot: "content", style: { padding: '8px' } }, h("udp-date-range-selector", { key: 'ad80b75fba3f6c727374205fff0dfe866260906f', variant: "single", monthsToDisplay: 1, size: "sm" }))), h("udp-popover", { key: 'ccde4dbcc98341b51024f578bb0b3a1432659f9d', position: "right" }, h("udp-fluent-button", { key: '5d69b2dae3254385f77c442aba9ff7c5041789dc', slot: "trigger", appearance: "subtle" }, "Right Position"), h("div", { key: 'c5758b785f68abbde42ccf4f050dcb9a92f486c5', slot: "content", style: { padding: '12px', minWidth: '150px' } }, "Positioned to the right")))))), h("udp-tab-panel", { key: '5fcf1f3fa7af3027d5c69ad5539c0b349559c4fb', id: "popover", activeTabId: this.currentTab }, h("div", { key: '6f11c22f348ee617ec361715747c0021b5e230f5', style: {
|
|
4077
4153
|
padding: '24px',
|
|
4078
4154
|
display: 'flex',
|
|
4079
4155
|
flexDirection: 'column',
|
|
4080
4156
|
gap: '32px',
|
|
4081
|
-
} }, h("div", { key: '
|
|
4157
|
+
} }, h("div", { key: '379d332c5c08682c668ad03f729eca5966aab75a' }, h("h3", { key: '7975bd4cbd5575f831a9be81e402be89f2da8c6d' }, "Popover Component"), 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.")), h("div", { key: 'd91db1faf57ccc51155e57d0673d3c92f92ef69c' }, h("h4", { key: '53e32b095c9300de5d3fabc7da7821d3df202792' }, "Basic Usage"), h("div", { key: '63bd82382af67dd2b6938764cf69e86a0b81f826', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, h("udp-popover", { key: '3b2b476d864d88b5f32f7410a615560c63ee63c1' }, h("udp-fluent-button", { key: '574add9de362b0be20f027503920bde46e379684', slot: "trigger" }, "Default Popover"), h("div", { key: '272b5fdb259cc1196b7540abeca54f79694826a2', slot: "content" }, h("h4", { key: '58a701c7a4b99ec67ed382238c3d19f5c2ffa01a', style: { marginTop: '0px' } }, "Popover Title"), h("p", { key: '3a24745c0739831503a7ee42dce009d51e8877f2', style: { marginBottom: '0px' } }, "This is popover content. Click outside to close."))), h("udp-popover", { key: '27d61b153265031a09c0fa450dc8b9bc6d9b581a', position: "top" }, h("udp-fluent-button", { key: '6790f9d4a6f7dfa29472cc8780f518e8a0c786e3', slot: "trigger", appearance: "outline" }, "Top Position"), h("div", { key: '21346dd7015df7e84a81aeef02a43224b5161b34', slot: "content" }, h("p", { key: '60a5d802ad2d6d1df9589e7bf6a1f8f33fc09009', style: { margin: '0px' } }, "Positioned above the trigger"))), h("udp-popover", { key: '8d79912a9eeb9fe67a6076d66f0ab1d11b7e1466', position: "right" }, h("udp-fluent-button", { key: '12a3aa6ebb75968533b27ae722290d707d5f865a', slot: "trigger", appearance: "subtle" }, "Right Position"), h("div", { key: 'ba9a08b3084485a6fd6e8e18944b131a240ea40a', slot: "content" }, h("p", { key: 'f7942183a0db104adbf0e18eac09e1da4ce5daf6', style: { margin: '0px' } }, "Positioned to the right"))))), h("div", { key: '30bfbc1d24e44efe91828e8229097b8ded880be8' }, h("h4", { key: 'ed62a69058ab167a102eeac59b4c7510f894b8c8' }, "With Arrow"), h("p", { key: '06b379f7b4005961be31bd40fb62872226e0d324', style: { fontSize: '14px', color: 'var(--colorNeutralForeground3)' } }, "Display an arrow pointing from the popover to the trigger."), h("div", { key: 'ee03b79ff2490dfd031481e6150d576728981f31', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, h("udp-popover", { key: '214623b4bbb12d178aa827e6d6b5f2967bdbafe5', "with-arrow": true }, h("udp-fluent-button", { key: '6aa7ba388273608777428a759b4759571759df1c', slot: "trigger" }, "Default Arrow"), h("div", { key: 'd3b4571dc4a1e5ac966d6e9ce7ab62d8ba6b9dea', slot: "content" }, h("p", { key: '30ba9e51dda4e1dbc8ed9fe11e9f5267a7b915e9', style: { margin: '0px' } }, "Popover with arrow"))), h("udp-popover", { key: 'e83c92df02b8ec2db6d5e63b49a2954cde407ecb', "with-arrow": true }, h("udp-fluent-button", { key: 'f193e0cf16fcf2d9f00071cd2ec5496e26465f83', slot: "trigger", appearance: "primary" }, "Brand Arrow"), h("div", { key: 'c3a66f162ef5150d14e1e4528b5c512351f6380b', slot: "content" }, h("p", { key: '3c942ed6f4b4fff45e792690c4c11466938a3b5d', style: { margin: '0px' } }, "Brand popover with arrow"))), h("udp-popover", { key: '518e83f447820ba6c9e17455bd4848712a61e34e', "with-arrow": true, position: "top" }, h("udp-fluent-button", { key: 'c814db7b9747ebdd2420e46a440d646f23c83b39', slot: "trigger", appearance: "outline" }, "Top Arrow"), h("div", { key: '60c8dc8bb030682ffffdba7c56f99af0144b3aab', slot: "content" }, h("p", { key: '7537ebc6798ec2c70322cc10be99bafaa70b4a2f', style: { margin: '0px' } }, "Arrow on top position"))))), h("div", { key: '0bde7862dd54d1a5eda8f94dacc0385b776e1303' }, h("h4", { key: 'f8ff865dccce2222d1cb0df18a9566160e3e15b5' }, "Size Constraints"), h("p", { key: '6733217fe5b9e7b41bb2547867343d069767abc4', style: { fontSize: '14px', color: 'var(--colorNeutralForeground3)' } }, "Optional max-width constraints. Without size, popover grows to fit content."), h("div", { key: '5890db283b48310e3289c05c6511ffebdec46d9d', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, h("udp-popover", { key: '2d8b9af1d81c05965c57ddc43eafd579f889bc35', size: "small" }, h("udp-fluent-button", { key: 'ae532295c381c626587341b10ca4023dbcd6bc58', slot: "trigger" }, "Small (320px)"), h("div", { key: '62f9c3d86829d186ba309b5459d824914bf7bd7c', slot: "content" }, 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."))), h("udp-popover", { key: '4b0948b082414fc7ccdc796eaf84a61cf23f4f3e', size: "medium" }, h("udp-fluent-button", { key: '985f42831e50636f757b6f96e1a23b053db85d88', slot: "trigger" }, "Medium (480px)"), h("div", { key: '94babdeee53d714bc2c2948e7827b2b0dd338504', slot: "content" }, 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."))), h("udp-popover", { key: 'd4c8856338374843e3c5e3074d1e2d286c1afddc', size: "large" }, h("udp-fluent-button", { key: '5ee11e780bc1d03d81c04201f9491ac21998eb87', slot: "trigger" }, "Large (640px)"), h("div", { key: '8becdc8aebca6aeeb44c252423981209499431f6', slot: "content" }, 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."))))), h("div", { key: 'c5a1a08676058ef6c45e2d2089ffaec9b8ffe627' }, h("h4", { key: '0dad26c9feb56b0fa90f265a7ebff08202124af4' }, "Trap Focus (Accessibility)"), h("p", { key: 'd86b8ab69a42583f97e8c6d85ddb3d0295501013', style: { fontSize: '14px', color: 'var(--colorNeutralForeground3)' } }, "When trapFocus is enabled, keyboard navigation is restricted to the popover."), h("div", { key: 'e6688dad0ddfe680efa2983bafdc4e0bc70f99c7', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, h("udp-popover", { key: '8eeb183ac9dc9d4218a52878eaa44a22517b5264', trapFocus: true }, h("udp-fluent-button", { key: 'b0765a65a433547441cf895281949f268dab6d6f', slot: "trigger" }, "Trap Focus"), h("div", { key: '806ca4cb1ef162a8490360edf8fddcdb1181e379', slot: "content" }, h("h4", { key: '8a9eb436ef03cca09d2b0590c915b5477135612b', style: { marginTop: '0px' } }, "Modal Popover"), h("p", { key: '153a7af006b3b245b497e30393923a1a81181e71' }, "This popover traps focus. Press Escape to close."), h("div", { key: '3bf20669ed423b0d00e554219035b12c461ab9fc', style: { display: 'flex', gap: '8px' } }, h("udp-fluent-button", { key: '492a161bac361cd74bae6bbd13c2bcd3c2faaa8c', size: "small" }, "Action 1"), h("udp-fluent-button", { key: '2beba1dce071c5f1322a0bb8ae38915ff277c2ce', size: "small", appearance: "outline" }, "Action 2")))))), h("div", { key: '747c27849a3e33429d5e3efb1f37daf57ef66956' }, h("h4", { key: '5e3c28c590ee98b2224bff319ca2f79cd5253602' }, "Advanced Examples"), h("div", { key: 'cec8177b4356c863fc916d119fae0f3836a12bad', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, h("udp-popover", { key: '901749d859c95cfec9fed7106aa8174b808e631f', position: "bottom-start", "with-arrow": true }, h("udp-fluent-button", { key: '8f256088bc13a43f83bbbea7f4597d0b5404825b', slot: "trigger", startIconName: "calendar" }, "Date Picker"), h("div", { key: 'f6a09d8c04af354e57ab6dd048e156ea6928c30f', slot: "content", style: { padding: '8px' } }, h("udp-date-range-selector", { key: 'd98408fb082affdc3d9855718d56015ed3f89a27', variant: "single", monthsToDisplay: 1, size: "sm" }))), h("udp-popover", { key: 'ac1ff600bb43001c0b7ade62a784a52a1b6c266c', size: "medium", "with-arrow": true }, h("udp-fluent-button", { key: '180fcf38ba56c4cadb551f15709ad22900730d5b', slot: "trigger" }, "Rich Content"), h("div", { key: 'faa5843230f747b2ccbcb8596c7c12840752fd93', slot: "content" }, h("h4", { key: '9359ba051889c23c58d70db8d5c59f80f92e3b21', style: { marginTop: '0px' } }, "Feature Update"), h("p", { key: '5e70e5ee3c7cd2d8fbcb953ed9a1af2ae92743fb', style: { fontSize: '14px' } }, "New features are now available! Check out the latest updates to improve your workflow."), h("udp-fluent-button", { key: '140e32be958a62b5c82ad88e00762a7b2bf1bf15', size: "small" }, "Learn More"))), h("udp-popover", { key: '5f357e7d43bbe7d23410176cf681f77014ef3005', "close-on-scroll": true }, h("udp-fluent-button", { key: 'be7e0d3e7ce5972c4a304e3287543e6e2d94d7b1', slot: "trigger" }, "Closes on Scroll"), h("div", { key: 'e87ccd73b3e50ea04f07f9d36d3af80623a4156c', slot: "content" }, h("p", { key: '22fe8c96660ce939d7d30bd9248cfcc9837fd9e7', style: { margin: '0px' } }, "This popover will close when you scroll the page."))))))))), h("udp-fluent-drawer", { key: '32456b3d38ca5aea2cdcd4ee733b5b437e68ade2', open: this.drawerOpen, onDrawerClose: () => (this.drawerOpen = false), drawerTitle: "Drawer Title" }, h("udp-lazy-loader", { key: '30c9dd30a1a99b84d007fadcb285df821967de92', if: this.drawerOpen, content: () => (h("div", null, h("client-side-grid", { columnDefs: [
|
|
4082
4158
|
{ field: 'name' },
|
|
4083
4159
|
{ field: 'age' },
|
|
4084
4160
|
{ field: 'name' },
|
|
@@ -4089,10 +4165,10 @@ const TestComponentsPage = class {
|
|
|
4089
4165
|
], rowData: [
|
|
4090
4166
|
{ name: 'John', age: 30 },
|
|
4091
4167
|
{ name: 'Jane', age: 25 },
|
|
4092
|
-
] }), h("udp-fluent-button", { onClick: () => (this.drawerOpen = false) }, "Close Drawer"))) })), h("udp-fluent-drawer", { key: '
|
|
4168
|
+
] }), h("udp-fluent-button", { onClick: () => (this.drawerOpen = false) }, "Close Drawer"))) })), h("udp-fluent-drawer", { key: '5dff9a2ce936247257dbb8a023bdd73361814bf4', open: this.formDrawerOpen, onDrawerClose: () => (this.formDrawerOpen = false), drawerTitle: "Sample Form", size: "large" }, h("udp-lazy-loader", { key: 'c8f720e61ee5592cc4edc5bb1c466415e02e4135', if: this.formDrawerOpen, content: () => (h("div", { style: { display: 'flex', flexDirection: 'column', gap: '16px' } }, h("div", { style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, h("udp-fluent-button", { appearance: "outline", onClick: () => (this.secondDrawerOpen = true) }, "Open Second Drawer")), h("test-form", { handleSubmit: this.handleSubmit, formId: "registry-drawer-form" }))) }), h("udp-fluent-button", { key: 'f1a637ab8b726eb275816b5616757a64aeaca97c', appearance: "primary", slot: "footer", form: "registry-drawer-form", type: "submit" }, "Submit Form"), h("udp-fluent-button", { key: '2d2a7dfc22cc1476903a0107f61f9972a803d3cf', slot: "footer", form: "registry-drawer-form", type: "reset" }, "Reset Form")), h("udp-fluent-drawer", { key: 'd161260410e711a1901e378ed7e88ab8ef6cde01', open: this.manualDrawerOpen, onDrawerClose: () => (this.manualDrawerOpen = false), drawerTitle: "Form (Manual Wiring)" }, h("udp-lazy-loader", { key: 'fe58e60a4dd482025f18ded4577afd5f7a1ebb45', if: this.manualDrawerOpen, content: () => (h("test-form", { handleSubmit: this.handleSubmit, onFormReady: this.handleManualFormReady })) }), h("udp-fluent-button", { key: '1b3d6b5be7ee7a4e60487b5b60dfc59322918c5f', appearance: "primary", slot: "footer", disabled: !this.manualCanSubmit, onClick: () => {
|
|
4093
4169
|
var _a;
|
|
4094
4170
|
void ((_a = this.manualFormInstance) === null || _a === void 0 ? void 0 : _a.submit());
|
|
4095
|
-
} }, "Submit (Manual)")), h("udp-fluent-dialog", { key: 'c72f6406b6b8c67beb31bc1cd645f736d6e509c7', open: this.drawerDialogOpen, dialogTitle: "Dialog from Drawer", onDialogClose: () => (this.drawerDialogOpen = false) }, h("div", { key: 'e17c2f7ed56146710204d9676782a4b13d16bfd7' }, "This dialog was opened from inside the drawer!"), h("div", { key: '8e1f8f4b7f1a05658298e27ec46db1abb4703bae' }, 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."), 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."), 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?")), h("udp-fluent-button", { key: '21d08fe6a0ed0d377bb18483e30b6b03ffb27d90', slot: "action", onClick: () => (this.drawerDialogOpen = false) }, "Close"), h("udp-fluent-button", { key: '9b3d3c8c3703b35a25e3665dfba25f6a94cc3e89', appearance: "primary", slot: "action" }, "Confirm")), h("udp-fluent-drawer", { key: 'acf1ca2c4e90999b46f60aed10ab82d6ad81a24f', open: this.secondDrawerOpen, onDrawerClose: () => (this.secondDrawerOpen = false), drawerTitle: "Second Drawer (Nested)", size: "medium" }, h("div", { key: '971fb1c4e089c87df28b195ec9abcc39a64e9308', style: { display: 'flex', flexDirection: 'column', gap: '16px', padding: '16px' } }, h("p", { key: 'e8227f1b540d64c7266cbda2ee97cbdca26c3824' }, "This is the second drawer opened from within the first drawer."), h("div", { key: 'c1f5b4eced6ade15e6ce5d3b973353300cc3dc43', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, h("udp-fluent-button", { key: '33a33acc39a465006bbae2f15b2ec4f6dde43bfe', onClick: () => (this.secondDrawerDialogOpen = true) }, "Open Dialog from Second Drawer"), h("udp-fluent-button", { key: '1faa0b0b0d6480809c78ca21ae4e2236f652f1f2', appearance: "outline", onClick: () => (this.thirdDrawerOpen = true) }, "Open Third Drawer")), 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."), 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."), 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?"), 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."), 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.")), h("udp-fluent-button", { key: '7cab9159c9a0534ab5ccb1bd9eb30e0acb7e5b45', appearance: "primary", slot: "footer", onClick: () => (this.secondDrawerOpen = false) }, "Close Second Drawer")), h("udp-fluent-drawer", { key: '3addf55f1317ba6cd32d39222e4fd553fa859356', open: this.thirdDrawerOpen, onDrawerClose: () => (this.thirdDrawerOpen = false), drawerTitle: "Third Drawer (Deeply Nested)", size: "small" }, h("div", { key: 'd7d4a300362b783247928ab2e93b2adcee52d5f3', style: { padding: '16px' } }, h("p", { key: '06640da56336cd98d9db9303e6056f02ac971a25' }, "This is the third drawer! Three levels deep."), h("p", { key: '18a14276e1f3b662c754cd8cba06921de3d9694b', style: { fontSize: '14px', color: 'var(--colorNeutralForeground2)' } }, "Testing the drawer stacking and body scroll lock mechanism with multiple drawers."), 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."), 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."), 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?"), 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."), 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.")), h("udp-fluent-button", { key: '90e912fbba9c85a56e26add92e2f4707ad2047fa', appearance: "primary", slot: "footer", onClick: () => (this.thirdDrawerOpen = false) }, "Close Third Drawer")), h("udp-fluent-dialog", { key: '23ff3522117da34c59139fe4cdb1f61c990e5c7f', open: this.secondDrawerDialogOpen, dialogTitle: "Dialog from Second Drawer", onDialogClose: () => (this.secondDrawerDialogOpen = false) }, h("div", { key: '4bd2851a7e28fc0fb4e813ff54e871a68d96af2c' }, "This dialog was opened from the second drawer!"), 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."), 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."), 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?"), h("udp-fluent-button", { key: '4ef32d3bad856c7c8823ad937be047823cedd04f', slot: "action", onClick: () => (this.secondDrawerDialogOpen = false) }, "Close"), h("udp-fluent-button", { key: 'f7dda3e743e5d366b963e3813c9d3454d79ca4fe', appearance: "primary", slot: "action" }, "Confirm"))));
|
|
4171
|
+
} }, "Submit (Manual)")), h("udp-fluent-dialog", { key: '6e2f885a9284a4ad0ac42d7b51a18cdcb897d9d8', open: this.drawerDialogOpen, dialogTitle: "Dialog from Drawer", onDialogClose: () => (this.drawerDialogOpen = false) }, h("div", { key: 'f621a6a9993ab6032fd193635045c436ba3c6349' }, "This dialog was opened from inside the drawer!"), h("div", { key: '82e74b8681d10efe76eaa735fb2f699f0a2810bf' }, 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."), 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."), 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?")), h("udp-fluent-button", { key: '9e5d1ca06fb01827197a268819c873bd72230d54', slot: "action", onClick: () => (this.drawerDialogOpen = false) }, "Close"), h("udp-fluent-button", { key: '5420e2101e3409d83f89538b6b6a37a46671e22e', appearance: "primary", slot: "action" }, "Confirm")), h("udp-fluent-drawer", { key: '3b7cc906bb55aad5ac6b2e26b4bdc0d35de47158', open: this.secondDrawerOpen, onDrawerClose: () => (this.secondDrawerOpen = false), drawerTitle: "Second Drawer (Nested)", size: "medium" }, h("div", { key: '3bc5ba56cb0404c0f4e3ad9224db136469bc1528', style: { display: 'flex', flexDirection: 'column', gap: '16px', padding: '16px' } }, h("p", { key: '17feede92d70760d9171092bf0022f13a4fe062c' }, "This is the second drawer opened from within the first drawer."), h("div", { key: 'a504757ca93cc987dbe0997c0fa590ffc28b6ea3', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, h("udp-fluent-button", { key: '7f54adced3e252cc75a4ed66abda8e25948cf93c', onClick: () => (this.secondDrawerDialogOpen = true) }, "Open Dialog from Second Drawer"), h("udp-fluent-button", { key: '8a842564e23e8f7a73a1ea2d94f35868f1566e95', appearance: "outline", onClick: () => (this.thirdDrawerOpen = true) }, "Open Third Drawer")), 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."), 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."), 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?"), 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."), 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.")), h("udp-fluent-button", { key: '78f90176e4e68e14477c13d63b401e3f544eb120', appearance: "primary", slot: "footer", onClick: () => (this.secondDrawerOpen = false) }, "Close Second Drawer")), h("udp-fluent-drawer", { key: '18ec2020f3298da943adffae2a9f507422cdc88f', open: this.thirdDrawerOpen, onDrawerClose: () => (this.thirdDrawerOpen = false), drawerTitle: "Third Drawer (Deeply Nested)", size: "small" }, h("div", { key: '843b59cb804bbcc3b459a6ab8dd1517eb0579981', style: { padding: '16px' } }, h("p", { key: 'f3fc08d940a068cb2d3817c6c47a3a987629eb89' }, "This is the third drawer! Three levels deep."), h("p", { key: '58fdddec465c512055de208ff28a17665ede32e6', style: { fontSize: '14px', color: 'var(--colorNeutralForeground2)' } }, "Testing the drawer stacking and body scroll lock mechanism with multiple drawers."), 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."), 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."), 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?"), 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."), 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.")), h("udp-fluent-button", { key: 'a0b8fcfaba788a5b0904410b7af2ffc23f6db17f', appearance: "primary", slot: "footer", onClick: () => (this.thirdDrawerOpen = false) }, "Close Third Drawer")), h("udp-fluent-dialog", { key: '23da9aab5fb9970933d64a59dfc073db5b36fc31', open: this.secondDrawerDialogOpen, dialogTitle: "Dialog from Second Drawer", onDialogClose: () => (this.secondDrawerDialogOpen = false) }, h("div", { key: 'c395c7d7f9f106c724a0048ad1a19804be63e088' }, "This dialog was opened from the second drawer!"), 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."), 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."), 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?"), h("udp-fluent-button", { key: 'b94d861aa77d127c23d25943cf8e2e15248e5122', slot: "action", onClick: () => (this.secondDrawerDialogOpen = false) }, "Close"), h("udp-fluent-button", { key: 'c122fa6f5398c36d770a869b7d7af56d7eb65af9', appearance: "primary", slot: "action" }, "Confirm"))));
|
|
4096
4172
|
}
|
|
4097
4173
|
};
|
|
4098
4174
|
|
|
@@ -4211,17 +4287,17 @@ const TestForm = class {
|
|
|
4211
4287
|
{ label: 'Medium', value: 'medium' },
|
|
4212
4288
|
{ label: 'Large', value: 'large' },
|
|
4213
4289
|
];
|
|
4214
|
-
return (h("div", { key: '
|
|
4290
|
+
return (h("div", { key: 'ecc920a9eb4a5830186d384cf4a6aaf20181f482' }, h("udp-form-component", { key: '3a138dc7c26ce93dbf21216586bceb009de337e6', formId: this.formId, validate: this.validateForm, onFormReady: this.handleFormReady, submitHandler: this.handleFormSubmit, initialValues: this.formData }, h("udp-flexbox", { key: 'ae20f47edf6a065f43b5ccc0d67a1304a7e78981' }, h("udp-flexbox", { key: '6c7a8c50714c4674cdc69a6a6f4de8043ea9939b', style: { display: 'none' } }, h("h3", { key: '4b1250a514a82d55d71bdd892d235aedaacf443c', style: { margin: '0 0 1rem 0', fontSize: '16px', fontWeight: '600' } }, "Global Property Controls"), h("udp-flexbox", { key: '810893748156fdeb81384caacfccc05b7c5a2cf2' }, 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); } }), 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' } }), h("udp-fluent-switch", { key: '04a0567c03b8180ab97c1ca66bb92dc740f87987', label: "Required", labelPosition: "after", checked: this.controlRequired, onValueChanged: (e) => (this.controlRequired = e.detail) }), h("udp-fluent-switch", { key: '5ae7f4c7bc7775221907ebd92ca5d74e0354d9c4', label: "Disabled", labelPosition: "after", checked: this.controlDisabled, onValueChanged: (e) => (this.controlDisabled = e.detail) }), h("udp-fluent-switch", { key: 'fa18212efd90fb9dbe43d40c0a8be0f11d56e384', label: "Readonly", labelPosition: "after", checked: this.controlReadonly, onValueChanged: (e) => (this.controlReadonly = e.detail) })), h("p", { key: '5302371db95942c68bbd5a8fdee592cb3ac021b1', style: {
|
|
4215
4291
|
margin: '0.75rem 0 0',
|
|
4216
4292
|
fontSize: '12px',
|
|
4217
4293
|
color: 'var(--colorNeutralForeground3)',
|
|
4218
|
-
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), h("udp-field", { key: '
|
|
4294
|
+
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), h("udp-field", { key: '577ba4ad237d728e41965465037379bdf72a1a76', name: "searchText" }, h("udp-search-input", { key: 'c3d668496a5412b1857d9af0e471afd3f7338d40', disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize, placeholder: "Search for something...", includeErrorPadding: false })), h("udp-field", { key: 'cbe154cec33d20e5dbf53c169f6cd5c1d977efdb', name: "firstName" }, 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" })), h("div", { key: '543118dac633adf8116391a09cc7771b3d02453b', style: { display: 'flex', gap: '1rem', flexDirection: 'row', flex: '1' } }, h("udp-field", { key: '13cc86f85b21bb47c7cfcd7190bccfa6510e2414', name: "email" }, 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 })), h("udp-field", { key: '13a15ee8541a0ac1a7326f6f4fdcc2bbb7ae647d', name: "age" }, 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 }))), h("udp-field", { key: '7c3a5ab1406defbd262ee94f1c7b13c1b1accfe9', name: "birthday" }, 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 })), h("udp-field", { key: 'a0e7dde5d7738d23fa04326986f083150faaf379', name: "appointment" }, h("udp-date-time-input", { key: '16d274feeb819b80e26fcbbadae81018049544d0', label: "Appointment (Combined Date/Time)", required: true, disabled: this.controlDisabled, appearance: this.controlAppearance, controlSize: this.controlSize })), h("div", { key: '3cf979b4d1fd075aa755d83d1c09f526bfed6066', style: { display: 'flex', gap: '1rem', flexDirection: 'row', flex: '1' } }, h("udp-field", { key: '2e993091abe198133644b7eda391bb7e4ec7413d', name: "startTime" }, 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 })), h("udp-field", { key: '5e5a7ddf3cfd9eb3d5e33a44e708302d59dc3bf1', name: "endTime", validate: () => 'always invalid' }, 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 }))), h("udp-field", { key: '3ecee12210022915c21ad750c0a2efbe489b2331', name: "bio" }, 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 })), h("udp-field", { key: '54a760f790b539f320f386bf153dd030f9c36833', name: "exclamation", validate: mustHaveExclamation }, 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 })), h("udp-field", { key: '398dc1bbf8eddce4469939254571fbe469eae83e', name: "favoriteAnimal" }, 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 })), h("udp-field", { key: '037af85abfa64af79df7f6999277936bbed9ee3c', name: "favoriteAnimalAutoComplete" }, 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,
|
|
4219
4295
|
// multiple={true}
|
|
4220
|
-
options: animals, controlSize: this.controlSize, popupHint: "Select an animal" })), h("udp-field", { key: '
|
|
4296
|
+
options: animals, controlSize: this.controlSize, popupHint: "Select an animal" })), h("udp-field", { key: '1ed35217e38fc89930ced1c85205223f00dd9a47', name: "serverSideUser" }, 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 })), h("udp-field", { key: '00b50bbd5e3c6d383982a639d7bf2d34221dcde0', name: "newsletter" }, 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 })), h("udp-field", { key: '6f774281e54e3492ec48b5e88011be81db921f3a', name: "commitment" }, h("udp-slider", { key: '10867345a8d51930b37cbed4303e60882a6c588a', label: "Commitment Level", disabled: this.controlDisabled })), h("udp-field", { key: 'dd00ca268cf6e0ad3dfb9c5b2b5a42c1409e98d3', name: "active" }, h("udp-fluent-switch", { key: '97921e56b2052032f05449cc9a0a8d24ed733e68', label: "Active", labelPosition: "after", disabled: this.controlDisabled })), h("udp-field", { key: '08ec8a0abd17c9b01a7fbc8c85a741c3fc8d1453', name: "favoriteColor" }, h("udp-fluent-radio-group", { key: '7b2f4a5c7ac37ad62182ebf9ebc62d046438a8f1', label: "Favorite Colo", disabled: this.controlDisabled, hint: "Favorite Color", items: [
|
|
4221
4297
|
{ label: 'Red', value: 'red' },
|
|
4222
4298
|
{ label: 'Green', value: 'green' },
|
|
4223
4299
|
{ label: 'Blue', value: 'blue' },
|
|
4224
|
-
] })), h("udp-field", { key: '
|
|
4300
|
+
] })), h("udp-field", { key: '4c478aa702a451d5e4883142f566daa22bf618bb', name: "swatchColor" }, 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'
|
|
4225
4301
|
? 'small'
|
|
4226
4302
|
: this.controlSize === 'large'
|
|
4227
4303
|
? 'large'
|
|
@@ -4346,9 +4422,9 @@ const UdpAmbientToolTip = class {
|
|
|
4346
4422
|
render() {
|
|
4347
4423
|
// Check if content is provided before rendering the tooltip content.
|
|
4348
4424
|
const shouldDisplayTooltip = !!this.isVisible && !!this.content && this.content.trim() !== '';
|
|
4349
|
-
return (h("div", { key: '
|
|
4425
|
+
return (h("div", { key: 'ba43b9272b01c8f13256d6d0367e3cb19ca91f4a', class: "tooltip-wrapper", ref: el => (this.wrapperEl = el), onMouseOver: this.showTooltip, onMouseOut: this.hideTooltip }, h("slot", { key: 'f028f5baee28229de5e34485102181071bfbc5f5' }), shouldDisplayTooltip && (
|
|
4350
4426
|
// STEP 4: Use the global class name we defined in our style string.
|
|
4351
|
-
h("div", { key: '
|
|
4427
|
+
h("div", { key: 'bad944a8541dd8eea47f8e70c34abe76246fb86c', class: "udp-tooltip-portal", role: "tooltip", ref: el => (this.tooltipContentEl = el) }, h("unity-typography", { key: '1e172e9d30000a5a32ce7fb78f18c1a570d074a3', variant: "caption-text" }, this.content)))));
|
|
4352
4428
|
}
|
|
4353
4429
|
};
|
|
4354
4430
|
UdpAmbientToolTip.style = udpAmbientToolTipCss();
|
|
@@ -5088,10 +5164,10 @@ const UdpAutocomplete = class {
|
|
|
5088
5164
|
? this.resolveProp(overlayOption, this.optionLabel, true)
|
|
5089
5165
|
: null;
|
|
5090
5166
|
const overlayBadges = overlayOption ? this.getOptionBadges(overlayOption) : [];
|
|
5091
|
-
return (h(Host, { key: '
|
|
5167
|
+
return (h(Host, { key: '41b58b9428f2a8c9f155cef92268a5ef950bd8fa', class: { 'has-error': hasError } }, h("fluent-field", { key: '4f07c34e825f56bbc1e0706add450c3ae4793fc3', class: {
|
|
5092
5168
|
'no-label': !this.label && !this.multiple,
|
|
5093
5169
|
'no-message': !message && !this.includeErrorPadding,
|
|
5094
|
-
} }, h("div", { key: '
|
|
5170
|
+
} }, h("div", { key: '669ef2dd7723af468728fa1b45f5bf5748a10775', class: "label-content", onClick: () => this.handleTogglePopover(false), slot: "label" }, this.label && (h("fluent-label", { key: '6bf435ce0a60103cdb7814df5bd1c197d2c19a8a', disabled: this.disabled, style: { paddingTop: '2px', paddingBottom: '2px' } }, this.label, this.popupHint && (h("udp-tooltip", { key: '0b7cd46fc4a19b04cb136c107b7d97f22eb3c671', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: 'b2e3c5eabad1323d6e50aab05a139ecb3950afb5', name: "info", size: "xs", class: "popup-hint-icon" }))))), this.multiple && (h("div", { key: '9375ee46ee1d3e7bb67f032a5212842af8e3ebd8', class: {
|
|
5095
5171
|
'selected-items': true,
|
|
5096
5172
|
'has-items': selectedItems.length > 0,
|
|
5097
5173
|
} }, selectedItems.map(item => {
|
|
@@ -5101,14 +5177,14 @@ const UdpAutocomplete = class {
|
|
|
5101
5177
|
// mode `item` is already the object, so this is a no-op.
|
|
5102
5178
|
const opt = (_a = this.findOptionByValue(this.getOptionValue(item))) !== null && _a !== void 0 ? _a : item;
|
|
5103
5179
|
return (h("udp-fluent-badge", { color: "brand", shape: "circular", dismissible: !this.disabled, onDismiss: () => this.handleChipDelete(item) }, this.resolveProp(opt, this.optionLabel, true)));
|
|
5104
|
-
})))), h("div", { key: '
|
|
5180
|
+
})))), h("div", { key: '4c2ea28f1784c4f3cb54a5828af8bf9ca97cf811', slot: "input", class: {
|
|
5105
5181
|
'input-wrapper': true,
|
|
5106
5182
|
'has-overlay': !!overlayOption,
|
|
5107
|
-
} }, h("fluent-dropdown", { key: '
|
|
5183
|
+
} }, 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,
|
|
5108
5184
|
// Events
|
|
5109
5185
|
onInput: this.handleInput, onChange: this.handleChange, onFocusout: this.handleBlur, onFocusin: this.handleFocusIn,
|
|
5110
5186
|
// Suppress native invalid popup
|
|
5111
|
-
onInvalid: (e) => e.preventDefault(), exportparts: "control, listbox", ref: el => (this.dropdownRef = el) }, h("fluent-listbox", { key: '
|
|
5187
|
+
onInvalid: (e) => e.preventDefault(), exportparts: "control, listbox", ref: el => (this.dropdownRef = el) }, h("fluent-listbox", { key: '1bca6b2057765e9f602f4f5f19beb0f815517d6a' }, (this.loading || this.internalLoading) && (h("fluent-option", { key: 'cc3b0d1be8ba90d1dfcea78c6eb01e77b8e3db56', disabled: true, ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, h("span", { key: '613f179e5c78991e4cbbe4410fa89fe21902f5c2' }, "Loading..."), h("span", { key: '373efef0bf10844ed599242da7597d2e5eab1e18', slot: "indicator" }))), !this.loading && !this.internalLoading && visibleCount === 0 && !this.freeForm && (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 &&
|
|
5112
5188
|
!this.internalLoading &&
|
|
5113
5189
|
(displayOptions === null || displayOptions === void 0 ? void 0 : displayOptions.length) > 0 &&
|
|
5114
5190
|
(() => {
|
|
@@ -5139,7 +5215,7 @@ const UdpAutocomplete = class {
|
|
|
5139
5215
|
} }, optIcon && this.iconPosition === 'start' && (h("span", { slot: "start", class: "option-icon-slot" }, h("udp-fluent-icon", { name: optIcon, size: "sm" }))), this.renderOptionContent(optLabel, optIcon, optBadges, this.getOptionSecondaryText(option))));
|
|
5140
5216
|
});
|
|
5141
5217
|
return nodes;
|
|
5142
|
-
})(), this.freeForm && (h("fluent-option", { key: '
|
|
5218
|
+
})(), this.freeForm && (h("fluent-option", { key: '63d467e3ee2166b2d0bbbbfa75ece2c187656a07', freeform: true }, h("output", { key: 'eea33d6791ba4298b580dd4ea25e4628306f4ed8' })))), h("div", { key: 'eb3fdaf70c848ba4c69fe448a4da5d497779a10b', slot: "indicator", class: "indicator-wrapper" }, h("udp-fluent-icon-button", { key: '1b85a59b3f94e9c089a65b54bb16c45fa5369a7a', class: {
|
|
5143
5219
|
'clear-button': true,
|
|
5144
5220
|
'is-visible': this.clearable &&
|
|
5145
5221
|
!this.disabled &&
|
|
@@ -5148,10 +5224,10 @@ const UdpAutocomplete = class {
|
|
|
5148
5224
|
(this.multiple &&
|
|
5149
5225
|
Array.isArray(this.value) &&
|
|
5150
5226
|
this.value.length > 0)),
|
|
5151
|
-
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), h("udp-fluent-icon", { key: '
|
|
5227
|
+
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), h("udp-fluent-icon", { key: '1d442a00b18f54cb3dbc31e969582f6d891e9a08', name: "chevron-down", size: "sm", class: "chevron-down", onClick: () => this.handleTogglePopover(false) }))), overlayOption && (h("div", { key: '86e25f0406501ae90c2c18bfc45439ecaabde552', class: "selected-overlay", "aria-hidden": "true" }, h("span", { key: '1141ec0652db41ab4f47d6f011d255d337dd9d6e', class: "selected-label" }, overlayLabel), this.renderBadges(overlayBadges)))), h("div", { key: 'a0fe9404433887a0412fa0b88741b3d7199f58cc', class: {
|
|
5152
5228
|
'message-wrapper': true,
|
|
5153
5229
|
'includeErrorPadding': this.includeErrorPadding,
|
|
5154
|
-
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, h("udp-text", { key: '
|
|
5230
|
+
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, h("udp-text", { key: '8c3aaf37f8e570c41fd19d569f329b2741c42c25', variant: "caption1", class: {
|
|
5155
5231
|
message: true,
|
|
5156
5232
|
error: hasError,
|
|
5157
5233
|
} }, message)))));
|
|
@@ -5217,7 +5293,7 @@ const UdpAvatar = class {
|
|
|
5217
5293
|
else {
|
|
5218
5294
|
style['background-color'] = this.getColorForUsername();
|
|
5219
5295
|
}
|
|
5220
|
-
return (h("div", { key: '
|
|
5296
|
+
return (h("div", { key: '8a4610ec04661e1b452a3a90d1014bf8b52ab724', class: classes.join(' '), style: style }, this.iconName ? h("udp-icon", { iconName: this.iconName, darkIcon: false }) : h("unity-typography", { variant: "data-display-two" }, " ", this.getInitial())));
|
|
5221
5297
|
}
|
|
5222
5298
|
};
|
|
5223
5299
|
UdpAvatar.style = udpAvatarCss();
|
|
@@ -5232,7 +5308,7 @@ const UdpBadge = class {
|
|
|
5232
5308
|
}
|
|
5233
5309
|
render() {
|
|
5234
5310
|
const displayContent = this.content > this.max ? `${this.max}+` : this.content;
|
|
5235
|
-
return (h("div", { key: '
|
|
5311
|
+
return (h("div", { key: '0da8a2e57f1008f1c8125dc04371b7ff2f645d46', class: "badge-wrapper" }, h("slot", { key: '58c84e04d456bffb8ef52bc17920106e877731a6' }), h("span", { key: '6d89069c5fba243dd09768d53bc22db5a9d10087', class: "badge-content" }, h("unity-typography", { key: '782d4e30187dcdc37c3f576c8c5ef7abdba98c69', variant: 'caption-text' }, " ", displayContent, " "))));
|
|
5236
5312
|
}
|
|
5237
5313
|
};
|
|
5238
5314
|
UdpBadge.style = udpBadgeCss();
|
|
@@ -5338,7 +5414,7 @@ const UdpButton = class {
|
|
|
5338
5414
|
else {
|
|
5339
5415
|
attributes.type = this.type;
|
|
5340
5416
|
}
|
|
5341
|
-
return (h(TagType, Object.assign({ key: '
|
|
5417
|
+
return (h(TagType, Object.assign({ key: '7baa84d7ecb0dad30e292631ec5f4b802517981e' }, attributes), h("div", { key: '8cccc816704063361274b8d49c21e7572833054c', class: "udp-button__spinner" }), h("span", { key: '4b58d1302bb915e3f5b2e601a018b7a50a0e9d85', class: "udp-button__content-wrapper" }, this.startIcon && (h("span", { key: '0ee4f987276bf6a7e45bb2640459b1758f4278a6', class: "udp-button__icon udp-button__icon--start", "aria-hidden": "true" }, this.startIcon)), h("span", { key: 'd62a766a265c05bee812fcb65c3e27d583f743e2', class: "udp-button__text-content" }, h("slot", { key: 'c6f506475afbb059da5c83d018cd58e507ee23fe' })), this.endIcon && (h("span", { key: '2484247e6274bfe59692431bfbd14ebe7361382c', class: "udp-button__icon udp-button__icon--end", "aria-hidden": "true" }, this.endIcon)))));
|
|
5342
5418
|
}
|
|
5343
5419
|
get el() { return getElement(this); }
|
|
5344
5420
|
};
|
|
@@ -5389,7 +5465,7 @@ const UdpChip = class {
|
|
|
5389
5465
|
[`chip--size-${this.size}`]: true,
|
|
5390
5466
|
'chip--clickable': this.clickable,
|
|
5391
5467
|
};
|
|
5392
|
-
return (h("div", { key: '
|
|
5468
|
+
return (h("div", { key: 'db2ae186154f0cca508f74a6b15a34572168e1bb', class: chipClasses, onClick: this.handleChipClick }, this.startIcon && (h("span", { key: '2f37a3cf668cb672af2d21e59631931759917b08', class: "chip__icon chip__icon--start" }, h("udp-icon", { key: 'b9fff2c87738d25b13bfa8b754a150799fb1d451', iconName: this.startIcon, color: 'inherit' }))), h("span", { key: '3ab501a26f3c2054952fbeb6b99ef0d223503c5c', class: "chip__label" }, this.label), this.deleteButton && (h("span", { key: '926050f23f933abf8d841ad3b10f3a5445b2c8b6', class: "chip__delete-icon", onClick: this.handleDeleteClick, title: "Remove" }, h("svg", { key: '6c726696d04bc69faaa782328ecb3d39a3248930', width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor" }, 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" }))))));
|
|
5393
5469
|
}
|
|
5394
5470
|
};
|
|
5395
5471
|
UdpChip.style = udpChipCss();
|
|
@@ -5467,7 +5543,7 @@ const UdpCompoundButton = class {
|
|
|
5467
5543
|
const showEnd = hasSlotContent(this.el, 'end') || !!this.endIconName;
|
|
5468
5544
|
const showDescription = hasSlotContent(this.el, 'description') || !!this.description;
|
|
5469
5545
|
const iconSize = getIconSize(this.size, 'prominent');
|
|
5470
|
-
return (h(Host, { key: '
|
|
5546
|
+
return (h(Host, { key: '0ce666036b63eb40d2f9f5f489ce384a59ba8fd3' }, 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 && (h("span", { key: 'df21f5a953fae24b6e53b97a4094cf65b22164ca', class: "slot-wrapper", slot: "start" }, h("slot", { key: 'b34eaa4dfbb4d5ce316bc5f77914ff1a765d71b2', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: 'cf9964ee8edcabb1aad307841c2cb2d1f131ea5b', name: this.startIconName, size: iconSize }))))), showDescription && (h("span", { key: 'ea0a9aadb37af98f519f4efb56d0342e0eed434e', slot: "description", class: "description-wrapper" }, h("slot", { key: '20b5799b4ae282e74f3ae1e0c6de6b6ddedf0618', name: "description" }, this.description))), h("slot", { key: '6b1af3fbbe045224af7c72fe1f87e1c5a1afcded' }), showEnd && (h("span", { key: '431fc5a2e8c6db9e80132b5e0252dcfb2fddbe02', class: "slot-wrapper", slot: "end" }, h("slot", { key: '02fb767468962d5eb827101183f9fe409b030f9a', name: "end" }, this.endIconName && h("udp-fluent-icon", { key: '212230c61329e892926512ca66cb6078b9eba991', name: this.endIconName, size: iconSize }))))), this.loading && (h("div", { key: '7aa2262408cf008917f358983056b84b272e8d6b', class: "loading-overlay" }, h("udp-spinner", { key: '69356419e7eab31e29c057ef16071f08ce9c6e7b', size: this.size === 'large' ? 'extra-small' : 'tiny' })))));
|
|
5471
5547
|
}
|
|
5472
5548
|
get el() { return getElement(this); }
|
|
5473
5549
|
};
|
|
@@ -6548,10 +6624,10 @@ const UdpDateRangeSelector = class {
|
|
|
6548
6624
|
: 'calendar-range';
|
|
6549
6625
|
const containerWidth = this.getContainerWidth();
|
|
6550
6626
|
const monthWidth = this.getMonthWidth();
|
|
6551
|
-
return (h(Host, { key: '
|
|
6627
|
+
return (h(Host, { key: '83e00a2208e91dfdd44a778b1b057d8feed2a000', style: {
|
|
6552
6628
|
'--calendar-width': monthWidth,
|
|
6553
6629
|
'--container-width': containerWidth,
|
|
6554
|
-
}, class: `size-${this.size}`, onClick: e => e.stopPropagation() }, h("div", { key: '
|
|
6630
|
+
}, class: `size-${this.size}`, onClick: e => e.stopPropagation() }, h("div", { key: '889da7ac6b4ad6c7085c0e61a981b1c6b78abafb', class: "calendar-header" }, h("udp-fluent-icon-button", { key: 'f0f6c0e218f53dc894b5135afd507e6918c8cd67', iconName: "chevron-left", onClick: this.handlePrevious, disabled: this.isPrevDisabled(), appearance: "transparent", ariaLabel: "Previous" }), h("udp-fluent-button", { key: 'd4e556303c65bc34770d4b0f5ae23d0dfb08d33d', appearance: "transparent", onClick: this.handleHeaderClick, ariaLabel: this.viewMode === 'year' ? undefined : 'Change view', disabled: this.viewMode === 'year' }, this.getHeaderText()), h("udp-fluent-icon-button", { key: 'b7a0f8767e0f6d5d97e06716682c7fbc9f69842d', iconName: "chevron-right", onClick: this.handleNext, disabled: this.isNextDisabled(), appearance: "transparent", ariaLabel: "Next" })), this.viewMode === 'day' && (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 }, h("span", { key: '2f780c058c875271683cbe83d90fc23d13bb62a7', slot: "previous", style: { display: 'none' } }), h("span", { key: '5737f2a4bd9da8594172b632788f0521cce4b7d9', slot: "next", style: { display: 'none' } }), h("div", { key: '2d77fc1c69ece8277f8e02cfbf6758db923c33bf', class: "grid" }, Array.from({ length: this.monthsToDisplay }).map((_, index) => (h("calendar-month", { offset: index })))))), this.viewMode === 'month' && this.renderMonthGrid(), this.viewMode === 'year' && this.renderYearGrid()));
|
|
6555
6631
|
}
|
|
6556
6632
|
static get delegatesFocus() { return true; }
|
|
6557
6633
|
static get watchers() { return {
|
|
@@ -6657,7 +6733,7 @@ const UdpDateTimeInput = class {
|
|
|
6657
6733
|
// If a main label is provided (for date) but no time label, default time label to a non-breaking space
|
|
6658
6734
|
// to maintain vertical alignment (ensuring the time input isn't pushed up).
|
|
6659
6735
|
const effectiveTimeLabel = this.timeLabel === undefined && this.label ? '\u00A0' : this.timeLabel;
|
|
6660
|
-
return (h(Host, { key: '
|
|
6736
|
+
return (h(Host, { key: '716c96e34655b984544529a5702bed5fb92fda57' }, h("div", { key: '71f35f3335950d60638388b7941079df2cc8ddc4', class: "date-part" }, 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 })), h("div", { key: 'fe596e8c2faf15f60fe64ce210057f7fdfeb669b', class: "time-part" }, 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 }))));
|
|
6661
6737
|
}
|
|
6662
6738
|
static get watchers() { return {
|
|
6663
6739
|
"value": [{
|
|
@@ -6720,7 +6796,7 @@ const UdpDialog = class {
|
|
|
6720
6796
|
document.removeEventListener('keydown', this.handleKeyDown);
|
|
6721
6797
|
}
|
|
6722
6798
|
render() {
|
|
6723
|
-
return (h(Host, { key: '
|
|
6799
|
+
return (h(Host, { key: 'cb18dd6c5ab33027ca2ec9393dccd65d8758ccc4', onClick: this.handleOverlayClick }, h("div", { key: 'd9eb88d6df1c725d4e88f3ddc3c164e805381398', class: "dialog-container", role: "dialog", "aria-modal": "true", "aria-labelledby": this.titleId, "aria-describedby": this.descriptionId, onClick: (event) => event.stopPropagation() }, h("div", { key: 'c1802e316d82b90208879df0e5c83d55e4af36cf', class: "dialog-title", id: this.titleId }, h("unity-typography", { key: 'a5da1a32e1384fd005d9450255dac9c3f7bae008', variant: "h3" }, this.title)), h("div", { key: 'e3cfefaf4b7b5f795f2c80e443f2e8112cd18143', class: "dialog-content", id: this.descriptionId }, this.message && h("unity-typography", { key: '985ed90140ed83a6097cc458e8632ac557d143eb', variant: "body" }, this.message), h("slot", { key: '24cc4caf5617e445f04662cfb76c40fbec3ab9bd' })), h("div", { key: 'bea5757676e3f01a875a514580ccc066501df7dd', class: "dialog-actions" }, !this.buttonTwoHidden && (h("udp-button", { key: '0d612a4ae1bc44b061d4b2a897c3a7f45ce98ca2', variant: 'text', disabled: this.disableTwo, onClick: () => this.actionTwo() }, this.labelTwo)), !this.buttonThreeHidden && (h("udp-button", { key: '074a8527a9f48fcc1c1027f9db7baa2da9a8e16d', variant: 'text', disabled: this.disableThree, onClick: () => this.actionThree() }, this.labelThree)), !this.buttonOneHidden && (h("udp-button", { key: '13860fe4323f892ea67e189ca21e5a2178ebc69e', variant: 'contained', disabled: this.disableOne, onClick: () => this.actionOne(), loading: !!this.progress }, this.labelOne))))));
|
|
6724
6800
|
}
|
|
6725
6801
|
get hostEl() { return getElement(this); }
|
|
6726
6802
|
static get watchers() { return {
|
|
@@ -6776,13 +6852,13 @@ const UdpEmptyState = class {
|
|
|
6776
6852
|
const showIconArea = this.loading || this.hasIcon || !!this.iconName;
|
|
6777
6853
|
const showSecondary = this.hasSecondary || !!this.description;
|
|
6778
6854
|
const textVariants = TEXT_VARIANT_MAP[this.size];
|
|
6779
|
-
return (h(Host, { key: '
|
|
6855
|
+
return (h(Host, { key: 'e93b07a3fd7735656f9e1cdaf85a4d1c6e5ca67e', class: `size-${this.size}` }, h("div", { key: 'c914cd2dddc06ea87dfb6bb114815ef7c3ead245', class: { 'empty-state-icon': true, hidden: !showIconArea } }, h("div", { key: '9485f4dcaacf5d8b19d9fad9e5d90b3aa0bd6fc6', class: { 'icon-slot': true, hidden: this.loading } }, h("slot", { key: '4676772d152d8fe23026d8ab8d430807f270f0d8', name: "icon", onSlotchange: this.handleSlotChange }, this.iconName && h("udp-fluent-icon", { key: '8fdbbec190c85ed57e8aed29b82f08315806a66c', name: this.iconName }))), this.loading && h("udp-spinner", { key: '5d7e768f488e31943d085f687fc5b2e5ea53879c', size: SPINNER_SIZE_MAP[this.size] })), h("div", { key: '56e08c3b1b15f3dcf4cb49376ffebdee87b01580', class: "empty-state-primary" }, h("slot", { key: '0a70b1a898419dcc65463ebcd25cb2d310783609', onSlotchange: this.handleSlotChange }, this.heading && h("udp-text", { key: '4db25583f38bcecf12c151c0e9553004b7a7a7a4', variant: textVariants.heading }, this.heading))), h("div", { key: '41cf4f1723f3a87d1be0dacba88415063bd910a7', class: { 'empty-state-secondary': true, hidden: !showSecondary } }, h("slot", { key: '776f182e79316b98f9bbece60db558ef919dd22f', name: "secondary", onSlotchange: this.handleSlotChange }, this.description && h("udp-text", { key: '71598dc5f908689fb69c5fe62f466e2468cb10b2', variant: textVariants.description }, this.description))), h("div", { key: '102cce72e2f5d009f2fcad7f45b69ecdb28dc66d', class: { 'empty-state-action': true, hidden: !this.hasAction } }, h("slot", { key: 'f2779cec821fefd7300303c4f8c485aac837b8ba', name: "action", onSlotchange: this.handleSlotChange }))));
|
|
6780
6856
|
}
|
|
6781
6857
|
get el() { return getElement(this); }
|
|
6782
6858
|
};
|
|
6783
6859
|
UdpEmptyState.style = udpEmptyStateCss();
|
|
6784
6860
|
|
|
6785
|
-
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;
|
|
6861
|
+
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%}`;
|
|
6786
6862
|
|
|
6787
6863
|
const POLL_INTERVAL_MS = 5000;
|
|
6788
6864
|
const STATUS = { PENDING: 1, RUNNING: 2, COMPLETED: 3, FAILED: 4 };
|
|
@@ -6849,7 +6925,6 @@ const UdpExportSheet = class {
|
|
|
6849
6925
|
const job = (await executeQueryWithParameters({
|
|
6850
6926
|
data: {
|
|
6851
6927
|
requestBody: {
|
|
6852
|
-
debug: true,
|
|
6853
6928
|
exportAcrossAssociations: false,
|
|
6854
6929
|
exportOnAllAssociations: false,
|
|
6855
6930
|
exportSiblings: false,
|
|
@@ -7001,9 +7076,15 @@ const UdpExportSheet = class {
|
|
|
7001
7076
|
}
|
|
7002
7077
|
}
|
|
7003
7078
|
selectedExportColumns() {
|
|
7079
|
+
var _a;
|
|
7004
7080
|
if (!this.columns.length)
|
|
7005
7081
|
return [];
|
|
7006
|
-
|
|
7082
|
+
// "Everything selected" normally means no projection, letting the backend
|
|
7083
|
+
// export its default column set. With extra fields in play that default
|
|
7084
|
+
// would not know which definitions the grid shows, so the projection is
|
|
7085
|
+
// always explicit (`_UdpExtraField.<Name>` ids ride along unchanged).
|
|
7086
|
+
const hasExtraFields = ((_a = this.searchObject) === null || _a === void 0 ? void 0 : _a.includeUdpExtraFieldValues) === true;
|
|
7087
|
+
if (!hasExtraFields && this.selectedColumns.length === this.columns.length)
|
|
7007
7088
|
return [];
|
|
7008
7089
|
return this.columns
|
|
7009
7090
|
.filter(col => this.selectedColumns.includes(col.field))
|
|
@@ -7104,12 +7185,12 @@ const UdpExportSheet = class {
|
|
|
7104
7185
|
const someShownSelected = shownSelectedCount > 0;
|
|
7105
7186
|
const sanitized = getSanitizedName(this.entityName || '');
|
|
7106
7187
|
const statusId = (_a = this.activeJob) === null || _a === void 0 ? void 0 : _a.statusId;
|
|
7107
|
-
return (h(Host, { key: '
|
|
7188
|
+
return (h(Host, { key: 'b586670a12ee8884a29db89c019656d4e9898adb' }, h("udp-fluent-drawer", { key: '7fb9208134f6d1b80716f5f9ec7fcf2922ba848e', open: this.open, drawerTitle: this.sheetTitle, size: "medium", onDrawerClose: this.handleDrawerClose }, h("div", { key: 'cb3b3f11b9965d17a5884ec7ccb0797da3bb2362', class: "export-sheet" }, this.errors.map(err => (h("udp-message-bar", { intent: err.severity, layout: "multiline" }, err.message))), !showProgress && (h("div", { key: '2239d6909eae277525e64de849835bb736c4ec76', class: "stack" }, h("udp-fluent-card", { key: 'e59175204062aa54856f5d545bb614408b627d48', label: "Export Summary" }, h("udp-text", { key: 'da62298dea6ef6ede47904b344a088aa55abe683', variant: "body1" }, "Exports all records that match your applied filters."), h("div", { key: '9bdfefb0700c7dc321f1827ac6d037d7d5ff015d', class: "row-list" }, this.renderRow('Table', sanitized || '—'), this.renderRow('Number of Rows', this.numRowsToExport == null ? null : this.numRowsToExport.toLocaleString()))), h("udp-fluent-card", { key: '09575d8faa1602eedde568ba99f68bb849f81659', label: "Export Options" }, h("div", { key: '37a2474656cc2a7e4a5389c5c97b0a52c37dc9d8', class: "row-list" }, this.renderRow('File Format', this.fileFormat))), this.columns.length > 0 && (h("udp-fluent-card", { key: '05c2328541dba497f3e431baea5434ca48975304', label: "Columns" }, h("udp-flexbox", { key: 'a311207593a27d551e27d6b948fd9eaeb29cef33', direction: "column", gap: "sm" }, h("udp-search-input", { key: '5e01900d0714f89e17a52154ca1d4ac62ea440a5', value: this.columnSearch, placeholder: "Search columns", onValueChanged: (e) => {
|
|
7108
7189
|
var _a;
|
|
7109
7190
|
this.columnSearch = (_a = e.detail) !== null && _a !== void 0 ? _a : '';
|
|
7110
|
-
} }), shownColumns.length > 0 && (h("udp-fluent-checkbox", { key: '
|
|
7191
|
+
} }), shownColumns.length > 0 && (h("udp-fluent-checkbox", { key: 'fda814dfc8af31180aee40f2eaec66533c56d100', label: "Select all", includeErrorPadding: false, checked: allShownSelected, indeterminate: !allShownSelected && someShownSelected, onValueChanged: () => this.toggleAllShown(!allShownSelected) })), shownColumns.map(col => (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 && (h("udp-text", { key: '7d84937045ca0e3208f7b19889055a1ed2e87698', variant: "body1" }, "No columns match your search."))))))), showProgress && (h("div", { key: '27cc1d06460fe594357f4ec0a5ceb3b65c27f5f2', class: "stack" }, h("udp-fluent-card", { key: 'be5a68f2d889e68aa288f18fde4be42c50726efe', label: "Job Details" }, h("udp-text", { key: 'd448f49236bded2f90f16c41fa0190b0d48fb910', variant: "body1" }, "Exports are handled in the background. You can safely close this window."), 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) : '—'), h("div", { key: '9a7a6e78086d161f05cb4c883138c77fbdfec14d', class: "row" }, h("udp-text", { key: 'f7b501c21709a625aa397c266096c69f79b62395', variant: "caption1", class: "row-label" }, "Status"), h("udp-fluent-badge", { key: 'a2d98e2f681aeea69ecb944308ae029cb4b8c0c5', appearance: "tint", color: this.statusColor(), shape: "rounded", size: "small" }, this.statusLabel())), (statusId === STATUS.PENDING || statusId === STATUS.RUNNING) && (h("udp-progress-bar", { key: '271dd8afc32e4fa7ee2d1f2e88f84dabecb7b29d', thickness: "medium", validationState: "info" })), statusId === STATUS.COMPLETED && !((_c = this.fileResult) === null || _c === void 0 ? void 0 : _c.link) && (h("udp-text", { key: '6a5b85b4b67e2f58877496c96a474a7ec829e5f9', variant: "body1" }, this.errors.some(e => e.id === 'fileResultGet')
|
|
7111
7192
|
? 'Your export is ready. To download it, visit the My Exports page.'
|
|
7112
|
-
: 'Your file is being finalized…')), statusId === STATUS.FAILED && (h("udp-text", { key: '
|
|
7193
|
+
: 'Your file is being finalized…')), statusId === STATUS.FAILED && (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) && (h("udp-fluent-button", { key: '669eba1f0e5eb5f83cd402895cc3ed7d4d550f0f', slot: "footer", startIconName: "download", onClick: this.handleDownload }, "Download")))))), !showProgress && (h("div", { key: 'f76975ac218804b8ca4dcaffd24736073173a4e5', slot: "footer", class: "export-footer" }, 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"))))));
|
|
7113
7194
|
}
|
|
7114
7195
|
static get watchers() { return {
|
|
7115
7196
|
"open": [{
|
|
@@ -7405,7 +7486,7 @@ const UdpField = class {
|
|
|
7405
7486
|
}
|
|
7406
7487
|
}
|
|
7407
7488
|
render() {
|
|
7408
|
-
return h("slot", { key: '
|
|
7489
|
+
return h("slot", { key: 'adb9c22625a985ce7222ba9a77ed111f23b14192' });
|
|
7409
7490
|
}
|
|
7410
7491
|
get el() { return getElement(this); }
|
|
7411
7492
|
};
|
|
@@ -7572,7 +7653,7 @@ const UdpFluentAvatar = class {
|
|
|
7572
7653
|
}
|
|
7573
7654
|
render() {
|
|
7574
7655
|
const imgBorderRadius = this.getImageBorderRadius();
|
|
7575
|
-
return (h(Host, { key: '
|
|
7656
|
+
return (h(Host, { key: 'ede0119d8b0d4aae40fdc1fbd820ee598e0d411d' }, 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 ? (h("img", { src: this.src, alt: this.alt, style: Object.assign({ objectFit: 'cover' }, (imgBorderRadius ? { borderRadius: imgBorderRadius } : {})) })) : this.iconName ? (h("udp-fluent-icon", { name: this.iconName, variant: this.iconVariant, size: this.getIconSize() })) : null, h("slot", { key: 'e72efbdfa309e5c3b703be730a2db98b3d2f0d0e', name: "badge", slot: "badge" }))));
|
|
7576
7657
|
}
|
|
7577
7658
|
static get watchers() { return {
|
|
7578
7659
|
"name": [{
|
|
@@ -7625,13 +7706,13 @@ const UdpFluentBadge = class {
|
|
|
7625
7706
|
this.ready = true;
|
|
7626
7707
|
}
|
|
7627
7708
|
render() {
|
|
7628
|
-
return (h(Host, { key: '
|
|
7709
|
+
return (h(Host, { key: '113d66f531bd3b882a100121446adaf00ba58b24', class: { ready: this.ready, truncate: this.truncate } }, h("fluent-badge", { key: '3565c8ade5e3cbac1dd208e3b8343a5fe0323ce9', appearance: this.appearance, color: this.color, shape: this.shape, size: this.size }, (this.startIconName || hasSlotContent(this.el, 'start')) && (h("span", { key: 'b072f87e2d76fb81d63fd5dfb121033f763f130c', class: "slot-wrapper", slot: "start" }, h("slot", { key: '53188a6ddbb19443647a1f00dd6a1c90c39142e4', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: 'b6ff4092b525defa3d1f2f774251ce0ed72dee80', name: this.startIconName, size: getBadgeIconSize(this.size) }))))), h("span", { key: 'f2e391949bc4390fa92a68508d67e2ee2bf08721', class: "default-slot" }, h("slot", { key: 'd32520b7838e0cf7d1c9e751c99646c358fc8272' })), this.dismissible ? (h("button", { type: "button", class: "dismiss-button", slot: "end", "aria-label": this.dismissLabel, onClick: this.handleDismiss, onMouseDown: (e) => e.preventDefault() }, h("udp-fluent-icon", { name: "dismiss", size: getBadgeIconSize(this.size) }))) : ((this.endIconName || hasSlotContent(this.el, 'end')) && (h("span", { class: "slot-wrapper", slot: "end" }, h("slot", { name: "end" }, this.endIconName && (h("udp-fluent-icon", { name: this.endIconName, size: getBadgeIconSize(this.size) })))))))));
|
|
7629
7710
|
}
|
|
7630
7711
|
get el() { return getElement(this); }
|
|
7631
7712
|
};
|
|
7632
7713
|
UdpFluentBadge.style = udpFluentBadgeCss();
|
|
7633
7714
|
|
|
7634
|
-
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}`;
|
|
7715
|
+
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}`;
|
|
7635
7716
|
|
|
7636
7717
|
const UdpFluentButton = class {
|
|
7637
7718
|
constructor(hostRef) {
|
|
@@ -7651,6 +7732,11 @@ const UdpFluentButton = class {
|
|
|
7651
7732
|
* Defines the size of the button.
|
|
7652
7733
|
*/
|
|
7653
7734
|
this.size = 'medium';
|
|
7735
|
+
/**
|
|
7736
|
+
* Marks a destructive action (Delete): the primary appearance fills red, the others turn their
|
|
7737
|
+
* text red. Pair it with a confirmation; keep it to the action that destroys data.
|
|
7738
|
+
*/
|
|
7739
|
+
this.danger = false;
|
|
7654
7740
|
/**
|
|
7655
7741
|
* Indicates the button should only display as an icon. Use udp-fluent-icon-button.
|
|
7656
7742
|
*/
|
|
@@ -7708,7 +7794,7 @@ const UdpFluentButton = class {
|
|
|
7708
7794
|
const iconSize = getIconSize(this.size);
|
|
7709
7795
|
const isDisabled = this.disabled || this.loading;
|
|
7710
7796
|
const isLoading = this.loading;
|
|
7711
|
-
return (h(Host, { key: '
|
|
7797
|
+
return (h(Host, { key: '6ec3fd6c33aceb30979c2b36837c1a0ecb0428d4' }, 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 || hasSlotContent(this.el, 'start')) && (h("span", { key: '353e89774b22ad23eb6a4f2e2e0a6037e5435182', class: "slot-wrapper", slot: "start" }, h("slot", { key: 'be2d5b057b614ed9d054d64e3c820e003577d1ff', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: '51b37d743f1b7c931dc00c5ea42a0ae3e3b7cc84', name: this.startIconName, size: iconSize }))))), h("slot", { key: '1865ddc91d92d70e4e3a43fe044ea350941ed620' }), (this.endIconName || hasSlotContent(this.el, 'end')) && (h("span", { key: 'fbd36d54b8312a5d0fb8800402d92be121400b27', class: "slot-wrapper", slot: "end" }, h("slot", { key: 'cc29704aedf782834799d57e60d4585664868282', name: "end" }, this.endIconName && h("udp-fluent-icon", { key: '316f0a7abc455072cd626d5ed5874296e2347bf5', name: this.endIconName, size: iconSize }))))), isLoading && (h("div", { key: '784fbd341db8d8ad9c21313df9ffc5e01dac4b0c', class: "loading-overlay" }, h("udp-spinner", { key: 'a7fc8d2b02ea10c3f8c02dbb27ee396ac81c4879', size: this.size === 'large' ? 'extra-small' : 'tiny' })))));
|
|
7712
7798
|
}
|
|
7713
7799
|
get el() { return getElement(this); }
|
|
7714
7800
|
};
|
|
@@ -7765,21 +7851,21 @@ const UdpFluentCard = class {
|
|
|
7765
7851
|
}
|
|
7766
7852
|
}
|
|
7767
7853
|
render() {
|
|
7768
|
-
return (h(Host, { key: '
|
|
7854
|
+
return (h(Host, { key: '42613fd2fc928545f2ee3b591724d792ac6bf8b9', class: {
|
|
7769
7855
|
[`appearance-${this.appearance}`]: true,
|
|
7770
7856
|
[`orientation-${this.orientation}`]: true,
|
|
7771
7857
|
interactive: this.interactive,
|
|
7772
7858
|
}, style: {
|
|
7773
7859
|
width: this.width,
|
|
7774
7860
|
height: this.height,
|
|
7775
|
-
}, tabIndex: this.interactive ? 0 : undefined }, h("div", { key: '
|
|
7861
|
+
}, tabIndex: this.interactive ? 0 : undefined }, h("div", { key: 'ef0d005cae6ee7cdf34d6b934f28ac5f8303aadd', class: { 'card-preview': true, 'hidden': !this.hasPreview } }, h("slot", { key: '75dfc18d36cec3409ba32942ec3ed5e7a37a1c5e', name: "preview", onSlotchange: this.handleSlotChange })), h("div", { key: 'f6075b079c9d21c35cb818eb017da3b286210b08', class: {
|
|
7776
7862
|
'card-header': true,
|
|
7777
7863
|
'hidden': !(this.hasHeader ||
|
|
7778
7864
|
this.hasHeaderStart ||
|
|
7779
7865
|
this.label ||
|
|
7780
7866
|
this.subtitle ||
|
|
7781
7867
|
this.hasHeaderAction),
|
|
7782
|
-
} }, h("div", { key: '
|
|
7868
|
+
} }, h("div", { key: 'a28c32b4427719cc626bbea195f49726481074cd', class: { 'card-header-start': true, 'hidden': !this.hasHeaderStart } }, h("slot", { key: 'b20831ce03d8d5c2f644abefed29e08ba3abe588', name: "header-start", onSlotchange: this.handleSlotChange })), h("div", { key: '61ecab395a0cd8e04e969c73bbfecb6e74067763', class: "card-header-content" }, h("slot", { key: 'ebddff0bb42ba3d647fadeff27be27e60d1128a3', name: "header", onSlotchange: this.handleSlotChange }, (this.label || this.subtitle) && (h("div", { key: '9eb17399d0f24259713a2fb4a92bbae33f0c9353', class: "header-content-wrapper" }, this.label && h("udp-text", { key: 'ca3fe574f8ce3438be50c98f8cbf31960092c136', variant: "subtitle2" }, this.label), this.subtitle && (h("udp-text", { key: '488255c4e3a9188164a225931ed0a58ef7604819', variant: "caption1", class: "header-subtitle" }, this.subtitle)))))), h("udp-flexbox", { key: '24f70ee2d1cece39e4a4c1ac2e061b7bfa10707b', class: { hidden: !this.hasHeaderAction }, direction: "row" }, h("slot", { key: 'b3524d013e7f50af49d9ddc0520ddeb780b00ba2', name: "header-action", onSlotchange: this.handleSlotChange }))), h("div", { key: '13571c531d0c394063164ad0bedf5e309b3e8d8d', class: { 'card-body': true, 'no-padding': !this.bodyPadding } }, h("slot", { key: 'e82b84b8f3d31a5e18d3ebb6167dbadd1279756f' })), h("udp-flexbox", { key: 'f1d5edb7e8e0ac53300efa3d5706fc369e464c7f', class: { 'card-footer': true, 'hidden': !this.hasFooter }, direction: "row" }, h("slot", { key: 'b1f6055dbf74ef963459240981acbd65b9a81b7a', name: "footer", onSlotchange: this.handleSlotChange }))));
|
|
7783
7869
|
}
|
|
7784
7870
|
get el() { return getElement(this); }
|
|
7785
7871
|
};
|
|
@@ -7843,7 +7929,7 @@ const UdpFluentCheckbox = class {
|
|
|
7843
7929
|
render() {
|
|
7844
7930
|
const hasError = !!this.error;
|
|
7845
7931
|
const message = this.error || this.hint;
|
|
7846
|
-
return (h(Host, { key: '
|
|
7932
|
+
return (h(Host, { key: '96d04acfede460801f97d6a064354301a35906af' }, h("fluent-field", { key: '6dbeae4a003c16a7b90e730e747bc2fec18cb0f1', "label-position": this.labelPosition, class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, h("fluent-label", { key: 'f32baab890f1997746beae705004a770bf8dbac2', slot: "label", disabled: this.disabled, onClick: this.handleLabelClick }, this.label, this.popupHint && (h("udp-tooltip", { key: '1c7bfb3bc919dcaa03905881f972956403e28c37', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '40921c124f21ffa08d53cbd42c04a37146a46858', name: "info", size: "xs", class: "popup-hint-icon" })))), 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 }), h("udp-text", { key: 'd272a0d1d5b76278d00f17b1a40b07b20fce915d', slot: "message", variant: "caption1", class: {
|
|
7847
7933
|
message: true,
|
|
7848
7934
|
error: hasError,
|
|
7849
7935
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -7869,7 +7955,7 @@ const UdpFluentCounterBadge = class {
|
|
|
7869
7955
|
this.dot = false;
|
|
7870
7956
|
}
|
|
7871
7957
|
render() {
|
|
7872
|
-
return (h(Host, { key: '
|
|
7958
|
+
return (h(Host, { key: '594f89a3520a869fb2b3bb0acc6a7e72ccf38082' }, 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 }, h("slot", { key: '46b130818ecde4db65c928ce0bea2b116a43b22a', name: "start", slot: "start" }), this.count === undefined && h("slot", { key: '908a725c21faa29c8d16159e2e4316d593222a50' }), h("slot", { key: 'f95e241aaef725952fe160d6fe6ece7cb0cdcc64', name: "end", slot: "end" }))));
|
|
7873
7959
|
}
|
|
7874
7960
|
};
|
|
7875
7961
|
UdpFluentCounterBadge.style = udpFluentCounterBadgeCss();
|
|
@@ -7933,7 +8019,7 @@ const UdpFluentDialog = class {
|
|
|
7933
8019
|
}
|
|
7934
8020
|
}
|
|
7935
8021
|
render() {
|
|
7936
|
-
return (h(Host, { key: '
|
|
8022
|
+
return (h(Host, { key: '53448ffb889b9560368b9462c2389aac768bd73b', style: { '--dialog-max-height': this.maxHeight } }, h("fluent-dialog", { key: '3647c7d8dff46f1791ca6bc333ea79107f189ada', ref: this.setDialogRef, type: this.type, onToggle: this.handleToggle }, h("fluent-dialog-body", { key: '96ca9e72996394dcafddce099160e31ac9c5c892' }, h("slot", { key: 'f4cb923289f14f5fb6b3f57ae03af356a8391a44', name: "header", slot: "title" }, this.dialogTitle && h("udp-fluent-text", { key: '98042494e6f2f106d8c3f731a5228c3c233a1d9e' }, this.dialogTitle)), this.showHeaderCloseButton && (h("udp-fluent-icon-button", { key: '0f1885b19b0316351147e2c9e403f20b8cb14634', slot: "close", appearance: "subtle", iconName: "dismiss", ariaLabel: "Close Dialog" })), h("div", { key: 'e62db86aed4efb2552eca9fbad0cb906c43c890e', class: "dialog-content" }, h("slot", { key: 'f84885993c11f14dd9900dd8dfaad939d1d26a7b' })), h("udp-flexbox", { key: '9f82314289f7f99a27f3759cb5a73f3f307fbc3a', slot: "action", direction: "row" }, h("slot", { key: '8d27289e38d63c5fc6dc12e06813a898702e9f21', name: "action" }))))));
|
|
7937
8023
|
}
|
|
7938
8024
|
get el() { return getElement(this); }
|
|
7939
8025
|
static get watchers() { return {
|
|
@@ -7957,11 +8043,11 @@ const UdpFluentDivider = class {
|
|
|
7957
8043
|
this.orientation = 'horizontal';
|
|
7958
8044
|
}
|
|
7959
8045
|
render() {
|
|
7960
|
-
return (h(Host, { key: '
|
|
8046
|
+
return (h(Host, { key: '745878ef603dc3e010d00087336f2bd4766b7466', style: { background: 'transparent' } }, h("fluent-divider", { key: 'a602184f20f4d4eaba040de1d9c3f8abbb3d554f', "align-content": this.alignContent, appearance: this.appearance, inset: this.inset, role: this.role, orientation: this.orientation }, h("slot", { key: '0eb588fc86d7af0a0ce0026ebe8dece40022206d' }))));
|
|
7961
8047
|
}
|
|
7962
8048
|
};
|
|
7963
8049
|
|
|
7964
|
-
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)}`;
|
|
8050
|
+
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)}`;
|
|
7965
8051
|
|
|
7966
8052
|
// Approximate widths for standard Fluent drawer sizes
|
|
7967
8053
|
const DRAWER_SIZES = {
|
|
@@ -8005,6 +8091,11 @@ const UdpFluentDrawer = class {
|
|
|
8005
8091
|
* layouts that draw their own regions (e.g. a builder with panes and dividers).
|
|
8006
8092
|
*/
|
|
8007
8093
|
this.excludeBodyPadding = false;
|
|
8094
|
+
/**
|
|
8095
|
+
* Body background. `default` matches the header and footer, so content lays flat with
|
|
8096
|
+
* dividers; `muted` is the softer grey that cards sit on, for a drawer laid out in cards.
|
|
8097
|
+
*/
|
|
8098
|
+
this.bodyBackground = 'default';
|
|
8008
8099
|
/**
|
|
8009
8100
|
* When true, the drawer will not close itself when the user clicks the close
|
|
8010
8101
|
* button, presses Escape, or clicks the backdrop. Instead it emits `drawerClose`
|
|
@@ -8363,7 +8454,7 @@ const UdpFluentDrawer = class {
|
|
|
8363
8454
|
}
|
|
8364
8455
|
}
|
|
8365
8456
|
render() {
|
|
8366
|
-
return (h(Host, { key: '
|
|
8457
|
+
return (h(Host, { key: 'a1bd186bc5056454ac62402bb81949091d72e3f3', class: { 'has-footer': this.hasFooter, 'body-muted': this.bodyBackground === 'muted' } }, h("fluent-drawer", { key: '1b6b39af51d8c08c7c98103543cf5e45a11e1a1f', ref: this.setDrawerRef, onToggle: this.handleToggle, type: "modal", position: this.position, size: this.effectiveSize }, h("fluent-drawer-body", { key: 'bfa65ccd20602ee90985e4ef779949b3569dbedb' }, this.hasTitle ? (h("slot", { name: "title", slot: "title" })) : (h("udp-text", { variant: "subtitle1", slot: "title" }, this.drawerTitle)), h("udp-fluent-icon-button", { key: 'ac5d3863dc79e3f9e1f47755183c6a953fe51d9c', slot: "close", appearance: "subtle", iconName: "dismiss", "aria-label": "close" }), this.hasToolbar && (h("udp-flexbox", { key: '60932e646dab225c2e56f2725b5ff6b429a3cc12', class: "drawer-toolbar", direction: "row", width: "100%" }, h("slot", { key: '064326973889ed9879dfa05c75e98fe5f6c87cde', name: "toolbar" }))), h("div", { key: '7ef314cdf3606e8f42b62f499eb9ed2481767bf9', class: "drawer-scroll-container", ref: el => (this.contentRef = el), onScroll: this.handleScroll }, h("div", { key: '7ee4533a8dc0915b71d8983916044baf6c43f6e0', class: `scroll-shadow top ${this.showTopShadow ? 'visible' : ''}` }), h("div", { key: 'c06b98fcac82fea917d6518347c3f2e87b290a93', class: `drawer-content-inner${this.excludeVerticalPadding ? ' exclude-vertical' : ''}${this.excludeHorizontalPadding ? ' exclude-horizontal' : ''}${this.excludeBodyPadding ? ' no-body-padding' : ''}` }, h("slot", { key: '9f069f6e11e851bb7336a6019095ef2647ec8eee' })), h("div", { key: '93666fa0932f3f6d4f871ea713415dcd0149d92c', class: `scroll-shadow bottom ${this.showBottomShadow ? 'visible' : ''}` })), this.hasFooter && (h("udp-flexbox", { key: '1a564b90af81554aa0e3aeea141c974c48611bf3', slot: "footer", direction: "row" }, h("slot", { key: '4ed056b980fe0a6d941f70f56343c63e93e23ec5', name: "footer" })))))));
|
|
8367
8458
|
}
|
|
8368
8459
|
get el() { return getElement(this); }
|
|
8369
8460
|
static get watchers() { return {
|
|
@@ -8488,6 +8579,8 @@ const UdpFluentDropdown = class {
|
|
|
8488
8579
|
* Single mode: the selected option (or null). Multi mode: array of selected options.
|
|
8489
8580
|
*/
|
|
8490
8581
|
this.selectionForOverlay = null;
|
|
8582
|
+
/** Set by the value/options watchers; the next render applies the selection to the options it rendered. */
|
|
8583
|
+
this.selectionPending = false;
|
|
8491
8584
|
this.typeaheadBuffer = '';
|
|
8492
8585
|
this.handleTogglePopover = (onlyClose) => {
|
|
8493
8586
|
var _a, _b, _c, _d;
|
|
@@ -8636,7 +8729,20 @@ const UdpFluentDropdown = class {
|
|
|
8636
8729
|
componentDidLoad() {
|
|
8637
8730
|
this.patchDropdownShadow();
|
|
8638
8731
|
this.syncSelectionForOverlay();
|
|
8639
|
-
this.
|
|
8732
|
+
this.applySelection();
|
|
8733
|
+
}
|
|
8734
|
+
/**
|
|
8735
|
+
* Applies a value/options change once the render it caused has run. The
|
|
8736
|
+
* watchers fire before that render, so a new options list's
|
|
8737
|
+
* `<fluent-option>`s don't exist yet; syncing from the watcher (even a frame
|
|
8738
|
+
* later) can miss them, leaving a value set before its options arrived with
|
|
8739
|
+
* no selected option and an empty control.
|
|
8740
|
+
*/
|
|
8741
|
+
componentDidRender() {
|
|
8742
|
+
if (!this.selectionPending)
|
|
8743
|
+
return;
|
|
8744
|
+
this.selectionPending = false;
|
|
8745
|
+
this.applySelection();
|
|
8640
8746
|
}
|
|
8641
8747
|
/**
|
|
8642
8748
|
* Override fluent-dropdown's hardcoded min-width: 160px on .control (shadow DOM,
|
|
@@ -8655,8 +8761,11 @@ const UdpFluentDropdown = class {
|
|
|
8655
8761
|
`);
|
|
8656
8762
|
shadow.adoptedStyleSheets = [...shadow.adoptedStyleSheets, sheet];
|
|
8657
8763
|
}
|
|
8658
|
-
/** Syncs fluent-dropdown selection when value or options change. */
|
|
8764
|
+
/** Syncs fluent-dropdown selection when value or options change, after they render. */
|
|
8659
8765
|
valueHandler() {
|
|
8766
|
+
this.selectionPending = true;
|
|
8767
|
+
}
|
|
8768
|
+
applySelection() {
|
|
8660
8769
|
if (!this.dropdownRef)
|
|
8661
8770
|
return;
|
|
8662
8771
|
// rAF lets the option list finish rendering before we read selected state.
|
|
@@ -8788,15 +8897,15 @@ const UdpFluentDropdown = class {
|
|
|
8788
8897
|
const overlayOptions = this.getSelectedOverlayOptions();
|
|
8789
8898
|
const hasOverlay = overlayOptions.length > 0;
|
|
8790
8899
|
const mappedAppearance = this.appearance === 'underline' ? 'transparent' : this.appearance;
|
|
8791
|
-
return (h(Host, { key: '
|
|
8900
|
+
return (h(Host, { key: '4af2944eac3fbcc8a7ab5a728739db9ac5dfd6c9', class: { 'has-error': hasError } }, h("fluent-field", { key: 'a363bf200bdbb04ccb82526ce5273057cf179a39', class: {
|
|
8792
8901
|
'no-message': !message && !this.includeErrorPadding,
|
|
8793
8902
|
'no-label': !this.label,
|
|
8794
|
-
} }, this.label && (h("fluent-label", { key: '
|
|
8903
|
+
} }, this.label && (h("fluent-label", { key: '7eeebfc9170e03046fd797c7053a110b7eae38f5', slot: "label", disabled: this.disabled, onClick: () => this.handleTogglePopover(false), style: { paddingTop: '2px', paddingBottom: '2px' } }, this.label, this.popupHint && (h("udp-tooltip", { key: 'b60927d3204d20b8d957727baa8c93ec98c2888e', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: 'fe96ed742d2bc568cfe64947a08b5c1ee383a508', name: "info", size: "xs", class: "popup-hint-icon" }))))), h("div", { key: '27b94bf86cba1b03e2cf5535bc06ba0eabf9a300', slot: "input", class: {
|
|
8795
8904
|
'input-wrapper': true,
|
|
8796
8905
|
'has-overlay': hasOverlay,
|
|
8797
|
-
} }, h("fluent-dropdown", { key: '
|
|
8906
|
+
} }, 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(),
|
|
8798
8907
|
// Suppress native invalid popup
|
|
8799
|
-
onInvalid: (e) => e.preventDefault(), ref: el => (this.dropdownRef = el) }, h("fluent-listbox", { key: '
|
|
8908
|
+
onInvalid: (e) => e.preventDefault(), ref: el => (this.dropdownRef = el) }, h("fluent-listbox", { key: 'd0f8a3f1edf511c18937ab394a2a33f35995433b' }, this.loading && (h("fluent-option", { key: '4248b325952cfb566291400e99f7e8462e4db642', disabled: true, ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, h("span", { key: '9a67a779d650ac68e979b19664593a43009fa82f' }, "Loading..."), h("span", { key: '32f0ae502cf34615e49152bef429be5a3c46c1b1', slot: "indicator" }))), !this.loading && ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) === 0 && (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 &&
|
|
8800
8909
|
((_b = this.options) === null || _b === void 0 ? void 0 : _b.length) > 0 &&
|
|
8801
8910
|
(() => {
|
|
8802
8911
|
const nodes = [];
|
|
@@ -8816,17 +8925,17 @@ const UdpFluentDropdown = class {
|
|
|
8816
8925
|
nodes.push(h("fluent-option", { key: index, disabled: !!optDisabled, value: safeValue, ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', !!optDisabled) }, optIcon && this.iconPosition === 'start' && (h("span", { slot: "start", class: "option-icon-slot" }, h("udp-fluent-icon", { name: optIcon, size: "sm" }))), optLabel, optIcon && this.iconPosition === 'end' && (h("span", { class: "option-icon-end", style: { pointerEvents: 'none', marginLeft: '4px' } }, h("udp-fluent-icon", { name: optIcon, size: "sm" }))), this.renderBadges(optBadges)));
|
|
8817
8926
|
});
|
|
8818
8927
|
return nodes;
|
|
8819
|
-
})()), h("div", { key: '
|
|
8928
|
+
})()), h("div", { key: '71aa382d0627d33ade32250abdb524f9f400d1d6', slot: "indicator", class: "indicator-wrapper" }, h("udp-fluent-icon-button", { key: 'ae08bacc142cf4309b7c1ea50a2700f9ff25dd2c', class: {
|
|
8820
8929
|
'clear-button': true,
|
|
8821
8930
|
'is-visible': this.showClearButton && !this.disabled && this.clearable,
|
|
8822
|
-
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), h("udp-fluent-icon", { key: '
|
|
8931
|
+
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), h("udp-fluent-icon", { key: 'b5a1b696d6dff58c26d6935e6ea6961752e7253e', name: "chevron-down", size: "sm", class: "chevron-down", onClick: (ev) => {
|
|
8823
8932
|
// stopPropagation: fluent's clickHandler would re-open via its `!this.open → showPopover` branch.
|
|
8824
8933
|
ev.stopPropagation();
|
|
8825
8934
|
this.handleTogglePopover(false);
|
|
8826
|
-
} }))), hasOverlay && (h("div", { key: '
|
|
8935
|
+
} }))), hasOverlay && (h("div", { key: 'dd009ec183faf48af1a1a7b959b658ba02d900ca', class: { 'selected-overlay': true, 'multi': overlayOptions.length > 1 }, "aria-hidden": "true" }, overlayOptions.map((opt, i) => (h("span", { class: "selected-item", key: this.getOptionValue(opt) || i }, i > 0 && h("span", { class: "selected-separator" }, ", "), h("span", { class: "selected-label" }, this.resolveProp(opt, this.optionLabel, true)), this.renderBadges(this.getOptionBadges(opt)))))))), h("div", { key: '7e5b4f4adc04da9bdea3311032e17abe244580f7', class: {
|
|
8827
8936
|
'message-wrapper': true,
|
|
8828
8937
|
'includeErrorPadding': this.includeErrorPadding,
|
|
8829
|
-
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, h("udp-text", { key: '
|
|
8938
|
+
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, h("udp-text", { key: 'afb12736acb544f45fd2e4dd92cfd58279ce9a4f', variant: "caption1", class: {
|
|
8830
8939
|
message: true,
|
|
8831
8940
|
error: hasError,
|
|
8832
8941
|
} }, message)))));
|
|
@@ -9098,7 +9207,7 @@ const UdpFluentIcon = class {
|
|
|
9098
9207
|
};
|
|
9099
9208
|
if (this.color)
|
|
9100
9209
|
hostStyle.color = this.color;
|
|
9101
|
-
return (h(Host, { key: '
|
|
9210
|
+
return (h(Host, { key: '8f10c427920915f9460e948f1c0bad2725254d71', style: hostStyle }, this.svgContent && (h("div", { key: '2dbda826fa919234e7112b81fcd327b49f815342', class: "icon-inner", innerHTML: this.svgContent, role: "img", "aria-label": this.name }))));
|
|
9102
9211
|
}
|
|
9103
9212
|
static get watchers() { return {
|
|
9104
9213
|
"name": [{
|
|
@@ -9364,8 +9473,8 @@ const UdpFluentMenu = class {
|
|
|
9364
9473
|
}
|
|
9365
9474
|
render() {
|
|
9366
9475
|
const isIconOrSplit = this.buttonType === 'icon' || this.buttonType === 'split';
|
|
9367
|
-
return (h(Host, { key: '8352f4a655086a09cec6eb440793fbfe688758a9', exportparts: "trigger" }, 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' && (h("fluent-button", { key: '1c28f3bbc4a3486265907230574a23094f07c21a', slot: "primary-action", onClick: this.handlePrimaryClick, appearance: this.appearance, shape: this.shape, size: this.size }, (this.startIconName || hasSlotContent(this.el, 'start')) && (h("span", { key: 'd4df319623ca47ec60fac7a8cdfdf11e8aa2491c', class: "slot-wrapper", slot: "start" }, h("slot", { key: 'dbf730397f3d6e0eb1ea3dd21ab58c54c38dce08', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: '7e81093bb951c7223a66512a450b03a4e26256fb', name: this.startIconName, size: getIconSize(this.size) }))))), this.label)), h("fluent-menu-button", { key: '
|
|
9368
|
-
this.buttonType !== 'split' && (h("span", { key: '
|
|
9476
|
+
return (h(Host, { key: '8352f4a655086a09cec6eb440793fbfe688758a9', exportparts: "trigger" }, 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' && (h("fluent-button", { key: '1c28f3bbc4a3486265907230574a23094f07c21a', slot: "primary-action", onClick: this.handlePrimaryClick, appearance: this.appearance, shape: this.shape, size: this.size }, (this.startIconName || hasSlotContent(this.el, 'start')) && (h("span", { key: 'd4df319623ca47ec60fac7a8cdfdf11e8aa2491c', class: "slot-wrapper", slot: "start" }, h("slot", { key: 'dbf730397f3d6e0eb1ea3dd21ab58c54c38dce08', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: '7e81093bb951c7223a66512a450b03a4e26256fb', name: this.startIconName, size: getIconSize(this.size) }))))), this.label)), 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 || hasSlotContent(this.el, 'start')) &&
|
|
9477
|
+
this.buttonType !== 'split' && (h("span", { key: 'cbabd05cbf9b0bf2d9cfec7db1789c9c27f3966d', class: "slot-wrapper", slot: "start" }, h("slot", { key: 'ccc8f5faee4002a9a5a0f39f75222b07417d6704', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: '5e92e06c488a2caf8dac56d681138dd2e6c5ad28', name: this.startIconName, size: getIconSize(this.size) }))))), !isIconOrSplit && this.label, (hasSlotContent(this.el, 'end') || this.endIconName) && (h("span", { key: '21161af16419cab3d6f63935d18a11b5d930b98d', class: "slot-wrapper", slot: "end" }, this.endIconName ? (h("udp-fluent-icon", { name: this.endIconName, size: getIconSize(this.size, 'standard') })) : (h("slot", { name: "end" }))))), h("fluent-menu-list", { key: '0535fc39640a5c085f14459966ef1698b1a130b5' }, this.renderItems(this._items)))));
|
|
9369
9478
|
}
|
|
9370
9479
|
get el() { return getElement(this); }
|
|
9371
9480
|
static get watchers() { return {
|
|
@@ -9376,6 +9485,144 @@ const UdpFluentMenu = class {
|
|
|
9376
9485
|
};
|
|
9377
9486
|
UdpFluentMenu.style = udpFluentMenuCss();
|
|
9378
9487
|
|
|
9488
|
+
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)}`;
|
|
9489
|
+
|
|
9490
|
+
const UdpFluentNumberInput = class {
|
|
9491
|
+
constructor(hostRef) {
|
|
9492
|
+
registerInstance(this, hostRef);
|
|
9493
|
+
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
9494
|
+
this.inputBlur = createEvent(this, "inputBlur", 7);
|
|
9495
|
+
this.inputFocus = createEvent(this, "inputFocus", 7);
|
|
9496
|
+
/** Whether to include error padding below the input. */
|
|
9497
|
+
this.includeErrorPadding = true;
|
|
9498
|
+
/** Whether the input is required for form submission. */
|
|
9499
|
+
this.required = false;
|
|
9500
|
+
/** Whether the input is disabled and cannot be interacted with. */
|
|
9501
|
+
this.disabled = false;
|
|
9502
|
+
/** Whether the input is read-only. */
|
|
9503
|
+
this.readonly = false;
|
|
9504
|
+
/** Whether the input should automatically focus when the page loads. */
|
|
9505
|
+
this.autofocus = false;
|
|
9506
|
+
/** Hints to the browser about what kind of data is expected. Defaults to "off" to suppress the browser's recent-values dropdown. */
|
|
9507
|
+
this.autocomplete = 'off';
|
|
9508
|
+
/** The visual appearance of the input. */
|
|
9509
|
+
this.appearance = 'outline';
|
|
9510
|
+
/** The size of the input control. */
|
|
9511
|
+
this.controlSize = 'medium';
|
|
9512
|
+
this.handleKeyDown = (ev) => {
|
|
9513
|
+
var _a, _b, _c, _d, _e;
|
|
9514
|
+
const { key, ctrlKey, metaKey } = ev;
|
|
9515
|
+
if (ctrlKey || metaKey)
|
|
9516
|
+
return;
|
|
9517
|
+
if (['Backspace', 'Delete', 'Tab', 'Enter', 'ArrowLeft', 'ArrowRight', 'Home', 'End'].includes(key))
|
|
9518
|
+
return;
|
|
9519
|
+
if (key === 'ArrowUp' || key === 'ArrowDown') {
|
|
9520
|
+
this.handleStep(key === 'ArrowUp' ? 1 : -1);
|
|
9521
|
+
ev.preventDefault();
|
|
9522
|
+
return;
|
|
9523
|
+
}
|
|
9524
|
+
// Block scientific notation keys not useful in a form number input
|
|
9525
|
+
if (key === 'e' || key === 'E' || key === '+') {
|
|
9526
|
+
ev.preventDefault();
|
|
9527
|
+
return;
|
|
9528
|
+
}
|
|
9529
|
+
// Block decimal point for integer-only inputs, or if one already exists
|
|
9530
|
+
if (key === '.') {
|
|
9531
|
+
if (this.decimals === 0) {
|
|
9532
|
+
ev.preventDefault();
|
|
9533
|
+
return;
|
|
9534
|
+
}
|
|
9535
|
+
const nativeInput = (_b = (_a = this.internalInput) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('input');
|
|
9536
|
+
if (nativeInput === null || nativeInput === void 0 ? void 0 : nativeInput.value.includes('.'))
|
|
9537
|
+
ev.preventDefault();
|
|
9538
|
+
return;
|
|
9539
|
+
}
|
|
9540
|
+
// For digit keys, enforce decimal place limit
|
|
9541
|
+
if (/^\d$/.test(key)) {
|
|
9542
|
+
if (this.decimals != null && this.decimals > 0) {
|
|
9543
|
+
const nativeInput = (_d = (_c = this.internalInput) === null || _c === void 0 ? void 0 : _c.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelector('input');
|
|
9544
|
+
if (nativeInput) {
|
|
9545
|
+
const value = nativeInput.value;
|
|
9546
|
+
const dotIndex = value.indexOf('.');
|
|
9547
|
+
if (dotIndex !== -1) {
|
|
9548
|
+
const cursorAfterDot = ((_e = nativeInput.selectionEnd) !== null && _e !== void 0 ? _e : value.length) > dotIndex;
|
|
9549
|
+
const decimalsFilled = value.length - dotIndex - 1 >= this.decimals;
|
|
9550
|
+
if (cursorAfterDot && decimalsFilled)
|
|
9551
|
+
ev.preventDefault();
|
|
9552
|
+
}
|
|
9553
|
+
}
|
|
9554
|
+
}
|
|
9555
|
+
return;
|
|
9556
|
+
}
|
|
9557
|
+
// Allow minus sign for negative numbers; block everything else (letters, etc.)
|
|
9558
|
+
if (key !== '-')
|
|
9559
|
+
ev.preventDefault();
|
|
9560
|
+
};
|
|
9561
|
+
this.handleInput = (ev) => {
|
|
9562
|
+
ev.stopPropagation();
|
|
9563
|
+
const target = ev.target;
|
|
9564
|
+
this.valueChanged.emit(target.value);
|
|
9565
|
+
};
|
|
9566
|
+
this.handleBlur = () => {
|
|
9567
|
+
this.inputBlur.emit();
|
|
9568
|
+
};
|
|
9569
|
+
}
|
|
9570
|
+
// Sync controlled value updates to the inner input without going through the render
|
|
9571
|
+
// cycle — avoids FAST's setter resetting cursor on unrelated re-renders (e.g. error prop).
|
|
9572
|
+
onValuePropChange(newValue) {
|
|
9573
|
+
if (this.internalInput) {
|
|
9574
|
+
this.internalInput.value = newValue !== null && newValue !== void 0 ? newValue : '';
|
|
9575
|
+
}
|
|
9576
|
+
}
|
|
9577
|
+
componentDidLoad() {
|
|
9578
|
+
if (this.internalInput && this.value != null) {
|
|
9579
|
+
this.internalInput.value = this.value;
|
|
9580
|
+
}
|
|
9581
|
+
}
|
|
9582
|
+
/** Selects the text in the input. */
|
|
9583
|
+
select() {
|
|
9584
|
+
var _a;
|
|
9585
|
+
(_a = this.internalInput) === null || _a === void 0 ? void 0 : _a.select();
|
|
9586
|
+
return Promise.resolve();
|
|
9587
|
+
}
|
|
9588
|
+
handleStep(direction) {
|
|
9589
|
+
var _a, _b, _c;
|
|
9590
|
+
const nativeInput = (_b = (_a = this.internalInput) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('input');
|
|
9591
|
+
if (!nativeInput)
|
|
9592
|
+
return;
|
|
9593
|
+
const rawStep = this.step != null && this.step !== '' ? parseFloat(this.step) : 1;
|
|
9594
|
+
const stepSize = isNaN(rawStep) ? 1 : rawStep;
|
|
9595
|
+
const current = parseFloat(nativeInput.value);
|
|
9596
|
+
const base = isNaN(current) ? 0 : current;
|
|
9597
|
+
const next = base + direction * stepSize;
|
|
9598
|
+
const stepStr = (_c = this.step) !== null && _c !== void 0 ? _c : '1';
|
|
9599
|
+
const dotIdx = stepStr.indexOf('.');
|
|
9600
|
+
const decimalPlaces = dotIdx !== -1 ? stepStr.length - dotIdx - 1 : 0;
|
|
9601
|
+
const newValue = next.toFixed(decimalPlaces);
|
|
9602
|
+
if (this.internalInput) {
|
|
9603
|
+
this.internalInput.value = newValue;
|
|
9604
|
+
}
|
|
9605
|
+
this.valueChanged.emit(newValue);
|
|
9606
|
+
}
|
|
9607
|
+
render() {
|
|
9608
|
+
const hasError = !!this.error;
|
|
9609
|
+
const message = this.error || this.hint;
|
|
9610
|
+
const noMessage = !message && !this.includeErrorPadding;
|
|
9611
|
+
return (h(Host, { key: 'cbd82abcb97144eb240e26e1835648b8ed8ef511', class: { 'has-error': hasError } }, h("fluent-field", { key: '6051b965118be312ae48ac3c367fa74537ab9806', class: { 'no-message': noMessage } }, 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() }, h("slot", { key: 'babb83e670dee57c34e3be9ce1de2270d84a96d3', slot: "start", name: "start" }), h("slot", { key: '5e29bb83e61f0b50e034512fa2861328566f9c3a', slot: "end", name: "end" }), this.label && (h("fluent-label", { key: 'f811d13e1286c9208d239b0152cb4b9d2456571c', required: this.required, disabled: this.disabled }, this.label, this.popupHint && (h("udp-tooltip", { key: '8887773242a8f8aa8071d36557ec8afd28adb997', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '2b17f6aaf9944f31d292071f71d7afc583f1e870', name: "info", size: "xs", class: "popup-hint-icon" })))))), h("udp-text", { key: '18bf2271fc87d2cacc5c893191795a99d2ac3c50', slot: "message", variant: "caption1", class: {
|
|
9612
|
+
message: true,
|
|
9613
|
+
error: hasError,
|
|
9614
|
+
includeErrorPadding: this.includeErrorPadding,
|
|
9615
|
+
} }, message))));
|
|
9616
|
+
}
|
|
9617
|
+
static get delegatesFocus() { return true; }
|
|
9618
|
+
static get watchers() { return {
|
|
9619
|
+
"value": [{
|
|
9620
|
+
"onValuePropChange": 0
|
|
9621
|
+
}]
|
|
9622
|
+
}; }
|
|
9623
|
+
};
|
|
9624
|
+
UdpFluentNumberInput.style = udpFluentNumberInputCss();
|
|
9625
|
+
|
|
9379
9626
|
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}`;
|
|
9380
9627
|
|
|
9381
9628
|
const UdpFluentRadioGroup = class {
|
|
@@ -9412,18 +9659,14 @@ const UdpFluentRadioGroup = class {
|
|
|
9412
9659
|
* componentDidRender fires synchronously before that happens, so defer the initial value set.
|
|
9413
9660
|
*/
|
|
9414
9661
|
componentDidLoad() {
|
|
9415
|
-
if (this.internalInput && this.value != null) {
|
|
9416
|
-
requestAnimationFrame(() =>
|
|
9417
|
-
this.internalInput.value = this.value;
|
|
9418
|
-
});
|
|
9662
|
+
if (this.internalInput && (this.value != null || this.disabled)) {
|
|
9663
|
+
requestAnimationFrame(() => this.applyValue());
|
|
9419
9664
|
}
|
|
9420
9665
|
}
|
|
9421
9666
|
/** Handle subsequent value/disabled updates after the component is initialized. */
|
|
9422
9667
|
componentDidRender() {
|
|
9423
9668
|
var _a;
|
|
9424
|
-
|
|
9425
|
-
this.internalInput.value = this.value;
|
|
9426
|
-
}
|
|
9669
|
+
this.applyValue();
|
|
9427
9670
|
(_a = this.items) === null || _a === void 0 ? void 0 : _a.forEach(item => {
|
|
9428
9671
|
const radioElement = this.radioRefs.get(item.value);
|
|
9429
9672
|
if (radioElement) {
|
|
@@ -9431,11 +9674,28 @@ const UdpFluentRadioGroup = class {
|
|
|
9431
9674
|
}
|
|
9432
9675
|
});
|
|
9433
9676
|
}
|
|
9677
|
+
/**
|
|
9678
|
+
* Fluent's RadioGroup ignores `value` while disabled (its enabled-radio list is
|
|
9679
|
+
* empty, and disabling resets the selection), so a disabled group checks the
|
|
9680
|
+
* matching radio directly.
|
|
9681
|
+
*/
|
|
9682
|
+
applyValue() {
|
|
9683
|
+
if (!this.internalInput)
|
|
9684
|
+
return;
|
|
9685
|
+
if (this.disabled) {
|
|
9686
|
+
this.radioRefs.forEach((radio, value) => {
|
|
9687
|
+
radio.checked = value === this.value;
|
|
9688
|
+
});
|
|
9689
|
+
}
|
|
9690
|
+
else if (this.value != null) {
|
|
9691
|
+
this.internalInput.value = this.value;
|
|
9692
|
+
}
|
|
9693
|
+
}
|
|
9434
9694
|
render() {
|
|
9435
9695
|
var _a;
|
|
9436
9696
|
const hasError = !!this.error;
|
|
9437
9697
|
const message = this.error || this.hint;
|
|
9438
|
-
return (h(Host, { key: '
|
|
9698
|
+
return (h(Host, { key: '1bce6c09dc0d01e28cf6a46fc1887ed16743c4a6' }, h("fluent-field", { key: '33813ff63f3438bcb61d73880ef681c45d87da05', "label-position": "above", class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, h("fluent-label", { key: '57ee49ee615c5611893bbfcfb8197b03586494df', slot: "label", disabled: this.disabled }, this.label, this.popupHint && (h("udp-tooltip", { key: '2c022b38ffd05de98662401b249c67e48d9e6ce7', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '2ffb13db3c00defadd8eabc7938200c6ff278d53', name: "info", size: "xs", class: "popup-hint-icon" })))), 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 => (h("fluent-field", { "label-position": "after" }, h("fluent-label", { slot: "label", onClick: () => this.handleLabelClick(item.value, item.disabled) }, item.label), h("fluent-radio", { slot: "input", value: item.value, disabled: item.disabled, ref: (el) => this.radioRefs.set(item.value, el) }))))), h("udp-text", { key: 'ac504fe5e5f7fd0a09b82536737ca00d8036846f', slot: "message", variant: "caption1", class: {
|
|
9439
9699
|
message: true,
|
|
9440
9700
|
error: hasError,
|
|
9441
9701
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -9488,7 +9748,7 @@ const UdpFluentSwitch = class {
|
|
|
9488
9748
|
render() {
|
|
9489
9749
|
const hasError = !!this.error;
|
|
9490
9750
|
const message = this.error || this.hint;
|
|
9491
|
-
return (h(Host, { key: '
|
|
9751
|
+
return (h(Host, { key: '2d590237f4326dc0953d1b6df4ad03e643703965' }, h("fluent-field", { key: 'de866327c55b55d6ed7cec19735ffe0d2e86cd4e', "label-position": this.labelPosition, class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, h("fluent-label", { key: '8bb1c8adc73365e3fb5fe982fc1a0435572a8bba', slot: "label", onClick: this.handleLabelClick }, this.label, this.popupHint && (h("udp-tooltip", { key: '163d101459d23450d5d2c385bca44e386841dfc4', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '9762024882a0a8916d5ca70d6bdefd71bd231ccb', name: "info", size: "xs", class: "popup-hint-icon" })))), h("fluent-switch", { key: '87d94bf0b4b96a552e99a6197124c2cec4b5aa88', slot: "input", name: this.name, checked: this.checked, disabled: this.disabled, onChange: this.handleChange, ref: (el) => (this.internalSwitch = el) }), h("udp-text", { key: '44335dd37408e880819ec8d69676390553b7ffa1', slot: "message", variant: "caption1", class: {
|
|
9492
9752
|
message: true,
|
|
9493
9753
|
error: hasError,
|
|
9494
9754
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -9544,6 +9804,8 @@ const UdpFluentTablist = class {
|
|
|
9544
9804
|
this.showEndShadow = false;
|
|
9545
9805
|
//Only used for collapse overflow strategy
|
|
9546
9806
|
this.overflowTabs = [];
|
|
9807
|
+
/** Bumped when light-DOM slot content changes, so per-tab slots render for late-arriving children. */
|
|
9808
|
+
this.slotVersion = 0;
|
|
9547
9809
|
this.visibleTabIds = [];
|
|
9548
9810
|
this.handleScrollStart = () => {
|
|
9549
9811
|
if (this.scrollContainer) {
|
|
@@ -9605,14 +9867,22 @@ const UdpFluentTablist = class {
|
|
|
9605
9867
|
if (this.orientation === 'horizontal') {
|
|
9606
9868
|
this.initScrollObserver();
|
|
9607
9869
|
}
|
|
9870
|
+
// Per-tab start/end slots only render when slotted content exists. Counts and badges
|
|
9871
|
+
// often arrive after first paint, so re-render (and re-measure overflow) when children change.
|
|
9872
|
+
this.slotObserver = new MutationObserver(() => {
|
|
9873
|
+
this.slotVersion++;
|
|
9874
|
+
requestAnimationFrame(() => this.updateOverflowState());
|
|
9875
|
+
});
|
|
9876
|
+
this.slotObserver.observe(this.el, { childList: true });
|
|
9608
9877
|
}
|
|
9609
9878
|
connectedCallback() {
|
|
9610
9879
|
this.el.addEventListener('keydown', this.handleKeyDown, { capture: true });
|
|
9611
9880
|
}
|
|
9612
9881
|
disconnectedCallback() {
|
|
9613
|
-
var _a;
|
|
9882
|
+
var _a, _b;
|
|
9614
9883
|
this.el.removeEventListener('keydown', this.handleKeyDown, { capture: true });
|
|
9615
9884
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
9885
|
+
(_b = this.slotObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
9616
9886
|
}
|
|
9617
9887
|
initScrollObserver() {
|
|
9618
9888
|
if (!this.scrollContainer)
|
|
@@ -9858,11 +10128,11 @@ const UdpFluentTextInput = class {
|
|
|
9858
10128
|
const hasError = !!this.error;
|
|
9859
10129
|
const message = this.error || this.hint;
|
|
9860
10130
|
const noMessage = !message && !this.includeErrorPadding;
|
|
9861
|
-
return (h(Host, { key: '
|
|
10131
|
+
return (h(Host, { key: 'eb087bb58717aff52640bf025289e0b105a28bc0', class: { 'has-error': hasError } }, h("fluent-field", { key: '9664a740d11175ff365603f704e3cda880ed775b', class: { 'no-message': noMessage } }, 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,
|
|
9862
10132
|
// Events
|
|
9863
10133
|
onInput: this.handleInput, onBlur: () => this.inputBlur.emit(), onFocus: () => this.inputFocus.emit(),
|
|
9864
10134
|
// Suppress native invalid popup
|
|
9865
|
-
onInvalid: (e) => e.preventDefault() }, h("slot", { key: '
|
|
10135
|
+
onInvalid: (e) => e.preventDefault() }, h("slot", { key: 'ad77e9fed75aeeec7526918ef0804145e26cb7d8', slot: "start", name: "start" }), h("slot", { key: '44d5342f76ef8696224db5ba85001151959f25e5', slot: "end", name: "end" }), this.label && (h("fluent-label", { key: '57ee3129c1234169b4fb848b5484d4b9b39a815f', required: this.required, disabled: this.disabled }, this.label, this.popupHint && (h("udp-tooltip", { key: '1b32ba0f824542d5a8c92854e6a6b5b365986159', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: 'c3a2a5e30b7728bf4b2e3651c3de1f9341c8163c', name: "info", size: "xs", class: "popup-hint-icon" })))))), h("udp-text", { key: '7596cc45c230e9d9953ba557970064a7ded38a9a', slot: "message", variant: "caption1", class: {
|
|
9866
10136
|
message: true,
|
|
9867
10137
|
error: hasError,
|
|
9868
10138
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -9909,7 +10179,7 @@ const UdpFluentToggleButton = class {
|
|
|
9909
10179
|
}
|
|
9910
10180
|
render() {
|
|
9911
10181
|
const iconSize = getIconSize(this.size);
|
|
9912
|
-
return (h(Host, { key: '
|
|
10182
|
+
return (h(Host, { key: '0a8eff3d258ca2adc1fe25694051e21b367958cd' }, 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 || hasSlotContent(this.el, 'start')) && (h("span", { key: 'a75625189f1d5bccad66046c5bda1133b5f639a5', class: "slot-wrapper", slot: "start" }, h("slot", { key: '4a941a8d79735e011f90f7fde0cf10c4e0ec2615', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: '3a997c7dc942e3afd24a8fdd0a3f8dc102bd2ecc', name: this.startIconName, size: iconSize }))))), h("slot", { key: '22b997d65ad2d5dd83816295859f68138c34473e' }), (this.endIconName || hasSlotContent(this.el, 'end')) && (h("span", { key: 'b7282aad98811ee9574a9548ea0bb7dae6e5fd48', class: "slot-wrapper", slot: "end" }, h("slot", { key: 'b9487514b9c2e943f51761d40b087e3aa9bd9456', name: "end" }, this.endIconName && h("udp-fluent-icon", { key: '2107532e1302f0bb36181ac8a4e751269ebebf47', name: this.endIconName, size: iconSize })))))));
|
|
9913
10183
|
}
|
|
9914
10184
|
get el() { return getElement(this); }
|
|
9915
10185
|
};
|
|
@@ -10116,10 +10386,10 @@ const UdpFormComponent = class {
|
|
|
10116
10386
|
}
|
|
10117
10387
|
}
|
|
10118
10388
|
render() {
|
|
10119
|
-
return (h("form", { key: '
|
|
10389
|
+
return (h("form", { key: '6c98340a5fb29221b11ecb9cfa6053ed37d3f3f6', id: this.formId, noValidate: true, onSubmit: e => {
|
|
10120
10390
|
e.preventDefault();
|
|
10121
10391
|
void this.form.submit();
|
|
10122
|
-
} }, h("slot", { key: '
|
|
10392
|
+
} }, h("slot", { key: '92a249f9133c905314b0c99dc3021baac8706c16' })));
|
|
10123
10393
|
}
|
|
10124
10394
|
get el() { return getElement(this); }
|
|
10125
10395
|
static get watchers() { return {
|
|
@@ -10230,7 +10500,7 @@ const UdpLazyLoader = class {
|
|
|
10230
10500
|
}
|
|
10231
10501
|
}
|
|
10232
10502
|
render() {
|
|
10233
|
-
return h(Host, { key: '
|
|
10503
|
+
return h(Host, { key: '518723cdf088e980df4582c1da10c253d10941c3' }, this.shouldRender && this.content ? this.content() : null);
|
|
10234
10504
|
}
|
|
10235
10505
|
static get watchers() { return {
|
|
10236
10506
|
"if": [{
|
|
@@ -10254,7 +10524,7 @@ const UdpLinearLoader = class {
|
|
|
10254
10524
|
loader: true,
|
|
10255
10525
|
[`loader--color-${this.color}`]: true,
|
|
10256
10526
|
};
|
|
10257
|
-
return (h(Host, { key: '
|
|
10527
|
+
return (h(Host, { key: '48257b756fee9b23946539dbc48c9b2a93fd9123' }, h("div", { key: '8cf293854214f8ac196c502ac89fe7c222f288aa', class: loaderClasses }, h("div", { key: 'a79391bfca1aac861aa84739c59cfe5c9bd179c0', class: "indeterminate" }))));
|
|
10258
10528
|
}
|
|
10259
10529
|
};
|
|
10260
10530
|
UdpLinearLoader.style = udpLinearLoaderCss();
|
|
@@ -10313,11 +10583,11 @@ const UdpListRenderer = class {
|
|
|
10313
10583
|
render() {
|
|
10314
10584
|
const showPrimaryText = this.primaryText || this.hasPrimaryTextSlot;
|
|
10315
10585
|
const showSecondaryText = this.secondaryText || this.hasSecondaryTextSlot;
|
|
10316
|
-
return (h(Host, { key: '
|
|
10586
|
+
return (h(Host, { key: '6dd42b769e01b704f24f224c44d146f84c0a4212' }, h("div", { key: '2cf507ced35daddcf8972774f75ca979ad46f058', class: {
|
|
10317
10587
|
'list-item': true,
|
|
10318
10588
|
'clickable': this.clickable,
|
|
10319
10589
|
'variant-compact': this.variant === 'compact',
|
|
10320
|
-
}, onClick: this.handleClick, onKeyPress: this.handleKeyPress, role: this.clickable ? 'button' : undefined, tabindex: this.clickable ? 0 : -1 }, this.iconName && (h("div", { key: '
|
|
10590
|
+
}, onClick: this.handleClick, onKeyPress: this.handleKeyPress, role: this.clickable ? 'button' : undefined, tabindex: this.clickable ? 0 : -1 }, this.iconName && (h("div", { key: '967706879b46a63aabbebd269e1ec183b18ac680', class: "avatar-container" }, h("udp-avatar", { key: '681b494d819da6e34c83fbfa36d8a3a081643ce7', iconName: this.iconName, variant: this.avatarVariant, color: this.avatarBackgroundColor }))), h("div", { key: 'a84384838c1c14c5c334e91cf7e5d41f0b080a6c', class: "text-container" }, showPrimaryText && (h("div", { key: '96050a551d1b12fba429ac574bb096209e053a47', class: "primary-text" }, h("slot", { key: '647f4f9dd2e04ed4c7fda8f40ac249c1c4e13b38', name: "primary-text" }, h("unity-typography", { key: '721b21ca11304ee42fd98c04ec2cf54e82eee418', variant: "body" }, this.primaryText)))), showSecondaryText && (h("div", { key: '4f4f4080b28ceea81c67351646ff633bdb88bf24', class: "secondary-text" }, h("slot", { key: '5385fb4c9f2e8710e7aa2a48de8b61542b7a5ca2', name: "secondary-text" }, h("unity-typography", { key: '41b489f174d14ee732f5866801c366e7b9014c8f', variant: "caption-text", color: "textSecondary" }, this.secondaryText))))), this.hasStatusChipSlot && (h("div", { key: 'bcac870f39bf157f530a2df7350ab7394cb2aacb', class: "status-chip-container" }, h("slot", { key: '0e49744b34df4134977b753a9c9a29b5b8185910', name: "status-chip" }))), this.hasActionsSlot && (h("div", { key: '33d94b977f772172bc11e4a70fd52a7fcde717ac', class: "actions-container" }, h("slot", { key: 'c54d3464aa458f3ff6a5207045582284ce343c6e', name: "actions" }))))));
|
|
10321
10591
|
}
|
|
10322
10592
|
get hostEl() { return getElement(this); }
|
|
10323
10593
|
};
|
|
@@ -10339,7 +10609,7 @@ const UdpMenuItem = class {
|
|
|
10339
10609
|
};
|
|
10340
10610
|
}
|
|
10341
10611
|
render() {
|
|
10342
|
-
return (h("button", { key: '
|
|
10612
|
+
return (h("button", { key: '00a21035e4881a5f9acc340852ad8ad8e62318d2', class: "menu-item-root", onClick: this.handleItemClick, disabled: this.disabled, role: "menuitem" }, this.iconName && h("udp-icon", { key: 'c16d151ddb57a4b40869bce5466c3f864f8d9475', iconName: this.iconName, class: "menu-icon" }), h("span", { key: '5aa0b8adf7f3b0a8f682edebd54fce3fb6cce97e', class: "menu-item-label" }, h("unity-typography", { key: '4aff04eb970bcd352e952d99e783647a29d9a9ee', variant: 'body1' }, this.label))));
|
|
10343
10613
|
}
|
|
10344
10614
|
};
|
|
10345
10615
|
UdpMenuItem.style = udpMenuItemCss();
|
|
@@ -10371,7 +10641,7 @@ const UdpMessageBar = class {
|
|
|
10371
10641
|
};
|
|
10372
10642
|
}
|
|
10373
10643
|
render() {
|
|
10374
|
-
return (h(Host, { key: '
|
|
10644
|
+
return (h(Host, { key: '772d4f5677e6627f02cfea58f49f016a78bce425' }, h("fluent-message-bar", { key: 'b424e0f23e6afa3225c190720ea5cfa64bfe3870', shape: this.shape, layout: this.layout, intent: this.intent }, h("udp-flexbox", { key: 'c8b4d5f7717267a565e4e03be57d806586be3e1b', direction: "row", gap: "sm", slot: "actions" }, h("slot", { key: '9f7347a7d7a92f7eaffec5ab5aec4a04531b2f4c', name: "actions" })), this.dismissible ? (h("udp-fluent-icon-button", { slot: "dismiss", appearance: "subtle", iconName: "dismiss", "aria-label": "Dismiss", onClick: this.handleDismissClick })) : (h("slot", { name: "dismiss", slot: "dismiss" })), h("slot", { key: '598ac2efab14ef42b49a502ea3325a9641cc3dca', name: "icon", slot: "icon" }), h("slot", { key: '7d1bd1347a8c1b1e627ccd08741eca8471f9934c' }))));
|
|
10375
10645
|
}
|
|
10376
10646
|
};
|
|
10377
10647
|
UdpMessageBar.style = udpMessageBarCss();
|
|
@@ -10492,7 +10762,7 @@ const UdpPopOver = class {
|
|
|
10492
10762
|
maxHeight: this.popoverMaxHeight,
|
|
10493
10763
|
overflow: this.overflow
|
|
10494
10764
|
};
|
|
10495
|
-
return (h(Host, { key: '
|
|
10765
|
+
return (h(Host, { key: '6dde57c93e241279ab298548ffabddbc1af0e255' }, h("div", { key: 'a73b40a1f14975eafe307f92c21ada4f11f84994', class: "popover", style: style }, h("slot", { key: 'd459d0fd7cbc8e6d04a0d7d43308ae636c9682b6' }))));
|
|
10496
10766
|
}
|
|
10497
10767
|
get hostEl() { return getElement(this); }
|
|
10498
10768
|
static get watchers() { return {
|
|
@@ -10814,14 +11084,14 @@ const UdpPopover = class {
|
|
|
10814
11084
|
}
|
|
10815
11085
|
render() {
|
|
10816
11086
|
const anchorName = `--${this.anchorId}`;
|
|
10817
|
-
return (h(Host, { key: '
|
|
11087
|
+
return (h(Host, { key: 'bb1bd2d88d2d60cb48ffc46fc0048fdb17d49b49', style: { '--udp-internal-anchor-name': anchorName }, class: { 'has-arrow': this.withArrow }, onClick: (e) => {
|
|
10818
11088
|
if (!this.toggleOnTriggerClick)
|
|
10819
11089
|
return;
|
|
10820
11090
|
if (this.popoverWrapper && e.composedPath().includes(this.popoverWrapper)) {
|
|
10821
11091
|
return;
|
|
10822
11092
|
}
|
|
10823
11093
|
this.open = !this.open;
|
|
10824
|
-
}, onFocusout: this.handleFocusOut }, h("slot", { key: '
|
|
11094
|
+
}, onFocusout: this.handleFocusOut }, h("slot", { key: '7b2b459613693680a6b72aafc5046947470eb841', name: "trigger" }), h("div", { key: 'de7660bfc8b2add56bcdbbd74c948b16d21c99e1', popover: this.keepOpenOnClickOutside ? 'manual' : 'auto', class: {
|
|
10825
11095
|
'popover-shell': true,
|
|
10826
11096
|
'position-top': this.position.startsWith('top'),
|
|
10827
11097
|
'position-bottom': this.position.startsWith('bottom'),
|
|
@@ -10837,10 +11107,10 @@ const UdpPopover = class {
|
|
|
10837
11107
|
}, style: {
|
|
10838
11108
|
'position-anchor': `var(--udp-internal-anchor-name)`,
|
|
10839
11109
|
'position-area': this.getPositionArea(),
|
|
10840
|
-
} }, h("div", { key: '
|
|
11110
|
+
} }, h("div", { key: '5de5a4162054c0c6558a38a5edd9a79d487752d1', part: "content", class: {
|
|
10841
11111
|
'popover-content': true,
|
|
10842
11112
|
[`size-${this.size}`]: !!this.size,
|
|
10843
|
-
} }, this.withArrow && h("div", { key: '
|
|
11113
|
+
} }, this.withArrow && h("div", { key: '5710981f65927628094668949083eeeb30776f2d', class: "popover-arrow" }), h("slot", { key: 'e6de77c5084064632d91e4ddcb9cd1ad865552e9', name: "content" })))));
|
|
10844
11114
|
}
|
|
10845
11115
|
get el() { return getElement(this); }
|
|
10846
11116
|
static get watchers() { return {
|
|
@@ -11103,7 +11373,7 @@ const UdpPrimaryActionHeader = class {
|
|
|
11103
11373
|
render() {
|
|
11104
11374
|
var _a;
|
|
11105
11375
|
const hasPropActions = !!this.primaryAction || (((_a = this.secondaryActions) === null || _a === void 0 ? void 0 : _a.length) || 0) > 0;
|
|
11106
|
-
return (h(Host, { key: '
|
|
11376
|
+
return (h(Host, { key: '98a9fba8dba1acf7584841003e2b7615141409dd' }, h("div", { key: '7f3c5b0d9400d76b4691a8ba9e09d5067d3fa3d9', class: { 'header-body': true, 'has-toolbar': this.hasToolbar } }, h("div", { key: 'f6f561a9e9712dcc7440cfb667be994d1edfdebc', class: "title-row" }, h("div", { key: '29d872cd609151a113cf893ea3e3938c1e813c07', class: "title-inline" }, this.title !== undefined ? (h("udp-text", { variant: "subtitle1", block: false }, this.title)) : (h("slot", { name: "title", onSlotchange: this.handleSlotChange })), h("div", { key: '89813e871d25e96a6ed042e70d6e3b180861881e', class: { 'slot-inline': true, 'hidden': !this.hasInline } }, h("slot", { key: '2d70003f75ef36d58f6f6b9ae2f180b589b82096', name: "inline", onSlotchange: this.handleSlotChange }))), h("div", { key: '0d3e8f8fab3cf70297dde2aa9650c0a0de1c2b6a', class: { 'slot-actions': true, 'hidden': !this.hasActions } }, h("slot", { key: 'cfe871ef8a7fc1e9855ffcadc38a3ea4cd15c483', name: "actions", onSlotchange: this.handleSlotChange })), h("div", { key: '2175c9a9cbf8712db6df03928739339b68d903e9', class: { 'system-actions': true, 'hidden': !hasPropActions } }, this.renderSecondaryActions(), this.renderPrimaryAction())), h("div", { key: 'c7ba3093471451dbe7d8e015d2f3b69a237f596e', class: { 'subtitle-row': true, 'hidden': !this.hasSubtitle && !this.subtitle } }, this.subtitle !== undefined ? (h("udp-text", { variant: "caption1" }, this.subtitle)) : (h("slot", { name: "subtitle", onSlotchange: this.handleSlotChange })))), h("div", { key: '7d6794877f105d315cbebdf5791dc6257df48289', class: { 'toolbar-row': true, 'hidden': !this.hasToolbar } }, h("slot", { key: 'eec4bc9ceb363dab2090fbde8243b6c3330ebd63', name: "toolbar", onSlotchange: this.handleSlotChange }))));
|
|
11107
11377
|
}
|
|
11108
11378
|
get el() { return getElement(this); }
|
|
11109
11379
|
};
|
|
@@ -11126,11 +11396,11 @@ const UdpProgressBar = class {
|
|
|
11126
11396
|
this.validationState = 'info';
|
|
11127
11397
|
}
|
|
11128
11398
|
render() {
|
|
11129
|
-
return (h(Host, { key: '
|
|
11399
|
+
return (h(Host, { key: 'be298b002d90614ba848d23e03eb819227449289' }, 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 })));
|
|
11130
11400
|
}
|
|
11131
11401
|
};
|
|
11132
11402
|
|
|
11133
|
-
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}`;
|
|
11403
|
+
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}`;
|
|
11134
11404
|
|
|
11135
11405
|
const UdpSearchInput = class {
|
|
11136
11406
|
constructor(hostRef) {
|
|
@@ -11208,14 +11478,14 @@ const UdpSearchInput = class {
|
|
|
11208
11478
|
render() {
|
|
11209
11479
|
const hasError = !!this.error;
|
|
11210
11480
|
const message = this.error || this.hint;
|
|
11211
|
-
return (h(Host, { key: '
|
|
11481
|
+
return (h(Host, { key: 'da8928c8dc127ef9b7fc3d4597c0c13855d4feb9', class: { 'has-error': hasError } }, h("fluent-field", { key: '34d7788b8126bdc247bc4b308c09e7ef0a7c56e7', class: { 'no-message': !message && !this.includeErrorPadding } }, 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,
|
|
11212
11482
|
// Events
|
|
11213
11483
|
onInput: this.handleInput, onBlur: () => this.inputBlur.emit(), onFocus: () => this.inputFocus.emit(),
|
|
11214
11484
|
// Suppress native invalid popup
|
|
11215
|
-
onInvalid: (e) => e.preventDefault() }, h("slot", { key: '
|
|
11485
|
+
onInvalid: (e) => e.preventDefault() }, h("slot", { key: '8357bcc1cc5cc15f7d68d31c990708c6f60d31ea', slot: "start", name: "start" }, h("udp-fluent-icon", { key: 'e1eb2f90c0a72495927260cb197bbb134b868c3f', class: "search-icon", name: "search", size: "xs" })), h("slot", { key: '26232c504438074a84f57e692ad3dac2b100b8a0', slot: "end", name: "end" }), h("udp-fluent-icon-button", { key: '7e195c2673ed077b634a785953729f95a48a50f4', class: {
|
|
11216
11486
|
'clear-button': true,
|
|
11217
11487
|
'is-visible': !!this.internalValue && !this.disabled && !this.readonly,
|
|
11218
|
-
}, slot: "end", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), this.label && (h("fluent-label", { key: '
|
|
11488
|
+
}, slot: "end", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), this.label && (h("fluent-label", { key: '2b713bb1526e7b781df400df0e62633a8604378a', required: this.required, disabled: this.disabled }, this.label, this.popupHint && (h("udp-tooltip", { key: 'b0d2fddf53af22368df4acf3f8c7132548f8c2cc', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '4aacc1f2c3a96ff3f6335c5074c82f49d1719fa7', name: "info", size: "xs", class: "popup-hint-icon" })))))), (!!message || this.includeErrorPadding) && (h("udp-text", { key: 'ec4ba109b020efb0af993dec797994e86d03fbe6', slot: "message", variant: "caption1", class: {
|
|
11219
11489
|
message: true,
|
|
11220
11490
|
error: hasError,
|
|
11221
11491
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -11457,27 +11727,27 @@ const UdpSideSheet = class {
|
|
|
11457
11727
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11458
11728
|
const headerStartIcon = Boolean(this.headerActionButtonIcon) ? (h("udp-icon", { iconName: this.headerActionButtonIcon, color: "inherit" })) : undefined;
|
|
11459
11729
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11460
|
-
const overflowIcon = h("udp-icon", { key: '
|
|
11461
|
-
return (h("div", { key: '
|
|
11730
|
+
const overflowIcon = h("udp-icon", { key: '28cac4dad7d0194ad32c0ee3f638660499e20b54', iconName: "overflowMenuVertical", color: "inherit" });
|
|
11731
|
+
return (h("div", { key: '404fc91a2fd0e8201a845126d9ba96db3fedf042', class: "backdrop", onClick: this.onCloseBackdrop }, h("div", { key: 'a1c2f4bca18390fd6a88360fc74a82289abf0222', class: { sheet: true, [this.position]: true, [widthClass]: true }, style: sideSheetStyle }, h("div", { key: 'f7011ea224645afdfcd4d271e11c9ac533b77783', class: "title-container" }, h("div", { key: '89c124867a4f5eb56561393ddc1b6acbb774d50e', class: "close-button" }, h("stencil-icon-button", { key: '12734e4af392d68f6ea71fea9529a33854e13490',
|
|
11462
11732
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11463
|
-
icon: Close24, onClick: this.onClose, secondary: true })), h("div", { key: '
|
|
11464
|
-
_b.map((item) => (h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label))), this.headerActionButtonLabel && (h("udp-button", { key: '
|
|
11733
|
+
icon: Close24, onClick: this.onClose, secondary: true })), h("div", { key: '6c39e74f1da97eeb1661b12dfc22d9ece837f88a', class: "title-text" }, h("unity-typography", { key: '8161c1b90126015320cc079e44ccc1cf9bf28022', variant: "h6" }, this.title)), (this.headerActionButtonLabel || ((_a = this.headerSecondaryButtons) === null || _a === void 0 ? void 0 : _a.length) > 0) && (h("div", { key: '4cda43ab0a58fc763d68f4b9c6278f19c632c747', class: "header-action-button" }, (_b = this.headerSecondaryButtons) === null || _b === void 0 ? void 0 :
|
|
11734
|
+
_b.map((item) => (h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label))), this.headerActionButtonLabel && (h("udp-button", { key: 'a17331f701a49229170291479be320b332b0cb92', disabled: this.headerActionButtonDisabled, onClick: this.onHeaderActionButtonClick,
|
|
11465
11735
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11466
|
-
startIcon: headerStartIcon, variant: "contained" }, this.headerActionButtonLabel))))), h("div", { key: '
|
|
11736
|
+
startIcon: headerStartIcon, variant: "contained" }, this.headerActionButtonLabel))))), h("div", { key: '21568e20b7322b523d1d2c664d3ab27d9061209d', class: "loader-container" }, h("udp-linear-loader", { key: 'd19088e709bba9285f5e9a70ac9a1ee3eb445499', class: { 'is-loading': this.loading }, color: "primary" })), h("div", { key: '888b8035b069136523ead735d1d99555d26e7a60', class: { content: true, padding: this.padding } }, h("slot", { key: 'a67fc5b26dba96f24eb184e6a98d00acaff48a40' })), (this.primaryButtonLabel || ((_c = this.footerSecondaryButtons) === null || _c === void 0 ? void 0 : _c.length) > 0) && (h("div", { key: '6a9fb7df2a57989842ca137acd041a60680b9457' }, h("div", { key: '5cad8312dbdfbb86569e97a12e1b842c405b14cf', class: "loader-container" }), h("div", { key: 'e1de09b6a2794422a973d8f58465f7507f40e7d7', class: {
|
|
11467
11737
|
footer: true,
|
|
11468
|
-
}, ref: el => (this.footerRef = el) }, !this.showOverflowButton && ((_d = this.footerSecondaryButtons) === null || _d === void 0 ? void 0 : _d.length) > 0 && (h("div", { key: '
|
|
11738
|
+
}, ref: el => (this.footerRef = el) }, !this.showOverflowButton && ((_d = this.footerSecondaryButtons) === null || _d === void 0 ? void 0 : _d.length) > 0 && (h("div", { key: '2d8324718f9fae2c3e1b9979ab2b0ec636cbf969', class: "footer-secondary-buttons-container" }, h("div", { key: 'c0f80f704d9262337b986e541b0093efa65886aa', class: "footer-secondary-buttons" }, (_e = this.footerSecondaryButtons) === null || _e === void 0 ? void 0 : _e.map((item) => (h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label)))))), this.showOverflowButton && (h("udp-button", { key: '1e0cda6e5152a70ff1e09c382f212e5195102dcc', variant: "outlined", onClick: this.onMoreActionButtonClick, color: "secondary",
|
|
11469
11739
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11470
|
-
endIcon: overflowIcon }, "More")), this.primaryButtonLabel && (h("udp-button", { key: '
|
|
11740
|
+
endIcon: overflowIcon }, "More")), this.primaryButtonLabel && (h("udp-button", { key: '9741c7b4201386dbc3d9dc3bab02a1de6789cf7b', variant: "contained", disabled: this.primaryButtonDisabled, onClick: this.onPrimaryButtonClick, endIcon: this.primaryButtonIcon }, this.primaryButtonLabel)), this.showOverflowButton && (h("udp-pop-over", { key: 'c67b4c66e56282fc9a71f8aaad18a413ccc608cf', anchorElement: this.overflowMenuAnchor, isOpen: this.openOverflowMenu, popoverWidth: '200px', popoverMaxHeight: '300px', handleOnClose: this.handleCloseOverflowMenu }, h("div", { key: 'dd4ec2034d1f8c484b1fbd48737d80e89a893402', class: "menu" }, (_f = this.footerSecondaryButtons) === null || _f === void 0 ? void 0 : _f.map(item => (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: () => {
|
|
11471
11741
|
item === null || item === void 0 ? void 0 : item.onClick();
|
|
11472
11742
|
this.handleCloseOverflowMenu();
|
|
11473
|
-
}, disabled: item === null || item === void 0 ? void 0 : item.disabled })))))), h("div", { key: '
|
|
11743
|
+
}, disabled: item === null || item === void 0 ? void 0 : item.disabled })))))), h("div", { key: 'b3c9c596be513e0bb37b3ef0e9c51543eb14da13', ref: el => (this.measurementContainerRef = el), style: {
|
|
11474
11744
|
position: 'absolute',
|
|
11475
11745
|
visibility: 'hidden',
|
|
11476
11746
|
pointerEvents: 'none',
|
|
11477
11747
|
display: 'flex',
|
|
11478
11748
|
gap: 'var(--spacing-02, 4px)',
|
|
11479
11749
|
}, "aria-hidden": "true" }, (_g = this.footerSecondaryButtons) === null || _g === void 0 ? void 0 :
|
|
11480
|
-
_g.map((item) => (h("udp-button", { variant: "text", size: "medium", disabled: item.disabled, endIcon: item.icon }, item.label))), this.primaryButtonLabel && (h("udp-button", { key: '
|
|
11750
|
+
_g.map((item) => (h("udp-button", { variant: "text", size: "medium", disabled: item.disabled, endIcon: item.icon }, item.label))), this.primaryButtonLabel && (h("udp-button", { key: 'c9c0c193a97a7cbac86298bedfdca95fcdba0d4b', variant: "contained", size: "medium", disabled: this.primaryButtonDisabled, endIcon: this.primaryButtonIcon }, this.primaryButtonLabel)))))))));
|
|
11481
11751
|
}
|
|
11482
11752
|
get hostEl() { return getElement(this); }
|
|
11483
11753
|
static get watchers() { return {
|
|
@@ -11524,7 +11794,7 @@ const UdpSlider = class {
|
|
|
11524
11794
|
render() {
|
|
11525
11795
|
const hasError = !!this.error;
|
|
11526
11796
|
const message = this.error || this.hint;
|
|
11527
|
-
return (h(Host, { key: '
|
|
11797
|
+
return (h(Host, { key: 'f5624a013b62ead90ca479fb025a63e6865b06af' }, h("fluent-field", { key: '16f29a4249f9e5be46b007a8e9065facf88e7425', "label-position": "above", class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, h("fluent-label", { key: '69b704dce204fa173d8b0cd676e16a9fe3fe0c48', slot: "label", disabled: this.disabled }, this.label, this.popupHint && (h("udp-tooltip", { key: 'e05a045408325536dbc44482bf8f529f66564f85', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: 'a31fee952984def1ebcd96e7cebcdd1827761da0', name: "info", size: "xs", class: "popup-hint-icon" })))), 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 }), h("udp-text", { key: 'd91632d46b7ff2280830d46f8010490433bbbf89', slot: "message", variant: "caption1", class: {
|
|
11528
11798
|
message: true,
|
|
11529
11799
|
error: hasError,
|
|
11530
11800
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -11538,7 +11808,7 @@ const UdpSpinner = class {
|
|
|
11538
11808
|
registerInstance(this, hostRef);
|
|
11539
11809
|
}
|
|
11540
11810
|
render() {
|
|
11541
|
-
return (h(Host, { key: '
|
|
11811
|
+
return (h(Host, { key: '0e7892150d6f406a8ab0001fdba12bb5acf04271' }, h("fluent-spinner", { key: '2cdf7e8cff1a73c77713d1477376e5ef1c25c61a', size: this.size, appearance: this.appearance })));
|
|
11542
11812
|
}
|
|
11543
11813
|
};
|
|
11544
11814
|
|
|
@@ -11752,7 +12022,7 @@ const UdpSwatchPicker = class {
|
|
|
11752
12022
|
const gridStyle = this.layout === 'grid' ? { '--grid-columns': Math.min(this.gridColumns, 8).toString() } : {};
|
|
11753
12023
|
const hasError = !!this.error;
|
|
11754
12024
|
const message = this.error || this.hint;
|
|
11755
|
-
return (h(Host, { key: '
|
|
12025
|
+
return (h(Host, { key: '785eb210f3aa5f158c451d8e2746fb9403293459' }, h("fluent-field", { key: 'e1bf938f51d949f04f25e853d89df991fe72fe19', class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, h("fluent-label", { key: '4687efd8c524a41a430cc79f31c237b45d30b06d', required: this.required, disabled: this.disabled, slot: "label" }, this.label, this.popupHint && (h("udp-tooltip", { key: '3b58a7ae6023fdcb4cb03642dee9e71c22023ed6', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '4e51919c1fe89cc0a47d6dd7ffca6335ba36947d', name: "info", size: "xs", class: "popup-hint-icon" })))), 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))), h("udp-text", { key: '4c663f84a4793c9fb7e0b951575314d3bb6c38b6', slot: "message", variant: "caption1", class: {
|
|
11756
12026
|
message: true,
|
|
11757
12027
|
error: hasError,
|
|
11758
12028
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -11804,9 +12074,8 @@ const UdpTabPanel = class {
|
|
|
11804
12074
|
}
|
|
11805
12075
|
render() {
|
|
11806
12076
|
const isActive = this.activeTabId === this.id;
|
|
11807
|
-
return (h(Host, { key: '
|
|
12077
|
+
return (h(Host, { key: 'b92e6acb25e0968a8bd6340a8bc3430917f1cb57', role: "tabpanel", "aria-labelledby": this.id, "aria-hidden": !isActive ? 'true' : 'false', hidden: !isActive }, h("slot", { key: 'd82569c36656d3adb7976f8a075e629a13a37bdf' })));
|
|
11808
12078
|
}
|
|
11809
|
-
static get delegatesFocus() { return true; }
|
|
11810
12079
|
};
|
|
11811
12080
|
UdpTabPanel.style = udpTabPanelCss();
|
|
11812
12081
|
|
|
@@ -11868,7 +12137,7 @@ const UdpText = class {
|
|
|
11868
12137
|
.join(' ');
|
|
11869
12138
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11870
12139
|
const Tag = finalAs;
|
|
11871
|
-
return (h(Host, { key: '
|
|
12140
|
+
return (h(Host, { key: '347d98cd2e6d7cd88905811d7dd7fd8cbb4d1d53', class: classNames }, h(Tag, { key: '20851998bd4b60830ff6f6e0036b546fa42bf2ac' }, h("slot", { key: '9a39b2203132fa1318646e645f169c799bff8f2b' }))));
|
|
11872
12141
|
}
|
|
11873
12142
|
};
|
|
11874
12143
|
UdpText.style = udpTextCss();
|
|
@@ -11939,11 +12208,11 @@ const UdpTextarea = class {
|
|
|
11939
12208
|
render() {
|
|
11940
12209
|
const hasError = !!this.error;
|
|
11941
12210
|
const message = this.error || this.hint;
|
|
11942
|
-
return (h(Host, { key: '
|
|
12211
|
+
return (h(Host, { key: '4b41fcbde66314bceed2d33b4d5af866b1f887ca', class: { 'has-error': hasError } }, h("fluent-field", { key: '25879d043c2105a7459c45064cafc3c4d781de2c', class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, 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,
|
|
11943
12212
|
// Events
|
|
11944
12213
|
onInput: this.handleInput, onBlur: () => this.inputBlur.emit(), onFocus: () => this.inputFocus.emit(),
|
|
11945
12214
|
// Suppress native invalid popup
|
|
11946
|
-
onInvalid: (e) => e.preventDefault() }), h("fluent-label", { key: '
|
|
12215
|
+
onInvalid: (e) => e.preventDefault() }), h("fluent-label", { key: '488511db2377de70de7fcf067abc6864abe59a6c', slot: "label", disabled: this.disabled }, this.label, this.popupHint && (h("udp-tooltip", { key: 'ef0c8e4030c859cb8b1ee0bd0f350e69be04c854', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: 'e4622400eb639e20af2470025e5cd29664b95caa', name: "info", size: "xs", class: "popup-hint-icon" })))), h("udp-text", { key: '90e52126e5a7b3e0172df6c67ad61bf4194d660d', slot: "message", variant: "caption1", class: {
|
|
11947
12216
|
message: true,
|
|
11948
12217
|
error: hasError,
|
|
11949
12218
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -11997,7 +12266,12 @@ const UdpTimeInput = class {
|
|
|
11997
12266
|
};
|
|
11998
12267
|
this.handleFocus = () => {
|
|
11999
12268
|
if (this.inputValue) {
|
|
12000
|
-
|
|
12269
|
+
// Only while still focused: select() focuses the input, so a deferred one after a quick Tab-out would pull focus back.
|
|
12270
|
+
setTimeout(() => {
|
|
12271
|
+
const input = this.getInputElement();
|
|
12272
|
+
if (input === null || input === void 0 ? void 0 : input.matches(':focus'))
|
|
12273
|
+
input.select();
|
|
12274
|
+
}, 0);
|
|
12001
12275
|
}
|
|
12002
12276
|
// Highlight the best match or closest time to now
|
|
12003
12277
|
if (this.value) {
|
|
@@ -12423,7 +12697,7 @@ const UdpTimeInput = class {
|
|
|
12423
12697
|
const effectiveError = this.internalError || this.error;
|
|
12424
12698
|
const hasError = !!effectiveError;
|
|
12425
12699
|
const message = effectiveError || this.hint;
|
|
12426
|
-
return (h(Host, { key: '
|
|
12700
|
+
return (h(Host, { key: '5b7be0c4736a2d9c79deeb4990d52512fdb6c412', class: { 'has-error': hasError } }, h("fluent-field", { key: '11a026d7977f7a6fe855b291f50e513c0dd84bf9', class: { 'no-message': !message && !this.includeErrorPadding } }, h("udp-popover", { key: '3096bfdee1b7f39524afbf0065f8c0daa6cbadf3', slot: "input", open: this.isOpen, position: "bottom-start", toggleOnTriggerClick: false, matchTriggerWidth: true, onPopoverClose: this.handlePopoverClose }, 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 }, h("fluent-label", { key: '528443f773ccdf1616fc1a23b4f345a93da48b16', required: this.required, disabled: this.disabled, onMouseDown: this.handleLabelMouseDown }, this.label, this.popupHint && (h("udp-tooltip", { key: '913d3e322e33046842267e4be933aedd386ff449', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: 'a1326f1a498714b99e0c913a865501aee1dcc570', name: "info", size: "xs", class: "popup-hint-icon" })))), h("div", { key: 'c8d59622bd5227d0e7458e69cddf9aff98b274d7', slot: "end" }, h("udp-fluent-icon-button", { key: '7b36389429fa6aa36beee5100c7eb377ce9a3073', appearance: "transparent", iconName: "clock", disabled: this.disabled, tabindex: -1, onMouseDown: this.handleIconMouseDown, onClick: this.handleIconClick }))), h("div", { key: '96c83a3dd1ac0e41083329308bf88c263622f6ba', slot: "content", class: "listbox-container" }, h("fluent-listbox", { key: 'b0e08a8eeb7fe5b98eab9a9e74b008cad929e8f8' }, this.timeOptions.map((option, index) => (h("fluent-option", { key: option.value, value: option.value, class: { active: index === this.activeIndex }, onClick: () => this.handleOptionClick(option) }, h("span", { slot: "checked-indicator" }), option.label)))))), h("udp-text", { key: '87f5afde2ba91e51e59073f43f5b9536e7dc1a7b', slot: "message", variant: "caption1", class: {
|
|
12427
12701
|
message: true,
|
|
12428
12702
|
error: hasError,
|
|
12429
12703
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -12471,13 +12745,13 @@ const UdpTooltip = class {
|
|
|
12471
12745
|
render() {
|
|
12472
12746
|
// A stable, internal ID is safe because it is scoped to this Shadow Root
|
|
12473
12747
|
const anchorId = 'internal-anchor';
|
|
12474
|
-
return (h(Host, { key: '
|
|
12748
|
+
return (h(Host, { key: '10fa91d75d46688461e4d78fd0b04d1f603e0043' }, h("div", { key: 'b516586dbabaf94313bf9ee3b8263cefef9fe033', id: anchorId, onFocusin: (e) => {
|
|
12475
12749
|
var _a, _b;
|
|
12476
12750
|
// Only show on keyboard-driven focus, not pointer clicks or programmatic focus restoration
|
|
12477
12751
|
if ((_a = e.target) === null || _a === void 0 ? void 0 : _a.matches(':focus-visible')) {
|
|
12478
12752
|
(_b = this.tooltipRef) === null || _b === void 0 ? void 0 : _b.showTooltip(0);
|
|
12479
12753
|
}
|
|
12480
|
-
}, onFocusout: () => { var _a; return (_a = this.tooltipRef) === null || _a === void 0 ? void 0 : _a.hideTooltip(0); } }, h("slot", { key: '
|
|
12754
|
+
}, onFocusout: () => { var _a; return (_a = this.tooltipRef) === null || _a === void 0 ? void 0 : _a.hideTooltip(0); } }, h("slot", { key: '4b0b9954e5df3067f5ab4d1f418872fe409ffe1d' })), h("fluent-tooltip", { key: '7c63944fd27f3064baa5e9262c63511158bf65b5', ref: el => (this.tooltipRef = el), anchor: anchorId, delay: this.delay, positioning: this.positioning }, this.content)));
|
|
12481
12755
|
}
|
|
12482
12756
|
};
|
|
12483
12757
|
UdpTooltip.style = udpTooltipCss();
|
|
@@ -12932,7 +13206,7 @@ const UdpTree = class {
|
|
|
12932
13206
|
});
|
|
12933
13207
|
}
|
|
12934
13208
|
render() {
|
|
12935
|
-
return (h(Host, { key: '
|
|
13209
|
+
return (h(Host, { key: '0a318146956b93a0351c217a1077951558517898' }, h("fluent-tree", { key: '3e32ca46c9c79203ca7bee354d8257322758b51e', class: {
|
|
12936
13210
|
'interaction-button': this.interaction === 'button',
|
|
12937
13211
|
collapsible: this.collapsible,
|
|
12938
13212
|
multiselect: this.selectionMode === 'multiselect',
|
|
@@ -12998,4 +13272,4 @@ const typography = class {
|
|
|
12998
13272
|
};
|
|
12999
13273
|
typography.style = unityTypographyCss();
|
|
13000
13274
|
|
|
13001
|
-
export { AgGridBase as ag_grid_base, ClientSideGrid as client_side_grid, GhostRender as ghost_render, GridHeader as grid_header, HintPanel as hint_panel, StencilIconButton as stencil_icon_button, TestComponentsPage as test_components_page, TestForm as test_form, UdpAccordion as udp_accordion, UdpAmbientToolTip as udp_ambient_tool_tip, UdpAutocomplete as udp_autocomplete, UdpAvatar as udp_avatar, UdpBadge as udp_badge, UdpButton as udp_button, UdpChip as udp_chip, UdpCompoundButton as udp_compound_button, UdpDateInput as udp_date_input, UdpDateRangeSelector as udp_date_range_selector, UdpDateTimeInput as udp_date_time_input, UdpDialog as udp_dialog, UdpEmptyState as udp_empty_state, UdpExportSheet as udp_export_sheet, UdpField as udp_field, UdpFlexbox as udp_flexbox, UdpFluentAvatar as udp_fluent_avatar, UdpFluentBadge as udp_fluent_badge, UdpFluentButton as udp_fluent_button, UdpFluentCard as udp_fluent_card, UdpFluentCheckbox as udp_fluent_checkbox, UdpFluentCounterBadge as udp_fluent_counter_badge, UdpFluentDialog as udp_fluent_dialog, UdpFluentDivider as udp_fluent_divider, UdpFluentDrawer as udp_fluent_drawer, UdpFluentDropdown as udp_fluent_dropdown, UdpFluentIcon as udp_fluent_icon, UdpFluentIconButton as udp_fluent_icon_button, UdpFluentMenu as udp_fluent_menu, UdpFluentRadioGroup as udp_fluent_radio_group, UdpFluentSwitch as udp_fluent_switch, UdpFluentTablist as udp_fluent_tablist, UdpFluentTextInput as udp_fluent_text_input, UdpFluentToggleButton as udp_fluent_toggle_button, UdpFormComponent as udp_form_component, UdpIcon as udp_icon, UdpLazyLoader as udp_lazy_loader, UdpLinearLoader as udp_linear_loader, UdpListRenderer as udp_list_item, UdpMenuItem as udp_menu_item, UdpMessageBar as udp_message_bar, UdpPopOver as udp_pop_over, UdpPopover as udp_popover, UdpPrimaryActionHeader as udp_primary_action_header, UdpProgressBar as udp_progress_bar, UdpSearchInput as udp_search_input, UdpSideSheet as udp_side_sheet, UdpSlider as udp_slider, UdpSpinner as udp_spinner, UdpSwatchPicker as udp_swatch_picker, UdpTabPanel as udp_tab_panel, UdpText as udp_text, UdpTextarea as udp_textarea, UdpTimeInput as udp_time_input, UdpTooltip as udp_tooltip, UdpTree as udp_tree, typography as unity_typography };
|
|
13275
|
+
export { AgGridBase as ag_grid_base, ClientSideGrid as client_side_grid, GhostRender as ghost_render, GridHeader as grid_header, HintPanel as hint_panel, StencilIconButton as stencil_icon_button, TestComponentsPage as test_components_page, TestForm as test_form, UdpAccordion as udp_accordion, UdpAmbientToolTip as udp_ambient_tool_tip, UdpAutocomplete as udp_autocomplete, UdpAvatar as udp_avatar, UdpBadge as udp_badge, UdpButton as udp_button, UdpChip as udp_chip, UdpCompoundButton as udp_compound_button, UdpDateInput as udp_date_input, UdpDateRangeSelector as udp_date_range_selector, UdpDateTimeInput as udp_date_time_input, UdpDialog as udp_dialog, UdpEmptyState as udp_empty_state, UdpExportSheet as udp_export_sheet, UdpField as udp_field, UdpFlexbox as udp_flexbox, UdpFluentAvatar as udp_fluent_avatar, UdpFluentBadge as udp_fluent_badge, UdpFluentButton as udp_fluent_button, UdpFluentCard as udp_fluent_card, UdpFluentCheckbox as udp_fluent_checkbox, UdpFluentCounterBadge as udp_fluent_counter_badge, UdpFluentDialog as udp_fluent_dialog, UdpFluentDivider as udp_fluent_divider, UdpFluentDrawer as udp_fluent_drawer, UdpFluentDropdown as udp_fluent_dropdown, UdpFluentIcon as udp_fluent_icon, UdpFluentIconButton as udp_fluent_icon_button, UdpFluentMenu as udp_fluent_menu, UdpFluentNumberInput as udp_fluent_number_input, UdpFluentRadioGroup as udp_fluent_radio_group, UdpFluentSwitch as udp_fluent_switch, UdpFluentTablist as udp_fluent_tablist, UdpFluentTextInput as udp_fluent_text_input, UdpFluentToggleButton as udp_fluent_toggle_button, UdpFormComponent as udp_form_component, UdpIcon as udp_icon, UdpLazyLoader as udp_lazy_loader, UdpLinearLoader as udp_linear_loader, UdpListRenderer as udp_list_item, UdpMenuItem as udp_menu_item, UdpMessageBar as udp_message_bar, UdpPopOver as udp_pop_over, UdpPopover as udp_popover, UdpPrimaryActionHeader as udp_primary_action_header, UdpProgressBar as udp_progress_bar, UdpSearchInput as udp_search_input, UdpSideSheet as udp_side_sheet, UdpSlider as udp_slider, UdpSpinner as udp_spinner, UdpSwatchPicker as udp_swatch_picker, UdpTabPanel as udp_tab_panel, UdpText as udp_text, UdpTextarea as udp_textarea, UdpTimeInput as udp_time_input, UdpTooltip as udp_tooltip, UdpTree as udp_tree, typography as unity_typography };
|