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
|
@@ -3,8 +3,8 @@ import { themeQuartz, ModuleRegistry, AllEnterpriseModule, LicenseManager, creat
|
|
|
3
3
|
import { g as getGridViewsWithConfigurations, d as deleteSelectedView, u as updateViewAndConfigurations, s as saveView, a as updateView, b as getAvailableGridActions, e as executeQueryWithParameters, c as getPromotedMethodEntities, f as executeQueryAdHoc } from './apiUtils-DEqUG_N0.js';
|
|
4
4
|
import { g as getCurrentApiCatalogId } from './lookupHelper-BP4qC8KW.js';
|
|
5
5
|
import { g as getCurrentTenantId } from './tenantUtils-Basdb1b1.js';
|
|
6
|
-
import { a as SearchOperators, L as LogicalSearchOperator, d as SearchConstants } from './searchObject-
|
|
7
|
-
import { c as composeSearchFragments } from './searchObjectHelper-
|
|
6
|
+
import { a as SearchOperators, L as LogicalSearchOperator, d as SearchConstants } from './searchObject-DpUZkcYC.js';
|
|
7
|
+
import { c as composeSearchFragments } from './searchObjectHelper-BjA6OHxg.js';
|
|
8
8
|
import { S as StatusRenderer, I as IconRenderer, A as ActionsRenderer } from './status-renderer-BoY7sar9.js';
|
|
9
9
|
import { c as configureUdpColumnMods } from './configureUdpColumnMods-CSUDZh9G.js';
|
|
10
10
|
import { isEqual } from 'lodash-es';
|
|
@@ -2437,6 +2437,151 @@ class AgGridExpandCollapseAll {
|
|
|
2437
2437
|
}
|
|
2438
2438
|
}
|
|
2439
2439
|
|
|
2440
|
+
/**
|
|
2441
|
+
* columnSelector — a "Choose Columns" drawer that mirrors AG Grid's native column
|
|
2442
|
+
* chooser but arranges the columns into consumer-defined groups, each with a tri-state
|
|
2443
|
+
* header checkbox that shows/hides the whole group at once. Opened from the toolbar's
|
|
2444
|
+
* Display Settings menu (fires `onAction('columnSelector')`).
|
|
2445
|
+
*
|
|
2446
|
+
* Show/hide only — reorder and pinning are out of scope. Visibility is applied via
|
|
2447
|
+
* `applyColumnState`, so it composes with saved views' existing column-state capture.
|
|
2448
|
+
*/
|
|
2449
|
+
class ColumnSelector {
|
|
2450
|
+
constructor() {
|
|
2451
|
+
this.groups = [];
|
|
2452
|
+
this.ungroupedLabel = 'Other';
|
|
2453
|
+
this.open = false;
|
|
2454
|
+
this.search = '';
|
|
2455
|
+
/** Accordion item ids the user has expanded. Empty = all collapsed (the default). */
|
|
2456
|
+
this.expandedGroups = new Set();
|
|
2457
|
+
this.close = () => {
|
|
2458
|
+
this.open = false;
|
|
2459
|
+
this.search = '';
|
|
2460
|
+
this.refresh();
|
|
2461
|
+
};
|
|
2462
|
+
// Mirror the accordion's own expand/collapse into our set so it survives re-renders
|
|
2463
|
+
// (a checkbox toggle re-renders the whole drawer). Ignored while searching, when every
|
|
2464
|
+
// matching group is force-expanded.
|
|
2465
|
+
this.handleAccordionChange = (e) => {
|
|
2466
|
+
var _a, _b, _c, _d;
|
|
2467
|
+
if (this.search)
|
|
2468
|
+
return;
|
|
2469
|
+
// udp-accordion re-emits Fluent's change event as the detail; the toggled
|
|
2470
|
+
// accordion-item is its target. `value` is a plain attribute (not a FAST prop), so
|
|
2471
|
+
// read it off the DOM; `expanded` reflects the new state.
|
|
2472
|
+
const item = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.target;
|
|
2473
|
+
const value = (_b = item === null || item === void 0 ? void 0 : item.getAttribute) === null || _b === void 0 ? void 0 : _b.call(item, 'value');
|
|
2474
|
+
if (!value)
|
|
2475
|
+
return;
|
|
2476
|
+
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;
|
|
2477
|
+
if (expanded)
|
|
2478
|
+
this.expandedGroups.add(value);
|
|
2479
|
+
else
|
|
2480
|
+
this.expandedGroups.delete(value);
|
|
2481
|
+
};
|
|
2482
|
+
}
|
|
2483
|
+
init(api, refresh, params) {
|
|
2484
|
+
this.api = api;
|
|
2485
|
+
this.refresh = refresh;
|
|
2486
|
+
this.applyParams(params);
|
|
2487
|
+
}
|
|
2488
|
+
update(params) {
|
|
2489
|
+
this.applyParams(params);
|
|
2490
|
+
this.refresh();
|
|
2491
|
+
}
|
|
2492
|
+
applyParams(params) {
|
|
2493
|
+
var _a, _b;
|
|
2494
|
+
this.groups = (_a = params === null || params === void 0 ? void 0 : params.groups) !== null && _a !== void 0 ? _a : [];
|
|
2495
|
+
this.ungroupedLabel = (_b = params === null || params === void 0 ? void 0 : params.ungroupedLabel) !== null && _b !== void 0 ? _b : 'Other';
|
|
2496
|
+
}
|
|
2497
|
+
onAction(name) {
|
|
2498
|
+
if (name === 'columnSelector') {
|
|
2499
|
+
this.open = true;
|
|
2500
|
+
this.refresh();
|
|
2501
|
+
}
|
|
2502
|
+
}
|
|
2503
|
+
// Columns eligible for the chooser: everything except AG Grid's structural columns
|
|
2504
|
+
// (selection checkbox, auto group/detail) and any column the consumer opted out of the
|
|
2505
|
+
// tool panel — mirroring what the native chooser shows.
|
|
2506
|
+
toggleableColumns() {
|
|
2507
|
+
var _a;
|
|
2508
|
+
return ((_a = this.api.getColumns()) !== null && _a !== void 0 ? _a : []).filter(col => !col.getColId().startsWith('ag-Grid-') &&
|
|
2509
|
+
col.getColDef().suppressColumnsToolPanel !== true);
|
|
2510
|
+
}
|
|
2511
|
+
// Partition the toggleable columns into the configured groups (in params order,
|
|
2512
|
+
// preserving each group's column order) plus a trailing "ungrouped" section.
|
|
2513
|
+
buildSections() {
|
|
2514
|
+
const toggleable = this.toggleableColumns();
|
|
2515
|
+
const byId = new Map(toggleable.map(col => [col.getColId(), col]));
|
|
2516
|
+
const used = new Set();
|
|
2517
|
+
const sections = this.groups
|
|
2518
|
+
.map(group => {
|
|
2519
|
+
var _a;
|
|
2520
|
+
const columns = ((_a = group.columns) !== null && _a !== void 0 ? _a : [])
|
|
2521
|
+
.map(id => byId.get(id))
|
|
2522
|
+
.filter((col) => !!col);
|
|
2523
|
+
columns.forEach(col => used.add(col.getColId()));
|
|
2524
|
+
return { label: group.label, columns };
|
|
2525
|
+
})
|
|
2526
|
+
.filter(section => section.columns.length > 0);
|
|
2527
|
+
const ungrouped = toggleable.filter(col => !used.has(col.getColId()));
|
|
2528
|
+
if (ungrouped.length) {
|
|
2529
|
+
sections.push({ label: this.ungroupedLabel, columns: ungrouped });
|
|
2530
|
+
}
|
|
2531
|
+
return sections;
|
|
2532
|
+
}
|
|
2533
|
+
matchesSearch(col) {
|
|
2534
|
+
var _a;
|
|
2535
|
+
if (!this.search)
|
|
2536
|
+
return true;
|
|
2537
|
+
const label = ((_a = col.getColDef().headerName) !== null && _a !== void 0 ? _a : col.getColId()).toLowerCase();
|
|
2538
|
+
return label.includes(this.search.toLowerCase());
|
|
2539
|
+
}
|
|
2540
|
+
setVisible(colIds, visible) {
|
|
2541
|
+
if (!colIds.length)
|
|
2542
|
+
return;
|
|
2543
|
+
this.api.applyColumnState({ state: colIds.map(colId => ({ colId, hide: !visible })) });
|
|
2544
|
+
this.refresh();
|
|
2545
|
+
}
|
|
2546
|
+
render() {
|
|
2547
|
+
if (!this.open)
|
|
2548
|
+
return null;
|
|
2549
|
+
// Sections after search filtering; sections with no matches are dropped.
|
|
2550
|
+
const sections = this.buildSections()
|
|
2551
|
+
.map(section => ({
|
|
2552
|
+
label: section.label,
|
|
2553
|
+
columns: section.columns.filter(col => this.matchesSearch(col)),
|
|
2554
|
+
}))
|
|
2555
|
+
.filter(section => section.columns.length > 0);
|
|
2556
|
+
const shown = sections.flatMap(section => section.columns);
|
|
2557
|
+
const visibleCount = shown.filter(col => col.isVisible()).length;
|
|
2558
|
+
const allVisible = shown.length > 0 && visibleCount === shown.length;
|
|
2559
|
+
const noneVisible = visibleCount === 0;
|
|
2560
|
+
return (h("udp-fluent-drawer", { open: this.open, drawerTitle: "Choose Columns", position: "end",
|
|
2561
|
+
//size="small"
|
|
2562
|
+
onDrawerClose: this.close }, h("udp-flexbox", { direction: "column", gap: "sm" }, h("udp-search-input", { value: this.search, placeholder: "Search columns", onValueChanged: (e) => {
|
|
2563
|
+
var _a;
|
|
2564
|
+
this.search = (_a = e.detail) !== null && _a !== void 0 ? _a : '';
|
|
2565
|
+
this.refresh();
|
|
2566
|
+
} }), shown.length > 0 && (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) })), h("udp-accordion", { appearance: "contained", expandmode: "multi", items: sections.map((section, i) => ({
|
|
2567
|
+
id: `group-${i}`,
|
|
2568
|
+
label: section.label,
|
|
2569
|
+
// Search force-expands every matching group; otherwise honour the user's
|
|
2570
|
+
// expand/collapse (default collapsed).
|
|
2571
|
+
expanded: this.search ? true : this.expandedGroups.has(`group-${i}`),
|
|
2572
|
+
})), onAccordionChanged: this.handleAccordionChange }, sections.map((section, i) => {
|
|
2573
|
+
const groupVisible = section.columns.filter(col => col.isVisible()).length;
|
|
2574
|
+
const groupAll = groupVisible === section.columns.length;
|
|
2575
|
+
const groupNone = groupVisible === 0;
|
|
2576
|
+
return (h("div", { slot: `group-${i}-content`, key: `group-${i}`, class: "column-selector-items" }, h("udp-fluent-checkbox", { label: "Select all", includeErrorPadding: false, checked: groupAll, indeterminate: !groupAll && !groupNone, onValueChanged: () => this.setVisible(section.columns.map(col => col.getColId()), !groupAll) }), h("div", { class: "column-selector-column-list" }, section.columns.map(col => {
|
|
2577
|
+
var _a;
|
|
2578
|
+
const def = col.getColDef();
|
|
2579
|
+
return (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) }));
|
|
2580
|
+
}))));
|
|
2581
|
+
})), shown.length === 0 && (h("udp-text", { variant: "body1" }, "No columns match your search.")))));
|
|
2582
|
+
}
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2440
2585
|
const gridFunctionRegistry = {
|
|
2441
2586
|
agGridExport: AgGridExport,
|
|
2442
2587
|
agGridExcelExport: AgGridExcelExport,
|
|
@@ -2452,6 +2597,7 @@ const gridFunctionRegistry = {
|
|
|
2452
2597
|
quickFilterChips: QuickFilterChips,
|
|
2453
2598
|
agGridRefreshData: agGridRefreshData,
|
|
2454
2599
|
agGridExpandCollapseAll: AgGridExpandCollapseAll,
|
|
2600
|
+
columnSelector: ColumnSelector,
|
|
2455
2601
|
};
|
|
2456
2602
|
|
|
2457
2603
|
function createTitleContainer(title, subtitle) {
|
|
@@ -2843,6 +2989,7 @@ const AgGridBase = class {
|
|
|
2843
2989
|
forEachNodeAfterFilterAndSort: callback => this.gridApi.forEachNodeAfterFilterAndSort(callback),
|
|
2844
2990
|
stopEditing: (cancel) => this.gridApi.stopEditing(cancel),
|
|
2845
2991
|
getFocusedCell: () => this.gridApi.getFocusedCell(),
|
|
2992
|
+
getAllDisplayedColumns: () => this.gridApi.getAllDisplayedColumns(),
|
|
2846
2993
|
});
|
|
2847
2994
|
}
|
|
2848
2995
|
this.gridReady.emit(this.gridApi);
|
|
@@ -2944,7 +3091,7 @@ const AgGridBase = class {
|
|
|
2944
3091
|
this.updateGridContextValues();
|
|
2945
3092
|
}
|
|
2946
3093
|
render() {
|
|
2947
|
-
return (h("div", { key: '
|
|
3094
|
+
return (h("div", { key: '8d1e2609edad31f473021b89b14e29629a2c9573', ref: el => (this.gridContainerEl = el) }, h("ghost-render", { key: 'b2c20a3091265323ce138e79f2b5c8cba1969eb7' }, h("div", { key: '01210fa046859a2f52d6ab636c9b0e7bd4559da4' }, h("udp-dialog", { key: '9a654075e15fd4507b219e556abd04bb16443c34' }), h("udp-list-item", { key: 'ff3ca7dd2ca58922eee4813853863a765cf09a67' }), h("hint-panel", { key: '79093701a783ec49902528273c4894057424a7fb' }), h("udp-side-sheet", { key: '3ea9829fd3d726b60f0cb7b0eedaea5e308ef371' }), h("udp-fluent-dialog", { key: '63a88db71337348a4fa188ae48bacf5cd26601ee' }), h("udp-fluent-text", { key: '37aa26a11e2fbc82e984bfc3693fdc5aa3db6520' }), h("udp-fluent-text-input", { key: 'ff173d0a3dbbde41ecdf1a3b30c37c5eca45c9c1' }), h("udp-fluent-switch", { key: '13bd88ff11b5017e51bf2520000c2df05b288d0c' }), h("udp-fluent-button", { key: 'ae0f2ec0ee6da3a7a2b28175c159d2ef70dc776c' }), h("udp-text", { key: '684c39b1076b37df527229a571a276e22b599fee' }), h("udp-search-input", { key: 'ebedaa5ba2a469cf7cd2b80f10916bb8205053d8' }), h("udp-export-sheet", { key: '3fbc590e9ed8ed7ddc1c9ed66017f85a26af8e74' }), h("udp-fluent-avatar", { key: '5599aee9264abec6591f1e95e845355545cbdeb7' }), h("udp-fluent-icon-button", { key: '6cb17c8b3b3b10ee240054dd1271885d2920e377' }), h("udp-fluent-icon", { key: 'aaf65833610f221e2b93e31358849928859fc7e0' }), h("udp-fluent-badge", { key: 'a889bd42bb90c3399e063d1273d414241c88c249' }), h("udp-empty-state", { key: '1be9cd5618cea184b46194b66975e634fc6d84d5' }), h("udp-message-bar", { key: '80085dd6a91307d10d5f1af60673bb18540c34ea' }))), h("grid-header", { key: '92983d1eecd1f85f190a34ad6436b8d7a6eccf09', headerConfig: this.headerConfig, gridFunctions: this.gridFunctions, gridFunctionInstances: this.gridFunctionInstances, refreshKey: this.refreshKey, onHeaderAction: this.onHeaderAction }), h("div", { key: 'd32ad6f8e6ea7fad36d3521aa4d165df73d26e35', ref: el => (this.gridEl = el) })));
|
|
2948
3095
|
}
|
|
2949
3096
|
static get watchers() { return {
|
|
2950
3097
|
"gridFunctions": [{
|
|
@@ -3007,7 +3154,7 @@ const ClientSideGrid = class {
|
|
|
3007
3154
|
this.clientSideConfig = Object.assign(Object.assign({}, this.gridOptions), { rowModelType: 'clientSide' });
|
|
3008
3155
|
}
|
|
3009
3156
|
render() {
|
|
3010
|
-
return (h("ag-grid-base", { key: '
|
|
3157
|
+
return (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 }));
|
|
3011
3158
|
}
|
|
3012
3159
|
static get watchers() { return {
|
|
3013
3160
|
"rowData": [{
|
|
@@ -3093,7 +3240,7 @@ const GhostRender = class {
|
|
|
3093
3240
|
// The <slot /> is necessary to prevent the Stencil compiler from
|
|
3094
3241
|
// overly optimizing this component's output and aliasing the
|
|
3095
3242
|
// defineCustomElement export, which breaks downstream wrappers.
|
|
3096
|
-
return (h(Host, { key: '
|
|
3243
|
+
return (h(Host, { key: 'aff1f9f2bc44c5dca31e23f8b547045b3406a8dc' }, h("slot", { key: '68c3824e69cea30ab4728fc76616f70cb86a9a21' })));
|
|
3097
3244
|
}
|
|
3098
3245
|
};
|
|
3099
3246
|
GhostRender.style = `:host {
|
|
@@ -3118,7 +3265,7 @@ function computeHasScopingTools(gridFunctions) {
|
|
|
3118
3265
|
return gridFunctions === null || gridFunctions === void 0 ? void 0 : gridFunctions.some(f => SCOPING_FUNCTIONS.has(f.name));
|
|
3119
3266
|
}
|
|
3120
3267
|
|
|
3121
|
-
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}`;
|
|
3268
|
+
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)}`;
|
|
3122
3269
|
|
|
3123
3270
|
const GridHeader = class {
|
|
3124
3271
|
constructor(hostRef) {
|
|
@@ -3177,6 +3324,7 @@ const GridHeader = class {
|
|
|
3177
3324
|
const advancedSearchInstance = instanceByName('advancedSearch');
|
|
3178
3325
|
const refreshInstance = instanceByName('agGridRefreshData');
|
|
3179
3326
|
const expandCollapseInstance = instanceByName('agGridExpandCollapseAll');
|
|
3327
|
+
const columnSelectorInstance = instanceByName('columnSelector');
|
|
3180
3328
|
// ── Zone B: Utilities (Display Settings cog) ──────────────────────────────
|
|
3181
3329
|
const settingsMenuItems = [
|
|
3182
3330
|
enabledFunctionNames.has('agGridSizeColumnsToFit') && {
|
|
@@ -3212,8 +3360,10 @@ const GridHeader = class {
|
|
|
3212
3360
|
].filter(Boolean);
|
|
3213
3361
|
const hasUdpExport = enabledFunctionNames.has('udpExport');
|
|
3214
3362
|
const hasExpandCollapse = enabledFunctionNames.has('agGridExpandCollapseAll');
|
|
3363
|
+
const hasColumnSelector = enabledFunctionNames.has('columnSelector');
|
|
3215
3364
|
const hasUtilityButtons = hasUdpExport ||
|
|
3216
3365
|
hasExpandCollapse ||
|
|
3366
|
+
hasColumnSelector ||
|
|
3217
3367
|
enabledFunctionNames.has('agGridRefreshData') ||
|
|
3218
3368
|
settingsMenuItems.length > 0;
|
|
3219
3369
|
// ── Layout rules ──────────────────────────────────────────────────────────
|
|
@@ -3230,12 +3380,16 @@ const GridHeader = class {
|
|
|
3230
3380
|
const showToolbar = hasGridFunctions && !isPromoted && !isFullyPromoted;
|
|
3231
3381
|
// ── Zone B renderer (Utilities) ───────────────────────────────────────────
|
|
3232
3382
|
const renderUtilitiesZone = () => {
|
|
3233
|
-
var _a, _b, _c, _d;
|
|
3383
|
+
var _a, _b, _c, _d, _e;
|
|
3234
3384
|
return [
|
|
3235
3385
|
hasExpandCollapse && (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' }, 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') }))),
|
|
3236
3386
|
enabledFunctionNames.has('agGridRefreshData') && (h("udp-tooltip", { content: "Refresh data" }, 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') }))),
|
|
3237
3387
|
hasUdpExport && (h("udp-tooltip", { content: "Export" }, h("udp-fluent-icon-button", { iconName: "export", shape: "rounded", onClick: () => this.action('udpExport') }))),
|
|
3388
|
+
hasColumnSelector && (h("udp-tooltip", { content: "Choose columns" }, h("udp-fluent-icon-button", { iconName: "table-settings", shape: "rounded", onClick: () => this.action('columnSelector') }))),
|
|
3238
3389
|
settingsMenuItems.length > 0 && (h("udp-fluent-menu", { buttonType: "icon", shape: "rounded", endIconName: "settings", appearance: "secondary", size: "medium", items: settingsMenuItems })),
|
|
3390
|
+
// Column-selector drawer — an overlay, so placement here is incidental; it only
|
|
3391
|
+
// renders content while open (triggered by the "Choose Columns" menu item above).
|
|
3392
|
+
enabledFunctionNames.has('columnSelector') && ((_e = columnSelectorInstance === null || columnSelectorInstance === void 0 ? void 0 : columnSelectorInstance.render) === null || _e === void 0 ? void 0 : _e.call(columnSelectorInstance)),
|
|
3239
3393
|
];
|
|
3240
3394
|
};
|
|
3241
3395
|
// ── Zone A renderer (Scoping) ─────────────────────────────────────────────
|
|
@@ -3281,7 +3435,7 @@ const HintPanel = class {
|
|
|
3281
3435
|
};
|
|
3282
3436
|
}
|
|
3283
3437
|
render() {
|
|
3284
|
-
return (h("div", { key: '
|
|
3438
|
+
return (h("div", { key: '7dd7cee1b25445515d3e831bedf6b688b5926941', class: "hint-container" }, this.showHint && (h("div", { key: 'b192bfd95cc66e3fe8399261af1364f88fa1635d', class: "hint-content" }, h("div", { key: '129b35433ccf615a5e711194a4bc693bfc371b10' }, h("unity-typography", { key: 'c3fc5998c707c1c4af5912b15f8c0cf603848cc4', variant: "body" }, " ", this.hint, " ")), this.hideHintText && (h("div", { key: '7d56f6543cef450d72ba7fcf43c8a8604f4ca847', class: "hide-help" }, h("udp-button", { key: 'c83b6aa2db427fb241270663cba09645abc3c738', size: "small", color: "info", onClick: this.handleHideHint }, this.hideHintText)))))));
|
|
3285
3439
|
}
|
|
3286
3440
|
};
|
|
3287
3441
|
HintPanel.style = hintPanelCss();
|
|
@@ -3734,51 +3888,51 @@ const TestComponentsPage = class {
|
|
|
3734
3888
|
}
|
|
3735
3889
|
render() {
|
|
3736
3890
|
var _a;
|
|
3737
|
-
return (h("div", { key: '
|
|
3891
|
+
return (h("div", { key: '259cb3a8ed21dd8b5209dc68b0fec29bc451a563', style: { display: 'flex', flexDirection: 'column' } }, h("div", { key: '8b7ed2c5b31c0140793af38171c12bae3ce305fb', style: { display: 'flex', gap: '1rem', marginTop: '1rem' } }, h("udp-fluent-button", { key: '4ea0b0c1b469a9f78434c4cc3d0153c16e01674c', onClick: () => (this.formDrawerOpen = true) }, "Open Form Drawer"), h("udp-fluent-button", { key: '1b28be56d4023a4e93e8fa1a79bc67aff7661bbd', onClick: () => (this.drawerOpen = true) }, "Open Grid Drawer")), h("div", { key: '2703b55f647ce5ac3be1fd076d0c749ce07534c5', style: { display: 'flex', flexDirection: 'column', gap: '1rem', marginTop: '2rem' } }, h("h4", { key: '6aaf56b6dedc63baaf53403dc908d846ef328ad5' }, "Scroll Overflow Strategy"), h("udp-fluent-tablist", { key: '0e0d33972caefe744e3594f2dcdbe1013021ca5e', tabList: this.tabs, onTabChange: this.handleTabChange, appearance: "transparent", size: "small", orientation: "horizontal", overflowStrategy: "scroll" }, h("span", { key: '937d874b45a4890dc1d5afa7aecf3a089c7de86f', slot: "grids-start", style: { color: 'red', fontWeight: 'bold' } }, "!")), h("h4", { key: '13383fe1a055cfe6d9f7b64b2288594321775b7c' }, "Collapse Overflow Strategy"), h("udp-fluent-tablist", { key: '71a234c9d6334d72cb60c1a40b650cff0a03384f', tabList: this.tabs, onTabChange: this.handleTabChange, appearance: "contained", size: "small", orientation: "horizontal", overflowStrategy: "collapse" }, h("span", { key: '17a64ccb9ab48aa4397e3e15a2977d20f414c421', slot: "grids-start", style: { color: 'red', fontWeight: 'bold' } }, "!")), h("div", { key: 'b69f89f64447b3958951acfde36f39e9a2b13540', style: { padding: '1rem', border: '1px solid #ccc' } }, h("udp-tab-panel", { key: '94563e85c7ce806b4fd232ddb722e0cae36bcacf', id: "buttons-inputs", activeTabId: this.currentTab }, h("div", { key: '3e064b4233b9968eaee3761756f1fb0b6dea38b2', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, h("h3", { key: 'aebb8b2dfbef6a14b8f1544ccba19eb0f536d083' }, "Buttons & Inputs"), h("div", { key: '97de512c0f547b88579da0364df4edb65c8d9dee', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-switch", { key: '53467ebaee33a63382f54b6093ab8dc3a021db16', label: "Toggle Loading", checked: this.isButtonLoading, onValueChanged: e => (this.isButtonLoading = e.detail) }), h("udp-fluent-button", { key: '1fdddc7caae9415a2b5c05e847cab7fa6d8db1a3', loading: this.isButtonLoading, size: "medium" }, h("udp-fluent-icon", { key: '5573be6459ec8049daa60fc3da6a5b6329c553c8', name: "calendar", size: "sm", slot: "start" }), "Loading Button")), h("div", { key: '05cb331e21a4ae8f9c6d604b39cade1b44894311' }, h("udp-fluent-button", { key: '4f4382c2762856a482a1442da1e3ba616370e024', onClick: () => console.log('Click Me Clicked') }, "Click Me")), h("div", { key: '0bbf3a5e769c817006b8a32ad036d83339958d8b' }, h("h4", { key: '12878602332083d4e3298eaef7769178971386d1' }, "New Icon Props"), h("div", { key: 'fbd2d0104208ea6c02f55805d7ffd3aea61d63b9', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-button", { key: '740514c1483d5afb2bdc4c7849fb9806e8a93c85', startIconName: "checkmark", onClick: () => console.log('Start Icon Clicked') }, "Start Icon"), h("udp-fluent-button", { key: '79dd2c5b38b86d0cdff21fbd78d8b685ab7d7244', size: "large", onClick: () => console.log('End Icon Clicked'), endIconName: "home" }, "End Icon"), h("udp-fluent-button", { key: '876eb3aa3fc36acad6962394c5ebf2015ddc2003', appearance: "primary", onClick: () => console.log('Primary Clicked') }, "Delete"), h("udp-fluent-button", { key: '8712a723e343886eb2c6cc72ee6da0cd682348b9', startIconName: "checkmark", onClick: () => console.log('Override Icon Clicked') }, h("span", { key: '225487c880b0560c85feedf2a523221c16a060a4', slot: "start" }, h("udp-fluent-icon", { key: '30818b05fea732e0f1b31b80b3e6084cdaa7730b', name: "home", size: "md" })), "Slotted icon override"))), h("div", { key: '1e4ff49d242a5004ce0a6a791b87bad29031f41e' }, h("h4", { key: '023fd429281c5a32a8bfc0639c21bd787cac4cec' }, "Compound Buttons"), h("div", { key: '36ed7d755e48da2aed6bc92039bada889c3fe16e', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-compound-button", { key: 'b77f297405663a619f66720cceffb23f4647d044', description: "Hello World", startIconName: "calendar" }, "Compound Button"), h("udp-compound-button", { key: '6448725f887c31598048c4aeb201691ff265cfb1', appearance: "primary", description: "With End Icon", endIconName: "delete" }, "Primary"), h("udp-compound-button", { key: '0aa8c0f5b5a88e1ccb0e17ac4c81a90a9c1f0148', description: "Custom Slot", size: "small", startIconName: "add", onClick: () => console.log('Compound Button Clicked') }, h("span", { key: '5b210a97be29245580c06cf65780b772b041e9af', slot: "description" }, "Slotted Description"), "Compound")), h("div", { key: '0b043566923a579446dd90494c271e8b3d8d7cb1', style: {
|
|
3738
3892
|
marginTop: '1rem',
|
|
3739
3893
|
display: 'flex',
|
|
3740
3894
|
gap: '1rem',
|
|
3741
3895
|
alignItems: 'center',
|
|
3742
|
-
} }, h("udp-fluent-switch", { key: '
|
|
3896
|
+
} }, h("udp-fluent-switch", { key: '1f9bd9a6f26b91f6f0c202268795e09e2e4085b3', checked: this.isButtonLoading, onValueChanged: e => (this.isButtonLoading = e.detail) }, "Toggle Loading"), h("udp-compound-button", { key: 'c2228a6313b6ab1bc67cf918ef5fcc7129518ade', description: "Click switch to load", endIconName: "add", loading: this.isButtonLoading, onClick: () => console.log('Compound Button Clicked') }, "Loading Test"))), h("div", { key: '83dfe5cedea8571d4d4a4555678eb946826fc9d9' }, h("h4", { key: 'b8ee8f9754b9f05c84e18b9ae0f7bdc1eaaf9d89' }, "Toggle Buttons"), h("div", { key: '0daab9dcbe8bc7f432aa02d29034dba41a915cbe', style: { display: 'flex', gap: '1rem', alignItems: 'center', flexWrap: 'wrap' } }, h("udp-fluent-toggle-button", { key: 'd91581c1f2464d7a8783c744d4ba0eca9d20f1ac' }, "Toggle Me"), h("udp-fluent-toggle-button", { key: '9085d33be727cb31ec7f108b31de1fbd99cf0984', pressed: true, disabled: true }, "Disabled Pressed"), h("udp-fluent-toggle-button", { key: '8399900975e4da964ef1d7f065f2ba502ff91f06' }, h("udp-fluent-icon", { key: '36c707a0784d4a88757e5e70e873ec220e930e89', name: "add", size: "sm", slot: "start" }), "Slotted icon"), h("udp-fluent-toggle-button", { key: 'b1149df5564afa0725b009781f504dc095553ddb', endIconName: "settings" }, "End Icon Prop"), h("udp-fluent-toggle-button", { key: '828b9a62c3d08bb9b031d1c89331115a95748b10', size: "small", startIconName: "add" }, "Small"), h("udp-fluent-toggle-button", { key: '104c41a27db9b5c248a5b511f4d4e82e228164bd', size: "large", endIconName: "delete" }, "Large"))), h("div", { key: 'eff1d230b3f2bee9912b00ededc6099c1d8e44c3' }, h("h4", { key: '6828bacec102844aebb46b2ce45a8f03e92e4825' }, "Icon Buttons (Dynamic Sizing)"), h("div", { key: 'c0909854029fce0a69d80555e1b5e4bcbe8672a5', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("div", { key: 'c6dfb90f97d8b348831873df72d3a97b705d3296', style: { display: 'flex', flexDirection: 'column', alignItems: 'center' } }, h("udp-fluent-icon-button", { key: '42b65c8e25c056191f8277ffb757af87f9555693', iconName: "settings", size: "small", appearance: "primary", ariaLabel: "Edit" }), h("span", { key: '55853919bf46b833d279f06c75116787c46a9306', style: { fontSize: '12px' } }, "Small (Subtle)")), h("div", { key: '9a02a59ac9b31c40744d1cbebef26cc6868d9011', style: { display: 'flex', flexDirection: 'column', alignItems: 'center' } }, h("udp-fluent-icon-button", { key: 'e593535362c923a89d68752f573a6167164766ee', iconName: "settings", size: "medium",
|
|
3743
3897
|
//appearance="primary"
|
|
3744
|
-
ariaLabel: "Delete" }), h("span", { key: '
|
|
3898
|
+
ariaLabel: "Delete" }), h("span", { key: '62ba6dca8eb4d9cf05cda63202288640f3e8ca03', style: { fontSize: '12px' } }, "Medium (Outline)")), h("div", { key: '9b3ea77d5a27f76c0ab3cd889a88ddd5df5670d1', style: { display: 'flex', flexDirection: 'column', alignItems: 'center' } }, h("udp-fluent-icon-button", { key: 'becb64bfc00f04641028bd003a2c8d85b4fe45b3', iconName: "settings", size: "large", appearance: "primary", ariaLabel: "Settings" }), h("span", { key: '40b066df359d985c3d4cf4d267cc234b7839cccc', style: { fontSize: '12px' } }, "Large (Transparent)")))), h("div", { key: 'a3d73356c5f6a761b51749ceb0af69ade68c0c0d' }, h("udp-loading-spinner", { key: 'c7b3ef842d657312d9ed54fddc92dbaf2941484e', size: "tiny", appearance: "primary" })))), h("udp-tab-panel", { key: '98fe08e5f1c3defe5750fc4ba15d1fec24659948', id: "inputs", activeTabId: this.currentTab }, h("div", { key: 'd93ec35deb139e305e7fefe13d7064482e41503b', style: { display: 'flex', gap: '1rem', flexDirection: 'column' } }, h("div", { key: '2da75c4ab7e4075cb3e814663033357bd066b8fe', style: {
|
|
3745
3899
|
padding: '1rem',
|
|
3746
3900
|
backgroundColor: 'var(--colorNeutralBackground3, #f5f5f5)',
|
|
3747
3901
|
borderRadius: '8px',
|
|
3748
3902
|
marginBottom: '1rem',
|
|
3749
|
-
} }, h("h3", { key: '
|
|
3903
|
+
} }, h("h3", { key: 'b4dc898ad916e48c59efb67f3c6907d78307c737', style: { margin: '0 0 1rem 0', fontSize: '16px', fontWeight: '600' } }, "Global Property Controls"), h("div", { key: 'b841b24ab293d35eed3bae9699b73466ab2bbecf', style: {
|
|
3750
3904
|
display: 'flex',
|
|
3751
3905
|
gap: '2rem',
|
|
3752
3906
|
flexWrap: 'wrap',
|
|
3753
3907
|
alignItems: 'flex-end',
|
|
3754
|
-
} }, h("udp-fluent-dropdown", { key: '
|
|
3908
|
+
} }, h("udp-fluent-dropdown", { key: 'f9d3a5dac07baad9a80b451b9517e25c8afd088e', label: "Appearance", value: this.inputControlAppearance, options: [
|
|
3755
3909
|
{ label: 'Outline', value: 'outline' },
|
|
3756
3910
|
{ label: 'Underline', value: 'underline' },
|
|
3757
3911
|
{ label: 'Filled Lighter', value: 'filled-lighter' },
|
|
3758
3912
|
{ label: 'Filled Darker', value: 'filled-darker' },
|
|
3759
|
-
], optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.inputControlAppearance = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '150px' } }), h("udp-fluent-dropdown", { key: '
|
|
3913
|
+
], optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.inputControlAppearance = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '150px' } }), h("udp-fluent-dropdown", { key: '63b81d904735f7f9ff50667aa2f09a0693f8033e', label: "Control Size", value: this.inputControlSize, options: [
|
|
3760
3914
|
{ label: 'Small', value: 'small' },
|
|
3761
3915
|
{ label: 'Medium', value: 'medium' },
|
|
3762
3916
|
{ label: 'Large', value: 'large' },
|
|
3763
|
-
], optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.inputControlSize = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '120px' } }), h("udp-fluent-switch", { key: '
|
|
3917
|
+
], optionValue: "value", optionLabel: "label", onValueChanged: (e) => { var _a; return (this.inputControlSize = ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) || e.detail); }, style: { minWidth: '120px' } }), h("udp-fluent-switch", { key: 'a6576c15b1e73976c3d8169cee3c58d9b2d00d3a', label: "Required", labelPosition: "after", checked: this.inputControlRequired, onValueChanged: (e) => (this.inputControlRequired = e.detail) }), h("udp-fluent-switch", { key: '9a66fd143dbc23a39a3a828632f15a370e91119b', label: "Disabled", labelPosition: "after", checked: this.inputControlDisabled, onValueChanged: (e) => (this.inputControlDisabled = e.detail) }), h("udp-fluent-switch", { key: '0b5a01386d1dd64f1bdc5e1a5e432cc806bf7181', label: "Readonly", labelPosition: "after", checked: this.inputControlReadonly, onValueChanged: (e) => (this.inputControlReadonly = e.detail) })), h("p", { key: '9a34e44de01b56bc9c7493c86b416ccfbbc701cb', style: {
|
|
3764
3918
|
margin: '0.75rem 0 0',
|
|
3765
3919
|
fontSize: '12px',
|
|
3766
3920
|
color: 'var(--colorNeutralForeground3)',
|
|
3767
|
-
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), h("udp-fluent-text-input", { key: '
|
|
3921
|
+
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), 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" }), 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" }), 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' }), 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' }), 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' }), 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' }), 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' }), h("udp-fluent-dropdown", { key: '8d0058ad096cae523a5263cee66d57b3b8872c5f', label: "Dropdown", placeholder: "Select an option...", appearance: this.inputControlAppearance, disabled: this.inputControlDisabled, optionValue: "value", optionLabel: "label", options: [
|
|
3768
3922
|
{ label: 'Option 1', value: 'option1' },
|
|
3769
3923
|
{ label: 'Option 2', value: 'option2' },
|
|
3770
3924
|
{ label: 'Option 3', value: 'option3' },
|
|
3771
|
-
], controlSize: this.inputControlSize, multiple: true }), h("udp-autocomplete", { key: '
|
|
3925
|
+
], controlSize: this.inputControlSize, multiple: true }), h("udp-autocomplete", { key: '894d2e93b16ebed8732d2d4e6a0334e321f995f3', label: "Autocomplete", placeholder: "Type to search...", appearance: this.inputControlAppearance, disabled: this.inputControlDisabled, optionValue: "value", optionLabel: "label", options: [
|
|
3772
3926
|
{ label: 'Apple', value: 'apple' },
|
|
3773
3927
|
{ label: 'Banana', value: 'banana' },
|
|
3774
3928
|
{ label: 'Cherry', value: 'cherry' },
|
|
3775
3929
|
{ label: 'Date', value: 'date' },
|
|
3776
3930
|
{ label: 'Elderberry', value: 'elderberry' },
|
|
3777
|
-
], controlSize: this.inputControlSize }), h("udp-fluent-checkbox", { key: '
|
|
3931
|
+
], controlSize: this.inputControlSize }), h("udp-fluent-checkbox", { key: 'ef6eb3466b1aa1b96ca6cd6189524c27c6e3b706', label: "Checkbox", hint: "Check me!", disabled: this.inputControlDisabled, controlSize: this.inputControlSize, checked: true }), h("udp-fluent-switch", { key: '31274a39f0943d490d3860262dbc52b1fe6fbf17', label: "Switch", labelPosition: "after", disabled: this.inputControlDisabled, checked: true }), h("udp-slider", { key: '7cf01b7cef255b95b90d991f7ceb78a526dfca0d', label: "Slider", min: "0", max: "100", hint: "Slide to adjust value", disabled: this.inputControlDisabled, value: '50' }), h("udp-fluent-radio-group", { key: 'fc7ba7593298b271a59003d51913ff5fcd29776b', label: "Radio Group", disabled: this.inputControlDisabled, items: [
|
|
3778
3932
|
{ label: 'Option A', value: 'a' },
|
|
3779
3933
|
{ label: 'Option B', value: 'b' },
|
|
3780
3934
|
{ label: 'Option C', value: 'c' },
|
|
3781
|
-
], value: "a" }))), h("udp-tab-panel", { key: '
|
|
3935
|
+
], value: "a" }))), h("udp-tab-panel", { key: '427ba740e0bda67ce681f276fff80004e01c7b70', id: "data-display", activeTabId: this.currentTab }, h("div", { key: 'b223f00292acd5e4aa5dc2d2011176e03584ad5f', style: { display: 'flex', flexDirection: 'column', gap: '3rem' } }, h("div", { key: '61acba2c575d4e9ccc6a066c67b2147310d592c9' }, h("h3", { key: '0d4de9c930122b49dc436e0f7f80b650233a57a3' }, "Tree Example - Animal Kingdom (Conservation Status)"), h("p", { key: '104647a88397d5731898b7f7b9645451361abbe4', style: { fontSize: '14px', color: '#6b7280', marginBottom: '1rem' } }, "Explore the animal kingdom with conservation status, population data, and more."), h("udp-tree", { key: '4e7eead9bd34ba07dcdb517bf05b215f1cd917f5', treeItems: this.animals, itemContent: "name", itemStart: "emoji", itemEnd: this.getStatusBadge, itemAside: this.getItemAside, size: "medium", appearance: "subtle" })), h("div", { key: '541900267da5839636dd3ec7be604c6a6618346a' }, h("h3", { key: '3107ad674ac6ed82c65bff93a1ff25c247561821' }, "Accordion Example"), h("udp-accordion", { key: 'ea848035b2bea574645a79770bfc3b58403ac987', items: [
|
|
3782
3936
|
{
|
|
3783
3937
|
id: 'simple',
|
|
3784
3938
|
label: 'Simple Item (Default)',
|
|
@@ -3813,29 +3967,29 @@ const TestComponentsPage = class {
|
|
|
3813
3967
|
id: 'complex-slotted',
|
|
3814
3968
|
// complex content provided via slots below
|
|
3815
3969
|
},
|
|
3816
|
-
] }, h("span", { key: '
|
|
3970
|
+
] }, h("span", { key: 'b293dc5ad22141a17f0daa8d2025b600aaa71219', slot: "complex-slotted-heading" }, h("div", { key: '04ca25db9d1ff6f8f13dd5af98e87e7653e6083d', style: { display: 'flex', alignItems: 'center', gap: '8px' } }, h("udp-fluent-icon", { key: '7c2e8310e4c8ccd8ad386371544bc2ddee4f714a', name: "star", size: "md" }), h("span", { key: '53fcc139f8ee333b92d2c9b110238df3e81af87c' }, "Complex Slotted Header"), h("udp-chip", { key: 'b86d4671321fb3a28f584b99d133f308f07a50e4', label: "New", color: "success", size: "small", variant: "filled" }))), h("div", { key: 'd55166dae52ea555d60219009a3ccf1ee6245b16', slot: "complex-slotted-content" }, h("p", { key: '14a5b1e390fbeb49e0f0d0790db689f98a41ae20' }, "This content uses slots for complete control.", h("br", { key: 'c0c209b1a008ab961b2ab3a1c71589dc8016d76a' }), h("span", { key: 'be0eb22a3d5e045937b2cd964268eab706b55e3e', style: { fontSize: '12px', color: 'gray' } }, "(Try adding buttons, forms, or any component here)")), h("div", { key: '60145308c39fb2183c89117608d821f2691e97b4', style: { marginTop: '8px' } }, h("udp-fluent-button", { key: '76a450113f06c7692b2e6136b23dbe8dd7ada886', size: "small" }, "Action A"), h("udp-fluent-button", { key: '1455f2b959f9d9bf3ca8e3695941b305bee5af1a', size: "small", appearance: "outline" }, "Action B"))))), h("div", { key: '4f9e90493f419fdfde7ca055999aef571761a510' }, h("h3", { key: 'd97eb71869e0b11f84e3a8d814002f59b06227c7' }, "Auto-Wrapping Tooltip"), h("udp-tooltip", { key: '83c289cc5f36271299ef9d8f61d904be88b5dc1f', positioning: "above", content: "This works with Shadow DOM!" }, h("udp-fluent-button", { key: 'b7c0b32c6521d89fea320f56584c6611e869b5b4' }, "Hover me"))), h("div", { key: 'cf88f8ec5cf2d5c8be2f1e580a426bb9bd67acbe' }, h("h3", { key: '7a03ebf8f41cceea1800a337f995366e72ec0762' }, "Message Bar Example"), h("div", { key: 'a025565aba4d4b55322b22e6ce8f96667570301f', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, h("udp-message-bar", { key: '3131b71f9477505cc457e96d30a731367a86b997', intent: "info" }, "This is an informational message bar."), h("udp-message-bar", { key: 'a90c9956ee7d175a49381ee841fdd1a84acae487', intent: "warning" }, "This is a warning message bar."), h("udp-message-bar", { key: '71611a976825895891e7f10a83df26a8500e8afe', intent: "error" }, "This is an error message bar with actions.", h("udp-fluent-button", { key: '707fc88a82e3eb2e146a8724c2665194129c661d', slot: "actions", appearance: "outline", size: "small" }, "Resolve")), this.showMessageBar && (h("udp-message-bar", { key: '602e3e21cb62943ce31519ffcab7f4f54f591908', intent: "success", shape: "square" }, "This is a success message bar (square).", h("udp-icon", { key: '3897610d71653c6c0a1b6766fadd97a72b0c2fff', iconName: "add", slot: "icon" }), h("udp-fluent-icon-button", { key: '59f336ff7cb614e6c2b290cedf55e981ffa6662b', iconName: "dismiss", shape: "circular", appearance: "subtle", ariaLabel: "Close drawer", onClick: () => (this.showMessageBar = false), slot: "dismiss" }))))), h("div", { key: 'fbfaf82357530e026c4dcd1d952d156aadb87576' }, h("h3", { key: 'f31df8dfc10cd27719f69b8250de352588331099' }, "Progress Bar Examples"), h("h4", { key: '7b1381d8edf48923dd13bc5a3c27dd9f59125815' }, "Indeterminate"), h("udp-progress-bar", { key: 'dd26fff71f944114879b248966ff1516302b6b0d', thickness: "large" }), h("h4", { key: '627a2f929fd6d9fb466d48569016cf2cf886d783' }, "Determinate (Success)"), h("udp-progress-bar", { key: 'e9c4f288dd57d28b24c90bde76bb491a70f4eab9', value: 75, validationState: "success", shape: "square" }), h("h4", { key: '9912afbf4201aece55e0cf0289f66a3ac86aa6eb' }, "Interactive"), h("div", { key: '1938522c06cd5e8f6f552bf13ca8225801723b80', style: {
|
|
3817
3971
|
display: 'flex',
|
|
3818
3972
|
gap: '1rem',
|
|
3819
3973
|
alignItems: 'center',
|
|
3820
3974
|
marginBottom: '1rem',
|
|
3821
|
-
} }, h("udp-fluent-text-input", { key: '
|
|
3975
|
+
} }, 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)) })), h("udp-progress-bar", { key: 'b55a8fd6878a1d03c82d40252d7848a91acac68e', value: this.progressValue, min: 0, max: 100, shape: "square" })), h("div", { key: '3eff3c881432d18fac497cba8a55f2e8fcb9694e' }, h("h3", { key: 'b66b15e94e91dcce985c3e673496aa94ee289a38' }, "Divider Examples"), h("p", { key: 'f3af1b39de3d0fe9062a3636467502cd5efd5175' }, "Default Divider:"), h("udp-fluent-divider", { key: '1823cd7f805e29631c4361e40017c00d2fde9a8c' }), h("p", { key: 'b6da452ba9f3115fb4fd1bcf9121199365c30a0b' }, "Align Content:"), h("udp-fluent-divider", { key: 'a67064d2b219965afada496cd339f1203bed1f26', "align-content": "start" }, "Start"), h("udp-fluent-divider", { key: 'dcab9ac817fb1433fb015f3f2f53626ba17f4a65', "align-content": "center" }, "Center"), h("udp-fluent-divider", { key: '8b9a2c753c738dc02c695c4dfc4868cdf9dd5407', "align-content": "end" }, "End"), h("p", { key: 'b5e52009f220cad7778420361515aa4c48d2d3db' }, "Appearance:"), h("udp-fluent-divider", { key: '57de56b4a891adfae107817eb76adcfed1dd212c', appearance: "strong" }, h("udp-icon", { key: '6598ef60c585e7904746afebceb6d62e5e85aa15', iconName: "add" })), h("div", { key: 'a93ed6e22b3fd63d04453709ae483a0b64184328', style: { height: '10px' } }), h("udp-fluent-divider", { key: '2830f3a8b1a63aac9abface10651f9537661dc9b', appearance: "brand" }, "Brand"), h("div", { key: 'e2c0af007c43525cc97673ec4de22e3c9470ac18', style: { height: '10px' } }), h("udp-fluent-divider", { key: 'a3f4906181cd051b7762fd4e4cb5b4838c646b06', appearance: "subtle" }, "Subtle"), h("p", { key: 'a1c4e81fd9f755348a0201e00b4e6d6fc3dea33e' }, "Vertical Divider (inside flex container):"), h("div", { key: 'd0f2fd393428b0aab5f24bc18fbe5e3a01438bce', style: {
|
|
3822
3976
|
display: 'flex',
|
|
3823
3977
|
height: '50px',
|
|
3824
3978
|
alignItems: 'center',
|
|
3825
3979
|
border: '1px solid #ccc',
|
|
3826
3980
|
padding: '10px',
|
|
3827
|
-
} }, h("span", { key: 'd43cb08c6da292949264383ecef684e32e09912a' }, "Item 1"), h("udp-fluent-divider", { key: '61d4bf2aed17cedb8009a2521a88532c56b64d9d', orientation: "vertical" }), h("span", { key: '24f1059cabfc1f5db7ec2b98e77bab4b04f1fb15' }, "Item 2"), h("udp-fluent-divider", { key: 'c3c18e2b0312d39d8a22549911ad9e2fadc73c13', orientation: "vertical", appearance: "brand" }), h("span", { key: '9f1609256e4597b27924ecb92863eb433d788391' }, "Item 3"))), h("div", { key: 'f68c5a66dc8cf5c2f486d4d0d731357977ce6cd4' }, h("h3", { key: 'debb585aa06d4635e8d1998eb584b5c24ef54c0d' }, "Fluent Icon Examples"), h("p", { key: '975f8989ccb07e415dc2088d769df7b62e3426db' }, "Basic usage (new simplified API):"), h("div", { key: '686f4088d2e9e6503add2109ab1f2df46cb85f21', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: 'aed56dd499b6d5b6e228e5483703cef231a2ce6f', name: "add" }), h("udp-fluent-icon", { key: 'bfbfdb2e98061097b3df798ddfaa68207a6f6d43', name: "home" }), h("udp-fluent-icon", { key: 'cdd01adfab68495718168d1fe4f6b21bbce29780', name: "settings" })), h("p", { key: '0ba2c1bf006cc7d3be801f2358a62067026b5dce' }, "Colored:"), h("div", { key: '8831ef82381783e4174b39652e771873257fae77', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: '659dace3a984ba69aaf0f115a3b6d7ebb0be701c', name: "add", variant: "filled", color: "green" }), h("udp-fluent-icon", { key: '9c4610e31077186c39c9798ce81785ece9fe9528', name: "delete", color: "red" })), h("p", { key: '71bfae83244e04dff84c478017d726d221475fba' }, "Sizes (xs=16px, sm=20px, md=24px, lg=28px):"), h("div", { key: '6a6761593b7285871d9209f5cab1efbf09fe557e', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: '9e1c86fda60a91e580d59e622d56cd969f071692', name: "home", size: "xs" }), h("udp-fluent-icon", { key: 'cb66c43949304eed5f0ecc0382b107d00a64bfbe', name: "home", size: "sm" }), h("udp-fluent-icon", { key: '0a374f10278333c2afab645e4095de51ed7a8199', name: "home", size: "md" }), h("udp-fluent-icon", { key: '0c4a96c58bf3d577bff9cab4c3cf2b005caa163f', name: "home", size: "lg" })), h("p", { key: '9a80bdf6cc45db3252346b5c27b2b4659e319222' }, "Variants (regular vs filled):"), h("div", { key: '78de773acd96966c89cbf8787e1c4ecb5b89a88a', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: '20205dd01a29a528436c89e7059037b815bda7df', name: "star", variant: "regular", size: "lg" }), h("udp-fluent-icon", { key: '6cdfca2313d1dba058f8ff00c5a3bf5fa710f611', name: "star", variant: "filled", size: "lg", color: "gold" }))))), h("udp-tab-panel", { key: '475fe2dc26401a4ecb387a69d099d2c50894ea1f', id: "text", activeTabId: this.currentTab }, h("div", { key: '7d85cc5f49ce71c18250430fb3eda73c0529badc', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, h("h3", { key: '64d4d42a50970eeebcdc80aa01bdfbb3c1af35c7' }, "Text Component - All Variants"), h("div", { key: 'd40bbb8cfe80a6d4db2944866cca36c0bf45557b' }, h("h4", { key: 'c47d0d44699c82fc1ed10caed452551bb4631be5' }, "Display Variant"), h("udp-text", { key: '7a5cd8eee26f2c5dff0f999c222c112faf3d3e52', variant: "display" }, "Display Text (h1)")), h("div", { key: 'af889b1fd71493188f72139984ff6cd8c39779cd' }, h("h4", { key: '94166fd6578b33e7dbb72a7ca42fbebac4f87b15' }, "Large Title Variant"), h("udp-text", { key: '2348827d025a4fd5bce194216a98d803391e87ba', variant: "largeTitle" }, "Large Title Text (h2)")), h("div", { key: '5c1d5fe010388b1b7e75a002b80226e570a6ae11' }, h("h4", { key: '46130fb2df634bfa36c779c61804f196e2d46da5' }, "Title Variants"), h("udp-text", { key: '7b3720cb8460fb05e8af87ed08a0174ac8de9a74', variant: "title1" }, "Title 1 Text (h3)"), h("udp-text", { key: 'e5ddff64adbacc1cc649eb55b247b6ffeae28260', variant: "title2" }, "Title 2 Text (h4)"), h("udp-text", { key: '260154266561650fe467e23712b4b5ac3fdd6d41', variant: "title3" }, "Title 3 Text (h5)")), h("div", { key: '3256180559438413e6dac7611f1bea8b8dad08c4' }, h("h4", { key: '42ed450dff4b78c5d19b42b6e4bd68b09527092e' }, "Subtitle Variants"), h("udp-text", { key: 'c411d4856d4a954edf03670b1a4818016c7fe6a3', variant: "subtitle1" }, "Subtitle 1 Text (h6, medium weight)"), h("udp-text", { key: '5053869f4bcd663925d186b3d813973395935b4c', variant: "subtitle2" }, "Subtitle 2 Text (h6, semibold weight)")), h("div", { key: '851b82add76970bfeebaabd25f8ae41c07fa9183' }, h("h4", { key: '2797c6d5c098c6340cf40141dd65c09cacd49039' }, "Body Variants"), h("udp-text", { key: 'a3b6f23c2bf18a4723482eead9aa56bd2062fcb4', variant: "body1" }, "Body 1 Text (p) - This is the default variant. Lorem ipsum dolor sit amet, consectetur adipiscing elit."), h("udp-text", { key: '7b6d7a536b6424658c3f7c3b781bc23b48d46405', variant: "body1Strong" }, "Body 1 Strong - Semibold weight for emphasis."), h("udp-text", { key: 'f54c031d59a085c144e0405209d403caca3b06c2', variant: "body1Stronger" }, "Body 1 Stronger - Bold weight for strong emphasis."), h("udp-text", { key: 'cc5c74594b5c3ac58f29af5bd4702f021d4eaf51', variant: "body2" }, "Body 2 Text - Slightly larger than body1.")), h("div", { key: '05ee5349c7d65885048deaa71d5e648944c15338' }, h("h4", { key: '8e83f68dee1c82468936f564cc877b3bf7405955' }, "Caption Variants"), h("udp-text", { key: '876e735cc3c4d29da5fd4537183a66e992eaa8dd', variant: "caption1" }, "Caption 1 Text (span, inline)"), h("br", { key: '7da68d30f3ba6aa382924c55d73272e5094a9f69' }), h("udp-text", { key: '754f1e7298eff32a81c41e1cc80357aa98832305', variant: "caption1Strong" }, "Caption 1 Strong (semibold)"), h("br", { key: '1824f255860ebc89adf4035235459f0386919a7e' }), h("udp-text", { key: '8f2585fb6758dcc149107b79837e7768320a5e82', variant: "caption1Stronger" }, "Caption 1 Stronger (bold)"), h("br", { key: '6e59cc9b1680709254acba18dfb44c30d09eb4bc' }), h("udp-text", { key: 'dd4c97a854bb106dc0bae28f40edf242846eb4c5', variant: "caption2" }, "Caption 2 Text (span, inline, smaller)"), h("br", { key: '76a214249a05d28b926c35ba62ccece1d9d50690' }), h("udp-text", { key: 'bba4443afab06a62c56614a41fbe54199d1891aa', variant: "caption2Strong" }, "Caption 2 Strong (semibold)")), h("div", { key: 'b2c568a25d887730bdd23069baf6880a478601de' }, h("h4", { key: '27f78b39e479e5be4dfedd88a51590f2c42ca86c' }, "Text Alignment"), h("udp-text", { key: 'd96ca741cbbb686d10ba7d22f191f77c130c94b8', variant: "body1", align: "start" }, "Aligned to start"), h("udp-text", { key: '46198c4dd03b55f9c05efaa59d8ce013964fbf9f', variant: "body1", align: "center" }, "Centered text"), h("udp-text", { key: 'dfa426894fc0c0729fd87f1348eb0be1c472f37d', variant: "body1", align: "end" }, "Aligned to end")), h("div", { key: '3587ced045d4f6e1df0084024142685f7b498342' }, h("h4", { key: '398ec8a524f89839c23e002760778193ecec56e8' }, "Text Styling"), h("udp-text", { key: '9a117a82d99626af8458a77bbb98ec8284fd9dad', variant: "body1", italic: true }, "Italic text"), h("udp-text", { key: '925545b9dea10888f62ad111ef1c232f9c59abca', variant: "body1", underline: true }, "Underlined text"), h("udp-text", { key: '2f9392630cca9e6f21c6d4c7a2bb0572422f14bd', variant: "body1", strikethrough: true }, "Strikethrough text"), h("udp-text", { key: 'a22b97b2b370d3bb6681c8f0439d007a28f9ecfb', variant: "body1", weight: "bold" }, "Bold text")), h("div", { key: '5add46e633102a5e23af6700b5b58e4d552ad7d6' }, h("h4", { key: '2c236e578ababaa0c344d728cfa8aac4fdf87be5' }, "Custom Semantic Tags"), h("udp-text", { key: '2b41beb17675b2d716ade6b1be7e78f59b4289d9', as: "h1" }, "text as h1 element"), h("udp-text", { key: '7642e800b366aabd9fb9edb052c952b8b719572d', variant: "caption1", as: "p" }, "Caption text as paragraph")), h("div", { key: '566d5bb277050e064e76be97b8d4d65bcc19a943' }, h("h4", { key: '4826e7394d3e41378e970e1827bf0206fcabd228' }, "Font Variants"), h("udp-text", { key: '5d2a05fed4404dc98c3a155293e1af8c124b321f', variant: "body1", font: "base" }, "Base font (default)"), h("udp-text", { key: 'e575de350f6a914325d2e264a77beeb3f7290c68', variant: "body1", font: "numeric" }, "Numeric font: 1234567890"), h("udp-text", { key: '174ddf61c46c5c7c2304d90db115a2f7a34786ac', variant: "body1", font: "monospace" }, "Monospace font: const x = 42;")), h("div", { key: '8a21d3918a494ce94cb23190feba41cb4462d2e2' }, h("h4", { key: 'd604aeb9a422925db5a9cb0840555725113ecc79' }, "Size Override"), h("udp-text", { key: '9c255d15159427aeae519c55a09d0872c27ea91a', variant: "body1", size: "200" }, "Body variant with size 200"), h("udp-text", { key: 'aaec386cc7908157b9fa9c6b2e38bcd32ca6fddb', variant: "body1", size: "600" }, "Body variant with size 600"), h("udp-text", { key: '93b436b6c12260fbf0d3cdea6b40458edd9fd1e0', variant: "body1", size: "1000" }, "Body variant with size 1000")), h("div", { key: 'ec3ea61c3b9afb29aca56476e29672a1efe20c80' }, h("h4", { key: '32f10badc74f8578292b9f3414494a11a701255a' }, "Lists"), h("udp-text", { key: '936485bbc04ee89a963779ea6496e1acbc3addf2', variant: "body1", as: "ul" }, h("li", { key: '1ba15c6cb4683cad4e925ef031fe4caffc895461' }, "First list item"), h("li", { key: 'c29077e74f07b9bd6a33520c57cd7793aecfcc4b' }, "Second list item"), h("li", { key: '56ab6a4c3169d0438934c6a5aee6a8551512cbe9' }, "Third list item")), h("udp-text", { key: 'a42b5f2935887834f39a0493e24eabef97a0f8af', variant: "body1", as: "ol" }, h("li", { key: '801cdd91b75167767efa8f361886ec7bdb890684' }, "First ordered item"), h("li", { key: '7af26f5056b94b578324c87f7e4b2faebf72f828' }, "Second ordered item"), h("li", { key: 'c3e0098aa40ec799dc91e30e0341387a26c0772e' }, "Third ordered item"))))), h("udp-tab-panel", { key: '4de50bb2c797a99840763b31db2d818f8657a218', id: "menus", activeTabId: this.currentTab }, h("div", { key: '4aad42257a9d80063677d75760b977f288280f4f', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, h("div", { key: 'c023d0db148a9b6e259e771e9f48a53316c51e24' }, h("udp-fluent-menu", { key: '144617352207b6c142e34dc5ba56fb7c831f94c9', items: this.nestedMenuItems, label: "Nested Menu" })), h("div", { key: 'dff8da22e6f210550c696575716ad38b7d5b75eb' }, h("udp-fluent-menu", { key: '57b8036cb1550b0a0e89087be063b23865dfae34', items: this.sectionedMenuItems, label: "Sectioned Menu", endIconName: "add" })), h("div", { key: '1221fcd53881d4690436f156db1884a14b06ee55' }, h("udp-fluent-menu", { key: 'fbd2bf5eb57d58fc98777259d305a06099cba190', items: this.iconMenuItems, label: "Icons & Slots", startIconName: "grid_20_regular" }, h("div", { key: '83806aafbfe3f751056eee0d20775e43301ad343', slot: "slot-test-start", style: { color: 'magenta', fontSize: '20px' } }, "\u2605"), h("span", { key: 'f3eddb764c82398e42a0168bd145448dc8fc8287', slot: "slot-test-end", style: {
|
|
3981
|
+
} }, h("span", { key: 'edac259dd066fe189f0b8394931c4b317e972871' }, "Item 1"), h("udp-fluent-divider", { key: '11acefb1586149400aeb334c36df4b9ccd634ed9', orientation: "vertical" }), h("span", { key: '2c6b482cb4ff9afcf2b1ca162882fa62eb6cafa4' }, "Item 2"), h("udp-fluent-divider", { key: 'bf45c415d8c4844551eef05438187b4cfbfd7bfa', orientation: "vertical", appearance: "brand" }), h("span", { key: '8e1c84e0704775fdb7d90350c3ec10de36c3fa7e' }, "Item 3"))), h("div", { key: '5931c9ccb73b391fc9a44863942e7641b401d66d' }, h("h3", { key: '9c4ff2fc026011d75c536902224c606a666507b8' }, "Fluent Icon Examples"), h("p", { key: '1f239fc808ee5b66c8bcd5229b2884615ed4c402' }, "Basic usage (new simplified API):"), h("div", { key: '62cd1b4e61debe779800bfb1421b14f0e2d24556', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: 'a312bb419b6db066baf76e53f916b8800aa02eb9', name: "add" }), h("udp-fluent-icon", { key: '1872d19602f2bef468f8e66583125d34f8de05fd', name: "home" }), h("udp-fluent-icon", { key: 'a49688aa49d616e946ce446dc5e1ae6ffa56a9fb', name: "settings" })), h("p", { key: '9d576c323c7454ccaddaecdeda60e95ceb46aadd' }, "Colored:"), h("div", { key: 'eae249dae805b3c0c611a0260907e9a47da3d5cc', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: '6e02c5a9be36ccb65bbed876f3da7b76bcaf1be0', name: "add", variant: "filled", color: "green" }), h("udp-fluent-icon", { key: '8763e3caa9c59e60faba05fd18515a46873f586d', name: "delete", color: "red" })), h("p", { key: 'e1e9fcb3fe51dfe46193a99cb3966cd7017fc841' }, "Sizes (xs=16px, sm=20px, md=24px, lg=28px):"), h("div", { key: '334b1a4ef7035015c3514abb1337c44f15dbc0e4', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: '899068fe009da06c3bdbe94d8929e724373eeaeb', name: "home", size: "xs" }), h("udp-fluent-icon", { key: '110c3ab9bb3bf26e1a4ca2fbb7a2d35a92f6152e', name: "home", size: "sm" }), h("udp-fluent-icon", { key: 'a26a486f024e442824a50635cde50d3afbbd7407', name: "home", size: "md" }), h("udp-fluent-icon", { key: 'b3fce7a45257ebd656e8702c1ddad1ab9a9123f1', name: "home", size: "lg" })), h("p", { key: '89e3635b0d4d82e2911e9c2ce4e57d726f617735' }, "Variants (regular vs filled):"), h("div", { key: 'ac530a3609ae377f7a43486daf0098d6066c8c23', style: { display: 'flex', gap: '1rem', alignItems: 'center' } }, h("udp-fluent-icon", { key: '812f057c5478141143b5550e6c7f18aae811f83f', name: "star", variant: "regular", size: "lg" }), h("udp-fluent-icon", { key: '1797928f8e4928d4bce3b092e10427587db78c99', name: "star", variant: "filled", size: "lg", color: "gold" }))))), h("udp-tab-panel", { key: 'c814eecbaaf017a2f94763c0b3b6d142df9843ec', id: "text", activeTabId: this.currentTab }, h("div", { key: '9548f33977f37bf739bdfd25efb395f7e5c84e2c', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, h("h3", { key: '287a4919a0206fc50fa64f7f7a0039d16975a3b0' }, "Text Component - All Variants"), h("div", { key: 'dd61c14c355923a1f9f0b8c5d18a713d1a73b506' }, h("h4", { key: '449be2fff598b008064afd6e236cd4e853cc9fc1' }, "Display Variant"), h("udp-text", { key: '648c5323aae383e1c5de4ac88c9b23947692b6fb', variant: "display" }, "Display Text (h1)")), h("div", { key: '2a308e30ad2fd5d21a56706de5ce87548772394c' }, h("h4", { key: '5e2a9b9b0de2d9358d325f9b338d2c18d0105af9' }, "Large Title Variant"), h("udp-text", { key: '218452a3ea54a929e8ebc754ffe00a96f943db5b', variant: "largeTitle" }, "Large Title Text (h2)")), h("div", { key: '847354a7fcf18e96c60bbc03f6e7127866346246' }, h("h4", { key: '3789051ccf70ef9b0bd91db5ac8c5e17a062a904' }, "Title Variants"), h("udp-text", { key: '9df6e84b5ea5c981fc318c412910545c5eb427a1', variant: "title1" }, "Title 1 Text (h3)"), h("udp-text", { key: 'f1d1e225662f62c8ddf90c16082ee3170b887c42', variant: "title2" }, "Title 2 Text (h4)"), h("udp-text", { key: 'd3ede0c7263ef12e3e9188bbd9237b72bda85ae7', variant: "title3" }, "Title 3 Text (h5)")), h("div", { key: 'aeac71b14df38b344b3025e3831d61a1b8aff1d7' }, h("h4", { key: '56170c688648303413b35f6ff672837c8c5ad258' }, "Subtitle Variants"), h("udp-text", { key: '57b4bcac88fb429c2fb84c43dabe9e51d9404a80', variant: "subtitle1" }, "Subtitle 1 Text (h6, medium weight)"), h("udp-text", { key: 'da8e60676ccf61664d3bc559ca6b6b3a37de3ad7', variant: "subtitle2" }, "Subtitle 2 Text (h6, semibold weight)")), h("div", { key: 'f90979950200b4953d43af4f83c9f9199ee4caa3' }, h("h4", { key: 'cb33c29b56c1e14a576f120ba5b976e4ba2eb1d2' }, "Body Variants"), h("udp-text", { key: '0a9ceecd82b420f519a889a32037a43e123611f9', variant: "body1" }, "Body 1 Text (p) - This is the default variant. Lorem ipsum dolor sit amet, consectetur adipiscing elit."), h("udp-text", { key: '9edbbcda01ef9222604368dac4a95f78cce6c3b3', variant: "body1Strong" }, "Body 1 Strong - Semibold weight for emphasis."), h("udp-text", { key: '579591d4b135497ae9f5e3624ae4ed1d43c9c4af', variant: "body1Stronger" }, "Body 1 Stronger - Bold weight for strong emphasis."), h("udp-text", { key: 'd7564721f590543c2a76f9541f579f0f575de224', variant: "body2" }, "Body 2 Text - Slightly larger than body1.")), h("div", { key: 'af73b0b0fc9566208873f933f10929ad98fb1a7c' }, h("h4", { key: 'c0491e54a5072ea857ad156bb87193bff6cca3d9' }, "Caption Variants"), h("udp-text", { key: '2dbbf680cc918fa6b0e9a2910d61c4db06982205', variant: "caption1" }, "Caption 1 Text (span, inline)"), h("br", { key: 'b640560afe9d083d0fdd76f77fd7cda597da341f' }), h("udp-text", { key: 'b6377438aa067b929b0929f8eab4198ee26eee06', variant: "caption1Strong" }, "Caption 1 Strong (semibold)"), h("br", { key: 'efe45e9e426093d70e817592bc5abb9e81183fc1' }), h("udp-text", { key: '322a1dd73dbf487d82fe3f253cf41b68c5394c3c', variant: "caption1Stronger" }, "Caption 1 Stronger (bold)"), h("br", { key: '6c0d22621d1ff4923c015bca1df1377749618b4d' }), h("udp-text", { key: 'c9bc71957e19d6747678af636743cd0e87a00580', variant: "caption2" }, "Caption 2 Text (span, inline, smaller)"), h("br", { key: 'e7f5d20471a1e270d371a2a3677c8905ff2e8384' }), h("udp-text", { key: '7fdd0528041954e5717188b40695a8f6d98ec42e', variant: "caption2Strong" }, "Caption 2 Strong (semibold)")), h("div", { key: 'a9d262e2bad3d99835fb8c06670516291f9dfbef' }, h("h4", { key: 'b4b8bfe4966ae9ecff0effa6b4b260ec27df8c06' }, "Text Alignment"), h("udp-text", { key: 'c845a86f4848e343686ae6d0efa8285ed77832c6', variant: "body1", align: "start" }, "Aligned to start"), h("udp-text", { key: '9192fd7751fe894b908ed4d07f28b61e56a87648', variant: "body1", align: "center" }, "Centered text"), h("udp-text", { key: 'c3b732d5f26e525ea2e34f22842f88602e6c64f0', variant: "body1", align: "end" }, "Aligned to end")), h("div", { key: 'e038f400bdfd889e546e592b472e0b59d620f241' }, h("h4", { key: '7dcf356649a13309dded5e956928e0ac4acb6e66' }, "Text Styling"), h("udp-text", { key: 'b993d6ba552816744f4b9e172341065141275aa2', variant: "body1", italic: true }, "Italic text"), h("udp-text", { key: '0ddfce7559ce1c92767bf43c070059a968b57baf', variant: "body1", underline: true }, "Underlined text"), h("udp-text", { key: 'e06a582f2f93e92b19248aa7c5db6f86e9153ccf', variant: "body1", strikethrough: true }, "Strikethrough text"), h("udp-text", { key: 'e18d46babb3f4f1542db636322e19d157e98f1b5', variant: "body1", weight: "bold" }, "Bold text")), h("div", { key: 'd80f692ae8ed1beb225d188f1690c6b562f1f55c' }, h("h4", { key: 'e949248811870a1432a99a79b2eb512a83c8dd9e' }, "Custom Semantic Tags"), h("udp-text", { key: '81e10b3f5b1b75c0d2482dd4de3ff8659400f7b8', as: "h1" }, "text as h1 element"), h("udp-text", { key: '0e8612a406c0511ff386a1b4fd413404cbf3eabd', variant: "caption1", as: "p" }, "Caption text as paragraph")), h("div", { key: '718705df9e77fc85f3ffb1294f83b13e1d088e44' }, h("h4", { key: 'd9f0e5c103e0034096d473ce39356eb77bf9f250' }, "Font Variants"), h("udp-text", { key: '0f3ae3ba5204e49e46a52f1b70b7f3df0de03fb9', variant: "body1", font: "base" }, "Base font (default)"), h("udp-text", { key: 'f861f3fbc6410f53cee828b37b87e97eec3e310c', variant: "body1", font: "numeric" }, "Numeric font: 1234567890"), h("udp-text", { key: 'd6fb4a84fd85170480807b26e812aaf55e323fa2', variant: "body1", font: "monospace" }, "Monospace font: const x = 42;")), h("div", { key: 'f2b17e0b35dbb50494cfbf7d2b5f396c55075368' }, h("h4", { key: 'c11a6c81ae87ce94a7fe53acf4838a3a497985b9' }, "Size Override"), h("udp-text", { key: '6b20805a299f9278ec390ef493b4fde34e8e2b32', variant: "body1", size: "200" }, "Body variant with size 200"), h("udp-text", { key: '9c2bca0ae107e29822f84c82ae309bdce74a4cde', variant: "body1", size: "600" }, "Body variant with size 600"), h("udp-text", { key: '81b54060e4406e9066e8e4094812e32733f7fe4c', variant: "body1", size: "1000" }, "Body variant with size 1000")), h("div", { key: '925c1ef5da7b8d653440677d96094faea5e7bf0f' }, h("h4", { key: 'c2eb6034675dd4087d5bab2b8ba8b5e815d0a116' }, "Lists"), h("udp-text", { key: '6c2e23112f2e2f27adb6671005f8a0701a33ff51', variant: "body1", as: "ul" }, h("li", { key: '8012f87037f6b8b4bb8afa6c77873e94c1950479' }, "First list item"), h("li", { key: '196b86d4dc911d87501ee2495bda2ce3b34206d2' }, "Second list item"), h("li", { key: 'f831813c16cd6983da84a9a69c58aabdc607f31e' }, "Third list item")), h("udp-text", { key: 'b740fda3e771e7d43573960565763c6152333d15', variant: "body1", as: "ol" }, h("li", { key: '002fede92d5eab719f2a3c0f1d666bb27f8b64ff' }, "First ordered item"), h("li", { key: '06967635ce93bf421d88614ffe358400a8cd1ae8' }, "Second ordered item"), h("li", { key: '65ffbe713fce33858a6a3c3587fb294c4b789a6e' }, "Third ordered item"))))), h("udp-tab-panel", { key: '45a8f86297f7746b6435d755ec2c1133a436128b', id: "menus", activeTabId: this.currentTab }, h("div", { key: 'b40f2e023bf3846e8fefbb3592db0fa4d5c6d745', style: { display: 'flex', flexDirection: 'column', gap: '2rem' } }, h("div", { key: '476bbf9e2a4fb3ce10ebe556340d8d4850aee024' }, h("udp-fluent-menu", { key: '1723b4834a9758edbcca81093e6a5cec97e4efe3', items: this.nestedMenuItems, label: "Nested Menu" })), h("div", { key: 'a1c3192768d8058a8a1be1e19b52a18d86381093' }, h("udp-fluent-menu", { key: 'a5d0d6d70526a2a080cfeb2586904048cf6e3360', items: this.sectionedMenuItems, label: "Sectioned Menu", endIconName: "add" })), h("div", { key: 'b10ebfa8165140c1c380c02362f0f5a3fd793594' }, h("udp-fluent-menu", { key: '591c03942f02cb218ab6f44e067cfafa52d9c6d9', items: this.iconMenuItems, label: "Icons & Slots", startIconName: "grid_20_regular" }, h("div", { key: '3c92bb02aaa63b4a24759bc9662b2ef2ac7bcf8a', slot: "slot-test-start", style: { color: 'magenta', fontSize: '20px' } }, "\u2605"), h("span", { key: '11886300c26eb91fa2797c6553a57a53031e4bd6', slot: "slot-test-end", style: {
|
|
3828
3982
|
backgroundColor: 'red',
|
|
3829
3983
|
color: 'white',
|
|
3830
3984
|
borderRadius: '4px',
|
|
3831
3985
|
padding: '2px 6px',
|
|
3832
3986
|
fontSize: '10px',
|
|
3833
|
-
} }, "NEW"), h("span", { key: '
|
|
3987
|
+
} }, "NEW"), h("span", { key: 'c960fbd09a173d404328e717c42fe5b0a8c46b0d', slot: "end-slot-item-end", style: { color: 'magenta', fontSize: '12px' } }, "Custom"))), h("div", { key: '2da0beeb4a9c68241943fb10ea1c3710826d3f39', style: {
|
|
3834
3988
|
display: 'flex',
|
|
3835
3989
|
justifyContent: 'flex-end',
|
|
3836
3990
|
border: '1px dashed #ccc',
|
|
3837
3991
|
padding: '1rem',
|
|
3838
|
-
} }, h("span", { key: '
|
|
3992
|
+
} }, h("span", { key: '1b1e4adc006e01d20a27cac25e6a8b994ba82d9f', style: { marginRight: 'auto' } }, "Menu Overflow Test (far right):"), h("udp-tooltip", { key: 'f6df39d6abbdb96ef92c7f0152f9bf38be3e26c0', positioning: "before", content: "More Options" }, 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 }))), h("div", { key: 'dc61a7b7d1616811692a04c5eaf06df4fba4a304' }, h("h3", { key: '3622f32ac45a44cdaef2f78015d196cf0a3ff035' }, "New Radio Group Example"), h("udp-fluent-menu", { key: 'd49ea7dc154f771e110625a9e470b435d6425e2a', items: this.newRadioGroupItems, label: "Select Option", onCheckedChange: e => console.log('New Radio Group Change:', e.detail) })), h("div", { key: '01a572e7669d29915c2a31646e966a7a632e0f91', style: { padding: '1rem', border: '1px dashed #ccc' } }, h("h3", { key: 'e57d303dcf0d97ee7e1aa14d844cd7009222edb1' }, "Menu at Bottom (Testing onClick handlers)"), 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" }, h("udp-icon", { key: '588c621f188b842489c3b18a31dd6c277ae3af55', slot: "start", iconName: "add" }))))), h("udp-tab-panel", { key: '21f5071b74f0a8aff41b6d8b9ddd21362b4ad55d', id: "grids", activeTabId: this.currentTab }, h("udp-lazy-loader", { key: 'd59277c8dfcec20c88e80c6f25e935f83aade4de', if: this.currentTab === 'grids', content: () => (h("client-side-grid", { columnDefs: [
|
|
3839
3993
|
{ field: 'make' },
|
|
3840
3994
|
{ field: 'model' },
|
|
3841
3995
|
{ field: 'price' },
|
|
@@ -3846,7 +4000,7 @@ const TestComponentsPage = class {
|
|
|
3846
4000
|
{ make: 'Toyota', model: 'Celica', price: 35000 },
|
|
3847
4001
|
{ make: 'Ford', model: 'Mondeo', price: 32000 },
|
|
3848
4002
|
{ make: 'Porsche', model: 'Boxster', price: 72000 },
|
|
3849
|
-
] })) })), h("udp-tab-panel", { key: '
|
|
4003
|
+
] })) })), h("udp-tab-panel", { key: 'd072ac55a895d68724cf9c360521cfbdcb8497cd', id: "dialogs", activeTabId: this.currentTab }, h("div", { key: 'f6f8b2c8b226cfae5b375de45b04c06e70fcb299' }, h("udp-fluent-button", { key: '320f3bdf11d5be775c161fdc342021b05ee776de', onClick: () => (this.dialogOpen = true) }, "Open Dialog"), h("udp-fluent-dialog", { key: '0d7ee1d853e9fdc8a0ba1a5a42748bb9423e122a', open: this.dialogOpen, dialogTitle: "Example Dialog", onDialogClose: () => (this.dialogOpen = false) }, h("div", { key: '1bbdabce37bcba2a226bff3f330026eb3a399e7d' }, "This is a simple dialog example."), h("udp-fluent-button", { key: 'dd243af764034a07797f45c1b34b9073696cddff', slot: "action", onClick: () => (this.dialogOpen = false) }, "Custom Close"), h("udp-fluent-button", { key: 'e3b1c9d1c1799bcbaa5caf46f4b63cf9d5b034f5', appearance: "primary", slot: "action" }, "Confirm")))), h("udp-tab-panel", { key: 'ddcb67e518150d69ac9251871c8b15cb917ff2de', id: "cards", activeTabId: this.currentTab }, h("div", { key: 'a1eb48bfda83a6cfca6e6f4e3cfcf83f18240ca9', style: { display: 'flex', flexDirection: 'column', gap: '2rem', padding: '1rem' } }, h("h3", { key: '461169f7cf01ee23606dd2cc44601fabd483b361' }, "Cards"), h("h4", { key: '91aa8e47e36345dc0dc499cfdee6d67fe024ae4a' }, "Basic & Outlined (Default)"), h("div", { key: '3d7854b88801d98cfeadb0f743263f554f2b7455', style: { display: 'flex', gap: '1rem', flexWrap: 'wrap' } }, h("udp-fluent-card", { key: 'e9f33aeb52b759035043fabebbf3becf814d0b79', appearance: "filled" }, h("div", { key: '6859d2de42d9bf306da61d8f91dfaa542d7c02ee', slot: "header" }, h("h3", { key: '31adc61d6095045bf26116f02d97bde5ace1a3a6', style: { margin: '0' } }, "Basic Card"), h("span", { key: '634a72d5e1ab6b1d17a6f3c5e6efa39c06cc7144', style: { fontSize: '12px', color: 'var(--colorNeutralForeground2)' } }, "This is a basic outlined card")), h("span", { key: '917c4f0d682971a6f5491073d1b5cd8961aa7aaf' }, "Card content goes here. The card handles its own slots for header, preview, and footer."))), h("h4", { key: '890e2e9624d48f9aa02456a4f825e59a12f67d16' }, "Elevated & Media"), h("div", { key: '166377ffd58547343d1bc9e57a77dd27f771d6f3', style: { display: 'flex', gap: '1rem', flexWrap: 'wrap' } }, 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." }, h("img", { key: '180f478de50268687c3f0f77bfe588a6415820bb', slot: "preview", src: "https://images.unsplash.com/photo-1557683316-973673baf926?w=600&h=400&fit=crop", alt: "Abstract gradient preview" }), h("span", { key: '953f2b2f4fd58f80f1a425c141bb749d930562ee' }, "Card content"), h("div", { key: 'e5fa6fb7027398f96e3d74e146e7ac5e7080d3c4', slot: "footer", style: { display: 'flex', gap: '8px' } }, h("udp-fluent-button", { key: '2bf45c4998ecd9c1bd03288b8fe6e08082a69778', size: "small" }, "Action 1"), h("udp-fluent-button", { key: '78c6315ae39d912322db0176b4df98fb5c2a7c1c', size: "small", appearance: "outline" }, "Action 2"))), h("udp-fluent-card", { key: '0911e2727a512ad10df9b1daa4be3b942b8b0ad7', appearance: "subtle", label: "Prop provided title", subtitle: "Prop provided subtitle" }, h("span", { key: 'b8397d19f2912285333e9c7d72931b61cbf6a097' }, "This card uses the subtle appearance. Good for lists or less emphasized content."), h("div", { key: '9629fdd63012d6959e9f7569b27285bcd1df0e24', slot: "footer" }, h("udp-fluent-button", { key: '3b564addf38bd6d47570f097dff2bfcd6752b0b7', appearance: "primary" }, "Dismiss"))), h("udp-fluent-card", { key: 'e3ca9abb75034ced782ce5e9a94b71b85e73daa6', appearance: "outline", label: "Card with Action", subtitle: "Header action example", width: "320px" }, 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') }), h("span", { key: 'cafd863e75fbd41ab5dbe51e17ceaaea3b43a9a6' }, "This card demonstrates the header-action slot with an icon button.")), h("udp-fluent-card", { key: 'ecdc47331393b92a8392d29a1f91b6e348cbabc9', appearance: "muted" }, h("h4", { key: '5b79bac8feff0b4a99d37ccb5fcb5268302e60d4', slot: "header", style: { margin: '0' } }, "Muted Card"), h("span", { key: 'e8f470940f5d1389b236b8618fd03fccdaaa4656' }, "Flat with subtle grey shading."))), h("h4", { key: '1a76d4ab9e63ab389deffbddf0279d7ec4b5b387' }, "Horizontal & Sized"), h("div", { key: '5009f9a003c493dbd116ec8e100331b232a581c4', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, h("udp-fluent-card", { key: 'd5abec3c66873b2c07b046eed5a130e7951cb818', orientation: "horizontal", width: "400px" }, h("div", { key: '54762e2245d60204ffe57661a466870131463c3a', slot: "preview", style: {
|
|
3850
4004
|
width: '80px',
|
|
3851
4005
|
height: '100%',
|
|
3852
4006
|
backgroundColor: 'var(--colorNeutralBackground3)',
|
|
@@ -3854,7 +4008,7 @@ const TestComponentsPage = class {
|
|
|
3854
4008
|
alignItems: 'center',
|
|
3855
4009
|
justifyContent: 'center',
|
|
3856
4010
|
fontSize: '24px',
|
|
3857
|
-
} }, "\uD83D\uDCF7"), h("div", { key: '
|
|
4011
|
+
} }, "\uD83D\uDCF7"), h("div", { key: 'e6417df08f6e797b775f1f826cc301384ba7c5ab', style: { display: 'flex', flexDirection: 'column', width: '100%' } }, h("div", { key: 'e446836ef65269e7295c5d4453b4ef807f22784f', slot: "header" }, h("h4", { key: '276430d9fbb2b91c7af80de51a424f2948b97051', style: { margin: '0' } }, "Horizontal Card")), h("span", { key: 'a475cfb8145dcbde666d7998cbea7b2725a17ddb' }, "Fixed 400px width."))), h("udp-fluent-card", { key: 'fb2b9bcb74170c1afbe41c698fa8d34afd8d62b4', width: "300px", appearance: "filled" }, h("div", { key: '391442658e74fc833896eb1a7b9c15f0498c8353', slot: "header", style: { display: 'flex', justifyContent: 'space-between' } }, h("span", { key: 'cc2870f1a66cdc51872bd09a7d3753e88f289f2f', style: { fontWeight: '600' } }, "Fixed Width User"), h("udp-fluent-icon", { key: 'cd7fd2869eadbc40affb71e8874ef0b0953a70d0', name: "person_20_regular" })), h("span", { key: '121f3d70203a40547e74fbf5ce51ee74af701800' }, "Fixed width (300px), auto height. Reduced padding is no longer controlled by a prop."))), h("h4", { key: 'e9aa72b490d18f03d2da4db8f5326b94022fcaf5' }, "Complex Interaction"), h("div", { key: '44b51205590ab6e918d6d1335d21f332a9678dc8', style: { display: 'flex', gap: '1rem', flexWrap: 'wrap' } }, h("udp-fluent-card", { key: 'bcb4676121f0efa8e3fc3bc72fa75528274624da', interactive: true, appearance: "outline", onClick: () => console.log('Card clicked'), style: { width: '280px' }, label: "John Doe", subtitle: "Software Engineer" }, h("div", { key: '2b21017c6a504a87d8e05d6916467fe78f83e9bc', style: {
|
|
3858
4012
|
width: '32px',
|
|
3859
4013
|
height: '32px',
|
|
3860
4014
|
borderRadius: '50%',
|
|
@@ -3863,39 +4017,39 @@ const TestComponentsPage = class {
|
|
|
3863
4017
|
display: 'flex',
|
|
3864
4018
|
alignItems: 'center',
|
|
3865
4019
|
justifyContent: 'center',
|
|
3866
|
-
}, slot: "header-start" }, "JD"), h("udp-fluent-icon-button", { key: '
|
|
4020
|
+
}, slot: "header-start" }, "JD"), h("udp-fluent-icon-button", { key: 'b6b181737dca9dc355e30118f6bebe3cd39e24df', iconName: "more", slot: "header-action", shape: "circular" }), h("udp-fluent-icon-button", { key: 'fe7f2fcea2442790c8d38432f745cac18a3b3ae7', iconName: "dismiss", slot: "header-action", shape: "circular" }), h("div", { key: 'fdefa72ea2e21d8d136074eff076ac80e2495f5c' }, "(div) Responsible for maintaining the core design system and ensuring accessibility compliance across all products."), h("udp-typography", { key: 'fe2503439308c8ff6c8b482dfcf7bc2a6ff1f839', variant: "body1" }, "(body1) Responsible for maintaining the core design system and ensuring accessibility compliance across all products."), h("udp-typography", { key: 'eb6c3a2302c1829bd6a5064b2c761feedcc73e56', variant: "body2" }, "(body2) Responsible for maintaining the core design system and ensuring accessibility compliance across all products."), h("udp-fluent-button", { key: 'ad400a8b16dcd9afba6101e21f9823e05f84f292', slot: "footer", appearance: "primary", size: "small", onClick: () => console.log('Profile clicked') }, "View Profile"), h("udp-fluent-button", { key: '3a376128950ba9f1e903e08cbe2d0b6672c9eed9', slot: "footer", appearance: "outline", size: "small", onClick: () => console.log('Help clicked') }, "Help Center"))), h("h4", { key: '62e3cd55c34372b31207849077f68fe52f505d1a' }, "Flex Layout (Grid System)"), h("div", { key: '7b7732b07c560e9c335d37988f629261427060b2', style: { display: 'flex', flexDirection: 'column', gap: '1rem' } }, h("div", { key: 'cf317cf2d46c4913f32b89f6f735626fc86fd9d4', style: { display: 'flex', gap: '1rem' } }, h("div", { key: 'fa2cb998c3af9328f9a4514f14205bc05cc4e10b', style: { flex: '1' } }, h("udp-fluent-card", { key: 'b92d16435bf12dc28a1367b4178a929c2aa93a1d', width: "100%" }, h("div", { key: 'a71e539fb21f9db6926d27ccbc245327bb20209f', slot: "header" }, h("h3", { key: '487932c783e203d9c43faf3c8813c6169ff02c7e' }, "Card 1 (50%)")), h("span", { key: 'fe9785f487744313452a68032cd0532614fe9e8a' }, "Flex item 1"))), h("div", { key: 'eebcc81b1d791df23e5f083c29856b2a2a4577d2', style: { flex: '1' } }, h("udp-fluent-card", { key: 'ff21b574c807048a0528faafb5192474fbc89add', width: "100%" }, h("div", { key: 'bc7fd546fd2096a1b9b6af081802f695e0898e9d', slot: "header" }, h("h3", { key: 'da183cde85fd4594b13701a6f130c2c5d74df17a' }, "Card 2 (50%)")), h("span", { key: '9c6a4691ec6da5bd6ee01d80c74410c1a83c8784' }, "Flex item 2")))), h("div", { key: '9a4440fb03fcf52790890e31f3b9b69918c797f8', style: { display: 'flex', gap: '1rem' } }, h("div", { key: 'e42ef069016f8b9753cb62c1e8b573af206e6cf7', style: { flex: '1' } }, h("udp-fluent-card", { key: '8ab6f7fd934cf244090ba965c6f8bfc781941ee1', width: "100%" }, h("div", { key: 'a2dfabf37bf46d270f4536521f935fbe2847374c', slot: "header" }, h("h3", { key: '883ee64febef7cfc458595f9c0f15f3d65c73cdd' }, "Card 3 (33%)")), h("span", { key: '61710d86a7f61159207473447d272eaa75976d2b' }, "Flex item 3"))), h("div", { key: '24de91a517671c0ac3c4951e14f0fb8fb9cfdbe4', style: { flex: '1' } }, h("udp-fluent-card", { key: '130b5ba19bb9092fd5ae0499b217635be12efcb9', width: "100%" }, h("div", { key: 'b83c7aefaf6c42db9ece9b527887db45bc43ab23', slot: "header" }, h("h3", { key: 'b20663588aee611d4d16ac9218f63aa370fde181' }, "Card 4 (33%)")), h("span", { key: 'a8bd26feb67acdd36a4c67b611d32f00ca47df1e' }, "Flex item 4"))), h("div", { key: '838f03cbb2b945f7ef2df6c31122c563588a9df1', style: { flex: '1' } }, h("udp-fluent-card", { key: '5f595387f21d8d88f206e75e49b77b7ec9955cbb', width: "100%" }, h("div", { key: '807420f3ee09592a934055a28d0db0297d77ff4b', slot: "header" }, h("h3", { key: '1475a642682d98fa63d51fbe367c1ebd4807dc2b' }, "Card 5 (33%)")), h("span", { key: '87f571d9c1af0e93079965f7aeef8ee5ad0e6ad2' }, "Flex item 5"))))))), h("udp-tab-panel", { key: '964842e0b3a4cbd94b4141ffc25193858c50f572', id: "chips", activeTabId: this.currentTab }, h("div", { key: '225a4486d0dbf15cc276fe521329457eef489995', style: { padding: '24px', display: 'flex', flexDirection: 'column', gap: '24px' } }, h("h4", { key: '0e053d482db75c08a76942360b442b5cc02e7275' }, "Filled Chips"), h("div", { key: '146273935e944847f61b7f7697242beb81b4ebee', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, h("udp-chip", { key: 'e5b26f87b3657073aa8cb05bc1c00a38e507905f', label: "Basic Chip", variant: "filled", color: "gray" }), h("udp-chip", { key: 'eb81ec37f130f58205dc39755630be65e377e84d', label: "Primary", variant: "filled", color: "primary" }), h("udp-chip", { key: '9297a2d52de343c81f58a05cf200442b686fd861', label: "Success", variant: "filled", color: "success" }), h("udp-chip", { key: '33561994245752eefa5db500406dcf9e072da9cb', label: "Warning", variant: "filled", color: "warning" }), h("udp-chip", { key: '425e2c73aac1ecd247d8bfcc8e8f60ee093872a7', label: "Error", variant: "filled", color: "error" })), h("h4", { key: '1f69ade6d5667c0473c1e4a08ce23a4e34057eea' }, "Outlined Chips"), h("div", { key: 'e7b9b1b0d02ffadda37c8f26b68be0b0cbb7a47f', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, h("udp-chip", { key: 'fa9956e73eb95865d77e2078a883304a86b0043c', label: "Basic Chip", variant: "outlined", color: "gray" }), h("udp-chip", { key: '0ccd52c651712ce2118ce45a4c7c8b87df1f797a', label: "Primary", variant: "outlined", color: "primary" }), h("udp-chip", { key: '8b2cd4958fd6ca16283e3228c8feeacb6cc32749', label: "Success", variant: "outlined", color: "success" }), h("udp-chip", { key: '616ff6bf8d429eba85c9d987346190044f596adc', label: "Warning", variant: "outlined", color: "warning" }), h("udp-chip", { key: '73d44013707297d0c87183b20ca19af9e2801792', label: "Error", variant: "outlined", color: "error" })), h("h4", { key: '21679eca47c93fcfd82749b6f93c20182c10328d' }, "With Icons & Deletable"), h("div", { key: '8e04eb7665c057e16c077c9266e760416b34e8ae', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, h("udp-chip", { key: '019324e55e95daf7e34b29fe5feaa276ea5ab331', label: "Person", startIcon: "person_20_regular", variant: "filled", color: "primary" }), h("udp-chip", { key: 'b290714f8632c7d97b4754f58793dfc555c5d430', label: "Deletable", variant: "filled", color: "gray", deleteButton: true, onChipDelete: e => console.log('Delete:', e.detail) })), h("h4", { key: '2912f871b377eab23093a96d466714e882db71dd' }, "Sizes"), h("div", { key: 'c224045dea9ce3156e5dce880713663ed80ff95a', style: { display: 'flex', gap: '8px', flexWrap: 'wrap', alignItems: 'center' } }, h("udp-chip", { key: '7e7de92373b3e3682a7dffd131ce33f930ccdf6d', label: "Medium (Default)", size: "medium" }), h("udp-chip", { key: '134cb42babbb7a188a47f30ab874e59c82dc8127', label: "Small", size: "small" })))), h("udp-tab-panel", { key: '933e752eeb0c36241524250da23506476fa6bb8e', id: "forms", activeTabId: this.currentTab }, h("div", { key: '2ba7bb0419e5c853777e31df6ea97aabe7f1a634', style: {
|
|
3867
4021
|
padding: '24px',
|
|
3868
4022
|
display: 'flex',
|
|
3869
4023
|
flexDirection: 'column',
|
|
3870
4024
|
gap: '40px',
|
|
3871
|
-
} }, h("div", { key: '
|
|
4025
|
+
} }, h("div", { key: '51d0c22548068cd16dde401b1dd2985960bcdbf7' }, h("h3", { key: '317a643057a9f7492eaf222d6cdfe2754b7132e9' }, "1. Registry Pattern (Sidesheet)"), h("p", { key: '282ba59c491a7183e404c89b7e75a6627a388ae5' }, "Button in drawer footer auto-connects to form via ", h("code", { key: '688d73aa6abbc304d9d09bbffc3fc4a1801b48ad' }, "formId"), "."), h("div", { key: '4477b466e619006c756bf06dc5700b05fa8b3e67', style: { marginTop: '16px' } }, h("udp-fluent-button", { key: '6fdb069619d41d51188d0f9a443a196feda478af', appearance: "primary", onClick: () => (this.formDrawerOpen = true) }, "Open Registry Form Drawer"))), h("hr", { key: 'ab77230af7fae409ee61b02f4076a55d3ea251cf', style: { width: '100%', borderColor: '#eee' } }), h("div", { key: 'df957357cddcb06ec14059bdc626788c7c5a29a2' }, h("h3", { key: 'b288d29026d5e77818d70efaba78237114d53d1d' }, "2. Legacy Manual Wiring (Sidesheet)"), h("p", { key: 'bf0a674213e50d2bb977eb3338ddced5ea0ac02f' }, "Parent component manually listens to ", h("code", { key: '549bad703fc53ee90c8f79a20d17a36152323c75' }, "formReady"), ", tracks validity state, and calls ", h("code", { key: 'db3e33a99e57b9d187ce408a4eac0b1eb1ed36a8' }, "submit()"), "."), h("div", { key: '33bb525f130150e1eb9d020fd47207bcf5f86d34', style: { marginTop: '16px' } }, h("udp-fluent-button", { key: '11ebd23529b52a595cc65a73e5905bed1025ef10', appearance: "outline", onClick: () => (this.manualDrawerOpen = true) }, "Open Manual Form Drawer"))), h("hr", { key: '4c98e4dfe64624e47ce6af2fbeb68a54f12efc95', style: { width: '100%', borderColor: '#eee' } }), h("div", { key: 'bdd614c76561a4c1fcbdc1c4179d2d316b0d4653' }, h("h3", { key: '721d5c97dce29b5aaa068bc96a57d070d692887d' }, "3. Inline Form"), h("p", { key: 'fb803bfba8e806b66bdf4bf5b860d2f1497c224c' }, "Form embedded directly in the page. Uses registry pattern for the external submit button."), h("div", { key: 'e19f7098bff2e118913785b98a1acc35265fa3b7', style: { border: '1px solid #e0e0e0', padding: '24px', borderRadius: '8px' } }, h("div", { key: 'd501a205c2dbe5d1eb422871469333a96c76290e', style: { marginTop: '16px', display: 'flex', justifyContent: 'flex-end' } }, h("udp-fluent-button", { key: '16389d1465f8f774a86482db476cd01aedb48033', appearance: "primary", form: "inline-form", type: "reset" }, "Inline Reset")))))), h("udp-tab-panel", { key: 'c4031de01c0230a17465c7a38ed3d4ca5f586157', id: "calendar", activeTabId: this.currentTab }, h("div", { key: 'd57cfb3bd0f74781ed4f457b0ea2e99f871f29d8', style: {
|
|
3872
4026
|
padding: '24px',
|
|
3873
4027
|
display: 'flex',
|
|
3874
4028
|
flexDirection: 'column',
|
|
3875
4029
|
gap: '32px',
|
|
3876
|
-
} }, h("div", { key: '
|
|
4030
|
+
} }, h("div", { key: 'a76894d0c1a4ab636ac5030a92d0d467ce434ceb' }, h("h3", { key: 'ade00e11965d5bf44d760c61ee1a3866786efaed' }, "Date Range Selector (Fluent2 Styled)"), h("p", { key: '8ae9976cebc6f67cc1925dbf382a2af8195b36da', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '8px' } }, "Calendar component with month/year view navigation. Click the header to switch views.")), h("div", { key: '239cf3a6fe6ab428e22b7d23ba812cd0afd6c168', style: { display: 'flex', gap: '48px', flexWrap: 'wrap' } }, h("div", { key: '81aca047578c3d01e7223150175013a78b6e8455' }, h("h4", { key: '6c793499baf881f8c94c79515ac56155159b1ec3', style: { marginBottom: '8px' } }, "Single Date (sm)"), h("udp-date-range-selector", { key: 'b2086f99773ab591fb18fd010fe6e62cf1d5f77c', variant: "single", monthsToDisplay: 1, size: "sm", onChange: (e) => (this.singleDateValue = e.detail) }), h("p", { key: '9eac84f75eeff0b9f72f3771d3d5295d55b824ac', style: {
|
|
3877
4031
|
fontSize: '12px',
|
|
3878
4032
|
color: 'var(--colorNeutralForeground3)',
|
|
3879
4033
|
marginTop: '8px',
|
|
3880
|
-
} }, "Value: ", h("code", { key: '
|
|
4034
|
+
} }, "Value: ", h("code", { key: '0184d55348988efe295edb8b5dfee5f2d7d672c3' }, this.singleDateValue || '(none)'))), h("div", { key: 'aa95eca16d1aba0e493b7c9041ae495f60bd1d25' }, h("h4", { key: 'e425d6f78306c0fba452f44de5af7a7aa1d330b1', style: { marginBottom: '8px' } }, "Multi-Select (md)"), h("udp-date-range-selector", { key: 'c6b7b79e3c4e47a66758dab40bb1e99ba6297254', variant: "multi", monthsToDisplay: 1, size: "md", onChange: (e) => (this.multiDateValue = e.detail) }), h("p", { key: '572d9ed1a46ba24ad7ccea2f24e3c0ca49df47ac', style: {
|
|
3881
4035
|
fontSize: '12px',
|
|
3882
4036
|
color: 'var(--colorNeutralForeground3)',
|
|
3883
4037
|
marginTop: '8px',
|
|
3884
|
-
} }, "Value: ", h("code", { key: '
|
|
4038
|
+
} }, "Value: ", h("code", { key: '7cfe88f218a918facfd8da81c46ec1c7449627c4' }, this.multiDateValue || '(none)')))), h("div", { key: '9476e8b62b7ae1bf4903367d8924cea4e920956d' }, h("h4", { key: '93d113d30b3586a8c37c9076be4389022b851af7', style: { marginBottom: '8px' } }, "Date Range (lg, 2 months)"), h("udp-date-range-selector", { key: '268d3d1dbd6f23d6fb1179991098e36d1d82fb04', variant: "range", monthsToDisplay: 2, size: "lg", orientation: "horizontal", onChange: (e) => (this.rangeDateValue = e.detail) }), h("p", { key: 'a898c6cf04471f0110dd727580cd46dd279dc31e', style: {
|
|
3885
4039
|
fontSize: '12px',
|
|
3886
4040
|
color: 'var(--colorNeutralForeground3)',
|
|
3887
4041
|
marginTop: '8px',
|
|
3888
|
-
} }, "Value: ", h("code", { key: '
|
|
4042
|
+
} }, "Value: ", h("code", { key: '11cffef67620b25875d06854923eee4d88b32d85' }, this.rangeDateValue || '(none)'))), h("div", { key: '5d0c40e73a178845e0cfb32cc83b0cc750ea366b' }, h("h3", { key: 'ae8683c4ae2c7477e91777d9f1cbd24da1cfd76e', style: { marginTop: '16px' } }, "Date Picker (Native)"), h("p", { key: '14136a40f8a4e95ec3e70d9b0c0f8fc784c1bb08', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '16px' } }, "For simple single date selection, the native date input provides quick month/year navigation."), h("div", { key: '7afa9a2f0132bc34947498e93e56a9f30c7c1ba6', style: { display: 'flex', gap: '24px', flexWrap: 'wrap' } }, h("udp-date-input", { key: '0b279bd4ec5d320aeb903df77a8520b7403aa80d', label: "Date", appearance: "outline" }), h("udp-date-input", { key: '1e703deda9a5fcdabde2f8998349b2d696161c47', label: "Date & Time", appearance: "outline" }))), h("div", { key: 'da8cf4c84ec28c8330898f7b0b366c62a8e961a5' }, h("h3", { key: '13ad57ac22a9b8cbe4a03adc4ca6a77b20a1a59a', style: { marginTop: '24px' } }, "Popover Component"), h("p", { key: '090804cb882989f0689ebe86c09f25357549a142', style: { color: 'var(--colorNeutralForeground2)', marginBottom: '16px' } }, "Generic popover using native Popover API and CSS Anchor Positioning."), h("div", { key: 'd514fcb39a2881c35684b03b9c75fd22c7b5a91d', style: {
|
|
3889
4043
|
display: 'flex',
|
|
3890
4044
|
gap: '24px',
|
|
3891
4045
|
flexWrap: 'wrap',
|
|
3892
4046
|
alignItems: 'flex-start',
|
|
3893
|
-
} }, h("udp-popover", { key: '
|
|
4047
|
+
} }, h("udp-popover", { key: 'baee48c3abd510ff7733b9a78b0821886b4bb93f', position: "bottom-start" }, h("udp-fluent-button", { key: '0c0ada95d79fcaec9e9dde8ced183ccd2bf21a93', slot: "trigger", appearance: "outline" }, "Open Popover"), h("div", { key: 'b673b02063a8bcdd0cc04d28325bbff7195cf556', slot: "content", style: { padding: '16px', minWidth: '200px' } }, h("p", { key: '7d1025ff5ce06e01432ae6cfbb6d16f1a217b344', style: { margin: '0 0 8px 0', fontWeight: '600' } }, "Popover Title"), h("p", { key: 'e58314795b4d5f2a0b4aba102291c5139ef19a75', style: { margin: '0', color: 'var(--colorNeutralForeground2)' } }, "This is popover content. Click outside to close."))), h("udp-popover", { key: '61a9929f8362d95205f807aca53fec33c1f9cb50', position: "bottom-start" }, h("udp-fluent-button", { key: 'b74ce625ae37a9ec5f5964097f40bf4e27540229', slot: "trigger", appearance: "primary", startIconName: "calendar" }, "Date Picker Popover"), h("div", { key: '016fb3bb20c191299f87e964821fa03514aff0c8', slot: "content", style: { padding: '8px' } }, h("udp-date-range-selector", { key: '1044c57d2c60f55c311fd0ec631c82b209e5b1e1', variant: "single", monthsToDisplay: 1, size: "sm" }))), h("udp-popover", { key: '1d1bbcf2096e19d550d902a53aee357796c8b7f8', position: "right" }, h("udp-fluent-button", { key: '196c84f90020b37a72829b54f38196c54f60ac0c', slot: "trigger", appearance: "subtle" }, "Right Position"), h("div", { key: '8652a1b86dbff41cc7f1e0aed16c0247a76759d0', slot: "content", style: { padding: '12px', minWidth: '150px' } }, "Positioned to the right")))))), h("udp-tab-panel", { key: '32224be4c12ba503698dfc4299489e1f850f8970', id: "popover", activeTabId: this.currentTab }, h("div", { key: 'df1923bc1f8d87d6d1dbc0e39d7313ade2f442f3', style: {
|
|
3894
4048
|
padding: '24px',
|
|
3895
4049
|
display: 'flex',
|
|
3896
4050
|
flexDirection: 'column',
|
|
3897
4051
|
gap: '32px',
|
|
3898
|
-
} }, h("div", { key: '
|
|
4052
|
+
} }, h("div", { key: 'de78599b62074890996a9f0b7106a2caf5e0a76b' }, h("h3", { key: 'fa5e1134c795219324a6c18c672ae00b153e8c16' }, "Popover Component"), 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.")), h("div", { key: '0ec085fd6187abe25ef865493bd0d742860e14fb' }, h("h4", { key: 'abc70a93436f57ade92f1fede7760da9f08b10a6' }, "Basic Usage"), h("div", { key: '309cd090c58e89db45aacd97f45d4be364b71cc8', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, h("udp-popover", { key: '2389e4690bd6d0a5a8a969b701e6960df643abf2' }, h("udp-fluent-button", { key: '215847df3af948b28c26663ee6e8d591ffa721ad', slot: "trigger" }, "Default Popover"), h("div", { key: '15713b88dff46228c61ec60b655fd750cd825555', slot: "content" }, h("h4", { key: 'dc12ab74b240312f0ad4a93e15b6216e0d211d7e', style: { marginTop: '0px' } }, "Popover Title"), h("p", { key: 'c40374b77cd3c413c889b11243fff435d79e1410', style: { marginBottom: '0px' } }, "This is popover content. Click outside to close."))), h("udp-popover", { key: '49b591fe69268f355e783e2121ba0700565fbac7', position: "top" }, h("udp-fluent-button", { key: 'bcf771e569a713995342f381ce15d95805da0b31', slot: "trigger", appearance: "outline" }, "Top Position"), h("div", { key: '16f881adf8a80464e6493eb001a9b7c8530a598a', slot: "content" }, h("p", { key: 'c56be14ceb4b0b745b3d501828fcf81bb7959845', style: { margin: '0px' } }, "Positioned above the trigger"))), h("udp-popover", { key: '17429ce24610062761721adba1b0e1360d3435a0', position: "right" }, h("udp-fluent-button", { key: 'ea0c27b5ad3ef80e87b444ee516c1ab78061f7b5', slot: "trigger", appearance: "subtle" }, "Right Position"), h("div", { key: '0e31b7751096b3c21e1ba742c9128e58e78a977a', slot: "content" }, h("p", { key: '3b28a0e7fd294e958af0ae3f7ae611f6fd40ad39', style: { margin: '0px' } }, "Positioned to the right"))))), h("div", { key: 'f1b870262e56f2b7c0c6b62cad6c4ec1ee6bcea3' }, h("h4", { key: 'd08ed6b40a1a17ad446c5da47235a5a021a0ae87' }, "With Arrow"), h("p", { key: 'b0669021c90234a102a2758e2c85b6cf7d0a40c5', style: { fontSize: '14px', color: 'var(--colorNeutralForeground3)' } }, "Display an arrow pointing from the popover to the trigger."), h("div", { key: '148494b3afc0e4a4498e176de2f3f53f120377ab', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, h("udp-popover", { key: '71cd4042402d54503e10a0b3b778273a44708a86', "with-arrow": true }, h("udp-fluent-button", { key: 'afdb81992187c7e90a31775f91dd7c7602626550', slot: "trigger" }, "Default Arrow"), h("div", { key: 'e23966673d45422677b2f9d20e059f3eba15a86f', slot: "content" }, h("p", { key: 'dee67f67e84adb4224962db86eafb13006a73c5b', style: { margin: '0px' } }, "Popover with arrow"))), h("udp-popover", { key: '30397d03de10b21a857bc47bf5caf88349c2fb0a', "with-arrow": true }, h("udp-fluent-button", { key: 'f30d696cae00645eb9559cd199acc3666e51eeab', slot: "trigger", appearance: "primary" }, "Brand Arrow"), h("div", { key: 'cab059aeec07465c05ac1fe3fee9a3556516abb7', slot: "content" }, h("p", { key: '00dd51a1ea338445fa2b927632426e9b1a22af0e', style: { margin: '0px' } }, "Brand popover with arrow"))), h("udp-popover", { key: '27aca32e7bdbd3a90bd00c826c87ef4c8d0fe047', "with-arrow": true, position: "top" }, h("udp-fluent-button", { key: 'e0849cd9bd6b381ea93d1e11c9fae80dba62a394', slot: "trigger", appearance: "outline" }, "Top Arrow"), h("div", { key: 'd19a4b3097a7b74ca70522849035b0ff2c301c31', slot: "content" }, h("p", { key: '49c6eef9b0ba971942f85f544f4008262d485453', style: { margin: '0px' } }, "Arrow on top position"))))), h("div", { key: 'a2fba4fe01f12ce3ec791b940789b33fc58d2692' }, h("h4", { key: 'fb5d56e7b993789e46008144fe2408075d874120' }, "Size Constraints"), h("p", { key: 'ec6b9c33685c2c94c572342357e8a805c27c9e0a', style: { fontSize: '14px', color: 'var(--colorNeutralForeground3)' } }, "Optional max-width constraints. Without size, popover grows to fit content."), h("div", { key: 'd05cc708230095259f253846cbbac0a940a30160', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, h("udp-popover", { key: '12baa8d16f25afa6c3d28670f83c9eb5121d6c8a', size: "small" }, h("udp-fluent-button", { key: 'ab5016650f2d00ce84f97cf1e200d0615b42b8a0', slot: "trigger" }, "Small (320px)"), h("div", { key: 'c7c816bbe8137bdde9ff705886e0a7d6ee6f2c3c', slot: "content" }, 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."))), h("udp-popover", { key: 'ee49c32415153273e4fdaa53729c0f5f7a364d84', size: "medium" }, h("udp-fluent-button", { key: '9070dd1f95a829200e6174fc835696bb63bcae29', slot: "trigger" }, "Medium (480px)"), h("div", { key: 'fb780656ef0e681cd2c8abf0ad79c8cb8aabf063', slot: "content" }, 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."))), h("udp-popover", { key: '1312dae79483ae04cfe25cb94fafcb15b8a4ba41', size: "large" }, h("udp-fluent-button", { key: '5af2687fba9b0e61ae9ae9ad7c8c535795f6437f', slot: "trigger" }, "Large (640px)"), h("div", { key: '070844d44ac39ce22328507251a4b270a0402feb', slot: "content" }, 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."))))), h("div", { key: '1106f68b226ad63b7a3205408207cdcb15457812' }, h("h4", { key: '98c88f79d70524359a9b8bf39907ac8c5bb1d5fb' }, "Trap Focus (Accessibility)"), h("p", { key: 'd0fcb4a98269e5db035986f9959807bada8b0bbe', style: { fontSize: '14px', color: 'var(--colorNeutralForeground3)' } }, "When trapFocus is enabled, keyboard navigation is restricted to the popover."), h("div", { key: '66c307a29bf5b3db9b20aa6d64d1e61e20e22e1b', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, h("udp-popover", { key: '327314e4256e88715247406857c0a3f60933a24f', trapFocus: true }, h("udp-fluent-button", { key: 'fb7482ef7a513c88c7372663aa3f293f729df544', slot: "trigger" }, "Trap Focus"), h("div", { key: '71219e293802ec5f6ea566374589bf6e4c5d26ef', slot: "content" }, h("h4", { key: '9b5e264fa3f88d1442740d1d66cbc1cea27d1717', style: { marginTop: '0px' } }, "Modal Popover"), h("p", { key: '2d156cdfef4194e95738ae4d5dd7777f7dca119a' }, "This popover traps focus. Press Escape to close."), h("div", { key: '828667f0ffcaa14848140c4307e9fffaa2a10c17', style: { display: 'flex', gap: '8px' } }, h("udp-fluent-button", { key: '87f7af81b74a38ea013151f37042159c7ba1ebd6', size: "small" }, "Action 1"), h("udp-fluent-button", { key: '0f94b6cc584004ce1fb5cb06418fab83a9bdf4aa', size: "small", appearance: "outline" }, "Action 2")))))), h("div", { key: '6e46b315c6fc725a62bd77cccbca3b73a4ee981e' }, h("h4", { key: '0e053b34f9ec82147ebb5d3887c891d7ce430a2a' }, "Advanced Examples"), h("div", { key: 'c56987b0cd19ad2186992deb806602ba7445fb45', style: { display: 'flex', gap: '16px', flexWrap: 'wrap' } }, h("udp-popover", { key: '73a88abe2fc9fe39bcbfaef4f9091356a25e0baa', position: "bottom-start", "with-arrow": true }, h("udp-fluent-button", { key: '95aa8157bcaf5d4e4676af8df62dd3417b3766cd', slot: "trigger", startIconName: "calendar" }, "Date Picker"), h("div", { key: 'fe3b48bace501833e82f23a98e2ceeff6a8617db', slot: "content", style: { padding: '8px' } }, h("udp-date-range-selector", { key: 'd24cf7f68d4d3e3eceb5915a170789994e70050b', variant: "single", monthsToDisplay: 1, size: "sm" }))), h("udp-popover", { key: 'adc83170b5fef6161a2b733cbc5a8117f1e4eb73', size: "medium", "with-arrow": true }, h("udp-fluent-button", { key: 'b2206fd4150be2f9ba62e821f56dbade81c257f6', slot: "trigger" }, "Rich Content"), h("div", { key: 'a533b23283097f5495d0151ee0f93b6890e21b77', slot: "content" }, h("h4", { key: '167daeb178d8cf35fb63b0f592cf5856667732d2', style: { marginTop: '0px' } }, "Feature Update"), h("p", { key: '68717bc1995273cb80a46bb080b0c17da85db066', style: { fontSize: '14px' } }, "New features are now available! Check out the latest updates to improve your workflow."), h("udp-fluent-button", { key: '384035590f4155351c85acb101db1a32b360a036', size: "small" }, "Learn More"))), h("udp-popover", { key: '8b78209e59153e19061b5aaae79a940b928d9898', "close-on-scroll": true }, h("udp-fluent-button", { key: 'ec078c2a75da1d260a1e0a351770a905a28506d6', slot: "trigger" }, "Closes on Scroll"), h("div", { key: '056b4561b2484838879632e49356dd495c52f089', slot: "content" }, h("p", { key: 'bd8e8442a9fab33b2790e065309cc1ba389e587b', style: { margin: '0px' } }, "This popover will close when you scroll the page."))))))))), h("udp-fluent-drawer", { key: '5ab4d3eb2cb6adba88ebd6800dd9cee4fad3103c', open: this.drawerOpen, onDrawerClose: () => (this.drawerOpen = false), drawerTitle: "Drawer Title" }, h("udp-lazy-loader", { key: '1b58126c058d478dec5bb7857208a70f201156af', if: this.drawerOpen, content: () => (h("div", null, h("client-side-grid", { columnDefs: [
|
|
3899
4053
|
{ field: 'name' },
|
|
3900
4054
|
{ field: 'age' },
|
|
3901
4055
|
{ field: 'name' },
|
|
@@ -3906,10 +4060,10 @@ const TestComponentsPage = class {
|
|
|
3906
4060
|
], rowData: [
|
|
3907
4061
|
{ name: 'John', age: 30 },
|
|
3908
4062
|
{ name: 'Jane', age: 25 },
|
|
3909
|
-
] }), h("udp-fluent-button", { onClick: () => (this.drawerOpen = false) }, "Close Drawer"))) })), h("udp-fluent-drawer", { key: '
|
|
4063
|
+
] }), h("udp-fluent-button", { onClick: () => (this.drawerOpen = false) }, "Close Drawer"))) })), h("udp-fluent-drawer", { key: '16f8cc6b49ca49a6c5fe94d593390bc8dc9e87fb', open: this.formDrawerOpen, onDrawerClose: () => (this.formDrawerOpen = false), drawerTitle: "Sample Form", size: "large" }, h("udp-lazy-loader", { key: 'bf77fd0dde42b809e56490881d4bc1e19790ab85', if: this.formDrawerOpen, content: () => (h("div", { style: { display: 'flex', flexDirection: 'column', gap: '16px' } }, h("div", { style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, h("udp-fluent-button", { appearance: "outline", onClick: () => (this.secondDrawerOpen = true) }, "Open Second Drawer")), h("test-form", { handleSubmit: this.handleSubmit, formId: "registry-drawer-form" }))) }), h("udp-fluent-button", { key: 'd40fca17c87c7e852a40037ea8b83d37c59490a9', appearance: "primary", slot: "footer", form: "registry-drawer-form", type: "submit" }, "Submit Form"), h("udp-fluent-button", { key: '99d6c6a9bb73b12c91838883c59aa2912f018228', slot: "footer", form: "registry-drawer-form", type: "reset" }, "Reset Form")), h("udp-fluent-drawer", { key: 'd70876c7815a09985c6d4631a80269c136d5dff5', open: this.manualDrawerOpen, onDrawerClose: () => (this.manualDrawerOpen = false), drawerTitle: "Form (Manual Wiring)" }, h("udp-lazy-loader", { key: 'cc72088e57ec6df26ffa5bb4d4f72e85bdcf82d2', if: this.manualDrawerOpen, content: () => (h("test-form", { handleSubmit: this.handleSubmit, onFormReady: this.handleManualFormReady })) }), h("udp-fluent-button", { key: '31c4e117a65db305d61f3ae71e9def3acfc90a9e', appearance: "primary", slot: "footer", disabled: !this.manualCanSubmit, onClick: () => {
|
|
3910
4064
|
var _a;
|
|
3911
4065
|
void ((_a = this.manualFormInstance) === null || _a === void 0 ? void 0 : _a.submit());
|
|
3912
|
-
} }, "Submit (Manual)")), h("udp-fluent-dialog", { key: '6e91bfbf10a4a59b2402b9f05120660c63c44d90', open: this.drawerDialogOpen, dialogTitle: "Dialog from Drawer", onDialogClose: () => (this.drawerDialogOpen = false) }, h("div", { key: '18fe4caa630af5608b5fe0c0c1906fcb3e8dde21' }, "This dialog was opened from inside the drawer!"), h("div", { key: '06d026bc00f77a39ed56158401c6a3f24a135b43' }, 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."), 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."), 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?")), h("udp-fluent-button", { key: '424fca6eff1e54482d534f79f6275a9ac987e227', slot: "action", onClick: () => (this.drawerDialogOpen = false) }, "Close"), h("udp-fluent-button", { key: 'e3b3a46858fced75ec9d78bc43ba36fe3a7e901b', appearance: "primary", slot: "action" }, "Confirm")), h("udp-fluent-drawer", { key: '0a71490cb540ddd1522728711dcf5909dd8fb476', open: this.secondDrawerOpen, onDrawerClose: () => (this.secondDrawerOpen = false), drawerTitle: "Second Drawer (Nested)", size: "medium" }, h("div", { key: '02531560c700d6f8237ddcebcdd35ace5d0be980', style: { display: 'flex', flexDirection: 'column', gap: '16px', padding: '16px' } }, h("p", { key: 'c9b78dd51cc3e400b36829c09888ec5407e48c79' }, "This is the second drawer opened from within the first drawer."), h("div", { key: '1748255209ec482caba90cb09d73e639732c03ca', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, h("udp-fluent-button", { key: '484b21b5decca82831b76372715e3cf27e5630d7', onClick: () => (this.secondDrawerDialogOpen = true) }, "Open Dialog from Second Drawer"), h("udp-fluent-button", { key: '8eb1fa3aa9b4003ddadbe13a09988e1d1ee69c04', appearance: "outline", onClick: () => (this.thirdDrawerOpen = true) }, "Open Third Drawer")), 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."), 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."), 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?"), 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."), 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.")), h("udp-fluent-button", { key: 'f0df607d704b6725d1b7d7ae533e6022ffb48030', appearance: "primary", slot: "footer", onClick: () => (this.secondDrawerOpen = false) }, "Close Second Drawer")), h("udp-fluent-drawer", { key: '49ce5bf69407554af0afb54c73a383dcfa8f0ff4', open: this.thirdDrawerOpen, onDrawerClose: () => (this.thirdDrawerOpen = false), drawerTitle: "Third Drawer (Deeply Nested)", size: "small" }, h("div", { key: 'b8e4a2261454e8925caf9a6018da979289c8b64e', style: { padding: '16px' } }, h("p", { key: '8f2d09363caf7839c22224abc7bc3fd6a7620dd7' }, "This is the third drawer! Three levels deep."), h("p", { key: '4308f9a3dd95c3ddb795a5b280532fad0e6cacc2', style: { fontSize: '14px', color: 'var(--colorNeutralForeground2)' } }, "Testing the drawer stacking and body scroll lock mechanism with multiple drawers."), 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."), 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."), 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?"), 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."), 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.")), h("udp-fluent-button", { key: '557c1a937077116a1cca9f6adf17800ae6241d45', appearance: "primary", slot: "footer", onClick: () => (this.thirdDrawerOpen = false) }, "Close Third Drawer")), h("udp-fluent-dialog", { key: '52ac6502288ef85768adab10d51eb2ed57a130b4', open: this.secondDrawerDialogOpen, dialogTitle: "Dialog from Second Drawer", onDialogClose: () => (this.secondDrawerDialogOpen = false) }, h("div", { key: '9275c8a48f8931050548f59de768b7f7ac31afac' }, "This dialog was opened from the second drawer!"), 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."), 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."), 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?"), h("udp-fluent-button", { key: '05c9f1ee7f6a06f6ae13a5d2e101fce956555caf', slot: "action", onClick: () => (this.secondDrawerDialogOpen = false) }, "Close"), h("udp-fluent-button", { key: 'e6b0f28d91fd538601a3acb4ccac652bf2439a9e', appearance: "primary", slot: "action" }, "Confirm"))));
|
|
4066
|
+
} }, "Submit (Manual)")), h("udp-fluent-dialog", { key: 'f8c40ae3fe9e603f7b10f7465d071d99db4dd026', open: this.drawerDialogOpen, dialogTitle: "Dialog from Drawer", onDialogClose: () => (this.drawerDialogOpen = false) }, h("div", { key: '0bbfbaea2485b206d0c79ebaaa9b39b2d149d171' }, "This dialog was opened from inside the drawer!"), h("div", { key: 'fa6699d36a79136655fe71da769b6ee63ae5b4cc' }, 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."), 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."), 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?")), h("udp-fluent-button", { key: '7f5bdc86b1d37bb52f343be37bde7c81b547b0ee', slot: "action", onClick: () => (this.drawerDialogOpen = false) }, "Close"), h("udp-fluent-button", { key: '25be316897d60feedc8c12ff00b21f3adf073d31', appearance: "primary", slot: "action" }, "Confirm")), h("udp-fluent-drawer", { key: '62be21084f28613fe954ba943a0bb36a137c889c', open: this.secondDrawerOpen, onDrawerClose: () => (this.secondDrawerOpen = false), drawerTitle: "Second Drawer (Nested)", size: "medium" }, h("div", { key: '1923c71e9c7aca3a963d5d86183393c5eee60457', style: { display: 'flex', flexDirection: 'column', gap: '16px', padding: '16px' } }, h("p", { key: 'b13caa017a7f11d4b0a2c1042c47bf69699c950f' }, "This is the second drawer opened from within the first drawer."), h("div", { key: 'c5a39af6039317c3bf671a6ab9d21c7c3c54abfa', style: { display: 'flex', gap: '8px', flexWrap: 'wrap' } }, h("udp-fluent-button", { key: 'e4ccbe3179d8a26a6f6f169a9107a8924eec3cfc', onClick: () => (this.secondDrawerDialogOpen = true) }, "Open Dialog from Second Drawer"), h("udp-fluent-button", { key: 'ae2cba5361ac6d6240928172a72820e9da986f18', appearance: "outline", onClick: () => (this.thirdDrawerOpen = true) }, "Open Third Drawer")), 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."), 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."), 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?"), 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."), 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.")), h("udp-fluent-button", { key: '55b5f458a18d307a31cbb8ef009e06ff37bca9fe', appearance: "primary", slot: "footer", onClick: () => (this.secondDrawerOpen = false) }, "Close Second Drawer")), h("udp-fluent-drawer", { key: '78cb98deee2f37629a38eb330dfde513eae92524', open: this.thirdDrawerOpen, onDrawerClose: () => (this.thirdDrawerOpen = false), drawerTitle: "Third Drawer (Deeply Nested)", size: "small" }, h("div", { key: 'a2da7cf7abeeda0dfa00f1a84e1a70d840dfa82e', style: { padding: '16px' } }, h("p", { key: 'bca06e1eff9c54553810d20317c1973355077c32' }, "This is the third drawer! Three levels deep."), h("p", { key: '336986be66d7b3292cef84d186b7da6561badfdc', style: { fontSize: '14px', color: 'var(--colorNeutralForeground2)' } }, "Testing the drawer stacking and body scroll lock mechanism with multiple drawers."), 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."), 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."), 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?"), 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."), 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.")), h("udp-fluent-button", { key: '375e5901be524643740d386044ed120fd11943e4', appearance: "primary", slot: "footer", onClick: () => (this.thirdDrawerOpen = false) }, "Close Third Drawer")), h("udp-fluent-dialog", { key: '6c77457252d669a8ee972e5726948182b95c8c45', open: this.secondDrawerDialogOpen, dialogTitle: "Dialog from Second Drawer", onDialogClose: () => (this.secondDrawerDialogOpen = false) }, h("div", { key: '76c7000aeba22fdfb8a8f6eaa195527ae2b8630f' }, "This dialog was opened from the second drawer!"), 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."), 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."), 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?"), h("udp-fluent-button", { key: '29b8576af3600d53647428317c68c500400fc1ec', slot: "action", onClick: () => (this.secondDrawerDialogOpen = false) }, "Close"), h("udp-fluent-button", { key: '4eff0e187aa08a7be9474c5f1d5a3191fbd5f477', appearance: "primary", slot: "action" }, "Confirm"))));
|
|
3913
4067
|
}
|
|
3914
4068
|
};
|
|
3915
4069
|
|
|
@@ -4028,17 +4182,17 @@ const TestForm = class {
|
|
|
4028
4182
|
{ label: 'Medium', value: 'medium' },
|
|
4029
4183
|
{ label: 'Large', value: 'large' },
|
|
4030
4184
|
];
|
|
4031
|
-
return (h("div", { key: '
|
|
4185
|
+
return (h("div", { key: 'c6e6d809a4fd13eb7ec368a642357592162c5fa0' }, h("udp-form-component", { key: '424a3cd1640f3708cef96c83ad524877675f7f25', formId: this.formId, validate: this.validateForm, onFormReady: this.handleFormReady, submitHandler: this.handleFormSubmit, initialValues: this.formData }, h("udp-flexbox", { key: '2d599867009ab61e17055ae72dad6e1564f7e640' }, h("udp-flexbox", { key: '8f9bd24d40df0d8276a9e7f46e63cc1e069f38f9', style: { display: 'none' } }, h("h3", { key: '9c97ac8b5c87d23f585da2e12b2a9f3d8b163572', style: { margin: '0 0 1rem 0', fontSize: '16px', fontWeight: '600' } }, "Global Property Controls"), h("udp-flexbox", { key: 'facb3e251a290c9e8f2692eccfe81d33031685db' }, 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); } }), 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' } }), h("udp-fluent-switch", { key: '387a5b4140ee3d06a5c8c9be36543f8c33fe9bee', label: "Required", labelPosition: "after", checked: this.controlRequired, onValueChanged: (e) => (this.controlRequired = e.detail) }), h("udp-fluent-switch", { key: 'b8f786ba864db234cc7ad4d49cc3e4d109136c79', label: "Disabled", labelPosition: "after", checked: this.controlDisabled, onValueChanged: (e) => (this.controlDisabled = e.detail) }), h("udp-fluent-switch", { key: '00c1255fec440be9960f10bff875472ec8fd56d3', label: "Readonly", labelPosition: "after", checked: this.controlReadonly, onValueChanged: (e) => (this.controlReadonly = e.detail) })), h("p", { key: 'aa934ac3cd01cdc1495d08d9c40eef96ce834b20', style: {
|
|
4032
4186
|
margin: '0.75rem 0 0',
|
|
4033
4187
|
fontSize: '12px',
|
|
4034
4188
|
color: 'var(--colorNeutralForeground3)',
|
|
4035
|
-
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), h("udp-field", { key: '
|
|
4189
|
+
} }, "Note: Not all props apply to all components. readonly only applies to text inputs.")), h("udp-field", { key: 'c17c21fbefe603f36d15d51290ec587523d153d7', name: "searchText" }, h("udp-search-input", { key: '1a8b44c31c6446a93054cfc3b2289d90fa45f65f', disabled: this.controlDisabled, readonly: this.controlReadonly, appearance: this.controlAppearance, controlSize: this.controlSize, placeholder: "Search for something...", includeErrorPadding: false })), h("udp-field", { key: '4b732d126aaf2a8a88f2a12234ed89c638b2bf46', name: "firstName" }, 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" })), h("div", { key: 'b74ec4d398e603a4639e6f5049d566336741511f', style: { display: 'flex', gap: '1rem', flexDirection: 'row', flex: '1' } }, h("udp-field", { key: 'e70b1c8424dea49214746cd9fa21b07d64f72157', name: "email" }, 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 })), h("udp-field", { key: '132c98e1351aa76436928979deb0dd1b36051a98', name: "age" }, 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 }))), h("udp-field", { key: 'b412fe407b3da67bfacfcd411bacbc31abe519a1', name: "birthday" }, 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 })), h("udp-field", { key: 'f0cbb18c0062dd9a8cd2b8d4f2c1e308ae2e2818', name: "appointment" }, h("udp-date-time-input", { key: 'b80d8e632ba54643dc7483cf914ead91d8ebef0a', label: "Appointment (Combined Date/Time)", required: true, disabled: this.controlDisabled, appearance: this.controlAppearance, controlSize: this.controlSize })), h("div", { key: '267607b2fbb082198c6a197dce8ff15a07eb8062', style: { display: 'flex', gap: '1rem', flexDirection: 'row', flex: '1' } }, h("udp-field", { key: 'f998d23f7fc7d0d06047738699826517ec4472cd', name: "startTime" }, 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 })), h("udp-field", { key: '990714e498d53620f7fca2c521b9475f26afd6db', name: "endTime", validate: () => 'always invalid' }, 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 }))), h("udp-field", { key: '2fc2e23901c42df6070a380494abea6bf8064ebd', name: "bio" }, 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 })), h("udp-field", { key: 'ca7537ad348d64a6681b396aa5d9abe0d47724b0', name: "exclamation", validate: mustHaveExclamation }, 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 })), h("udp-field", { key: '02944007b97b580a5c24dc2bc454c9ec189e64c6', name: "favoriteAnimal" }, 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 })), h("udp-field", { key: '5b63c463a16f2f7c5f9fef52b0f753b3271fed98', name: "favoriteAnimalAutoComplete" }, 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,
|
|
4036
4190
|
// multiple={true}
|
|
4037
|
-
options: animals, controlSize: this.controlSize, popupHint: "Select an animal" })), h("udp-field", { key: '
|
|
4191
|
+
options: animals, controlSize: this.controlSize, popupHint: "Select an animal" })), h("udp-field", { key: 'a749e30627ab697fc70517f9f053b800bab14fe2', name: "serverSideUser" }, 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 })), h("udp-field", { key: 'b8abcc83141d13b34085d46c565b8cbb9e2f5d33', name: "newsletter" }, 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 })), h("udp-field", { key: '8ee065a692f9230947c61c639acdaae3b1d86487', name: "commitment" }, h("udp-slider", { key: 'd82a4fd9a7e831a6b983c019fbd660db2137b1f7', label: "Commitment Level", disabled: this.controlDisabled })), h("udp-field", { key: '9c01e58c058f16f41a487aba135171cbeb1c45d3', name: "active" }, h("udp-fluent-switch", { key: '2beef446b71cfaec3c5f9316711bf4a890e31dd0', label: "Active", labelPosition: "after", disabled: this.controlDisabled })), h("udp-field", { key: '86bef830811cc3117471a15f96b9b70ad8fc5c6d', name: "favoriteColor" }, h("udp-fluent-radio-group", { key: '799dfdd88cae4864a5af036bb2a3aad3f4c9a7b9', label: "Favorite Colo", disabled: this.controlDisabled, hint: "Favorite Color", items: [
|
|
4038
4192
|
{ label: 'Red', value: 'red' },
|
|
4039
4193
|
{ label: 'Green', value: 'green' },
|
|
4040
4194
|
{ label: 'Blue', value: 'blue' },
|
|
4041
|
-
] })), h("udp-field", { key: '
|
|
4195
|
+
] })), h("udp-field", { key: 'cb67abc051814e423cddfeb72ae2cf2ef7a96a3e', name: "swatchColor" }, 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'
|
|
4042
4196
|
? 'small'
|
|
4043
4197
|
: this.controlSize === 'large'
|
|
4044
4198
|
? 'large'
|
|
@@ -4046,7 +4200,7 @@ const TestForm = class {
|
|
|
4046
4200
|
}
|
|
4047
4201
|
};
|
|
4048
4202
|
|
|
4049
|
-
const udpAccordionCss = () => `:host{color:var(--colorNeutralForeground1)}`;
|
|
4203
|
+
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)}`;
|
|
4050
4204
|
|
|
4051
4205
|
const UdpAccordion = class {
|
|
4052
4206
|
constructor(hostRef) {
|
|
@@ -4056,6 +4210,12 @@ const UdpAccordion = class {
|
|
|
4056
4210
|
* The expand mode of the accordion.
|
|
4057
4211
|
*/
|
|
4058
4212
|
this.expandmode = 'multi';
|
|
4213
|
+
/**
|
|
4214
|
+
* Visual variant.
|
|
4215
|
+
* - `subtle`: default Fluent appearance, no chrome around items.
|
|
4216
|
+
* - `contained`: each item rendered as a stacked card with a neutral border.
|
|
4217
|
+
*/
|
|
4218
|
+
this.appearance = 'subtle';
|
|
4059
4219
|
/**
|
|
4060
4220
|
* The list of items to generate accordion items for.
|
|
4061
4221
|
*/
|
|
@@ -4066,9 +4226,9 @@ const UdpAccordion = class {
|
|
|
4066
4226
|
};
|
|
4067
4227
|
}
|
|
4068
4228
|
render() {
|
|
4069
|
-
return (h(Host, { key: '
|
|
4229
|
+
return (h(Host, { key: '52d6c8c4724465a67067e28923ae5a5794bf2caf', class: `appearance-${this.appearance}` }, h("fluent-accordion", { key: '1c23f304578f5419696f0cd39ca8d07aedc8e731', "expand-mode": this.expandmode, onChange: this.handleChange }, this.items
|
|
4070
4230
|
.filter(item => !item.hide)
|
|
4071
|
-
.map(item => (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 && h("
|
|
4231
|
+
.map(item => (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 && (h("udp-text", { slot: "heading", variant: "subtitle2" }, item.label)), h("slot", { name: `${item.id}-heading`, slot: "heading" }), item.content && h("div", null, item.content), h("slot", { name: `${item.id}-content` })))))));
|
|
4072
4232
|
}
|
|
4073
4233
|
get el() { return getElement(this); }
|
|
4074
4234
|
};
|
|
@@ -4157,9 +4317,9 @@ const UdpAmbientToolTip = class {
|
|
|
4157
4317
|
render() {
|
|
4158
4318
|
// Check if content is provided before rendering the tooltip content.
|
|
4159
4319
|
const shouldDisplayTooltip = !!this.isVisible && !!this.content && this.content.trim() !== '';
|
|
4160
|
-
return (h("div", { key: '
|
|
4320
|
+
return (h("div", { key: '76f07afee67d7d07767b854b3e0b468039a34bd1', class: "tooltip-wrapper", ref: el => (this.wrapperEl = el), onMouseOver: this.showTooltip, onMouseOut: this.hideTooltip }, h("slot", { key: '622ab4acb4012503be164ea4ddd213937cbc71e6' }), shouldDisplayTooltip && (
|
|
4161
4321
|
// STEP 4: Use the global class name we defined in our style string.
|
|
4162
|
-
h("div", { key: '
|
|
4322
|
+
h("div", { key: '99299569d0be029b26f4ae01cf591a370a0687dd', class: "udp-tooltip-portal", role: "tooltip", ref: el => (this.tooltipContentEl = el) }, h("unity-typography", { key: '113b439042c660a909bbcbdcc4a6c507d82716d7', variant: "caption-text" }, this.content)))));
|
|
4163
4323
|
}
|
|
4164
4324
|
};
|
|
4165
4325
|
UdpAmbientToolTip.style = udpAmbientToolTipCss();
|
|
@@ -4839,10 +4999,10 @@ const UdpAutocomplete = class {
|
|
|
4839
4999
|
? this.resolveProp(overlayOption, this.optionLabel, true)
|
|
4840
5000
|
: null;
|
|
4841
5001
|
const overlayBadges = overlayOption ? this.getOptionBadges(overlayOption) : [];
|
|
4842
|
-
return (h(Host, { key: '
|
|
5002
|
+
return (h(Host, { key: 'bdd6e4c3ad961ba652d54dbc00668bee328b0546', class: { 'has-error': hasError } }, h("fluent-field", { key: 'b24aaf3c3005370cb1dd636adb6250d3c333bb97', class: {
|
|
4843
5003
|
'no-label': !this.label && !this.multiple,
|
|
4844
5004
|
'no-message': !message && !this.includeErrorPadding,
|
|
4845
|
-
} }, h("div", { key: '
|
|
5005
|
+
} }, h("div", { key: '5cd182b709221373a5fa29bdf39d094d56a7ed6f', class: "label-content", onClick: () => this.handleTogglePopover(false), slot: "label" }, this.label && (h("fluent-label", { key: 'df28434aea16836eff7b87efecf79b0df221dcd6', disabled: this.disabled, style: { paddingTop: '2px', paddingBottom: '2px' } }, this.label, this.popupHint && (h("udp-tooltip", { key: '99a915b4dc310278a4305e1b6d8baa01b20c1e18', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: 'e994589606742b0af14269a83fe5ca7d4184c9e0', name: "info", size: "xs", class: "popup-hint-icon" }))))), this.multiple && (h("div", { key: 'af3ddbcbdfcc8afd37cb767156c00e12a60851db', class: {
|
|
4846
5006
|
'selected-items': true,
|
|
4847
5007
|
'has-items': selectedItems.length > 0,
|
|
4848
5008
|
} }, selectedItems.map(item => {
|
|
@@ -4852,14 +5012,14 @@ const UdpAutocomplete = class {
|
|
|
4852
5012
|
// mode `item` is already the object, so this is a no-op.
|
|
4853
5013
|
const opt = (_a = this.findOptionByValue(this.getOptionValue(item))) !== null && _a !== void 0 ? _a : item;
|
|
4854
5014
|
return (h("udp-fluent-badge", { color: "brand", shape: "circular", dismissible: !this.disabled, onDismiss: () => this.handleChipDelete(item) }, this.resolveProp(opt, this.optionLabel, true)));
|
|
4855
|
-
})))), h("div", { key: '
|
|
5015
|
+
})))), h("div", { key: 'a24ba320fdb1245b2a77220286a3281eee3ff8e1', slot: "input", class: {
|
|
4856
5016
|
'input-wrapper': true,
|
|
4857
5017
|
'has-overlay': !!overlayOption,
|
|
4858
|
-
} }, h("fluent-dropdown", { key: '
|
|
5018
|
+
} }, 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,
|
|
4859
5019
|
// Events
|
|
4860
5020
|
onInput: this.handleInput, onChange: this.handleChange, onFocusout: this.handleBlur, onFocusin: () => this.inputFocus.emit(),
|
|
4861
5021
|
// Suppress native invalid popup
|
|
4862
|
-
onInvalid: (e) => e.preventDefault(), exportparts: "control, listbox", ref: el => (this.dropdownRef = el) }, h("fluent-listbox", { key: '
|
|
5022
|
+
onInvalid: (e) => e.preventDefault(), exportparts: "control, listbox", ref: el => (this.dropdownRef = el) }, h("fluent-listbox", { key: 'd8c75e0c23a3e34d983c3cac2ae3dedd5cc5a34d' }, (this.loading || this.internalLoading) && (h("fluent-option", { key: '4f01650961bae674b1f27355ba21f2cfdb1d1108', disabled: true, ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, h("span", { key: '4da0bd038f5be0e666ba77e23df3a98f87642e7d' }, "Loading..."), h("span", { key: '99b07dbeedebf7e517ba8f6055c743a05ce64af7', slot: "indicator" }))), !this.loading && !this.internalLoading && visibleCount === 0 && !this.freeForm && (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 &&
|
|
4863
5023
|
!this.internalLoading &&
|
|
4864
5024
|
(displayOptions === null || displayOptions === void 0 ? void 0 : displayOptions.length) > 0 &&
|
|
4865
5025
|
(() => {
|
|
@@ -4890,7 +5050,7 @@ const UdpAutocomplete = class {
|
|
|
4890
5050
|
} }, optIcon && this.iconPosition === 'start' && (h("span", { slot: "start", class: "option-icon-slot" }, h("udp-fluent-icon", { name: optIcon, size: "sm" }))), this.renderOptionContent(optLabel, optIcon, optBadges, this.getOptionSecondaryText(option))));
|
|
4891
5051
|
});
|
|
4892
5052
|
return nodes;
|
|
4893
|
-
})(), this.freeForm && (h("fluent-option", { key: '
|
|
5053
|
+
})(), this.freeForm && (h("fluent-option", { key: '4dd08e2cc985d2a42422faa8ade4b9c5992733c5', freeform: true }, h("output", { key: '916b1af6f3a8797a6fa14fa0ae76a8107716a562' })))), h("div", { key: '5d6227cd27d25c7e4ed04f8299fe8380dd1b2e63', slot: "indicator", class: "indicator-wrapper" }, h("udp-fluent-icon-button", { key: '4889e140f685aff51cee886d2449f1983acb3c1d', class: {
|
|
4894
5054
|
'clear-button': true,
|
|
4895
5055
|
'is-visible': !this.disabled &&
|
|
4896
5056
|
(this.filterText !== '' ||
|
|
@@ -4898,10 +5058,10 @@ const UdpAutocomplete = class {
|
|
|
4898
5058
|
(this.multiple &&
|
|
4899
5059
|
Array.isArray(this.value) &&
|
|
4900
5060
|
this.value.length > 0)),
|
|
4901
|
-
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), h("udp-fluent-icon", { key: '
|
|
5061
|
+
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), h("udp-fluent-icon", { key: '4bed97458a00ab44f0d172b6870c39d030831a41', name: "chevron-down", size: "sm", class: "chevron-down", onClick: () => this.handleTogglePopover(false) }))), overlayOption && (h("div", { key: '919ea4fc75a2f1e9cf2d9a0dc31fd71bc3a098bd', class: "selected-overlay", "aria-hidden": "true" }, h("span", { key: '7fa6be503afdbaf33238cde8d4618c3c6276cd31', class: "selected-label" }, overlayLabel), this.renderBadges(overlayBadges)))), h("div", { key: '0442762a4fa6f8568eab9052fd1926b5dae58065', class: {
|
|
4902
5062
|
'message-wrapper': true,
|
|
4903
5063
|
'includeErrorPadding': this.includeErrorPadding,
|
|
4904
|
-
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, h("udp-text", { key: '
|
|
5064
|
+
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, h("udp-text", { key: '96a77d610bac921bd03d5a81a876be9afc208e6b', variant: "caption1", class: {
|
|
4905
5065
|
message: true,
|
|
4906
5066
|
error: hasError,
|
|
4907
5067
|
} }, message)))));
|
|
@@ -4967,7 +5127,7 @@ const UdpAvatar = class {
|
|
|
4967
5127
|
else {
|
|
4968
5128
|
style['background-color'] = this.getColorForUsername();
|
|
4969
5129
|
}
|
|
4970
|
-
return (h("div", { key: '
|
|
5130
|
+
return (h("div", { key: 'b45bf523f90254dcd7c5407a06bf99d60402ef9c', class: classes.join(' '), style: style }, this.iconName ? h("udp-icon", { iconName: this.iconName, darkIcon: false }) : h("unity-typography", { variant: "data-display-two" }, " ", this.getInitial())));
|
|
4971
5131
|
}
|
|
4972
5132
|
};
|
|
4973
5133
|
UdpAvatar.style = udpAvatarCss();
|
|
@@ -4982,7 +5142,7 @@ const UdpBadge = class {
|
|
|
4982
5142
|
}
|
|
4983
5143
|
render() {
|
|
4984
5144
|
const displayContent = this.content > this.max ? `${this.max}+` : this.content;
|
|
4985
|
-
return (h("div", { key: '
|
|
5145
|
+
return (h("div", { key: '96bcdee62edfc992431c647ee4bab1caaa758255', class: "badge-wrapper" }, h("slot", { key: '23884cb924e9e9cc0a73b3c7618c92430a04279c' }), h("span", { key: 'd40594141b2949039e961856ebc23cfe00e10d90', class: "badge-content" }, h("unity-typography", { key: '9d4131f5fda849a5cf01b1b892ce2ec8b6c38305', variant: 'caption-text' }, " ", displayContent, " "))));
|
|
4986
5146
|
}
|
|
4987
5147
|
};
|
|
4988
5148
|
UdpBadge.style = udpBadgeCss();
|
|
@@ -5088,7 +5248,7 @@ const UdpButton = class {
|
|
|
5088
5248
|
else {
|
|
5089
5249
|
attributes.type = this.type;
|
|
5090
5250
|
}
|
|
5091
|
-
return (h(TagType, Object.assign({ key: '
|
|
5251
|
+
return (h(TagType, Object.assign({ key: '03e8c38e50dc21b13460af37f0c45acc645b94d1' }, attributes), h("div", { key: 'ef5e69b4bdb9e9d7691501068aa95e2a02dcec35', class: "udp-button__spinner" }), h("span", { key: '66516037091fbf80c0537548bf7ad3ad1397e2a4', class: "udp-button__content-wrapper" }, this.startIcon && (h("span", { key: '90f92dea47f44701993ec9bf44e8656863350a6b', class: "udp-button__icon udp-button__icon--start", "aria-hidden": "true" }, this.startIcon)), h("span", { key: '8219ab673bece049833c7defbfac9f9e3032b4ae', class: "udp-button__text-content" }, h("slot", { key: '2ac43549d447fcd3f4584beec914d48557fe9037' })), this.endIcon && (h("span", { key: '01485d3787ccc42c4fd6e228c03ac51080125659', class: "udp-button__icon udp-button__icon--end", "aria-hidden": "true" }, this.endIcon)))));
|
|
5092
5252
|
}
|
|
5093
5253
|
get el() { return getElement(this); }
|
|
5094
5254
|
};
|
|
@@ -5139,7 +5299,7 @@ const UdpChip = class {
|
|
|
5139
5299
|
[`chip--size-${this.size}`]: true,
|
|
5140
5300
|
'chip--clickable': this.clickable,
|
|
5141
5301
|
};
|
|
5142
|
-
return (h("div", { key: '
|
|
5302
|
+
return (h("div", { key: '361854166b47c2faec56bda81a5f3519e3e7bc2e', class: chipClasses, onClick: this.handleChipClick }, this.startIcon && (h("span", { key: '2cb82ff959a3f418676f65ad08a227ed130d281c', class: "chip__icon chip__icon--start" }, h("udp-icon", { key: '4b728fe4c1b7448abbe1a7e888cfc34d98a38aa7', iconName: this.startIcon, color: 'inherit' }))), h("span", { key: '47fba8918f0b9472ddd38121bcdc0136fce69769', class: "chip__label" }, this.label), this.deleteButton && (h("span", { key: '27c9e7b53186d99ac1c5b9c85e9c227eaad8b26d', class: "chip__delete-icon", onClick: this.handleDeleteClick, title: "Remove" }, h("svg", { key: 'dec4211f3f3daaac983a69624fd55769cb156431', width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor" }, 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" }))))));
|
|
5143
5303
|
}
|
|
5144
5304
|
};
|
|
5145
5305
|
UdpChip.style = udpChipCss();
|
|
@@ -5208,7 +5368,7 @@ const UdpCompoundButton = class {
|
|
|
5208
5368
|
const showEnd = hasSlotContent(this.el, 'end') || !!this.endIconName;
|
|
5209
5369
|
const showDescription = hasSlotContent(this.el, 'description') || !!this.description;
|
|
5210
5370
|
const iconSize = getIconSize(this.size, 'prominent');
|
|
5211
|
-
return (h(Host, { key: '
|
|
5371
|
+
return (h(Host, { key: '212b785c591acf67253cb180efb3a032ec60b38e' }, 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 && (h("span", { key: '979679564974c63e6bffa9d4cdef1851b7487c8f', class: "slot-wrapper", slot: "start" }, h("slot", { key: 'd14bf4f6baecd930a13bad49f61281175812b596', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: '7c783a55f0c355d779163d27a7a5e9831238bb14', name: this.startIconName, size: iconSize }))))), showDescription && (h("span", { key: '05775142c1cdbf662c395dc159911d66d2d0253c', slot: "description", class: "description-wrapper" }, h("slot", { key: '4d650275f2037808d6c3ae5b8d87c60a83cf619b', name: "description" }, this.description))), h("slot", { key: '688741673c2e02e122585ddbbea8c1ae57e9590d' }), showEnd && (h("span", { key: '96dd3816da1eb4cae5816f619d938abd2cd4f9da', class: "slot-wrapper", slot: "end" }, h("slot", { key: 'ac28aff0d58792ac45a56a98ed16b968f428ead0', name: "end" }, this.endIconName && h("udp-fluent-icon", { key: '808eb095073681b9664775a2b4188a1e84359a62', name: this.endIconName, size: iconSize }))))), this.loading && (h("div", { key: '8fb67bdc557e1b314693fa2bc27578a64bd3c0bd', class: "loading-overlay" }, h("udp-spinner", { key: '934cc5075e0cf2d66b11433676f48550030deca4', size: this.size === 'large' ? 'extra-small' : 'tiny' })))));
|
|
5212
5372
|
}
|
|
5213
5373
|
get el() { return getElement(this); }
|
|
5214
5374
|
};
|
|
@@ -6289,10 +6449,10 @@ const UdpDateRangeSelector = class {
|
|
|
6289
6449
|
: 'calendar-range';
|
|
6290
6450
|
const containerWidth = this.getContainerWidth();
|
|
6291
6451
|
const monthWidth = this.getMonthWidth();
|
|
6292
|
-
return (h(Host, { key: '
|
|
6452
|
+
return (h(Host, { key: '110df5411b1cd697b43b9810c4a51415eac67b65', style: {
|
|
6293
6453
|
'--calendar-width': monthWidth,
|
|
6294
6454
|
'--container-width': containerWidth,
|
|
6295
|
-
}, class: `size-${this.size}`, onClick: e => e.stopPropagation() }, h("div", { key: '
|
|
6455
|
+
}, class: `size-${this.size}`, onClick: e => e.stopPropagation() }, h("div", { key: 'd1e4231e4c7f7b0ab09f5c195a2790b8f50fdd4b', class: "calendar-header" }, h("udp-fluent-icon-button", { key: '3bd5baef80592a833cfbdd0da41e4340042352d5', iconName: "chevron-left", onClick: this.handlePrevious, disabled: this.isPrevDisabled(), appearance: "transparent", ariaLabel: "Previous" }), h("udp-fluent-button", { key: '8ae72404f47f5501fcdccb7e76d7c3d44c6a1dd7', appearance: "transparent", onClick: this.handleHeaderClick, ariaLabel: this.viewMode === 'year' ? undefined : 'Change view', disabled: this.viewMode === 'year' }, this.getHeaderText()), h("udp-fluent-icon-button", { key: 'def615278ab504fda892e801c50bbc0757a6fd99', iconName: "chevron-right", onClick: this.handleNext, disabled: this.isNextDisabled(), appearance: "transparent", ariaLabel: "Next" })), this.viewMode === 'day' && (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 }, h("span", { key: 'cd366931a01548c7796cf5bd9a368a659ecf976a', slot: "previous", style: { display: 'none' } }), h("span", { key: 'd7f4a92450d9e458faf26b78f8f2e7bd9e5f6b63', slot: "next", style: { display: 'none' } }), h("div", { key: 'd27db9651f66c9322dc461eff384f5abf8ce0e80', class: "grid" }, Array.from({ length: this.monthsToDisplay }).map((_, index) => (h("calendar-month", { offset: index })))))), this.viewMode === 'month' && this.renderMonthGrid(), this.viewMode === 'year' && this.renderYearGrid()));
|
|
6296
6456
|
}
|
|
6297
6457
|
static get delegatesFocus() { return true; }
|
|
6298
6458
|
static get watchers() { return {
|
|
@@ -6398,7 +6558,7 @@ const UdpDateTimeInput = class {
|
|
|
6398
6558
|
// If a main label is provided (for date) but no time label, default time label to a non-breaking space
|
|
6399
6559
|
// to maintain vertical alignment (ensuring the time input isn't pushed up).
|
|
6400
6560
|
const effectiveTimeLabel = this.timeLabel === undefined && this.label ? '\u00A0' : this.timeLabel;
|
|
6401
|
-
return (h(Host, { key: '
|
|
6561
|
+
return (h(Host, { key: '25a83534d7e1cb0f176fb51ba29d069ccf1a10ce' }, h("div", { key: 'ea940d0130938ec6235ad91909440ab076fe1e70', class: "date-part" }, 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 })), h("div", { key: 'eec7daa2be271b63233113e9d20d5143cab4f3a3', class: "time-part" }, 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 }))));
|
|
6402
6562
|
}
|
|
6403
6563
|
static get watchers() { return {
|
|
6404
6564
|
"value": [{
|
|
@@ -6461,7 +6621,7 @@ const UdpDialog = class {
|
|
|
6461
6621
|
document.removeEventListener('keydown', this.handleKeyDown);
|
|
6462
6622
|
}
|
|
6463
6623
|
render() {
|
|
6464
|
-
return (h(Host, { key: '
|
|
6624
|
+
return (h(Host, { key: '79fc54d24cf02d0fd2a0475ecabc13936bfc0b69', onClick: this.handleOverlayClick }, h("div", { key: 'dfe6b5cf42fdc76c3a420f473a2d8542f184cb65', class: "dialog-container", role: "dialog", "aria-modal": "true", "aria-labelledby": this.titleId, "aria-describedby": this.descriptionId, onClick: (event) => event.stopPropagation() }, h("div", { key: 'b34c3c283968a1edd0ec07ef312807ef152a9eaf', class: "dialog-title", id: this.titleId }, h("unity-typography", { key: 'd980347009bd75c7591f2fd87a45e1632506c20b', variant: "h3" }, this.title)), h("div", { key: '15bab369202f6498154772767ca299ba700abd21', class: "dialog-content", id: this.descriptionId }, this.message && h("unity-typography", { key: '03c3c6de90201cf40749b3d9b8423d7238167a5b', variant: "body" }, this.message), h("slot", { key: '31ea739b30261e1d0b4a74b82044957b7d86d25c' })), h("div", { key: '438ec5314765aec75f6c3b5557238a8c77fc7cb6', class: "dialog-actions" }, !this.buttonTwoHidden && (h("udp-button", { key: '57da743d785a4c9fd769813145a50376b99c2e25', variant: 'text', disabled: this.disableTwo, onClick: () => this.actionTwo() }, this.labelTwo)), !this.buttonThreeHidden && (h("udp-button", { key: '1ab3897a4116f80eb681947cce29c78bfb37c34a', variant: 'text', disabled: this.disableThree, onClick: () => this.actionThree() }, this.labelThree)), !this.buttonOneHidden && (h("udp-button", { key: 'd8f9eb335d877687b6766e9f1c1cd71154e1c6a9', variant: 'contained', disabled: this.disableOne, onClick: () => this.actionOne(), loading: !!this.progress }, this.labelOne))))));
|
|
6465
6625
|
}
|
|
6466
6626
|
get hostEl() { return getElement(this); }
|
|
6467
6627
|
static get watchers() { return {
|
|
@@ -6510,7 +6670,7 @@ const UdpEmptyState = class {
|
|
|
6510
6670
|
render() {
|
|
6511
6671
|
const showIconArea = this.loading || this.hasIcon || !!this.iconName;
|
|
6512
6672
|
const showSecondary = this.hasSecondary || !!this.description;
|
|
6513
|
-
return (h(Host, { key: '
|
|
6673
|
+
return (h(Host, { key: '19e39a4779f2678b8a2f78f638886b4814688d04', class: `size-${this.size}` }, h("div", { key: '48003c618b26e0be817ac1ff5aee33984cc5e199', class: { 'empty-state-icon': true, hidden: !showIconArea } }, h("div", { key: 'ef3bf32bff28749eda5a9f71fd44669de20879ef', class: { 'icon-slot': true, hidden: this.loading } }, h("slot", { key: '9ed785cae386b42a7de148a4301c26f2eec6b790', name: "icon", onSlotchange: this.handleSlotChange }, this.iconName && h("udp-fluent-icon", { key: '4bf5d48ca0472a1c2ef36f969a6fd0b049918a25', name: this.iconName }))), this.loading && h("udp-spinner", { key: 'd36fab2c7299f48c5a368f05728293e496256b98', size: SPINNER_SIZE_MAP[this.size] })), h("div", { key: 'a2a4e8516917c9101836645e69a132d4ee3801f5', class: "empty-state-primary" }, h("slot", { key: 'd16c123f7ef7932a90be5ad9e1c02b1dcde9d2bc', onSlotchange: this.handleSlotChange }, this.heading && h("udp-text", { key: '9e3d88544450280fbade7c79b9eab423c7ec9b1c', variant: "subtitle2" }, this.heading))), h("div", { key: '846eed0ae360a012833329e68201c04dc0dabb3d', class: { 'empty-state-secondary': true, hidden: !showSecondary } }, h("slot", { key: '38d95b43d0eca4ee69655c20878d31173d768e84', name: "secondary", onSlotchange: this.handleSlotChange }, this.description && h("udp-text", { key: '364e09b9b4031c14a08d621d1441a800baba5d0a', variant: "body2" }, this.description))), h("div", { key: 'a142a76e279da9b60b228dd438a1b0914b074cc2', class: { 'empty-state-action': true, hidden: !this.hasAction } }, h("slot", { key: 'ce829f57d018bc459c636a2af3611b9d77e10833', name: "action", onSlotchange: this.handleSlotChange }))));
|
|
6514
6674
|
}
|
|
6515
6675
|
get el() { return getElement(this); }
|
|
6516
6676
|
};
|
|
@@ -6876,12 +7036,20 @@ function getValidatorsFromElement(el) {
|
|
|
6876
7036
|
const maxLen = (_b = input.maxlength) !== null && _b !== void 0 ? _b : (input.hasAttribute('maxlength') ? parseInt(input.getAttribute('maxlength'), 10) : null);
|
|
6877
7037
|
if (maxLen && maxLen > -1)
|
|
6878
7038
|
validators.push(maxLength(maxLen)); // -1 usually means no limit in some browsers
|
|
6879
|
-
// 4. Min / Max (Numeric)
|
|
6880
|
-
|
|
6881
|
-
|
|
7039
|
+
// 4. Min / Max (Numeric only)
|
|
7040
|
+
// HTML `min`/`max` are numeric constraints only for number/range inputs. Time,
|
|
7041
|
+
// date, and datetime inputs expose `min`/`max` as temporal strings ("09:00",
|
|
7042
|
+
// "2024-01-01") — or '' when unset — for their picker bounds. Coercing those
|
|
7043
|
+
// through Number() yields NaN (time/date) or 0 (''), which would attach a
|
|
7044
|
+
// bogus value validator that every entry fails ("Must be at least "). Only
|
|
7045
|
+
// attach when the bound resolves to a finite number.
|
|
7046
|
+
const rawMin = (_c = input.min) !== null && _c !== void 0 ? _c : (input.hasAttribute('min') ? input.getAttribute('min') : null);
|
|
7047
|
+
const minVal = rawMin === null || rawMin === '' ? NaN : Number(rawMin);
|
|
7048
|
+
if (Number.isFinite(minVal))
|
|
6882
7049
|
validators.push(min(minVal));
|
|
6883
|
-
const
|
|
6884
|
-
|
|
7050
|
+
const rawMax = (_d = input.max) !== null && _d !== void 0 ? _d : (input.hasAttribute('max') ? input.getAttribute('max') : null);
|
|
7051
|
+
const maxVal = rawMax === null || rawMax === '' ? NaN : Number(rawMax);
|
|
7052
|
+
if (Number.isFinite(maxVal))
|
|
6885
7053
|
validators.push(max(maxVal));
|
|
6886
7054
|
// 5. Types (Email / URL)
|
|
6887
7055
|
const type = input.type || input.getAttribute('type');
|
|
@@ -6903,21 +7071,36 @@ const udpFieldCss = () => `:host{display:block;width:100%}`;
|
|
|
6903
7071
|
const UdpField = class {
|
|
6904
7072
|
constructor(hostRef) {
|
|
6905
7073
|
registerInstance(this, hostRef);
|
|
7074
|
+
/**
|
|
7075
|
+
* Acquired from the parent `<udp-form-component>` at register time. Controls
|
|
7076
|
+
* when the error string is pushed down to the child input — see the form
|
|
7077
|
+
* component's `errorDisplay` prop. Defaults to `'touched'` so any consumer
|
|
7078
|
+
* that hasn't opted in keeps legacy behavior.
|
|
7079
|
+
*/
|
|
7080
|
+
this.errorDisplay = 'touched';
|
|
7081
|
+
/**
|
|
7082
|
+
* Acquired from the parent `<udp-form-component>` at register time. When
|
|
7083
|
+
* `false`, this field skips attribute-derived validators
|
|
7084
|
+
* (`getValidatorsFromElement`) so the form-level `validate` is the single
|
|
7085
|
+
* source of truth. The explicit `validate` prop still runs regardless.
|
|
7086
|
+
* Defaults to `true` so consumers that don't opt out keep legacy behavior.
|
|
7087
|
+
*/
|
|
7088
|
+
this.deriveFieldValidators = true;
|
|
7089
|
+
}
|
|
7090
|
+
/**
|
|
7091
|
+
* Boolean (checkbox/switch) inputs are detected by interface — the child exposes a
|
|
7092
|
+
* `checked` property. All other inputs use the standard `value` property.
|
|
7093
|
+
*/
|
|
7094
|
+
get isBooleanInput() {
|
|
7095
|
+
return !!this.childInput && 'checked' in this.childInput;
|
|
6906
7096
|
}
|
|
6907
|
-
|
|
7097
|
+
/**
|
|
7098
|
+
* Textarea is detected by tag-name. Used to suppress the Enter-to-submit shortcut.
|
|
7099
|
+
*/
|
|
7100
|
+
get isTextarea() {
|
|
6908
7101
|
if (!this.childInput)
|
|
6909
|
-
return
|
|
6910
|
-
|
|
6911
|
-
const typeAttr = this.childInput.getAttribute('type');
|
|
6912
|
-
if (tagName.includes('checkbox') || typeAttr === 'checkbox')
|
|
6913
|
-
return 'checkbox';
|
|
6914
|
-
if (tagName.includes('switch') || typeAttr === 'switch')
|
|
6915
|
-
return 'switch';
|
|
6916
|
-
if (tagName.includes('radio') || typeAttr === 'radio')
|
|
6917
|
-
return 'radio';
|
|
6918
|
-
if (tagName.includes('textarea') || typeAttr === 'textarea')
|
|
6919
|
-
return 'textarea';
|
|
6920
|
-
return 'text';
|
|
7102
|
+
return false;
|
|
7103
|
+
return this.childInput.tagName.toLowerCase().includes('textarea');
|
|
6921
7104
|
}
|
|
6922
7105
|
componentDidLoad() {
|
|
6923
7106
|
this.childInput = this.el.firstElementChild;
|
|
@@ -6931,8 +7114,12 @@ const UdpField = class {
|
|
|
6931
7114
|
this.el.dispatchEvent(new CustomEvent('fetchFormInstance', {
|
|
6932
7115
|
bubbles: true,
|
|
6933
7116
|
composed: true,
|
|
6934
|
-
detail: (form) => {
|
|
7117
|
+
detail: (form, options) => {
|
|
6935
7118
|
this.form = form;
|
|
7119
|
+
if (options === null || options === void 0 ? void 0 : options.errorDisplay)
|
|
7120
|
+
this.errorDisplay = options.errorDisplay;
|
|
7121
|
+
if ((options === null || options === void 0 ? void 0 : options.deriveFieldValidators) === false)
|
|
7122
|
+
this.deriveFieldValidators = false;
|
|
6936
7123
|
this.registerField();
|
|
6937
7124
|
},
|
|
6938
7125
|
}));
|
|
@@ -6947,7 +7134,12 @@ const UdpField = class {
|
|
|
6947
7134
|
console.warn(`[udp-field] Child of ${this.name} does not appear to be a compatible component.`);
|
|
6948
7135
|
}
|
|
6949
7136
|
const explicitValidator = this.validate;
|
|
6950
|
-
|
|
7137
|
+
// Attribute-derived validators are skipped when the parent form opts out
|
|
7138
|
+
// (`deriveFieldValidators={false}`), making the form-level `validate` the
|
|
7139
|
+
// single source of truth. The explicit `validate` prop always runs.
|
|
7140
|
+
const htmlValidator = this.deriveFieldValidators
|
|
7141
|
+
? getValidatorsFromElement(this.childInput)
|
|
7142
|
+
: undefined;
|
|
6951
7143
|
const combinedValidator = composeValidators(explicitValidator, htmlValidator);
|
|
6952
7144
|
const finalValidator = combinedValidator || ((_a = this.fieldConfig) === null || _a === void 0 ? void 0 : _a.getValidator);
|
|
6953
7145
|
const finalConfig = Object.assign(Object.assign({}, this.fieldConfig), {
|
|
@@ -6955,14 +7147,35 @@ const UdpField = class {
|
|
|
6955
7147
|
getValidator: finalValidator ? () => finalValidator : undefined
|
|
6956
7148
|
});
|
|
6957
7149
|
this.unsubscribe = this.form.registerField(this.name, (state) => {
|
|
6958
|
-
// Subscriber function
|
|
7150
|
+
// Subscriber function — called when subscribed values change.
|
|
6959
7151
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
6960
|
-
const { touched, value, error } = state;
|
|
7152
|
+
const { touched, value, error, submitting, validating, submitFailed } = state;
|
|
7153
|
+
// Gate the error push to the child input based on the form's
|
|
7154
|
+
// `errorDisplay` mode. The form-level `submitFailed` flag is
|
|
7155
|
+
// propagated to every field's meta state, so all fields reveal at
|
|
7156
|
+
// once when the user clicks Submit on a `'submitFailed'` form.
|
|
7157
|
+
let showError;
|
|
7158
|
+
switch (this.errorDisplay) {
|
|
7159
|
+
case 'always':
|
|
7160
|
+
showError = true;
|
|
7161
|
+
break;
|
|
7162
|
+
case 'submitFailed':
|
|
7163
|
+
showError = !!submitFailed;
|
|
7164
|
+
break;
|
|
7165
|
+
case 'touched':
|
|
7166
|
+
default:
|
|
7167
|
+
showError = !!touched;
|
|
7168
|
+
}
|
|
6961
7169
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
6962
|
-
this.childInput.error =
|
|
7170
|
+
this.childInput.error = showError ? error : undefined;
|
|
7171
|
+
// Push form-level busy state to the child if it exposes a `loading` property.
|
|
7172
|
+
// Inputs auto-disable / show spinners while form is submitting or async-validating.
|
|
7173
|
+
if ('loading' in this.childInput) {
|
|
7174
|
+
this.childInput.loading = !!(submitting || validating);
|
|
7175
|
+
}
|
|
6963
7176
|
// --- HANDLING CHECKED vs VALUE ---
|
|
6964
|
-
if (this.
|
|
6965
|
-
//
|
|
7177
|
+
if (this.isBooleanInput) {
|
|
7178
|
+
// Boolean inputs (checkbox, switch): form state IS the checked state.
|
|
6966
7179
|
if ('checked' in this.childInput) {
|
|
6967
7180
|
const newChecked = !!value;
|
|
6968
7181
|
// Only update if value actually changed (prevents redundant renders)
|
|
@@ -6972,7 +7185,7 @@ const UdpField = class {
|
|
|
6972
7185
|
}
|
|
6973
7186
|
}
|
|
6974
7187
|
else {
|
|
6975
|
-
// Standard
|
|
7188
|
+
// Standard inputs (text, select, etc): form state is the value.
|
|
6976
7189
|
if ('value' in this.childInput) {
|
|
6977
7190
|
const newValue = value === undefined || value === null ? '' : value;
|
|
6978
7191
|
// Only update if value actually changed (prevents redundant renders)
|
|
@@ -6985,7 +7198,14 @@ const UdpField = class {
|
|
|
6985
7198
|
if ('name' in this.childInput) {
|
|
6986
7199
|
this.childInput.name = this.name;
|
|
6987
7200
|
}
|
|
6988
|
-
}, {
|
|
7201
|
+
}, {
|
|
7202
|
+
value: true,
|
|
7203
|
+
error: true,
|
|
7204
|
+
touched: true,
|
|
7205
|
+
submitting: true,
|
|
7206
|
+
validating: true,
|
|
7207
|
+
submitFailed: true,
|
|
7208
|
+
}, finalConfig);
|
|
6989
7209
|
}
|
|
6990
7210
|
/**
|
|
6991
7211
|
* UNIFIED EVENT HANDLER
|
|
@@ -7015,11 +7235,11 @@ const UdpField = class {
|
|
|
7015
7235
|
if (ev.defaultPrevented)
|
|
7016
7236
|
return;
|
|
7017
7237
|
ev.stopPropagation();
|
|
7018
|
-
// Don't swallow
|
|
7019
|
-
if (this.
|
|
7238
|
+
// Don't swallow Enter on textareas (newline insertion)
|
|
7239
|
+
if (this.isTextarea)
|
|
7020
7240
|
return;
|
|
7021
|
-
// Don't submit on
|
|
7022
|
-
if (this.
|
|
7241
|
+
// Don't submit on boolean inputs — Enter toggles them in some contexts.
|
|
7242
|
+
if (this.isBooleanInput)
|
|
7023
7243
|
return;
|
|
7024
7244
|
ev.stopPropagation();
|
|
7025
7245
|
if (this.form) {
|
|
@@ -7028,7 +7248,7 @@ const UdpField = class {
|
|
|
7028
7248
|
}
|
|
7029
7249
|
}
|
|
7030
7250
|
render() {
|
|
7031
|
-
return h("slot", { key: '
|
|
7251
|
+
return h("slot", { key: 'fb9c4c1174366a4fd3983cf93eea34cd4a1551ad' });
|
|
7032
7252
|
}
|
|
7033
7253
|
get el() { return getElement(this); }
|
|
7034
7254
|
};
|
|
@@ -7176,7 +7396,7 @@ const UdpFluentAvatar = class {
|
|
|
7176
7396
|
}
|
|
7177
7397
|
render() {
|
|
7178
7398
|
const imgBorderRadius = this.getImageBorderRadius();
|
|
7179
|
-
return (h(Host, { key: '
|
|
7399
|
+
return (h(Host, { key: 'b5d0d691d02ba8cd47c53ec2ce07fedab7d88646' }, 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 ? (h("img", { src: this.src, alt: this.alt, style: Object.assign({ objectFit: 'cover' }, (imgBorderRadius ? { borderRadius: imgBorderRadius } : {})) })) : this.iconName ? (h("udp-fluent-icon", { name: this.iconName, variant: this.iconVariant, size: this.getIconSize() })) : null, h("slot", { key: '5a8b9fcf0999118a6675f815017e45a46983de33', name: "badge", slot: "badge" }))));
|
|
7180
7400
|
}
|
|
7181
7401
|
};
|
|
7182
7402
|
UdpFluentAvatar.style = udpFluentAvatarCss();
|
|
@@ -7218,7 +7438,7 @@ const UdpFluentBadge = class {
|
|
|
7218
7438
|
this.ready = true;
|
|
7219
7439
|
}
|
|
7220
7440
|
render() {
|
|
7221
|
-
return (h(Host, { key: '
|
|
7441
|
+
return (h(Host, { key: 'ca6643618db9e9f0c98f91dc82c849d1237906cd', class: { ready: this.ready } }, h("fluent-badge", { key: '472cc852b7a6c279dbfdf497e8a6518c7e8e5a29', appearance: this.appearance, color: this.color, shape: this.shape, size: this.size }, (this.startIconName || hasSlotContent(this.el, 'start')) && (h("span", { key: '4e41131fafb300443ca49a5beaf3f5fd714a75c3', class: "slot-wrapper", slot: "start" }, h("slot", { key: '65ddf7997a9cf3040abc859b8ab53267d024555c', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: '9370283d6fb7a51da8ffe31157c0844aaaf67346', name: this.startIconName, size: getBadgeIconSize(this.size) }))))), h("span", { key: '71e4c1681cfbb64970237b410e0925a0f22e1141', class: "default-slot" }, h("slot", { key: '3bd8ae70fec03eb6697d1c29090f295fd19ed982' })), this.dismissible ? (h("button", { type: "button", class: "dismiss-button", slot: "end", "aria-label": this.dismissLabel, onClick: this.handleDismiss, onMouseDown: (e) => e.preventDefault() }, h("udp-fluent-icon", { name: "dismiss", size: getBadgeIconSize(this.size) }))) : ((this.endIconName || hasSlotContent(this.el, 'end')) && (h("span", { class: "slot-wrapper", slot: "end" }, h("slot", { name: "end" }, this.endIconName && (h("udp-fluent-icon", { name: this.endIconName, size: getBadgeIconSize(this.size) })))))))));
|
|
7222
7442
|
}
|
|
7223
7443
|
get el() { return getElement(this); }
|
|
7224
7444
|
};
|
|
@@ -7301,7 +7521,7 @@ const UdpFluentButton = class {
|
|
|
7301
7521
|
const iconSize = getIconSize(this.size);
|
|
7302
7522
|
const isDisabled = this.disabled || this.loading;
|
|
7303
7523
|
const isLoading = this.loading;
|
|
7304
|
-
return (h(Host, { key: '
|
|
7524
|
+
return (h(Host, { key: '0fec578b81f5a6663543938b96556189c214a546' }, 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 || hasSlotContent(this.el, 'start')) && (h("span", { key: '7d634084cf1d544584d79f551f5d558555c1c7bf', class: "slot-wrapper", slot: "start" }, h("slot", { key: 'e6cc6bbeb0d7a0f263ad0a0ab20db9a9a393a356', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: 'c3ed04c6d289855affa86cab832d5f06b062919d', name: this.startIconName, size: iconSize }))))), h("slot", { key: '4e294790c35568c62a90bb4e7ad386d1574e067e' }), (this.endIconName || hasSlotContent(this.el, 'end')) && (h("span", { key: 'cc7e366f42d715dfd0b73b1145816b9add7244de', class: "slot-wrapper", slot: "end" }, h("slot", { key: '80a11fabb5f223a0dc287b4bf9d8f39e1f6ec772', name: "end" }, this.endIconName && h("udp-fluent-icon", { key: '33ed5cc6f0e8f4ea2e93bf4d665ee80c66ce7a2f', name: this.endIconName, size: iconSize }))))), isLoading && (h("div", { key: '4291e8b24cf1547b17e2b47c7753ca3197bc3ebe', class: "loading-overlay" }, h("udp-spinner", { key: '534be5bd813b7ce3400a470ba72353c4b5980cb6', size: this.size === 'large' ? 'extra-small' : 'tiny' })))));
|
|
7305
7525
|
}
|
|
7306
7526
|
get el() { return getElement(this); }
|
|
7307
7527
|
};
|
|
@@ -7358,21 +7578,21 @@ const UdpFluentCard = class {
|
|
|
7358
7578
|
}
|
|
7359
7579
|
}
|
|
7360
7580
|
render() {
|
|
7361
|
-
return (h(Host, { key: '
|
|
7581
|
+
return (h(Host, { key: 'c01366f6bc6754a5e802625f08b08c288a8a9b9f', class: {
|
|
7362
7582
|
[`appearance-${this.appearance}`]: true,
|
|
7363
7583
|
[`orientation-${this.orientation}`]: true,
|
|
7364
7584
|
interactive: this.interactive,
|
|
7365
7585
|
}, style: {
|
|
7366
7586
|
width: this.width,
|
|
7367
7587
|
height: this.height,
|
|
7368
|
-
}, tabIndex: this.interactive ? 0 : undefined }, h("div", { key: '
|
|
7588
|
+
}, tabIndex: this.interactive ? 0 : undefined }, h("div", { key: 'ad9964ba2656c613286d670248006cf1897b8644', class: { 'card-preview': true, 'hidden': !this.hasPreview } }, h("slot", { key: 'd9d9f2ed8927d92472d4dd0939ff66908a4d8459', name: "preview", onSlotchange: this.handleSlotChange })), h("div", { key: '706024cd16c7dc6c4e96bdbebc75563be27971f8', class: {
|
|
7369
7589
|
'card-header': true,
|
|
7370
7590
|
'hidden': !(this.hasHeader ||
|
|
7371
7591
|
this.hasHeaderStart ||
|
|
7372
7592
|
this.label ||
|
|
7373
7593
|
this.subtitle ||
|
|
7374
7594
|
this.hasHeaderAction),
|
|
7375
|
-
} }, h("div", { key: '
|
|
7595
|
+
} }, h("div", { key: '3d881938527ab9b63a22f839056edbc4635f2167', class: { 'card-header-start': true, 'hidden': !this.hasHeaderStart } }, h("slot", { key: '1383f9216f989d77e4e6846e418512b9a34febb6', name: "header-start", onSlotchange: this.handleSlotChange })), h("div", { key: '52e7aa8dcc08fb350f6b2c35d1d3db652cf161ab', class: "card-header-content" }, h("slot", { key: '8a823c46d9e9d5a08edd5bb2189a1bf75a829153', name: "header", onSlotchange: this.handleSlotChange }, (this.label || this.subtitle) && (h("div", { key: '73fc449b414b784651afe24f93050eed3bbb382a', class: "header-content-wrapper" }, this.label && h("udp-text", { key: '0c47b63774c2877761bb3b7054d5d92aba3ab9bd', variant: "subtitle2" }, this.label), this.subtitle && (h("udp-text", { key: '02fe1fb3ab83a176fd62739e16b9bee7fe667248', variant: "caption1", class: "header-subtitle" }, this.subtitle)))))), h("udp-flexbox", { key: 'a30603878b0117cdc5e0f2b87c6bc0a671f5f257', class: { hidden: !this.hasHeaderAction }, direction: "row" }, h("slot", { key: '372260a50044f532b8a28daed08764bdca60db87', name: "header-action", onSlotchange: this.handleSlotChange }))), h("div", { key: '33e817d365fe89d35474fc9128f4850f37b6fd21', class: { 'card-body': true, 'no-padding': !this.bodyPadding } }, h("slot", { key: '21fa507624780f7c8d38d69b0d0eab6c2b4b9eb2' })), h("udp-flexbox", { key: 'dbe40418fb1b64c8d385195dcbae3fa4127ba3d1', class: { 'card-footer': true, 'hidden': !this.hasFooter }, direction: "row" }, h("slot", { key: 'f9362e118a81f16d27d7e53a3219767af9811ad6', name: "footer", onSlotchange: this.handleSlotChange }))));
|
|
7376
7596
|
}
|
|
7377
7597
|
get el() { return getElement(this); }
|
|
7378
7598
|
};
|
|
@@ -7436,7 +7656,7 @@ const UdpFluentCheckbox = class {
|
|
|
7436
7656
|
render() {
|
|
7437
7657
|
const hasError = !!this.error;
|
|
7438
7658
|
const message = this.error || this.hint;
|
|
7439
|
-
return (h(Host, { key: '
|
|
7659
|
+
return (h(Host, { key: '893cd124b27dc77a8b847aaf4e044292ce850c2e' }, h("fluent-field", { key: '210fd38d62eb76c54dfd9ac7948af3c16359e892', "label-position": this.labelPosition, class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, h("fluent-label", { key: '9483b3c314d4d7806a835f88f64719493e86d270', slot: "label", disabled: this.disabled, onClick: this.handleLabelClick }, this.label, this.popupHint && (h("udp-tooltip", { key: '6e4df82c832122b1aee1ca246d7ad871b1df48fc', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '0f3981bf5b485d800c06cf5909ff460e77822a28', name: "info", size: "xs", class: "popup-hint-icon" })))), 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 }), h("udp-text", { key: 'b6cbb4d338339f2e17f8d61f729f34d9128889c2', slot: "message", variant: "caption1", class: {
|
|
7440
7660
|
message: true,
|
|
7441
7661
|
error: hasError,
|
|
7442
7662
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -7462,7 +7682,7 @@ const UdpFluentCounterBadge = class {
|
|
|
7462
7682
|
this.dot = false;
|
|
7463
7683
|
}
|
|
7464
7684
|
render() {
|
|
7465
|
-
return (h(Host, { key: '
|
|
7685
|
+
return (h(Host, { key: '9397c028d5188b1ccd6b4d5bd1895c0a1cf4c551' }, 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 }, h("slot", { key: 'f220047c9eddceb0efdc6529baa565021d3eb8a2', name: "start", slot: "start" }), this.count === undefined && h("slot", { key: '44791c30fbe61380912b4dc459ded15dee3e12ed' }), h("slot", { key: '64c2c2f1fefaf2513ce4e8b679d7ea31b085286d', name: "end", slot: "end" }))));
|
|
7466
7686
|
}
|
|
7467
7687
|
};
|
|
7468
7688
|
UdpFluentCounterBadge.style = udpFluentCounterBadgeCss();
|
|
@@ -7526,7 +7746,7 @@ const UdpFluentDialog = class {
|
|
|
7526
7746
|
}
|
|
7527
7747
|
}
|
|
7528
7748
|
render() {
|
|
7529
|
-
return (h(Host, { key: '
|
|
7749
|
+
return (h(Host, { key: '9e11d9ad9c7e5f88585f10b35c3788e6413ffe52', style: { '--dialog-max-height': this.maxHeight } }, h("fluent-dialog", { key: '6fdf81822a4115142a18dd48442d3a84df1c4be9', ref: this.setDialogRef, type: this.type, onToggle: this.handleToggle }, h("fluent-dialog-body", { key: '9dc51c72cfdc8f00b913478c980ceecb2540cef2' }, h("slot", { key: '6933e82c765eec7d94547df9dd3cc6e68fb4046a', name: "header", slot: "title" }, this.dialogTitle && h("udp-fluent-text", { key: 'ff6e277f8547cdaf62c28f958ac41411548485dd' }, this.dialogTitle)), this.showHeaderCloseButton && (h("udp-fluent-icon-button", { key: '86c8ac3c13c3cc28b1565224689ed73bdf0d27e1', slot: "close", appearance: "subtle", iconName: "dismiss", ariaLabel: "Close Dialog" })), h("div", { key: 'ee2182b68b15c14b0d2f4f42de30192a8596d01f', class: "dialog-content" }, h("slot", { key: '9027281184914bba6b3c3e4f08124a5dba52b2f6' })), h("udp-flexbox", { key: '1bfabd174958c1f38f8fdcae79f601439c4ddeb9', slot: "action", direction: "row" }, h("slot", { key: '7af53ca073a2d7cdf1289a081aea8df4a3ec21b0', name: "action" }))))));
|
|
7530
7750
|
}
|
|
7531
7751
|
get el() { return getElement(this); }
|
|
7532
7752
|
static get watchers() { return {
|
|
@@ -7550,7 +7770,7 @@ const UdpFluentDivider = class {
|
|
|
7550
7770
|
this.orientation = 'horizontal';
|
|
7551
7771
|
}
|
|
7552
7772
|
render() {
|
|
7553
|
-
return (h(Host, { key: '
|
|
7773
|
+
return (h(Host, { key: '0f340547fdb025611c59531c32e0f0e10076037e', style: { background: 'transparent' } }, h("fluent-divider", { key: 'acd29786ccd7f60d2fa8d88e18f5eb6dd28a89af', "align-content": this.alignContent, appearance: this.appearance, inset: this.inset, role: this.role, orientation: this.orientation }, h("slot", { key: '39d781f43ba0d9357aeb2d859b1a2b59986294b5' }))));
|
|
7554
7774
|
}
|
|
7555
7775
|
};
|
|
7556
7776
|
|
|
@@ -7592,6 +7812,7 @@ const UdpFluentDrawer = class {
|
|
|
7592
7812
|
*/
|
|
7593
7813
|
this.hasFooter = false;
|
|
7594
7814
|
this.hasToolbar = false;
|
|
7815
|
+
this.hasTitle = false;
|
|
7595
7816
|
this.showTopShadow = false;
|
|
7596
7817
|
this.showBottomShadow = false;
|
|
7597
7818
|
this.effectiveSize = 'medium';
|
|
@@ -7660,6 +7881,7 @@ const UdpFluentDrawer = class {
|
|
|
7660
7881
|
componentWillLoad() {
|
|
7661
7882
|
this.checkFooter();
|
|
7662
7883
|
this.checkToolbar();
|
|
7884
|
+
this.checkTitle();
|
|
7663
7885
|
this.updateDrawerWidth();
|
|
7664
7886
|
}
|
|
7665
7887
|
updateDrawerWidth() {
|
|
@@ -7687,6 +7909,7 @@ const UdpFluentDrawer = class {
|
|
|
7687
7909
|
this.mutationObserver = new MutationObserver(() => {
|
|
7688
7910
|
this.checkFooter();
|
|
7689
7911
|
this.checkToolbar();
|
|
7912
|
+
this.checkTitle();
|
|
7690
7913
|
this.checkScrollShadows();
|
|
7691
7914
|
});
|
|
7692
7915
|
this.mutationObserver.observe(this.el, { childList: true, subtree: true });
|
|
@@ -7758,6 +7981,10 @@ const UdpFluentDrawer = class {
|
|
|
7758
7981
|
const children = Array.from(this.el.children);
|
|
7759
7982
|
this.hasToolbar = children.some(child => child.getAttribute('slot') === 'toolbar');
|
|
7760
7983
|
}
|
|
7984
|
+
checkTitle() {
|
|
7985
|
+
const children = Array.from(this.el.children);
|
|
7986
|
+
this.hasTitle = children.some(child => child.getAttribute('slot') === 'title');
|
|
7987
|
+
}
|
|
7761
7988
|
calculateEffectiveSize() {
|
|
7762
7989
|
const viewportWidth = window.innerWidth;
|
|
7763
7990
|
let targetWidth = DRAWER_SIZES.medium; // Default fallback
|
|
@@ -7889,7 +8116,7 @@ const UdpFluentDrawer = class {
|
|
|
7889
8116
|
}
|
|
7890
8117
|
}
|
|
7891
8118
|
render() {
|
|
7892
|
-
return (h(Host, { key: '
|
|
8119
|
+
return (h(Host, { key: 'e57c61ef6d53bed97d50941c4ebdd082327753f9', class: { 'has-footer': this.hasFooter } }, h("fluent-drawer", { key: '342002046f8b68d22860536e9b46669007cca0e2', ref: this.setDrawerRef, onToggle: this.handleToggle, type: "modal", position: this.position, size: this.effectiveSize }, h("fluent-drawer-body", { key: '876fbbf139cbd3ea52fa2426dab27352cc8b2a86' }, this.hasTitle ? (h("slot", { name: "title", slot: "title" })) : (h("udp-text", { variant: "subtitle1", slot: "title" }, this.drawerTitle)), h("udp-fluent-icon-button", { key: '96c57198e287bbda27eda513035a5b94a592f0e7', slot: "close", appearance: "subtle", iconName: "dismiss", "aria-label": "close" }), this.hasToolbar && (h("udp-flexbox", { key: 'c7aba1b9a62a6e9078d3a91aea255786ea5e19da', class: "drawer-toolbar", direction: "row", width: "100%" }, h("slot", { key: '3fb1fcc5f6100e160961588efa372e7c34d6acd3', name: "toolbar" }))), h("div", { key: '32b349ef70d856d79250d7fc3a6de9c5a1d72339', class: "drawer-scroll-container", ref: el => (this.contentRef = el), onScroll: this.handleScroll }, h("div", { key: '1a11b971887b7b60edc8b401bcd4c102824b2574', class: `scroll-shadow top ${this.showTopShadow ? 'visible' : ''}` }), h("div", { key: 'efdccb9c6ffa8cd822026950de57dbcf94c52b2f', class: `drawer-content-inner${this.excludeVerticalPadding ? '' : ' vertical-padding'}` }, h("slot", { key: '311338b803b2ac3f15bb977409d7f48d9ed2b063' })), h("div", { key: '4aa386c56f747f054d8d2dcfe2af4525176a68fa', class: `scroll-shadow bottom ${this.showBottomShadow ? 'visible' : ''}` })), this.hasFooter && (h("udp-flexbox", { key: 'f18807aee77d86d6d086e7751d01cec87df7517b', slot: "footer", direction: "row" }, h("slot", { key: 'cb0eb13afdbe78bba4f43779d3db2ff1e52a20ca', name: "footer" })))))));
|
|
7893
8120
|
}
|
|
7894
8121
|
get el() { return getElement(this); }
|
|
7895
8122
|
static get watchers() { return {
|
|
@@ -8314,15 +8541,15 @@ const UdpFluentDropdown = class {
|
|
|
8314
8541
|
const overlayOptions = this.getSelectedOverlayOptions();
|
|
8315
8542
|
const hasOverlay = overlayOptions.length > 0;
|
|
8316
8543
|
const mappedAppearance = this.appearance === 'underline' ? 'transparent' : this.appearance;
|
|
8317
|
-
return (h(Host, { key: '
|
|
8544
|
+
return (h(Host, { key: '6d1410f1280513ce30884031f3c2b0e739f21aa7', class: { 'has-error': hasError } }, h("fluent-field", { key: 'ee241a4abcbf6c4b530bfaf8f860274492c7936f', class: {
|
|
8318
8545
|
'no-message': !message && !this.includeErrorPadding,
|
|
8319
8546
|
'no-label': !this.label,
|
|
8320
|
-
} }, this.label && (h("fluent-label", { key: '
|
|
8547
|
+
} }, this.label && (h("fluent-label", { key: '5b7f10ed15fa03a1ee213d6e1fc83150200b75ff', slot: "label", disabled: this.disabled, onClick: () => this.handleTogglePopover(false), style: { paddingTop: '2px', paddingBottom: '2px' } }, this.label, this.popupHint && (h("udp-tooltip", { key: 'b12259e02126200b646bb16f7066ca47e209ea10', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '2227f4d3116d3e06bfa644c1041677121a8baf62', name: "info", size: "xs", class: "popup-hint-icon" }))))), h("div", { key: '67fd988678a418d6f51de059be4f8069e5d61d00', slot: "input", class: {
|
|
8321
8548
|
'input-wrapper': true,
|
|
8322
8549
|
'has-overlay': hasOverlay,
|
|
8323
|
-
} }, h("fluent-dropdown", { key: '
|
|
8550
|
+
} }, 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(),
|
|
8324
8551
|
// Suppress native invalid popup
|
|
8325
|
-
onInvalid: (e) => e.preventDefault(), ref: el => (this.dropdownRef = el) }, h("fluent-listbox", { key: '
|
|
8552
|
+
onInvalid: (e) => e.preventDefault(), ref: el => (this.dropdownRef = el) }, h("fluent-listbox", { key: '06a593d21710ddf1b6a457cc4e63ac5ba6f0167c' }, this.loading && (h("fluent-option", { key: '1ffd4e948fd85b17096024344ee2e3e6e1ca7e6f', disabled: true, ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, h("span", { key: '365b7a9ef672f377ea7e3c42998626f9b7ec42dd' }, "Loading..."), h("span", { key: '3c7ce76b4a0be3efa2766225ec3324f7d7ec3f56', slot: "indicator" }))), !this.loading && ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) === 0 && (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 &&
|
|
8326
8553
|
((_b = this.options) === null || _b === void 0 ? void 0 : _b.length) > 0 &&
|
|
8327
8554
|
(() => {
|
|
8328
8555
|
const nodes = [];
|
|
@@ -8342,17 +8569,17 @@ const UdpFluentDropdown = class {
|
|
|
8342
8569
|
nodes.push(h("fluent-option", { key: index, disabled: !!optDisabled, value: safeValue, ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', !!optDisabled) }, optIcon && this.iconPosition === 'start' && (h("span", { slot: "start", class: "option-icon-slot" }, h("udp-fluent-icon", { name: optIcon, size: "sm" }))), optLabel, optIcon && this.iconPosition === 'end' && (h("span", { class: "option-icon-end", style: { pointerEvents: 'none', marginLeft: '4px' } }, h("udp-fluent-icon", { name: optIcon, size: "sm" }))), this.renderBadges(optBadges)));
|
|
8343
8570
|
});
|
|
8344
8571
|
return nodes;
|
|
8345
|
-
})()), h("div", { key: '
|
|
8572
|
+
})()), h("div", { key: '29403f83ea438b107ef2deb1651cf1ddec1e675a', slot: "indicator", class: "indicator-wrapper" }, h("udp-fluent-icon-button", { key: '1d94d6f84299916fa4e20b07e123d5b1c2d984e1', class: {
|
|
8346
8573
|
'clear-button': true,
|
|
8347
8574
|
'is-visible': this.showClearButton && !this.disabled && this.clearable,
|
|
8348
|
-
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), h("udp-fluent-icon", { key: '
|
|
8575
|
+
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), h("udp-fluent-icon", { key: '3df248e42664fe410c092e93a7d8110101fdc96a', name: "chevron-down", size: "sm", class: "chevron-down", onClick: (ev) => {
|
|
8349
8576
|
// stopPropagation: fluent's clickHandler would re-open via its `!this.open → showPopover` branch.
|
|
8350
8577
|
ev.stopPropagation();
|
|
8351
8578
|
this.handleTogglePopover(false);
|
|
8352
|
-
} }))), hasOverlay && (h("div", { key: '
|
|
8579
|
+
} }))), hasOverlay && (h("div", { key: 'a990dbce7c82bf774fdf7f27800c3b3f3f53ca87', class: { 'selected-overlay': true, 'multi': overlayOptions.length > 1 }, "aria-hidden": "true" }, overlayOptions.map((opt, i) => (h("span", { class: "selected-item", key: this.getOptionValue(opt) || i }, i > 0 && h("span", { class: "selected-separator" }, ", "), h("span", { class: "selected-label" }, this.resolveProp(opt, this.optionLabel, true)), this.renderBadges(this.getOptionBadges(opt)))))))), h("div", { key: 'd9fb1ac61d88303388924b1182a95776d4feb8d2', class: {
|
|
8353
8580
|
'message-wrapper': true,
|
|
8354
8581
|
'includeErrorPadding': this.includeErrorPadding,
|
|
8355
|
-
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, h("udp-text", { key: '
|
|
8582
|
+
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, h("udp-text", { key: '852605db1e6aa0aaf3c89bbd2c37f36f1f9b57e4', variant: "caption1", class: {
|
|
8356
8583
|
message: true,
|
|
8357
8584
|
error: hasError,
|
|
8358
8585
|
} }, message)))));
|
|
@@ -8629,7 +8856,7 @@ const UdpFluentIcon = class {
|
|
|
8629
8856
|
};
|
|
8630
8857
|
if (this.color)
|
|
8631
8858
|
hostStyle.color = this.color;
|
|
8632
|
-
return (h(Host, { key: '
|
|
8859
|
+
return (h(Host, { key: '87640e2b6cdfa29ab1a647a9dfaeffcc7f19a193', style: hostStyle }, this.svgContent && (h("div", { key: 'd2fde7cf073e55552eacf8f008a4e6237f045eab', class: "icon-inner", innerHTML: this.svgContent, role: "img", "aria-label": this.name }))));
|
|
8633
8860
|
}
|
|
8634
8861
|
static get watchers() { return {
|
|
8635
8862
|
"name": [{
|
|
@@ -8688,7 +8915,7 @@ const UdpFluentIconButton = class {
|
|
|
8688
8915
|
const hoverActive = this.fillOnHover && this.isHovered;
|
|
8689
8916
|
const effectiveVariant = hoverActive ? 'filled' : this.iconVariant;
|
|
8690
8917
|
const effectiveColor = hoverActive ? 'var(--colorBrandForeground1)' : this.iconColor;
|
|
8691
|
-
return (h(Host, { key: '
|
|
8918
|
+
return (h(Host, { key: '8d0006399d37cb21d08543cc85bea20312f447c4', exportparts: "button", onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false) }, 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 }, h("udp-fluent-icon", { key: '5844de081f82f05bcd744d2f6476bf2a9654a179', name: this.iconName, size: getIconSize(this.size, 'standard'), variant: effectiveVariant, color: effectiveColor }))));
|
|
8692
8919
|
}
|
|
8693
8920
|
};
|
|
8694
8921
|
UdpFluentIconButton.style = udpFluentIconButtonCss();
|
|
@@ -8947,7 +9174,7 @@ const UdpFluentRadioGroup = class {
|
|
|
8947
9174
|
var _a;
|
|
8948
9175
|
const hasError = !!this.error;
|
|
8949
9176
|
const message = this.error || this.hint;
|
|
8950
|
-
return (h(Host, { key: '
|
|
9177
|
+
return (h(Host, { key: '302ae95efe36f13811e488b5cc7aaa597557332c' }, h("fluent-field", { key: 'c9b5399235689aaf70ecd8769d473fc4253136eb', "label-position": "above", class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, h("fluent-label", { key: '2d68bdaae186b2258ed3f4f3510c4c12da447f9b', slot: "label", disabled: this.disabled }, this.label, this.popupHint && (h("udp-tooltip", { key: '6807f3c486b1b5f3bdc223dbd88f241bc242fba6', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '7b36e5b468c836aad3dee5953b14407363965747', name: "info", size: "xs", class: "popup-hint-icon" })))), 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 => (h("fluent-field", { "label-position": "after" }, h("fluent-label", { slot: "label", onClick: () => this.handleLabelClick(item.value, item.disabled) }, item.label), h("fluent-radio", { slot: "input", value: item.value, disabled: item.disabled, ref: (el) => this.radioRefs.set(item.value, el) }))))), h("udp-text", { key: '7e72611b27745f4ce91b91ccdb0ee74f89c5c853', slot: "message", variant: "caption1", class: {
|
|
8951
9178
|
message: true,
|
|
8952
9179
|
error: hasError,
|
|
8953
9180
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -9000,7 +9227,7 @@ const UdpFluentSwitch = class {
|
|
|
9000
9227
|
render() {
|
|
9001
9228
|
const hasError = !!this.error;
|
|
9002
9229
|
const message = this.error || this.hint;
|
|
9003
|
-
return (h(Host, { key: '
|
|
9230
|
+
return (h(Host, { key: '8cf91451ad54d26cf33018bc2ef6cf16e7e77bee' }, h("fluent-field", { key: '13afd3936e32d77b1789c351df9994a375164f6d', "label-position": this.labelPosition, class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, h("fluent-label", { key: 'c72276b3e46649b999ad8e61b02884093e0d8a80', slot: "label", onClick: this.handleLabelClick }, this.label, this.popupHint && (h("udp-tooltip", { key: 'd337f67e539a321eb117a97f63441e9fbe0adb95', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: 'bc9198da8c962049ed5cee45ea0cd339c8aa4747', name: "info", size: "xs", class: "popup-hint-icon" })))), h("fluent-switch", { key: 'e1d2a55c1adee0aec46032031451dbe52f2f3427', slot: "input", name: this.name, checked: this.checked, disabled: this.disabled, onChange: this.handleChange, ref: (el) => (this.internalSwitch = el) }), h("udp-text", { key: '6c9815e59fc67d5c7ed3c2cf0ce178d742d44ad9', slot: "message", variant: "caption1", class: {
|
|
9004
9231
|
message: true,
|
|
9005
9232
|
error: hasError,
|
|
9006
9233
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -9370,11 +9597,11 @@ const UdpFluentTextInput = class {
|
|
|
9370
9597
|
const hasError = !!this.error;
|
|
9371
9598
|
const message = this.error || this.hint;
|
|
9372
9599
|
const noMessage = !message && !this.includeErrorPadding;
|
|
9373
|
-
return (h(Host, { key: '
|
|
9600
|
+
return (h(Host, { key: 'dc688da75294e9df78967a526ea9fc4b5dcdc50b', class: { 'has-error': hasError } }, h("fluent-field", { key: '3a597110df592e3d09fa0e92cb949b823aa7d290', class: { 'no-message': noMessage } }, 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,
|
|
9374
9601
|
// Events
|
|
9375
9602
|
onInput: this.handleInput, onBlur: () => this.inputBlur.emit(), onFocus: () => this.inputFocus.emit(),
|
|
9376
9603
|
// Suppress native invalid popup
|
|
9377
|
-
onInvalid: (e) => e.preventDefault() }, h("slot", { key: '
|
|
9604
|
+
onInvalid: (e) => e.preventDefault() }, h("slot", { key: 'fce70a6cf524b968d7333ac78d662594d5ae837e', slot: "start", name: "start" }), h("slot", { key: 'efb15deb5e0d6db1a15f5c068cf30cfe8b73c732', slot: "end", name: "end" }), this.label && (h("fluent-label", { key: 'cd8f666099dc52b2e9222399fbdfe12941a893c4', required: this.required, disabled: this.disabled }, this.label, this.popupHint && (h("udp-tooltip", { key: '02ddadcacf45ccc7c4155526181500a6356024ba', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '0e42f732309fc829f7ce48fb77485191e7a1ea5d', name: "info", size: "xs", class: "popup-hint-icon" })))))), h("udp-text", { key: '9fb29b3080cd7661a9974b54bd67dc814fe5d7e5', slot: "message", variant: "caption1", class: {
|
|
9378
9605
|
message: true,
|
|
9379
9606
|
error: hasError,
|
|
9380
9607
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -9416,7 +9643,7 @@ const UdpFluentToggleButton = class {
|
|
|
9416
9643
|
}
|
|
9417
9644
|
render() {
|
|
9418
9645
|
const iconSize = getIconSize(this.size);
|
|
9419
|
-
return (h(Host, { key: '
|
|
9646
|
+
return (h(Host, { key: 'a6300e28abb2a9870884cf24fad4c92dd6d3072e' }, 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 || hasSlotContent(this.el, 'start')) && (h("span", { key: '6c99b808416fc3c2f39de99056edebb456a331f2', class: "slot-wrapper", slot: "start" }, h("slot", { key: 'f51e052b4fa1a47e88bb67ddce8d116b04b67644', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: 'f0963e2862a6f3c1df4dfa64c9c64eaa04ffbc5c', name: this.startIconName, size: iconSize }))))), h("slot", { key: '0998df3bbe939c978df4aa0bc2ee344aaa581b33' }), (this.endIconName || hasSlotContent(this.el, 'end')) && (h("span", { key: 'd00f9aee02777b8321680171c3f43f7b283ea3e4', class: "slot-wrapper", slot: "end" }, h("slot", { key: '5c360a74366fb5b245ffa7fbce989c5e814f6fca', name: "end" }, this.endIconName && h("udp-fluent-icon", { key: '7beca8736af1274f945a639991452466f1a10574', name: this.endIconName, size: iconSize })))))));
|
|
9420
9647
|
}
|
|
9421
9648
|
get el() { return getElement(this); }
|
|
9422
9649
|
};
|
|
@@ -9433,37 +9660,119 @@ const UdpFormComponent = class {
|
|
|
9433
9660
|
* Can be used to populate the form with data from an API.
|
|
9434
9661
|
*/
|
|
9435
9662
|
this.initialValues = {};
|
|
9663
|
+
/**
|
|
9664
|
+
* If true (default), reinitializing the form (e.g. after a backend save returns the
|
|
9665
|
+
* saved record) will overwrite only pristine values — in-flight edits are preserved.
|
|
9666
|
+
* Recommended for autosave / draft flows.
|
|
9667
|
+
*/
|
|
9668
|
+
this.keepDirtyOnReinitialize = true;
|
|
9669
|
+
/**
|
|
9670
|
+
* If true, validation runs only on blur. Default false (validates on every change).
|
|
9671
|
+
*/
|
|
9672
|
+
this.validateOnBlur = false;
|
|
9673
|
+
/**
|
|
9674
|
+
* When child `<udp-field>` inputs should reveal their validation error
|
|
9675
|
+
* messages.
|
|
9676
|
+
*
|
|
9677
|
+
* - `'touched'` (default): show the error once the user has focused
|
|
9678
|
+
* and blurred the field. Right for authoring drawers where the user
|
|
9679
|
+
* is editing one field at a time and wants feedback per-field.
|
|
9680
|
+
* - `'submitFailed'`: hide errors entirely until the user clicks Submit
|
|
9681
|
+
* and validation fails. After that, all errors are visible and remain
|
|
9682
|
+
* visible as the user corrects them. Right for end-user form fill-out
|
|
9683
|
+
* where surfacing errors mid-entry feels noisy. A successful submit
|
|
9684
|
+
* resets `submitFailed` and fields go pristine again.
|
|
9685
|
+
* - `'always'`: surface errors as soon as they exist. Useful for
|
|
9686
|
+
* debugging or for inputs that need live validation feedback.
|
|
9687
|
+
*
|
|
9688
|
+
* `udp-field` receives this mode at register time via the
|
|
9689
|
+
* `fetchFormInstance` callback and gates its own error push to the
|
|
9690
|
+
* child input accordingly.
|
|
9691
|
+
*/
|
|
9692
|
+
this.errorDisplay = 'touched';
|
|
9693
|
+
/**
|
|
9694
|
+
* Whether child `<udp-field>` inputs auto-derive Final Form validators from
|
|
9695
|
+
* their HTML-ish attributes (`required`, `minlength`/`maxlength`, `min`/`max`,
|
|
9696
|
+
* `type=email|url`, `pattern`) via `getValidatorsFromElement`.
|
|
9697
|
+
*
|
|
9698
|
+
* - `true` (default): keep the convenience for forms that have no other
|
|
9699
|
+
* validation source (hand-built forms, the builder's config drawer).
|
|
9700
|
+
* - `false`: skip attribute-derived validators entirely, so the form-level
|
|
9701
|
+
* `validate` prop is the single source of truth. The udp-question-form
|
|
9702
|
+
* renderer sets this — its schema-driven `buildFinalFormValidator` already
|
|
9703
|
+
* covers every rule, and the attribute path otherwise double-validates
|
|
9704
|
+
* `required` (with a different message) and mis-reads temporal `min`/`max`.
|
|
9705
|
+
*
|
|
9706
|
+
* The explicit per-field `validate` prop on `<udp-field>` is unaffected — it
|
|
9707
|
+
* always runs. `udp-field` receives this flag at register time via the
|
|
9708
|
+
* `fetchFormInstance` callback.
|
|
9709
|
+
*/
|
|
9710
|
+
this.deriveFieldValidators = true;
|
|
9711
|
+
/**
|
|
9712
|
+
* If true, a field's value is destroyed when the field unregisters.
|
|
9713
|
+
* Default false preserves values so toggling visibility (e.g. via branching) does not
|
|
9714
|
+
* lose user input.
|
|
9715
|
+
*/
|
|
9716
|
+
this.destroyOnUnregister = false;
|
|
9436
9717
|
}
|
|
9437
9718
|
componentWillLoad() {
|
|
9438
9719
|
this.form = createForm({
|
|
9439
9720
|
initialValues: this.initialValues,
|
|
9440
|
-
onSubmit: this.
|
|
9721
|
+
onSubmit: this.submitHandler,
|
|
9441
9722
|
validate: this.validate,
|
|
9723
|
+
keepDirtyOnReinitialize: this.keepDirtyOnReinitialize,
|
|
9724
|
+
validateOnBlur: this.validateOnBlur,
|
|
9725
|
+
destroyOnUnregister: this.destroyOnUnregister,
|
|
9726
|
+
debug: this.debug,
|
|
9442
9727
|
});
|
|
9443
9728
|
this.formReady.emit(this.form);
|
|
9444
9729
|
this.unsubscribe = this.form.subscribe((state) => {
|
|
9445
|
-
// Broadcast state to the UI
|
|
9446
9730
|
this.formStateUpdated.emit({
|
|
9731
|
+
// Validity
|
|
9447
9732
|
valid: state.valid,
|
|
9448
9733
|
invalid: state.invalid,
|
|
9449
9734
|
hasValidationErrors: state.hasValidationErrors,
|
|
9450
|
-
|
|
9735
|
+
hasSubmitErrors: state.hasSubmitErrors,
|
|
9736
|
+
errors: state.errors,
|
|
9737
|
+
submitErrors: state.submitErrors,
|
|
9738
|
+
submitError: state.submitError,
|
|
9739
|
+
// Interaction
|
|
9451
9740
|
dirty: state.dirty,
|
|
9452
9741
|
pristine: state.pristine,
|
|
9742
|
+
modified: state.modified,
|
|
9743
|
+
modifiedSinceLastSubmit: state.modifiedSinceLastSubmit,
|
|
9744
|
+
dirtySinceLastSubmit: state.dirtySinceLastSubmit,
|
|
9745
|
+
// Submission
|
|
9453
9746
|
submitting: state.submitting,
|
|
9454
9747
|
submitSucceeded: state.submitSucceeded,
|
|
9455
|
-
|
|
9456
|
-
|
|
9748
|
+
submitFailed: state.submitFailed,
|
|
9749
|
+
validating: state.validating,
|
|
9750
|
+
// Values — emitted so the renderer's progress tracker can
|
|
9751
|
+
// recompute "X of Y answered" on every change. Reading from
|
|
9752
|
+
// `formApi.getState().values` inside the listener doesn't work
|
|
9753
|
+
// for all transitions (e.g. clearing a non-required field after
|
|
9754
|
+
// first edit) because neither `errors` nor `modified` fires —
|
|
9755
|
+
// subscribing to `values` is the only reliable signal.
|
|
9756
|
+
values: state.values,
|
|
9457
9757
|
});
|
|
9458
9758
|
}, {
|
|
9459
9759
|
valid: true,
|
|
9460
9760
|
invalid: true,
|
|
9461
9761
|
hasValidationErrors: true,
|
|
9762
|
+
hasSubmitErrors: true,
|
|
9763
|
+
errors: true,
|
|
9764
|
+
submitErrors: true,
|
|
9765
|
+
submitError: true,
|
|
9462
9766
|
dirty: true,
|
|
9463
9767
|
pristine: true,
|
|
9768
|
+
modified: true,
|
|
9769
|
+
modifiedSinceLastSubmit: true,
|
|
9770
|
+
dirtySinceLastSubmit: true,
|
|
9464
9771
|
submitting: true,
|
|
9465
9772
|
submitSucceeded: true,
|
|
9466
|
-
|
|
9773
|
+
submitFailed: true,
|
|
9774
|
+
validating: true,
|
|
9775
|
+
values: true,
|
|
9467
9776
|
});
|
|
9468
9777
|
}
|
|
9469
9778
|
componentDidLoad() {
|
|
@@ -9488,6 +9797,17 @@ const UdpFormComponent = class {
|
|
|
9488
9797
|
if (this.form)
|
|
9489
9798
|
this.form.initialize(newValue);
|
|
9490
9799
|
}
|
|
9800
|
+
/**
|
|
9801
|
+
* Rebind the validator when the prop changes. Final Form captures `validate`
|
|
9802
|
+
* at `createForm` time and won't pick up a new function reference otherwise.
|
|
9803
|
+
* Schema-driven validators (e.g., the renderer's `buildFinalFormValidator`
|
|
9804
|
+
* rebuilds when the loaded schema changes) need this watcher so newly-added
|
|
9805
|
+
* rules take effect without remounting the form.
|
|
9806
|
+
*/
|
|
9807
|
+
handleValidateChanged(newValidate) {
|
|
9808
|
+
if (this.form)
|
|
9809
|
+
this.form.setConfig('validate', newValidate);
|
|
9810
|
+
}
|
|
9491
9811
|
// --- Public Methods (External Control) ---
|
|
9492
9812
|
/**
|
|
9493
9813
|
* Manually submit the form.
|
|
@@ -9496,37 +9816,52 @@ const UdpFormComponent = class {
|
|
|
9496
9816
|
return this.form.submit();
|
|
9497
9817
|
}
|
|
9498
9818
|
/**
|
|
9499
|
-
* Reset the form to its initial
|
|
9819
|
+
* Reset the form to its initial values, or to a new set of initial values if provided.
|
|
9500
9820
|
*/
|
|
9501
|
-
reset() {
|
|
9502
|
-
this.form.reset();
|
|
9503
|
-
|
|
9821
|
+
async reset(initialValues) {
|
|
9822
|
+
this.form.reset(initialValues);
|
|
9823
|
+
}
|
|
9824
|
+
/**
|
|
9825
|
+
* Reset both values AND field state (touched/visited/etc) to fresh. Same as creating
|
|
9826
|
+
* the form anew. Optionally re-initialize with new values.
|
|
9827
|
+
*/
|
|
9828
|
+
async restart(initialValues) {
|
|
9829
|
+
this.form.restart(initialValues);
|
|
9504
9830
|
}
|
|
9505
9831
|
/**
|
|
9506
9832
|
* Get the current state of the form (values, errors, etc).
|
|
9507
9833
|
*/
|
|
9508
|
-
getCurrentState() {
|
|
9509
|
-
this.form.getState();
|
|
9510
|
-
return Promise.resolve();
|
|
9834
|
+
async getCurrentState() {
|
|
9835
|
+
return this.form.getState();
|
|
9511
9836
|
}
|
|
9512
9837
|
// --- Dependency Injection ---
|
|
9513
9838
|
handleFetchFormInstance(ev) {
|
|
9514
9839
|
ev.stopPropagation(); // Stop bubbling to nested forms
|
|
9515
9840
|
const callback = ev.detail;
|
|
9516
9841
|
if (typeof callback === 'function') {
|
|
9517
|
-
|
|
9842
|
+
// Pass form-level options to consumers (udp-field): `errorDisplay` gates
|
|
9843
|
+
// when the error string is pushed to the child input; `deriveFieldValidators`
|
|
9844
|
+
// toggles the attribute-derived validators. Optional second arg: older
|
|
9845
|
+
// callbacks that only take `(form)` still work unchanged.
|
|
9846
|
+
callback(this.form, {
|
|
9847
|
+
errorDisplay: this.errorDisplay,
|
|
9848
|
+
deriveFieldValidators: this.deriveFieldValidators,
|
|
9849
|
+
});
|
|
9518
9850
|
}
|
|
9519
9851
|
}
|
|
9520
9852
|
render() {
|
|
9521
|
-
return (h("form", { key: '
|
|
9853
|
+
return (h("form", { key: '7c76c4cfb8ee22d8bd68ead79f7a1dff1b6cb2f8', id: this.formId, noValidate: true, onSubmit: e => {
|
|
9522
9854
|
e.preventDefault();
|
|
9523
9855
|
void this.form.submit();
|
|
9524
|
-
} }, h("slot", { key: '
|
|
9856
|
+
} }, h("slot", { key: '3eec3822b4c70bbc38b331913c87753c41210161' })));
|
|
9525
9857
|
}
|
|
9526
9858
|
get el() { return getElement(this); }
|
|
9527
9859
|
static get watchers() { return {
|
|
9528
9860
|
"initialValues": [{
|
|
9529
9861
|
"handleValuesChanged": 0
|
|
9862
|
+
}],
|
|
9863
|
+
"validate": [{
|
|
9864
|
+
"handleValidateChanged": 0
|
|
9530
9865
|
}]
|
|
9531
9866
|
}; }
|
|
9532
9867
|
};
|
|
@@ -9629,7 +9964,7 @@ const UdpLazyLoader = class {
|
|
|
9629
9964
|
}
|
|
9630
9965
|
}
|
|
9631
9966
|
render() {
|
|
9632
|
-
return h(Host, { key: '
|
|
9967
|
+
return h(Host, { key: '43db3490416e0648ec956f2c2c14db5bedc6abd7' }, this.shouldRender && this.content ? this.content() : null);
|
|
9633
9968
|
}
|
|
9634
9969
|
static get watchers() { return {
|
|
9635
9970
|
"if": [{
|
|
@@ -9653,7 +9988,7 @@ const UdpLinearLoader = class {
|
|
|
9653
9988
|
loader: true,
|
|
9654
9989
|
[`loader--color-${this.color}`]: true,
|
|
9655
9990
|
};
|
|
9656
|
-
return (h(Host, { key: '
|
|
9991
|
+
return (h(Host, { key: '8f22f31cc54bcff12005fe51bc167d6ff5875650' }, h("div", { key: '08533be0143ee2ec556c3aebca1274fee1a35d59', class: loaderClasses }, h("div", { key: 'efa184141b12699b1a276ca1d27d45a61785b934', class: "indeterminate" }))));
|
|
9657
9992
|
}
|
|
9658
9993
|
};
|
|
9659
9994
|
UdpLinearLoader.style = udpLinearLoaderCss();
|
|
@@ -9712,11 +10047,11 @@ const UdpListRenderer = class {
|
|
|
9712
10047
|
render() {
|
|
9713
10048
|
const showPrimaryText = this.primaryText || this.hasPrimaryTextSlot;
|
|
9714
10049
|
const showSecondaryText = this.secondaryText || this.hasSecondaryTextSlot;
|
|
9715
|
-
return (h(Host, { key: '
|
|
10050
|
+
return (h(Host, { key: '36489442fc414a8c95a8ed085d7093a6ce9616b6' }, h("div", { key: '095db860c92f49264718004b2656b1452dc6c73f', class: {
|
|
9716
10051
|
'list-item': true,
|
|
9717
10052
|
'clickable': this.clickable,
|
|
9718
10053
|
'variant-compact': this.variant === 'compact',
|
|
9719
|
-
}, onClick: this.handleClick, onKeyPress: this.handleKeyPress, role: this.clickable ? 'button' : undefined, tabindex: this.clickable ? 0 : -1 }, this.iconName && (h("div", { key: '
|
|
10054
|
+
}, onClick: this.handleClick, onKeyPress: this.handleKeyPress, role: this.clickable ? 'button' : undefined, tabindex: this.clickable ? 0 : -1 }, this.iconName && (h("div", { key: 'ec240bc91de86d67a91fe536e93127d8c5b5ff6a', class: "avatar-container" }, h("udp-avatar", { key: '128b7c24d30cb9fd552664c7a6633c04fc6dd36c', iconName: this.iconName, variant: this.avatarVariant, color: this.avatarBackgroundColor }))), h("div", { key: '37ff6fc1b7a1c89fe23e14f0efa61004a0dfab5a', class: "text-container" }, showPrimaryText && (h("div", { key: 'd952b50fb35cdff6f0e30e64f56cd497e3d52f7a', class: "primary-text" }, h("slot", { key: '435d24d8ff133174c87ebff9ff68a4f210b2ae9c', name: "primary-text" }, h("unity-typography", { key: 'af94b840a0803c8cc7274ab9e589365677340f02', variant: "body" }, this.primaryText)))), showSecondaryText && (h("div", { key: '6baf6bdfb55d6f41183cc2c3e490bad6fe1c47af', class: "secondary-text" }, h("slot", { key: '2d5dbf51b722311ebe3a440adc0cf245056d5f5b', name: "secondary-text" }, h("unity-typography", { key: 'a328e658cfd4d1656016703e087e9f6ec0191f1b', variant: "caption-text", color: "textSecondary" }, this.secondaryText))))), this.hasStatusChipSlot && (h("div", { key: '3593a2453beca36300f524324c376dcd0a19b6aa', class: "status-chip-container" }, h("slot", { key: '223e344db18c2286f7802ce28d8a69dcb6d93c90', name: "status-chip" }))), this.hasActionsSlot && (h("div", { key: '63946c93446ae369617f57fdf261149f405f8530', class: "actions-container" }, h("slot", { key: '4c9b616fe65d3e37bcc68791b5703d5c94f09b48', name: "actions" }))))));
|
|
9720
10055
|
}
|
|
9721
10056
|
get hostEl() { return getElement(this); }
|
|
9722
10057
|
};
|
|
@@ -9738,11 +10073,13 @@ const UdpMenuItem = class {
|
|
|
9738
10073
|
};
|
|
9739
10074
|
}
|
|
9740
10075
|
render() {
|
|
9741
|
-
return (h("button", { key: '
|
|
10076
|
+
return (h("button", { key: 'b82a704b12c25c10652be6831b8f32bacc749ea3', class: "menu-item-root", onClick: this.handleItemClick, disabled: this.disabled, role: "menuitem" }, this.iconName && h("udp-icon", { key: '51e12c8dca4a5d86740a83efaeebf7e2251db215', iconName: this.iconName, class: "menu-icon" }), h("span", { key: '49a36f3ecb026930430f0e3f3d22eb0649f01db6', class: "menu-item-label" }, h("unity-typography", { key: 'f7cbe3d24aa5041a0efee0cb1dd562cac29b9d4e', variant: 'body1' }, this.label))));
|
|
9742
10077
|
}
|
|
9743
10078
|
};
|
|
9744
10079
|
UdpMenuItem.style = udpMenuItemCss();
|
|
9745
10080
|
|
|
10081
|
+
const udpMessageBarCss = () => `::slotted([slot='icon']){color:inherit !important}`;
|
|
10082
|
+
|
|
9746
10083
|
const UdpMessageBar = class {
|
|
9747
10084
|
constructor(hostRef) {
|
|
9748
10085
|
registerInstance(this, hostRef);
|
|
@@ -9768,9 +10105,10 @@ const UdpMessageBar = class {
|
|
|
9768
10105
|
};
|
|
9769
10106
|
}
|
|
9770
10107
|
render() {
|
|
9771
|
-
return (h(Host, { key: '
|
|
10108
|
+
return (h(Host, { key: 'fa325815567104264a595f3d0d36ec06ea06a5ec' }, h("fluent-message-bar", { key: '78497180f5e617cb3e13ada00634ff504248e9e8', shape: this.shape, layout: this.layout, intent: this.intent }, h("udp-flexbox", { key: '227f1d5b1eefa028301510e18ff2bfaac1fb134e', direction: "row", gap: "sm", slot: "actions" }, h("slot", { key: 'a17d1f598474757531ced89051de9c153978afee', name: "actions" })), this.dismissible ? (h("udp-fluent-icon-button", { slot: "dismiss", appearance: "subtle", iconName: "dismiss", "aria-label": "Dismiss", onClick: this.handleDismissClick })) : (h("slot", { name: "dismiss", slot: "dismiss" })), h("slot", { key: 'd052bcc8da779751da4d4fb09901d1f5b3a34b37', name: "icon", slot: "icon" }), h("slot", { key: 'f1ef274add5fc6f9afadcacd652c5d6b0d51968d' }))));
|
|
9772
10109
|
}
|
|
9773
10110
|
};
|
|
10111
|
+
UdpMessageBar.style = udpMessageBarCss();
|
|
9774
10112
|
|
|
9775
10113
|
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}`;
|
|
9776
10114
|
|
|
@@ -9888,7 +10226,7 @@ const UdpPopOver = class {
|
|
|
9888
10226
|
maxHeight: this.popoverMaxHeight,
|
|
9889
10227
|
overflow: this.overflow
|
|
9890
10228
|
};
|
|
9891
|
-
return (h(Host, { key: '
|
|
10229
|
+
return (h(Host, { key: '681a9ef47a1265d3036a3b693cd976d84349194f' }, h("div", { key: '62bc5c7b20d331d1cb8b8d7ba5757725b89d1b94', class: "popover", style: style }, h("slot", { key: '4476e5029e5c6bb987a4a4a3eddb36120d97ebf0' }))));
|
|
9892
10230
|
}
|
|
9893
10231
|
get hostEl() { return getElement(this); }
|
|
9894
10232
|
static get watchers() { return {
|
|
@@ -10210,14 +10548,14 @@ const UdpPopover = class {
|
|
|
10210
10548
|
}
|
|
10211
10549
|
render() {
|
|
10212
10550
|
const anchorName = `--${this.anchorId}`;
|
|
10213
|
-
return (h(Host, { key: '
|
|
10551
|
+
return (h(Host, { key: '9cdc22d2f252ee38dea388837684a9865f7aff23', style: { '--udp-internal-anchor-name': anchorName }, class: { 'has-arrow': this.withArrow }, onClick: (e) => {
|
|
10214
10552
|
if (!this.toggleOnTriggerClick)
|
|
10215
10553
|
return;
|
|
10216
10554
|
if (this.popoverWrapper && e.composedPath().includes(this.popoverWrapper)) {
|
|
10217
10555
|
return;
|
|
10218
10556
|
}
|
|
10219
10557
|
this.open = !this.open;
|
|
10220
|
-
}, onFocusout: this.handleFocusOut }, h("slot", { key: '
|
|
10558
|
+
}, onFocusout: this.handleFocusOut }, h("slot", { key: 'cf9bd01e25752965f8819f96a3566518105c077a', name: "trigger" }), h("div", { key: '61b0e0a9ee425a6277f07bfd9614b99ddbcddf7a', popover: this.keepOpenOnClickOutside ? 'manual' : 'auto', class: {
|
|
10221
10559
|
'popover-shell': true,
|
|
10222
10560
|
'position-top': this.position.startsWith('top'),
|
|
10223
10561
|
'position-bottom': this.position.startsWith('bottom'),
|
|
@@ -10233,10 +10571,10 @@ const UdpPopover = class {
|
|
|
10233
10571
|
}, style: {
|
|
10234
10572
|
'position-anchor': `var(--udp-internal-anchor-name)`,
|
|
10235
10573
|
'position-area': this.getPositionArea(),
|
|
10236
|
-
} }, h("div", { key: '
|
|
10574
|
+
} }, h("div", { key: 'f0fefbd2f241dc57a9a337e858a7ba4acbdfd89d', part: "content", class: {
|
|
10237
10575
|
'popover-content': true,
|
|
10238
10576
|
[`size-${this.size}`]: !!this.size,
|
|
10239
|
-
} }, this.withArrow && h("div", { key: '
|
|
10577
|
+
} }, this.withArrow && h("div", { key: '4507f75260eddadab3b94a8acebb10e8e9672d5c', class: "popover-arrow" }), h("slot", { key: '0ad73928d4cf7608e71fae9f404e5c475a05b0c4', name: "content" })))));
|
|
10240
10578
|
}
|
|
10241
10579
|
get el() { return getElement(this); }
|
|
10242
10580
|
static get watchers() { return {
|
|
@@ -10247,7 +10585,7 @@ const UdpPopover = class {
|
|
|
10247
10585
|
};
|
|
10248
10586
|
UdpPopover.style = udpPopoverCss();
|
|
10249
10587
|
|
|
10250
|
-
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(--
|
|
10588
|
+
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}`;
|
|
10251
10589
|
|
|
10252
10590
|
const UdpPrimaryActionHeader = class {
|
|
10253
10591
|
constructor(hostRef) {
|
|
@@ -10499,7 +10837,7 @@ const UdpPrimaryActionHeader = class {
|
|
|
10499
10837
|
render() {
|
|
10500
10838
|
var _a;
|
|
10501
10839
|
const hasPropActions = !!this.primaryAction || (((_a = this.secondaryActions) === null || _a === void 0 ? void 0 : _a.length) || 0) > 0;
|
|
10502
|
-
return (h(Host, { key: '
|
|
10840
|
+
return (h(Host, { key: 'd0d3f8feab8d5b64bba573bb37174f21823f0abe' }, h("div", { key: '9ebabc0a07f4cfafc190b1a961a0b0f348b63172', class: { 'header-body': true, 'has-toolbar': this.hasToolbar } }, h("div", { key: 'd016ac453daca4d1a2b35a0c10ed8d0de593fe66', class: "title-row" }, h("div", { key: 'fa74513458b5213a36db350ea5005bda1a0a7f8c', class: "title-inline" }, this.title !== undefined ? (h("udp-text", { variant: "subtitle1", block: false }, this.title)) : (h("slot", { name: "title", onSlotchange: this.handleSlotChange })), h("div", { key: '044c794a978a60eef4f7c7d4c43c58345a5ecd8a', class: { 'slot-inline': true, 'hidden': !this.hasInline } }, h("slot", { key: 'afcdb4c86fa67c2598572d2f7b8e244632ba321c', name: "inline", onSlotchange: this.handleSlotChange }))), h("div", { key: '0048d6f5c28d7a5277afc36dc69310b994c2fe15', class: { 'slot-actions': true, 'hidden': !this.hasActions } }, h("slot", { key: '7ebcae5cd4a46c468f67f643ad42cf2245f7d7b0', name: "actions", onSlotchange: this.handleSlotChange })), h("div", { key: '8f06ae578fdb3535df92254b943e05b34d79d32a', class: { 'system-actions': true, 'hidden': !hasPropActions } }, this.renderSecondaryActions(), this.renderPrimaryAction())), h("div", { key: '9a5d592e2125cea11040d5049ddb2213df427094', class: { 'subtitle-row': true, 'hidden': !this.hasSubtitle && !this.subtitle } }, this.subtitle !== undefined ? (h("udp-text", { variant: "caption1" }, this.subtitle)) : (h("slot", { name: "subtitle", onSlotchange: this.handleSlotChange })))), h("div", { key: '2100086f11ed47764ffdc609e5d9b9510c060d53', class: { 'toolbar-row': true, 'hidden': !this.hasToolbar } }, h("slot", { key: '68fad3a7a2b9b0568d1e6943612d93d67a75870b', name: "toolbar", onSlotchange: this.handleSlotChange }))));
|
|
10503
10841
|
}
|
|
10504
10842
|
get el() { return getElement(this); }
|
|
10505
10843
|
};
|
|
@@ -10522,7 +10860,7 @@ const UdpProgressBar = class {
|
|
|
10522
10860
|
this.validationState = 'info';
|
|
10523
10861
|
}
|
|
10524
10862
|
render() {
|
|
10525
|
-
return (h(Host, { key: '
|
|
10863
|
+
return (h(Host, { key: '79eb768d6fca57601e21c62a9c76d66d341aee9a' }, 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 })));
|
|
10526
10864
|
}
|
|
10527
10865
|
};
|
|
10528
10866
|
|
|
@@ -10598,14 +10936,14 @@ const UdpSearchInput = class {
|
|
|
10598
10936
|
render() {
|
|
10599
10937
|
const hasError = !!this.error;
|
|
10600
10938
|
const message = this.error || this.hint;
|
|
10601
|
-
return (h(Host, { key: '
|
|
10939
|
+
return (h(Host, { key: '18e3f399d9adbe656e69b3681480ebe4a9697b24', class: { 'has-error': hasError } }, h("fluent-field", { key: 'af700db04a47415dcdcb18d84341117348b4e9fb', class: { 'no-message': !message && !this.includeErrorPadding } }, 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,
|
|
10602
10940
|
// Events
|
|
10603
10941
|
onInput: this.handleInput, onBlur: () => this.inputBlur.emit(), onFocus: () => this.inputFocus.emit(),
|
|
10604
10942
|
// Suppress native invalid popup
|
|
10605
|
-
onInvalid: (e) => e.preventDefault() }, h("slot", { key: '
|
|
10943
|
+
onInvalid: (e) => e.preventDefault() }, h("slot", { key: 'ac705fd2012ecf274bf4dd0d36a9a6e6e5d495d2', slot: "start", name: "start" }, h("udp-fluent-icon", { key: '2a4779bc4adf452eb8cb010f26d29ba8011278bc', name: "search", size: "xs" })), h("udp-fluent-icon-button", { key: '3995efb2643be86e6de1eb8036a8734b935716f8', class: {
|
|
10606
10944
|
'clear-button': true,
|
|
10607
10945
|
'is-visible': !!this.internalValue && !this.disabled && !this.readonly,
|
|
10608
|
-
}, slot: "end", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), this.label && (h("fluent-label", { key: '
|
|
10946
|
+
}, slot: "end", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), this.label && (h("fluent-label", { key: '09e6aa89868714b4560ab4e844b1ae3b7c894f04', required: this.required, disabled: this.disabled }, this.label, this.popupHint && (h("udp-tooltip", { key: '188b331d170b8428c9c1b2d0d3f91fcb26e61800', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: 'c1b6dca3c08a1189ef27b8353522a91cd87a1287', name: "info", size: "xs", class: "popup-hint-icon" })))))), (!!message || this.includeErrorPadding) && (h("udp-text", { key: '666c475d74d57e5e6f89e4c21f6b2bf0b57aa689', slot: "message", variant: "caption1", class: {
|
|
10609
10947
|
message: true,
|
|
10610
10948
|
error: hasError,
|
|
10611
10949
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -10847,27 +11185,27 @@ const UdpSideSheet = class {
|
|
|
10847
11185
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10848
11186
|
const headerStartIcon = Boolean(this.headerActionButtonIcon) ? (h("udp-icon", { iconName: this.headerActionButtonIcon, color: "inherit" })) : undefined;
|
|
10849
11187
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10850
|
-
const overflowIcon = h("udp-icon", { key: '
|
|
10851
|
-
return (h("div", { key: '
|
|
11188
|
+
const overflowIcon = h("udp-icon", { key: '6c39f309512725cc4773e1370d42c3c714c9d6bd', iconName: "overflowMenuVertical", color: "inherit" });
|
|
11189
|
+
return (h("div", { key: '3d8838a1377ef5d6d534376b724548d6798b3af7', class: "backdrop", onClick: this.onCloseBackdrop }, h("div", { key: '3e5a586280f33a4185b2c726e18cc10606a77136', class: { sheet: true, [this.position]: true, [widthClass]: true }, style: sideSheetStyle }, h("div", { key: 'a5456d799b92fb4b07dd666f18c0acb624674377', class: "title-container" }, h("div", { key: 'cb1132c6c96ca3ebb6831ada3c3956d86fb7d2c1', class: "close-button" }, h("stencil-icon-button", { key: '997dd654887ccb79f297da44c6381aa5c29b0bdc',
|
|
10852
11190
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10853
|
-
icon: Close24, onClick: this.onClose, secondary: true })), h("div", { key: '
|
|
10854
|
-
_b.map((item) => (h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label))), this.headerActionButtonLabel && (h("udp-button", { key: '
|
|
11191
|
+
icon: Close24, onClick: this.onClose, secondary: true })), h("div", { key: '93887acf897d799ccbcbf15b516e8e765e0d3836', class: "title-text" }, h("unity-typography", { key: 'ca216bf4428b011d729683e1a5a8eeb50e15b0c4', variant: "h6" }, this.title)), (this.headerActionButtonLabel || ((_a = this.headerSecondaryButtons) === null || _a === void 0 ? void 0 : _a.length) > 0) && (h("div", { key: 'b498eb6052f74dd6cd1f8a1f3dd57599f05759ef', class: "header-action-button" }, (_b = this.headerSecondaryButtons) === null || _b === void 0 ? void 0 :
|
|
11192
|
+
_b.map((item) => (h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label))), this.headerActionButtonLabel && (h("udp-button", { key: '311a310a6007b8b0042c84aa7bb2105831cfe16c', disabled: this.headerActionButtonDisabled, onClick: this.onHeaderActionButtonClick,
|
|
10855
11193
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10856
|
-
startIcon: headerStartIcon, variant: "contained" }, this.headerActionButtonLabel))))), h("div", { key: '
|
|
11194
|
+
startIcon: headerStartIcon, variant: "contained" }, this.headerActionButtonLabel))))), h("div", { key: 'e9192a778369b629dfc261469f520fe5b1656f3b', class: "loader-container" }, h("udp-linear-loader", { key: 'ff3a4a7ddb84c178246b103b40d727124af91e55', class: { 'is-loading': this.loading }, color: "primary" })), h("div", { key: '6348c8ad6d4575c4f62cad26e69425daf821839f', class: { content: true, padding: this.padding } }, h("slot", { key: '3e2cfd5a9778756ea5bff000441522e7edf7a3f3' })), (this.primaryButtonLabel || ((_c = this.footerSecondaryButtons) === null || _c === void 0 ? void 0 : _c.length) > 0) && (h("div", { key: '5dd3a712db33bc8bbd1f75690edaaa4035c27760' }, h("div", { key: 'e72a3374ce4de6230b526faabb305ec21cbdded4', class: "loader-container" }), h("div", { key: '6d1370245b40d672773906f6449f53762cceb913', class: {
|
|
10857
11195
|
footer: true,
|
|
10858
|
-
}, ref: el => (this.footerRef = el) }, !this.showOverflowButton && ((_d = this.footerSecondaryButtons) === null || _d === void 0 ? void 0 : _d.length) > 0 && (h("div", { key: '
|
|
11196
|
+
}, ref: el => (this.footerRef = el) }, !this.showOverflowButton && ((_d = this.footerSecondaryButtons) === null || _d === void 0 ? void 0 : _d.length) > 0 && (h("div", { key: '5d0ce1a63309c638c2014f3aedd5b92710f6938c', class: "footer-secondary-buttons-container" }, h("div", { key: '936a21838d09406da6143d90676f0b4974ee4228', class: "footer-secondary-buttons" }, (_e = this.footerSecondaryButtons) === null || _e === void 0 ? void 0 : _e.map((item) => (h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label)))))), this.showOverflowButton && (h("udp-button", { key: 'e51f332ff548a49e4f3d5274c381047e5e912293', variant: "outlined", onClick: this.onMoreActionButtonClick, color: "secondary",
|
|
10859
11197
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10860
|
-
endIcon: overflowIcon }, "More")), this.primaryButtonLabel && (h("udp-button", { key: '
|
|
11198
|
+
endIcon: overflowIcon }, "More")), this.primaryButtonLabel && (h("udp-button", { key: '8e22db449186617656f1c18bd3846031533f921d', variant: "contained", disabled: this.primaryButtonDisabled, onClick: this.onPrimaryButtonClick, endIcon: this.primaryButtonIcon }, this.primaryButtonLabel)), this.showOverflowButton && (h("udp-pop-over", { key: '288284faf79eddb49dc907d42c5d401196b32b1c', anchorElement: this.overflowMenuAnchor, isOpen: this.openOverflowMenu, popoverWidth: '200px', popoverMaxHeight: '300px', handleOnClose: this.handleCloseOverflowMenu }, h("div", { key: 'ea65e59690f0885b74f2d17243edb80320e61e05', class: "menu" }, (_f = this.footerSecondaryButtons) === null || _f === void 0 ? void 0 : _f.map(item => (h("udp-menu-item", { label: item === null || item === void 0 ? void 0 : item.label, iconName: item === null || item === void 0 ? void 0 : item.icon, onItemClick: () => {
|
|
10861
11199
|
item === null || item === void 0 ? void 0 : item.onClick();
|
|
10862
11200
|
this.handleCloseOverflowMenu();
|
|
10863
|
-
}, disabled: item === null || item === void 0 ? void 0 : item.disabled })))))), h("div", { key: '
|
|
11201
|
+
}, disabled: item === null || item === void 0 ? void 0 : item.disabled })))))), h("div", { key: 'e246fbc961e55e5af4544efaaa092d6eb5774a68', ref: el => (this.measurementContainerRef = el), style: {
|
|
10864
11202
|
position: 'absolute',
|
|
10865
11203
|
visibility: 'hidden',
|
|
10866
11204
|
pointerEvents: 'none',
|
|
10867
11205
|
display: 'flex',
|
|
10868
11206
|
gap: 'var(--spacing-02, 4px)',
|
|
10869
11207
|
}, "aria-hidden": "true" }, (_g = this.footerSecondaryButtons) === null || _g === void 0 ? void 0 :
|
|
10870
|
-
_g.map((item) => (h("udp-button", { variant: "text", size: "medium", disabled: item.disabled, endIcon: item.icon }, item.label))), this.primaryButtonLabel && (h("udp-button", { key: '
|
|
11208
|
+
_g.map((item) => (h("udp-button", { variant: "text", size: "medium", disabled: item.disabled, endIcon: item.icon }, item.label))), this.primaryButtonLabel && (h("udp-button", { key: '6382b979dc197b65f643b929c17d42f91e3c8958', variant: "contained", size: "medium", disabled: this.primaryButtonDisabled, endIcon: this.primaryButtonIcon }, this.primaryButtonLabel)))))))));
|
|
10871
11209
|
}
|
|
10872
11210
|
get hostEl() { return getElement(this); }
|
|
10873
11211
|
static get watchers() { return {
|
|
@@ -10914,7 +11252,7 @@ const UdpSlider = class {
|
|
|
10914
11252
|
render() {
|
|
10915
11253
|
const hasError = !!this.error;
|
|
10916
11254
|
const message = this.error || this.hint;
|
|
10917
|
-
return (h(Host, { key: '
|
|
11255
|
+
return (h(Host, { key: 'c46ea343b49e8e87f515656e3a82ce82bd52782a' }, h("fluent-field", { key: '9664f9a8054cc5f79ed4fe891134161f582c65ac', "label-position": "above", class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, h("fluent-label", { key: '28dbcc8ef193def3bc6c8254f415a70eef81d38b', slot: "label", disabled: this.disabled }, this.label, this.popupHint && (h("udp-tooltip", { key: '865326d46e31e54cf0e80a2689ecc5acf0a8b707', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: 'edf8e2a4e368fadaaa74c02e42de51c6e56a8add', name: "info", size: "xs", class: "popup-hint-icon" })))), 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 }), h("udp-text", { key: '8aaeccdeeea74a406e7dd53df56b0c86e1b4336d', slot: "message", variant: "caption1", class: {
|
|
10918
11256
|
message: true,
|
|
10919
11257
|
error: hasError,
|
|
10920
11258
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -10928,7 +11266,7 @@ const UdpSpinner = class {
|
|
|
10928
11266
|
registerInstance(this, hostRef);
|
|
10929
11267
|
}
|
|
10930
11268
|
render() {
|
|
10931
|
-
return (h(Host, { key: '
|
|
11269
|
+
return (h(Host, { key: '476640046658069569b983816fea2f37cac0343d' }, h("fluent-spinner", { key: 'ea9df3d0896c1a16d5774399dde0274199650852', size: this.size, appearance: this.appearance })));
|
|
10932
11270
|
}
|
|
10933
11271
|
};
|
|
10934
11272
|
|
|
@@ -11142,7 +11480,7 @@ const UdpSwatchPicker = class {
|
|
|
11142
11480
|
const gridStyle = this.layout === 'grid' ? { '--grid-columns': Math.min(this.gridColumns, 8).toString() } : {};
|
|
11143
11481
|
const hasError = !!this.error;
|
|
11144
11482
|
const message = this.error || this.hint;
|
|
11145
|
-
return (h(Host, { key: '
|
|
11483
|
+
return (h(Host, { key: '3548fe5f20da790a69709bab072a6c224f5e56f9' }, h("fluent-field", { key: 'a98d150f1407b4603dbc323ae2a420d8df7c360c', class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, h("fluent-label", { key: 'ae0751ca43a394b17ff01e9edfee0dc363748209', required: this.required, disabled: this.disabled, slot: "label" }, this.label, this.popupHint && (h("udp-tooltip", { key: '06d241ac76ddf5daf67d10fca5893d406b090a92', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: 'e4f763dfb04e8333f4efe0443b60534999c5e24c', name: "info", size: "xs", class: "popup-hint-icon" })))), 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))), h("udp-text", { key: '3841d745127b4f0dede093a95a74e7db2739d032', slot: "message", variant: "caption1", class: {
|
|
11146
11484
|
message: true,
|
|
11147
11485
|
error: hasError,
|
|
11148
11486
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -11194,7 +11532,7 @@ const UdpTabPanel = class {
|
|
|
11194
11532
|
}
|
|
11195
11533
|
render() {
|
|
11196
11534
|
const isActive = this.activeTabId === this.id;
|
|
11197
|
-
return (h(Host, { key: '
|
|
11535
|
+
return (h(Host, { key: 'c05836ddf9ef5bf35db4bb136b446414adb0798a', role: "tabpanel", "aria-labelledby": this.id, "aria-hidden": !isActive ? 'true' : 'false', hidden: !isActive }, h("slot", { key: '4b2610933b56b1bb9176f89e41fe348bbf7f8a34' })));
|
|
11198
11536
|
}
|
|
11199
11537
|
static get delegatesFocus() { return true; }
|
|
11200
11538
|
};
|
|
@@ -11256,7 +11594,7 @@ const UdpText = class {
|
|
|
11256
11594
|
.join(' ');
|
|
11257
11595
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11258
11596
|
const Tag = finalAs;
|
|
11259
|
-
return (h(Host, { key: '
|
|
11597
|
+
return (h(Host, { key: '86e0780444d718ea941408e65fc98e5acff1dcc3', class: classNames }, h(Tag, { key: '7d9ed6f74951760273827eb3fc3fda2951134553' }, h("slot", { key: '067b01ca86c3d370f80dbe7ab6b340be5f01880a' }))));
|
|
11260
11598
|
}
|
|
11261
11599
|
};
|
|
11262
11600
|
UdpText.style = udpTextCss();
|
|
@@ -11319,11 +11657,11 @@ const UdpTextarea = class {
|
|
|
11319
11657
|
render() {
|
|
11320
11658
|
const hasError = !!this.error;
|
|
11321
11659
|
const message = this.error || this.hint;
|
|
11322
|
-
return (h(Host, { key: '
|
|
11660
|
+
return (h(Host, { key: '9fb6e076b7f46073cbf48c73e6f214905062e7a7', class: { 'has-error': hasError } }, h("fluent-field", { key: '0ee8674ea9f35cbca816fb0f749005f4dd2fa1d7', class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, 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,
|
|
11323
11661
|
// Events
|
|
11324
11662
|
onInput: this.handleInput, onBlur: () => this.inputBlur.emit(), onFocus: () => this.inputFocus.emit(),
|
|
11325
11663
|
// Suppress native invalid popup
|
|
11326
|
-
onInvalid: (e) => e.preventDefault() }), h("fluent-label", { key: '
|
|
11664
|
+
onInvalid: (e) => e.preventDefault() }), h("fluent-label", { key: '988191db247a107729cc68b6f340aea5bef68932', slot: "label", disabled: this.disabled }, this.label, this.popupHint && (h("udp-tooltip", { key: '6bf6d871b57867236c695d812b7c026801acae5a', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: 'd320fd9ec6903593e8d2044574972e2e60338a91', name: "info", size: "xs", class: "popup-hint-icon" })))), h("udp-text", { key: 'daf6e0c53ce078fcd69abf672742cf7b86344a47', slot: "message", variant: "caption1", class: {
|
|
11327
11665
|
message: true,
|
|
11328
11666
|
error: hasError,
|
|
11329
11667
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -11803,7 +12141,7 @@ const UdpTimeInput = class {
|
|
|
11803
12141
|
const effectiveError = this.internalError || this.error;
|
|
11804
12142
|
const hasError = !!effectiveError;
|
|
11805
12143
|
const message = effectiveError || this.hint;
|
|
11806
|
-
return (h(Host, { key: '
|
|
12144
|
+
return (h(Host, { key: '5bc699fe3919dea4e0c3e9f115ddac67a74bddfa', class: { 'has-error': hasError } }, h("fluent-field", { key: '21487b7133ed7ab3a1f9817a64aa843b4ad773b9', class: { 'no-message': !message && !this.includeErrorPadding } }, h("udp-popover", { key: '04a9750576804aa0c98a409f830a92454492b8e8', slot: "input", open: this.isOpen, position: "bottom-start", toggleOnTriggerClick: false, matchTriggerWidth: true, onPopoverClose: this.handlePopoverClose }, 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 }, h("fluent-label", { key: '1a8d0f064d0392bde80139e00ee3c804ff00e46e', required: this.required, disabled: this.disabled, onMouseDown: this.handleLabelMouseDown }, this.label, this.popupHint && (h("udp-tooltip", { key: '3b59cd1a660103f0d7b20378778a886a63fbfe7c', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '20fef4a31e42c2209f4a680b40769c8b06435c8c', name: "info", size: "xs", class: "popup-hint-icon" })))), h("div", { key: 'c3c188d8cadd47ec9be8110d0654a5af0c87c3fd', slot: "end" }, h("udp-fluent-icon-button", { key: '5ea377718a25a380b23f03393ef67566b08b2d1e', appearance: "transparent", iconName: "clock", disabled: this.disabled, tabindex: -1, onMouseDown: this.handleIconMouseDown, onClick: this.handleIconClick }))), h("div", { key: '5046778baca7a629f9ff3bb8e008aad753ce9e81', slot: "content", class: "listbox-container" }, h("fluent-listbox", { key: 'baa6f6a49bfa2df430f0f4a684150562db4f0efd' }, this.timeOptions.map((option, index) => (h("fluent-option", { key: option.value, value: option.value, class: { active: index === this.activeIndex }, onClick: () => this.handleOptionClick(option) }, h("span", { slot: "checked-indicator" }), option.label)))))), h("udp-text", { key: 'f176652eb1199c346e6bbd544289d1f20b1c50e2', slot: "message", variant: "caption1", class: {
|
|
11807
12145
|
message: true,
|
|
11808
12146
|
error: hasError,
|
|
11809
12147
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -11851,13 +12189,13 @@ const UdpTooltip = class {
|
|
|
11851
12189
|
render() {
|
|
11852
12190
|
// A stable, internal ID is safe because it is scoped to this Shadow Root
|
|
11853
12191
|
const anchorId = 'internal-anchor';
|
|
11854
|
-
return (h(Host, { key: '
|
|
12192
|
+
return (h(Host, { key: '597c2f5b793d34ba49b847d6f0ca4430082a4488' }, h("div", { key: '9c0a13d18efb5bfdc8e408ca4d886c0593c174a0', id: anchorId, onFocusin: (e) => {
|
|
11855
12193
|
var _a, _b;
|
|
11856
12194
|
// Only show on keyboard-driven focus, not pointer clicks or programmatic focus restoration
|
|
11857
12195
|
if ((_a = e.target) === null || _a === void 0 ? void 0 : _a.matches(':focus-visible')) {
|
|
11858
12196
|
(_b = this.tooltipRef) === null || _b === void 0 ? void 0 : _b.showTooltip(0);
|
|
11859
12197
|
}
|
|
11860
|
-
}, onFocusout: () => { var _a; return (_a = this.tooltipRef) === null || _a === void 0 ? void 0 : _a.hideTooltip(0); } }, h("slot", { key: '
|
|
12198
|
+
}, onFocusout: () => { var _a; return (_a = this.tooltipRef) === null || _a === void 0 ? void 0 : _a.hideTooltip(0); } }, h("slot", { key: '5a1234bb22f6cdeac39ad7e0980580a6644217dd' })), h("fluent-tooltip", { key: '6869447b0a2d209c963a73a2af152856ed771320', ref: el => (this.tooltipRef = el), anchor: anchorId, delay: this.delay, positioning: this.positioning }, this.content)));
|
|
11861
12199
|
}
|
|
11862
12200
|
};
|
|
11863
12201
|
UdpTooltip.style = udpTooltipCss();
|
|
@@ -12048,7 +12386,7 @@ const UdpTree = class {
|
|
|
12048
12386
|
});
|
|
12049
12387
|
}
|
|
12050
12388
|
render() {
|
|
12051
|
-
return (h(Host, { key: '
|
|
12389
|
+
return (h(Host, { key: '0ed3ca9cfdda62c0e67d8afb6baf67b4f8fa827c' }, h("fluent-tree", { key: '41cc77d04f95818f76ee8332d9df4481178c9735', class: {
|
|
12052
12390
|
'interaction-button': this.interaction === 'button',
|
|
12053
12391
|
collapsible: this.collapsible,
|
|
12054
12392
|
}, size: this.size, appearance: this.appearance }, this.treeItems.length > 0 ? this.renderTreeItems(this.treeItems) : h("slot", null))));
|