udp-stencil-component-library 26.5.0-beta.2 → 26.5.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-ClIYV_dJ.js → SearchBuilder-CCtWubLX.js} +1 -1
- package/dist/cjs/add-map-feature-popup_4.cjs.entry.js +12 -12
- package/dist/cjs/address-search_6.cjs.entry.js +18 -18
- package/dist/cjs/advanced-search_12.cjs.entry.js +18 -18
- package/dist/cjs/ag-grid-base_65.cjs.entry.js +512 -174
- package/dist/cjs/ambient-template-grid.cjs.entry.js +16 -16
- package/dist/cjs/api-method-instance-grid.cjs.entry.js +4 -4
- package/dist/cjs/app-bar.cjs.entry.js +1 -1
- package/dist/cjs/{base-map_3.cjs.entry.js → base-map_4.cjs.entry.js} +59 -0
- 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-Z6GTnUYS.js +2424 -0
- package/dist/cjs/createAzureMapsProviders-b1fKbjhG.js +80 -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/feature-details-card_2.cjs.entry.js +5 -5
- package/dist/cjs/file-upload_2.cjs.entry.js +5 -5
- package/dist/cjs/filter-conditions_7.cjs.entry.js +7 -7
- package/dist/cjs/{form-metadata-display_10.cjs.entry.js → form-metadata-display_9.cjs.entry.js} +6 -65
- package/dist/cjs/icon-grid.cjs.entry.js +1 -1
- package/dist/cjs/index-G1ccGqOs.js +30 -26
- package/dist/cjs/index.cjs.js +4 -80
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logical-search-indicator.cjs.entry.js +1 -1
- 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/search-method-grid.cjs.entry.js +4 -3
- package/dist/cjs/{searchObject-DeDFFGcx.js → searchObject-mbqgqdRh.js} +1 -0
- package/dist/cjs/{searchObjectHelper-a5QztNDL.js → searchObjectHelper-DYpPEIzz.js} +1 -1
- package/dist/cjs/server-side-grid.cjs.entry.js +1 -1
- 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/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/types-mjOM5U2F.js +49 -0
- package/dist/cjs/udp-adornment.cjs.entry.js +1 -1
- package/dist/cjs/udp-advanced-search-builder.cjs.entry.js +2 -2
- package/dist/cjs/udp-advanced-search-filter-group.cjs.entry.js +2 -2
- 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-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-file-input.cjs.entry.js +4 -4
- package/dist/cjs/udp-fluent-image.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-inline-edit_6.cjs.entry.js +4498 -0
- package/dist/cjs/udp-fluent-link.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-list-input.cjs.entry.js +46 -0
- package/dist/cjs/udp-fluent-list-item_2.cjs.entry.js +322 -0
- package/dist/cjs/udp-fluent-location-input.cjs.entry.js +3 -3
- package/dist/cjs/udp-fluent-number-input.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-signature-input.cjs.entry.js +5 -5
- package/dist/cjs/udp-fluent-table-input.cjs.entry.js +347 -0
- package/dist/cjs/udp-forms-builder-style-override.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 +1 -1
- package/dist/cjs/udp-forms-renderer.cjs.entry.js +3 -3
- 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 +2376 -0
- package/dist/cjs/udp-question-tally-adapter.cjs.entry.js +138 -0
- package/dist/cjs/udp-sankey-chart.cjs.entry.js +1 -1
- 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-xy-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-xy-multi-series-chart.cjs.entry.js +1 -1
- package/dist/cjs/{udpOperatorHelper-MusjN9iI.js → udpOperatorHelper-r6cQBK8k.js} +1 -1
- package/dist/collection/__mocks__/jest-setup.js +10 -0
- package/dist/collection/collection-manifest.json +10 -3
- 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 +5 -1
- package/dist/collection/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.js +5 -1
- package/dist/collection/components/attachment-list/udp-attachment-item.js +4 -0
- package/dist/collection/components/attachment-list/udp-attachment-list.js +5 -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 +5 -1
- package/dist/collection/components/buttons/icon-button/stencil-icon-button-grid-action-header.js +4 -0
- package/dist/collection/components/buttons/udp-button/udp-button.js +4 -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 +4 -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 +5 -1
- package/dist/collection/components/data-display/badge/udp-badge.js +5 -1
- package/dist/collection/components/data-display/cards/udp-ambient-card/udp-ambient-card.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-content/udp-card-content.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-header/udp-card-header.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-media/udp-card-media.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card.js +7 -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 +4 -1
- package/dist/collection/components/data-display/divider/udp-divider.js +5 -1
- package/dist/collection/components/data-display/empty-state-display/udp-empty-state-display.js +5 -1
- package/dist/collection/components/data-display/headers/udp-column-header.js +5 -1
- package/dist/collection/components/data-display/headers/udp-page-header/udp-page-header.js +5 -1
- package/dist/collection/components/data-display/hint-panel/hint-panel.js +5 -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/list-renderer/udp-list-renderer.js +4 -0
- package/dist/collection/components/data-display/pop-over/udp-pop-over.js +5 -1
- package/dist/collection/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js +5 -1
- package/dist/collection/components/data-display/primary-action-header/primary-action-header.js +6 -2
- package/dist/collection/components/data-display/simple-card/simple-card.js +5 -1
- package/dist/collection/components/data-display/tool-tip/udp-ambient-tool-tip.js +6 -2
- package/dist/collection/components/data-display/tree/tree-list-item/search-item/search-list-item.js +5 -1
- package/dist/collection/components/data-display/tree/tree-list-item/tree-list-item.js +4 -0
- package/dist/collection/components/data-display/udp-avatar/udp-avatar.js +5 -1
- package/dist/collection/components/dialogs/udp-dialog.js +5 -1
- package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.js +12 -9
- package/dist/collection/components/feedback/udp-notification/alerts/upd-alert-banner.js +5 -1
- package/dist/collection/components/feedback/udp-notification/udp-notification.js +6 -2
- package/dist/collection/components/fluent-ui/accordion/udp-accordion.css +42 -0
- package/dist/collection/components/fluent-ui/accordion/udp-accordion.js +34 -2
- package/dist/collection/components/fluent-ui/autocomplete/udp-autocomplete.js +8 -8
- package/dist/collection/components/fluent-ui/avatar/udp-fluent-avatar.js +7 -2
- package/dist/collection/components/fluent-ui/badge/udp-fluent-badge.js +1 -1
- package/dist/collection/components/fluent-ui/button/udp-fluent-button.js +1 -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 +3 -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 +3 -1
- package/dist/collection/components/fluent-ui/divider/udp-fluent-divider.js +1 -1
- package/dist/collection/components/fluent-ui/drawer/udp-fluent-drawer.js +14 -1
- package/dist/collection/components/fluent-ui/dropdown/udp-fluent-dropdown.js +8 -8
- 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 +3 -1
- package/dist/collection/components/fluent-ui/icon-button/udp-fluent-icon-button.js +3 -1
- package/dist/collection/components/fluent-ui/image/udp-fluent-image.js +6 -1
- package/dist/collection/components/fluent-ui/inline-edit/udp-fluent-inline-edit.js +1 -1
- 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.css +29 -0
- package/dist/collection/components/fluent-ui/list-input/udp-fluent-list-input.js +295 -0
- 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/message-bar/udp-message-bar.css +11 -0
- package/dist/collection/components/fluent-ui/message-bar/udp-message-bar.js +11 -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 +1 -1
- 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.css +12 -0
- 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 +3 -1
- package/dist/collection/components/fluent-ui/table-input/udp-fluent-table-input.css +43 -0
- package/dist/collection/components/fluent-ui/table-input/udp-fluent-table-input.js +599 -0
- package/dist/collection/components/fluent-ui/table-input/udp-fluent-table-input.types.js +1 -0
- 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 +1 -1
- 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 +4 -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__/assert.js +31 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixture.types.js +1 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/checkbox.fixtures.js +189 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/date-selector.fixtures.js +173 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/date-time-selector.fixtures.js +155 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/dropdown-multiple-select.fixtures.js +180 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/dropdown-single-select.fixtures.js +136 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/file-upload.fixtures.js +184 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/form-metadata-display.fixtures.js +104 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/hidden.fixtures.js +133 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/image-upload.fixtures.js +122 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/list-multi-select.fixtures.js +137 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/location-additional.fixtures.js +119 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/location-default-location.fixture.js +164 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/location-required.fixture.js +84 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/multi-line-text.fixtures.js +148 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/number.fixtures.js +173 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/paragraph.fixtures.js +93 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/radio-button.fixtures.js +141 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/signature.fixtures.js +168 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/single-line-text.fixtures.js +153 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/table.fixtures.js +97 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/tally.fixtures.js +125 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/time-selector.fixtures.js +175 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/yes-no.fixtures.js +190 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/harness-dom.js +158 -0
- package/dist/collection/components/forms/udp-question-form/__forms-harness__/harness.js +55 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/add-question-drawer-content.js +12 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/configure-question-drawer.js +33 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/form-structure-sidebar.js +87 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/preview-pane.js +15 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/GenericQuestionConfig.js +76 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/ValidationRulesSection.js +75 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/index.js +3 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/FileUploadConfig.js +4 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/FormMetadataDisplayConfig.js +4 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/ListOptionsConfig.js +124 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/LocationConfig.js +21 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/ParagraphConfig.js +4 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/SignatureConfig.js +4 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/TableConfig.js +153 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/TallyConfig.js +59 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/index.js +45 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/types.js +1 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.css +140 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.js +299 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/utils/configValues.js +28 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/utils/dateTimeFormat.js +26 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/utils/index.js +3 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/utils/sortableRef.js +41 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/section-card.js +19 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/section-edit-drawer-content.js +36 -0
- package/dist/collection/components/forms/udp-question-form/builder/components/section-question-item.js +43 -0
- package/dist/collection/components/forms/udp-question-form/builder/config/constants.js +15 -0
- package/dist/collection/components/forms/udp-question-form/builder/config/index.js +1 -0
- package/dist/collection/components/forms/udp-question-form/builder/form-item-types/index.js +2 -0
- package/dist/collection/components/forms/udp-question-form/builder/form-item-types/registry.js +13 -0
- package/dist/collection/components/forms/udp-question-form/builder/form-item-types/templates.js +315 -0
- package/dist/collection/components/forms/udp-question-form/builder/form-item-types/types.js +1 -0
- package/dist/collection/components/forms/udp-question-form/builder/form-item-types/validation.js +127 -0
- package/dist/collection/components/forms/udp-question-form/builder/udp-question-form-builder.css +361 -0
- package/dist/collection/components/forms/udp-question-form/builder/udp-question-form-builder.js +1382 -0
- package/dist/collection/components/forms/udp-question-form/builder/utils/builder-api.js +119 -0
- package/dist/collection/components/forms/udp-question-form/builder/utils/form-versions.js +20 -0
- package/dist/collection/components/forms/udp-question-form/builder/utils/question-template.js +63 -0
- package/dist/collection/components/forms/udp-question-form/core/choice-options.js +17 -0
- package/dist/collection/components/forms/udp-question-form/core/defaults.js +63 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/common-keys.js +15 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/engine.js +179 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/index.js +2 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/checkbox.js +24 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/date-selector.js +27 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/date-time-selector.js +35 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/dropdown-multiple-select.js +24 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/dropdown-single-select.js +22 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/file-upload.js +12 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/form-metadata-display.js +11 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/hidden.js +10 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/image-upload.js +10 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/list-multi-select.js +24 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/location.js +30 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/multi-line-text.js +9 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/number.js +17 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/paragraph.js +11 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/radio-button.js +22 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/signature.js +9 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/single-line-text.js +13 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.js +20 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/tally.js +19 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/time-selector.js +25 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/yes-no.js +14 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/registry.js +64 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/toggles.js +20 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/types.js +1 -0
- package/dist/collection/components/forms/udp-question-form/core/field-properties.js +1 -0
- package/dist/collection/components/forms/udp-question-form/core/index.js +8 -0
- package/dist/collection/components/forms/udp-question-form/core/parse.js +154 -0
- package/dist/collection/components/forms/udp-question-form/core/serialize.js +66 -0
- package/dist/collection/components/forms/udp-question-form/core/slot-index.js +40 -0
- package/dist/collection/components/forms/udp-question-form/core/types.js +45 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/consistency.js +63 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/emptiness.js +33 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/engine.js +94 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/index.js +15 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/intrinsic.js +81 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/registry.js +81 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/age.js +16 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/index.js +55 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/integer-only.js +26 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-age.js +52 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-date-time.js +34 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-date.js +24 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-decimal-places.js +67 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-length.js +38 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-rows.js +53 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-selections.js +50 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-time.js +29 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/max-value.js +34 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-age.js +54 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-date-time.js +34 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-date.js +24 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-length.js +40 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-rows.js +58 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-selections.js +55 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-time.js +31 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/min-value.js +36 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/must-be-yes.js +23 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/no-future-date-time.js +32 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/no-future-date.js +31 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/no-past-date-time.js +26 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/no-past-date.js +27 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/pattern.js +65 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/required.js +44 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/rules/step.js +47 -0
- package/dist/collection/components/forms/udp-question-form/core/validation/types.js +1 -0
- package/dist/collection/components/forms/udp-question-form/follow-up-forms-api.js +74 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/codecs.js +456 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/comments-api.js +36 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/comments-state.js +184 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/dynamic-sections.js +198 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/follow-up-forms.js +176 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/index.js +13 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/initial-values.js +68 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/parse.js +103 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/progress.js +44 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/serialize-submission.js +107 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/submit.js +82 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/types.js +13 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/url-seed.js +90 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/validate-submission.js +50 -0
- package/dist/collection/components/forms/udp-question-form/renderer/runtime/wire-adapter.js +37 -0
- package/dist/collection/components/forms/udp-question-form/renderer/udp-question-form-renderer.css +488 -0
- package/dist/collection/components/forms/udp-question-form/renderer/udp-question-form-renderer.js +1801 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/adapters/udp-question-tally-adapter.js +306 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/avatar.js +26 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/comment-item.js +28 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/comment-thread.js +30 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/follow-up-picker-dialog.js +32 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/form-shell.js +154 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/index.js +6 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/question-renderer.js +352 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/question-view-renderer.js +306 -0
- package/dist/collection/components/forms/udp-question-form/renderer/ui/section-card.js +39 -0
- package/dist/collection/components/forms/udp-question-form/renderer/url.js +51 -0
- package/dist/collection/components/forms/udp-question-form/version-drawer/udp-form-version-drawer.js +136 -0
- package/dist/collection/components/grid/ag-table/ag-table.js +5 -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 +6 -2
- package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +5 -1
- package/dist/collection/components/grid/new-grid/ag-grid-base.js +2 -1
- package/dist/collection/components/grid/new-grid/api-method-instance-grid.js +2 -2
- package/dist/collection/components/grid/new-grid/client-side-grid.js +1 -1
- package/dist/collection/components/grid/new-grid/grid-header.css +18 -0
- package/dist/collection/components/grid/new-grid/grid-header.js +8 -1
- package/dist/collection/components/grid/new-grid/gridFunctionRegistry.js +2 -0
- package/dist/collection/components/grid/new-grid/gridFunctions/columnSelector.js +145 -0
- package/dist/collection/components/grid/new-grid/helperFunctions/buildSearchObject.js +1 -0
- package/dist/collection/components/grid/new-grid/search-method-grid.js +1 -1
- package/dist/collection/components/grid/new-grid/server-side-grid.js +1 -1
- 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/inputs/address-search/address-search.js +7 -3
- package/dist/collection/components/inputs/checkbox/check-box.js +5 -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 +6 -3
- package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +6 -3
- package/dist/collection/components/inputs/file-upload/file-upload.js +7 -4
- package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +4 -1
- package/dist/collection/components/inputs/image-upload/image-upload.js +4 -1
- package/dist/collection/components/inputs/location-input/location-input.js +4 -0
- package/dist/collection/components/inputs/numeric-field/numeric-field.js +6 -3
- package/dist/collection/components/inputs/selectable-list/selectable-list.js +3 -0
- package/dist/collection/components/inputs/signature-input/signature-input.js +6 -2
- package/dist/collection/components/inputs/tally/tally.js +5 -2
- package/dist/collection/components/inputs/text-area/text-area.js +6 -3
- package/dist/collection/components/inputs/text-field/text-field.js +6 -3
- package/dist/collection/components/inputs/time-selector/udp-time-selector.js +6 -3
- package/dist/collection/components/inputs/toggle/stencil-toggle.js +4 -4
- package/dist/collection/components/inputs/udp-selector/udp-selector.js +7 -4
- package/dist/collection/components/layout/primary-action-header/udp-primary-action-header.css +1 -1
- package/dist/collection/components/layout/primary-action-header/udp-primary-action-header.js +3 -3
- 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 +2 -2
- 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 +6 -2
- package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +5 -1
- package/dist/collection/components/loaders/udp-skeleton-loading.js +5 -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 +6 -6
- 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 +5 -1
- package/dist/collection/components/navigation/pagination/udp-pagination.js +4 -0
- package/dist/collection/components/navigation/udp-link/udp-link.js +4 -0
- package/dist/collection/components/new-form/field/udp-field.js +81 -27
- package/dist/collection/components/new-form/form/udp-form-component.js +322 -27
- package/dist/collection/components/new-form/validators.js +13 -5
- 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 +5 -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 +6 -2
- package/dist/collection/components/tabs/tab/udp-tab.js +5 -1
- package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +1 -1
- 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 +5 -1
- package/dist/collection/components/unity-typography/unity-typography.js +4 -0
- 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/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/test-pages/test-components-page.js +28 -28
- package/dist/collection/test-pages/test-form.js +4 -4
- 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/collection/udp-utilities/location/getCachedAzureMapsProviders.js +18 -0
- package/dist/collection/udp-utilities/search/searchObject.js +1 -0
- 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/ag-table2.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/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/createAzureMapsProviders.js +1 -0
- package/dist/components/custom-button2.js +1 -1
- package/dist/components/edit-view-form.js +1 -1
- package/dist/components/feature-details-card2.js +1 -1
- package/dist/components/feature-details-popup2.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/form-metadata-display-renderer2.js +1 -1
- package/dist/components/form-metadata-display2.js +1 -1
- package/dist/components/getCachedAzureMapsProviders.js +1 -0
- package/dist/components/ghost-render2.js +1 -1
- package/dist/components/grid-header2.js +1 -1
- package/dist/components/grid-primary-bar2.js +1 -1
- package/dist/components/hint-panel2.js +1 -1
- package/dist/components/icon-grid.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/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/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/searchObject.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/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-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 -0
- package/dist/components/udp-accordion2.js +1 -1
- package/dist/components/udp-adornment2.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-grid.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-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-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-drawer2.js +1 -1
- package/dist/components/udp-fluent-dropdown2.js +1 -1
- package/dist/components/udp-fluent-file-input.js +1 -1
- package/dist/components/udp-fluent-icon-button2.js +1 -1
- package/dist/components/udp-fluent-icon2.js +1 -1
- package/dist/components/udp-fluent-image.js +1 -1
- package/dist/components/udp-fluent-inline-edit.js +1 -1
- package/dist/components/udp-fluent-inline-edit2.js +1 -0
- package/dist/components/udp-fluent-link.js +1 -1
- package/dist/components/udp-fluent-list-input.d.ts +11 -0
- package/dist/components/udp-fluent-list-input.js +2 -0
- package/dist/components/udp-fluent-list-item.js +1 -1
- package/dist/components/udp-fluent-location-input.js +1 -1
- package/dist/components/udp-fluent-number-input.js +1 -1
- package/dist/components/udp-fluent-radio-group2.js +1 -1
- package/dist/components/udp-fluent-signature-input.js +1 -1
- package/dist/components/udp-fluent-switch2.js +1 -1
- package/dist/components/udp-fluent-table-input.d.ts +11 -0
- package/dist/components/udp-fluent-table-input.js +2 -0
- 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-drawer.d.ts +11 -0
- package/dist/components/udp-form-version-drawer.js +2 -0
- package/dist/components/udp-form-version-drawer2.js +1 -0
- 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-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-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 -0
- package/dist/components/udp-list.js +1 -1
- package/dist/components/udp-list2.js +1 -0
- 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-fluent.d.ts +11 -0
- package/dist/components/udp-question-config-fluent.js +2 -0
- package/dist/components/udp-question-config-fluent2.js +1 -0
- package/dist/components/udp-question-form-builder.d.ts +11 -0
- package/dist/components/udp-question-form-builder.js +2 -0
- package/dist/components/udp-question-form-renderer.d.ts +11 -0
- package/dist/components/udp-question-form-renderer.js +2 -0
- package/dist/components/udp-question-form-renderer2.js +1 -0
- package/dist/components/udp-question-tally-adapter.d.ts +11 -0
- package/dist/components/udp-question-tally-adapter.js +2 -0
- package/dist/components/udp-radio-button2.js +1 -1
- 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-layout.js +1 -1
- package/dist/components/udp-sidebar-layout2.js +1 -0
- 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-spacer.js +1 -1
- package/dist/components/udp-vertical-spacer2.js +1 -0
- 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 +4046 -371
- package/dist/esm/{SearchBuilder-DDfrKm8m.js → SearchBuilder-CPsWhOXB.js} +1 -1
- package/dist/esm/add-map-feature-popup_4.entry.js +12 -12
- package/dist/esm/address-search_6.entry.js +18 -18
- package/dist/esm/advanced-search_12.entry.js +18 -18
- package/dist/esm/ag-grid-base_65.entry.js +512 -174
- package/dist/esm/ambient-template-grid.entry.js +16 -16
- package/dist/esm/api-method-instance-grid.entry.js +4 -4
- package/dist/esm/app-bar.entry.js +1 -1
- package/dist/esm/{base-map_3.entry.js → base-map_4.entry.js} +59 -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-0Y96Q95P.js +2401 -0
- package/dist/esm/createAzureMapsProviders-CLLCmr8f.js +78 -0
- package/dist/esm/custom-button.entry.js +1 -1
- package/dist/esm/date-time-renderer_9.entry.js +21 -21
- package/dist/esm/feature-details-card_2.entry.js +5 -5
- package/dist/esm/file-upload_2.entry.js +5 -5
- package/dist/esm/filter-conditions_7.entry.js +7 -7
- package/dist/esm/{form-metadata-display_10.entry.js → form-metadata-display_9.entry.js} +7 -65
- package/dist/esm/icon-grid.entry.js +1 -1
- package/dist/esm/index-Cgpvu-iV.js +30 -26
- package/dist/esm/index.js +4 -80
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logical-search-indicator.entry.js +1 -1
- 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/search-method-grid.entry.js +4 -3
- package/dist/esm/{searchObject-CDJVsMG_.js → searchObject-DpUZkcYC.js} +1 -0
- package/dist/esm/{searchObjectHelper-CVNJDbDx.js → searchObjectHelper-BjA6OHxg.js} +1 -1
- package/dist/esm/server-side-grid.entry.js +1 -1
- 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/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 +47 -0
- package/dist/esm/udp-adornment.entry.js +1 -1
- package/dist/esm/udp-advanced-search-builder.entry.js +2 -2
- package/dist/esm/udp-advanced-search-filter-group.entry.js +2 -2
- 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-dynamic-container-with-menu.entry.js +1 -1
- package/dist/esm/udp-dynamic-form.entry.js +1 -1
- package/dist/esm/udp-fluent-file-input.entry.js +4 -4
- package/dist/esm/udp-fluent-image.entry.js +1 -1
- package/dist/esm/udp-fluent-inline-edit_6.entry.js +4487 -0
- package/dist/esm/udp-fluent-link.entry.js +1 -1
- package/dist/esm/udp-fluent-list-input.entry.js +44 -0
- package/dist/esm/udp-fluent-list-item_2.entry.js +319 -0
- package/dist/esm/udp-fluent-location-input.entry.js +3 -3
- package/dist/esm/udp-fluent-number-input.entry.js +1 -1
- package/dist/esm/udp-fluent-signature-input.entry.js +5 -5
- package/dist/esm/udp-fluent-table-input.entry.js +345 -0
- package/dist/esm/udp-forms-builder-style-override.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 +1 -1
- package/dist/esm/udp-forms-renderer.entry.js +3 -3
- 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 +2370 -0
- package/dist/esm/udp-question-tally-adapter.entry.js +136 -0
- package/dist/esm/udp-sankey-chart.entry.js +1 -1
- 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-xy-chart.entry.js +1 -1
- package/dist/esm/udp-xy-multi-series-chart.entry.js +1 -1
- package/dist/esm/{udpOperatorHelper-Tmn9i7-P.js → udpOperatorHelper-CBSPgsN-.js} +1 -1
- package/dist/stencil-library/{SearchBuilder-DDfrKm8m.js → SearchBuilder-CPsWhOXB.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_65.entry.js +1 -1
- 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/app-bar.entry.js +1 -1
- package/dist/stencil-library/{base-map_3.entry.js → base-map_4.entry.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-0Y96Q95P.js +1 -0
- package/dist/stencil-library/createAzureMapsProviders-CLLCmr8f.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/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/{form-metadata-display_10.entry.js → form-metadata-display_9.entry.js} +1 -1
- package/dist/stencil-library/icon-grid.entry.js +1 -1
- package/dist/stencil-library/index.esm.js +1 -1
- package/dist/stencil-library/logical-search-indicator.entry.js +1 -1
- 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/search-method-grid.entry.js +1 -1
- package/dist/stencil-library/searchObject-DpUZkcYC.js +1 -0
- package/dist/stencil-library/{searchObjectHelper-CVNJDbDx.js → searchObjectHelper-BjA6OHxg.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/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 +1 -0
- 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-filter-group.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-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-file-input.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-image.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-inline-edit_6.entry.js +1 -0
- package/dist/stencil-library/udp-fluent-link.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-list-input.entry.js +1 -0
- package/dist/stencil-library/udp-fluent-list-item_2.entry.js +1 -0
- package/dist/stencil-library/udp-fluent-location-input.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-number-input.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-signature-input.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-table-input.entry.js +1 -0
- package/dist/stencil-library/udp-forms-builder-style-override.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-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 -0
- package/dist/stencil-library/udp-question-tally-adapter.entry.js +1 -0
- package/dist/stencil-library/udp-sankey-chart.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-xy-chart.entry.js +1 -1
- package/dist/stencil-library/udp-xy-multi-series-chart.entry.js +1 -1
- package/dist/stencil-library/{udpOperatorHelper-Tmn9i7-P.js → udpOperatorHelper-CBSPgsN-.js} +1 -1
- package/dist/types/components/advanced-search/filter-conditions/filter-conditions.d.ts +4 -0
- package/dist/types/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.d.ts +4 -0
- package/dist/types/components/attachment-list/udp-attachment-item.d.ts +4 -0
- package/dist/types/components/attachment-list/udp-attachment-list.d.ts +4 -0
- package/dist/types/components/buttons/icon-button/radio-button/udp-radio-button.d.ts +4 -0
- package/dist/types/components/buttons/icon-button/stencil-icon-button-grid-action-header.d.ts +4 -0
- package/dist/types/components/buttons/udp-button/udp-button.d.ts +3 -0
- package/dist/types/components/charts/udp-charts-example.d.ts +3 -0
- package/dist/types/components/data-display/adornment/udp-adornment/udp-adornment.d.ts +4 -0
- package/dist/types/components/data-display/badge/udp-badge.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-ambient-card/udp-ambient-card.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-content/udp-card-content.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-header/udp-card-header.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-media/udp-card-media.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card.d.ts +4 -0
- package/dist/types/components/data-display/chips/udp-chip.d.ts +3 -0
- package/dist/types/components/data-display/divider/udp-divider.d.ts +4 -0
- package/dist/types/components/data-display/empty-state-display/udp-empty-state-display.d.ts +4 -0
- package/dist/types/components/data-display/headers/udp-column-header.d.ts +4 -0
- package/dist/types/components/data-display/headers/udp-page-header/udp-page-header.d.ts +4 -0
- package/dist/types/components/data-display/hint-panel/hint-panel.d.ts +4 -0
- package/dist/types/components/data-display/list-renderer/udp-list-renderer.d.ts +4 -0
- package/dist/types/components/data-display/pop-over/udp-pop-over.d.ts +4 -0
- package/dist/types/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.d.ts +4 -0
- package/dist/types/components/data-display/primary-action-header/primary-action-header.d.ts +4 -0
- package/dist/types/components/data-display/simple-card/simple-card.d.ts +4 -0
- package/dist/types/components/data-display/tool-tip/udp-ambient-tool-tip.d.ts +4 -0
- package/dist/types/components/data-display/tree/tree-list-item/search-item/search-list-item.d.ts +4 -0
- package/dist/types/components/data-display/tree/tree-list-item/tree-list-item.d.ts +4 -0
- package/dist/types/components/data-display/udp-avatar/udp-avatar.d.ts +4 -0
- package/dist/types/components/dialogs/udp-dialog.d.ts +4 -0
- package/dist/types/components/drawers/udp-side-sheet/udp-side-sheet.d.ts +3 -0
- package/dist/types/components/feedback/udp-notification/alerts/upd-alert-banner.d.ts +4 -0
- package/dist/types/components/feedback/udp-notification/udp-notification.d.ts +4 -0
- package/dist/types/components/fluent-ui/accordion/udp-accordion.d.ts +7 -0
- package/dist/types/components/fluent-ui/avatar/udp-fluent-avatar.d.ts +6 -1
- package/dist/types/components/fluent-ui/checkbox/udp-fluent-checkbox.d.ts +2 -0
- package/dist/types/components/fluent-ui/dialog/udp-fluent-dialog.d.ts +2 -0
- package/dist/types/components/fluent-ui/drawer/udp-fluent-drawer.d.ts +7 -0
- package/dist/types/components/fluent-ui/icon/udp-fluent-icon.d.ts +2 -0
- package/dist/types/components/fluent-ui/icon-button/udp-fluent-icon-button.d.ts +2 -0
- package/dist/types/components/fluent-ui/image/udp-fluent-image.d.ts +5 -0
- package/dist/types/components/fluent-ui/list-input/udp-fluent-list-input.d.ts +40 -0
- package/dist/types/components/fluent-ui/switch/udp-fluent-switch.d.ts +2 -0
- package/dist/types/components/fluent-ui/table-input/udp-fluent-table-input.d.ts +61 -0
- package/dist/types/components/fluent-ui/table-input/udp-fluent-table-input.types.d.ts +22 -0
- package/dist/types/components/fluent-ui/tooltip/udp-tooltip.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/assert.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixture.types.d.ts +83 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/checkbox.fixtures.d.ts +18 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/date-selector.fixtures.d.ts +29 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/date-time-selector.fixtures.d.ts +14 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/dropdown-multiple-select.fixtures.d.ts +16 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/dropdown-single-select.fixtures.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/file-upload.fixtures.d.ts +21 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/form-metadata-display.fixtures.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/hidden.fixtures.d.ts +15 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/image-upload.fixtures.d.ts +13 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/list-multi-select.fixtures.d.ts +13 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/location-additional.fixtures.d.ts +18 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/location-default-location.fixture.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/location-required.fixture.d.ts +10 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/multi-line-text.fixtures.d.ts +13 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/number.fixtures.d.ts +20 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/paragraph.fixtures.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/radio-button.fixtures.d.ts +14 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/signature.fixtures.d.ts +24 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/single-line-text.fixtures.d.ts +18 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/table.fixtures.d.ts +13 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/tally.fixtures.d.ts +20 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/time-selector.fixtures.d.ts +23 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/yes-no.fixtures.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/harness-dom.d.ts +30 -0
- package/dist/types/components/forms/udp-question-form/__forms-harness__/harness.d.ts +49 -0
- package/dist/types/components/forms/udp-question-form/builder/components/add-question-drawer-content.d.ts +14 -0
- package/dist/types/components/forms/udp-question-form/builder/components/configure-question-drawer.d.ts +48 -0
- package/dist/types/components/forms/udp-question-form/builder/components/form-structure-sidebar.d.ts +44 -0
- package/dist/types/components/forms/udp-question-form/builder/components/preview-pane.d.ts +16 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/GenericQuestionConfig.d.ts +29 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/ValidationRulesSection.d.ts +20 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/index.d.ts +5 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/FileUploadConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/FormMetadataDisplayConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/ListOptionsConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/LocationConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/ParagraphConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/SignatureConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/TableConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/TallyConfig.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/index.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/types.d.ts +59 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.d.ts +45 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/utils/configValues.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/utils/dateTimeFormat.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/utils/index.d.ts +3 -0
- package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/utils/sortableRef.d.ts +16 -0
- package/dist/types/components/forms/udp-question-form/builder/components/section-card.d.ts +19 -0
- package/dist/types/components/forms/udp-question-form/builder/components/section-edit-drawer-content.d.ts +23 -0
- package/dist/types/components/forms/udp-question-form/builder/components/section-question-item.d.ts +16 -0
- package/dist/types/components/forms/udp-question-form/builder/config/constants.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/builder/config/index.d.ts +1 -0
- package/dist/types/components/forms/udp-question-form/builder/form-item-types/index.d.ts +4 -0
- package/dist/types/components/forms/udp-question-form/builder/form-item-types/registry.d.ts +5 -0
- package/dist/types/components/forms/udp-question-form/builder/form-item-types/templates.d.ts +19 -0
- package/dist/types/components/forms/udp-question-form/builder/form-item-types/types.d.ts +36 -0
- package/dist/types/components/forms/udp-question-form/builder/form-item-types/validation.d.ts +50 -0
- package/dist/types/components/forms/udp-question-form/builder/udp-question-form-builder.d.ts +335 -0
- package/dist/types/components/forms/udp-question-form/builder/utils/builder-api.d.ts +66 -0
- package/dist/types/components/forms/udp-question-form/builder/utils/form-versions.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/builder/utils/question-template.d.ts +23 -0
- package/dist/types/components/forms/udp-question-form/core/choice-options.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/defaults.d.ts +24 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/common-keys.d.ts +11 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/engine.d.ts +21 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/index.d.ts +3 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/checkbox.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/date-selector.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/date-time-selector.d.ts +14 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/dropdown-multiple-select.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/dropdown-single-select.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/file-upload.d.ts +10 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/form-metadata-display.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/hidden.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/image-upload.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/list-multi-select.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/location.d.ts +16 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/multi-line-text.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/number.d.ts +10 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/paragraph.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/radio-button.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/signature.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/single-line-text.d.ts +11 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.d.ts +16 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/tally.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/time-selector.d.ts +12 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/yes-no.d.ts +11 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/registry.d.ts +5 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/toggles.d.ts +13 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/types.d.ts +108 -0
- package/dist/types/components/forms/udp-question-form/core/field-properties.d.ts +155 -0
- package/dist/types/components/forms/udp-question-form/core/index.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/core/parse.d.ts +50 -0
- package/dist/types/components/forms/udp-question-form/core/serialize.d.ts +82 -0
- package/dist/types/components/forms/udp-question-form/core/slot-index.d.ts +31 -0
- package/dist/types/components/forms/udp-question-form/core/types.d.ts +119 -0
- package/dist/types/components/forms/udp-question-form/core/validation/consistency.d.ts +11 -0
- package/dist/types/components/forms/udp-question-form/core/validation/emptiness.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/engine.d.ts +54 -0
- package/dist/types/components/forms/udp-question-form/core/validation/index.d.ts +15 -0
- package/dist/types/components/forms/udp-question-form/core/validation/intrinsic.d.ts +38 -0
- package/dist/types/components/forms/udp-question-form/core/validation/registry.d.ts +31 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/age.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/index.d.ts +42 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/integer-only.d.ts +6 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-age.d.ts +6 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-date-time.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-date.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-decimal-places.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-length.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-rows.d.ts +6 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-selections.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-time.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/max-value.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-age.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-date-time.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-date.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-length.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-rows.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-selections.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-time.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/min-value.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/must-be-yes.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/no-future-date-time.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/no-future-date.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/no-past-date-time.d.ts +8 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/no-past-date.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/pattern.d.ts +19 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/required.d.ts +7 -0
- package/dist/types/components/forms/udp-question-form/core/validation/rules/step.d.ts +6 -0
- package/dist/types/components/forms/udp-question-form/core/validation/types.d.ts +170 -0
- package/dist/types/components/forms/udp-question-form/follow-up-forms-api.d.ts +14 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/codecs.d.ts +87 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/comments-api.d.ts +33 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/comments-state.d.ts +108 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/dynamic-sections.d.ts +135 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/follow-up-forms.d.ts +99 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/index.d.ts +13 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/initial-values.d.ts +53 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/parse.d.ts +86 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/progress.d.ts +28 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/serialize-submission.d.ts +82 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/submit.d.ts +43 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/types.d.ts +128 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/url-seed.d.ts +36 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/validate-submission.d.ts +48 -0
- package/dist/types/components/forms/udp-question-form/renderer/runtime/wire-adapter.d.ts +17 -0
- package/dist/types/components/forms/udp-question-form/renderer/udp-question-form-renderer.d.ts +418 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/adapters/udp-question-tally-adapter.d.ts +58 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/avatar.d.ts +2 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/comment-item.d.ts +9 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/comment-thread.d.ts +39 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/follow-up-picker-dialog.d.ts +24 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/form-shell.d.ts +108 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/index.d.ts +6 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/question-renderer.d.ts +99 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/question-view-renderer.d.ts +33 -0
- package/dist/types/components/forms/udp-question-form/renderer/ui/section-card.d.ts +36 -0
- package/dist/types/components/forms/udp-question-form/renderer/url.d.ts +29 -0
- package/dist/types/components/forms/udp-question-form/version-drawer/udp-form-version-drawer.d.ts +21 -0
- package/dist/types/components/grid/ag-table/ag-table.d.ts +4 -0
- package/dist/types/components/grid/grid-primary-bar/grid-primary-bar.d.ts +4 -0
- package/dist/types/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.d.ts +4 -0
- package/dist/types/components/grid/new-grid/gridFunctions/columnSelector.d.ts +44 -0
- package/dist/types/components/grid/new-grid/interfaces/grid.d.ts +7 -1
- package/dist/types/components/inputs/address-search/address-search.d.ts +4 -0
- package/dist/types/components/inputs/checkbox/check-box.d.ts +3 -0
- package/dist/types/components/inputs/date-selector/udp-date-selector.d.ts +3 -0
- package/dist/types/components/inputs/date-time-selector/udp-datetime-selector.d.ts +3 -0
- package/dist/types/components/inputs/file-upload/file-upload.d.ts +3 -0
- package/dist/types/components/inputs/form metadata display/form-metadata-display.d.ts +3 -0
- package/dist/types/components/inputs/image-upload/image-upload.d.ts +3 -0
- package/dist/types/components/inputs/location-input/location-input.d.ts +4 -0
- package/dist/types/components/inputs/numeric-field/numeric-field.d.ts +3 -0
- package/dist/types/components/inputs/selectable-list/selectable-list.d.ts +3 -0
- package/dist/types/components/inputs/signature-input/signature-input.d.ts +4 -0
- package/dist/types/components/inputs/tally/tally.d.ts +3 -0
- package/dist/types/components/inputs/text-area/text-area.d.ts +3 -0
- package/dist/types/components/inputs/text-field/text-field.d.ts +3 -0
- package/dist/types/components/inputs/time-selector/udp-time-selector.d.ts +3 -0
- package/dist/types/components/inputs/udp-selector/udp-selector.d.ts +3 -0
- package/dist/types/components/layout/primary-action-header/udp-primary-action-header.d.ts +9 -2
- package/dist/types/components/loaders/udp-grid-loader/udp-grid-loader.d.ts +4 -0
- package/dist/types/components/loaders/udp-linear-loader/udp-linear-loader.d.ts +4 -0
- package/dist/types/components/loaders/udp-skeleton-loading.d.ts +4 -0
- package/dist/types/components/menu/udp-menu.d.ts +4 -0
- package/dist/types/components/navigation/pagination/udp-pagination.d.ts +4 -0
- package/dist/types/components/navigation/udp-link/udp-link.d.ts +4 -0
- package/dist/types/components/new-form/field/udp-field.d.ts +24 -1
- package/dist/types/components/new-form/form/udp-form-component.d.ts +109 -8
- package/dist/types/components/stepper/udp-stepper-demo.d.ts +4 -0
- package/dist/types/components/tabs/tab/tabs/udp-tabs.d.ts +4 -0
- package/dist/types/components/tabs/tab/udp-tab.d.ts +4 -0
- package/dist/types/components/toolbars/app-bar/app-bar.d.ts +4 -0
- package/dist/types/components/unity-typography/unity-typography.d.ts +4 -0
- package/dist/types/components.d.ts +1793 -31
- package/dist/types/udp-utilities/location/getCachedAzureMapsProviders.d.ts +2 -0
- package/dist/types/udp-utilities/search/searchObject.d.ts +1 -0
- package/package.json +7 -2
- package/dist/cjs/udp-fluent-inline-edit.cjs.entry.js +0 -35
- package/dist/cjs/udp-fluent-list-item.cjs.entry.js +0 -126
- package/dist/cjs/udp-list.cjs.entry.js +0 -200
- package/dist/cjs/udp-sidebar-layout.cjs.entry.js +0 -67
- package/dist/cjs/udp-vertical-spacer.cjs.entry.js +0 -28
- package/dist/esm/udp-fluent-inline-edit.entry.js +0 -33
- package/dist/esm/udp-fluent-list-item.entry.js +0 -124
- package/dist/esm/udp-list.entry.js +0 -198
- package/dist/esm/udp-sidebar-layout.entry.js +0 -65
- package/dist/esm/udp-vertical-spacer.entry.js +0 -26
- package/dist/stencil-library/searchObject-CDJVsMG_.js +0 -1
- package/dist/stencil-library/udp-fluent-inline-edit.entry.js +0 -1
- package/dist/stencil-library/udp-fluent-list-item.entry.js +0 -1
- package/dist/stencil-library/udp-list.entry.js +0 -1
- package/dist/stencil-library/udp-sidebar-layout.entry.js +0 -1
- package/dist/stencil-library/udp-vertical-spacer.entry.js +0 -1
|
@@ -5,8 +5,8 @@ var agGridEnterpriseV33 = require('ag-grid-enterprise-v33');
|
|
|
5
5
|
var apiUtils = require('./apiUtils-DDwoTPP9.js');
|
|
6
6
|
var lookupHelper = require('./lookupHelper-DviFrZe6.js');
|
|
7
7
|
var tenantUtils = require('./tenantUtils-BCKSE0vq.js');
|
|
8
|
-
var searchObject = require('./searchObject-
|
|
9
|
-
var searchObjectHelper = require('./searchObjectHelper-
|
|
8
|
+
var searchObject = require('./searchObject-mbqgqdRh.js');
|
|
9
|
+
var searchObjectHelper = require('./searchObjectHelper-DYpPEIzz.js');
|
|
10
10
|
var statusRenderer = require('./status-renderer-9CQ-hhq8.js');
|
|
11
11
|
var configureUdpColumnMods = require('./configureUdpColumnMods-DRTe_SN1.js');
|
|
12
12
|
var lodashEs = require('lodash-es');
|
|
@@ -2443,6 +2443,151 @@ class AgGridExpandCollapseAll {
|
|
|
2443
2443
|
}
|
|
2444
2444
|
}
|
|
2445
2445
|
|
|
2446
|
+
/**
|
|
2447
|
+
* columnSelector — a "Choose Columns" drawer that mirrors AG Grid's native column
|
|
2448
|
+
* chooser but arranges the columns into consumer-defined groups, each with a tri-state
|
|
2449
|
+
* header checkbox that shows/hides the whole group at once. Opened from the toolbar's
|
|
2450
|
+
* Display Settings menu (fires `onAction('columnSelector')`).
|
|
2451
|
+
*
|
|
2452
|
+
* Show/hide only — reorder and pinning are out of scope. Visibility is applied via
|
|
2453
|
+
* `applyColumnState`, so it composes with saved views' existing column-state capture.
|
|
2454
|
+
*/
|
|
2455
|
+
class ColumnSelector {
|
|
2456
|
+
constructor() {
|
|
2457
|
+
this.groups = [];
|
|
2458
|
+
this.ungroupedLabel = 'Other';
|
|
2459
|
+
this.open = false;
|
|
2460
|
+
this.search = '';
|
|
2461
|
+
/** Accordion item ids the user has expanded. Empty = all collapsed (the default). */
|
|
2462
|
+
this.expandedGroups = new Set();
|
|
2463
|
+
this.close = () => {
|
|
2464
|
+
this.open = false;
|
|
2465
|
+
this.search = '';
|
|
2466
|
+
this.refresh();
|
|
2467
|
+
};
|
|
2468
|
+
// Mirror the accordion's own expand/collapse into our set so it survives re-renders
|
|
2469
|
+
// (a checkbox toggle re-renders the whole drawer). Ignored while searching, when every
|
|
2470
|
+
// matching group is force-expanded.
|
|
2471
|
+
this.handleAccordionChange = (e) => {
|
|
2472
|
+
var _a, _b, _c, _d;
|
|
2473
|
+
if (this.search)
|
|
2474
|
+
return;
|
|
2475
|
+
// udp-accordion re-emits Fluent's change event as the detail; the toggled
|
|
2476
|
+
// accordion-item is its target. `value` is a plain attribute (not a FAST prop), so
|
|
2477
|
+
// read it off the DOM; `expanded` reflects the new state.
|
|
2478
|
+
const item = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.target;
|
|
2479
|
+
const value = (_b = item === null || item === void 0 ? void 0 : item.getAttribute) === null || _b === void 0 ? void 0 : _b.call(item, 'value');
|
|
2480
|
+
if (!value)
|
|
2481
|
+
return;
|
|
2482
|
+
const expanded = (_d = (_c = item === null || item === void 0 ? void 0 : item.expanded) !== null && _c !== void 0 ? _c : item === null || item === void 0 ? void 0 : item.hasAttribute('expanded')) !== null && _d !== void 0 ? _d : false;
|
|
2483
|
+
if (expanded)
|
|
2484
|
+
this.expandedGroups.add(value);
|
|
2485
|
+
else
|
|
2486
|
+
this.expandedGroups.delete(value);
|
|
2487
|
+
};
|
|
2488
|
+
}
|
|
2489
|
+
init(api, refresh, params) {
|
|
2490
|
+
this.api = api;
|
|
2491
|
+
this.refresh = refresh;
|
|
2492
|
+
this.applyParams(params);
|
|
2493
|
+
}
|
|
2494
|
+
update(params) {
|
|
2495
|
+
this.applyParams(params);
|
|
2496
|
+
this.refresh();
|
|
2497
|
+
}
|
|
2498
|
+
applyParams(params) {
|
|
2499
|
+
var _a, _b;
|
|
2500
|
+
this.groups = (_a = params === null || params === void 0 ? void 0 : params.groups) !== null && _a !== void 0 ? _a : [];
|
|
2501
|
+
this.ungroupedLabel = (_b = params === null || params === void 0 ? void 0 : params.ungroupedLabel) !== null && _b !== void 0 ? _b : 'Other';
|
|
2502
|
+
}
|
|
2503
|
+
onAction(name) {
|
|
2504
|
+
if (name === 'columnSelector') {
|
|
2505
|
+
this.open = true;
|
|
2506
|
+
this.refresh();
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
// Columns eligible for the chooser: everything except AG Grid's structural columns
|
|
2510
|
+
// (selection checkbox, auto group/detail) and any column the consumer opted out of the
|
|
2511
|
+
// tool panel — mirroring what the native chooser shows.
|
|
2512
|
+
toggleableColumns() {
|
|
2513
|
+
var _a;
|
|
2514
|
+
return ((_a = this.api.getColumns()) !== null && _a !== void 0 ? _a : []).filter(col => !col.getColId().startsWith('ag-Grid-') &&
|
|
2515
|
+
col.getColDef().suppressColumnsToolPanel !== true);
|
|
2516
|
+
}
|
|
2517
|
+
// Partition the toggleable columns into the configured groups (in params order,
|
|
2518
|
+
// preserving each group's column order) plus a trailing "ungrouped" section.
|
|
2519
|
+
buildSections() {
|
|
2520
|
+
const toggleable = this.toggleableColumns();
|
|
2521
|
+
const byId = new Map(toggleable.map(col => [col.getColId(), col]));
|
|
2522
|
+
const used = new Set();
|
|
2523
|
+
const sections = this.groups
|
|
2524
|
+
.map(group => {
|
|
2525
|
+
var _a;
|
|
2526
|
+
const columns = ((_a = group.columns) !== null && _a !== void 0 ? _a : [])
|
|
2527
|
+
.map(id => byId.get(id))
|
|
2528
|
+
.filter((col) => !!col);
|
|
2529
|
+
columns.forEach(col => used.add(col.getColId()));
|
|
2530
|
+
return { label: group.label, columns };
|
|
2531
|
+
})
|
|
2532
|
+
.filter(section => section.columns.length > 0);
|
|
2533
|
+
const ungrouped = toggleable.filter(col => !used.has(col.getColId()));
|
|
2534
|
+
if (ungrouped.length) {
|
|
2535
|
+
sections.push({ label: this.ungroupedLabel, columns: ungrouped });
|
|
2536
|
+
}
|
|
2537
|
+
return sections;
|
|
2538
|
+
}
|
|
2539
|
+
matchesSearch(col) {
|
|
2540
|
+
var _a;
|
|
2541
|
+
if (!this.search)
|
|
2542
|
+
return true;
|
|
2543
|
+
const label = ((_a = col.getColDef().headerName) !== null && _a !== void 0 ? _a : col.getColId()).toLowerCase();
|
|
2544
|
+
return label.includes(this.search.toLowerCase());
|
|
2545
|
+
}
|
|
2546
|
+
setVisible(colIds, visible) {
|
|
2547
|
+
if (!colIds.length)
|
|
2548
|
+
return;
|
|
2549
|
+
this.api.applyColumnState({ state: colIds.map(colId => ({ colId, hide: !visible })) });
|
|
2550
|
+
this.refresh();
|
|
2551
|
+
}
|
|
2552
|
+
render() {
|
|
2553
|
+
if (!this.open)
|
|
2554
|
+
return null;
|
|
2555
|
+
// Sections after search filtering; sections with no matches are dropped.
|
|
2556
|
+
const sections = this.buildSections()
|
|
2557
|
+
.map(section => ({
|
|
2558
|
+
label: section.label,
|
|
2559
|
+
columns: section.columns.filter(col => this.matchesSearch(col)),
|
|
2560
|
+
}))
|
|
2561
|
+
.filter(section => section.columns.length > 0);
|
|
2562
|
+
const shown = sections.flatMap(section => section.columns);
|
|
2563
|
+
const visibleCount = shown.filter(col => col.isVisible()).length;
|
|
2564
|
+
const allVisible = shown.length > 0 && visibleCount === shown.length;
|
|
2565
|
+
const noneVisible = visibleCount === 0;
|
|
2566
|
+
return (index.h("udp-fluent-drawer", { open: this.open, drawerTitle: "Choose Columns", position: "end",
|
|
2567
|
+
//size="small"
|
|
2568
|
+
onDrawerClose: this.close }, index.h("udp-flexbox", { direction: "column", gap: "sm" }, index.h("udp-search-input", { value: this.search, placeholder: "Search columns", onValueChanged: (e) => {
|
|
2569
|
+
var _a;
|
|
2570
|
+
this.search = (_a = e.detail) !== null && _a !== void 0 ? _a : '';
|
|
2571
|
+
this.refresh();
|
|
2572
|
+
} }), shown.length > 0 && (index.h("udp-fluent-checkbox", { class: "column-selector-select-all", label: "Select all", includeErrorPadding: false, checked: allVisible, indeterminate: !allVisible && !noneVisible, onValueChanged: () => this.setVisible(shown.map(col => col.getColId()), !allVisible) })), index.h("udp-accordion", { appearance: "contained", expandmode: "multi", items: sections.map((section, i) => ({
|
|
2573
|
+
id: `group-${i}`,
|
|
2574
|
+
label: section.label,
|
|
2575
|
+
// Search force-expands every matching group; otherwise honour the user's
|
|
2576
|
+
// expand/collapse (default collapsed).
|
|
2577
|
+
expanded: this.search ? true : this.expandedGroups.has(`group-${i}`),
|
|
2578
|
+
})), onAccordionChanged: this.handleAccordionChange }, sections.map((section, i) => {
|
|
2579
|
+
const groupVisible = section.columns.filter(col => col.isVisible()).length;
|
|
2580
|
+
const groupAll = groupVisible === section.columns.length;
|
|
2581
|
+
const groupNone = groupVisible === 0;
|
|
2582
|
+
return (index.h("div", { slot: `group-${i}-content`, key: `group-${i}`, class: "column-selector-items" }, index.h("udp-fluent-checkbox", { label: "Select all", includeErrorPadding: false, checked: groupAll, indeterminate: !groupAll && !groupNone, onValueChanged: () => this.setVisible(section.columns.map(col => col.getColId()), !groupAll) }), index.h("div", { class: "column-selector-column-list" }, section.columns.map(col => {
|
|
2583
|
+
var _a;
|
|
2584
|
+
const def = col.getColDef();
|
|
2585
|
+
return (index.h("udp-fluent-checkbox", { key: col.getColId(), label: (_a = def.headerName) !== null && _a !== void 0 ? _a : col.getColId(), includeErrorPadding: false, checked: col.isVisible(), disabled: def.lockVisible === true, onValueChanged: (e) => this.setVisible([col.getColId()], e.detail) }));
|
|
2586
|
+
}))));
|
|
2587
|
+
})), shown.length === 0 && (index.h("udp-text", { variant: "body1" }, "No columns match your search.")))));
|
|
2588
|
+
}
|
|
2589
|
+
}
|
|
2590
|
+
|
|
2446
2591
|
const gridFunctionRegistry = {
|
|
2447
2592
|
agGridExport: AgGridExport,
|
|
2448
2593
|
agGridExcelExport: AgGridExcelExport,
|
|
@@ -2458,6 +2603,7 @@ const gridFunctionRegistry = {
|
|
|
2458
2603
|
quickFilterChips: QuickFilterChips,
|
|
2459
2604
|
agGridRefreshData: agGridRefreshData,
|
|
2460
2605
|
agGridExpandCollapseAll: AgGridExpandCollapseAll,
|
|
2606
|
+
columnSelector: ColumnSelector,
|
|
2461
2607
|
};
|
|
2462
2608
|
|
|
2463
2609
|
function createTitleContainer(title, subtitle) {
|
|
@@ -2849,6 +2995,7 @@ const AgGridBase = class {
|
|
|
2849
2995
|
forEachNodeAfterFilterAndSort: callback => this.gridApi.forEachNodeAfterFilterAndSort(callback),
|
|
2850
2996
|
stopEditing: (cancel) => this.gridApi.stopEditing(cancel),
|
|
2851
2997
|
getFocusedCell: () => this.gridApi.getFocusedCell(),
|
|
2998
|
+
getAllDisplayedColumns: () => this.gridApi.getAllDisplayedColumns(),
|
|
2852
2999
|
});
|
|
2853
3000
|
}
|
|
2854
3001
|
this.gridReady.emit(this.gridApi);
|
|
@@ -2950,7 +3097,7 @@ const AgGridBase = class {
|
|
|
2950
3097
|
this.updateGridContextValues();
|
|
2951
3098
|
}
|
|
2952
3099
|
render() {
|
|
2953
|
-
return (index.h("div", { key: '
|
|
3100
|
+
return (index.h("div", { key: '8d1e2609edad31f473021b89b14e29629a2c9573', ref: el => (this.gridContainerEl = el) }, index.h("ghost-render", { key: 'b2c20a3091265323ce138e79f2b5c8cba1969eb7' }, index.h("div", { key: '01210fa046859a2f52d6ab636c9b0e7bd4559da4' }, index.h("udp-dialog", { key: '9a654075e15fd4507b219e556abd04bb16443c34' }), index.h("udp-list-item", { key: 'ff3ca7dd2ca58922eee4813853863a765cf09a67' }), index.h("hint-panel", { key: '79093701a783ec49902528273c4894057424a7fb' }), index.h("udp-side-sheet", { key: '3ea9829fd3d726b60f0cb7b0eedaea5e308ef371' }), index.h("udp-fluent-dialog", { key: '63a88db71337348a4fa188ae48bacf5cd26601ee' }), index.h("udp-fluent-text", { key: '37aa26a11e2fbc82e984bfc3693fdc5aa3db6520' }), index.h("udp-fluent-text-input", { key: 'ff173d0a3dbbde41ecdf1a3b30c37c5eca45c9c1' }), index.h("udp-fluent-switch", { key: '13bd88ff11b5017e51bf2520000c2df05b288d0c' }), index.h("udp-fluent-button", { key: 'ae0f2ec0ee6da3a7a2b28175c159d2ef70dc776c' }), index.h("udp-text", { key: '684c39b1076b37df527229a571a276e22b599fee' }), index.h("udp-search-input", { key: 'ebedaa5ba2a469cf7cd2b80f10916bb8205053d8' }), index.h("udp-export-sheet", { key: '3fbc590e9ed8ed7ddc1c9ed66017f85a26af8e74' }), index.h("udp-fluent-avatar", { key: '5599aee9264abec6591f1e95e845355545cbdeb7' }), index.h("udp-fluent-icon-button", { key: '6cb17c8b3b3b10ee240054dd1271885d2920e377' }), index.h("udp-fluent-icon", { key: 'aaf65833610f221e2b93e31358849928859fc7e0' }), index.h("udp-fluent-badge", { key: 'a889bd42bb90c3399e063d1273d414241c88c249' }), index.h("udp-empty-state", { key: '1be9cd5618cea184b46194b66975e634fc6d84d5' }), index.h("udp-message-bar", { key: '80085dd6a91307d10d5f1af60673bb18540c34ea' }))), index.h("grid-header", { key: '92983d1eecd1f85f190a34ad6436b8d7a6eccf09', headerConfig: this.headerConfig, gridFunctions: this.gridFunctions, gridFunctionInstances: this.gridFunctionInstances, refreshKey: this.refreshKey, onHeaderAction: this.onHeaderAction }), index.h("div", { key: 'd32ad6f8e6ea7fad36d3521aa4d165df73d26e35', ref: el => (this.gridEl = el) })));
|
|
2954
3101
|
}
|
|
2955
3102
|
static get watchers() { return {
|
|
2956
3103
|
"gridFunctions": [{
|
|
@@ -3013,7 +3160,7 @@ const ClientSideGrid = class {
|
|
|
3013
3160
|
this.clientSideConfig = Object.assign(Object.assign({}, this.gridOptions), { rowModelType: 'clientSide' });
|
|
3014
3161
|
}
|
|
3015
3162
|
render() {
|
|
3016
|
-
return (index.h("ag-grid-base", { key: '
|
|
3163
|
+
return (index.h("ag-grid-base", { key: 'ed324ffc277177f2866eb8ffb051d5bb4072ad46', 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 }));
|
|
3017
3164
|
}
|
|
3018
3165
|
static get watchers() { return {
|
|
3019
3166
|
"rowData": [{
|
|
@@ -3099,7 +3246,7 @@ const GhostRender = class {
|
|
|
3099
3246
|
// The <slot /> is necessary to prevent the Stencil compiler from
|
|
3100
3247
|
// overly optimizing this component's output and aliasing the
|
|
3101
3248
|
// defineCustomElement export, which breaks downstream wrappers.
|
|
3102
|
-
return (index.h(index.Host, { key: '
|
|
3249
|
+
return (index.h(index.Host, { key: 'aff1f9f2bc44c5dca31e23f8b547045b3406a8dc' }, index.h("slot", { key: '68c3824e69cea30ab4728fc76616f70cb86a9a21' })));
|
|
3103
3250
|
}
|
|
3104
3251
|
};
|
|
3105
3252
|
GhostRender.style = `:host {
|
|
@@ -3124,7 +3271,7 @@ function computeHasScopingTools(gridFunctions) {
|
|
|
3124
3271
|
return gridFunctions === null || gridFunctions === void 0 ? void 0 : gridFunctions.some(f => SCOPING_FUNCTIONS.has(f.name));
|
|
3125
3272
|
}
|
|
3126
3273
|
|
|
3127
|
-
const gridHeaderCss = () => `.toolbar-content{display:flex;align-items:center;width:100%;min-height:48px;padding:var(--spacingVerticalXXS) var(--spacingHorizontalL);box-sizing:border-box;background-color:var(--colorNeutralBackground1);border-bottom:1px solid var(--colorNeutralStroke3)}.bulk-overlay-wrapper{position:relative;width:100%}.bulk-overlay-ghost{visibility:hidden}.bulk-overlay-bar{position:absolute;inset:0;display:flex;align-items:center;padding:0 var(--spacingHorizontalL);box-sizing:border-box;background-color:var(--colorNeutralBackground1);border-bottom:1px solid var(--colorNeutralStroke3)}.toolbar-inner{display:flex;align-items:center;justify-content:space-between;width:100%}.scoping-zone{display:flex;align-items:center;gap:var(--spacingHorizontalXS);flex:1 1 auto;min-width:0}.scoping-zone>*:not(.quick-filter-chips){flex-shrink:0}.toolbar-actions{display:flex;align-items:center;gap:var(--spacingHorizontalS);flex-shrink:0}.quick-filter-chips{display:flex;align-items:center;gap:var(--spacingHorizontalXS);flex:1 1 auto;min-width:0;flex-wrap:nowrap;overflow:hidden}.quick-filter-chips>*{flex-shrink:0}.promoted-utilities{display:flex;align-items:center;gap:var(--spacingHorizontalS)}.view-selector-wrapper{display:flex;align-items:center;gap:var(--spacingHorizontalXS)}.view-dirty-actions{display:flex;align-items:center;gap:var(--spacingHorizontalXS)}@keyframes emerge-from-menu{from{opacity:0;transform:translateX(-10px) scale(0.75)}to{opacity:1;transform:translateX(0) scale(1)}}udp-fluent-icon-button.spin-refresh{--udp-icon-animation:udp-icon-spin 1s linear infinite}.view-dirty-actions>*{animation:emerge-from-menu 180ms cubic-bezier(0.1, 0.9, 0.2, 1) both;transform-origin:left center}.view-dirty-actions>*:nth-child(2){animation-delay:50ms}.bulk-actions-bar{display:flex;align-items:center;gap:var(--spacingHorizontalXS)}.bulk-actions-bar>*{animation:emerge-from-menu 200ms cubic-bezier(0.1, 0.9, 0.2, 1) both;transform-origin:left center;will-change:transform, opacity}udp-fluent-button.bulk-action-danger::part(button){color:var(--colorStatusDangerForeground1);border-color:var(--colorStatusDangerBorder1)}udp-fluent-button.bulk-action-danger::part(button):hover{background-color:var(--colorStatusDangerBackground1);color:var(--colorStatusDangerForeground1);border-color:var(--colorStatusDangerBorder1)}udp-fluent-button.bulk-action-danger::part(button):active{background-color:var(--colorStatusDangerBackground2);color:var(--colorStatusDangerForeground1);border-color:var(--colorStatusDangerBorder1)}.bulk-actions-divider{width:1px;height:12px;background:var(--colorNeutralStroke2);flex-shrink:0;margin:0 var(--spacingHorizontalS)}.view-search-container{padding:var(--spacingVerticalXS) var(--spacingHorizontalS)}.view-slot-action{display:flex;align-items:center}.has-active-view::part(trigger){background-color:var(--colorBrandBackground2Hover);color:var(--colorBrandForeground1);border-color:var(--colorBrandBackground2Hover)}.qf-chip-active::part(trigger),.qf-chip-active::part(button){background-color:var(--colorBrandBackground2Hover);color:var(--colorBrandForeground1);border-color:var(--colorBrandBackground2Hover)}.qf-date-chip{display:inline-flex;align-items:center}.qf-date-footer{display:flex;justify-content:flex-end;gap:var(--spacingHorizontalS);padding:var(--spacingVerticalS) var(--spacingHorizontalM);border-top:1px solid var(--colorNeutralStroke2)}.adv-filter-button{position:relative;display:inline-flex}.adv-filter-badge{position:absolute;top:2px;right:2px;width:8px;height:8px;border-radius:var(--borderRadiusCircular);background:var(--colorBrandBackground);box-shadow:0 0 0 1.5px var(--colorNeutralBackground1);pointer-events:none}.scoping-divider{width:1px;height:20px;margin:0 var(--spacingHorizontalS);background:var(--colorNeutralStroke2);flex-shrink:0;align-self:center}`;
|
|
3274
|
+
const gridHeaderCss = () => `.toolbar-content{display:flex;align-items:center;width:100%;min-height:48px;padding:var(--spacingVerticalXXS) var(--spacingHorizontalL);box-sizing:border-box;background-color:var(--colorNeutralBackground1);border-bottom:1px solid var(--colorNeutralStroke3)}.bulk-overlay-wrapper{position:relative;width:100%}.bulk-overlay-ghost{visibility:hidden}.bulk-overlay-bar{position:absolute;inset:0;display:flex;align-items:center;padding:0 var(--spacingHorizontalL);box-sizing:border-box;background-color:var(--colorNeutralBackground1);border-bottom:1px solid var(--colorNeutralStroke3)}.toolbar-inner{display:flex;align-items:center;justify-content:space-between;width:100%}.scoping-zone{display:flex;align-items:center;gap:var(--spacingHorizontalXS);flex:1 1 auto;min-width:0}.scoping-zone>*:not(.quick-filter-chips){flex-shrink:0}.toolbar-actions{display:flex;align-items:center;gap:var(--spacingHorizontalS);flex-shrink:0}.quick-filter-chips{display:flex;align-items:center;gap:var(--spacingHorizontalXS);flex:1 1 auto;min-width:0;flex-wrap:nowrap;overflow:hidden}.quick-filter-chips>*{flex-shrink:0}.promoted-utilities{display:flex;align-items:center;gap:var(--spacingHorizontalS)}.view-selector-wrapper{display:flex;align-items:center;gap:var(--spacingHorizontalXS)}.view-dirty-actions{display:flex;align-items:center;gap:var(--spacingHorizontalXS)}@keyframes emerge-from-menu{from{opacity:0;transform:translateX(-10px) scale(0.75)}to{opacity:1;transform:translateX(0) scale(1)}}udp-fluent-icon-button.spin-refresh{--udp-icon-animation:udp-icon-spin 1s linear infinite}.view-dirty-actions>*{animation:emerge-from-menu 180ms cubic-bezier(0.1, 0.9, 0.2, 1) both;transform-origin:left center}.view-dirty-actions>*:nth-child(2){animation-delay:50ms}.bulk-actions-bar{display:flex;align-items:center;gap:var(--spacingHorizontalXS)}.bulk-actions-bar>*{animation:emerge-from-menu 200ms cubic-bezier(0.1, 0.9, 0.2, 1) both;transform-origin:left center;will-change:transform, opacity}udp-fluent-button.bulk-action-danger::part(button){color:var(--colorStatusDangerForeground1);border-color:var(--colorStatusDangerBorder1)}udp-fluent-button.bulk-action-danger::part(button):hover{background-color:var(--colorStatusDangerBackground1);color:var(--colorStatusDangerForeground1);border-color:var(--colorStatusDangerBorder1)}udp-fluent-button.bulk-action-danger::part(button):active{background-color:var(--colorStatusDangerBackground2);color:var(--colorStatusDangerForeground1);border-color:var(--colorStatusDangerBorder1)}.bulk-actions-divider{width:1px;height:12px;background:var(--colorNeutralStroke2);flex-shrink:0;margin:0 var(--spacingHorizontalS)}.view-search-container{padding:var(--spacingVerticalXS) var(--spacingHorizontalS)}.view-slot-action{display:flex;align-items:center}.has-active-view::part(trigger){background-color:var(--colorBrandBackground2Hover);color:var(--colorBrandForeground1);border-color:var(--colorBrandBackground2Hover)}.qf-chip-active::part(trigger),.qf-chip-active::part(button){background-color:var(--colorBrandBackground2Hover);color:var(--colorBrandForeground1);border-color:var(--colorBrandBackground2Hover)}.qf-date-chip{display:inline-flex;align-items:center}.qf-date-footer{display:flex;justify-content:flex-end;gap:var(--spacingHorizontalS);padding:var(--spacingVerticalS) var(--spacingHorizontalM);border-top:1px solid var(--colorNeutralStroke2)}.adv-filter-button{position:relative;display:inline-flex}.adv-filter-badge{position:absolute;top:2px;right:2px;width:8px;height:8px;border-radius:var(--borderRadiusCircular);background:var(--colorBrandBackground);box-shadow:0 0 0 1.5px var(--colorNeutralBackground1);pointer-events:none}.scoping-divider{width:1px;height:20px;margin:0 var(--spacingHorizontalS);background:var(--colorNeutralStroke2);flex-shrink:0;align-self:center}.column-selector-items{display:flex;flex-direction:column;gap:var(--spacingVerticalXS)}.column-selector-column-list{display:flex;flex-direction:column;gap:var(--spacingVerticalXS);padding-left:var(--spacingHorizontalL)}`;
|
|
3128
3275
|
|
|
3129
3276
|
const GridHeader = class {
|
|
3130
3277
|
constructor(hostRef) {
|
|
@@ -3183,6 +3330,7 @@ const GridHeader = class {
|
|
|
3183
3330
|
const advancedSearchInstance = instanceByName('advancedSearch');
|
|
3184
3331
|
const refreshInstance = instanceByName('agGridRefreshData');
|
|
3185
3332
|
const expandCollapseInstance = instanceByName('agGridExpandCollapseAll');
|
|
3333
|
+
const columnSelectorInstance = instanceByName('columnSelector');
|
|
3186
3334
|
// ── Zone B: Utilities (Display Settings cog) ──────────────────────────────
|
|
3187
3335
|
const settingsMenuItems = [
|
|
3188
3336
|
enabledFunctionNames.has('agGridSizeColumnsToFit') && {
|
|
@@ -3218,8 +3366,10 @@ const GridHeader = class {
|
|
|
3218
3366
|
].filter(Boolean);
|
|
3219
3367
|
const hasUdpExport = enabledFunctionNames.has('udpExport');
|
|
3220
3368
|
const hasExpandCollapse = enabledFunctionNames.has('agGridExpandCollapseAll');
|
|
3369
|
+
const hasColumnSelector = enabledFunctionNames.has('columnSelector');
|
|
3221
3370
|
const hasUtilityButtons = hasUdpExport ||
|
|
3222
3371
|
hasExpandCollapse ||
|
|
3372
|
+
hasColumnSelector ||
|
|
3223
3373
|
enabledFunctionNames.has('agGridRefreshData') ||
|
|
3224
3374
|
settingsMenuItems.length > 0;
|
|
3225
3375
|
// ── Layout rules ──────────────────────────────────────────────────────────
|
|
@@ -3236,12 +3386,16 @@ const GridHeader = class {
|
|
|
3236
3386
|
const showToolbar = hasGridFunctions && !isPromoted && !isFullyPromoted;
|
|
3237
3387
|
// ── Zone B renderer (Utilities) ───────────────────────────────────────────
|
|
3238
3388
|
const renderUtilitiesZone = () => {
|
|
3239
|
-
var _a, _b, _c, _d;
|
|
3389
|
+
var _a, _b, _c, _d, _e;
|
|
3240
3390
|
return [
|
|
3241
3391
|
hasExpandCollapse && (index.h("udp-tooltip", { content: ((_a = expandCollapseInstance === null || expandCollapseInstance === void 0 ? void 0 : expandCollapseInstance.isExpanded) === null || _a === void 0 ? void 0 : _a.call(expandCollapseInstance)) ? 'Collapse all' : 'Expand all' }, index.h("udp-fluent-icon-button", { iconName: ((_b = expandCollapseInstance === null || expandCollapseInstance === void 0 ? void 0 : expandCollapseInstance.isExpanded) === null || _b === void 0 ? void 0 : _b.call(expandCollapseInstance)) ? 'arrow-minimize-vertical' : 'arrow-maximize-vertical', shape: "rounded", onClick: () => this.action('agGridExpandCollapseAll') }))),
|
|
3242
3392
|
enabledFunctionNames.has('agGridRefreshData') && (index.h("udp-tooltip", { content: "Refresh data" }, index.h("udp-fluent-icon-button", { class: { 'spin-refresh': (_d = (_c = refreshInstance === null || refreshInstance === void 0 ? void 0 : refreshInstance.isRefreshing) === null || _c === void 0 ? void 0 : _c.call(refreshInstance)) !== null && _d !== void 0 ? _d : false }, iconName: "arrow-sync", shape: "rounded", onClick: () => this.action('agGridRefreshData') }))),
|
|
3243
3393
|
hasUdpExport && (index.h("udp-tooltip", { content: "Export" }, index.h("udp-fluent-icon-button", { iconName: "export", shape: "rounded", onClick: () => this.action('udpExport') }))),
|
|
3394
|
+
hasColumnSelector && (index.h("udp-tooltip", { content: "Choose columns" }, index.h("udp-fluent-icon-button", { iconName: "table-settings", shape: "rounded", onClick: () => this.action('columnSelector') }))),
|
|
3244
3395
|
settingsMenuItems.length > 0 && (index.h("udp-fluent-menu", { buttonType: "icon", shape: "rounded", endIconName: "settings", appearance: "secondary", size: "medium", items: settingsMenuItems })),
|
|
3396
|
+
// Column-selector drawer — an overlay, so placement here is incidental; it only
|
|
3397
|
+
// renders content while open (triggered by the "Choose Columns" menu item above).
|
|
3398
|
+
enabledFunctionNames.has('columnSelector') && ((_e = columnSelectorInstance === null || columnSelectorInstance === void 0 ? void 0 : columnSelectorInstance.render) === null || _e === void 0 ? void 0 : _e.call(columnSelectorInstance)),
|
|
3245
3399
|
];
|
|
3246
3400
|
};
|
|
3247
3401
|
// ── Zone A renderer (Scoping) ─────────────────────────────────────────────
|
|
@@ -3287,7 +3441,7 @@ const HintPanel = class {
|
|
|
3287
3441
|
};
|
|
3288
3442
|
}
|
|
3289
3443
|
render() {
|
|
3290
|
-
return (index.h("div", { key: '
|
|
3444
|
+
return (index.h("div", { key: '7dd7cee1b25445515d3e831bedf6b688b5926941', class: "hint-container" }, this.showHint && (index.h("div", { key: 'b192bfd95cc66e3fe8399261af1364f88fa1635d', class: "hint-content" }, index.h("div", { key: '129b35433ccf615a5e711194a4bc693bfc371b10' }, index.h("unity-typography", { key: 'c3fc5998c707c1c4af5912b15f8c0cf603848cc4', variant: "body" }, " ", this.hint, " ")), this.hideHintText && (index.h("div", { key: '7d56f6543cef450d72ba7fcf43c8a8604f4ca847', class: "hide-help" }, index.h("udp-button", { key: 'c83b6aa2db427fb241270663cba09645abc3c738', size: "small", color: "info", onClick: this.handleHideHint }, this.hideHintText)))))));
|
|
3291
3445
|
}
|
|
3292
3446
|
};
|
|
3293
3447
|
HintPanel.style = hintPanelCss();
|
|
@@ -3740,51 +3894,51 @@ const TestComponentsPage = class {
|
|
|
3740
3894
|
}
|
|
3741
3895
|
render() {
|
|
3742
3896
|
var _a;
|
|
3743
|
-
return (index.h("div", { key: '
|
|
3897
|
+
return (index.h("div", { key: '259cb3a8ed21dd8b5209dc68b0fec29bc451a563', style: { display: 'flex', flexDirection: 'column' } }, index.h("div", { key: '8b7ed2c5b31c0140793af38171c12bae3ce305fb', style: { display: 'flex', gap: '1rem', marginTop: '1rem' } }, index.h("udp-fluent-button", { key: '4ea0b0c1b469a9f78434c4cc3d0153c16e01674c', onClick: () => (this.formDrawerOpen = true) }, "Open Form Drawer"), index.h("udp-fluent-button", { key: '1b28be56d4023a4e93e8fa1a79bc67aff7661bbd', onClick: () => (this.drawerOpen = true) }, "Open Grid Drawer")), index.h("div", { key: '2703b55f647ce5ac3be1fd076d0c749ce07534c5', style: { display: 'flex', flexDirection: 'column', gap: '1rem', marginTop: '2rem' } }, index.h("h4", { key: '6aaf56b6dedc63baaf53403dc908d846ef328ad5' }, "Scroll Overflow Strategy"), index.h("udp-fluent-tablist", { key: '0e0d33972caefe744e3594f2dcdbe1013021ca5e', tabList: this.tabs, onTabChange: this.handleTabChange, appearance: "transparent", size: "small", orientation: "horizontal", overflowStrategy: "scroll" }, index.h("span", { key: '937d874b45a4890dc1d5afa7aecf3a089c7de86f', slot: "grids-start", style: { color: 'red', fontWeight: 'bold' } }, "!")), index.h("h4", { key: '13383fe1a055cfe6d9f7b64b2288594321775b7c' }, "Collapse Overflow Strategy"), index.h("udp-fluent-tablist", { key: '71a234c9d6334d72cb60c1a40b650cff0a03384f', tabList: this.tabs, onTabChange: this.handleTabChange, appearance: "contained", size: "small", orientation: "horizontal", overflowStrategy: "collapse" }, index.h("span", { key: '17a64ccb9ab48aa4397e3e15a2977d20f414c421', slot: "grids-start", style: { color: 'red', fontWeight: 'bold' } }, "!")), index.h("div", { key: 'b69f89f64447b3958951acfde36f39e9a2b13540', style: { padding: '1rem', border: '1px solid #ccc' } }, index.h("udp-tab-panel", { key: '94563e85c7ce806b4fd232ddb722e0cae36bcacf', id: "buttons-inputs", activeTabId: this.currentTab }, index.h("div", { key: '3e064b4233b9968eaee3761756f1fb0b6dea38b2', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, index.h("h3", { key: 'aebb8b2dfbef6a14b8f1544ccba19eb0f536d083' }, "Buttons & Inputs"), index.h("div", { key: '97de512c0f547b88579da0364df4edb65c8d9dee', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-switch", { key: '53467ebaee33a63382f54b6093ab8dc3a021db16', label: "Toggle Loading", checked: this.isButtonLoading, onValueChanged: e => (this.isButtonLoading = e.detail) }), index.h("udp-fluent-button", { key: '1fdddc7caae9415a2b5c05e847cab7fa6d8db1a3', loading: this.isButtonLoading, size: "medium" }, index.h("udp-fluent-icon", { key: '5573be6459ec8049daa60fc3da6a5b6329c553c8', name: "calendar", size: "sm", slot: "start" }), "Loading Button")), index.h("div", { key: '05cb331e21a4ae8f9c6d604b39cade1b44894311' }, index.h("udp-fluent-button", { key: '4f4382c2762856a482a1442da1e3ba616370e024', onClick: () => console.log('Click Me Clicked') }, "Click Me")), index.h("div", { key: '0bbf3a5e769c817006b8a32ad036d83339958d8b' }, index.h("h4", { key: '12878602332083d4e3298eaef7769178971386d1' }, "New Icon Props"), index.h("div", { key: 'fbd2d0104208ea6c02f55805d7ffd3aea61d63b9', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-button", { key: '740514c1483d5afb2bdc4c7849fb9806e8a93c85', startIconName: "checkmark", onClick: () => console.log('Start Icon Clicked') }, "Start Icon"), index.h("udp-fluent-button", { key: '79dd2c5b38b86d0cdff21fbd78d8b685ab7d7244', size: "large", onClick: () => console.log('End Icon Clicked'), endIconName: "home" }, "End Icon"), index.h("udp-fluent-button", { key: '876eb3aa3fc36acad6962394c5ebf2015ddc2003', appearance: "primary", onClick: () => console.log('Primary Clicked') }, "Delete"), index.h("udp-fluent-button", { key: '8712a723e343886eb2c6cc72ee6da0cd682348b9', startIconName: "checkmark", onClick: () => console.log('Override Icon Clicked') }, index.h("span", { key: '225487c880b0560c85feedf2a523221c16a060a4', slot: "start" }, index.h("udp-fluent-icon", { key: '30818b05fea732e0f1b31b80b3e6084cdaa7730b', name: "home", size: "md" })), "Slotted icon override"))), index.h("div", { key: '1e4ff49d242a5004ce0a6a791b87bad29031f41e' }, index.h("h4", { key: '023fd429281c5a32a8bfc0639c21bd787cac4cec' }, "Compound Buttons"), index.h("div", { key: '36ed7d755e48da2aed6bc92039bada889c3fe16e', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-compound-button", { key: 'b77f297405663a619f66720cceffb23f4647d044', description: "Hello World", startIconName: "calendar" }, "Compound Button"), index.h("udp-compound-button", { key: '6448725f887c31598048c4aeb201691ff265cfb1', appearance: "primary", description: "With End Icon", endIconName: "delete" }, "Primary"), index.h("udp-compound-button", { key: '0aa8c0f5b5a88e1ccb0e17ac4c81a90a9c1f0148', description: "Custom Slot", size: "small", startIconName: "add", onClick: () => console.log('Compound Button Clicked') }, index.h("span", { key: '5b210a97be29245580c06cf65780b772b041e9af', slot: "description" }, "Slotted Description"), "Compound")), index.h("div", { key: '0b043566923a579446dd90494c271e8b3d8d7cb1', style: {
|
|
3744
3898
|
marginTop: '1rem',
|
|
3745
3899
|
display: 'flex',
|
|
3746
3900
|
gap: '1rem',
|
|
3747
3901
|
alignItems: 'center',
|
|
3748
|
-
} }, index.h("udp-fluent-switch", { key: '
|
|
3902
|
+
} }, index.h("udp-fluent-switch", { key: '1f9bd9a6f26b91f6f0c202268795e09e2e4085b3', checked: this.isButtonLoading, onValueChanged: e => (this.isButtonLoading = e.detail) }, "Toggle Loading"), index.h("udp-compound-button", { key: 'c2228a6313b6ab1bc67cf918ef5fcc7129518ade', description: "Click switch to load", endIconName: "add", loading: this.isButtonLoading, onClick: () => console.log('Compound Button Clicked') }, "Loading Test"))), index.h("div", { key: '83dfe5cedea8571d4d4a4555678eb946826fc9d9' }, index.h("h4", { key: 'b8ee8f9754b9f05c84e18b9ae0f7bdc1eaaf9d89' }, "Toggle Buttons"), index.h("div", { key: '0daab9dcbe8bc7f432aa02d29034dba41a915cbe', style: { display: 'flex', gap: '1rem', alignItems: 'center', flexWrap: 'wrap' } }, index.h("udp-fluent-toggle-button", { key: 'd91581c1f2464d7a8783c744d4ba0eca9d20f1ac' }, "Toggle Me"), index.h("udp-fluent-toggle-button", { key: '9085d33be727cb31ec7f108b31de1fbd99cf0984', pressed: true, disabled: true }, "Disabled Pressed"), index.h("udp-fluent-toggle-button", { key: '8399900975e4da964ef1d7f065f2ba502ff91f06' }, index.h("udp-fluent-icon", { key: '36c707a0784d4a88757e5e70e873ec220e930e89', name: "add", size: "sm", slot: "start" }), "Slotted icon"), index.h("udp-fluent-toggle-button", { key: 'b1149df5564afa0725b009781f504dc095553ddb', endIconName: "settings" }, "End Icon Prop"), index.h("udp-fluent-toggle-button", { key: '828b9a62c3d08bb9b031d1c89331115a95748b10', size: "small", startIconName: "add" }, "Small"), index.h("udp-fluent-toggle-button", { key: '104c41a27db9b5c248a5b511f4d4e82e228164bd', size: "large", endIconName: "delete" }, "Large"))), index.h("div", { key: 'eff1d230b3f2bee9912b00ededc6099c1d8e44c3' }, index.h("h4", { key: '6828bacec102844aebb46b2ce45a8f03e92e4825' }, "Icon Buttons (Dynamic Sizing)"), index.h("div", { key: 'c0909854029fce0a69d80555e1b5e4bcbe8672a5', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("div", { key: 'c6dfb90f97d8b348831873df72d3a97b705d3296', style: { display: 'flex', flexDirection: 'column', alignItems: 'center' } }, index.h("udp-fluent-icon-button", { key: '42b65c8e25c056191f8277ffb757af87f9555693', iconName: "settings", size: "small", appearance: "primary", ariaLabel: "Edit" }), index.h("span", { key: '55853919bf46b833d279f06c75116787c46a9306', style: { fontSize: '12px' } }, "Small (Subtle)")), index.h("div", { key: '9a02a59ac9b31c40744d1cbebef26cc6868d9011', style: { display: 'flex', flexDirection: 'column', alignItems: 'center' } }, index.h("udp-fluent-icon-button", { key: 'e593535362c923a89d68752f573a6167164766ee', iconName: "settings", size: "medium",
|
|
3749
3903
|
//appearance="primary"
|
|
3750
|
-
ariaLabel: "Delete" }), index.h("span", { key: '
|
|
3904
|
+
ariaLabel: "Delete" }), index.h("span", { key: '62ba6dca8eb4d9cf05cda63202288640f3e8ca03', style: { fontSize: '12px' } }, "Medium (Outline)")), index.h("div", { key: '9b3ea77d5a27f76c0ab3cd889a88ddd5df5670d1', style: { display: 'flex', flexDirection: 'column', alignItems: 'center' } }, index.h("udp-fluent-icon-button", { key: 'becb64bfc00f04641028bd003a2c8d85b4fe45b3', iconName: "settings", size: "large", appearance: "primary", ariaLabel: "Settings" }), index.h("span", { key: '40b066df359d985c3d4cf4d267cc234b7839cccc', style: { fontSize: '12px' } }, "Large (Transparent)")))), index.h("div", { key: 'a3d73356c5f6a761b51749ceb0af69ade68c0c0d' }, index.h("udp-loading-spinner", { key: 'c7b3ef842d657312d9ed54fddc92dbaf2941484e', size: "tiny", appearance: "primary" })))), index.h("udp-tab-panel", { key: '98fe08e5f1c3defe5750fc4ba15d1fec24659948', id: "inputs", activeTabId: this.currentTab }, index.h("div", { key: 'd93ec35deb139e305e7fefe13d7064482e41503b', style: { display: 'flex', gap: '1rem', flexDirection: 'column' } }, index.h("div", { key: '2da75c4ab7e4075cb3e814663033357bd066b8fe', style: {
|
|
3751
3905
|
padding: '1rem',
|
|
3752
3906
|
backgroundColor: 'var(--colorNeutralBackground3, #f5f5f5)',
|
|
3753
3907
|
borderRadius: '8px',
|
|
3754
3908
|
marginBottom: '1rem',
|
|
3755
|
-
} }, index.h("h3", { key: '
|
|
3909
|
+
} }, index.h("h3", { key: 'b4dc898ad916e48c59efb67f3c6907d78307c737', style: { margin: '0 0 1rem 0', fontSize: '16px', fontWeight: '600' } }, "Global Property Controls"), index.h("div", { key: 'b841b24ab293d35eed3bae9699b73466ab2bbecf', style: {
|
|
3756
3910
|
display: 'flex',
|
|
3757
3911
|
gap: '2rem',
|
|
3758
3912
|
flexWrap: 'wrap',
|
|
3759
3913
|
alignItems: 'flex-end',
|
|
3760
|
-
} }, index.h("udp-fluent-dropdown", { key: '
|
|
3914
|
+
} }, index.h("udp-fluent-dropdown", { key: 'f9d3a5dac07baad9a80b451b9517e25c8afd088e', label: "Appearance", value: this.inputControlAppearance, options: [
|
|
3761
3915
|
{ label: 'Outline', value: 'outline' },
|
|
3762
3916
|
{ label: 'Underline', value: 'underline' },
|
|
3763
3917
|
{ label: 'Filled Lighter', value: 'filled-lighter' },
|
|
3764
3918
|
{ label: 'Filled Darker', value: 'filled-darker' },
|
|
3765
|
-
], optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.inputControlAppearance = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '150px' } }), index.h("udp-fluent-dropdown", { key: '
|
|
3919
|
+
], optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.inputControlAppearance = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '150px' } }), index.h("udp-fluent-dropdown", { key: '63b81d904735f7f9ff50667aa2f09a0693f8033e', label: "Control Size", value: this.inputControlSize, options: [
|
|
3766
3920
|
{ label: 'Small', value: 'small' },
|
|
3767
3921
|
{ label: 'Medium', value: 'medium' },
|
|
3768
3922
|
{ label: 'Large', value: 'large' },
|
|
3769
|
-
], optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.inputControlSize = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '120px' } }), index.h("udp-fluent-switch", { key: '
|
|
3923
|
+
], optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.inputControlSize = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '120px' } }), index.h("udp-fluent-switch", { key: 'a6576c15b1e73976c3d8169cee3c58d9b2d00d3a', label: "Required", labelPosition: "after", checked: this.inputControlRequired, onValueChanged: (e) => (this.inputControlRequired = e.detail) }), index.h("udp-fluent-switch", { key: '9a66fd143dbc23a39a3a828632f15a370e91119b', label: "Disabled", labelPosition: "after", checked: this.inputControlDisabled, onValueChanged: (e) => (this.inputControlDisabled = e.detail) }), index.h("udp-fluent-switch", { key: '0b5a01386d1dd64f1bdc5e1a5e432cc806bf7181', label: "Readonly", labelPosition: "after", checked: this.inputControlReadonly, onValueChanged: (e) => (this.inputControlReadonly = e.detail) })), index.h("p", { key: '9a34e44de01b56bc9c7493c86b416ccfbbc701cb', style: {
|
|
3770
3924
|
margin: '0.75rem 0 0',
|
|
3771
3925
|
fontSize: '12px',
|
|
3772
3926
|
color: 'var(--colorNeutralForeground3)',
|
|
3773
|
-
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), index.h("udp-fluent-text-input", { key: '
|
|
3927
|
+
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), index.h("udp-fluent-text-input", { key: '0724f922b2b3a6d10114da0c182a9f231db977d7', label: "Text Input", placeholder: "Enter text...", required: this.inputControlRequired, disabled: this.inputControlDisabled, readonly: this.inputControlReadonly, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: "test" }), index.h("udp-fluent-text-input", { key: '525b5a4de7d706871935ba90c77986f59fcf04ea', label: "Email Input", type: "email", placeholder: "Enter email...", required: this.inputControlRequired, disabled: this.inputControlDisabled, readonly: this.inputControlReadonly, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: "test@gmail.com" }), index.h("udp-fluent-text-input", { key: '1ac123914d9eb385808bcbedf64bcdbd197c549f', label: "Number Input", type: "number", placeholder: "Enter number...", required: this.inputControlRequired, disabled: this.inputControlDisabled, readonly: this.inputControlReadonly, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: '123' }), index.h("udp-date-input", { key: 'c1453763513c55df34a03aac2c2a7496706fa652', label: "Date Input", required: this.inputControlRequired, disabled: this.inputControlDisabled, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: '2026-01-30' }), index.h("udp-date-time-input", { key: 'aba83d232b044c7f3f9171ca28ace5abd7233d85', label: "Date Time Input", required: this.inputControlRequired, disabled: this.inputControlDisabled, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: '2026-01-30T12:00:00' }), index.h("udp-time-input", { key: '27bc89b3155696e83b118d2ed8ab61f08b076a96', label: "Time Input", placeholder: "e.g. 2:30pm", hint: "Type any time or select from list", required: this.inputControlRequired, disabled: this.inputControlDisabled, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: '12:00' }), index.h("udp-textarea", { key: '641bb42692908269b2cfdc44e1269ed65105e534', label: "Textarea", placeholder: "Tell us about yourself...", autoResize: true, required: this.inputControlRequired, disabled: this.inputControlDisabled, readonly: this.inputControlReadonly, appearance: this.inputControlAppearance, controlSize: this.inputControlSize, value: 'test' }), index.h("udp-fluent-dropdown", { key: '8d0058ad096cae523a5263cee66d57b3b8872c5f', label: "Dropdown", placeholder: "Select an option...", appearance: this.inputControlAppearance, disabled: this.inputControlDisabled, optionValue: "value", optionLabel: "label", options: [
|
|
3774
3928
|
{ label: 'Option 1', value: 'option1' },
|
|
3775
3929
|
{ label: 'Option 2', value: 'option2' },
|
|
3776
3930
|
{ label: 'Option 3', value: 'option3' },
|
|
3777
|
-
], controlSize: this.inputControlSize, multiple: true }), index.h("udp-autocomplete", { key: '
|
|
3931
|
+
], controlSize: this.inputControlSize, multiple: true }), index.h("udp-autocomplete", { key: '894d2e93b16ebed8732d2d4e6a0334e321f995f3', label: "Autocomplete", placeholder: "Type to search...", appearance: this.inputControlAppearance, disabled: this.inputControlDisabled, optionValue: "value", optionLabel: "label", options: [
|
|
3778
3932
|
{ label: 'Apple', value: 'apple' },
|
|
3779
3933
|
{ label: 'Banana', value: 'banana' },
|
|
3780
3934
|
{ label: 'Cherry', value: 'cherry' },
|
|
3781
3935
|
{ label: 'Date', value: 'date' },
|
|
3782
3936
|
{ label: 'Elderberry', value: 'elderberry' },
|
|
3783
|
-
], controlSize: this.inputControlSize }), index.h("udp-fluent-checkbox", { key: '
|
|
3937
|
+
], controlSize: this.inputControlSize }), index.h("udp-fluent-checkbox", { key: 'ef6eb3466b1aa1b96ca6cd6189524c27c6e3b706', label: "Checkbox", hint: "Check me!", disabled: this.inputControlDisabled, controlSize: this.inputControlSize, checked: true }), index.h("udp-fluent-switch", { key: '31274a39f0943d490d3860262dbc52b1fe6fbf17', label: "Switch", labelPosition: "after", disabled: this.inputControlDisabled, checked: true }), index.h("udp-slider", { key: '7cf01b7cef255b95b90d991f7ceb78a526dfca0d', label: "Slider", min: "0", max: "100", hint: "Slide to adjust value", disabled: this.inputControlDisabled, value: '50' }), index.h("udp-fluent-radio-group", { key: 'fc7ba7593298b271a59003d51913ff5fcd29776b', label: "Radio Group", disabled: this.inputControlDisabled, items: [
|
|
3784
3938
|
{ label: 'Option A', value: 'a' },
|
|
3785
3939
|
{ label: 'Option B', value: 'b' },
|
|
3786
3940
|
{ label: 'Option C', value: 'c' },
|
|
3787
|
-
], value: "a" }))), index.h("udp-tab-panel", { key: '
|
|
3941
|
+
], value: "a" }))), index.h("udp-tab-panel", { key: '427ba740e0bda67ce681f276fff80004e01c7b70', id: "data-display", activeTabId: this.currentTab }, index.h("div", { key: 'b223f00292acd5e4aa5dc2d2011176e03584ad5f', style: { display: 'flex', flexDirection: 'column', gap: '3rem' } }, index.h("div", { key: '61acba2c575d4e9ccc6a066c67b2147310d592c9' }, index.h("h3", { key: '0d4de9c930122b49dc436e0f7f80b650233a57a3' }, "Tree Example - Animal Kingdom (Conservation Status)"), index.h("p", { key: '104647a88397d5731898b7f7b9645451361abbe4', style: { fontSize: '14px', color: '#6b7280', marginBottom: '1rem' } }, "Explore the animal kingdom with conservation status, population data, and more."), index.h("udp-tree", { key: '4e7eead9bd34ba07dcdb517bf05b215f1cd917f5', treeItems: this.animals, itemContent: "name", itemStart: "emoji", itemEnd: this.getStatusBadge, itemAside: this.getItemAside, size: "medium", appearance: "subtle" })), index.h("div", { key: '541900267da5839636dd3ec7be604c6a6618346a' }, index.h("h3", { key: '3107ad674ac6ed82c65bff93a1ff25c247561821' }, "Accordion Example"), index.h("udp-accordion", { key: 'ea848035b2bea574645a79770bfc3b58403ac987', items: [
|
|
3788
3942
|
{
|
|
3789
3943
|
id: 'simple',
|
|
3790
3944
|
label: 'Simple Item (Default)',
|
|
@@ -3819,29 +3973,29 @@ const TestComponentsPage = class {
|
|
|
3819
3973
|
id: 'complex-slotted',
|
|
3820
3974
|
// complex content provided via slots below
|
|
3821
3975
|
},
|
|
3822
|
-
] }, index.h("span", { key: '
|
|
3976
|
+
] }, index.h("span", { key: 'b293dc5ad22141a17f0daa8d2025b600aaa71219', slot: "complex-slotted-heading" }, index.h("div", { key: '04ca25db9d1ff6f8f13dd5af98e87e7653e6083d', style: { display: 'flex', alignItems: 'center', gap: '8px' } }, index.h("udp-fluent-icon", { key: '7c2e8310e4c8ccd8ad386371544bc2ddee4f714a', name: "star", size: "md" }), index.h("span", { key: '53fcc139f8ee333b92d2c9b110238df3e81af87c' }, "Complex Slotted Header"), index.h("udp-chip", { key: 'b86d4671321fb3a28f584b99d133f308f07a50e4', label: "New", color: "success", size: "small", variant: "filled" }))), index.h("div", { key: 'd55166dae52ea555d60219009a3ccf1ee6245b16', slot: "complex-slotted-content" }, index.h("p", { key: '14a5b1e390fbeb49e0f0d0790db689f98a41ae20' }, "This content uses slots for complete control.", index.h("br", { key: 'c0c209b1a008ab961b2ab3a1c71589dc8016d76a' }), index.h("span", { key: 'be0eb22a3d5e045937b2cd964268eab706b55e3e', style: { fontSize: '12px', color: 'gray' } }, "(Try adding buttons, forms, or any component here)")), index.h("div", { key: '60145308c39fb2183c89117608d821f2691e97b4', style: { marginTop: '8px' } }, index.h("udp-fluent-button", { key: '76a450113f06c7692b2e6136b23dbe8dd7ada886', size: "small" }, "Action A"), index.h("udp-fluent-button", { key: '1455f2b959f9d9bf3ca8e3695941b305bee5af1a', size: "small", appearance: "outline" }, "Action B"))))), index.h("div", { key: '4f9e90493f419fdfde7ca055999aef571761a510' }, index.h("h3", { key: 'd97eb71869e0b11f84e3a8d814002f59b06227c7' }, "Auto-Wrapping Tooltip"), index.h("udp-tooltip", { key: '83c289cc5f36271299ef9d8f61d904be88b5dc1f', positioning: "above", content: "This works with Shadow DOM!" }, index.h("udp-fluent-button", { key: 'b7c0b32c6521d89fea320f56584c6611e869b5b4' }, "Hover me"))), index.h("div", { key: 'cf88f8ec5cf2d5c8be2f1e580a426bb9bd67acbe' }, index.h("h3", { key: '7a03ebf8f41cceea1800a337f995366e72ec0762' }, "Message Bar Example"), index.h("div", { key: 'a025565aba4d4b55322b22e6ce8f96667570301f', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, index.h("udp-message-bar", { key: '3131b71f9477505cc457e96d30a731367a86b997', intent: "info" }, "This is an informational message bar."), index.h("udp-message-bar", { key: 'a90c9956ee7d175a49381ee841fdd1a84acae487', intent: "warning" }, "This is a warning message bar."), index.h("udp-message-bar", { key: '71611a976825895891e7f10a83df26a8500e8afe', intent: "error" }, "This is an error message bar with actions.", index.h("udp-fluent-button", { key: '707fc88a82e3eb2e146a8724c2665194129c661d', slot: "actions", appearance: "outline", size: "small" }, "Resolve")), this.showMessageBar && (index.h("udp-message-bar", { key: '602e3e21cb62943ce31519ffcab7f4f54f591908', intent: "success", shape: "square" }, "This is a success message bar (square).", index.h("udp-icon", { key: '3897610d71653c6c0a1b6766fadd97a72b0c2fff', iconName: "add", slot: "icon" }), index.h("udp-fluent-icon-button", { key: '59f336ff7cb614e6c2b290cedf55e981ffa6662b', iconName: "dismiss", shape: "circular", appearance: "subtle", ariaLabel: "Close drawer", onClick: () => (this.showMessageBar = false), slot: "dismiss" }))))), index.h("div", { key: 'fbfaf82357530e026c4dcd1d952d156aadb87576' }, index.h("h3", { key: 'f31df8dfc10cd27719f69b8250de352588331099' }, "Progress Bar Examples"), index.h("h4", { key: '7b1381d8edf48923dd13bc5a3c27dd9f59125815' }, "Indeterminate"), index.h("udp-progress-bar", { key: 'dd26fff71f944114879b248966ff1516302b6b0d', thickness: "large" }), index.h("h4", { key: '627a2f929fd6d9fb466d48569016cf2cf886d783' }, "Determinate (Success)"), index.h("udp-progress-bar", { key: 'e9c4f288dd57d28b24c90bde76bb491a70f4eab9', value: 75, validationState: "success", shape: "square" }), index.h("h4", { key: '9912afbf4201aece55e0cf0289f66a3ac86aa6eb' }, "Interactive"), index.h("div", { key: '1938522c06cd5e8f6f552bf13ca8225801723b80', style: {
|
|
3823
3977
|
display: 'flex',
|
|
3824
3978
|
gap: '1rem',
|
|
3825
3979
|
alignItems: 'center',
|
|
3826
3980
|
marginBottom: '1rem',
|
|
3827
|
-
} }, index.h("udp-fluent-text-input", { key: '
|
|
3981
|
+
} }, index.h("udp-fluent-text-input", { key: '3df4c2623e98df69785d01c265e4de113f20a64a', label: "Set Progress", type: "number", value: (_a = this.progressValue) === null || _a === void 0 ? void 0 : _a.toString(), onValueChanged: e => (this.progressValue = parseInt(e.detail)) })), index.h("udp-progress-bar", { key: 'b55a8fd6878a1d03c82d40252d7848a91acac68e', value: this.progressValue, min: 0, max: 100, shape: "square" })), index.h("div", { key: '3eff3c881432d18fac497cba8a55f2e8fcb9694e' }, index.h("h3", { key: 'b66b15e94e91dcce985c3e673496aa94ee289a38' }, "Divider Examples"), index.h("p", { key: 'f3af1b39de3d0fe9062a3636467502cd5efd5175' }, "Default Divider:"), index.h("udp-fluent-divider", { key: '1823cd7f805e29631c4361e40017c00d2fde9a8c' }), index.h("p", { key: 'b6da452ba9f3115fb4fd1bcf9121199365c30a0b' }, "Align Content:"), index.h("udp-fluent-divider", { key: 'a67064d2b219965afada496cd339f1203bed1f26', "align-content": "start" }, "Start"), index.h("udp-fluent-divider", { key: 'dcab9ac817fb1433fb015f3f2f53626ba17f4a65', "align-content": "center" }, "Center"), index.h("udp-fluent-divider", { key: '8b9a2c753c738dc02c695c4dfc4868cdf9dd5407', "align-content": "end" }, "End"), index.h("p", { key: 'b5e52009f220cad7778420361515aa4c48d2d3db' }, "Appearance:"), index.h("udp-fluent-divider", { key: '57de56b4a891adfae107817eb76adcfed1dd212c', appearance: "strong" }, index.h("udp-icon", { key: '6598ef60c585e7904746afebceb6d62e5e85aa15', iconName: "add" })), index.h("div", { key: 'a93ed6e22b3fd63d04453709ae483a0b64184328', style: { height: '10px' } }), index.h("udp-fluent-divider", { key: '2830f3a8b1a63aac9abface10651f9537661dc9b', appearance: "brand" }, "Brand"), index.h("div", { key: 'e2c0af007c43525cc97673ec4de22e3c9470ac18', style: { height: '10px' } }), index.h("udp-fluent-divider", { key: 'a3f4906181cd051b7762fd4e4cb5b4838c646b06', appearance: "subtle" }, "Subtle"), index.h("p", { key: 'a1c4e81fd9f755348a0201e00b4e6d6fc3dea33e' }, "Vertical Divider (inside flex container):"), index.h("div", { key: 'd0f2fd393428b0aab5f24bc18fbe5e3a01438bce', style: {
|
|
3828
3982
|
display: 'flex',
|
|
3829
3983
|
height: '50px',
|
|
3830
3984
|
alignItems: 'center',
|
|
3831
3985
|
border: '1px solid #ccc',
|
|
3832
3986
|
padding: '10px',
|
|
3833
|
-
} }, index.h("span", { key: 'd43cb08c6da292949264383ecef684e32e09912a' }, "Item 1"), index.h("udp-fluent-divider", { key: '61d4bf2aed17cedb8009a2521a88532c56b64d9d', orientation: "vertical" }), index.h("span", { key: '24f1059cabfc1f5db7ec2b98e77bab4b04f1fb15' }, "Item 2"), index.h("udp-fluent-divider", { key: 'c3c18e2b0312d39d8a22549911ad9e2fadc73c13', orientation: "vertical", appearance: "brand" }), index.h("span", { key: '9f1609256e4597b27924ecb92863eb433d788391' }, "Item 3"))), index.h("div", { key: 'f68c5a66dc8cf5c2f486d4d0d731357977ce6cd4' }, index.h("h3", { key: 'debb585aa06d4635e8d1998eb584b5c24ef54c0d' }, "Fluent Icon Examples"), index.h("p", { key: '975f8989ccb07e415dc2088d769df7b62e3426db' }, "Basic usage (new simplified API):"), index.h("div", { key: '686f4088d2e9e6503add2109ab1f2df46cb85f21', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: 'aed56dd499b6d5b6e228e5483703cef231a2ce6f', name: "add" }), index.h("udp-fluent-icon", { key: 'bfbfdb2e98061097b3df798ddfaa68207a6f6d43', name: "home" }), index.h("udp-fluent-icon", { key: 'cdd01adfab68495718168d1fe4f6b21bbce29780', name: "settings" })), index.h("p", { key: '0ba2c1bf006cc7d3be801f2358a62067026b5dce' }, "Colored:"), index.h("div", { key: '8831ef82381783e4174b39652e771873257fae77', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: '659dace3a984ba69aaf0f115a3b6d7ebb0be701c', name: "add", variant: "filled", color: "green" }), index.h("udp-fluent-icon", { key: '9c4610e31077186c39c9798ce81785ece9fe9528', name: "delete", color: "red" })), index.h("p", { key: '71bfae83244e04dff84c478017d726d221475fba' }, "Sizes (xs=16px, sm=20px, md=24px, lg=28px):"), index.h("div", { key: '6a6761593b7285871d9209f5cab1efbf09fe557e', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: '9e1c86fda60a91e580d59e622d56cd969f071692', name: "home", size: "xs" }), index.h("udp-fluent-icon", { key: 'cb66c43949304eed5f0ecc0382b107d00a64bfbe', name: "home", size: "sm" }), index.h("udp-fluent-icon", { key: '0a374f10278333c2afab645e4095de51ed7a8199', name: "home", size: "md" }), index.h("udp-fluent-icon", { key: '0c4a96c58bf3d577bff9cab4c3cf2b005caa163f', name: "home", size: "lg" })), index.h("p", { key: '9a80bdf6cc45db3252346b5c27b2b4659e319222' }, "Variants (regular vs filled):"), index.h("div", { key: '78de773acd96966c89cbf8787e1c4ecb5b89a88a', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: '20205dd01a29a528436c89e7059037b815bda7df', name: "star", variant: "regular", size: "lg" }), index.h("udp-fluent-icon", { key: '6cdfca2313d1dba058f8ff00c5a3bf5fa710f611', name: "star", variant: "filled", size: "lg", color: "gold" }))))), index.h("udp-tab-panel", { key: '475fe2dc26401a4ecb387a69d099d2c50894ea1f', id: "text", activeTabId: this.currentTab }, index.h("div", { key: '7d85cc5f49ce71c18250430fb3eda73c0529badc', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, index.h("h3", { key: '64d4d42a50970eeebcdc80aa01bdfbb3c1af35c7' }, "Text Component - All Variants"), index.h("div", { key: 'd40bbb8cfe80a6d4db2944866cca36c0bf45557b' }, index.h("h4", { key: 'c47d0d44699c82fc1ed10caed452551bb4631be5' }, "Display Variant"), index.h("udp-text", { key: '7a5cd8eee26f2c5dff0f999c222c112faf3d3e52', variant: "display" }, "Display Text (h1)")), index.h("div", { key: 'af889b1fd71493188f72139984ff6cd8c39779cd' }, index.h("h4", { key: '94166fd6578b33e7dbb72a7ca42fbebac4f87b15' }, "Large Title Variant"), index.h("udp-text", { key: '2348827d025a4fd5bce194216a98d803391e87ba', variant: "largeTitle" }, "Large Title Text (h2)")), index.h("div", { key: '5c1d5fe010388b1b7e75a002b80226e570a6ae11' }, index.h("h4", { key: '46130fb2df634bfa36c779c61804f196e2d46da5' }, "Title Variants"), index.h("udp-text", { key: '7b3720cb8460fb05e8af87ed08a0174ac8de9a74', variant: "title1" }, "Title 1 Text (h3)"), index.h("udp-text", { key: 'e5ddff64adbacc1cc649eb55b247b6ffeae28260', variant: "title2" }, "Title 2 Text (h4)"), index.h("udp-text", { key: '260154266561650fe467e23712b4b5ac3fdd6d41', variant: "title3" }, "Title 3 Text (h5)")), index.h("div", { key: '3256180559438413e6dac7611f1bea8b8dad08c4' }, index.h("h4", { key: '42ed450dff4b78c5d19b42b6e4bd68b09527092e' }, "Subtitle Variants"), index.h("udp-text", { key: 'c411d4856d4a954edf03670b1a4818016c7fe6a3', variant: "subtitle1" }, "Subtitle 1 Text (h6, medium weight)"), index.h("udp-text", { key: '5053869f4bcd663925d186b3d813973395935b4c', variant: "subtitle2" }, "Subtitle 2 Text (h6, semibold weight)")), index.h("div", { key: '851b82add76970bfeebaabd25f8ae41c07fa9183' }, index.h("h4", { key: '2797c6d5c098c6340cf40141dd65c09cacd49039' }, "Body Variants"), index.h("udp-text", { key: 'a3b6f23c2bf18a4723482eead9aa56bd2062fcb4', variant: "body1" }, "Body 1 Text (p) - This is the default variant. Lorem ipsum dolor sit amet, consectetur adipiscing elit."), index.h("udp-text", { key: '7b6d7a536b6424658c3f7c3b781bc23b48d46405', variant: "body1Strong" }, "Body 1 Strong - Semibold weight for emphasis."), index.h("udp-text", { key: 'f54c031d59a085c144e0405209d403caca3b06c2', variant: "body1Stronger" }, "Body 1 Stronger - Bold weight for strong emphasis."), index.h("udp-text", { key: 'cc5c74594b5c3ac58f29af5bd4702f021d4eaf51', variant: "body2" }, "Body 2 Text - Slightly larger than body1.")), index.h("div", { key: '05ee5349c7d65885048deaa71d5e648944c15338' }, index.h("h4", { key: '8e83f68dee1c82468936f564cc877b3bf7405955' }, "Caption Variants"), index.h("udp-text", { key: '876e735cc3c4d29da5fd4537183a66e992eaa8dd', variant: "caption1" }, "Caption 1 Text (span, inline)"), index.h("br", { key: '7da68d30f3ba6aa382924c55d73272e5094a9f69' }), index.h("udp-text", { key: '754f1e7298eff32a81c41e1cc80357aa98832305', variant: "caption1Strong" }, "Caption 1 Strong (semibold)"), index.h("br", { key: '1824f255860ebc89adf4035235459f0386919a7e' }), index.h("udp-text", { key: '8f2585fb6758dcc149107b79837e7768320a5e82', variant: "caption1Stronger" }, "Caption 1 Stronger (bold)"), index.h("br", { key: '6e59cc9b1680709254acba18dfb44c30d09eb4bc' }), index.h("udp-text", { key: 'dd4c97a854bb106dc0bae28f40edf242846eb4c5', variant: "caption2" }, "Caption 2 Text (span, inline, smaller)"), index.h("br", { key: '76a214249a05d28b926c35ba62ccece1d9d50690' }), index.h("udp-text", { key: 'bba4443afab06a62c56614a41fbe54199d1891aa', variant: "caption2Strong" }, "Caption 2 Strong (semibold)")), index.h("div", { key: 'b2c568a25d887730bdd23069baf6880a478601de' }, index.h("h4", { key: '27f78b39e479e5be4dfedd88a51590f2c42ca86c' }, "Text Alignment"), index.h("udp-text", { key: 'd96ca741cbbb686d10ba7d22f191f77c130c94b8', variant: "body1", align: "start" }, "Aligned to start"), index.h("udp-text", { key: '46198c4dd03b55f9c05efaa59d8ce013964fbf9f', variant: "body1", align: "center" }, "Centered text"), index.h("udp-text", { key: 'dfa426894fc0c0729fd87f1348eb0be1c472f37d', variant: "body1", align: "end" }, "Aligned to end")), index.h("div", { key: '3587ced045d4f6e1df0084024142685f7b498342' }, index.h("h4", { key: '398ec8a524f89839c23e002760778193ecec56e8' }, "Text Styling"), index.h("udp-text", { key: '9a117a82d99626af8458a77bbb98ec8284fd9dad', variant: "body1", italic: true }, "Italic text"), index.h("udp-text", { key: '925545b9dea10888f62ad111ef1c232f9c59abca', variant: "body1", underline: true }, "Underlined text"), index.h("udp-text", { key: '2f9392630cca9e6f21c6d4c7a2bb0572422f14bd', variant: "body1", strikethrough: true }, "Strikethrough text"), index.h("udp-text", { key: 'a22b97b2b370d3bb6681c8f0439d007a28f9ecfb', variant: "body1", weight: "bold" }, "Bold text")), index.h("div", { key: '5add46e633102a5e23af6700b5b58e4d552ad7d6' }, index.h("h4", { key: '2c236e578ababaa0c344d728cfa8aac4fdf87be5' }, "Custom Semantic Tags"), index.h("udp-text", { key: '2b41beb17675b2d716ade6b1be7e78f59b4289d9', as: "h1" }, "text as h1 element"), index.h("udp-text", { key: '7642e800b366aabd9fb9edb052c952b8b719572d', variant: "caption1", as: "p" }, "Caption text as paragraph")), index.h("div", { key: '566d5bb277050e064e76be97b8d4d65bcc19a943' }, index.h("h4", { key: '4826e7394d3e41378e970e1827bf0206fcabd228' }, "Font Variants"), index.h("udp-text", { key: '5d2a05fed4404dc98c3a155293e1af8c124b321f', variant: "body1", font: "base" }, "Base font (default)"), index.h("udp-text", { key: 'e575de350f6a914325d2e264a77beeb3f7290c68', variant: "body1", font: "numeric" }, "Numeric font: 1234567890"), index.h("udp-text", { key: '174ddf61c46c5c7c2304d90db115a2f7a34786ac', variant: "body1", font: "monospace" }, "Monospace font: const x = 42;")), index.h("div", { key: '8a21d3918a494ce94cb23190feba41cb4462d2e2' }, index.h("h4", { key: 'd604aeb9a422925db5a9cb0840555725113ecc79' }, "Size Override"), index.h("udp-text", { key: '9c255d15159427aeae519c55a09d0872c27ea91a', variant: "body1", size: "200" }, "Body variant with size 200"), index.h("udp-text", { key: 'aaec386cc7908157b9fa9c6b2e38bcd32ca6fddb', variant: "body1", size: "600" }, "Body variant with size 600"), index.h("udp-text", { key: '93b436b6c12260fbf0d3cdea6b40458edd9fd1e0', variant: "body1", size: "1000" }, "Body variant with size 1000")), index.h("div", { key: 'ec3ea61c3b9afb29aca56476e29672a1efe20c80' }, index.h("h4", { key: '32f10badc74f8578292b9f3414494a11a701255a' }, "Lists"), index.h("udp-text", { key: '936485bbc04ee89a963779ea6496e1acbc3addf2', variant: "body1", as: "ul" }, index.h("li", { key: '1ba15c6cb4683cad4e925ef031fe4caffc895461' }, "First list item"), index.h("li", { key: 'c29077e74f07b9bd6a33520c57cd7793aecfcc4b' }, "Second list item"), index.h("li", { key: '56ab6a4c3169d0438934c6a5aee6a8551512cbe9' }, "Third list item")), index.h("udp-text", { key: 'a42b5f2935887834f39a0493e24eabef97a0f8af', variant: "body1", as: "ol" }, index.h("li", { key: '801cdd91b75167767efa8f361886ec7bdb890684' }, "First ordered item"), index.h("li", { key: '7af26f5056b94b578324c87f7e4b2faebf72f828' }, "Second ordered item"), index.h("li", { key: 'c3e0098aa40ec799dc91e30e0341387a26c0772e' }, "Third ordered item"))))), index.h("udp-tab-panel", { key: '4de50bb2c797a99840763b31db2d818f8657a218', id: "menus", activeTabId: this.currentTab }, index.h("div", { key: '4aad42257a9d80063677d75760b977f288280f4f', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, index.h("div", { key: 'c023d0db148a9b6e259e771e9f48a53316c51e24' }, index.h("udp-fluent-menu", { key: '144617352207b6c142e34dc5ba56fb7c831f94c9', items: this.nestedMenuItems, label: "Nested Menu" })), index.h("div", { key: 'dff8da22e6f210550c696575716ad38b7d5b75eb' }, index.h("udp-fluent-menu", { key: '57b8036cb1550b0a0e89087be063b23865dfae34', items: this.sectionedMenuItems, label: "Sectioned Menu", endIconName: "add" })), index.h("div", { key: '1221fcd53881d4690436f156db1884a14b06ee55' }, index.h("udp-fluent-menu", { key: 'fbd2bf5eb57d58fc98777259d305a06099cba190', items: this.iconMenuItems, label: "Icons & Slots", startIconName: "grid_20_regular" }, index.h("div", { key: '83806aafbfe3f751056eee0d20775e43301ad343', slot: "slot-test-start", style: { color: 'magenta', fontSize: '20px' } }, "\u2605"), index.h("span", { key: 'f3eddb764c82398e42a0168bd145448dc8fc8287', slot: "slot-test-end", style: {
|
|
3987
|
+
} }, index.h("span", { key: 'edac259dd066fe189f0b8394931c4b317e972871' }, "Item 1"), index.h("udp-fluent-divider", { key: '11acefb1586149400aeb334c36df4b9ccd634ed9', orientation: "vertical" }), index.h("span", { key: '2c6b482cb4ff9afcf2b1ca162882fa62eb6cafa4' }, "Item 2"), index.h("udp-fluent-divider", { key: 'bf45c415d8c4844551eef05438187b4cfbfd7bfa', orientation: "vertical", appearance: "brand" }), index.h("span", { key: '8e1c84e0704775fdb7d90350c3ec10de36c3fa7e' }, "Item 3"))), index.h("div", { key: '5931c9ccb73b391fc9a44863942e7641b401d66d' }, index.h("h3", { key: '9c4ff2fc026011d75c536902224c606a666507b8' }, "Fluent Icon Examples"), index.h("p", { key: '1f239fc808ee5b66c8bcd5229b2884615ed4c402' }, "Basic usage (new simplified API):"), index.h("div", { key: '62cd1b4e61debe779800bfb1421b14f0e2d24556', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: 'a312bb419b6db066baf76e53f916b8800aa02eb9', name: "add" }), index.h("udp-fluent-icon", { key: '1872d19602f2bef468f8e66583125d34f8de05fd', name: "home" }), index.h("udp-fluent-icon", { key: 'a49688aa49d616e946ce446dc5e1ae6ffa56a9fb', name: "settings" })), index.h("p", { key: '9d576c323c7454ccaddaecdeda60e95ceb46aadd' }, "Colored:"), index.h("div", { key: 'eae249dae805b3c0c611a0260907e9a47da3d5cc', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: '6e02c5a9be36ccb65bbed876f3da7b76bcaf1be0', name: "add", variant: "filled", color: "green" }), index.h("udp-fluent-icon", { key: '8763e3caa9c59e60faba05fd18515a46873f586d', name: "delete", color: "red" })), index.h("p", { key: 'e1e9fcb3fe51dfe46193a99cb3966cd7017fc841' }, "Sizes (xs=16px, sm=20px, md=24px, lg=28px):"), index.h("div", { key: '334b1a4ef7035015c3514abb1337c44f15dbc0e4', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: '899068fe009da06c3bdbe94d8929e724373eeaeb', name: "home", size: "xs" }), index.h("udp-fluent-icon", { key: '110c3ab9bb3bf26e1a4ca2fbb7a2d35a92f6152e', name: "home", size: "sm" }), index.h("udp-fluent-icon", { key: 'a26a486f024e442824a50635cde50d3afbbd7407', name: "home", size: "md" }), index.h("udp-fluent-icon", { key: 'b3fce7a45257ebd656e8702c1ddad1ab9a9123f1', name: "home", size: "lg" })), index.h("p", { key: '89e3635b0d4d82e2911e9c2ce4e57d726f617735' }, "Variants (regular vs filled):"), index.h("div", { key: 'ac530a3609ae377f7a43486daf0098d6066c8c23', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, index.h("udp-fluent-icon", { key: '812f057c5478141143b5550e6c7f18aae811f83f', name: "star", variant: "regular", size: "lg" }), index.h("udp-fluent-icon", { key: '1797928f8e4928d4bce3b092e10427587db78c99', name: "star", variant: "filled", size: "lg", color: "gold" }))))), index.h("udp-tab-panel", { key: 'c814eecbaaf017a2f94763c0b3b6d142df9843ec', id: "text", activeTabId: this.currentTab }, index.h("div", { key: '9548f33977f37bf739bdfd25efb395f7e5c84e2c', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, index.h("h3", { key: '287a4919a0206fc50fa64f7f7a0039d16975a3b0' }, "Text Component - All Variants"), index.h("div", { key: 'dd61c14c355923a1f9f0b8c5d18a713d1a73b506' }, index.h("h4", { key: '449be2fff598b008064afd6e236cd4e853cc9fc1' }, "Display Variant"), index.h("udp-text", { key: '648c5323aae383e1c5de4ac88c9b23947692b6fb', variant: "display" }, "Display Text (h1)")), index.h("div", { key: '2a308e30ad2fd5d21a56706de5ce87548772394c' }, index.h("h4", { key: '5e2a9b9b0de2d9358d325f9b338d2c18d0105af9' }, "Large Title Variant"), index.h("udp-text", { key: '218452a3ea54a929e8ebc754ffe00a96f943db5b', variant: "largeTitle" }, "Large Title Text (h2)")), index.h("div", { key: '847354a7fcf18e96c60bbc03f6e7127866346246' }, index.h("h4", { key: '3789051ccf70ef9b0bd91db5ac8c5e17a062a904' }, "Title Variants"), index.h("udp-text", { key: '9df6e84b5ea5c981fc318c412910545c5eb427a1', variant: "title1" }, "Title 1 Text (h3)"), index.h("udp-text", { key: 'f1d1e225662f62c8ddf90c16082ee3170b887c42', variant: "title2" }, "Title 2 Text (h4)"), index.h("udp-text", { key: 'd3ede0c7263ef12e3e9188bbd9237b72bda85ae7', variant: "title3" }, "Title 3 Text (h5)")), index.h("div", { key: 'aeac71b14df38b344b3025e3831d61a1b8aff1d7' }, index.h("h4", { key: '56170c688648303413b35f6ff672837c8c5ad258' }, "Subtitle Variants"), index.h("udp-text", { key: '57b4bcac88fb429c2fb84c43dabe9e51d9404a80', variant: "subtitle1" }, "Subtitle 1 Text (h6, medium weight)"), index.h("udp-text", { key: 'da8e60676ccf61664d3bc559ca6b6b3a37de3ad7', variant: "subtitle2" }, "Subtitle 2 Text (h6, semibold weight)")), index.h("div", { key: 'f90979950200b4953d43af4f83c9f9199ee4caa3' }, index.h("h4", { key: 'cb33c29b56c1e14a576f120ba5b976e4ba2eb1d2' }, "Body Variants"), index.h("udp-text", { key: '0a9ceecd82b420f519a889a32037a43e123611f9', variant: "body1" }, "Body 1 Text (p) - This is the default variant. Lorem ipsum dolor sit amet, consectetur adipiscing elit."), index.h("udp-text", { key: '9edbbcda01ef9222604368dac4a95f78cce6c3b3', variant: "body1Strong" }, "Body 1 Strong - Semibold weight for emphasis."), index.h("udp-text", { key: '579591d4b135497ae9f5e3624ae4ed1d43c9c4af', variant: "body1Stronger" }, "Body 1 Stronger - Bold weight for strong emphasis."), index.h("udp-text", { key: 'd7564721f590543c2a76f9541f579f0f575de224', variant: "body2" }, "Body 2 Text - Slightly larger than body1.")), index.h("div", { key: 'af73b0b0fc9566208873f933f10929ad98fb1a7c' }, index.h("h4", { key: 'c0491e54a5072ea857ad156bb87193bff6cca3d9' }, "Caption Variants"), index.h("udp-text", { key: '2dbbf680cc918fa6b0e9a2910d61c4db06982205', variant: "caption1" }, "Caption 1 Text (span, inline)"), index.h("br", { key: 'b640560afe9d083d0fdd76f77fd7cda597da341f' }), index.h("udp-text", { key: 'b6377438aa067b929b0929f8eab4198ee26eee06', variant: "caption1Strong" }, "Caption 1 Strong (semibold)"), index.h("br", { key: 'efe45e9e426093d70e817592bc5abb9e81183fc1' }), index.h("udp-text", { key: '322a1dd73dbf487d82fe3f253cf41b68c5394c3c', variant: "caption1Stronger" }, "Caption 1 Stronger (bold)"), index.h("br", { key: '6c0d22621d1ff4923c015bca1df1377749618b4d' }), index.h("udp-text", { key: 'c9bc71957e19d6747678af636743cd0e87a00580', variant: "caption2" }, "Caption 2 Text (span, inline, smaller)"), index.h("br", { key: 'e7f5d20471a1e270d371a2a3677c8905ff2e8384' }), index.h("udp-text", { key: '7fdd0528041954e5717188b40695a8f6d98ec42e', variant: "caption2Strong" }, "Caption 2 Strong (semibold)")), index.h("div", { key: 'a9d262e2bad3d99835fb8c06670516291f9dfbef' }, index.h("h4", { key: 'b4b8bfe4966ae9ecff0effa6b4b260ec27df8c06' }, "Text Alignment"), index.h("udp-text", { key: 'c845a86f4848e343686ae6d0efa8285ed77832c6', variant: "body1", align: "start" }, "Aligned to start"), index.h("udp-text", { key: '9192fd7751fe894b908ed4d07f28b61e56a87648', variant: "body1", align: "center" }, "Centered text"), index.h("udp-text", { key: 'c3b732d5f26e525ea2e34f22842f88602e6c64f0', variant: "body1", align: "end" }, "Aligned to end")), index.h("div", { key: 'e038f400bdfd889e546e592b472e0b59d620f241' }, index.h("h4", { key: '7dcf356649a13309dded5e956928e0ac4acb6e66' }, "Text Styling"), index.h("udp-text", { key: 'b993d6ba552816744f4b9e172341065141275aa2', variant: "body1", italic: true }, "Italic text"), index.h("udp-text", { key: '0ddfce7559ce1c92767bf43c070059a968b57baf', variant: "body1", underline: true }, "Underlined text"), index.h("udp-text", { key: 'e06a582f2f93e92b19248aa7c5db6f86e9153ccf', variant: "body1", strikethrough: true }, "Strikethrough text"), index.h("udp-text", { key: 'e18d46babb3f4f1542db636322e19d157e98f1b5', variant: "body1", weight: "bold" }, "Bold text")), index.h("div", { key: 'd80f692ae8ed1beb225d188f1690c6b562f1f55c' }, index.h("h4", { key: 'e949248811870a1432a99a79b2eb512a83c8dd9e' }, "Custom Semantic Tags"), index.h("udp-text", { key: '81e10b3f5b1b75c0d2482dd4de3ff8659400f7b8', as: "h1" }, "text as h1 element"), index.h("udp-text", { key: '0e8612a406c0511ff386a1b4fd413404cbf3eabd', variant: "caption1", as: "p" }, "Caption text as paragraph")), index.h("div", { key: '718705df9e77fc85f3ffb1294f83b13e1d088e44' }, index.h("h4", { key: 'd9f0e5c103e0034096d473ce39356eb77bf9f250' }, "Font Variants"), index.h("udp-text", { key: '0f3ae3ba5204e49e46a52f1b70b7f3df0de03fb9', variant: "body1", font: "base" }, "Base font (default)"), index.h("udp-text", { key: 'f861f3fbc6410f53cee828b37b87e97eec3e310c', variant: "body1", font: "numeric" }, "Numeric font: 1234567890"), index.h("udp-text", { key: 'd6fb4a84fd85170480807b26e812aaf55e323fa2', variant: "body1", font: "monospace" }, "Monospace font: const x = 42;")), index.h("div", { key: 'f2b17e0b35dbb50494cfbf7d2b5f396c55075368' }, index.h("h4", { key: 'c11a6c81ae87ce94a7fe53acf4838a3a497985b9' }, "Size Override"), index.h("udp-text", { key: '6b20805a299f9278ec390ef493b4fde34e8e2b32', variant: "body1", size: "200" }, "Body variant with size 200"), index.h("udp-text", { key: '9c2bca0ae107e29822f84c82ae309bdce74a4cde', variant: "body1", size: "600" }, "Body variant with size 600"), index.h("udp-text", { key: '81b54060e4406e9066e8e4094812e32733f7fe4c', variant: "body1", size: "1000" }, "Body variant with size 1000")), index.h("div", { key: '925c1ef5da7b8d653440677d96094faea5e7bf0f' }, index.h("h4", { key: 'c2eb6034675dd4087d5bab2b8ba8b5e815d0a116' }, "Lists"), index.h("udp-text", { key: '6c2e23112f2e2f27adb6671005f8a0701a33ff51', variant: "body1", as: "ul" }, index.h("li", { key: '8012f87037f6b8b4bb8afa6c77873e94c1950479' }, "First list item"), index.h("li", { key: '196b86d4dc911d87501ee2495bda2ce3b34206d2' }, "Second list item"), index.h("li", { key: 'f831813c16cd6983da84a9a69c58aabdc607f31e' }, "Third list item")), index.h("udp-text", { key: 'b740fda3e771e7d43573960565763c6152333d15', variant: "body1", as: "ol" }, index.h("li", { key: '002fede92d5eab719f2a3c0f1d666bb27f8b64ff' }, "First ordered item"), index.h("li", { key: '06967635ce93bf421d88614ffe358400a8cd1ae8' }, "Second ordered item"), index.h("li", { key: '65ffbe713fce33858a6a3c3587fb294c4b789a6e' }, "Third ordered item"))))), index.h("udp-tab-panel", { key: '45a8f86297f7746b6435d755ec2c1133a436128b', id: "menus", activeTabId: this.currentTab }, index.h("div", { key: 'b40f2e023bf3846e8fefbb3592db0fa4d5c6d745', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, index.h("div", { key: '476bbf9e2a4fb3ce10ebe556340d8d4850aee024' }, index.h("udp-fluent-menu", { key: '1723b4834a9758edbcca81093e6a5cec97e4efe3', items: this.nestedMenuItems, label: "Nested Menu" })), index.h("div", { key: 'a1c3192768d8058a8a1be1e19b52a18d86381093' }, index.h("udp-fluent-menu", { key: 'a5d0d6d70526a2a080cfeb2586904048cf6e3360', items: this.sectionedMenuItems, label: "Sectioned Menu", endIconName: "add" })), index.h("div", { key: 'b10ebfa8165140c1c380c02362f0f5a3fd793594' }, index.h("udp-fluent-menu", { key: '591c03942f02cb218ab6f44e067cfafa52d9c6d9', items: this.iconMenuItems, label: "Icons & Slots", startIconName: "grid_20_regular" }, index.h("div", { key: '3c92bb02aaa63b4a24759bc9662b2ef2ac7bcf8a', slot: "slot-test-start", style: { color: 'magenta', fontSize: '20px' } }, "\u2605"), index.h("span", { key: '11886300c26eb91fa2797c6553a57a53031e4bd6', slot: "slot-test-end", style: {
|
|
3834
3988
|
backgroundColor: 'red',
|
|
3835
3989
|
color: 'white',
|
|
3836
3990
|
borderRadius: '4px',
|
|
3837
3991
|
padding: '2px 6px',
|
|
3838
3992
|
fontSize: '10px',
|
|
3839
|
-
} }, "NEW"), index.h("span", { key: '
|
|
3993
|
+
} }, "NEW"), index.h("span", { key: 'c960fbd09a173d404328e717c42fe5b0a8c46b0d', slot: "end-slot-item-end", style: { color: 'magenta', fontSize: '12px' } }, "Custom"))), index.h("div", { key: '2da0beeb4a9c68241943fb10ea1c3710826d3f39', style: {
|
|
3840
3994
|
display: 'flex',
|
|
3841
3995
|
justifyContent: 'flex-end',
|
|
3842
3996
|
border: '1px dashed #ccc',
|
|
3843
3997
|
padding: '1rem',
|
|
3844
|
-
} }, index.h("span", { key: '
|
|
3998
|
+
} }, index.h("span", { key: '1b1e4adc006e01d20a27cac25e6a8b994ba82d9f', style: { marginRight: 'auto' } }, "Menu Overflow Test (far right):"), index.h("udp-tooltip", { key: 'f6df39d6abbdb96ef92c7f0152f9bf38be3e26c0', positioning: "before", content: "More Options" }, index.h("udp-fluent-menu", { key: '973a34084b0f4b2254fea30ec4f960359011fcfa', items: this.radioMenuItems, onCheckedChange: e => console.log('Radio item changed:', e.detail), label: "Radio Groups", buttonType: "icon", endIconName: "more_horizontal_20_regular", shape: "circular", appearance: "transparent", openOnContext: true }))), index.h("div", { key: 'dc61a7b7d1616811692a04c5eaf06df4fba4a304' }, index.h("h3", { key: '3622f32ac45a44cdaef2f78015d196cf0a3ff035' }, "New Radio Group Example"), index.h("udp-fluent-menu", { key: 'd49ea7dc154f771e110625a9e470b435d6425e2a', items: this.newRadioGroupItems, label: "Select Option", onCheckedChange: e => console.log('New Radio Group Change:', e.detail) })), index.h("div", { key: '01a572e7669d29915c2a31646e966a7a632e0f91', style: { padding: '1rem', border: '1px dashed #ccc' } }, index.h("h3", { key: 'e57d303dcf0d97ee7e1aa14d844cd7009222edb1' }, "Menu at Bottom (Testing onClick handlers)"), index.h("udp-fluent-menu", { key: '7f681c90cc0639dd0dd36a2c4bea9b58dc404893', items: this.checkboxMenuItems, onCheckedChange: e => console.log('Checked changed:', e.detail), label: "Checkbox Groups", buttonType: "split", onPrimaryClick: () => console.log('Primary clicked'), shape: "circular" }, index.h("udp-icon", { key: '588c621f188b842489c3b18a31dd6c277ae3af55', slot: "start", iconName: "add" }))))), index.h("udp-tab-panel", { key: '21f5071b74f0a8aff41b6d8b9ddd21362b4ad55d', id: "grids", activeTabId: this.currentTab }, index.h("udp-lazy-loader", { key: 'd59277c8dfcec20c88e80c6f25e935f83aade4de', if: this.currentTab === 'grids', content: () => (index.h("client-side-grid", { columnDefs: [
|
|
3845
3999
|
{ field: 'make' },
|
|
3846
4000
|
{ field: 'model' },
|
|
3847
4001
|
{ field: 'price' },
|
|
@@ -3852,7 +4006,7 @@ const TestComponentsPage = class {
|
|
|
3852
4006
|
{ make: 'Toyota', model: 'Celica', price: 35000 },
|
|
3853
4007
|
{ make: 'Ford', model: 'Mondeo', price: 32000 },
|
|
3854
4008
|
{ make: 'Porsche', model: 'Boxster', price: 72000 },
|
|
3855
|
-
] })) })), index.h("udp-tab-panel", { key: '
|
|
4009
|
+
] })) })), index.h("udp-tab-panel", { key: 'd072ac55a895d68724cf9c360521cfbdcb8497cd', id: "dialogs", activeTabId: this.currentTab }, index.h("div", { key: 'f6f8b2c8b226cfae5b375de45b04c06e70fcb299' }, index.h("udp-fluent-button", { key: '320f3bdf11d5be775c161fdc342021b05ee776de', onClick: () => (this.dialogOpen = true) }, "Open Dialog"), index.h("udp-fluent-dialog", { key: '0d7ee1d853e9fdc8a0ba1a5a42748bb9423e122a', open: this.dialogOpen, dialogTitle: "Example Dialog", onDialogClose: () => (this.dialogOpen = false) }, index.h("div", { key: '1bbdabce37bcba2a226bff3f330026eb3a399e7d' }, "This is a simple dialog example."), index.h("udp-fluent-button", { key: 'dd243af764034a07797f45c1b34b9073696cddff', slot: "action", onClick: () => (this.dialogOpen = false) }, "Custom Close"), index.h("udp-fluent-button", { key: 'e3b1c9d1c1799bcbaa5caf46f4b63cf9d5b034f5', appearance: "primary", slot: "action" }, "Confirm")))), index.h("udp-tab-panel", { key: 'ddcb67e518150d69ac9251871c8b15cb917ff2de', id: "cards", activeTabId: this.currentTab }, index.h("div", { key: 'a1eb48bfda83a6cfca6e6f4e3cfcf83f18240ca9', style: { display: 'flex', flexDirection: 'column', gap: '2rem', padding: '1rem' } }, index.h("h3", { key: '461169f7cf01ee23606dd2cc44601fabd483b361' }, "Cards"), index.h("h4", { key: '91aa8e47e36345dc0dc499cfdee6d67fe024ae4a' }, "Basic & Outlined (Default)"), index.h("div", { key: '3d7854b88801d98cfeadb0f743263f554f2b7455', style: { display: 'flex', gap: '1rem', flexWrap: 'wrap' } }, index.h("udp-fluent-card", { key: 'e9f33aeb52b759035043fabebbf3becf814d0b79', appearance: "filled" }, index.h("div", { key: '6859d2de42d9bf306da61d8f91dfaa542d7c02ee', slot: "header" }, index.h("h3", { key: '31adc61d6095045bf26116f02d97bde5ace1a3a6', style: { margin: '0' } }, "Basic Card"), index.h("span", { key: '634a72d5e1ab6b1d17a6f3c5e6efa39c06cc7144', style: { fontSize: '12px', color: 'var(--colorNeutralForeground2)' } }, "This is a basic outlined card")), index.h("span", { key: '917c4f0d682971a6f5491073d1b5cd8961aa7aaf' }, "Card content goes here. The card handles its own slots for header, preview, and footer."))), index.h("h4", { key: '890e2e9624d48f9aa02456a4f825e59a12f67d16' }, "Elevated & Media"), index.h("div", { key: '166377ffd58547343d1bc9e57a77dd27f771d6f3', style: { display: 'flex', gap: '1rem', flexWrap: 'wrap' } }, index.h("udp-fluent-card", { key: '422b7aee00076d78708d84e7dd3d38ebbf223f51', appearance: "filled", interactive: true, label: "With shadow & interactive", subtitle: "This card uses the filled appearance and has a preview image." }, index.h("img", { key: '180f478de50268687c3f0f77bfe588a6415820bb', slot: "preview", src: "https://images.unsplash.com/photo-1557683316-973673baf926?w=600&h=400&fit=crop", alt: "Abstract gradient preview" }), index.h("span", { key: '953f2b2f4fd58f80f1a425c141bb749d930562ee' }, "Card content"), index.h("div", { key: 'e5fa6fb7027398f96e3d74e146e7ac5e7080d3c4', slot: "footer", style: { display: 'flex', gap: '8px' } }, index.h("udp-fluent-button", { key: '2bf45c4998ecd9c1bd03288b8fe6e08082a69778', size: "small" }, "Action 1"), index.h("udp-fluent-button", { key: '78c6315ae39d912322db0176b4df98fb5c2a7c1c', size: "small", appearance: "outline" }, "Action 2"))), index.h("udp-fluent-card", { key: '0911e2727a512ad10df9b1daa4be3b942b8b0ad7', appearance: "subtle", label: "Prop provided title", subtitle: "Prop provided subtitle" }, index.h("span", { key: 'b8397d19f2912285333e9c7d72931b61cbf6a097' }, "This card uses the subtle appearance. Good for lists or less emphasized content."), index.h("div", { key: '9629fdd63012d6959e9f7569b27285bcd1df0e24', slot: "footer" }, index.h("udp-fluent-button", { key: '3b564addf38bd6d47570f097dff2bfcd6752b0b7', appearance: "primary" }, "Dismiss"))), index.h("udp-fluent-card", { key: 'e3ca9abb75034ced782ce5e9a94b71b85e73daa6', appearance: "outline", label: "Card with Action", subtitle: "Header action example", width: "320px" }, index.h("udp-fluent-icon-button", { key: 'bcf92f6afc07cab0d821bccdc89df9ba31709cad', slot: "header-action", iconName: "more_horizontal_20_regular", appearance: "subtle", ariaLabel: "More options", onClick: () => console.log('More clicked') }), index.h("span", { key: 'cafd863e75fbd41ab5dbe51e17ceaaea3b43a9a6' }, "This card demonstrates the header-action slot with an icon button.")), index.h("udp-fluent-card", { key: 'ecdc47331393b92a8392d29a1f91b6e348cbabc9', appearance: "muted" }, index.h("h4", { key: '5b79bac8feff0b4a99d37ccb5fcb5268302e60d4', slot: "header", style: { margin: '0' } }, "Muted Card"), index.h("span", { key: 'e8f470940f5d1389b236b8618fd03fccdaaa4656' }, "Flat with subtle grey shading."))), index.h("h4", { key: '1a76d4ab9e63ab389deffbddf0279d7ec4b5b387' }, "Horizontal & Sized"), index.h("div", { key: '5009f9a003c493dbd116ec8e100331b232a581c4', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, index.h("udp-fluent-card", { key: 'd5abec3c66873b2c07b046eed5a130e7951cb818', orientation: "horizontal", width: "400px" }, index.h("div", { key: '54762e2245d60204ffe57661a466870131463c3a', slot: "preview", style: {
|
|
3856
4010
|
width: '80px',
|
|
3857
4011
|
height: '100%',
|
|
3858
4012
|
backgroundColor: 'var(--colorNeutralBackground3)',
|
|
@@ -3860,7 +4014,7 @@ const TestComponentsPage = class {
|
|
|
3860
4014
|
alignItems: 'center',
|
|
3861
4015
|
justifyContent: 'center',
|
|
3862
4016
|
fontSize: '24px',
|
|
3863
|
-
} }, "\uD83D\uDCF7"), index.h("div", { key: '
|
|
4017
|
+
} }, "\uD83D\uDCF7"), index.h("div", { key: 'e6417df08f6e797b775f1f826cc301384ba7c5ab', style: { display: 'flex', flexDirection: 'column', width: '100%' } }, index.h("div", { key: 'e446836ef65269e7295c5d4453b4ef807f22784f', slot: "header" }, index.h("h4", { key: '276430d9fbb2b91c7af80de51a424f2948b97051', style: { margin: '0' } }, "Horizontal Card")), index.h("span", { key: 'a475cfb8145dcbde666d7998cbea7b2725a17ddb' }, "Fixed 400px width."))), index.h("udp-fluent-card", { key: 'fb2b9bcb74170c1afbe41c698fa8d34afd8d62b4', width: "300px", appearance: "filled" }, index.h("div", { key: '391442658e74fc833896eb1a7b9c15f0498c8353', slot: "header", style: { display: 'flex', justifyContent: 'space-between' } }, index.h("span", { key: 'cc2870f1a66cdc51872bd09a7d3753e88f289f2f', style: { fontWeight: '600' } }, "Fixed Width User"), index.h("udp-fluent-icon", { key: 'cd7fd2869eadbc40affb71e8874ef0b0953a70d0', name: "person_20_regular" })), index.h("span", { key: '121f3d70203a40547e74fbf5ce51ee74af701800' }, "Fixed width (300px), auto height. Reduced padding is no longer controlled by a prop."))), index.h("h4", { key: 'e9aa72b490d18f03d2da4db8f5326b94022fcaf5' }, "Complex Interaction"), index.h("div", { key: '44b51205590ab6e918d6d1335d21f332a9678dc8', style: { display: 'flex', gap: '1rem', flexWrap: 'wrap' } }, index.h("udp-fluent-card", { key: 'bcb4676121f0efa8e3fc3bc72fa75528274624da', interactive: true, appearance: "outline", onClick: () => console.log('Card clicked'), style: { width: '280px' }, label: "John Doe", subtitle: "Software Engineer" }, index.h("div", { key: '2b21017c6a504a87d8e05d6916467fe78f83e9bc', style: {
|
|
3864
4018
|
width: '32px',
|
|
3865
4019
|
height: '32px',
|
|
3866
4020
|
borderRadius: '50%',
|
|
@@ -3869,39 +4023,39 @@ const TestComponentsPage = class {
|
|
|
3869
4023
|
display: 'flex',
|
|
3870
4024
|
alignItems: 'center',
|
|
3871
4025
|
justifyContent: 'center',
|
|
3872
|
-
}, slot: "header-start" }, "JD"), index.h("udp-fluent-icon-button", { key: '
|
|
4026
|
+
}, slot: "header-start" }, "JD"), index.h("udp-fluent-icon-button", { key: 'b6b181737dca9dc355e30118f6bebe3cd39e24df', iconName: "more", slot: "header-action", shape: "circular" }), index.h("udp-fluent-icon-button", { key: 'fe7f2fcea2442790c8d38432f745cac18a3b3ae7', iconName: "dismiss", slot: "header-action", shape: "circular" }), index.h("div", { key: 'fdefa72ea2e21d8d136074eff076ac80e2495f5c' }, "(div) Responsible for maintaining the core design system and ensuring accessibility compliance across all products."), index.h("udp-typography", { key: 'fe2503439308c8ff6c8b482dfcf7bc2a6ff1f839', variant: "body1" }, "(body1) Responsible for maintaining the core design system and ensuring accessibility compliance across all products."), index.h("udp-typography", { key: 'eb6c3a2302c1829bd6a5064b2c761feedcc73e56', variant: "body2" }, "(body2) Responsible for maintaining the core design system and ensuring accessibility compliance across all products."), index.h("udp-fluent-button", { key: 'ad400a8b16dcd9afba6101e21f9823e05f84f292', slot: "footer", appearance: "primary", size: "small", onClick: () => console.log('Profile clicked') }, "View Profile"), index.h("udp-fluent-button", { key: '3a376128950ba9f1e903e08cbe2d0b6672c9eed9', slot: "footer", appearance: "outline", size: "small", onClick: () => console.log('Help clicked') }, "Help Center"))), index.h("h4", { key: '62e3cd55c34372b31207849077f68fe52f505d1a' }, "Flex Layout (Grid System)"), index.h("div", { key: '7b7732b07c560e9c335d37988f629261427060b2', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, index.h("div", { key: 'cf317cf2d46c4913f32b89f6f735626fc86fd9d4', style: { display: 'flex', gap: '1rem' } }, index.h("div", { key: 'fa2cb998c3af9328f9a4514f14205bc05cc4e10b', style: { flex: '1' } }, index.h("udp-fluent-card", { key: 'b92d16435bf12dc28a1367b4178a929c2aa93a1d', width: "100%" }, index.h("div", { key: 'a71e539fb21f9db6926d27ccbc245327bb20209f', slot: "header" }, index.h("h3", { key: '487932c783e203d9c43faf3c8813c6169ff02c7e' }, "Card 1 (50%)")), index.h("span", { key: 'fe9785f487744313452a68032cd0532614fe9e8a' }, "Flex item 1"))), index.h("div", { key: 'eebcc81b1d791df23e5f083c29856b2a2a4577d2', style: { flex: '1' } }, index.h("udp-fluent-card", { key: 'ff21b574c807048a0528faafb5192474fbc89add', width: "100%" }, index.h("div", { key: 'bc7fd546fd2096a1b9b6af081802f695e0898e9d', slot: "header" }, index.h("h3", { key: 'da183cde85fd4594b13701a6f130c2c5d74df17a' }, "Card 2 (50%)")), index.h("span", { key: '9c6a4691ec6da5bd6ee01d80c74410c1a83c8784' }, "Flex item 2")))), index.h("div", { key: '9a4440fb03fcf52790890e31f3b9b69918c797f8', style: { display: 'flex', gap: '1rem' } }, index.h("div", { key: 'e42ef069016f8b9753cb62c1e8b573af206e6cf7', style: { flex: '1' } }, index.h("udp-fluent-card", { key: '8ab6f7fd934cf244090ba965c6f8bfc781941ee1', width: "100%" }, index.h("div", { key: 'a2dfabf37bf46d270f4536521f935fbe2847374c', slot: "header" }, index.h("h3", { key: '883ee64febef7cfc458595f9c0f15f3d65c73cdd' }, "Card 3 (33%)")), index.h("span", { key: '61710d86a7f61159207473447d272eaa75976d2b' }, "Flex item 3"))), index.h("div", { key: '24de91a517671c0ac3c4951e14f0fb8fb9cfdbe4', style: { flex: '1' } }, index.h("udp-fluent-card", { key: '130b5ba19bb9092fd5ae0499b217635be12efcb9', width: "100%" }, index.h("div", { key: 'b83c7aefaf6c42db9ece9b527887db45bc43ab23', slot: "header" }, index.h("h3", { key: 'b20663588aee611d4d16ac9218f63aa370fde181' }, "Card 4 (33%)")), index.h("span", { key: 'a8bd26feb67acdd36a4c67b611d32f00ca47df1e' }, "Flex item 4"))), index.h("div", { key: '838f03cbb2b945f7ef2df6c31122c563588a9df1', style: { flex: '1' } }, index.h("udp-fluent-card", { key: '5f595387f21d8d88f206e75e49b77b7ec9955cbb', width: "100%" }, index.h("div", { key: '807420f3ee09592a934055a28d0db0297d77ff4b', slot: "header" }, index.h("h3", { key: '1475a642682d98fa63d51fbe367c1ebd4807dc2b' }, "Card 5 (33%)")), index.h("span", { key: '87f571d9c1af0e93079965f7aeef8ee5ad0e6ad2' }, "Flex item 5"))))))), index.h("udp-tab-panel", { key: '964842e0b3a4cbd94b4141ffc25193858c50f572', id: "chips", activeTabId: this.currentTab }, index.h("div", { key: '225a4486d0dbf15cc276fe521329457eef489995', style: { padding: '24px', display: 'flex', flexDirection: 'column', gap: '24px' } }, index.h("h4", { key: '0e053d482db75c08a76942360b442b5cc02e7275' }, "Filled Chips"), index.h("div", { key: '146273935e944847f61b7f7697242beb81b4ebee', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, index.h("udp-chip", { key: 'e5b26f87b3657073aa8cb05bc1c00a38e507905f', label: "Basic Chip", variant: "filled", color: "gray" }), index.h("udp-chip", { key: 'eb81ec37f130f58205dc39755630be65e377e84d', label: "Primary", variant: "filled", color: "primary" }), index.h("udp-chip", { key: '9297a2d52de343c81f58a05cf200442b686fd861', label: "Success", variant: "filled", color: "success" }), index.h("udp-chip", { key: '33561994245752eefa5db500406dcf9e072da9cb', label: "Warning", variant: "filled", color: "warning" }), index.h("udp-chip", { key: '425e2c73aac1ecd247d8bfcc8e8f60ee093872a7', label: "Error", variant: "filled", color: "error" })), index.h("h4", { key: '1f69ade6d5667c0473c1e4a08ce23a4e34057eea' }, "Outlined Chips"), index.h("div", { key: 'e7b9b1b0d02ffadda37c8f26b68be0b0cbb7a47f', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, index.h("udp-chip", { key: 'fa9956e73eb95865d77e2078a883304a86b0043c', label: "Basic Chip", variant: "outlined", color: "gray" }), index.h("udp-chip", { key: '0ccd52c651712ce2118ce45a4c7c8b87df1f797a', label: "Primary", variant: "outlined", color: "primary" }), index.h("udp-chip", { key: '8b2cd4958fd6ca16283e3228c8feeacb6cc32749', label: "Success", variant: "outlined", color: "success" }), index.h("udp-chip", { key: '616ff6bf8d429eba85c9d987346190044f596adc', label: "Warning", variant: "outlined", color: "warning" }), index.h("udp-chip", { key: '73d44013707297d0c87183b20ca19af9e2801792', label: "Error", variant: "outlined", color: "error" })), index.h("h4", { key: '21679eca47c93fcfd82749b6f93c20182c10328d' }, "With Icons & Deletable"), index.h("div", { key: '8e04eb7665c057e16c077c9266e760416b34e8ae', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, index.h("udp-chip", { key: '019324e55e95daf7e34b29fe5feaa276ea5ab331', label: "Person", startIcon: "person_20_regular", variant: "filled", color: "primary" }), index.h("udp-chip", { key: 'b290714f8632c7d97b4754f58793dfc555c5d430', label: "Deletable", variant: "filled", color: "gray", deleteButton: true, onChipDelete: e => console.log('Delete:', e.detail) })), index.h("h4", { key: '2912f871b377eab23093a96d466714e882db71dd' }, "Sizes"), index.h("div", { key: 'c224045dea9ce3156e5dce880713663ed80ff95a', style: { display: 'flex', gap: '8px', flexWrap: 'wrap', alignItems: 'center' } }, index.h("udp-chip", { key: '7e7de92373b3e3682a7dffd131ce33f930ccdf6d', label: "Medium (Default)", size: "medium" }), index.h("udp-chip", { key: '134cb42babbb7a188a47f30ab874e59c82dc8127', label: "Small", size: "small" })))), index.h("udp-tab-panel", { key: '933e752eeb0c36241524250da23506476fa6bb8e', id: "forms", activeTabId: this.currentTab }, index.h("div", { key: '2ba7bb0419e5c853777e31df6ea97aabe7f1a634', style: {
|
|
3873
4027
|
padding: '24px',
|
|
3874
4028
|
display: 'flex',
|
|
3875
4029
|
flexDirection: 'column',
|
|
3876
4030
|
gap: '40px',
|
|
3877
|
-
} }, index.h("div", { key: '
|
|
4031
|
+
} }, index.h("div", { key: '51d0c22548068cd16dde401b1dd2985960bcdbf7' }, index.h("h3", { key: '317a643057a9f7492eaf222d6cdfe2754b7132e9' }, "1. Registry Pattern (Sidesheet)"), index.h("p", { key: '282ba59c491a7183e404c89b7e75a6627a388ae5' }, "Button in drawer footer auto-connects to form via ", index.h("code", { key: '688d73aa6abbc304d9d09bbffc3fc4a1801b48ad' }, "formId"), "."), index.h("div", { key: '4477b466e619006c756bf06dc5700b05fa8b3e67', style: { marginTop: '16px' } }, index.h("udp-fluent-button", { key: '6fdb069619d41d51188d0f9a443a196feda478af', appearance: "primary", onClick: () => (this.formDrawerOpen = true) }, "Open Registry Form Drawer"))), index.h("hr", { key: 'ab77230af7fae409ee61b02f4076a55d3ea251cf', style: { width: '100%', borderColor: '#eee' } }), index.h("div", { key: 'df957357cddcb06ec14059bdc626788c7c5a29a2' }, index.h("h3", { key: 'b288d29026d5e77818d70efaba78237114d53d1d' }, "2. Legacy Manual Wiring (Sidesheet)"), index.h("p", { key: 'bf0a674213e50d2bb977eb3338ddced5ea0ac02f' }, "Parent component manually listens to ", index.h("code", { key: '549bad703fc53ee90c8f79a20d17a36152323c75' }, "formReady"), ", tracks validity state, and calls ", index.h("code", { key: 'db3e33a99e57b9d187ce408a4eac0b1eb1ed36a8' }, "submit()"), "."), index.h("div", { key: '33bb525f130150e1eb9d020fd47207bcf5f86d34', style: { marginTop: '16px' } }, index.h("udp-fluent-button", { key: '11ebd23529b52a595cc65a73e5905bed1025ef10', appearance: "outline", onClick: () => (this.manualDrawerOpen = true) }, "Open Manual Form Drawer"))), index.h("hr", { key: '4c98e4dfe64624e47ce6af2fbeb68a54f12efc95', style: { width: '100%', borderColor: '#eee' } }), index.h("div", { key: 'bdd614c76561a4c1fcbdc1c4179d2d316b0d4653' }, index.h("h3", { key: '721d5c97dce29b5aaa068bc96a57d070d692887d' }, "3. Inline Form"), index.h("p", { key: 'fb803bfba8e806b66bdf4bf5b860d2f1497c224c' }, "Form embedded directly in the page. Uses registry pattern for the external submit button."), index.h("div", { key: 'e19f7098bff2e118913785b98a1acc35265fa3b7', style: { border: '1px solid #e0e0e0', padding: '24px', borderRadius: '8px' } }, index.h("div", { key: 'd501a205c2dbe5d1eb422871469333a96c76290e', style: { marginTop: '16px', display: 'flex', justifyContent: 'flex-end' } }, index.h("udp-fluent-button", { key: '16389d1465f8f774a86482db476cd01aedb48033', appearance: "primary", form: "inline-form", type: "reset" }, "Inline Reset")))))), index.h("udp-tab-panel", { key: 'c4031de01c0230a17465c7a38ed3d4ca5f586157', id: "calendar", activeTabId: this.currentTab }, index.h("div", { key: 'd57cfb3bd0f74781ed4f457b0ea2e99f871f29d8', style: {
|
|
3878
4032
|
padding: '24px',
|
|
3879
4033
|
display: 'flex',
|
|
3880
4034
|
flexDirection: 'column',
|
|
3881
4035
|
gap: '32px',
|
|
3882
|
-
} }, index.h("div", { key: '
|
|
4036
|
+
} }, index.h("div", { key: 'a76894d0c1a4ab636ac5030a92d0d467ce434ceb' }, index.h("h3", { key: 'ade00e11965d5bf44d760c61ee1a3866786efaed' }, "Date Range Selector (Fluent2 Styled)"), index.h("p", { key: '8ae9976cebc6f67cc1925dbf382a2af8195b36da', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '8px' } }, "Calendar component with month/year view navigation. Click the header to switch views.")), index.h("div", { key: '239cf3a6fe6ab428e22b7d23ba812cd0afd6c168', style: { display: 'flex', gap: '48px', flexWrap: 'wrap' } }, index.h("div", { key: '81aca047578c3d01e7223150175013a78b6e8455' }, index.h("h4", { key: '6c793499baf881f8c94c79515ac56155159b1ec3', style: { marginBottom: '8px' } }, "Single Date (sm)"), index.h("udp-date-range-selector", { key: 'b2086f99773ab591fb18fd010fe6e62cf1d5f77c', variant: "single", monthsToDisplay: 1, size: "sm", onChange: (e) => (this.singleDateValue = e.detail) }), index.h("p", { key: '9eac84f75eeff0b9f72f3771d3d5295d55b824ac', style: {
|
|
3883
4037
|
fontSize: '12px',
|
|
3884
4038
|
color: 'var(--colorNeutralForeground3)',
|
|
3885
4039
|
marginTop: '8px',
|
|
3886
|
-
} }, "Value: ", index.h("code", { key: '
|
|
4040
|
+
} }, "Value: ", index.h("code", { key: '0184d55348988efe295edb8b5dfee5f2d7d672c3' }, this.singleDateValue || '(none)'))), index.h("div", { key: 'aa95eca16d1aba0e493b7c9041ae495f60bd1d25' }, index.h("h4", { key: 'e425d6f78306c0fba452f44de5af7a7aa1d330b1', style: { marginBottom: '8px' } }, "Multi-Select (md)"), index.h("udp-date-range-selector", { key: 'c6b7b79e3c4e47a66758dab40bb1e99ba6297254', variant: "multi", monthsToDisplay: 1, size: "md", onChange: (e) => (this.multiDateValue = e.detail) }), index.h("p", { key: '572d9ed1a46ba24ad7ccea2f24e3c0ca49df47ac', style: {
|
|
3887
4041
|
fontSize: '12px',
|
|
3888
4042
|
color: 'var(--colorNeutralForeground3)',
|
|
3889
4043
|
marginTop: '8px',
|
|
3890
|
-
} }, "Value: ", index.h("code", { key: '
|
|
4044
|
+
} }, "Value: ", index.h("code", { key: '7cfe88f218a918facfd8da81c46ec1c7449627c4' }, this.multiDateValue || '(none)')))), index.h("div", { key: '9476e8b62b7ae1bf4903367d8924cea4e920956d' }, index.h("h4", { key: '93d113d30b3586a8c37c9076be4389022b851af7', style: { marginBottom: '8px' } }, "Date Range (lg, 2 months)"), index.h("udp-date-range-selector", { key: '268d3d1dbd6f23d6fb1179991098e36d1d82fb04', variant: "range", monthsToDisplay: 2, size: "lg", orientation: "horizontal", onChange: (e) => (this.rangeDateValue = e.detail) }), index.h("p", { key: 'a898c6cf04471f0110dd727580cd46dd279dc31e', style: {
|
|
3891
4045
|
fontSize: '12px',
|
|
3892
4046
|
color: 'var(--colorNeutralForeground3)',
|
|
3893
4047
|
marginTop: '8px',
|
|
3894
|
-
} }, "Value: ", index.h("code", { key: '
|
|
4048
|
+
} }, "Value: ", index.h("code", { key: '11cffef67620b25875d06854923eee4d88b32d85' }, this.rangeDateValue || '(none)'))), index.h("div", { key: '5d0c40e73a178845e0cfb32cc83b0cc750ea366b' }, index.h("h3", { key: 'ae8683c4ae2c7477e91777d9f1cbd24da1cfd76e', style: { marginTop: '16px' } }, "Date Picker (Native)"), index.h("p", { key: '14136a40f8a4e95ec3e70d9b0c0f8fc784c1bb08', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '16px' } }, "For simple single date selection, the native date input provides quick month/year navigation."), index.h("div", { key: '7afa9a2f0132bc34947498e93e56a9f30c7c1ba6', style: { display: 'flex', gap: '24px', flexWrap: 'wrap' } }, index.h("udp-date-input", { key: '0b279bd4ec5d320aeb903df77a8520b7403aa80d', label: "Date", appearance: "outline" }), index.h("udp-date-input", { key: '1e703deda9a5fcdabde2f8998349b2d696161c47', label: "Date & Time", appearance: "outline" }))), index.h("div", { key: 'da8cf4c84ec28c8330898f7b0b366c62a8e961a5' }, index.h("h3", { key: '13ad57ac22a9b8cbe4a03adc4ca6a77b20a1a59a', style: { marginTop: '24px' } }, "Popover Component"), index.h("p", { key: '090804cb882989f0689ebe86c09f25357549a142', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '16px' } }, "Generic popover using native Popover API and CSS Anchor Positioning."), index.h("div", { key: 'd514fcb39a2881c35684b03b9c75fd22c7b5a91d', style: {
|
|
3895
4049
|
display: 'flex',
|
|
3896
4050
|
gap: '24px',
|
|
3897
4051
|
flexWrap: 'wrap',
|
|
3898
4052
|
alignItems: 'flex-start',
|
|
3899
|
-
} }, index.h("udp-popover", { key: '
|
|
4053
|
+
} }, index.h("udp-popover", { key: 'baee48c3abd510ff7733b9a78b0821886b4bb93f', position: "bottom-start" }, index.h("udp-fluent-button", { key: '0c0ada95d79fcaec9e9dde8ced183ccd2bf21a93', slot: "trigger", appearance: "outline" }, "Open Popover"), index.h("div", { key: 'b673b02063a8bcdd0cc04d28325bbff7195cf556', slot: "content", style: { padding: '16px', minWidth: '200px' } }, index.h("p", { key: '7d1025ff5ce06e01432ae6cfbb6d16f1a217b344', style: { margin: '0 0 8px 0', fontWeight: '600' } }, "Popover Title"), index.h("p", { key: 'e58314795b4d5f2a0b4aba102291c5139ef19a75', style: { margin: '0', color: 'var(--colorNeutralForeground2)' } }, "This is popover content. Click outside to close."))), index.h("udp-popover", { key: '61a9929f8362d95205f807aca53fec33c1f9cb50', position: "bottom-start" }, index.h("udp-fluent-button", { key: 'b74ce625ae37a9ec5f5964097f40bf4e27540229', slot: "trigger", appearance: "primary", startIconName: "calendar" }, "Date Picker Popover"), index.h("div", { key: '016fb3bb20c191299f87e964821fa03514aff0c8', slot: "content", style: { padding: '8px' } }, index.h("udp-date-range-selector", { key: '1044c57d2c60f55c311fd0ec631c82b209e5b1e1', variant: "single", monthsToDisplay: 1, size: "sm" }))), index.h("udp-popover", { key: '1d1bbcf2096e19d550d902a53aee357796c8b7f8', position: "right" }, index.h("udp-fluent-button", { key: '196c84f90020b37a72829b54f38196c54f60ac0c', slot: "trigger", appearance: "subtle" }, "Right Position"), index.h("div", { key: '8652a1b86dbff41cc7f1e0aed16c0247a76759d0', slot: "content", style: { padding: '12px', minWidth: '150px' } }, "Positioned to the right")))))), index.h("udp-tab-panel", { key: '32224be4c12ba503698dfc4299489e1f850f8970', id: "popover", activeTabId: this.currentTab }, index.h("div", { key: 'df1923bc1f8d87d6d1dbc0e39d7313ade2f442f3', style: {
|
|
3900
4054
|
padding: '24px',
|
|
3901
4055
|
display: 'flex',
|
|
3902
4056
|
flexDirection: 'column',
|
|
3903
4057
|
gap: '32px',
|
|
3904
|
-
} }, index.h("div", { key: '
|
|
4058
|
+
} }, index.h("div", { key: 'de78599b62074890996a9f0b7106a2caf5e0a76b' }, index.h("h3", { key: 'fa5e1134c795219324a6c18c672ae00b153e8c16' }, "Popover Component"), index.h("p", { key: '349aab9138858af853addd096cbc0efba1058d02', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '8px' } }, "Generic popover using native Popover API with JavaScript positioning. Follows Fluent 2 Design System guidelines.")), index.h("div", { key: '0ec085fd6187abe25ef865493bd0d742860e14fb' }, index.h("h4", { key: 'abc70a93436f57ade92f1fede7760da9f08b10a6' }, "Basic Usage"), index.h("div", { key: '309cd090c58e89db45aacd97f45d4be364b71cc8', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, index.h("udp-popover", { key: '2389e4690bd6d0a5a8a969b701e6960df643abf2' }, index.h("udp-fluent-button", { key: '215847df3af948b28c26663ee6e8d591ffa721ad', slot: "trigger" }, "Default Popover"), index.h("div", { key: '15713b88dff46228c61ec60b655fd750cd825555', slot: "content" }, index.h("h4", { key: 'dc12ab74b240312f0ad4a93e15b6216e0d211d7e', style: { marginTop: '0px' } }, "Popover Title"), index.h("p", { key: 'c40374b77cd3c413c889b11243fff435d79e1410', style: { marginBottom: '0px' } }, "This is popover content. Click outside to close."))), index.h("udp-popover", { key: '49b591fe69268f355e783e2121ba0700565fbac7', position: "top" }, index.h("udp-fluent-button", { key: 'bcf771e569a713995342f381ce15d95805da0b31', slot: "trigger", appearance: "outline" }, "Top Position"), index.h("div", { key: '16f881adf8a80464e6493eb001a9b7c8530a598a', slot: "content" }, index.h("p", { key: 'c56be14ceb4b0b745b3d501828fcf81bb7959845', style: { margin: '0px' } }, "Positioned above the trigger"))), index.h("udp-popover", { key: '17429ce24610062761721adba1b0e1360d3435a0', position: "right" }, index.h("udp-fluent-button", { key: 'ea0c27b5ad3ef80e87b444ee516c1ab78061f7b5', slot: "trigger", appearance: "subtle" }, "Right Position"), index.h("div", { key: '0e31b7751096b3c21e1ba742c9128e58e78a977a', slot: "content" }, index.h("p", { key: '3b28a0e7fd294e958af0ae3f7ae611f6fd40ad39', style: { margin: '0px' } }, "Positioned to the right"))))), index.h("div", { key: 'f1b870262e56f2b7c0c6b62cad6c4ec1ee6bcea3' }, index.h("h4", { key: 'd08ed6b40a1a17ad446c5da47235a5a021a0ae87' }, "With Arrow"), index.h("p", { key: 'b0669021c90234a102a2758e2c85b6cf7d0a40c5', style: { fontSize: '14px', color: 'var(--colorNeutralForeground3)' } }, "Display an arrow pointing from the popover to the trigger."), index.h("div", { key: '148494b3afc0e4a4498e176de2f3f53f120377ab', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, index.h("udp-popover", { key: '71cd4042402d54503e10a0b3b778273a44708a86', "with-arrow": true }, index.h("udp-fluent-button", { key: 'afdb81992187c7e90a31775f91dd7c7602626550', slot: "trigger" }, "Default Arrow"), index.h("div", { key: 'e23966673d45422677b2f9d20e059f3eba15a86f', slot: "content" }, index.h("p", { key: 'dee67f67e84adb4224962db86eafb13006a73c5b', style: { margin: '0px' } }, "Popover with arrow"))), index.h("udp-popover", { key: '30397d03de10b21a857bc47bf5caf88349c2fb0a', "with-arrow": true }, index.h("udp-fluent-button", { key: 'f30d696cae00645eb9559cd199acc3666e51eeab', slot: "trigger", appearance: "primary" }, "Brand Arrow"), index.h("div", { key: 'cab059aeec07465c05ac1fe3fee9a3556516abb7', slot: "content" }, index.h("p", { key: '00dd51a1ea338445fa2b927632426e9b1a22af0e', style: { margin: '0px' } }, "Brand popover with arrow"))), index.h("udp-popover", { key: '27aca32e7bdbd3a90bd00c826c87ef4c8d0fe047', "with-arrow": true, position: "top" }, index.h("udp-fluent-button", { key: 'e0849cd9bd6b381ea93d1e11c9fae80dba62a394', slot: "trigger", appearance: "outline" }, "Top Arrow"), index.h("div", { key: 'd19a4b3097a7b74ca70522849035b0ff2c301c31', slot: "content" }, index.h("p", { key: '49c6eef9b0ba971942f85f544f4008262d485453', style: { margin: '0px' } }, "Arrow on top position"))))), index.h("div", { key: 'a2fba4fe01f12ce3ec791b940789b33fc58d2692' }, index.h("h4", { key: 'fb5d56e7b993789e46008144fe2408075d874120' }, "Size Constraints"), index.h("p", { key: 'ec6b9c33685c2c94c572342357e8a805c27c9e0a', style: { fontSize: '14px', color: 'var(--colorNeutralForeground3)' } }, "Optional max-width constraints. Without size, popover grows to fit content."), index.h("div", { key: 'd05cc708230095259f253846cbbac0a940a30160', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, index.h("udp-popover", { key: '12baa8d16f25afa6c3d28670f83c9eb5121d6c8a', size: "small" }, index.h("udp-fluent-button", { key: 'ab5016650f2d00ce84f97cf1e200d0615b42b8a0', slot: "trigger" }, "Small (320px)"), index.h("div", { key: 'c7c816bbe8137bdde9ff705886e0a7d6ee6f2c3c', slot: "content" }, index.h("p", { key: '79f129f1a55f1ed1f863b9c9b2513bc3bb167a15', style: { margin: '0px' } }, "This is a small popover with max-width of 320px. The content will wrap if it exceeds this width."))), index.h("udp-popover", { key: 'ee49c32415153273e4fdaa53729c0f5f7a364d84', size: "medium" }, index.h("udp-fluent-button", { key: '9070dd1f95a829200e6174fc835696bb63bcae29', slot: "trigger" }, "Medium (480px)"), index.h("div", { key: 'fb780656ef0e681cd2c8abf0ad79c8cb8aabf063', slot: "content" }, index.h("p", { key: '92109f351fe02b2d9e464119dcf28157d5900b6b', style: { margin: '0px' } }, "This is a medium popover with max-width of 480px. The content will wrap if it exceeds this width. This gives you more room for content."))), index.h("udp-popover", { key: '1312dae79483ae04cfe25cb94fafcb15b8a4ba41', size: "large" }, index.h("udp-fluent-button", { key: '5af2687fba9b0e61ae9ae9ad7c8c535795f6437f', slot: "trigger" }, "Large (640px)"), index.h("div", { key: '070844d44ac39ce22328507251a4b270a0402feb', slot: "content" }, index.h("p", { key: '447edcc4cdd8ea9cb18683cd84e9b4821a43008e', style: { margin: '0px' } }, "This is a large popover with max-width of 640px. This size is suitable for more complex content that needs additional space while still maintaining good readability and layout."))))), index.h("div", { key: '1106f68b226ad63b7a3205408207cdcb15457812' }, index.h("h4", { key: '98c88f79d70524359a9b8bf39907ac8c5bb1d5fb' }, "Trap Focus (Accessibility)"), index.h("p", { key: 'd0fcb4a98269e5db035986f9959807bada8b0bbe', style: { fontSize: '14px', color: 'var(--colorNeutralForeground3)' } }, "When trapFocus is enabled, keyboard navigation is restricted to the popover."), index.h("div", { key: '66c307a29bf5b3db9b20aa6d64d1e61e20e22e1b', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, index.h("udp-popover", { key: '327314e4256e88715247406857c0a3f60933a24f', trapFocus: true }, index.h("udp-fluent-button", { key: 'fb7482ef7a513c88c7372663aa3f293f729df544', slot: "trigger" }, "Trap Focus"), index.h("div", { key: '71219e293802ec5f6ea566374589bf6e4c5d26ef', slot: "content" }, index.h("h4", { key: '9b5e264fa3f88d1442740d1d66cbc1cea27d1717', style: { marginTop: '0px' } }, "Modal Popover"), index.h("p", { key: '2d156cdfef4194e95738ae4d5dd7777f7dca119a' }, "This popover traps focus. Press Escape to close."), index.h("div", { key: '828667f0ffcaa14848140c4307e9fffaa2a10c17', style: { display: 'flex', gap: '8px' } }, index.h("udp-fluent-button", { key: '87f7af81b74a38ea013151f37042159c7ba1ebd6', size: "small" }, "Action 1"), index.h("udp-fluent-button", { key: '0f94b6cc584004ce1fb5cb06418fab83a9bdf4aa', size: "small", appearance: "outline" }, "Action 2")))))), index.h("div", { key: '6e46b315c6fc725a62bd77cccbca3b73a4ee981e' }, index.h("h4", { key: '0e053b34f9ec82147ebb5d3887c891d7ce430a2a' }, "Advanced Examples"), index.h("div", { key: 'c56987b0cd19ad2186992deb806602ba7445fb45', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, index.h("udp-popover", { key: '73a88abe2fc9fe39bcbfaef4f9091356a25e0baa', position: "bottom-start", "with-arrow": true }, index.h("udp-fluent-button", { key: '95aa8157bcaf5d4e4676af8df62dd3417b3766cd', slot: "trigger", startIconName: "calendar" }, "Date Picker"), index.h("div", { key: 'fe3b48bace501833e82f23a98e2ceeff6a8617db', slot: "content", style: { padding: '8px' } }, index.h("udp-date-range-selector", { key: 'd24cf7f68d4d3e3eceb5915a170789994e70050b', variant: "single", monthsToDisplay: 1, size: "sm" }))), index.h("udp-popover", { key: 'adc83170b5fef6161a2b733cbc5a8117f1e4eb73', size: "medium", "with-arrow": true }, index.h("udp-fluent-button", { key: 'b2206fd4150be2f9ba62e821f56dbade81c257f6', slot: "trigger" }, "Rich Content"), index.h("div", { key: 'a533b23283097f5495d0151ee0f93b6890e21b77', slot: "content" }, index.h("h4", { key: '167daeb178d8cf35fb63b0f592cf5856667732d2', style: { marginTop: '0px' } }, "Feature Update"), index.h("p", { key: '68717bc1995273cb80a46bb080b0c17da85db066', style: { fontSize: '14px' } }, "New features are now available! Check out the latest updates to improve your workflow."), index.h("udp-fluent-button", { key: '384035590f4155351c85acb101db1a32b360a036', size: "small" }, "Learn More"))), index.h("udp-popover", { key: '8b78209e59153e19061b5aaae79a940b928d9898', "close-on-scroll": true }, index.h("udp-fluent-button", { key: 'ec078c2a75da1d260a1e0a351770a905a28506d6', slot: "trigger" }, "Closes on Scroll"), index.h("div", { key: '056b4561b2484838879632e49356dd495c52f089', slot: "content" }, index.h("p", { key: 'bd8e8442a9fab33b2790e065309cc1ba389e587b', style: { margin: '0px' } }, "This popover will close when you scroll the page."))))))))), index.h("udp-fluent-drawer", { key: '5ab4d3eb2cb6adba88ebd6800dd9cee4fad3103c', open: this.drawerOpen, onDrawerClose: () => (this.drawerOpen = false), drawerTitle: "Drawer Title" }, index.h("udp-lazy-loader", { key: '1b58126c058d478dec5bb7857208a70f201156af', if: this.drawerOpen, content: () => (index.h("div", null, index.h("client-side-grid", { columnDefs: [
|
|
3905
4059
|
{ field: 'name' },
|
|
3906
4060
|
{ field: 'age' },
|
|
3907
4061
|
{ field: 'name' },
|
|
@@ -3912,10 +4066,10 @@ const TestComponentsPage = class {
|
|
|
3912
4066
|
], rowData: [
|
|
3913
4067
|
{ name: 'John', age: 30 },
|
|
3914
4068
|
{ name: 'Jane', age: 25 },
|
|
3915
|
-
] }), index.h("udp-fluent-button", { onClick: () => (this.drawerOpen = false) }, "Close Drawer"))) })), index.h("udp-fluent-drawer", { key: '
|
|
4069
|
+
] }), index.h("udp-fluent-button", { onClick: () => (this.drawerOpen = false) }, "Close Drawer"))) })), index.h("udp-fluent-drawer", { key: '16f8cc6b49ca49a6c5fe94d593390bc8dc9e87fb', open: this.formDrawerOpen, onDrawerClose: () => (this.formDrawerOpen = false), drawerTitle: "Sample Form", size: "large" }, index.h("udp-lazy-loader", { key: 'bf77fd0dde42b809e56490881d4bc1e19790ab85', if: this.formDrawerOpen, content: () => (index.h("div", { style: { display: 'flex', flexDirection: 'column', gap: '16px' } }, index.h("div", { style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, index.h("udp-fluent-button", { appearance: "outline", onClick: () => (this.secondDrawerOpen = true) }, "Open Second Drawer")), index.h("test-form", { handleSubmit: this.handleSubmit, formId: "registry-drawer-form" }))) }), index.h("udp-fluent-button", { key: 'd40fca17c87c7e852a40037ea8b83d37c59490a9', appearance: "primary", slot: "footer", form: "registry-drawer-form", type: "submit" }, "Submit Form"), index.h("udp-fluent-button", { key: '99d6c6a9bb73b12c91838883c59aa2912f018228', slot: "footer", form: "registry-drawer-form", type: "reset" }, "Reset Form")), index.h("udp-fluent-drawer", { key: 'd70876c7815a09985c6d4631a80269c136d5dff5', open: this.manualDrawerOpen, onDrawerClose: () => (this.manualDrawerOpen = false), drawerTitle: "Form (Manual Wiring)" }, index.h("udp-lazy-loader", { key: 'cc72088e57ec6df26ffa5bb4d4f72e85bdcf82d2', if: this.manualDrawerOpen, content: () => (index.h("test-form", { handleSubmit: this.handleSubmit, onFormReady: this.handleManualFormReady })) }), index.h("udp-fluent-button", { key: '31c4e117a65db305d61f3ae71e9def3acfc90a9e', appearance: "primary", slot: "footer", disabled: !this.manualCanSubmit, onClick: () => {
|
|
3916
4070
|
var _a;
|
|
3917
4071
|
void ((_a = this.manualFormInstance) === null || _a === void 0 ? void 0 : _a.submit());
|
|
3918
|
-
} }, "Submit (Manual)")), index.h("udp-fluent-dialog", { key: '6e91bfbf10a4a59b2402b9f05120660c63c44d90', open: this.drawerDialogOpen, dialogTitle: "Dialog from Drawer", onDialogClose: () => (this.drawerDialogOpen = false) }, index.h("div", { key: '18fe4caa630af5608b5fe0c0c1906fcb3e8dde21' }, "This dialog was opened from inside the drawer!"), index.h("div", { key: '06d026bc00f77a39ed56158401c6a3f24a135b43' }, index.h("p", { key: '948fd274b6ccfc1dd9054ca5fe847c01698aeb08' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: '7c7c6188b1f6b4b369571294a75f50b7144d5bae' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."), index.h("p", { key: 'f4d699980a401fedd08a008ccaaa05d7ca75ec77' }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?")), index.h("udp-fluent-button", { key: '424fca6eff1e54482d534f79f6275a9ac987e227', slot: "action", onClick: () => (this.drawerDialogOpen = false) }, "Close"), index.h("udp-fluent-button", { key: 'e3b3a46858fced75ec9d78bc43ba36fe3a7e901b', appearance: "primary", slot: "action" }, "Confirm")), index.h("udp-fluent-drawer", { key: '0a71490cb540ddd1522728711dcf5909dd8fb476', open: this.secondDrawerOpen, onDrawerClose: () => (this.secondDrawerOpen = false), drawerTitle: "Second Drawer (Nested)", size: "medium" }, index.h("div", { key: '02531560c700d6f8237ddcebcdd35ace5d0be980', style: { display: 'flex', flexDirection: 'column', gap: '16px', padding: '16px' } }, index.h("p", { key: 'c9b78dd51cc3e400b36829c09888ec5407e48c79' }, "This is the second drawer opened from within the first drawer."), index.h("div", { key: '1748255209ec482caba90cb09d73e639732c03ca', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, index.h("udp-fluent-button", { key: '484b21b5decca82831b76372715e3cf27e5630d7', onClick: () => (this.secondDrawerDialogOpen = true) }, "Open Dialog from Second Drawer"), index.h("udp-fluent-button", { key: '8eb1fa3aa9b4003ddadbe13a09988e1d1ee69c04', appearance: "outline", onClick: () => (this.thirdDrawerOpen = true) }, "Open Third Drawer")), index.h("p", { key: '4d033f99253052638f864b9e445144c96ba00090' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: 'ab7f32ef65e5cdb8cf66db7cd870fb706a99a359' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."), index.h("p", { key: 'ee670f6f8eb81dafa98c852b8a04f7d5836640f0' }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), index.h("p", { key: '7965ed05e120de1aa394bf06d0a06f4c26ed7940' }, "At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus."), index.h("p", { key: '59b1f0c03f86820d992912edd9632bc246cb424b' }, "Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.")), index.h("udp-fluent-button", { key: 'f0df607d704b6725d1b7d7ae533e6022ffb48030', appearance: "primary", slot: "footer", onClick: () => (this.secondDrawerOpen = false) }, "Close Second Drawer")), index.h("udp-fluent-drawer", { key: '49ce5bf69407554af0afb54c73a383dcfa8f0ff4', open: this.thirdDrawerOpen, onDrawerClose: () => (this.thirdDrawerOpen = false), drawerTitle: "Third Drawer (Deeply Nested)", size: "small" }, index.h("div", { key: 'b8e4a2261454e8925caf9a6018da979289c8b64e', style: { padding: '16px' } }, index.h("p", { key: '8f2d09363caf7839c22224abc7bc3fd6a7620dd7' }, "This is the third drawer! Three levels deep."), index.h("p", { key: '4308f9a3dd95c3ddb795a5b280532fad0e6cacc2', style: { fontSize: '14px', color: 'var(--colorNeutralForeground2)' } }, "Testing the drawer stacking and body scroll lock mechanism with multiple drawers."), index.h("p", { key: 'ddd119ec511ba1f8fc4236e0bac17dc25e53ceba' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: '0e986c1c26ed959b8e60ed59459369de3e031637' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt."), index.h("p", { key: '7bf604344108dd6b2077b86f9a3b925eb207d80a' }, "Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?"), index.h("p", { key: '4e9dc2a920e812fa89301260d87367738a6124d6' }, "Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident."), index.h("p", { key: 'faa92795a3f62e74a5d44e0a2c71d2737b5a7780' }, "Similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.")), index.h("udp-fluent-button", { key: '557c1a937077116a1cca9f6adf17800ae6241d45', appearance: "primary", slot: "footer", onClick: () => (this.thirdDrawerOpen = false) }, "Close Third Drawer")), index.h("udp-fluent-dialog", { key: '52ac6502288ef85768adab10d51eb2ed57a130b4', open: this.secondDrawerDialogOpen, dialogTitle: "Dialog from Second Drawer", onDialogClose: () => (this.secondDrawerDialogOpen = false) }, index.h("div", { key: '9275c8a48f8931050548f59de768b7f7ac31afac' }, "This dialog was opened from the second drawer!"), index.h("p", { key: '26184721fdc978e13810ac9302d974fee615407d' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: '4f2111db30b582bf0e6bb2e68d63aca0315e7f9f' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."), index.h("p", { key: 'ddc8c99053b3d8865469c8dbfacd373c7e1f6d4b' }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), index.h("udp-fluent-button", { key: '05c9f1ee7f6a06f6ae13a5d2e101fce956555caf', slot: "action", onClick: () => (this.secondDrawerDialogOpen = false) }, "Close"), index.h("udp-fluent-button", { key: 'e6b0f28d91fd538601a3acb4ccac652bf2439a9e', appearance: "primary", slot: "action" }, "Confirm"))));
|
|
4072
|
+
} }, "Submit (Manual)")), index.h("udp-fluent-dialog", { key: 'f8c40ae3fe9e603f7b10f7465d071d99db4dd026', open: this.drawerDialogOpen, dialogTitle: "Dialog from Drawer", onDialogClose: () => (this.drawerDialogOpen = false) }, index.h("div", { key: '0bbfbaea2485b206d0c79ebaaa9b39b2d149d171' }, "This dialog was opened from inside the drawer!"), index.h("div", { key: 'fa6699d36a79136655fe71da769b6ee63ae5b4cc' }, index.h("p", { key: '972a6a4a5c3e650fd8fb6f9fd2213e75890f5ff2' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: 'ee0daa3e2f7b9c9b97cb6a1592ba5a6f2337c107' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."), index.h("p", { key: '89f1e118e34429c79cea4624c48bf0813dfd7890' }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?")), index.h("udp-fluent-button", { key: '7f5bdc86b1d37bb52f343be37bde7c81b547b0ee', slot: "action", onClick: () => (this.drawerDialogOpen = false) }, "Close"), index.h("udp-fluent-button", { key: '25be316897d60feedc8c12ff00b21f3adf073d31', appearance: "primary", slot: "action" }, "Confirm")), index.h("udp-fluent-drawer", { key: '62be21084f28613fe954ba943a0bb36a137c889c', open: this.secondDrawerOpen, onDrawerClose: () => (this.secondDrawerOpen = false), drawerTitle: "Second Drawer (Nested)", size: "medium" }, index.h("div", { key: '1923c71e9c7aca3a963d5d86183393c5eee60457', style: { display: 'flex', flexDirection: 'column', gap: '16px', padding: '16px' } }, index.h("p", { key: 'b13caa017a7f11d4b0a2c1042c47bf69699c950f' }, "This is the second drawer opened from within the first drawer."), index.h("div", { key: 'c5a39af6039317c3bf671a6ab9d21c7c3c54abfa', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, index.h("udp-fluent-button", { key: 'e4ccbe3179d8a26a6f6f169a9107a8924eec3cfc', onClick: () => (this.secondDrawerDialogOpen = true) }, "Open Dialog from Second Drawer"), index.h("udp-fluent-button", { key: 'ae2cba5361ac6d6240928172a72820e9da986f18', appearance: "outline", onClick: () => (this.thirdDrawerOpen = true) }, "Open Third Drawer")), index.h("p", { key: '4406f7255aa566c9eda9f3fdee78a1ac36910540' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: '9fc1c451b7f0ab489755c6db43334687a39fb6dd' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."), index.h("p", { key: '8fa89a3293677daf7c443584c12a0c793d941547' }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), index.h("p", { key: '3b7b60f24933474c2314da540929daf681b4b50e' }, "At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus."), index.h("p", { key: 'ef1228a69bf639931b4e0b5256e2377d7041bef9' }, "Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.")), index.h("udp-fluent-button", { key: '55b5f458a18d307a31cbb8ef009e06ff37bca9fe', appearance: "primary", slot: "footer", onClick: () => (this.secondDrawerOpen = false) }, "Close Second Drawer")), index.h("udp-fluent-drawer", { key: '78cb98deee2f37629a38eb330dfde513eae92524', open: this.thirdDrawerOpen, onDrawerClose: () => (this.thirdDrawerOpen = false), drawerTitle: "Third Drawer (Deeply Nested)", size: "small" }, index.h("div", { key: 'a2da7cf7abeeda0dfa00f1a84e1a70d840dfa82e', style: { padding: '16px' } }, index.h("p", { key: 'bca06e1eff9c54553810d20317c1973355077c32' }, "This is the third drawer! Three levels deep."), index.h("p", { key: '336986be66d7b3292cef84d186b7da6561badfdc', style: { fontSize: '14px', color: 'var(--colorNeutralForeground2)' } }, "Testing the drawer stacking and body scroll lock mechanism with multiple drawers."), index.h("p", { key: 'bc85d911652d7a31f6982d5e1e2d3bb71efaba07' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: '10c49ea595ad50691241d152f06b2307bf47b2e0' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt."), index.h("p", { key: 'e441232b860741a3a99c422de55768a4021fb4f0' }, "Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?"), index.h("p", { key: 'bc5f93574f0faf049126ea697b34a513e12c11f4' }, "Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident."), index.h("p", { key: 'a6e02ecb397559113a95ad99ce12966a42184089' }, "Similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.")), index.h("udp-fluent-button", { key: '375e5901be524643740d386044ed120fd11943e4', appearance: "primary", slot: "footer", onClick: () => (this.thirdDrawerOpen = false) }, "Close Third Drawer")), index.h("udp-fluent-dialog", { key: '6c77457252d669a8ee972e5726948182b95c8c45', open: this.secondDrawerDialogOpen, dialogTitle: "Dialog from Second Drawer", onDialogClose: () => (this.secondDrawerDialogOpen = false) }, index.h("div", { key: '76c7000aeba22fdfb8a8f6eaa195527ae2b8630f' }, "This dialog was opened from the second drawer!"), index.h("p", { key: 'cc87bef32a39e7b8629b50be195f9b4de611ee39' }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."), index.h("p", { key: 'd18f1e17b73346663c9c985c4b10f8c6c18ab7eb' }, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."), index.h("p", { key: '9e396ec3e757dd9df60d295b353bd55a31b9c83b' }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), index.h("udp-fluent-button", { key: '29b8576af3600d53647428317c68c500400fc1ec', slot: "action", onClick: () => (this.secondDrawerDialogOpen = false) }, "Close"), index.h("udp-fluent-button", { key: '4eff0e187aa08a7be9474c5f1d5a3191fbd5f477', appearance: "primary", slot: "action" }, "Confirm"))));
|
|
3919
4073
|
}
|
|
3920
4074
|
};
|
|
3921
4075
|
|
|
@@ -4034,17 +4188,17 @@ const TestForm = class {
|
|
|
4034
4188
|
{ label: 'Medium', value: 'medium' },
|
|
4035
4189
|
{ label: 'Large', value: 'large' },
|
|
4036
4190
|
];
|
|
4037
|
-
return (index.h("div", { key: '
|
|
4191
|
+
return (index.h("div", { key: 'c6e6d809a4fd13eb7ec368a642357592162c5fa0' }, index.h("udp-form-component", { key: '424a3cd1640f3708cef96c83ad524877675f7f25', formId: this.formId, validate: this.validateForm, onFormReady: this.handleFormReady, submitHandler: this.handleFormSubmit, initialValues: this.formData }, index.h("udp-flexbox", { key: '2d599867009ab61e17055ae72dad6e1564f7e640' }, index.h("udp-flexbox", { key: '8f9bd24d40df0d8276a9e7f46e63cc1e069f38f9', style: { display: 'none' } }, index.h("h3", { key: '9c97ac8b5c87d23f585da2e12b2a9f3d8b163572', style: { margin: '0 0 1rem 0', fontSize: '16px', fontWeight: '600' } }, "Global Property Controls"), index.h("udp-flexbox", { key: 'facb3e251a290c9e8f2692eccfe81d33031685db' }, index.h("udp-fluent-dropdown", { key: 'f45515b120641c778aabfd6a7c3d6da5b5a4186b', label: "Appearance", value: this.controlAppearance, options: appearanceOptions, optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.controlAppearance = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); } }), index.h("udp-fluent-dropdown", { key: 'd9c81f059030f3c98958fba989a60368433f8d24', label: "Control Size", value: this.controlSize, options: sizeOptions, optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.controlSize = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '120px' } }), index.h("udp-fluent-switch", { key: '387a5b4140ee3d06a5c8c9be36543f8c33fe9bee', label: "Required", labelPosition: "after", checked: this.controlRequired, onValueChanged: (e) => (this.controlRequired = e.detail) }), index.h("udp-fluent-switch", { key: 'b8f786ba864db234cc7ad4d49cc3e4d109136c79', label: "Disabled", labelPosition: "after", checked: this.controlDisabled, onValueChanged: (e) => (this.controlDisabled = e.detail) }), index.h("udp-fluent-switch", { key: '00c1255fec440be9960f10bff875472ec8fd56d3', label: "Readonly", labelPosition: "after", checked: this.controlReadonly, onValueChanged: (e) => (this.controlReadonly = e.detail) })), index.h("p", { key: 'aa934ac3cd01cdc1495d08d9c40eef96ce834b20', style: {
|
|
4038
4192
|
margin: '0.75rem 0 0',
|
|
4039
4193
|
fontSize: '12px',
|
|
4040
4194
|
color: 'var(--colorNeutralForeground3)',
|
|
4041
|
-
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), index.h("udp-field", { key: '
|
|
4195
|
+
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), index.h("udp-field", { key: 'c17c21fbefe603f36d15d51290ec587523d153d7', name: "searchText" }, index.h("udp-search-input", { key: '1a8b44c31c6446a93054cfc3b2289d90fa45f65f', disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize, placeholder: "Search for something...", includeErrorPadding: false })), index.h("udp-field", { key: '4b732d126aaf2a8a88f2a12234ed89c638b2bf46', name: "firstName" }, index.h("udp-fluent-text-input", { key: '09789e1c2d0d911760b6fd9fcfd3fcefd7a01a58', label: "First Name", required: true, disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize, placeholder: "Enter your first name", popupHint: "Enter your first name, this should appear above the input" })), index.h("div", { key: 'b74ec4d398e603a4639e6f5049d566336741511f', style: { display: 'flex', gap: '1rem', flexDirection: 'row', flex: '1' } }, index.h("udp-field", { key: 'e70b1c8424dea49214746cd9fa21b07d64f72157', name: "email" }, index.h("udp-fluent-text-input", { key: 'b407e3e4d28e38004772f93fd2fefb3f67ba4267', label: "Email Address", type: "email", value: "jordanatchison@univerus.com", required: true, disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize })), index.h("udp-field", { key: '132c98e1351aa76436928979deb0dd1b36051a98', name: "age" }, index.h("udp-fluent-text-input", { key: 'f5c46e2fa347f7a9f866512b8e3c363c0975c774', label: "Age", type: "number", required: true, disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize }))), index.h("udp-field", { key: 'b412fe407b3da67bfacfcd411bacbc31abe519a1', name: "birthday" }, index.h("udp-date-input", { key: '24a6aae2028a12b6818cbec1450aedaff56f457e', label: "Birthday", minDate: "2026-01-11", maxDate: "2026-01-22", dateSelectionType: "range", required: true, disabled: this.controlDisabled, appearance: this.controlAppearance, controlSize: this.controlSize })), index.h("udp-field", { key: 'f0cbb18c0062dd9a8cd2b8d4f2c1e308ae2e2818', name: "appointment" }, index.h("udp-date-time-input", { key: 'b80d8e632ba54643dc7483cf914ead91d8ebef0a', label: "Appointment (Combined Date/Time)", required: true, disabled: this.controlDisabled, appearance: this.controlAppearance, controlSize: this.controlSize })), index.h("div", { key: '267607b2fbb082198c6a197dce8ff15a07eb8062', style: { display: 'flex', gap: '1rem', flexDirection: 'row', flex: '1' } }, index.h("udp-field", { key: 'f998d23f7fc7d0d06047738699826517ec4472cd', name: "startTime" }, index.h("udp-time-input", { key: '74f315d29fb7efb3ee15fcd040271cfd31213163', label: "Start Time (Freeform)", placeholder: "e.g. 2:30pm", hint: "Type any time or select from list", required: true, disabled: this.controlDisabled, appearance: this.controlAppearance, controlSize: this.controlSize })), index.h("udp-field", { key: '990714e498d53620f7fca2c521b9475f26afd6db', name: "endTime", validate: () => 'always invalid' }, index.h("udp-time-input", { key: '31e4bc38e98bb5f24c4eeae00fa113645e1dd15a', label: "End Time", placeholder: "e.g. 5:30pm", minuteStep: 30, hint: "Type any time or select from list", required: true, disabled: this.controlDisabled, appearance: this.controlAppearance, controlSize: this.controlSize }))), index.h("udp-field", { key: '2fc2e23901c42df6070a380494abea6bf8064ebd', name: "bio" }, index.h("udp-textarea", { key: 'fcc5f40d64de802eb2d7cf0c698a62d24450c0c6', label: "Bio", placeholder: "Tell us about yourself", autoResize: true, required: true, disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize })), index.h("udp-field", { key: 'ca7537ad348d64a6681b396aa5d9abe0d47724b0', name: "exclamation", validate: mustHaveExclamation }, index.h("udp-fluent-text-input", { key: 'cd096e3cda6d49d0a4a201c0a929476d958089b8', label: "Exclamation", hint: "exclamation mark please", required: true, disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize })), index.h("udp-field", { key: '02944007b97b580a5c24dc2bc454c9ec189e64c6', name: "favoriteAnimal" }, index.h("udp-fluent-dropdown", { key: '95131b4299a17a8f1f3cd8bcf511b2d7fc7a0e1f', placeholder: "Select an animal", label: "Favorite Animal (Dropdown)", appearance: this.controlAppearance, disabled: this.controlDisabled, required: true, optionValue: 'value', optionLabel: (data) => data.label, options: animals, controlSize: this.controlSize })), index.h("udp-field", { key: '5b63c463a16f2f7c5f9fef52b0f753b3271fed98', name: "favoriteAnimalAutoComplete" }, index.h("udp-autocomplete", { key: 'ea28cd7c71aa9477616c3ed041f2c6512c79a682', placeholder: "Select an animal", label: "Favorite Animal", appearance: this.controlAppearance, disabled: this.controlDisabled, required: true, optionValue: 'value', optionLabel: (data) => data.label,
|
|
4042
4196
|
// multiple={true}
|
|
4043
|
-
options: animals, controlSize: this.controlSize, popupHint: "Select an animal" })), index.h("udp-field", { key: '
|
|
4197
|
+
options: animals, controlSize: this.controlSize, popupHint: "Select an animal" })), index.h("udp-field", { key: 'a749e30627ab697fc70517f9f053b800bab14fe2', name: "serverSideUser" }, index.h("udp-autocomplete", { key: '6d14b83a9df1bed3bd13ad0dad407a6706f9bf59', required: true, placeholder: "Search for an actor...", label: "Server Side Actor", appearance: this.controlAppearance, disabled: this.controlDisabled, optionValue: "id", optionLabel: (option) => option.firstName + ' ' + option.lastName, searchFunction: this.searchFunction, controlSize: this.controlSize, multiple: true })), index.h("udp-field", { key: 'b8abcc83141d13b34085d46c565b8cbb9e2f5d33', name: "newsletter" }, index.h("udp-fluent-checkbox", { key: '7c965a5144cc66ac62c9f453d06724f2a6d68d48', label: "Subscribe to newsletter", hint: "We will only send you emails about important updates", disabled: this.controlDisabled, controlSize: this.controlSize })), index.h("udp-field", { key: '8ee065a692f9230947c61c639acdaae3b1d86487', name: "commitment" }, index.h("udp-slider", { key: 'd82a4fd9a7e831a6b983c019fbd660db2137b1f7', label: "Commitment Level", disabled: this.controlDisabled })), index.h("udp-field", { key: '9c01e58c058f16f41a487aba135171cbeb1c45d3', name: "active" }, index.h("udp-fluent-switch", { key: '2beef446b71cfaec3c5f9316711bf4a890e31dd0', label: "Active", labelPosition: "after", disabled: this.controlDisabled })), index.h("udp-field", { key: '86bef830811cc3117471a15f96b9b70ad8fc5c6d', name: "favoriteColor" }, index.h("udp-fluent-radio-group", { key: '799dfdd88cae4864a5af036bb2a3aad3f4c9a7b9', label: "Favorite Colo", disabled: this.controlDisabled, hint: "Favorite Color", items: [
|
|
4044
4198
|
{ label: 'Red', value: 'red' },
|
|
4045
4199
|
{ label: 'Green', value: 'green' },
|
|
4046
4200
|
{ label: 'Blue', value: 'blue' },
|
|
4047
|
-
] })), index.h("udp-field", { key: '
|
|
4201
|
+
] })), index.h("udp-field", { key: 'cb67abc051814e423cddfeb72ae2cf2ef7a96a3e', name: "swatchColor" }, index.h("udp-swatch-picker", { key: 'd3faa7b07f5381a126c77788707d2bd4f88ed8fc', label: "Pick a Color (Swatch)", hint: "Pick a color", swatches: colorSwatches, layout: "row", shape: "square", size: this.controlSize === 'small'
|
|
4048
4202
|
? 'small'
|
|
4049
4203
|
: this.controlSize === 'large'
|
|
4050
4204
|
? 'large'
|
|
@@ -4052,7 +4206,7 @@ const TestForm = class {
|
|
|
4052
4206
|
}
|
|
4053
4207
|
};
|
|
4054
4208
|
|
|
4055
|
-
const udpAccordionCss = () => `:host{color:var(--colorNeutralForeground1)}`;
|
|
4209
|
+
const udpAccordionCss = () => `:host{color:var(--colorNeutralForeground1)}:host(.appearance-contained) fluent-accordion{gap:var(--spacingVerticalS)}:host(.appearance-contained) fluent-accordion-item{display:block;max-width:100%;background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke2);border-radius:var(--borderRadiusMedium);box-sizing:border-box}:host(.appearance-contained) fluent-accordion-item::part(heading){height:52px;padding-inline:var(--spacingHorizontalM) var(--spacingHorizontalS);font-weight:var(--fontWeightSemibold);border-radius:var(--borderRadiusMedium)}:host(.appearance-contained) fluent-accordion-item::part(button){height:52px;font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase400);line-height:var(--lineHeightBase400)}:host(.appearance-contained) fluent-accordion-item::part(content){margin:0;padding:var(--spacingHorizontalM) var(--spacingHorizontalM);border-top:1px solid var(--colorNeutralStroke2)}`;
|
|
4056
4210
|
|
|
4057
4211
|
const UdpAccordion = class {
|
|
4058
4212
|
constructor(hostRef) {
|
|
@@ -4062,6 +4216,12 @@ const UdpAccordion = class {
|
|
|
4062
4216
|
* The expand mode of the accordion.
|
|
4063
4217
|
*/
|
|
4064
4218
|
this.expandmode = 'multi';
|
|
4219
|
+
/**
|
|
4220
|
+
* Visual variant.
|
|
4221
|
+
* - `subtle`: default Fluent appearance, no chrome around items.
|
|
4222
|
+
* - `contained`: each item rendered as a stacked card with a neutral border.
|
|
4223
|
+
*/
|
|
4224
|
+
this.appearance = 'subtle';
|
|
4065
4225
|
/**
|
|
4066
4226
|
* The list of items to generate accordion items for.
|
|
4067
4227
|
*/
|
|
@@ -4072,9 +4232,9 @@ const UdpAccordion = class {
|
|
|
4072
4232
|
};
|
|
4073
4233
|
}
|
|
4074
4234
|
render() {
|
|
4075
|
-
return (index.h(index.Host, { key: '
|
|
4235
|
+
return (index.h(index.Host, { key: '52d6c8c4724465a67067e28923ae5a5794bf2caf', class: `appearance-${this.appearance}` }, index.h("fluent-accordion", { key: '1c23f304578f5419696f0cd39ca8d07aedc8e731', "expand-mode": this.expandmode, onChange: this.handleChange }, this.items
|
|
4076
4236
|
.filter(item => !item.hide)
|
|
4077
|
-
.map(item => (index.h("fluent-accordion-item", { key: item.id, value: item.id, "heading-level": item.headinglevel, expanded: item.expanded, disabled: item.disabled, size: item.size, block: item.block }, item.label && index.h("
|
|
4237
|
+
.map(item => (index.h("fluent-accordion-item", { key: item.id, value: item.id, "heading-level": item.headinglevel, expanded: item.expanded, disabled: item.disabled, size: item.size, block: item.block }, item.label && (index.h("udp-text", { slot: "heading", variant: "subtitle2" }, item.label)), index.h("slot", { name: `${item.id}-heading`, slot: "heading" }), item.content && index.h("div", null, item.content), index.h("slot", { name: `${item.id}-content` })))))));
|
|
4078
4238
|
}
|
|
4079
4239
|
get el() { return index.getElement(this); }
|
|
4080
4240
|
};
|
|
@@ -4163,9 +4323,9 @@ const UdpAmbientToolTip = class {
|
|
|
4163
4323
|
render() {
|
|
4164
4324
|
// Check if content is provided before rendering the tooltip content.
|
|
4165
4325
|
const shouldDisplayTooltip = !!this.isVisible && !!this.content && this.content.trim() !== '';
|
|
4166
|
-
return (index.h("div", { key: '
|
|
4326
|
+
return (index.h("div", { key: '76f07afee67d7d07767b854b3e0b468039a34bd1', class: "tooltip-wrapper", ref: el => (this.wrapperEl = el), onMouseOver: this.showTooltip, onMouseOut: this.hideTooltip }, index.h("slot", { key: '622ab4acb4012503be164ea4ddd213937cbc71e6' }), shouldDisplayTooltip && (
|
|
4167
4327
|
// STEP 4: Use the global class name we defined in our style string.
|
|
4168
|
-
index.h("div", { key: '
|
|
4328
|
+
index.h("div", { key: '99299569d0be029b26f4ae01cf591a370a0687dd', class: "udp-tooltip-portal", role: "tooltip", ref: el => (this.tooltipContentEl = el) }, index.h("unity-typography", { key: '113b439042c660a909bbcbdcc4a6c507d82716d7', variant: "caption-text" }, this.content)))));
|
|
4169
4329
|
}
|
|
4170
4330
|
};
|
|
4171
4331
|
UdpAmbientToolTip.style = udpAmbientToolTipCss();
|
|
@@ -4845,10 +5005,10 @@ const UdpAutocomplete = class {
|
|
|
4845
5005
|
? this.resolveProp(overlayOption, this.optionLabel, true)
|
|
4846
5006
|
: null;
|
|
4847
5007
|
const overlayBadges = overlayOption ? this.getOptionBadges(overlayOption) : [];
|
|
4848
|
-
return (index.h(index.Host, { key: '
|
|
5008
|
+
return (index.h(index.Host, { key: 'bdd6e4c3ad961ba652d54dbc00668bee328b0546', class: { 'has-error': hasError } }, index.h("fluent-field", { key: 'b24aaf3c3005370cb1dd636adb6250d3c333bb97', class: {
|
|
4849
5009
|
'no-label': !this.label && !this.multiple,
|
|
4850
5010
|
'no-message': !message && !this.includeErrorPadding,
|
|
4851
|
-
} }, index.h("div", { key: '
|
|
5011
|
+
} }, index.h("div", { key: '5cd182b709221373a5fa29bdf39d094d56a7ed6f', class: "label-content", onClick: () => this.handleTogglePopover(false), slot: "label" }, this.label && (index.h("fluent-label", { key: 'df28434aea16836eff7b87efecf79b0df221dcd6', disabled: this.disabled, style: { paddingTop: '2px', paddingBottom: '2px' } }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '99a915b4dc310278a4305e1b6d8baa01b20c1e18', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: 'e994589606742b0af14269a83fe5ca7d4184c9e0', name: "info", size: "xs", class: "popup-hint-icon" }))))), this.multiple && (index.h("div", { key: 'af3ddbcbdfcc8afd37cb767156c00e12a60851db', class: {
|
|
4852
5012
|
'selected-items': true,
|
|
4853
5013
|
'has-items': selectedItems.length > 0,
|
|
4854
5014
|
} }, selectedItems.map(item => {
|
|
@@ -4858,14 +5018,14 @@ const UdpAutocomplete = class {
|
|
|
4858
5018
|
// mode `item` is already the object, so this is a no-op.
|
|
4859
5019
|
const opt = (_a = this.findOptionByValue(this.getOptionValue(item))) !== null && _a !== void 0 ? _a : item;
|
|
4860
5020
|
return (index.h("udp-fluent-badge", { color: "brand", shape: "circular", dismissible: !this.disabled, onDismiss: () => this.handleChipDelete(item) }, this.resolveProp(opt, this.optionLabel, true)));
|
|
4861
|
-
})))), index.h("div", { key: '
|
|
5021
|
+
})))), index.h("div", { key: 'a24ba320fdb1245b2a77220286a3281eee3ff8e1', slot: "input", class: {
|
|
4862
5022
|
'input-wrapper': true,
|
|
4863
5023
|
'has-overlay': !!overlayOption,
|
|
4864
|
-
} }, index.h("fluent-dropdown", { key: '
|
|
5024
|
+
} }, index.h("fluent-dropdown", { key: '4303d6c002b42f1ac259be9fc969df2d5d159104', type: "combobox", name: this.name, appearance: mappedAppearance, size: this.controlSize, disabled: this.disabled, required: this.required, placeholder: this.placeholder, multiple: this.multiple,
|
|
4865
5025
|
// Events
|
|
4866
5026
|
onInput: this.handleInput, onChange: this.handleChange, onFocusout: this.handleBlur, onFocusin: () => this.inputFocus.emit(),
|
|
4867
5027
|
// Suppress native invalid popup
|
|
4868
|
-
onInvalid: (e) => e.preventDefault(), exportparts: "control, listbox", ref: el => (this.dropdownRef = el) }, index.h("fluent-listbox", { key: '
|
|
5028
|
+
onInvalid: (e) => e.preventDefault(), exportparts: "control, listbox", ref: el => (this.dropdownRef = el) }, index.h("fluent-listbox", { key: 'd8c75e0c23a3e34d983c3cac2ae3dedd5cc5a34d' }, (this.loading || this.internalLoading) && (index.h("fluent-option", { key: '4f01650961bae674b1f27355ba21f2cfdb1d1108', disabled: true, ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, index.h("span", { key: '4da0bd038f5be0e666ba77e23df3a98f87642e7d' }, "Loading..."), index.h("span", { key: '99b07dbeedebf7e517ba8f6055c743a05ce64af7', slot: "indicator" }))), !this.loading && !this.internalLoading && visibleCount === 0 && !this.freeForm && (index.h("fluent-option", { key: '0ff899f2c28712a00e92b35ae1e7ff207bce3494', disabled: true, value: "empty", ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, "No options available")), !this.loading &&
|
|
4869
5029
|
!this.internalLoading &&
|
|
4870
5030
|
(displayOptions === null || displayOptions === void 0 ? void 0 : displayOptions.length) > 0 &&
|
|
4871
5031
|
(() => {
|
|
@@ -4896,7 +5056,7 @@ const UdpAutocomplete = class {
|
|
|
4896
5056
|
} }, optIcon && this.iconPosition === 'start' && (index.h("span", { slot: "start", class: "option-icon-slot" }, index.h("udp-fluent-icon", { name: optIcon, size: "sm" }))), this.renderOptionContent(optLabel, optIcon, optBadges, this.getOptionSecondaryText(option))));
|
|
4897
5057
|
});
|
|
4898
5058
|
return nodes;
|
|
4899
|
-
})(), this.freeForm && (index.h("fluent-option", { key: '
|
|
5059
|
+
})(), this.freeForm && (index.h("fluent-option", { key: '4dd08e2cc985d2a42422faa8ade4b9c5992733c5', freeform: true }, index.h("output", { key: '916b1af6f3a8797a6fa14fa0ae76a8107716a562' })))), index.h("div", { key: '5d6227cd27d25c7e4ed04f8299fe8380dd1b2e63', slot: "indicator", class: "indicator-wrapper" }, index.h("udp-fluent-icon-button", { key: '4889e140f685aff51cee886d2449f1983acb3c1d', class: {
|
|
4900
5060
|
'clear-button': true,
|
|
4901
5061
|
'is-visible': !this.disabled &&
|
|
4902
5062
|
(this.filterText !== '' ||
|
|
@@ -4904,10 +5064,10 @@ const UdpAutocomplete = class {
|
|
|
4904
5064
|
(this.multiple &&
|
|
4905
5065
|
Array.isArray(this.value) &&
|
|
4906
5066
|
this.value.length > 0)),
|
|
4907
|
-
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), index.h("udp-fluent-icon", { key: '
|
|
5067
|
+
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), index.h("udp-fluent-icon", { key: '4bed97458a00ab44f0d172b6870c39d030831a41', name: "chevron-down", size: "sm", class: "chevron-down", onClick: () => this.handleTogglePopover(false) }))), overlayOption && (index.h("div", { key: '919ea4fc75a2f1e9cf2d9a0dc31fd71bc3a098bd', class: "selected-overlay", "aria-hidden": "true" }, index.h("span", { key: '7fa6be503afdbaf33238cde8d4618c3c6276cd31', class: "selected-label" }, overlayLabel), this.renderBadges(overlayBadges)))), index.h("div", { key: '0442762a4fa6f8568eab9052fd1926b5dae58065', class: {
|
|
4908
5068
|
'message-wrapper': true,
|
|
4909
5069
|
'includeErrorPadding': this.includeErrorPadding,
|
|
4910
|
-
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, index.h("udp-text", { key: '
|
|
5070
|
+
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, index.h("udp-text", { key: '96a77d610bac921bd03d5a81a876be9afc208e6b', variant: "caption1", class: {
|
|
4911
5071
|
message: true,
|
|
4912
5072
|
error: hasError,
|
|
4913
5073
|
} }, message)))));
|
|
@@ -4973,7 +5133,7 @@ const UdpAvatar = class {
|
|
|
4973
5133
|
else {
|
|
4974
5134
|
style['background-color'] = this.getColorForUsername();
|
|
4975
5135
|
}
|
|
4976
|
-
return (index.h("div", { key: '
|
|
5136
|
+
return (index.h("div", { key: 'b45bf523f90254dcd7c5407a06bf99d60402ef9c', class: classes.join(' '), style: style }, this.iconName ? index.h("udp-icon", { iconName: this.iconName, darkIcon: false }) : index.h("unity-typography", { variant: "data-display-two" }, " ", this.getInitial())));
|
|
4977
5137
|
}
|
|
4978
5138
|
};
|
|
4979
5139
|
UdpAvatar.style = udpAvatarCss();
|
|
@@ -4988,7 +5148,7 @@ const UdpBadge = class {
|
|
|
4988
5148
|
}
|
|
4989
5149
|
render() {
|
|
4990
5150
|
const displayContent = this.content > this.max ? `${this.max}+` : this.content;
|
|
4991
|
-
return (index.h("div", { key: '
|
|
5151
|
+
return (index.h("div", { key: '96bcdee62edfc992431c647ee4bab1caaa758255', class: "badge-wrapper" }, index.h("slot", { key: '23884cb924e9e9cc0a73b3c7618c92430a04279c' }), index.h("span", { key: 'd40594141b2949039e961856ebc23cfe00e10d90', class: "badge-content" }, index.h("unity-typography", { key: '9d4131f5fda849a5cf01b1b892ce2ec8b6c38305', variant: 'caption-text' }, " ", displayContent, " "))));
|
|
4992
5152
|
}
|
|
4993
5153
|
};
|
|
4994
5154
|
UdpBadge.style = udpBadgeCss();
|
|
@@ -5094,7 +5254,7 @@ const UdpButton = class {
|
|
|
5094
5254
|
else {
|
|
5095
5255
|
attributes.type = this.type;
|
|
5096
5256
|
}
|
|
5097
|
-
return (index.h(TagType, Object.assign({ key: '
|
|
5257
|
+
return (index.h(TagType, Object.assign({ key: '03e8c38e50dc21b13460af37f0c45acc645b94d1' }, attributes), index.h("div", { key: 'ef5e69b4bdb9e9d7691501068aa95e2a02dcec35', class: "udp-button__spinner" }), index.h("span", { key: '66516037091fbf80c0537548bf7ad3ad1397e2a4', class: "udp-button__content-wrapper" }, this.startIcon && (index.h("span", { key: '90f92dea47f44701993ec9bf44e8656863350a6b', class: "udp-button__icon udp-button__icon--start", "aria-hidden": "true" }, this.startIcon)), index.h("span", { key: '8219ab673bece049833c7defbfac9f9e3032b4ae', class: "udp-button__text-content" }, index.h("slot", { key: '2ac43549d447fcd3f4584beec914d48557fe9037' })), this.endIcon && (index.h("span", { key: '01485d3787ccc42c4fd6e228c03ac51080125659', class: "udp-button__icon udp-button__icon--end", "aria-hidden": "true" }, this.endIcon)))));
|
|
5098
5258
|
}
|
|
5099
5259
|
get el() { return index.getElement(this); }
|
|
5100
5260
|
};
|
|
@@ -5145,7 +5305,7 @@ const UdpChip = class {
|
|
|
5145
5305
|
[`chip--size-${this.size}`]: true,
|
|
5146
5306
|
'chip--clickable': this.clickable,
|
|
5147
5307
|
};
|
|
5148
|
-
return (index.h("div", { key: '
|
|
5308
|
+
return (index.h("div", { key: '361854166b47c2faec56bda81a5f3519e3e7bc2e', class: chipClasses, onClick: this.handleChipClick }, this.startIcon && (index.h("span", { key: '2cb82ff959a3f418676f65ad08a227ed130d281c', class: "chip__icon chip__icon--start" }, index.h("udp-icon", { key: '4b728fe4c1b7448abbe1a7e888cfc34d98a38aa7', iconName: this.startIcon, color: 'inherit' }))), index.h("span", { key: '47fba8918f0b9472ddd38121bcdc0136fce69769', class: "chip__label" }, this.label), this.deleteButton && (index.h("span", { key: '27c9e7b53186d99ac1c5b9c85e9c227eaad8b26d', class: "chip__delete-icon", onClick: this.handleDeleteClick, title: "Remove" }, index.h("svg", { key: 'dec4211f3f3daaac983a69624fd55769cb156431', width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor" }, index.h("path", { key: '9bd1af5220cae817be75dbc64e0f5d6d73bf04f1', 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" }))))));
|
|
5149
5309
|
}
|
|
5150
5310
|
};
|
|
5151
5311
|
UdpChip.style = udpChipCss();
|
|
@@ -5214,7 +5374,7 @@ const UdpCompoundButton = class {
|
|
|
5214
5374
|
const showEnd = slotHelpers.hasSlotContent(this.el, 'end') || !!this.endIconName;
|
|
5215
5375
|
const showDescription = slotHelpers.hasSlotContent(this.el, 'description') || !!this.description;
|
|
5216
5376
|
const iconSize = getIconSize(this.size, 'prominent');
|
|
5217
|
-
return (index.h(index.Host, { key: '
|
|
5377
|
+
return (index.h(index.Host, { key: '212b785c591acf67253cb180efb3a032ec60b38e' }, index.h("fluent-compound-button", { key: '5c98090d79a3087e8b75727003aa2666860a57b1', appearance: this.appearance, disabled: this.disabled || this.loading, "disabled-focusable": this.disabledFocusable, shape: this.shape, size: this.size, "icon-only": this.iconOnly }, showStart && (index.h("span", { key: '979679564974c63e6bffa9d4cdef1851b7487c8f', class: "slot-wrapper", slot: "start" }, index.h("slot", { key: 'd14bf4f6baecd930a13bad49f61281175812b596', name: "start" }, this.startIconName && (index.h("udp-fluent-icon", { key: '7c783a55f0c355d779163d27a7a5e9831238bb14', name: this.startIconName, size: iconSize }))))), showDescription && (index.h("span", { key: '05775142c1cdbf662c395dc159911d66d2d0253c', slot: "description", class: "description-wrapper" }, index.h("slot", { key: '4d650275f2037808d6c3ae5b8d87c60a83cf619b', name: "description" }, this.description))), index.h("slot", { key: '688741673c2e02e122585ddbbea8c1ae57e9590d' }), showEnd && (index.h("span", { key: '96dd3816da1eb4cae5816f619d938abd2cd4f9da', class: "slot-wrapper", slot: "end" }, index.h("slot", { key: 'ac28aff0d58792ac45a56a98ed16b968f428ead0', name: "end" }, this.endIconName && index.h("udp-fluent-icon", { key: '808eb095073681b9664775a2b4188a1e84359a62', name: this.endIconName, size: iconSize }))))), this.loading && (index.h("div", { key: '8fb67bdc557e1b314693fa2bc27578a64bd3c0bd', class: "loading-overlay" }, index.h("udp-spinner", { key: '934cc5075e0cf2d66b11433676f48550030deca4', size: this.size === 'large' ? 'extra-small' : 'tiny' })))));
|
|
5218
5378
|
}
|
|
5219
5379
|
get el() { return index.getElement(this); }
|
|
5220
5380
|
};
|
|
@@ -6295,10 +6455,10 @@ const UdpDateRangeSelector = class {
|
|
|
6295
6455
|
: 'calendar-range';
|
|
6296
6456
|
const containerWidth = this.getContainerWidth();
|
|
6297
6457
|
const monthWidth = this.getMonthWidth();
|
|
6298
|
-
return (index.h(index.Host, { key: '
|
|
6458
|
+
return (index.h(index.Host, { key: '110df5411b1cd697b43b9810c4a51415eac67b65', style: {
|
|
6299
6459
|
'--calendar-width': monthWidth,
|
|
6300
6460
|
'--container-width': containerWidth,
|
|
6301
|
-
}, class: `size-${this.size}`, onClick: e => e.stopPropagation() }, index.h("div", { key: '
|
|
6461
|
+
}, class: `size-${this.size}`, onClick: e => e.stopPropagation() }, index.h("div", { key: 'd1e4231e4c7f7b0ab09f5c195a2790b8f50fdd4b', class: "calendar-header" }, index.h("udp-fluent-icon-button", { key: '3bd5baef80592a833cfbdd0da41e4340042352d5', iconName: "chevron-left", onClick: this.handlePrevious, disabled: this.isPrevDisabled(), appearance: "transparent", ariaLabel: "Previous" }), index.h("udp-fluent-button", { key: '8ae72404f47f5501fcdccb7e76d7c3d44c6a1dd7', appearance: "transparent", onClick: this.handleHeaderClick, ariaLabel: this.viewMode === 'year' ? undefined : 'Change view', disabled: this.viewMode === 'year' }, this.getHeaderText()), index.h("udp-fluent-icon-button", { key: 'def615278ab504fda892e801c50bbc0757a6fd99', iconName: "chevron-right", onClick: this.handleNext, disabled: this.isNextDisabled(), appearance: "transparent", ariaLabel: "Next" })), this.viewMode === 'day' && (index.h(CalendarTag, { key: '013e560a38275c04b1f783852c8e553f980aade4', ref: el => (this.calendarRef = el), value: this.value, min: this.minDate, max: this.maxDate, firstDayOfWeek: 0, months: this.monthsToDisplay, showOutsideDays: true, pageBy: "single", isDateDisallowed: this.isDateDisallowed, getDayParts: this.getDayParts, onChange: this.handleChange, onFocusday: this.handleFocusChange }, index.h("span", { key: 'cd366931a01548c7796cf5bd9a368a659ecf976a', slot: "previous", style: { display: 'none' } }), index.h("span", { key: 'd7f4a92450d9e458faf26b78f8f2e7bd9e5f6b63', slot: "next", style: { display: 'none' } }), index.h("div", { key: 'd27db9651f66c9322dc461eff384f5abf8ce0e80', class: "grid" }, Array.from({ length: this.monthsToDisplay }).map((_, index$1) => (index.h("calendar-month", { offset: index$1 })))))), this.viewMode === 'month' && this.renderMonthGrid(), this.viewMode === 'year' && this.renderYearGrid()));
|
|
6302
6462
|
}
|
|
6303
6463
|
static get delegatesFocus() { return true; }
|
|
6304
6464
|
static get watchers() { return {
|
|
@@ -6404,7 +6564,7 @@ const UdpDateTimeInput = class {
|
|
|
6404
6564
|
// If a main label is provided (for date) but no time label, default time label to a non-breaking space
|
|
6405
6565
|
// to maintain vertical alignment (ensuring the time input isn't pushed up).
|
|
6406
6566
|
const effectiveTimeLabel = this.timeLabel === undefined && this.label ? '\u00A0' : this.timeLabel;
|
|
6407
|
-
return (index.h(index.Host, { key: '
|
|
6567
|
+
return (index.h(index.Host, { key: '25a83534d7e1cb0f176fb51ba29d069ccf1a10ce' }, index.h("div", { key: 'ea940d0130938ec6235ad91909440ab076fe1e70', class: "date-part" }, index.h("udp-date-input", { key: 'cf4d76c3bad773f234e2df325d2d2bbdcfa21012', name: `${this.name}-date`, value: this.datePart, required: this.required, disabled: this.disabled, autofocus: this.autofocus, appearance: this.appearance, controlSize: this.controlSize, dateFormat: (_a = this.dateFormat) !== null && _a !== void 0 ? _a : this.format, minDate: this.minDate, maxDate: this.maxDate, isDateDisallowed: this.isDateDisallowed, getDayParts: this.getDayParts, error: this.error, includeErrorPadding: this.includeErrorPadding, onValueChanged: this.handleDateChange, label: this.label, popupHint: this.popupHint })), index.h("div", { key: 'eec7daa2be271b63233113e9d20d5143cab4f3a3', class: "time-part" }, index.h("udp-time-input", { key: 'e8bd7882a7e76bb88e1d46b4d8580cb01ccb88ed', 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 }))));
|
|
6408
6568
|
}
|
|
6409
6569
|
static get watchers() { return {
|
|
6410
6570
|
"value": [{
|
|
@@ -6467,7 +6627,7 @@ const UdpDialog = class {
|
|
|
6467
6627
|
document.removeEventListener('keydown', this.handleKeyDown);
|
|
6468
6628
|
}
|
|
6469
6629
|
render() {
|
|
6470
|
-
return (index.h(index.Host, { key: '
|
|
6630
|
+
return (index.h(index.Host, { key: '79fc54d24cf02d0fd2a0475ecabc13936bfc0b69', onClick: this.handleOverlayClick }, index.h("div", { key: 'dfe6b5cf42fdc76c3a420f473a2d8542f184cb65', class: "dialog-container", role: "dialog", "aria-modal": "true", "aria-labelledby": this.titleId, "aria-describedby": this.descriptionId, onClick: (event) => event.stopPropagation() }, index.h("div", { key: 'b34c3c283968a1edd0ec07ef312807ef152a9eaf', class: "dialog-title", id: this.titleId }, index.h("unity-typography", { key: 'd980347009bd75c7591f2fd87a45e1632506c20b', variant: "h3" }, this.title)), index.h("div", { key: '15bab369202f6498154772767ca299ba700abd21', class: "dialog-content", id: this.descriptionId }, this.message && index.h("unity-typography", { key: '03c3c6de90201cf40749b3d9b8423d7238167a5b', variant: "body" }, this.message), index.h("slot", { key: '31ea739b30261e1d0b4a74b82044957b7d86d25c' })), index.h("div", { key: '438ec5314765aec75f6c3b5557238a8c77fc7cb6', class: "dialog-actions" }, !this.buttonTwoHidden && (index.h("udp-button", { key: '57da743d785a4c9fd769813145a50376b99c2e25', variant: 'text', disabled: this.disableTwo, onClick: () => this.actionTwo() }, this.labelTwo)), !this.buttonThreeHidden && (index.h("udp-button", { key: '1ab3897a4116f80eb681947cce29c78bfb37c34a', variant: 'text', disabled: this.disableThree, onClick: () => this.actionThree() }, this.labelThree)), !this.buttonOneHidden && (index.h("udp-button", { key: 'd8f9eb335d877687b6766e9f1c1cd71154e1c6a9', variant: 'contained', disabled: this.disableOne, onClick: () => this.actionOne(), loading: !!this.progress }, this.labelOne))))));
|
|
6471
6631
|
}
|
|
6472
6632
|
get hostEl() { return index.getElement(this); }
|
|
6473
6633
|
static get watchers() { return {
|
|
@@ -6516,7 +6676,7 @@ const UdpEmptyState = class {
|
|
|
6516
6676
|
render() {
|
|
6517
6677
|
const showIconArea = this.loading || this.hasIcon || !!this.iconName;
|
|
6518
6678
|
const showSecondary = this.hasSecondary || !!this.description;
|
|
6519
|
-
return (index.h(index.Host, { key: '
|
|
6679
|
+
return (index.h(index.Host, { key: '19e39a4779f2678b8a2f78f638886b4814688d04', class: `size-${this.size}` }, index.h("div", { key: '48003c618b26e0be817ac1ff5aee33984cc5e199', class: { 'empty-state-icon': true, hidden: !showIconArea } }, index.h("div", { key: 'ef3bf32bff28749eda5a9f71fd44669de20879ef', class: { 'icon-slot': true, hidden: this.loading } }, index.h("slot", { key: '9ed785cae386b42a7de148a4301c26f2eec6b790', name: "icon", onSlotchange: this.handleSlotChange }, this.iconName && index.h("udp-fluent-icon", { key: '4bf5d48ca0472a1c2ef36f969a6fd0b049918a25', name: this.iconName }))), this.loading && index.h("udp-spinner", { key: 'd36fab2c7299f48c5a368f05728293e496256b98', size: SPINNER_SIZE_MAP[this.size] })), index.h("div", { key: 'a2a4e8516917c9101836645e69a132d4ee3801f5', class: "empty-state-primary" }, index.h("slot", { key: 'd16c123f7ef7932a90be5ad9e1c02b1dcde9d2bc', onSlotchange: this.handleSlotChange }, this.heading && index.h("udp-text", { key: '9e3d88544450280fbade7c79b9eab423c7ec9b1c', variant: "subtitle2" }, this.heading))), index.h("div", { key: '846eed0ae360a012833329e68201c04dc0dabb3d', class: { 'empty-state-secondary': true, hidden: !showSecondary } }, index.h("slot", { key: '38d95b43d0eca4ee69655c20878d31173d768e84', name: "secondary", onSlotchange: this.handleSlotChange }, this.description && index.h("udp-text", { key: '364e09b9b4031c14a08d621d1441a800baba5d0a', variant: "body2" }, this.description))), index.h("div", { key: 'a142a76e279da9b60b228dd438a1b0914b074cc2', class: { 'empty-state-action': true, hidden: !this.hasAction } }, index.h("slot", { key: 'ce829f57d018bc459c636a2af3611b9d77e10833', name: "action", onSlotchange: this.handleSlotChange }))));
|
|
6520
6680
|
}
|
|
6521
6681
|
get el() { return index.getElement(this); }
|
|
6522
6682
|
};
|
|
@@ -6882,12 +7042,20 @@ function getValidatorsFromElement(el) {
|
|
|
6882
7042
|
const maxLen = (_b = input.maxlength) !== null && _b !== void 0 ? _b : (input.hasAttribute('maxlength') ? parseInt(input.getAttribute('maxlength'), 10) : null);
|
|
6883
7043
|
if (maxLen && maxLen > -1)
|
|
6884
7044
|
validators.push(maxLength(maxLen)); // -1 usually means no limit in some browsers
|
|
6885
|
-
// 4. Min / Max (Numeric)
|
|
6886
|
-
|
|
6887
|
-
|
|
7045
|
+
// 4. Min / Max (Numeric only)
|
|
7046
|
+
// HTML `min`/`max` are numeric constraints only for number/range inputs. Time,
|
|
7047
|
+
// date, and datetime inputs expose `min`/`max` as temporal strings ("09:00",
|
|
7048
|
+
// "2024-01-01") — or '' when unset — for their picker bounds. Coercing those
|
|
7049
|
+
// through Number() yields NaN (time/date) or 0 (''), which would attach a
|
|
7050
|
+
// bogus value validator that every entry fails ("Must be at least "). Only
|
|
7051
|
+
// attach when the bound resolves to a finite number.
|
|
7052
|
+
const rawMin = (_c = input.min) !== null && _c !== void 0 ? _c : (input.hasAttribute('min') ? input.getAttribute('min') : null);
|
|
7053
|
+
const minVal = rawMin === null || rawMin === '' ? NaN : Number(rawMin);
|
|
7054
|
+
if (Number.isFinite(minVal))
|
|
6888
7055
|
validators.push(min(minVal));
|
|
6889
|
-
const
|
|
6890
|
-
|
|
7056
|
+
const rawMax = (_d = input.max) !== null && _d !== void 0 ? _d : (input.hasAttribute('max') ? input.getAttribute('max') : null);
|
|
7057
|
+
const maxVal = rawMax === null || rawMax === '' ? NaN : Number(rawMax);
|
|
7058
|
+
if (Number.isFinite(maxVal))
|
|
6891
7059
|
validators.push(max(maxVal));
|
|
6892
7060
|
// 5. Types (Email / URL)
|
|
6893
7061
|
const type = input.type || input.getAttribute('type');
|
|
@@ -6909,21 +7077,36 @@ const udpFieldCss = () => `:host{display:block;width:100%}`;
|
|
|
6909
7077
|
const UdpField = class {
|
|
6910
7078
|
constructor(hostRef) {
|
|
6911
7079
|
index.registerInstance(this, hostRef);
|
|
7080
|
+
/**
|
|
7081
|
+
* Acquired from the parent `<udp-form-component>` at register time. Controls
|
|
7082
|
+
* when the error string is pushed down to the child input — see the form
|
|
7083
|
+
* component's `errorDisplay` prop. Defaults to `'touched'` so any consumer
|
|
7084
|
+
* that hasn't opted in keeps legacy behavior.
|
|
7085
|
+
*/
|
|
7086
|
+
this.errorDisplay = 'touched';
|
|
7087
|
+
/**
|
|
7088
|
+
* Acquired from the parent `<udp-form-component>` at register time. When
|
|
7089
|
+
* `false`, this field skips attribute-derived validators
|
|
7090
|
+
* (`getValidatorsFromElement`) so the form-level `validate` is the single
|
|
7091
|
+
* source of truth. The explicit `validate` prop still runs regardless.
|
|
7092
|
+
* Defaults to `true` so consumers that don't opt out keep legacy behavior.
|
|
7093
|
+
*/
|
|
7094
|
+
this.deriveFieldValidators = true;
|
|
7095
|
+
}
|
|
7096
|
+
/**
|
|
7097
|
+
* Boolean (checkbox/switch) inputs are detected by interface — the child exposes a
|
|
7098
|
+
* `checked` property. All other inputs use the standard `value` property.
|
|
7099
|
+
*/
|
|
7100
|
+
get isBooleanInput() {
|
|
7101
|
+
return !!this.childInput && 'checked' in this.childInput;
|
|
6912
7102
|
}
|
|
6913
|
-
|
|
7103
|
+
/**
|
|
7104
|
+
* Textarea is detected by tag-name. Used to suppress the Enter-to-submit shortcut.
|
|
7105
|
+
*/
|
|
7106
|
+
get isTextarea() {
|
|
6914
7107
|
if (!this.childInput)
|
|
6915
|
-
return
|
|
6916
|
-
|
|
6917
|
-
const typeAttr = this.childInput.getAttribute('type');
|
|
6918
|
-
if (tagName.includes('checkbox') || typeAttr === 'checkbox')
|
|
6919
|
-
return 'checkbox';
|
|
6920
|
-
if (tagName.includes('switch') || typeAttr === 'switch')
|
|
6921
|
-
return 'switch';
|
|
6922
|
-
if (tagName.includes('radio') || typeAttr === 'radio')
|
|
6923
|
-
return 'radio';
|
|
6924
|
-
if (tagName.includes('textarea') || typeAttr === 'textarea')
|
|
6925
|
-
return 'textarea';
|
|
6926
|
-
return 'text';
|
|
7108
|
+
return false;
|
|
7109
|
+
return this.childInput.tagName.toLowerCase().includes('textarea');
|
|
6927
7110
|
}
|
|
6928
7111
|
componentDidLoad() {
|
|
6929
7112
|
this.childInput = this.el.firstElementChild;
|
|
@@ -6937,8 +7120,12 @@ const UdpField = class {
|
|
|
6937
7120
|
this.el.dispatchEvent(new CustomEvent('fetchFormInstance', {
|
|
6938
7121
|
bubbles: true,
|
|
6939
7122
|
composed: true,
|
|
6940
|
-
detail: (form) => {
|
|
7123
|
+
detail: (form, options) => {
|
|
6941
7124
|
this.form = form;
|
|
7125
|
+
if (options === null || options === void 0 ? void 0 : options.errorDisplay)
|
|
7126
|
+
this.errorDisplay = options.errorDisplay;
|
|
7127
|
+
if ((options === null || options === void 0 ? void 0 : options.deriveFieldValidators) === false)
|
|
7128
|
+
this.deriveFieldValidators = false;
|
|
6942
7129
|
this.registerField();
|
|
6943
7130
|
},
|
|
6944
7131
|
}));
|
|
@@ -6953,7 +7140,12 @@ const UdpField = class {
|
|
|
6953
7140
|
console.warn(`[udp-field] Child of ${this.name} does not appear to be a compatible component.`);
|
|
6954
7141
|
}
|
|
6955
7142
|
const explicitValidator = this.validate;
|
|
6956
|
-
|
|
7143
|
+
// Attribute-derived validators are skipped when the parent form opts out
|
|
7144
|
+
// (`deriveFieldValidators={false}`), making the form-level `validate` the
|
|
7145
|
+
// single source of truth. The explicit `validate` prop always runs.
|
|
7146
|
+
const htmlValidator = this.deriveFieldValidators
|
|
7147
|
+
? getValidatorsFromElement(this.childInput)
|
|
7148
|
+
: undefined;
|
|
6957
7149
|
const combinedValidator = composeValidators(explicitValidator, htmlValidator);
|
|
6958
7150
|
const finalValidator = combinedValidator || ((_a = this.fieldConfig) === null || _a === void 0 ? void 0 : _a.getValidator);
|
|
6959
7151
|
const finalConfig = Object.assign(Object.assign({}, this.fieldConfig), {
|
|
@@ -6961,14 +7153,35 @@ const UdpField = class {
|
|
|
6961
7153
|
getValidator: finalValidator ? () => finalValidator : undefined
|
|
6962
7154
|
});
|
|
6963
7155
|
this.unsubscribe = this.form.registerField(this.name, (state) => {
|
|
6964
|
-
// Subscriber function
|
|
7156
|
+
// Subscriber function — called when subscribed values change.
|
|
6965
7157
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
6966
|
-
const { touched, value, error } = state;
|
|
7158
|
+
const { touched, value, error, submitting, validating, submitFailed } = state;
|
|
7159
|
+
// Gate the error push to the child input based on the form's
|
|
7160
|
+
// `errorDisplay` mode. The form-level `submitFailed` flag is
|
|
7161
|
+
// propagated to every field's meta state, so all fields reveal at
|
|
7162
|
+
// once when the user clicks Submit on a `'submitFailed'` form.
|
|
7163
|
+
let showError;
|
|
7164
|
+
switch (this.errorDisplay) {
|
|
7165
|
+
case 'always':
|
|
7166
|
+
showError = true;
|
|
7167
|
+
break;
|
|
7168
|
+
case 'submitFailed':
|
|
7169
|
+
showError = !!submitFailed;
|
|
7170
|
+
break;
|
|
7171
|
+
case 'touched':
|
|
7172
|
+
default:
|
|
7173
|
+
showError = !!touched;
|
|
7174
|
+
}
|
|
6967
7175
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
6968
|
-
this.childInput.error =
|
|
7176
|
+
this.childInput.error = showError ? error : undefined;
|
|
7177
|
+
// Push form-level busy state to the child if it exposes a `loading` property.
|
|
7178
|
+
// Inputs auto-disable / show spinners while form is submitting or async-validating.
|
|
7179
|
+
if ('loading' in this.childInput) {
|
|
7180
|
+
this.childInput.loading = !!(submitting || validating);
|
|
7181
|
+
}
|
|
6969
7182
|
// --- HANDLING CHECKED vs VALUE ---
|
|
6970
|
-
if (this.
|
|
6971
|
-
//
|
|
7183
|
+
if (this.isBooleanInput) {
|
|
7184
|
+
// Boolean inputs (checkbox, switch): form state IS the checked state.
|
|
6972
7185
|
if ('checked' in this.childInput) {
|
|
6973
7186
|
const newChecked = !!value;
|
|
6974
7187
|
// Only update if value actually changed (prevents redundant renders)
|
|
@@ -6978,7 +7191,7 @@ const UdpField = class {
|
|
|
6978
7191
|
}
|
|
6979
7192
|
}
|
|
6980
7193
|
else {
|
|
6981
|
-
// Standard
|
|
7194
|
+
// Standard inputs (text, select, etc): form state is the value.
|
|
6982
7195
|
if ('value' in this.childInput) {
|
|
6983
7196
|
const newValue = value === undefined || value === null ? '' : value;
|
|
6984
7197
|
// Only update if value actually changed (prevents redundant renders)
|
|
@@ -6991,7 +7204,14 @@ const UdpField = class {
|
|
|
6991
7204
|
if ('name' in this.childInput) {
|
|
6992
7205
|
this.childInput.name = this.name;
|
|
6993
7206
|
}
|
|
6994
|
-
}, {
|
|
7207
|
+
}, {
|
|
7208
|
+
value: true,
|
|
7209
|
+
error: true,
|
|
7210
|
+
touched: true,
|
|
7211
|
+
submitting: true,
|
|
7212
|
+
validating: true,
|
|
7213
|
+
submitFailed: true,
|
|
7214
|
+
}, finalConfig);
|
|
6995
7215
|
}
|
|
6996
7216
|
/**
|
|
6997
7217
|
* UNIFIED EVENT HANDLER
|
|
@@ -7021,11 +7241,11 @@ const UdpField = class {
|
|
|
7021
7241
|
if (ev.defaultPrevented)
|
|
7022
7242
|
return;
|
|
7023
7243
|
ev.stopPropagation();
|
|
7024
|
-
// Don't swallow
|
|
7025
|
-
if (this.
|
|
7244
|
+
// Don't swallow Enter on textareas (newline insertion)
|
|
7245
|
+
if (this.isTextarea)
|
|
7026
7246
|
return;
|
|
7027
|
-
// Don't submit on
|
|
7028
|
-
if (this.
|
|
7247
|
+
// Don't submit on boolean inputs — Enter toggles them in some contexts.
|
|
7248
|
+
if (this.isBooleanInput)
|
|
7029
7249
|
return;
|
|
7030
7250
|
ev.stopPropagation();
|
|
7031
7251
|
if (this.form) {
|
|
@@ -7034,7 +7254,7 @@ const UdpField = class {
|
|
|
7034
7254
|
}
|
|
7035
7255
|
}
|
|
7036
7256
|
render() {
|
|
7037
|
-
return index.h("slot", { key: '
|
|
7257
|
+
return index.h("slot", { key: 'fb9c4c1174366a4fd3983cf93eea34cd4a1551ad' });
|
|
7038
7258
|
}
|
|
7039
7259
|
get el() { return index.getElement(this); }
|
|
7040
7260
|
};
|
|
@@ -7182,7 +7402,7 @@ const UdpFluentAvatar = class {
|
|
|
7182
7402
|
}
|
|
7183
7403
|
render() {
|
|
7184
7404
|
const imgBorderRadius = this.getImageBorderRadius();
|
|
7185
|
-
return (index.h(index.Host, { key: '
|
|
7405
|
+
return (index.h(index.Host, { key: 'b5d0d691d02ba8cd47c53ec2ce07fedab7d88646' }, index.h("fluent-avatar", { key: '8b5097669af626b15ab5ba67ab4613843a8dcfe3', active: this.active, shape: this.shape, appearance: this.appearance, size: this.size, color: this.color, name: this.name, initials: this.initials }, this.src ? (index.h("img", { src: this.src, alt: this.alt, style: Object.assign({ objectFit: 'cover' }, (imgBorderRadius ? { borderRadius: imgBorderRadius } : {})) })) : this.iconName ? (index.h("udp-fluent-icon", { name: this.iconName, variant: this.iconVariant, size: this.getIconSize() })) : null, index.h("slot", { key: '5a8b9fcf0999118a6675f815017e45a46983de33', name: "badge", slot: "badge" }))));
|
|
7186
7406
|
}
|
|
7187
7407
|
};
|
|
7188
7408
|
UdpFluentAvatar.style = udpFluentAvatarCss();
|
|
@@ -7224,7 +7444,7 @@ const UdpFluentBadge = class {
|
|
|
7224
7444
|
this.ready = true;
|
|
7225
7445
|
}
|
|
7226
7446
|
render() {
|
|
7227
|
-
return (index.h(index.Host, { key: '
|
|
7447
|
+
return (index.h(index.Host, { key: 'ca6643618db9e9f0c98f91dc82c849d1237906cd', class: { ready: this.ready } }, index.h("fluent-badge", { key: '472cc852b7a6c279dbfdf497e8a6518c7e8e5a29', appearance: this.appearance, color: this.color, shape: this.shape, size: this.size }, (this.startIconName || slotHelpers.hasSlotContent(this.el, 'start')) && (index.h("span", { key: '4e41131fafb300443ca49a5beaf3f5fd714a75c3', class: "slot-wrapper", slot: "start" }, index.h("slot", { key: '65ddf7997a9cf3040abc859b8ab53267d024555c', name: "start" }, this.startIconName && (index.h("udp-fluent-icon", { key: '9370283d6fb7a51da8ffe31157c0844aaaf67346', name: this.startIconName, size: getBadgeIconSize(this.size) }))))), index.h("span", { key: '71e4c1681cfbb64970237b410e0925a0f22e1141', class: "default-slot" }, index.h("slot", { key: '3bd8ae70fec03eb6697d1c29090f295fd19ed982' })), this.dismissible ? (index.h("button", { type: "button", class: "dismiss-button", slot: "end", "aria-label": this.dismissLabel, onClick: this.handleDismiss, onMouseDown: (e) => e.preventDefault() }, index.h("udp-fluent-icon", { name: "dismiss", size: getBadgeIconSize(this.size) }))) : ((this.endIconName || slotHelpers.hasSlotContent(this.el, 'end')) && (index.h("span", { class: "slot-wrapper", slot: "end" }, index.h("slot", { name: "end" }, this.endIconName && (index.h("udp-fluent-icon", { name: this.endIconName, size: getBadgeIconSize(this.size) })))))))));
|
|
7228
7448
|
}
|
|
7229
7449
|
get el() { return index.getElement(this); }
|
|
7230
7450
|
};
|
|
@@ -7307,7 +7527,7 @@ const UdpFluentButton = class {
|
|
|
7307
7527
|
const iconSize = getIconSize(this.size);
|
|
7308
7528
|
const isDisabled = this.disabled || this.loading;
|
|
7309
7529
|
const isLoading = this.loading;
|
|
7310
|
-
return (index.h(index.Host, { key: '
|
|
7530
|
+
return (index.h(index.Host, { key: '0fec578b81f5a6663543938b96556189c214a546' }, index.h("fluent-button", { key: 'bb7a4753e07f8075d7e47471e8d8a81572b3afa2', 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, onClick: this.handleClick, tabindex: this.tabIndex, part: "button", exportparts: "content" }, (this.startIconName || slotHelpers.hasSlotContent(this.el, 'start')) && (index.h("span", { key: '7d634084cf1d544584d79f551f5d558555c1c7bf', class: "slot-wrapper", slot: "start" }, index.h("slot", { key: 'e6cc6bbeb0d7a0f263ad0a0ab20db9a9a393a356', name: "start" }, this.startIconName && (index.h("udp-fluent-icon", { key: 'c3ed04c6d289855affa86cab832d5f06b062919d', name: this.startIconName, size: iconSize }))))), index.h("slot", { key: '4e294790c35568c62a90bb4e7ad386d1574e067e' }), (this.endIconName || slotHelpers.hasSlotContent(this.el, 'end')) && (index.h("span", { key: 'cc7e366f42d715dfd0b73b1145816b9add7244de', class: "slot-wrapper", slot: "end" }, index.h("slot", { key: '80a11fabb5f223a0dc287b4bf9d8f39e1f6ec772', name: "end" }, this.endIconName && index.h("udp-fluent-icon", { key: '33ed5cc6f0e8f4ea2e93bf4d665ee80c66ce7a2f', name: this.endIconName, size: iconSize }))))), isLoading && (index.h("div", { key: '4291e8b24cf1547b17e2b47c7753ca3197bc3ebe', class: "loading-overlay" }, index.h("udp-spinner", { key: '534be5bd813b7ce3400a470ba72353c4b5980cb6', size: this.size === 'large' ? 'extra-small' : 'tiny' })))));
|
|
7311
7531
|
}
|
|
7312
7532
|
get el() { return index.getElement(this); }
|
|
7313
7533
|
};
|
|
@@ -7364,21 +7584,21 @@ const UdpFluentCard = class {
|
|
|
7364
7584
|
}
|
|
7365
7585
|
}
|
|
7366
7586
|
render() {
|
|
7367
|
-
return (index.h(index.Host, { key: '
|
|
7587
|
+
return (index.h(index.Host, { key: 'c01366f6bc6754a5e802625f08b08c288a8a9b9f', class: {
|
|
7368
7588
|
[`appearance-${this.appearance}`]: true,
|
|
7369
7589
|
[`orientation-${this.orientation}`]: true,
|
|
7370
7590
|
interactive: this.interactive,
|
|
7371
7591
|
}, style: {
|
|
7372
7592
|
width: this.width,
|
|
7373
7593
|
height: this.height,
|
|
7374
|
-
}, tabIndex: this.interactive ? 0 : undefined }, index.h("div", { key: '
|
|
7594
|
+
}, tabIndex: this.interactive ? 0 : undefined }, index.h("div", { key: 'ad9964ba2656c613286d670248006cf1897b8644', class: { 'card-preview': true, 'hidden': !this.hasPreview } }, index.h("slot", { key: 'd9d9f2ed8927d92472d4dd0939ff66908a4d8459', name: "preview", onSlotchange: this.handleSlotChange })), index.h("div", { key: '706024cd16c7dc6c4e96bdbebc75563be27971f8', class: {
|
|
7375
7595
|
'card-header': true,
|
|
7376
7596
|
'hidden': !(this.hasHeader ||
|
|
7377
7597
|
this.hasHeaderStart ||
|
|
7378
7598
|
this.label ||
|
|
7379
7599
|
this.subtitle ||
|
|
7380
7600
|
this.hasHeaderAction),
|
|
7381
|
-
} }, index.h("div", { key: '
|
|
7601
|
+
} }, index.h("div", { key: '3d881938527ab9b63a22f839056edbc4635f2167', class: { 'card-header-start': true, 'hidden': !this.hasHeaderStart } }, index.h("slot", { key: '1383f9216f989d77e4e6846e418512b9a34febb6', name: "header-start", onSlotchange: this.handleSlotChange })), index.h("div", { key: '52e7aa8dcc08fb350f6b2c35d1d3db652cf161ab', class: "card-header-content" }, index.h("slot", { key: '8a823c46d9e9d5a08edd5bb2189a1bf75a829153', name: "header", onSlotchange: this.handleSlotChange }, (this.label || this.subtitle) && (index.h("div", { key: '73fc449b414b784651afe24f93050eed3bbb382a', class: "header-content-wrapper" }, this.label && index.h("udp-text", { key: '0c47b63774c2877761bb3b7054d5d92aba3ab9bd', variant: "subtitle2" }, this.label), this.subtitle && (index.h("udp-text", { key: '02fe1fb3ab83a176fd62739e16b9bee7fe667248', variant: "caption1", class: "header-subtitle" }, this.subtitle)))))), index.h("udp-flexbox", { key: 'a30603878b0117cdc5e0f2b87c6bc0a671f5f257', class: { hidden: !this.hasHeaderAction }, direction: "row" }, index.h("slot", { key: '372260a50044f532b8a28daed08764bdca60db87', name: "header-action", onSlotchange: this.handleSlotChange }))), index.h("div", { key: '33e817d365fe89d35474fc9128f4850f37b6fd21', class: { 'card-body': true, 'no-padding': !this.bodyPadding } }, index.h("slot", { key: '21fa507624780f7c8d38d69b0d0eab6c2b4b9eb2' })), index.h("udp-flexbox", { key: 'dbe40418fb1b64c8d385195dcbae3fa4127ba3d1', class: { 'card-footer': true, 'hidden': !this.hasFooter }, direction: "row" }, index.h("slot", { key: 'f9362e118a81f16d27d7e53a3219767af9811ad6', name: "footer", onSlotchange: this.handleSlotChange }))));
|
|
7382
7602
|
}
|
|
7383
7603
|
get el() { return index.getElement(this); }
|
|
7384
7604
|
};
|
|
@@ -7442,7 +7662,7 @@ const UdpFluentCheckbox = class {
|
|
|
7442
7662
|
render() {
|
|
7443
7663
|
const hasError = !!this.error;
|
|
7444
7664
|
const message = this.error || this.hint;
|
|
7445
|
-
return (index.h(index.Host, { key: '
|
|
7665
|
+
return (index.h(index.Host, { key: '893cd124b27dc77a8b847aaf4e044292ce850c2e' }, index.h("fluent-field", { key: '210fd38d62eb76c54dfd9ac7948af3c16359e892', "label-position": this.labelPosition, class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-label", { key: '9483b3c314d4d7806a835f88f64719493e86d270', slot: "label", disabled: this.disabled, onClick: this.handleLabelClick }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '6e4df82c832122b1aee1ca246d7ad871b1df48fc', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: '0f3981bf5b485d800c06cf5909ff460e77822a28', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("fluent-checkbox", { key: 'adf8d92f03dd3c043676c2c18fe5279dee801da7', ref: (el) => (this.internalCheckbox = el), slot: "input", name: this.name, checked: this.checked, indeterminate: this.indeterminate, disabled: this.disabled, shape: this.shape, size: this.controlSize, autofocus: this.autofocus, onChange: this.handleChange }), index.h("udp-text", { key: 'b6cbb4d338339f2e17f8d61f729f34d9128889c2', slot: "message", variant: "caption1", class: {
|
|
7446
7666
|
message: true,
|
|
7447
7667
|
error: hasError,
|
|
7448
7668
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -7468,7 +7688,7 @@ const UdpFluentCounterBadge = class {
|
|
|
7468
7688
|
this.dot = false;
|
|
7469
7689
|
}
|
|
7470
7690
|
render() {
|
|
7471
|
-
return (index.h(index.Host, { key: '
|
|
7691
|
+
return (index.h(index.Host, { key: '9397c028d5188b1ccd6b4d5bd1895c0a1cf4c551' }, index.h("fluent-counter-badge", { key: 'e371dcda804d5a7a0b4ad5506f17073760ebce88', appearance: this.appearance, color: this.color, shape: this.shape, size: this.size, count: this.count, "overflow-count": this.overflowCount, "show-zero": this.showZero, dot: this.dot }, index.h("slot", { key: 'f220047c9eddceb0efdc6529baa565021d3eb8a2', name: "start", slot: "start" }), this.count === undefined && index.h("slot", { key: '44791c30fbe61380912b4dc459ded15dee3e12ed' }), index.h("slot", { key: '64c2c2f1fefaf2513ce4e8b679d7ea31b085286d', name: "end", slot: "end" }))));
|
|
7472
7692
|
}
|
|
7473
7693
|
};
|
|
7474
7694
|
UdpFluentCounterBadge.style = udpFluentCounterBadgeCss();
|
|
@@ -7532,7 +7752,7 @@ const UdpFluentDialog = class {
|
|
|
7532
7752
|
}
|
|
7533
7753
|
}
|
|
7534
7754
|
render() {
|
|
7535
|
-
return (index.h(index.Host, { key: '
|
|
7755
|
+
return (index.h(index.Host, { key: '9e11d9ad9c7e5f88585f10b35c3788e6413ffe52', style: { '--dialog-max-height': this.maxHeight } }, index.h("fluent-dialog", { key: '6fdf81822a4115142a18dd48442d3a84df1c4be9', ref: this.setDialogRef, type: this.type, onToggle: this.handleToggle }, index.h("fluent-dialog-body", { key: '9dc51c72cfdc8f00b913478c980ceecb2540cef2' }, index.h("slot", { key: '6933e82c765eec7d94547df9dd3cc6e68fb4046a', name: "header", slot: "title" }, this.dialogTitle && index.h("udp-fluent-text", { key: 'ff6e277f8547cdaf62c28f958ac41411548485dd' }, this.dialogTitle)), this.showHeaderCloseButton && (index.h("udp-fluent-icon-button", { key: '86c8ac3c13c3cc28b1565224689ed73bdf0d27e1', slot: "close", appearance: "subtle", iconName: "dismiss", ariaLabel: "Close Dialog" })), index.h("div", { key: 'ee2182b68b15c14b0d2f4f42de30192a8596d01f', class: "dialog-content" }, index.h("slot", { key: '9027281184914bba6b3c3e4f08124a5dba52b2f6' })), index.h("udp-flexbox", { key: '1bfabd174958c1f38f8fdcae79f601439c4ddeb9', slot: "action", direction: "row" }, index.h("slot", { key: '7af53ca073a2d7cdf1289a081aea8df4a3ec21b0', name: "action" }))))));
|
|
7536
7756
|
}
|
|
7537
7757
|
get el() { return index.getElement(this); }
|
|
7538
7758
|
static get watchers() { return {
|
|
@@ -7556,7 +7776,7 @@ const UdpFluentDivider = class {
|
|
|
7556
7776
|
this.orientation = 'horizontal';
|
|
7557
7777
|
}
|
|
7558
7778
|
render() {
|
|
7559
|
-
return (index.h(index.Host, { key: '
|
|
7779
|
+
return (index.h(index.Host, { key: '0f340547fdb025611c59531c32e0f0e10076037e', style: { background: 'transparent' } }, index.h("fluent-divider", { key: 'acd29786ccd7f60d2fa8d88e18f5eb6dd28a89af', "align-content": this.alignContent, appearance: this.appearance, inset: this.inset, role: this.role, orientation: this.orientation }, index.h("slot", { key: '39d781f43ba0d9357aeb2d859b1a2b59986294b5' }))));
|
|
7560
7780
|
}
|
|
7561
7781
|
};
|
|
7562
7782
|
|
|
@@ -7598,6 +7818,7 @@ const UdpFluentDrawer = class {
|
|
|
7598
7818
|
*/
|
|
7599
7819
|
this.hasFooter = false;
|
|
7600
7820
|
this.hasToolbar = false;
|
|
7821
|
+
this.hasTitle = false;
|
|
7601
7822
|
this.showTopShadow = false;
|
|
7602
7823
|
this.showBottomShadow = false;
|
|
7603
7824
|
this.effectiveSize = 'medium';
|
|
@@ -7666,6 +7887,7 @@ const UdpFluentDrawer = class {
|
|
|
7666
7887
|
componentWillLoad() {
|
|
7667
7888
|
this.checkFooter();
|
|
7668
7889
|
this.checkToolbar();
|
|
7890
|
+
this.checkTitle();
|
|
7669
7891
|
this.updateDrawerWidth();
|
|
7670
7892
|
}
|
|
7671
7893
|
updateDrawerWidth() {
|
|
@@ -7693,6 +7915,7 @@ const UdpFluentDrawer = class {
|
|
|
7693
7915
|
this.mutationObserver = new MutationObserver(() => {
|
|
7694
7916
|
this.checkFooter();
|
|
7695
7917
|
this.checkToolbar();
|
|
7918
|
+
this.checkTitle();
|
|
7696
7919
|
this.checkScrollShadows();
|
|
7697
7920
|
});
|
|
7698
7921
|
this.mutationObserver.observe(this.el, { childList: true, subtree: true });
|
|
@@ -7764,6 +7987,10 @@ const UdpFluentDrawer = class {
|
|
|
7764
7987
|
const children = Array.from(this.el.children);
|
|
7765
7988
|
this.hasToolbar = children.some(child => child.getAttribute('slot') === 'toolbar');
|
|
7766
7989
|
}
|
|
7990
|
+
checkTitle() {
|
|
7991
|
+
const children = Array.from(this.el.children);
|
|
7992
|
+
this.hasTitle = children.some(child => child.getAttribute('slot') === 'title');
|
|
7993
|
+
}
|
|
7767
7994
|
calculateEffectiveSize() {
|
|
7768
7995
|
const viewportWidth = window.innerWidth;
|
|
7769
7996
|
let targetWidth = DRAWER_SIZES.medium; // Default fallback
|
|
@@ -7895,7 +8122,7 @@ const UdpFluentDrawer = class {
|
|
|
7895
8122
|
}
|
|
7896
8123
|
}
|
|
7897
8124
|
render() {
|
|
7898
|
-
return (index.h(index.Host, { key: '
|
|
8125
|
+
return (index.h(index.Host, { key: 'e57c61ef6d53bed97d50941c4ebdd082327753f9', class: { 'has-footer': this.hasFooter } }, index.h("fluent-drawer", { key: '342002046f8b68d22860536e9b46669007cca0e2', ref: this.setDrawerRef, onToggle: this.handleToggle, type: "modal", position: this.position, size: this.effectiveSize }, index.h("fluent-drawer-body", { key: '876fbbf139cbd3ea52fa2426dab27352cc8b2a86' }, this.hasTitle ? (index.h("slot", { name: "title", slot: "title" })) : (index.h("udp-text", { variant: "subtitle1", slot: "title" }, this.drawerTitle)), index.h("udp-fluent-icon-button", { key: '96c57198e287bbda27eda513035a5b94a592f0e7', slot: "close", appearance: "subtle", iconName: "dismiss", "aria-label": "close" }), this.hasToolbar && (index.h("udp-flexbox", { key: 'c7aba1b9a62a6e9078d3a91aea255786ea5e19da', class: "drawer-toolbar", direction: "row", width: "100%" }, index.h("slot", { key: '3fb1fcc5f6100e160961588efa372e7c34d6acd3', name: "toolbar" }))), index.h("div", { key: '32b349ef70d856d79250d7fc3a6de9c5a1d72339', class: "drawer-scroll-container", ref: el => (this.contentRef = el), onScroll: this.handleScroll }, index.h("div", { key: '1a11b971887b7b60edc8b401bcd4c102824b2574', class: `scroll-shadow top ${this.showTopShadow ? 'visible' : ''}` }), index.h("div", { key: 'efdccb9c6ffa8cd822026950de57dbcf94c52b2f', class: `drawer-content-inner${this.excludeVerticalPadding ? '' : ' vertical-padding'}` }, index.h("slot", { key: '311338b803b2ac3f15bb977409d7f48d9ed2b063' })), index.h("div", { key: '4aa386c56f747f054d8d2dcfe2af4525176a68fa', class: `scroll-shadow bottom ${this.showBottomShadow ? 'visible' : ''}` })), this.hasFooter && (index.h("udp-flexbox", { key: 'f18807aee77d86d6d086e7751d01cec87df7517b', slot: "footer", direction: "row" }, index.h("slot", { key: 'cb0eb13afdbe78bba4f43779d3db2ff1e52a20ca', name: "footer" })))))));
|
|
7899
8126
|
}
|
|
7900
8127
|
get el() { return index.getElement(this); }
|
|
7901
8128
|
static get watchers() { return {
|
|
@@ -8320,15 +8547,15 @@ const UdpFluentDropdown = class {
|
|
|
8320
8547
|
const overlayOptions = this.getSelectedOverlayOptions();
|
|
8321
8548
|
const hasOverlay = overlayOptions.length > 0;
|
|
8322
8549
|
const mappedAppearance = this.appearance === 'underline' ? 'transparent' : this.appearance;
|
|
8323
|
-
return (index.h(index.Host, { key: '
|
|
8550
|
+
return (index.h(index.Host, { key: '6d1410f1280513ce30884031f3c2b0e739f21aa7', class: { 'has-error': hasError } }, index.h("fluent-field", { key: 'ee241a4abcbf6c4b530bfaf8f860274492c7936f', class: {
|
|
8324
8551
|
'no-message': !message && !this.includeErrorPadding,
|
|
8325
8552
|
'no-label': !this.label,
|
|
8326
|
-
} }, this.label && (index.h("fluent-label", { key: '
|
|
8553
|
+
} }, this.label && (index.h("fluent-label", { key: '5b7f10ed15fa03a1ee213d6e1fc83150200b75ff', slot: "label", disabled: this.disabled, onClick: () => this.handleTogglePopover(false), style: { paddingTop: '2px', paddingBottom: '2px' } }, this.label, this.popupHint && (index.h("udp-tooltip", { key: 'b12259e02126200b646bb16f7066ca47e209ea10', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: '2227f4d3116d3e06bfa644c1041677121a8baf62', name: "info", size: "xs", class: "popup-hint-icon" }))))), index.h("div", { key: '67fd988678a418d6f51de059be4f8069e5d61d00', slot: "input", class: {
|
|
8327
8554
|
'input-wrapper': true,
|
|
8328
8555
|
'has-overlay': hasOverlay,
|
|
8329
|
-
} }, index.h("fluent-dropdown", { key: '
|
|
8556
|
+
} }, index.h("fluent-dropdown", { key: '7822276fc6568d30dcd341995e4fb32d6c55a9bb', 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(),
|
|
8330
8557
|
// Suppress native invalid popup
|
|
8331
|
-
onInvalid: (e) => e.preventDefault(), ref: el => (this.dropdownRef = el) }, index.h("fluent-listbox", { key: '
|
|
8558
|
+
onInvalid: (e) => e.preventDefault(), ref: el => (this.dropdownRef = el) }, index.h("fluent-listbox", { key: '06a593d21710ddf1b6a457cc4e63ac5ba6f0167c' }, this.loading && (index.h("fluent-option", { key: '1ffd4e948fd85b17096024344ee2e3e6e1ca7e6f', disabled: true, ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, index.h("span", { key: '365b7a9ef672f377ea7e3c42998626f9b7ec42dd' }, "Loading..."), index.h("span", { key: '3c7ce76b4a0be3efa2766225ec3324f7d7ec3f56', slot: "indicator" }))), !this.loading && ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) === 0 && (index.h("fluent-option", { key: 'b0fd93bd369ef558f860f1b791709226f447afa9', disabled: true, value: "empty", ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, "No options available")), !this.loading &&
|
|
8332
8559
|
((_b = this.options) === null || _b === void 0 ? void 0 : _b.length) > 0 &&
|
|
8333
8560
|
(() => {
|
|
8334
8561
|
const nodes = [];
|
|
@@ -8348,17 +8575,17 @@ const UdpFluentDropdown = class {
|
|
|
8348
8575
|
nodes.push(index.h("fluent-option", { key: index$1, disabled: !!optDisabled, value: safeValue, ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', !!optDisabled) }, optIcon && this.iconPosition === 'start' && (index.h("span", { slot: "start", class: "option-icon-slot" }, index.h("udp-fluent-icon", { name: optIcon, size: "sm" }))), optLabel, optIcon && this.iconPosition === 'end' && (index.h("span", { class: "option-icon-end", style: { pointerEvents: 'none', marginLeft: '4px' } }, index.h("udp-fluent-icon", { name: optIcon, size: "sm" }))), this.renderBadges(optBadges)));
|
|
8349
8576
|
});
|
|
8350
8577
|
return nodes;
|
|
8351
|
-
})()), index.h("div", { key: '
|
|
8578
|
+
})()), index.h("div", { key: '29403f83ea438b107ef2deb1651cf1ddec1e675a', slot: "indicator", class: "indicator-wrapper" }, index.h("udp-fluent-icon-button", { key: '1d94d6f84299916fa4e20b07e123d5b1c2d984e1', class: {
|
|
8352
8579
|
'clear-button': true,
|
|
8353
8580
|
'is-visible': this.showClearButton && !this.disabled && this.clearable,
|
|
8354
|
-
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), index.h("udp-fluent-icon", { key: '
|
|
8581
|
+
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), index.h("udp-fluent-icon", { key: '3df248e42664fe410c092e93a7d8110101fdc96a', name: "chevron-down", size: "sm", class: "chevron-down", onClick: (ev) => {
|
|
8355
8582
|
// stopPropagation: fluent's clickHandler would re-open via its `!this.open → showPopover` branch.
|
|
8356
8583
|
ev.stopPropagation();
|
|
8357
8584
|
this.handleTogglePopover(false);
|
|
8358
|
-
} }))), hasOverlay && (index.h("div", { key: '
|
|
8585
|
+
} }))), hasOverlay && (index.h("div", { key: 'a990dbce7c82bf774fdf7f27800c3b3f3f53ca87', class: { 'selected-overlay': true, 'multi': overlayOptions.length > 1 }, "aria-hidden": "true" }, overlayOptions.map((opt, i) => (index.h("span", { class: "selected-item", key: this.getOptionValue(opt) || i }, i > 0 && index.h("span", { class: "selected-separator" }, ", "), index.h("span", { class: "selected-label" }, this.resolveProp(opt, this.optionLabel, true)), this.renderBadges(this.getOptionBadges(opt)))))))), index.h("div", { key: 'd9fb1ac61d88303388924b1182a95776d4feb8d2', class: {
|
|
8359
8586
|
'message-wrapper': true,
|
|
8360
8587
|
'includeErrorPadding': this.includeErrorPadding,
|
|
8361
|
-
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, index.h("udp-text", { key: '
|
|
8588
|
+
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, index.h("udp-text", { key: '852605db1e6aa0aaf3c89bbd2c37f36f1f9b57e4', variant: "caption1", class: {
|
|
8362
8589
|
message: true,
|
|
8363
8590
|
error: hasError,
|
|
8364
8591
|
} }, message)))));
|
|
@@ -8635,7 +8862,7 @@ const UdpFluentIcon = class {
|
|
|
8635
8862
|
};
|
|
8636
8863
|
if (this.color)
|
|
8637
8864
|
hostStyle.color = this.color;
|
|
8638
|
-
return (index.h(index.Host, { key: '
|
|
8865
|
+
return (index.h(index.Host, { key: '87640e2b6cdfa29ab1a647a9dfaeffcc7f19a193', style: hostStyle }, this.svgContent && (index.h("div", { key: 'd2fde7cf073e55552eacf8f008a4e6237f045eab', class: "icon-inner", innerHTML: this.svgContent, role: "img", "aria-label": this.name }))));
|
|
8639
8866
|
}
|
|
8640
8867
|
static get watchers() { return {
|
|
8641
8868
|
"name": [{
|
|
@@ -8694,7 +8921,7 @@ const UdpFluentIconButton = class {
|
|
|
8694
8921
|
const hoverActive = this.fillOnHover && this.isHovered;
|
|
8695
8922
|
const effectiveVariant = hoverActive ? 'filled' : this.iconVariant;
|
|
8696
8923
|
const effectiveColor = hoverActive ? 'var(--colorBrandForeground1)' : this.iconColor;
|
|
8697
|
-
return (index.h(index.Host, { key: '
|
|
8924
|
+
return (index.h(index.Host, { key: '8d0006399d37cb21d08543cc85bea20312f447c4', exportparts: "button", onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false) }, index.h("udp-fluent-button", { key: '99d5bdcc50f102716563d9d6b386b3ed3d64a19b', appearance: this.appearance, disabled: this.disabled, "disabled-focusable": this.disabledFocusable, loading: this.loading, shape: this.shape, size: this.size, iconOnly: true, "aria-label": this.ariaLabel, tabIndex: this.tabIndex }, index.h("udp-fluent-icon", { key: '5844de081f82f05bcd744d2f6476bf2a9654a179', name: this.iconName, size: getIconSize(this.size, 'standard'), variant: effectiveVariant, color: effectiveColor }))));
|
|
8698
8925
|
}
|
|
8699
8926
|
};
|
|
8700
8927
|
UdpFluentIconButton.style = udpFluentIconButtonCss();
|
|
@@ -8953,7 +9180,7 @@ const UdpFluentRadioGroup = class {
|
|
|
8953
9180
|
var _a;
|
|
8954
9181
|
const hasError = !!this.error;
|
|
8955
9182
|
const message = this.error || this.hint;
|
|
8956
|
-
return (index.h(index.Host, { key: '
|
|
9183
|
+
return (index.h(index.Host, { key: '302ae95efe36f13811e488b5cc7aaa597557332c' }, index.h("fluent-field", { key: 'c9b5399235689aaf70ecd8769d473fc4253136eb', "label-position": "above", class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-label", { key: '2d68bdaae186b2258ed3f4f3510c4c12da447f9b', slot: "label", disabled: this.disabled }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '6807f3c486b1b5f3bdc223dbd88f241bc242fba6', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: '7b36e5b468c836aad3dee5953b14407363965747', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("fluent-radio-group", { key: 'a1d62e91503ed4f2bc8ce04c63fecb90487bfec8', ref: el => (this.internalInput = el), slot: "input", name: this.name, disabled: this.disabled, orientation: this.orientation, onChange: this.handleChange }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => (index.h("fluent-field", { "label-position": "after" }, index.h("fluent-label", { slot: "label", onClick: () => this.handleLabelClick(item.value, item.disabled) }, item.label), index.h("fluent-radio", { slot: "input", value: item.value, disabled: item.disabled, ref: (el) => this.radioRefs.set(item.value, el) }))))), index.h("udp-text", { key: '7e72611b27745f4ce91b91ccdb0ee74f89c5c853', slot: "message", variant: "caption1", class: {
|
|
8957
9184
|
message: true,
|
|
8958
9185
|
error: hasError,
|
|
8959
9186
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -9006,7 +9233,7 @@ const UdpFluentSwitch = class {
|
|
|
9006
9233
|
render() {
|
|
9007
9234
|
const hasError = !!this.error;
|
|
9008
9235
|
const message = this.error || this.hint;
|
|
9009
|
-
return (index.h(index.Host, { key: '
|
|
9236
|
+
return (index.h(index.Host, { key: '8cf91451ad54d26cf33018bc2ef6cf16e7e77bee' }, index.h("fluent-field", { key: '13afd3936e32d77b1789c351df9994a375164f6d', "label-position": this.labelPosition, class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-label", { key: 'c72276b3e46649b999ad8e61b02884093e0d8a80', slot: "label", onClick: this.handleLabelClick }, this.label, this.popupHint && (index.h("udp-tooltip", { key: 'd337f67e539a321eb117a97f63441e9fbe0adb95', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: 'bc9198da8c962049ed5cee45ea0cd339c8aa4747', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("fluent-switch", { key: 'e1d2a55c1adee0aec46032031451dbe52f2f3427', slot: "input", name: this.name, checked: this.checked, disabled: this.disabled, onChange: this.handleChange, ref: (el) => (this.internalSwitch = el) }), index.h("udp-text", { key: '6c9815e59fc67d5c7ed3c2cf0ce178d742d44ad9', slot: "message", variant: "caption1", class: {
|
|
9010
9237
|
message: true,
|
|
9011
9238
|
error: hasError,
|
|
9012
9239
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -9376,11 +9603,11 @@ const UdpFluentTextInput = class {
|
|
|
9376
9603
|
const hasError = !!this.error;
|
|
9377
9604
|
const message = this.error || this.hint;
|
|
9378
9605
|
const noMessage = !message && !this.includeErrorPadding;
|
|
9379
|
-
return (index.h(index.Host, { key: '
|
|
9606
|
+
return (index.h(index.Host, { key: 'dc688da75294e9df78967a526ea9fc4b5dcdc50b', class: { 'has-error': hasError } }, index.h("fluent-field", { key: '3a597110df592e3d09fa0e92cb949b823aa7d290', class: { 'no-message': noMessage } }, index.h("fluent-text-input", { key: '59a111e906d5e9b0660466ce90f94d9c4d69253a', 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,
|
|
9380
9607
|
// Events
|
|
9381
9608
|
onInput: this.handleInput, onBlur: () => this.inputBlur.emit(), onFocus: () => this.inputFocus.emit(),
|
|
9382
9609
|
// Suppress native invalid popup
|
|
9383
|
-
onInvalid: (e) => e.preventDefault() }, index.h("slot", { key: '
|
|
9610
|
+
onInvalid: (e) => e.preventDefault() }, index.h("slot", { key: 'fce70a6cf524b968d7333ac78d662594d5ae837e', slot: "start", name: "start" }), index.h("slot", { key: 'efb15deb5e0d6db1a15f5c068cf30cfe8b73c732', slot: "end", name: "end" }), this.label && (index.h("fluent-label", { key: 'cd8f666099dc52b2e9222399fbdfe12941a893c4', required: this.required, disabled: this.disabled }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '02ddadcacf45ccc7c4155526181500a6356024ba', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: '0e42f732309fc829f7ce48fb77485191e7a1ea5d', name: "info", size: "xs", class: "popup-hint-icon" })))))), index.h("udp-text", { key: '9fb29b3080cd7661a9974b54bd67dc814fe5d7e5', slot: "message", variant: "caption1", class: {
|
|
9384
9611
|
message: true,
|
|
9385
9612
|
error: hasError,
|
|
9386
9613
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -9422,7 +9649,7 @@ const UdpFluentToggleButton = class {
|
|
|
9422
9649
|
}
|
|
9423
9650
|
render() {
|
|
9424
9651
|
const iconSize = getIconSize(this.size);
|
|
9425
|
-
return (index.h(index.Host, { key: '
|
|
9652
|
+
return (index.h(index.Host, { key: 'a6300e28abb2a9870884cf24fad4c92dd6d3072e' }, index.h("fluent-toggle-button", { key: '1ecb9ee376f18a18b5a96f6c9c7d5644c01f8128', pressed: this.pressed, mixed: this.mixed, disabled: this.disabled, size: this.size, appearance: this.appearance, shape: this.shape }, (this.startIconName || slotHelpers.hasSlotContent(this.el, 'start')) && (index.h("span", { key: '6c99b808416fc3c2f39de99056edebb456a331f2', class: "slot-wrapper", slot: "start" }, index.h("slot", { key: 'f51e052b4fa1a47e88bb67ddce8d116b04b67644', name: "start" }, this.startIconName && (index.h("udp-fluent-icon", { key: 'f0963e2862a6f3c1df4dfa64c9c64eaa04ffbc5c', name: this.startIconName, size: iconSize }))))), index.h("slot", { key: '0998df3bbe939c978df4aa0bc2ee344aaa581b33' }), (this.endIconName || slotHelpers.hasSlotContent(this.el, 'end')) && (index.h("span", { key: 'd00f9aee02777b8321680171c3f43f7b283ea3e4', class: "slot-wrapper", slot: "end" }, index.h("slot", { key: '5c360a74366fb5b245ffa7fbce989c5e814f6fca', name: "end" }, this.endIconName && index.h("udp-fluent-icon", { key: '7beca8736af1274f945a639991452466f1a10574', name: this.endIconName, size: iconSize })))))));
|
|
9426
9653
|
}
|
|
9427
9654
|
get el() { return index.getElement(this); }
|
|
9428
9655
|
};
|
|
@@ -9439,37 +9666,119 @@ const UdpFormComponent = class {
|
|
|
9439
9666
|
* Can be used to populate the form with data from an API.
|
|
9440
9667
|
*/
|
|
9441
9668
|
this.initialValues = {};
|
|
9669
|
+
/**
|
|
9670
|
+
* If true (default), reinitializing the form (e.g. after a backend save returns the
|
|
9671
|
+
* saved record) will overwrite only pristine values — in-flight edits are preserved.
|
|
9672
|
+
* Recommended for autosave / draft flows.
|
|
9673
|
+
*/
|
|
9674
|
+
this.keepDirtyOnReinitialize = true;
|
|
9675
|
+
/**
|
|
9676
|
+
* If true, validation runs only on blur. Default false (validates on every change).
|
|
9677
|
+
*/
|
|
9678
|
+
this.validateOnBlur = false;
|
|
9679
|
+
/**
|
|
9680
|
+
* When child `<udp-field>` inputs should reveal their validation error
|
|
9681
|
+
* messages.
|
|
9682
|
+
*
|
|
9683
|
+
* - `'touched'` (default): show the error once the user has focused
|
|
9684
|
+
* and blurred the field. Right for authoring drawers where the user
|
|
9685
|
+
* is editing one field at a time and wants feedback per-field.
|
|
9686
|
+
* - `'submitFailed'`: hide errors entirely until the user clicks Submit
|
|
9687
|
+
* and validation fails. After that, all errors are visible and remain
|
|
9688
|
+
* visible as the user corrects them. Right for end-user form fill-out
|
|
9689
|
+
* where surfacing errors mid-entry feels noisy. A successful submit
|
|
9690
|
+
* resets `submitFailed` and fields go pristine again.
|
|
9691
|
+
* - `'always'`: surface errors as soon as they exist. Useful for
|
|
9692
|
+
* debugging or for inputs that need live validation feedback.
|
|
9693
|
+
*
|
|
9694
|
+
* `udp-field` receives this mode at register time via the
|
|
9695
|
+
* `fetchFormInstance` callback and gates its own error push to the
|
|
9696
|
+
* child input accordingly.
|
|
9697
|
+
*/
|
|
9698
|
+
this.errorDisplay = 'touched';
|
|
9699
|
+
/**
|
|
9700
|
+
* Whether child `<udp-field>` inputs auto-derive Final Form validators from
|
|
9701
|
+
* their HTML-ish attributes (`required`, `minlength`/`maxlength`, `min`/`max`,
|
|
9702
|
+
* `type=email|url`, `pattern`) via `getValidatorsFromElement`.
|
|
9703
|
+
*
|
|
9704
|
+
* - `true` (default): keep the convenience for forms that have no other
|
|
9705
|
+
* validation source (hand-built forms, the builder's config drawer).
|
|
9706
|
+
* - `false`: skip attribute-derived validators entirely, so the form-level
|
|
9707
|
+
* `validate` prop is the single source of truth. The udp-question-form
|
|
9708
|
+
* renderer sets this — its schema-driven `buildFinalFormValidator` already
|
|
9709
|
+
* covers every rule, and the attribute path otherwise double-validates
|
|
9710
|
+
* `required` (with a different message) and mis-reads temporal `min`/`max`.
|
|
9711
|
+
*
|
|
9712
|
+
* The explicit per-field `validate` prop on `<udp-field>` is unaffected — it
|
|
9713
|
+
* always runs. `udp-field` receives this flag at register time via the
|
|
9714
|
+
* `fetchFormInstance` callback.
|
|
9715
|
+
*/
|
|
9716
|
+
this.deriveFieldValidators = true;
|
|
9717
|
+
/**
|
|
9718
|
+
* If true, a field's value is destroyed when the field unregisters.
|
|
9719
|
+
* Default false preserves values so toggling visibility (e.g. via branching) does not
|
|
9720
|
+
* lose user input.
|
|
9721
|
+
*/
|
|
9722
|
+
this.destroyOnUnregister = false;
|
|
9442
9723
|
}
|
|
9443
9724
|
componentWillLoad() {
|
|
9444
9725
|
this.form = finalForm.createForm({
|
|
9445
9726
|
initialValues: this.initialValues,
|
|
9446
|
-
onSubmit: this.
|
|
9727
|
+
onSubmit: this.submitHandler,
|
|
9447
9728
|
validate: this.validate,
|
|
9729
|
+
keepDirtyOnReinitialize: this.keepDirtyOnReinitialize,
|
|
9730
|
+
validateOnBlur: this.validateOnBlur,
|
|
9731
|
+
destroyOnUnregister: this.destroyOnUnregister,
|
|
9732
|
+
debug: this.debug,
|
|
9448
9733
|
});
|
|
9449
9734
|
this.formReady.emit(this.form);
|
|
9450
9735
|
this.unsubscribe = this.form.subscribe((state) => {
|
|
9451
|
-
// Broadcast state to the UI
|
|
9452
9736
|
this.formStateUpdated.emit({
|
|
9737
|
+
// Validity
|
|
9453
9738
|
valid: state.valid,
|
|
9454
9739
|
invalid: state.invalid,
|
|
9455
9740
|
hasValidationErrors: state.hasValidationErrors,
|
|
9456
|
-
|
|
9741
|
+
hasSubmitErrors: state.hasSubmitErrors,
|
|
9742
|
+
errors: state.errors,
|
|
9743
|
+
submitErrors: state.submitErrors,
|
|
9744
|
+
submitError: state.submitError,
|
|
9745
|
+
// Interaction
|
|
9457
9746
|
dirty: state.dirty,
|
|
9458
9747
|
pristine: state.pristine,
|
|
9748
|
+
modified: state.modified,
|
|
9749
|
+
modifiedSinceLastSubmit: state.modifiedSinceLastSubmit,
|
|
9750
|
+
dirtySinceLastSubmit: state.dirtySinceLastSubmit,
|
|
9751
|
+
// Submission
|
|
9459
9752
|
submitting: state.submitting,
|
|
9460
9753
|
submitSucceeded: state.submitSucceeded,
|
|
9461
|
-
|
|
9462
|
-
|
|
9754
|
+
submitFailed: state.submitFailed,
|
|
9755
|
+
validating: state.validating,
|
|
9756
|
+
// Values — emitted so the renderer's progress tracker can
|
|
9757
|
+
// recompute "X of Y answered" on every change. Reading from
|
|
9758
|
+
// `formApi.getState().values` inside the listener doesn't work
|
|
9759
|
+
// for all transitions (e.g. clearing a non-required field after
|
|
9760
|
+
// first edit) because neither `errors` nor `modified` fires —
|
|
9761
|
+
// subscribing to `values` is the only reliable signal.
|
|
9762
|
+
values: state.values,
|
|
9463
9763
|
});
|
|
9464
9764
|
}, {
|
|
9465
9765
|
valid: true,
|
|
9466
9766
|
invalid: true,
|
|
9467
9767
|
hasValidationErrors: true,
|
|
9768
|
+
hasSubmitErrors: true,
|
|
9769
|
+
errors: true,
|
|
9770
|
+
submitErrors: true,
|
|
9771
|
+
submitError: true,
|
|
9468
9772
|
dirty: true,
|
|
9469
9773
|
pristine: true,
|
|
9774
|
+
modified: true,
|
|
9775
|
+
modifiedSinceLastSubmit: true,
|
|
9776
|
+
dirtySinceLastSubmit: true,
|
|
9470
9777
|
submitting: true,
|
|
9471
9778
|
submitSucceeded: true,
|
|
9472
|
-
|
|
9779
|
+
submitFailed: true,
|
|
9780
|
+
validating: true,
|
|
9781
|
+
values: true,
|
|
9473
9782
|
});
|
|
9474
9783
|
}
|
|
9475
9784
|
componentDidLoad() {
|
|
@@ -9494,6 +9803,17 @@ const UdpFormComponent = class {
|
|
|
9494
9803
|
if (this.form)
|
|
9495
9804
|
this.form.initialize(newValue);
|
|
9496
9805
|
}
|
|
9806
|
+
/**
|
|
9807
|
+
* Rebind the validator when the prop changes. Final Form captures `validate`
|
|
9808
|
+
* at `createForm` time and won't pick up a new function reference otherwise.
|
|
9809
|
+
* Schema-driven validators (e.g., the renderer's `buildFinalFormValidator`
|
|
9810
|
+
* rebuilds when the loaded schema changes) need this watcher so newly-added
|
|
9811
|
+
* rules take effect without remounting the form.
|
|
9812
|
+
*/
|
|
9813
|
+
handleValidateChanged(newValidate) {
|
|
9814
|
+
if (this.form)
|
|
9815
|
+
this.form.setConfig('validate', newValidate);
|
|
9816
|
+
}
|
|
9497
9817
|
// --- Public Methods (External Control) ---
|
|
9498
9818
|
/**
|
|
9499
9819
|
* Manually submit the form.
|
|
@@ -9502,37 +9822,52 @@ const UdpFormComponent = class {
|
|
|
9502
9822
|
return this.form.submit();
|
|
9503
9823
|
}
|
|
9504
9824
|
/**
|
|
9505
|
-
* Reset the form to its initial
|
|
9825
|
+
* Reset the form to its initial values, or to a new set of initial values if provided.
|
|
9506
9826
|
*/
|
|
9507
|
-
reset() {
|
|
9508
|
-
this.form.reset();
|
|
9509
|
-
|
|
9827
|
+
async reset(initialValues) {
|
|
9828
|
+
this.form.reset(initialValues);
|
|
9829
|
+
}
|
|
9830
|
+
/**
|
|
9831
|
+
* Reset both values AND field state (touched/visited/etc) to fresh. Same as creating
|
|
9832
|
+
* the form anew. Optionally re-initialize with new values.
|
|
9833
|
+
*/
|
|
9834
|
+
async restart(initialValues) {
|
|
9835
|
+
this.form.restart(initialValues);
|
|
9510
9836
|
}
|
|
9511
9837
|
/**
|
|
9512
9838
|
* Get the current state of the form (values, errors, etc).
|
|
9513
9839
|
*/
|
|
9514
|
-
getCurrentState() {
|
|
9515
|
-
this.form.getState();
|
|
9516
|
-
return Promise.resolve();
|
|
9840
|
+
async getCurrentState() {
|
|
9841
|
+
return this.form.getState();
|
|
9517
9842
|
}
|
|
9518
9843
|
// --- Dependency Injection ---
|
|
9519
9844
|
handleFetchFormInstance(ev) {
|
|
9520
9845
|
ev.stopPropagation(); // Stop bubbling to nested forms
|
|
9521
9846
|
const callback = ev.detail;
|
|
9522
9847
|
if (typeof callback === 'function') {
|
|
9523
|
-
|
|
9848
|
+
// Pass form-level options to consumers (udp-field): `errorDisplay` gates
|
|
9849
|
+
// when the error string is pushed to the child input; `deriveFieldValidators`
|
|
9850
|
+
// toggles the attribute-derived validators. Optional second arg: older
|
|
9851
|
+
// callbacks that only take `(form)` still work unchanged.
|
|
9852
|
+
callback(this.form, {
|
|
9853
|
+
errorDisplay: this.errorDisplay,
|
|
9854
|
+
deriveFieldValidators: this.deriveFieldValidators,
|
|
9855
|
+
});
|
|
9524
9856
|
}
|
|
9525
9857
|
}
|
|
9526
9858
|
render() {
|
|
9527
|
-
return (index.h("form", { key: '
|
|
9859
|
+
return (index.h("form", { key: '7c76c4cfb8ee22d8bd68ead79f7a1dff1b6cb2f8', id: this.formId, noValidate: true, onSubmit: e => {
|
|
9528
9860
|
e.preventDefault();
|
|
9529
9861
|
void this.form.submit();
|
|
9530
|
-
} }, index.h("slot", { key: '
|
|
9862
|
+
} }, index.h("slot", { key: '3eec3822b4c70bbc38b331913c87753c41210161' })));
|
|
9531
9863
|
}
|
|
9532
9864
|
get el() { return index.getElement(this); }
|
|
9533
9865
|
static get watchers() { return {
|
|
9534
9866
|
"initialValues": [{
|
|
9535
9867
|
"handleValuesChanged": 0
|
|
9868
|
+
}],
|
|
9869
|
+
"validate": [{
|
|
9870
|
+
"handleValidateChanged": 0
|
|
9536
9871
|
}]
|
|
9537
9872
|
}; }
|
|
9538
9873
|
};
|
|
@@ -9635,7 +9970,7 @@ const UdpLazyLoader = class {
|
|
|
9635
9970
|
}
|
|
9636
9971
|
}
|
|
9637
9972
|
render() {
|
|
9638
|
-
return index.h(index.Host, { key: '
|
|
9973
|
+
return index.h(index.Host, { key: '43db3490416e0648ec956f2c2c14db5bedc6abd7' }, this.shouldRender && this.content ? this.content() : null);
|
|
9639
9974
|
}
|
|
9640
9975
|
static get watchers() { return {
|
|
9641
9976
|
"if": [{
|
|
@@ -9659,7 +9994,7 @@ const UdpLinearLoader = class {
|
|
|
9659
9994
|
loader: true,
|
|
9660
9995
|
[`loader--color-${this.color}`]: true,
|
|
9661
9996
|
};
|
|
9662
|
-
return (index.h(index.Host, { key: '
|
|
9997
|
+
return (index.h(index.Host, { key: '8f22f31cc54bcff12005fe51bc167d6ff5875650' }, index.h("div", { key: '08533be0143ee2ec556c3aebca1274fee1a35d59', class: loaderClasses }, index.h("div", { key: 'efa184141b12699b1a276ca1d27d45a61785b934', class: "indeterminate" }))));
|
|
9663
9998
|
}
|
|
9664
9999
|
};
|
|
9665
10000
|
UdpLinearLoader.style = udpLinearLoaderCss();
|
|
@@ -9718,11 +10053,11 @@ const UdpListRenderer = class {
|
|
|
9718
10053
|
render() {
|
|
9719
10054
|
const showPrimaryText = this.primaryText || this.hasPrimaryTextSlot;
|
|
9720
10055
|
const showSecondaryText = this.secondaryText || this.hasSecondaryTextSlot;
|
|
9721
|
-
return (index.h(index.Host, { key: '
|
|
10056
|
+
return (index.h(index.Host, { key: '36489442fc414a8c95a8ed085d7093a6ce9616b6' }, index.h("div", { key: '095db860c92f49264718004b2656b1452dc6c73f', class: {
|
|
9722
10057
|
'list-item': true,
|
|
9723
10058
|
'clickable': this.clickable,
|
|
9724
10059
|
'variant-compact': this.variant === 'compact',
|
|
9725
|
-
}, onClick: this.handleClick, onKeyPress: this.handleKeyPress, role: this.clickable ? 'button' : undefined, tabindex: this.clickable ? 0 : -1 }, this.iconName && (index.h("div", { key: '
|
|
10060
|
+
}, onClick: this.handleClick, onKeyPress: this.handleKeyPress, role: this.clickable ? 'button' : undefined, tabindex: this.clickable ? 0 : -1 }, this.iconName && (index.h("div", { key: 'ec240bc91de86d67a91fe536e93127d8c5b5ff6a', class: "avatar-container" }, index.h("udp-avatar", { key: '128b7c24d30cb9fd552664c7a6633c04fc6dd36c', iconName: this.iconName, variant: this.avatarVariant, color: this.avatarBackgroundColor }))), index.h("div", { key: '37ff6fc1b7a1c89fe23e14f0efa61004a0dfab5a', class: "text-container" }, showPrimaryText && (index.h("div", { key: 'd952b50fb35cdff6f0e30e64f56cd497e3d52f7a', class: "primary-text" }, index.h("slot", { key: '435d24d8ff133174c87ebff9ff68a4f210b2ae9c', name: "primary-text" }, index.h("unity-typography", { key: 'af94b840a0803c8cc7274ab9e589365677340f02', variant: "body" }, this.primaryText)))), showSecondaryText && (index.h("div", { key: '6baf6bdfb55d6f41183cc2c3e490bad6fe1c47af', class: "secondary-text" }, index.h("slot", { key: '2d5dbf51b722311ebe3a440adc0cf245056d5f5b', name: "secondary-text" }, index.h("unity-typography", { key: 'a328e658cfd4d1656016703e087e9f6ec0191f1b', variant: "caption-text", color: "textSecondary" }, this.secondaryText))))), this.hasStatusChipSlot && (index.h("div", { key: '3593a2453beca36300f524324c376dcd0a19b6aa', class: "status-chip-container" }, index.h("slot", { key: '223e344db18c2286f7802ce28d8a69dcb6d93c90', name: "status-chip" }))), this.hasActionsSlot && (index.h("div", { key: '63946c93446ae369617f57fdf261149f405f8530', class: "actions-container" }, index.h("slot", { key: '4c9b616fe65d3e37bcc68791b5703d5c94f09b48', name: "actions" }))))));
|
|
9726
10061
|
}
|
|
9727
10062
|
get hostEl() { return index.getElement(this); }
|
|
9728
10063
|
};
|
|
@@ -9744,11 +10079,13 @@ const UdpMenuItem = class {
|
|
|
9744
10079
|
};
|
|
9745
10080
|
}
|
|
9746
10081
|
render() {
|
|
9747
|
-
return (index.h("button", { key: '
|
|
10082
|
+
return (index.h("button", { key: 'b82a704b12c25c10652be6831b8f32bacc749ea3', class: "menu-item-root", onClick: this.handleItemClick, disabled: this.disabled, role: "menuitem" }, this.iconName && index.h("udp-icon", { key: '51e12c8dca4a5d86740a83efaeebf7e2251db215', iconName: this.iconName, class: "menu-icon" }), index.h("span", { key: '49a36f3ecb026930430f0e3f3d22eb0649f01db6', class: "menu-item-label" }, index.h("unity-typography", { key: 'f7cbe3d24aa5041a0efee0cb1dd562cac29b9d4e', variant: 'body1' }, this.label))));
|
|
9748
10083
|
}
|
|
9749
10084
|
};
|
|
9750
10085
|
UdpMenuItem.style = udpMenuItemCss();
|
|
9751
10086
|
|
|
10087
|
+
const udpMessageBarCss = () => `::slotted([slot='icon']){color:inherit !important}`;
|
|
10088
|
+
|
|
9752
10089
|
const UdpMessageBar = class {
|
|
9753
10090
|
constructor(hostRef) {
|
|
9754
10091
|
index.registerInstance(this, hostRef);
|
|
@@ -9774,9 +10111,10 @@ const UdpMessageBar = class {
|
|
|
9774
10111
|
};
|
|
9775
10112
|
}
|
|
9776
10113
|
render() {
|
|
9777
|
-
return (index.h(index.Host, { key: '
|
|
10114
|
+
return (index.h(index.Host, { key: 'fa325815567104264a595f3d0d36ec06ea06a5ec' }, index.h("fluent-message-bar", { key: '78497180f5e617cb3e13ada00634ff504248e9e8', shape: this.shape, layout: this.layout, intent: this.intent }, index.h("udp-flexbox", { key: '227f1d5b1eefa028301510e18ff2bfaac1fb134e', direction: "row", gap: "sm", slot: "actions" }, index.h("slot", { key: 'a17d1f598474757531ced89051de9c153978afee', name: "actions" })), this.dismissible ? (index.h("udp-fluent-icon-button", { slot: "dismiss", appearance: "subtle", iconName: "dismiss", "aria-label": "Dismiss", onClick: this.handleDismissClick })) : (index.h("slot", { name: "dismiss", slot: "dismiss" })), index.h("slot", { key: 'd052bcc8da779751da4d4fb09901d1f5b3a34b37', name: "icon", slot: "icon" }), index.h("slot", { key: 'f1ef274add5fc6f9afadcacd652c5d6b0d51968d' }))));
|
|
9778
10115
|
}
|
|
9779
10116
|
};
|
|
10117
|
+
UdpMessageBar.style = udpMessageBarCss();
|
|
9780
10118
|
|
|
9781
10119
|
const udpPopOverCss = () => `:host{display:block;position:fixed;z-index:9999;pointer-events:none;opacity:0;transform:scale(0.95);transition:opacity 0.2s ease-out}:host(.is-visible){pointer-events:auto;opacity:1;transform:scale(1)}.popover{background-color:white;box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);border:1px solid #e0e0e0}`;
|
|
9782
10120
|
|
|
@@ -9894,7 +10232,7 @@ const UdpPopOver = class {
|
|
|
9894
10232
|
maxHeight: this.popoverMaxHeight,
|
|
9895
10233
|
overflow: this.overflow
|
|
9896
10234
|
};
|
|
9897
|
-
return (index.h(index.Host, { key: '
|
|
10235
|
+
return (index.h(index.Host, { key: '681a9ef47a1265d3036a3b693cd976d84349194f' }, index.h("div", { key: '62bc5c7b20d331d1cb8b8d7ba5757725b89d1b94', class: "popover", style: style }, index.h("slot", { key: '4476e5029e5c6bb987a4a4a3eddb36120d97ebf0' }))));
|
|
9898
10236
|
}
|
|
9899
10237
|
get hostEl() { return index.getElement(this); }
|
|
9900
10238
|
static get watchers() { return {
|
|
@@ -10216,14 +10554,14 @@ const UdpPopover = class {
|
|
|
10216
10554
|
}
|
|
10217
10555
|
render() {
|
|
10218
10556
|
const anchorName = `--${this.anchorId}`;
|
|
10219
|
-
return (index.h(index.Host, { key: '
|
|
10557
|
+
return (index.h(index.Host, { key: '9cdc22d2f252ee38dea388837684a9865f7aff23', style: { '--udp-internal-anchor-name': anchorName }, class: { 'has-arrow': this.withArrow }, onClick: (e) => {
|
|
10220
10558
|
if (!this.toggleOnTriggerClick)
|
|
10221
10559
|
return;
|
|
10222
10560
|
if (this.popoverWrapper && e.composedPath().includes(this.popoverWrapper)) {
|
|
10223
10561
|
return;
|
|
10224
10562
|
}
|
|
10225
10563
|
this.open = !this.open;
|
|
10226
|
-
}, onFocusout: this.handleFocusOut }, index.h("slot", { key: '
|
|
10564
|
+
}, onFocusout: this.handleFocusOut }, index.h("slot", { key: 'cf9bd01e25752965f8819f96a3566518105c077a', name: "trigger" }), index.h("div", { key: '61b0e0a9ee425a6277f07bfd9614b99ddbcddf7a', popover: this.keepOpenOnClickOutside ? 'manual' : 'auto', class: {
|
|
10227
10565
|
'popover-shell': true,
|
|
10228
10566
|
'position-top': this.position.startsWith('top'),
|
|
10229
10567
|
'position-bottom': this.position.startsWith('bottom'),
|
|
@@ -10239,10 +10577,10 @@ const UdpPopover = class {
|
|
|
10239
10577
|
}, style: {
|
|
10240
10578
|
'position-anchor': `var(--udp-internal-anchor-name)`,
|
|
10241
10579
|
'position-area': this.getPositionArea(),
|
|
10242
|
-
} }, index.h("div", { key: '
|
|
10580
|
+
} }, index.h("div", { key: 'f0fefbd2f241dc57a9a337e858a7ba4acbdfd89d', part: "content", class: {
|
|
10243
10581
|
'popover-content': true,
|
|
10244
10582
|
[`size-${this.size}`]: !!this.size,
|
|
10245
|
-
} }, this.withArrow && index.h("div", { key: '
|
|
10583
|
+
} }, this.withArrow && index.h("div", { key: '4507f75260eddadab3b94a8acebb10e8e9672d5c', class: "popover-arrow" }), index.h("slot", { key: '0ad73928d4cf7608e71fae9f404e5c475a05b0c4', name: "content" })))));
|
|
10246
10584
|
}
|
|
10247
10585
|
get el() { return index.getElement(this); }
|
|
10248
10586
|
static get watchers() { return {
|
|
@@ -10253,7 +10591,7 @@ const UdpPopover = class {
|
|
|
10253
10591
|
};
|
|
10254
10592
|
UdpPopover.style = udpPopoverCss();
|
|
10255
10593
|
|
|
10256
|
-
const udpPrimaryActionHeaderCss = () => `:host{display:block;width:100%;box-sizing:border-box;background-color:var(--colorNeutralBackground1)}.header-body{display:flex;flex-direction:column;padding:var(--spacingVerticalS) var(--
|
|
10594
|
+
const udpPrimaryActionHeaderCss = () => `:host{display:block;width:100%;box-sizing:border-box;background-color:var(--colorNeutralBackground1)}.header-body{display:flex;flex-direction:column;padding:var(--spacingVerticalS) var(--spacingHorizontalM);border-bottom:1px solid var(--colorNeutralStroke3)}.title-row{display:flex;align-items:center;gap:var(--spacingHorizontalS);min-height:36px}.title-inline{display:flex;align-items:center;gap:var(--spacingHorizontalS);flex:1 1 auto;min-width:0}.title-inline udp-text{flex-shrink:0;white-space:nowrap}.slot-inline{display:flex;align-items:center;flex:1;min-width:0;overflow:hidden}slot[name="inline"]::slotted(*){min-width:0;flex:1}.slot-actions{display:flex;align-items:center;gap:var(--spacingHorizontalS);flex-shrink:99999;min-width:0;overflow:hidden;flex-wrap:nowrap}.slot-actions>*,.slot-actions ::slotted(*){flex-shrink:0}.system-actions{display:flex;align-items:center;gap:var(--spacingHorizontalS);flex-shrink:0;min-width:max-content}.system-actions>span.primary-action,.system-actions>span.overflow-action{display:flex}.subtitle-row{margin-top:-6px}.subtitle-row udp-text{color:var(--colorNeutralForeground2)}.toolbar-row{display:flex;align-items:center;min-height:48px;border-bottom:1px solid var(--colorNeutralStroke3)}.toolbar-row.hidden{display:none}.toolbar-row slot{flex:1;min-width:0;overflow:hidden}slot[name="toolbar"]::slotted(*){min-width:0;flex:1}.hidden{display:none}`;
|
|
10257
10595
|
|
|
10258
10596
|
const UdpPrimaryActionHeader = class {
|
|
10259
10597
|
constructor(hostRef) {
|
|
@@ -10505,7 +10843,7 @@ const UdpPrimaryActionHeader = class {
|
|
|
10505
10843
|
render() {
|
|
10506
10844
|
var _a;
|
|
10507
10845
|
const hasPropActions = !!this.primaryAction || (((_a = this.secondaryActions) === null || _a === void 0 ? void 0 : _a.length) || 0) > 0;
|
|
10508
|
-
return (index.h(index.Host, { key: '
|
|
10846
|
+
return (index.h(index.Host, { key: 'd0d3f8feab8d5b64bba573bb37174f21823f0abe' }, index.h("div", { key: '9ebabc0a07f4cfafc190b1a961a0b0f348b63172', class: { 'header-body': true, 'has-toolbar': this.hasToolbar } }, index.h("div", { key: 'd016ac453daca4d1a2b35a0c10ed8d0de593fe66', class: "title-row" }, index.h("div", { key: 'fa74513458b5213a36db350ea5005bda1a0a7f8c', class: "title-inline" }, this.title !== undefined ? (index.h("udp-text", { variant: "subtitle1", block: false }, this.title)) : (index.h("slot", { name: "title", onSlotchange: this.handleSlotChange })), index.h("div", { key: '044c794a978a60eef4f7c7d4c43c58345a5ecd8a', class: { 'slot-inline': true, 'hidden': !this.hasInline } }, index.h("slot", { key: 'afcdb4c86fa67c2598572d2f7b8e244632ba321c', name: "inline", onSlotchange: this.handleSlotChange }))), index.h("div", { key: '0048d6f5c28d7a5277afc36dc69310b994c2fe15', class: { 'slot-actions': true, 'hidden': !this.hasActions } }, index.h("slot", { key: '7ebcae5cd4a46c468f67f643ad42cf2245f7d7b0', name: "actions", onSlotchange: this.handleSlotChange })), index.h("div", { key: '8f06ae578fdb3535df92254b943e05b34d79d32a', class: { 'system-actions': true, 'hidden': !hasPropActions } }, this.renderSecondaryActions(), this.renderPrimaryAction())), index.h("div", { key: '9a5d592e2125cea11040d5049ddb2213df427094', class: { 'subtitle-row': true, 'hidden': !this.hasSubtitle && !this.subtitle } }, this.subtitle !== undefined ? (index.h("udp-text", { variant: "caption1" }, this.subtitle)) : (index.h("slot", { name: "subtitle", onSlotchange: this.handleSlotChange })))), index.h("div", { key: '2100086f11ed47764ffdc609e5d9b9510c060d53', class: { 'toolbar-row': true, 'hidden': !this.hasToolbar } }, index.h("slot", { key: '68fad3a7a2b9b0568d1e6943612d93d67a75870b', name: "toolbar", onSlotchange: this.handleSlotChange }))));
|
|
10509
10847
|
}
|
|
10510
10848
|
get el() { return index.getElement(this); }
|
|
10511
10849
|
};
|
|
@@ -10528,7 +10866,7 @@ const UdpProgressBar = class {
|
|
|
10528
10866
|
this.validationState = 'info';
|
|
10529
10867
|
}
|
|
10530
10868
|
render() {
|
|
10531
|
-
return (index.h(index.Host, { key: '
|
|
10869
|
+
return (index.h(index.Host, { key: '79eb768d6fca57601e21c62a9c76d66d341aee9a' }, index.h("fluent-progress-bar", { key: 'dd5ee40a37ee5d9bf4ad3d37e25e5c9e44b33c4a', thickness: this.thickness, shape: this.shape, "validation-state": this.validationState, value: this.value, min: this.min, max: this.max })));
|
|
10532
10870
|
}
|
|
10533
10871
|
};
|
|
10534
10872
|
|
|
@@ -10604,14 +10942,14 @@ const UdpSearchInput = class {
|
|
|
10604
10942
|
render() {
|
|
10605
10943
|
const hasError = !!this.error;
|
|
10606
10944
|
const message = this.error || this.hint;
|
|
10607
|
-
return (index.h(index.Host, { key: '
|
|
10945
|
+
return (index.h(index.Host, { key: '18e3f399d9adbe656e69b3681480ebe4a9697b24', class: { 'has-error': hasError } }, index.h("fluent-field", { key: 'af700db04a47415dcdcb18d84341117348b4e9fb', class: { 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-text-input", { key: 'd3993717324ed7ed8f2f2f9ffb223813742ad418', ref: el => (this.internalInput = el), class: { 'no-label': !this.label }, slot: "input", 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,
|
|
10608
10946
|
// Events
|
|
10609
10947
|
onInput: this.handleInput, onBlur: () => this.inputBlur.emit(), onFocus: () => this.inputFocus.emit(),
|
|
10610
10948
|
// Suppress native invalid popup
|
|
10611
|
-
onInvalid: (e) => e.preventDefault() }, index.h("slot", { key: '
|
|
10949
|
+
onInvalid: (e) => e.preventDefault() }, index.h("slot", { key: 'ac705fd2012ecf274bf4dd0d36a9a6e6e5d495d2', slot: "start", name: "start" }, index.h("udp-fluent-icon", { key: '2a4779bc4adf452eb8cb010f26d29ba8011278bc', name: "search", size: "xs" })), index.h("udp-fluent-icon-button", { key: '3995efb2643be86e6de1eb8036a8734b935716f8', class: {
|
|
10612
10950
|
'clear-button': true,
|
|
10613
10951
|
'is-visible': !!this.internalValue && !this.disabled && !this.readonly,
|
|
10614
|
-
}, slot: "end", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), this.label && (index.h("fluent-label", { key: '
|
|
10952
|
+
}, slot: "end", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), this.label && (index.h("fluent-label", { key: '09e6aa89868714b4560ab4e844b1ae3b7c894f04', required: this.required, disabled: this.disabled }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '188b331d170b8428c9c1b2d0d3f91fcb26e61800', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: 'c1b6dca3c08a1189ef27b8353522a91cd87a1287', name: "info", size: "xs", class: "popup-hint-icon" })))))), (!!message || this.includeErrorPadding) && (index.h("udp-text", { key: '666c475d74d57e5e6f89e4c21f6b2bf0b57aa689', slot: "message", variant: "caption1", class: {
|
|
10615
10953
|
message: true,
|
|
10616
10954
|
error: hasError,
|
|
10617
10955
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -10853,27 +11191,27 @@ const UdpSideSheet = class {
|
|
|
10853
11191
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10854
11192
|
const headerStartIcon = Boolean(this.headerActionButtonIcon) ? (index.h("udp-icon", { iconName: this.headerActionButtonIcon, color: "inherit" })) : undefined;
|
|
10855
11193
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10856
|
-
const overflowIcon = index.h("udp-icon", { key: '
|
|
10857
|
-
return (index.h("div", { key: '
|
|
11194
|
+
const overflowIcon = index.h("udp-icon", { key: '6c39f309512725cc4773e1370d42c3c714c9d6bd', iconName: "overflowMenuVertical", color: "inherit" });
|
|
11195
|
+
return (index.h("div", { key: '3d8838a1377ef5d6d534376b724548d6798b3af7', class: "backdrop", onClick: this.onCloseBackdrop }, index.h("div", { key: '3e5a586280f33a4185b2c726e18cc10606a77136', class: { sheet: true, [this.position]: true, [widthClass]: true }, style: sideSheetStyle }, index.h("div", { key: 'a5456d799b92fb4b07dd666f18c0acb624674377', class: "title-container" }, index.h("div", { key: 'cb1132c6c96ca3ebb6831ada3c3956d86fb7d2c1', class: "close-button" }, index.h("stencil-icon-button", { key: '997dd654887ccb79f297da44c6381aa5c29b0bdc',
|
|
10858
11196
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10859
|
-
icon: Close24__default.default, onClick: this.onClose, secondary: true })), index.h("div", { key: '
|
|
10860
|
-
_b.map((item) => (index.h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label))), this.headerActionButtonLabel && (index.h("udp-button", { key: '
|
|
11197
|
+
icon: Close24__default.default, onClick: this.onClose, secondary: true })), index.h("div", { key: '93887acf897d799ccbcbf15b516e8e765e0d3836', class: "title-text" }, index.h("unity-typography", { key: 'ca216bf4428b011d729683e1a5a8eeb50e15b0c4', variant: "h6" }, this.title)), (this.headerActionButtonLabel || ((_a = this.headerSecondaryButtons) === null || _a === void 0 ? void 0 : _a.length) > 0) && (index.h("div", { key: 'b498eb6052f74dd6cd1f8a1f3dd57599f05759ef', class: "header-action-button" }, (_b = this.headerSecondaryButtons) === null || _b === void 0 ? void 0 :
|
|
11198
|
+
_b.map((item) => (index.h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label))), this.headerActionButtonLabel && (index.h("udp-button", { key: '311a310a6007b8b0042c84aa7bb2105831cfe16c', disabled: this.headerActionButtonDisabled, onClick: this.onHeaderActionButtonClick,
|
|
10861
11199
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10862
|
-
startIcon: headerStartIcon, variant: "contained" }, this.headerActionButtonLabel))))), index.h("div", { key: '
|
|
11200
|
+
startIcon: headerStartIcon, variant: "contained" }, this.headerActionButtonLabel))))), index.h("div", { key: 'e9192a778369b629dfc261469f520fe5b1656f3b', class: "loader-container" }, index.h("udp-linear-loader", { key: 'ff3a4a7ddb84c178246b103b40d727124af91e55', class: { 'is-loading': this.loading }, color: "primary" })), index.h("div", { key: '6348c8ad6d4575c4f62cad26e69425daf821839f', class: { content: true, padding: this.padding } }, index.h("slot", { key: '3e2cfd5a9778756ea5bff000441522e7edf7a3f3' })), (this.primaryButtonLabel || ((_c = this.footerSecondaryButtons) === null || _c === void 0 ? void 0 : _c.length) > 0) && (index.h("div", { key: '5dd3a712db33bc8bbd1f75690edaaa4035c27760' }, index.h("div", { key: 'e72a3374ce4de6230b526faabb305ec21cbdded4', class: "loader-container" }), index.h("div", { key: '6d1370245b40d672773906f6449f53762cceb913', class: {
|
|
10863
11201
|
footer: true,
|
|
10864
|
-
}, ref: el => (this.footerRef = el) }, !this.showOverflowButton && ((_d = this.footerSecondaryButtons) === null || _d === void 0 ? void 0 : _d.length) > 0 && (index.h("div", { key: '
|
|
11202
|
+
}, ref: el => (this.footerRef = el) }, !this.showOverflowButton && ((_d = this.footerSecondaryButtons) === null || _d === void 0 ? void 0 : _d.length) > 0 && (index.h("div", { key: '5d0ce1a63309c638c2014f3aedd5b92710f6938c', class: "footer-secondary-buttons-container" }, index.h("div", { key: '936a21838d09406da6143d90676f0b4974ee4228', class: "footer-secondary-buttons" }, (_e = this.footerSecondaryButtons) === null || _e === void 0 ? void 0 : _e.map((item) => (index.h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label)))))), this.showOverflowButton && (index.h("udp-button", { key: 'e51f332ff548a49e4f3d5274c381047e5e912293', variant: "outlined", onClick: this.onMoreActionButtonClick, color: "secondary",
|
|
10865
11203
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10866
|
-
endIcon: overflowIcon }, "More")), this.primaryButtonLabel && (index.h("udp-button", { key: '
|
|
11204
|
+
endIcon: overflowIcon }, "More")), this.primaryButtonLabel && (index.h("udp-button", { key: '8e22db449186617656f1c18bd3846031533f921d', variant: "contained", disabled: this.primaryButtonDisabled, onClick: this.onPrimaryButtonClick, endIcon: this.primaryButtonIcon }, this.primaryButtonLabel)), this.showOverflowButton && (index.h("udp-pop-over", { key: '288284faf79eddb49dc907d42c5d401196b32b1c', anchorElement: this.overflowMenuAnchor, isOpen: this.openOverflowMenu, popoverWidth: '200px', popoverMaxHeight: '300px', handleOnClose: this.handleCloseOverflowMenu }, index.h("div", { key: 'ea65e59690f0885b74f2d17243edb80320e61e05', class: "menu" }, (_f = this.footerSecondaryButtons) === null || _f === void 0 ? void 0 : _f.map(item => (index.h("udp-menu-item", { label: item === null || item === void 0 ? void 0 : item.label, iconName: item === null || item === void 0 ? void 0 : item.icon, onItemClick: () => {
|
|
10867
11205
|
item === null || item === void 0 ? void 0 : item.onClick();
|
|
10868
11206
|
this.handleCloseOverflowMenu();
|
|
10869
|
-
}, disabled: item === null || item === void 0 ? void 0 : item.disabled })))))), index.h("div", { key: '
|
|
11207
|
+
}, disabled: item === null || item === void 0 ? void 0 : item.disabled })))))), index.h("div", { key: 'e246fbc961e55e5af4544efaaa092d6eb5774a68', ref: el => (this.measurementContainerRef = el), style: {
|
|
10870
11208
|
position: 'absolute',
|
|
10871
11209
|
visibility: 'hidden',
|
|
10872
11210
|
pointerEvents: 'none',
|
|
10873
11211
|
display: 'flex',
|
|
10874
11212
|
gap: 'var(--spacing-02, 4px)',
|
|
10875
11213
|
}, "aria-hidden": "true" }, (_g = this.footerSecondaryButtons) === null || _g === void 0 ? void 0 :
|
|
10876
|
-
_g.map((item) => (index.h("udp-button", { variant: "text", size: "medium", disabled: item.disabled, endIcon: item.icon }, item.label))), this.primaryButtonLabel && (index.h("udp-button", { key: '
|
|
11214
|
+
_g.map((item) => (index.h("udp-button", { variant: "text", size: "medium", disabled: item.disabled, endIcon: item.icon }, item.label))), this.primaryButtonLabel && (index.h("udp-button", { key: '6382b979dc197b65f643b929c17d42f91e3c8958', variant: "contained", size: "medium", disabled: this.primaryButtonDisabled, endIcon: this.primaryButtonIcon }, this.primaryButtonLabel)))))))));
|
|
10877
11215
|
}
|
|
10878
11216
|
get hostEl() { return index.getElement(this); }
|
|
10879
11217
|
static get watchers() { return {
|
|
@@ -10920,7 +11258,7 @@ const UdpSlider = class {
|
|
|
10920
11258
|
render() {
|
|
10921
11259
|
const hasError = !!this.error;
|
|
10922
11260
|
const message = this.error || this.hint;
|
|
10923
|
-
return (index.h(index.Host, { key: '
|
|
11261
|
+
return (index.h(index.Host, { key: 'c46ea343b49e8e87f515656e3a82ce82bd52782a' }, index.h("fluent-field", { key: '9664f9a8054cc5f79ed4fe891134161f582c65ac', "label-position": "above", class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-label", { key: '28dbcc8ef193def3bc6c8254f415a70eef81d38b', slot: "label", disabled: this.disabled }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '865326d46e31e54cf0e80a2689ecc5acf0a8b707', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: 'edf8e2a4e368fadaaa74c02e42de51c6e56a8add', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("fluent-slider", { key: 'f158c0b9203d54f195f882314b24bbbd10663020', slot: "input", name: this.name, disabled: this.disabled, min: this.min, max: this.max, step: this.step, orientation: this.orientation, value: this.value, onChange: this.handleChange }), index.h("udp-text", { key: '8aaeccdeeea74a406e7dd53df56b0c86e1b4336d', slot: "message", variant: "caption1", class: {
|
|
10924
11262
|
message: true,
|
|
10925
11263
|
error: hasError,
|
|
10926
11264
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -10934,7 +11272,7 @@ const UdpSpinner = class {
|
|
|
10934
11272
|
index.registerInstance(this, hostRef);
|
|
10935
11273
|
}
|
|
10936
11274
|
render() {
|
|
10937
|
-
return (index.h(index.Host, { key: '
|
|
11275
|
+
return (index.h(index.Host, { key: '476640046658069569b983816fea2f37cac0343d' }, index.h("fluent-spinner", { key: 'ea9df3d0896c1a16d5774399dde0274199650852', size: this.size, appearance: this.appearance })));
|
|
10938
11276
|
}
|
|
10939
11277
|
};
|
|
10940
11278
|
|
|
@@ -11148,7 +11486,7 @@ const UdpSwatchPicker = class {
|
|
|
11148
11486
|
const gridStyle = this.layout === 'grid' ? { '--grid-columns': Math.min(this.gridColumns, 8).toString() } : {};
|
|
11149
11487
|
const hasError = !!this.error;
|
|
11150
11488
|
const message = this.error || this.hint;
|
|
11151
|
-
return (index.h(index.Host, { key: '
|
|
11489
|
+
return (index.h(index.Host, { key: '3548fe5f20da790a69709bab072a6c224f5e56f9' }, index.h("fluent-field", { key: 'a98d150f1407b4603dbc323ae2a420d8df7c360c', class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-label", { key: 'ae0751ca43a394b17ff01e9edfee0dc363748209', required: this.required, disabled: this.disabled, slot: "label" }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '06d241ac76ddf5daf67d10fca5893d406b090a92', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: 'e4f763dfb04e8333f4efe0443b60534999c5e24c', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("div", { key: '65decf9ebcdd1bf74ef3be72370fcafdbfd2d24d', slot: "input", class: containerClasses, role: "radiogroup", "aria-label": "Color picker", style: gridStyle }, this.swatches.map((swatch, index) => this.renderSwatch(swatch, index))), index.h("udp-text", { key: '3841d745127b4f0dede093a95a74e7db2739d032', slot: "message", variant: "caption1", class: {
|
|
11152
11490
|
message: true,
|
|
11153
11491
|
error: hasError,
|
|
11154
11492
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -11200,7 +11538,7 @@ const UdpTabPanel = class {
|
|
|
11200
11538
|
}
|
|
11201
11539
|
render() {
|
|
11202
11540
|
const isActive = this.activeTabId === this.id;
|
|
11203
|
-
return (index.h(index.Host, { key: '
|
|
11541
|
+
return (index.h(index.Host, { key: 'c05836ddf9ef5bf35db4bb136b446414adb0798a', role: "tabpanel", "aria-labelledby": this.id, "aria-hidden": !isActive ? 'true' : 'false', hidden: !isActive }, index.h("slot", { key: '4b2610933b56b1bb9176f89e41fe348bbf7f8a34' })));
|
|
11204
11542
|
}
|
|
11205
11543
|
static get delegatesFocus() { return true; }
|
|
11206
11544
|
};
|
|
@@ -11262,7 +11600,7 @@ const UdpText = class {
|
|
|
11262
11600
|
.join(' ');
|
|
11263
11601
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11264
11602
|
const Tag = finalAs;
|
|
11265
|
-
return (index.h(index.Host, { key: '
|
|
11603
|
+
return (index.h(index.Host, { key: '86e0780444d718ea941408e65fc98e5acff1dcc3', class: classNames }, index.h(Tag, { key: '7d9ed6f74951760273827eb3fc3fda2951134553' }, index.h("slot", { key: '067b01ca86c3d370f80dbe7ab6b340be5f01880a' }))));
|
|
11266
11604
|
}
|
|
11267
11605
|
};
|
|
11268
11606
|
UdpText.style = udpTextCss();
|
|
@@ -11325,11 +11663,11 @@ const UdpTextarea = class {
|
|
|
11325
11663
|
render() {
|
|
11326
11664
|
const hasError = !!this.error;
|
|
11327
11665
|
const message = this.error || this.hint;
|
|
11328
|
-
return (index.h(index.Host, { key: '
|
|
11666
|
+
return (index.h(index.Host, { key: '9fb6e076b7f46073cbf48c73e6f214905062e7a7', class: { 'has-error': hasError } }, index.h("fluent-field", { key: '0ee8674ea9f35cbca816fb0f749005f4dd2fa1d7', class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, index.h("fluent-textarea", { key: '8ca8795705c9d6e718c31cb3508d34612eb6847a', 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,
|
|
11329
11667
|
// Events
|
|
11330
11668
|
onInput: this.handleInput, onBlur: () => this.inputBlur.emit(), onFocus: () => this.inputFocus.emit(),
|
|
11331
11669
|
// Suppress native invalid popup
|
|
11332
|
-
onInvalid: (e) => e.preventDefault() }), index.h("fluent-label", { key: '
|
|
11670
|
+
onInvalid: (e) => e.preventDefault() }), index.h("fluent-label", { key: '988191db247a107729cc68b6f340aea5bef68932', slot: "label", disabled: this.disabled }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '6bf6d871b57867236c695d812b7c026801acae5a', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: 'd320fd9ec6903593e8d2044574972e2e60338a91', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("udp-text", { key: 'daf6e0c53ce078fcd69abf672742cf7b86344a47', slot: "message", variant: "caption1", class: {
|
|
11333
11671
|
message: true,
|
|
11334
11672
|
error: hasError,
|
|
11335
11673
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -11809,7 +12147,7 @@ const UdpTimeInput = class {
|
|
|
11809
12147
|
const effectiveError = this.internalError || this.error;
|
|
11810
12148
|
const hasError = !!effectiveError;
|
|
11811
12149
|
const message = effectiveError || this.hint;
|
|
11812
|
-
return (index.h(index.Host, { key: '
|
|
12150
|
+
return (index.h(index.Host, { key: '5bc699fe3919dea4e0c3e9f115ddac67a74bddfa', class: { 'has-error': hasError } }, index.h("fluent-field", { key: '21487b7133ed7ab3a1f9817a64aa843b4ad773b9', class: { 'no-message': !message && !this.includeErrorPadding } }, index.h("udp-popover", { key: '04a9750576804aa0c98a409f830a92454492b8e8', slot: "input", open: this.isOpen, position: "bottom-start", toggleOnTriggerClick: false, matchTriggerWidth: true, onPopoverClose: this.handlePopoverClose }, index.h("fluent-text-input", { key: '8b39056e8de8934fedc3eceafd3ebb844c2d82ad', slot: "trigger", ref: el => (this.internalInput = el), class: { 'no-label': !this.label }, value: this.inputValue, name: this.name, autocomplete: "off", placeholder: this.placeholder, disabled: this.disabled, appearance: this.appearance, controlSize: this.controlSize, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, onClick: this.handleInputClick }, index.h("fluent-label", { key: '1a8d0f064d0392bde80139e00ee3c804ff00e46e', required: this.required, disabled: this.disabled, onMouseDown: this.handleLabelMouseDown }, this.label, this.popupHint && (index.h("udp-tooltip", { key: '3b59cd1a660103f0d7b20378778a886a63fbfe7c', content: this.popupHint, positioning: "above" }, index.h("udp-fluent-icon", { key: '20fef4a31e42c2209f4a680b40769c8b06435c8c', name: "info", size: "xs", class: "popup-hint-icon" })))), index.h("div", { key: 'c3c188d8cadd47ec9be8110d0654a5af0c87c3fd', slot: "end" }, index.h("udp-fluent-icon-button", { key: '5ea377718a25a380b23f03393ef67566b08b2d1e', appearance: "transparent", iconName: "clock", disabled: this.disabled, tabindex: -1, onMouseDown: this.handleIconMouseDown, onClick: this.handleIconClick }))), index.h("div", { key: '5046778baca7a629f9ff3bb8e008aad753ce9e81', slot: "content", class: "listbox-container" }, index.h("fluent-listbox", { key: 'baa6f6a49bfa2df430f0f4a684150562db4f0efd' }, this.timeOptions.map((option, index$1) => (index.h("fluent-option", { key: option.value, value: option.value, class: { active: index$1 === this.activeIndex }, onClick: () => this.handleOptionClick(option) }, index.h("span", { slot: "checked-indicator" }), option.label)))))), index.h("udp-text", { key: 'f176652eb1199c346e6bbd544289d1f20b1c50e2', slot: "message", variant: "caption1", class: {
|
|
11813
12151
|
message: true,
|
|
11814
12152
|
error: hasError,
|
|
11815
12153
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -11857,13 +12195,13 @@ const UdpTooltip = class {
|
|
|
11857
12195
|
render() {
|
|
11858
12196
|
// A stable, internal ID is safe because it is scoped to this Shadow Root
|
|
11859
12197
|
const anchorId = 'internal-anchor';
|
|
11860
|
-
return (index.h(index.Host, { key: '
|
|
12198
|
+
return (index.h(index.Host, { key: '597c2f5b793d34ba49b847d6f0ca4430082a4488' }, index.h("div", { key: '9c0a13d18efb5bfdc8e408ca4d886c0593c174a0', id: anchorId, onFocusin: (e) => {
|
|
11861
12199
|
var _a, _b;
|
|
11862
12200
|
// Only show on keyboard-driven focus, not pointer clicks or programmatic focus restoration
|
|
11863
12201
|
if ((_a = e.target) === null || _a === void 0 ? void 0 : _a.matches(':focus-visible')) {
|
|
11864
12202
|
(_b = this.tooltipRef) === null || _b === void 0 ? void 0 : _b.showTooltip(0);
|
|
11865
12203
|
}
|
|
11866
|
-
}, onFocusout: () => { var _a; return (_a = this.tooltipRef) === null || _a === void 0 ? void 0 : _a.hideTooltip(0); } }, index.h("slot", { key: '
|
|
12204
|
+
}, onFocusout: () => { var _a; return (_a = this.tooltipRef) === null || _a === void 0 ? void 0 : _a.hideTooltip(0); } }, index.h("slot", { key: '5a1234bb22f6cdeac39ad7e0980580a6644217dd' })), index.h("fluent-tooltip", { key: '6869447b0a2d209c963a73a2af152856ed771320', ref: el => (this.tooltipRef = el), anchor: anchorId, delay: this.delay, positioning: this.positioning }, this.content)));
|
|
11867
12205
|
}
|
|
11868
12206
|
};
|
|
11869
12207
|
UdpTooltip.style = udpTooltipCss();
|
|
@@ -12054,7 +12392,7 @@ const UdpTree = class {
|
|
|
12054
12392
|
});
|
|
12055
12393
|
}
|
|
12056
12394
|
render() {
|
|
12057
|
-
return (index.h(index.Host, { key: '
|
|
12395
|
+
return (index.h(index.Host, { key: '0ed3ca9cfdda62c0e67d8afb6baf67b4f8fa827c' }, index.h("fluent-tree", { key: '41cc77d04f95818f76ee8332d9df4481178c9735', class: {
|
|
12058
12396
|
'interaction-button': this.interaction === 'button',
|
|
12059
12397
|
collapsible: this.collapsible,
|
|
12060
12398
|
}, size: this.size, appearance: this.appearance }, this.treeItems.length > 0 ? this.renderTreeItems(this.treeItems) : index.h("slot", null))));
|