udp-stencil-component-library 26.3.0-beta.2 → 26.3.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/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 +13 -13
- package/dist/cjs/ag-grid-base_63.cjs.entry.js +404 -164
- package/dist/cjs/ambient-template-grid.cjs.entry.js +16 -16
- package/dist/cjs/api-method-instance-grid.cjs.entry.js +2 -2
- package/dist/cjs/app-bar.cjs.entry.js +1 -1
- package/dist/cjs/chart-container_3.cjs.entry.js +2 -2
- package/dist/cjs/charts-theme-DmrbXz3l.js +386 -0
- package/dist/cjs/check-box.cjs.entry.js +2 -2
- package/dist/cjs/chip-section.cjs.entry.js +2 -2
- 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 +5 -5
- package/dist/cjs/form-metadata-display_10.cjs.entry.js +8 -8
- package/dist/cjs/icon-grid.cjs.entry.js +1 -1
- package/dist/cjs/index-G1ccGqOs.js +44 -4
- package/dist/cjs/index.cjs.js +6 -154
- package/dist/cjs/loader.cjs.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 +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/slot-helpers-C-ntX3IL.js +11 -0
- package/dist/cjs/status-chip_2.cjs.entry.js +1 -1
- 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/theme-manager-vLJfQYn8.js +157 -0
- package/dist/cjs/udp-adornment.cjs.entry.js +1 -1
- package/dist/cjs/udp-advanced-search-builder.cjs.entry.js +7 -4
- package/dist/cjs/udp-ag-area-chart.cjs.entry.js +120 -0
- package/dist/cjs/{udp-bar-chart_4.cjs.entry.js → udp-ag-bar-chart_4.cjs.entry.js} +123 -44
- package/dist/cjs/udp-ag-bubble-chart.cjs.entry.js +120 -0
- package/dist/cjs/udp-ag-combo-chart.cjs.entry.js +120 -0
- package/dist/cjs/udp-ag-donut-chart.cjs.entry.js +118 -0
- package/dist/cjs/udp-ag-line-chart.cjs.entry.js +120 -0
- package/dist/cjs/udp-ag-pie-chart.cjs.entry.js +118 -0
- package/dist/cjs/udp-ag-scatter-chart.cjs.entry.js +120 -0
- package/dist/cjs/udp-attachment-item_2.cjs.entry.js +1 -1
- package/dist/cjs/udp-bar-chart.cjs.entry.js +41 -0
- package/dist/cjs/udp-calendar-base.cjs.entry.js +44 -71
- package/dist/cjs/udp-calendar-day.cjs.entry.js +1 -3
- package/dist/cjs/udp-calendar-month.cjs.entry.js +1 -3
- package/dist/cjs/udp-calendar-week.cjs.entry.js +1 -3
- package/dist/cjs/udp-calendar-year.cjs.entry.js +1 -3
- 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 +14 -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.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-link.cjs.entry.js +1 -1
- package/dist/cjs/udp-fluent-location-input.cjs.entry.js +3 -3
- package/dist/cjs/udp-fluent-number-input.cjs.entry.js +99 -0
- package/dist/cjs/udp-fluent-signature-input.cjs.entry.js +4 -4
- 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 +1 -1
- 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-sankey-chart.cjs.entry.js +1 -1
- package/dist/cjs/udp-sidebar-layout.cjs.entry.js +67 -0
- 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-demo.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/collection/collection-manifest.json +10 -0
- package/dist/collection/components/advanced-search-builder/udp-advanced-search-builder.js +7 -4
- package/dist/collection/components/calendar/udp-calendar-base.js +100 -77
- package/dist/collection/components/calendar/udp-calendar-day.js +10 -9
- package/dist/collection/components/calendar/udp-calendar-month.js +10 -9
- package/dist/collection/components/calendar/udp-calendar-week.js +10 -9
- package/dist/collection/components/calendar/udp-calendar-year.js +10 -9
- package/dist/collection/components/charts/chart-container/chart-container.js +7 -0
- package/dist/collection/components/charts/chart-kpi/chart-kpi.js +6 -1
- package/dist/collection/components/charts/charts-theme.js +380 -0
- package/dist/collection/components/charts/udp-ag-area-chart/udp-ag-area-chart.css +13 -0
- package/dist/collection/components/charts/udp-ag-area-chart/udp-ag-area-chart.js +312 -0
- package/dist/collection/components/charts/udp-ag-bar-chart/udp-ag-bar-chart.css +13 -0
- package/dist/collection/components/charts/udp-ag-bar-chart/udp-ag-bar-chart.js +302 -0
- package/dist/collection/components/charts/udp-ag-bubble-chart/udp-ag-bubble-chart.css +13 -0
- package/dist/collection/components/charts/udp-ag-bubble-chart/udp-ag-bubble-chart.js +308 -0
- package/dist/collection/components/charts/udp-ag-combo-chart/udp-ag-combo-chart.css +13 -0
- package/dist/collection/components/charts/udp-ag-combo-chart/udp-ag-combo-chart.js +320 -0
- package/dist/collection/components/charts/udp-ag-donut-chart/udp-ag-donut-chart.css +13 -0
- package/dist/collection/components/charts/udp-ag-donut-chart/udp-ag-donut-chart.js +309 -0
- package/dist/collection/components/charts/udp-ag-line-chart/udp-ag-line-chart.css +13 -0
- package/dist/collection/components/charts/udp-ag-line-chart/udp-ag-line-chart.js +314 -0
- package/dist/collection/components/charts/udp-ag-pie-chart/udp-ag-pie-chart.css +13 -0
- package/dist/collection/components/charts/udp-ag-pie-chart/udp-ag-pie-chart.js +310 -0
- package/dist/collection/components/charts/udp-ag-scatter-chart/udp-ag-scatter-chart.css +13 -0
- package/dist/collection/components/charts/udp-ag-scatter-chart/udp-ag-scatter-chart.js +314 -0
- package/dist/collection/components/charts/udp-bar-chart/udp-bar-chart.js +5 -1
- package/dist/collection/components/charts/udp-charts-example.js +15 -2
- package/dist/collection/components/charts/udp-distribution-chart/udp-distribution-chart.js +5 -1
- package/dist/collection/components/charts/udp-donut-chart/udp-donut-chart.js +5 -1
- package/dist/collection/components/charts/udp-line-chart/udp-line-chart.js +5 -1
- package/dist/collection/components/charts/udp-sankey-chart/udp-sankey-chart.js +6 -1
- package/dist/collection/components/charts/udp-xy-chart/udp-xy-chart.js +6 -1
- package/dist/collection/components/charts/udp-xy-multi-series-chart/udp-xy-multi-series-chart.js +5 -1
- package/dist/collection/components/data-display/adornment/udp-adornment/udp-adornment.js +1 -1
- package/dist/collection/components/data-display/badge/udp-badge.js +1 -1
- package/dist/collection/components/data-display/cards/udp-ambient-card/udp-ambient-card.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-content/udp-card-content.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-header/udp-card-header.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-media/udp-card-media.js +1 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card.js +3 -3
- package/dist/collection/components/data-display/chips/stencil-chip/status-chip/status-chip.js +1 -1
- package/dist/collection/components/data-display/chips/stencil-chip/stencil-chip.js +2 -2
- package/dist/collection/components/data-display/chips/udp-chip.js +1 -1
- package/dist/collection/components/data-display/divider/udp-divider.js +1 -1
- package/dist/collection/components/data-display/empty-state-display/udp-empty-state-display.js +1 -1
- package/dist/collection/components/data-display/headers/udp-column-header.js +1 -1
- package/dist/collection/components/data-display/headers/udp-page-header/udp-page-header.js +1 -1
- package/dist/collection/components/data-display/hint-panel/hint-panel.js +1 -1
- package/dist/collection/components/data-display/kpi/kpi-list.js +1 -1
- package/dist/collection/components/data-display/kpi/udp-kpi-card.js +1 -1
- package/dist/collection/components/data-display/kpi/udp-kpi-cards.js +2 -2
- package/dist/collection/components/data-display/list-item/list-item.js +2 -2
- package/dist/collection/components/data-display/pop-over/udp-pop-over.js +1 -1
- package/dist/collection/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js +1 -1
- package/dist/collection/components/data-display/primary-action-header/primary-action-header.js +2 -2
- package/dist/collection/components/data-display/simple-card/simple-card.js +1 -1
- package/dist/collection/components/data-display/tool-tip/udp-ambient-tool-tip.js +2 -2
- package/dist/collection/components/data-display/tree/tree-list-item/search-item/search-list-item.js +1 -1
- package/dist/collection/components/data-display/udp-avatar/udp-avatar.js +1 -1
- package/dist/collection/components/dialogs/udp-dialog.js +1 -1
- package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.js +9 -9
- package/dist/collection/components/feedback/udp-notification/alerts/upd-alert-banner.js +1 -1
- package/dist/collection/components/feedback/udp-notification/udp-notification.js +2 -2
- package/dist/collection/components/fluent-ui/autocomplete/udp-autocomplete.js +74 -13
- package/dist/collection/components/fluent-ui/avatar/udp-fluent-avatar.js +1 -1
- package/dist/collection/components/fluent-ui/badge/udp-fluent-badge.js +1 -1
- package/dist/collection/components/fluent-ui/button/udp-fluent-button.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 +1 -1
- package/dist/collection/components/fluent-ui/compound-button/udp-compound-button.js +1 -1
- package/dist/collection/components/fluent-ui/counter-badge/udp-fluent-counter-badge.js +1 -1
- package/dist/collection/components/fluent-ui/date-input/udp-date-input.js +61 -11
- package/dist/collection/components/fluent-ui/date-time-input/udp-date-time-input.js +40 -3
- package/dist/collection/components/fluent-ui/dialog/udp-fluent-dialog.js +1 -1
- package/dist/collection/components/fluent-ui/divider/udp-fluent-divider.js +1 -1
- package/dist/collection/components/fluent-ui/drawer/udp-fluent-drawer.js +1 -1
- package/dist/collection/components/fluent-ui/dropdown/udp-fluent-dropdown.js +63 -12
- 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-button/udp-fluent-icon-button.js +1 -1
- package/dist/collection/components/fluent-ui/image/udp-fluent-image.js +1 -1
- package/dist/collection/components/fluent-ui/inline-edit/udp-fluent-inline-edit.js +1 -1
- package/dist/collection/components/fluent-ui/link/udp-fluent-link.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/fluent-ui/number-input/udp-fluent-number-input.css +68 -0
- package/dist/collection/components/fluent-ui/number-input/udp-fluent-number-input.js +547 -0
- 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.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/switch/udp-fluent-switch.js +1 -1
- package/dist/collection/components/fluent-ui/tablist/udp-fluent-tablist.css +43 -10
- 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 +2 -2
- package/dist/collection/components/fluent-ui/tree/udp-tree.css +53 -0
- package/dist/collection/components/fluent-ui/tree/udp-tree.js +256 -4
- 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/grid/ambient-template-grid/ambient-template-grid.js +16 -16
- package/dist/collection/components/grid/grid-primary-bar/grid-primary-bar.js +2 -2
- package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +1 -1
- package/dist/collection/components/grid/new-grid/ag-grid-base.js +1 -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/gridFunctions/bulkActions.js +45 -6
- 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 +3 -3
- package/dist/collection/components/inputs/checkbox/check-box.js +2 -2
- package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js +2 -2
- package/dist/collection/components/inputs/date-selector/udp-date-selector.js +3 -3
- package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +3 -3
- package/dist/collection/components/inputs/file-upload/file-upload.js +4 -4
- package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +1 -1
- package/dist/collection/components/inputs/image-upload/image-upload.js +1 -1
- package/dist/collection/components/inputs/numeric-field/numeric-field.js +3 -3
- package/dist/collection/components/inputs/signature-input/signature-input.js +2 -2
- package/dist/collection/components/inputs/tally/tally.js +2 -2
- package/dist/collection/components/inputs/text-area/text-area.js +3 -3
- package/dist/collection/components/inputs/text-field/text-field.js +3 -3
- package/dist/collection/components/inputs/time-selector/udp-time-selector.js +3 -3
- package/dist/collection/components/inputs/toggle/stencil-toggle.js +4 -4
- package/dist/collection/components/inputs/udp-selector/udp-selector.js +4 -4
- package/dist/collection/components/layout/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.css +139 -0
- package/dist/collection/components/layout/udp-sidebar-layout/udp-sidebar-layout.js +264 -0
- package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js +1 -1
- package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js +2 -2
- package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +1 -1
- package/dist/collection/components/loaders/udp-skeleton-loading.js +1 -1
- package/dist/collection/components/map/udp-map/map-component.js +1 -1
- package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js +3 -3
- package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -4
- package/dist/collection/components/map/udp-map/popups/feature-details-popup.js +1 -1
- package/dist/collection/components/map/udp-map/popups/select-layer-popup.js +2 -2
- package/dist/collection/components/map/udp-map/popups/split-line-popup.js +1 -1
- package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js +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 +1 -1
- package/dist/collection/components/new-form/field/udp-field.js +1 -1
- package/dist/collection/components/new-form/form/udp-form-component.js +2 -2
- package/dist/collection/components/stepper/udp-stepper-demo.js +1 -1
- package/dist/collection/components/tabs/tab/tabs/udp-tabs.js +2 -2
- package/dist/collection/components/tabs/tab/udp-tab.js +1 -1
- package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +1 -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 +1 -1
- package/dist/collection/components/util/ghost-render/ghost-render.js +1 -1
- package/dist/collection/components/util/lazy-loader/udp-lazy-loader.js +1 -1
- package/dist/collection/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/theme/ag-grid-theme-bridge.js +1 -1
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -2
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -1
- package/dist/components/add-map-feature-popup2.js +1 -1
- package/dist/components/address-search2.js +1 -1
- package/dist/components/ag-grid-base2.js +1 -1
- package/dist/components/ambient-template-grid.js +1 -1
- package/dist/components/api-method-instance-grid.js +1 -1
- package/dist/components/app-bar.js +1 -1
- package/dist/components/chart-kpi2.js +1 -1
- package/dist/components/charts-theme.js +1 -0
- 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/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/form-metadata-display-renderer2.js +1 -1
- package/dist/components/form-metadata-display2.js +1 -1
- package/dist/components/ghost-render2.js +1 -1
- package/dist/components/grid-primary-bar2.js +1 -1
- package/dist/components/hint-panel2.js +1 -1
- package/dist/components/icon-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/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/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/theme-manager.js +1 -0
- package/dist/components/udp-adornment2.js +1 -1
- package/dist/components/udp-advanced-search-builder.js +1 -1
- package/dist/components/udp-ag-area-chart.d.ts +11 -0
- package/dist/components/udp-ag-area-chart.js +2 -0
- package/dist/components/udp-ag-bar-chart.d.ts +11 -0
- package/dist/components/udp-ag-bar-chart.js +2 -0
- package/dist/components/udp-ag-bar-chart2.js +1 -0
- package/dist/components/udp-ag-bubble-chart.d.ts +11 -0
- package/dist/components/udp-ag-bubble-chart.js +2 -0
- package/dist/components/udp-ag-combo-chart.d.ts +11 -0
- package/dist/components/udp-ag-combo-chart.js +2 -0
- package/dist/components/udp-ag-donut-chart.d.ts +11 -0
- package/dist/components/udp-ag-donut-chart.js +2 -0
- package/dist/components/udp-ag-line-chart.d.ts +11 -0
- package/dist/components/udp-ag-line-chart.js +2 -0
- package/dist/components/udp-ag-pie-chart.d.ts +11 -0
- package/dist/components/udp-ag-pie-chart.js +2 -0
- package/dist/components/udp-ag-scatter-chart.d.ts +11 -0
- package/dist/components/udp-ag-scatter-chart.js +2 -0
- package/dist/components/udp-ambient-card2.js +1 -1
- package/dist/components/udp-ambient-tool-tip2.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-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-input2.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-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-image.js +1 -1
- package/dist/components/udp-fluent-inline-edit.js +1 -1
- package/dist/components/udp-fluent-link.js +1 -1
- package/dist/components/udp-fluent-location-input.js +1 -1
- package/dist/components/udp-fluent-number-input.d.ts +11 -0
- package/dist/components/udp-fluent-number-input.js +2 -0
- 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-tablist2.js +1 -1
- package/dist/components/udp-fluent-text-input2.js +1 -1
- package/dist/components/udp-fluent-toggle-button2.js +1 -1
- package/dist/components/udp-form-component2.js +1 -1
- package/dist/components/udp-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-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-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-progress-bar2.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.d.ts +11 -0
- package/dist/components/udp-sidebar-layout.js +2 -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-demo.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-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-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 +13789 -10151
- 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 +13 -13
- package/dist/esm/ag-grid-base_63.entry.js +388 -148
- package/dist/esm/ambient-template-grid.entry.js +16 -16
- package/dist/esm/api-method-instance-grid.entry.js +2 -2
- package/dist/esm/app-bar.entry.js +1 -1
- package/dist/esm/chart-container_3.entry.js +2 -2
- package/dist/esm/charts-theme-B2HoYVMf.js +383 -0
- package/dist/esm/check-box.entry.js +2 -2
- package/dist/esm/chip-section.entry.js +2 -2
- 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 +5 -5
- package/dist/esm/form-metadata-display_10.entry.js +8 -8
- package/dist/esm/icon-grid.entry.js +1 -1
- package/dist/esm/index-Cgpvu-iV.js +44 -4
- package/dist/esm/index.js +4 -152
- package/dist/esm/loader.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 +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/slot-helpers-Dx6EW-PP.js +9 -0
- package/dist/esm/status-chip_2.entry.js +1 -1
- 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/theme-manager-DeVqiL0i.js +153 -0
- package/dist/esm/udp-adornment.entry.js +1 -1
- package/dist/esm/udp-advanced-search-builder.entry.js +7 -4
- package/dist/esm/udp-ag-area-chart.entry.js +118 -0
- package/dist/esm/{udp-bar-chart_4.entry.js → udp-ag-bar-chart_4.entry.js} +110 -31
- package/dist/esm/udp-ag-bubble-chart.entry.js +118 -0
- package/dist/esm/udp-ag-combo-chart.entry.js +118 -0
- package/dist/esm/udp-ag-donut-chart.entry.js +116 -0
- package/dist/esm/udp-ag-line-chart.entry.js +118 -0
- package/dist/esm/udp-ag-pie-chart.entry.js +116 -0
- package/dist/esm/udp-ag-scatter-chart.entry.js +118 -0
- package/dist/esm/udp-attachment-item_2.entry.js +1 -1
- package/dist/esm/udp-bar-chart.entry.js +39 -0
- package/dist/esm/udp-calendar-base.entry.js +44 -71
- package/dist/esm/udp-calendar-day.entry.js +1 -3
- package/dist/esm/udp-calendar-month.entry.js +1 -3
- package/dist/esm/udp-calendar-week.entry.js +1 -3
- package/dist/esm/udp-calendar-year.entry.js +1 -3
- 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 +14 -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.entry.js +1 -1
- package/dist/esm/udp-fluent-link.entry.js +1 -1
- package/dist/esm/udp-fluent-location-input.entry.js +3 -3
- package/dist/esm/udp-fluent-number-input.entry.js +97 -0
- package/dist/esm/udp-fluent-signature-input.entry.js +4 -4
- 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 +1 -1
- 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-sankey-chart.entry.js +1 -1
- package/dist/esm/udp-sidebar-layout.entry.js +65 -0
- 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-demo.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/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_63.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/chart-container_3.entry.js +1 -1
- package/dist/stencil-library/charts-theme-B2HoYVMf.js +1 -0
- package/dist/stencil-library/check-box.entry.js +1 -1
- package/dist/stencil-library/chip-section.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 +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/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/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/slot-helpers-Dx6EW-PP.js +1 -0
- 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/theme-manager-DeVqiL0i.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-ag-area-chart.entry.js +1 -0
- package/dist/stencil-library/udp-ag-bar-chart_4.entry.js +1 -0
- package/dist/stencil-library/udp-ag-bubble-chart.entry.js +1 -0
- package/dist/stencil-library/udp-ag-combo-chart.entry.js +1 -0
- package/dist/stencil-library/udp-ag-donut-chart.entry.js +1 -0
- package/dist/stencil-library/udp-ag-line-chart.entry.js +1 -0
- package/dist/stencil-library/udp-ag-pie-chart.entry.js +1 -0
- package/dist/stencil-library/udp-ag-scatter-chart.entry.js +1 -0
- package/dist/stencil-library/udp-attachment-item_2.entry.js +1 -1
- package/dist/stencil-library/udp-bar-chart.entry.js +1 -0
- 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.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-link.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-location-input.entry.js +1 -1
- package/dist/stencil-library/udp-fluent-number-input.entry.js +1 -0
- package/dist/stencil-library/udp-fluent-signature-input.entry.js +1 -1
- 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-sankey-chart.entry.js +1 -1
- package/dist/stencil-library/udp-sidebar-layout.entry.js +1 -0
- 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-demo.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/types/components/calendar/udp-calendar-base.d.ts +5 -2
- package/dist/types/components/calendar/udp-calendar-day.d.ts +1 -2
- package/dist/types/components/calendar/udp-calendar-month.d.ts +1 -2
- package/dist/types/components/calendar/udp-calendar-week.d.ts +1 -2
- package/dist/types/components/calendar/udp-calendar-year.d.ts +1 -2
- package/dist/types/components/charts/chart-container/chart-container.d.ts +7 -0
- package/dist/types/components/charts/chart-kpi/chart-kpi.d.ts +5 -0
- package/dist/types/components/charts/charts-theme.d.ts +80 -0
- package/dist/types/components/charts/udp-ag-area-chart/udp-ag-area-chart.d.ts +73 -0
- package/dist/types/components/charts/udp-ag-bar-chart/udp-ag-bar-chart.d.ts +62 -0
- package/dist/types/components/charts/udp-ag-bubble-chart/udp-ag-bubble-chart.d.ts +70 -0
- package/dist/types/components/charts/udp-ag-combo-chart/udp-ag-combo-chart.d.ts +83 -0
- package/dist/types/components/charts/udp-ag-donut-chart/udp-ag-donut-chart.d.ts +70 -0
- package/dist/types/components/charts/udp-ag-line-chart/udp-ag-line-chart.d.ts +75 -0
- package/dist/types/components/charts/udp-ag-pie-chart/udp-ag-pie-chart.d.ts +72 -0
- package/dist/types/components/charts/udp-ag-scatter-chart/udp-ag-scatter-chart.d.ts +76 -0
- package/dist/types/components/charts/udp-bar-chart/udp-bar-chart.d.ts +4 -0
- package/dist/types/components/charts/udp-charts-example.d.ts +1 -1
- package/dist/types/components/charts/udp-distribution-chart/udp-distribution-chart.d.ts +4 -0
- package/dist/types/components/charts/udp-donut-chart/udp-donut-chart.d.ts +4 -0
- package/dist/types/components/charts/udp-line-chart/udp-line-chart.d.ts +4 -0
- package/dist/types/components/charts/udp-sankey-chart/udp-sankey-chart.d.ts +5 -0
- package/dist/types/components/charts/udp-xy-chart/udp-xy-chart.d.ts +5 -0
- package/dist/types/components/charts/udp-xy-multi-series-chart/udp-xy-multi-series-chart.d.ts +4 -0
- package/dist/types/components/fluent-ui/autocomplete/udp-autocomplete.d.ts +39 -7
- package/dist/types/components/fluent-ui/date-input/udp-date-input.d.ts +15 -1
- package/dist/types/components/fluent-ui/date-time-input/udp-date-time-input.d.ts +10 -1
- package/dist/types/components/fluent-ui/dropdown/udp-fluent-dropdown.d.ts +33 -5
- package/dist/types/components/fluent-ui/number-input/udp-fluent-number-input.d.ts +66 -0
- package/dist/types/components/fluent-ui/tree/udp-tree.d.ts +78 -0
- package/dist/types/components/grid/new-grid/gridFunctions/bulkActions.d.ts +20 -0
- package/dist/types/components/layout/udp-sidebar-layout/udp-sidebar-layout.d.ts +54 -0
- package/dist/types/components.d.ts +1912 -76
- package/package.json +2 -1
- package/dist/components/udp-bar-chart2.js +0 -1
- package/dist/stencil-library/udp-bar-chart_4.entry.js +0 -1
|
@@ -225,27 +225,27 @@ export class UdpSideSheet {
|
|
|
225
225
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
226
226
|
const headerStartIcon = Boolean(this.headerActionButtonIcon) ? (h("udp-icon", { iconName: this.headerActionButtonIcon, color: "inherit" })) : undefined;
|
|
227
227
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
228
|
-
const overflowIcon = h("udp-icon", { key: '
|
|
229
|
-
return (h("div", { key: '
|
|
228
|
+
const overflowIcon = h("udp-icon", { key: '114fb6c9c7672ed0c8e0350d35fcaafc5e90fc9d', iconName: "overflowMenuVertical", color: "inherit" });
|
|
229
|
+
return (h("div", { key: '36c5d92ff2dfe298b600c15a973e05b4e03ef612', class: "backdrop", onClick: this.onCloseBackdrop }, h("div", { key: 'c0d84cde7128de85fd492c8c4002fcef0c65571c', class: { sheet: true, [this.position]: true, [widthClass]: true }, style: sideSheetStyle }, h("div", { key: '91c2ae473b6158d0671fda0f8e89e993b239f659', class: "title-container" }, h("div", { key: '277dd337d923754dd50a8f671498717cf2208f3e', class: "close-button" }, h("stencil-icon-button", { key: '56ad80ad182e482cdfc8b786f99b6962354487de',
|
|
230
230
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
231
|
-
icon: Close24, onClick: this.onClose, secondary: true })), h("div", { key: '
|
|
232
|
-
_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: '
|
|
231
|
+
icon: Close24, onClick: this.onClose, secondary: true })), h("div", { key: 'ec6288c444babe7cd43b9fa107aa914b7af1a0c0', class: "title-text" }, h("unity-typography", { key: '9a7f020155a46e9258f8c21afe3f41d6df4b60f2', variant: "h6" }, this.title)), (this.headerActionButtonLabel || ((_a = this.headerSecondaryButtons) === null || _a === void 0 ? void 0 : _a.length) > 0) && (h("div", { key: '87d81014638a9229a195ffbf9f982307db2c13ef', class: "header-action-button" }, (_b = this.headerSecondaryButtons) === null || _b === void 0 ? void 0 :
|
|
232
|
+
_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: '7b53fad664ba84d8eeeb2893d18085decdc635d9', disabled: this.headerActionButtonDisabled, onClick: this.onHeaderActionButtonClick,
|
|
233
233
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
234
|
-
startIcon: headerStartIcon, variant: "contained" }, this.headerActionButtonLabel))))), h("div", { key: '
|
|
234
|
+
startIcon: headerStartIcon, variant: "contained" }, this.headerActionButtonLabel))))), h("div", { key: '47a68f2b5d8a94709249b8d90a2ca67542d76e4a', class: "loader-container" }, h("udp-linear-loader", { key: '9ec156c748a5faceb4de0db2ca87ef2490294aa2', class: { 'is-loading': this.loading }, color: "primary" })), h("div", { key: '17e9cda2a7d3709f4bb6043c62165efb0685308e', class: { content: true, padding: this.padding } }, h("slot", { key: '43e24e734199f3bae197752b6d284e40a0af84dc' })), (this.primaryButtonLabel || ((_c = this.footerSecondaryButtons) === null || _c === void 0 ? void 0 : _c.length) > 0) && (h("div", { key: '5b5c4916c753d4cf9f87c31d929d163fc96cefd9' }, h("div", { key: '6866f082dcd22d831cf938b7749baa40860badf0', class: "loader-container" }), h("div", { key: '779dcc447ed0f2d8e6fdc7c54d6c8d9f424b6028', class: {
|
|
235
235
|
footer: true,
|
|
236
|
-
}, ref: el => (this.footerRef = el) }, !this.showOverflowButton && ((_d = this.footerSecondaryButtons) === null || _d === void 0 ? void 0 : _d.length) > 0 && (h("div", { key: '
|
|
236
|
+
}, ref: el => (this.footerRef = el) }, !this.showOverflowButton && ((_d = this.footerSecondaryButtons) === null || _d === void 0 ? void 0 : _d.length) > 0 && (h("div", { key: 'd06b60b390d1a71fa363a2154eafb9061fb3bebd', class: "footer-secondary-buttons-container" }, h("div", { key: 'eefa3e4c23c680817567e9cafc6aadfd88671151', 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: 'aa5fe72411ecbc3a9b13a104dc2b56fc0992b3c2', variant: "outlined", onClick: this.onMoreActionButtonClick, color: "secondary",
|
|
237
237
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
238
|
-
endIcon: overflowIcon }, "More")), this.primaryButtonLabel && (h("udp-button", { key: '
|
|
238
|
+
endIcon: overflowIcon }, "More")), this.primaryButtonLabel && (h("udp-button", { key: 'caefbeae9aa3a1bc103b36014d21654fc5463c74', variant: "contained", disabled: this.primaryButtonDisabled, onClick: this.onPrimaryButtonClick, endIcon: this.primaryButtonIcon }, this.primaryButtonLabel)), this.showOverflowButton && (h("udp-pop-over", { key: '887bc8092861206af6bb4dabcfeaf2dd1b3fdb3b', anchorElement: this.overflowMenuAnchor, isOpen: this.openOverflowMenu, popoverWidth: '200px', popoverMaxHeight: '300px', handleOnClose: this.handleCloseOverflowMenu }, h("div", { key: 'd0178781341edf03446cc3fb51caf92c20559c01', 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: () => {
|
|
239
239
|
item === null || item === void 0 ? void 0 : item.onClick();
|
|
240
240
|
this.handleCloseOverflowMenu();
|
|
241
|
-
}, disabled: item === null || item === void 0 ? void 0 : item.disabled })))))), h("div", { key: '
|
|
241
|
+
}, disabled: item === null || item === void 0 ? void 0 : item.disabled })))))), h("div", { key: '4bee880fe9710a26eb03b074ef35bb7f75802c96', ref: el => (this.measurementContainerRef = el), style: {
|
|
242
242
|
position: 'absolute',
|
|
243
243
|
visibility: 'hidden',
|
|
244
244
|
pointerEvents: 'none',
|
|
245
245
|
display: 'flex',
|
|
246
246
|
gap: 'var(--spacing-02, 4px)',
|
|
247
247
|
}, "aria-hidden": "true" }, (_g = this.footerSecondaryButtons) === null || _g === void 0 ? void 0 :
|
|
248
|
-
_g.map((item) => (h("udp-button", { variant: "text", size: "medium", disabled: item.disabled, endIcon: item.icon }, item.label))), this.primaryButtonLabel && (h("udp-button", { key: '
|
|
248
|
+
_g.map((item) => (h("udp-button", { variant: "text", size: "medium", disabled: item.disabled, endIcon: item.icon }, item.label))), this.primaryButtonLabel && (h("udp-button", { key: 'bc6ddc8680666fee42ef35997bda54a3d895bc30', variant: "contained", size: "medium", disabled: this.primaryButtonDisabled, endIcon: this.primaryButtonIcon }, this.primaryButtonLabel)))))))));
|
|
249
249
|
}
|
|
250
250
|
static get is() { return "udp-side-sheet"; }
|
|
251
251
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ export class UpdAlertBanner {
|
|
|
7
7
|
this.message = '';
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '991526b9c1b99b21c5d851ab889eeafe01f89e86', class: `alert-banner ${this.type}` }, h("unity-typography", { key: 'cc785932707bd8a71ee6385a62d1531d195f4a24', variant: "data-display-three" }, " ", this.message, " ")));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "upd-alert-banner"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,11 +13,11 @@ export class UdpNotification {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const statusClass = `status-${this.status}`;
|
|
16
|
-
return (h("div", { key: '
|
|
16
|
+
return (h("div", { key: '17379efbdace37347b1681c14ce9646352afa8b6', class: {
|
|
17
17
|
'udp-notification': true,
|
|
18
18
|
'visible': this.active,
|
|
19
19
|
[statusClass]: true // This will apply the correct class based on the status
|
|
20
|
-
} }, this.userCancel && (h("button", { key: '
|
|
20
|
+
} }, this.userCancel && (h("button", { key: '188287b8107d70e0664bbec94ae93ecfb86829d2', class: "close-button", onClick: () => this.active = false }, "\u00D7")), h("span", { key: '272d2666af08cd4e208b5cc89c7b66a4a820c308', class: "message" }, " ", h("unity-typography", { key: '1cf9ba151a1daa19888cf61e198cb3e3cc93a626', variant: 'body' }, " ", this.message, " "))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "udp-notification"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -89,6 +89,26 @@ export class UdpAutocomplete {
|
|
|
89
89
|
* @note Not supported in combination with `multiple`.
|
|
90
90
|
*/
|
|
91
91
|
this.freeForm = false;
|
|
92
|
+
/**
|
|
93
|
+
* Controls the shape of the `valueChanged` payload (see that event's docs):
|
|
94
|
+
* - `'option'` (default): emit the matched option **object** from the source
|
|
95
|
+
* list (legacy behavior). Convenient when the consumer wants the full option
|
|
96
|
+
* (label, metadata) on change.
|
|
97
|
+
* - `'value'`: emit the scalar resolved via `optionValue` (a `string`, or
|
|
98
|
+
* `string[]` in `multiple` mode). This is what form bindings want — the
|
|
99
|
+
* stored value is the option's id, not the object. Set this when wiring the
|
|
100
|
+
* autocomplete into a form (Final Form / react-hook-form / `udp-field`).
|
|
101
|
+
* Feed the emitted scalar(s) back into `value`; label resolution still works
|
|
102
|
+
* because every internal read goes through `optionValue`. With `freeForm`,
|
|
103
|
+
* an unmatched typed entry emits its raw string in either mode.
|
|
104
|
+
*
|
|
105
|
+
* @remarks Default is `'option'` to preserve existing behavior. A future
|
|
106
|
+
* major version is expected to flip the default to `'value'`, since emitting
|
|
107
|
+
* the scalar matches the convention of most component libraries (MUI, Ant
|
|
108
|
+
* Design, Vuetify, Element) and avoids the "[object Object]" / stale-option
|
|
109
|
+
* class of bug in form contexts.
|
|
110
|
+
*/
|
|
111
|
+
this.valueAs = 'option';
|
|
92
112
|
// --- State ---
|
|
93
113
|
this.internalLoading = false;
|
|
94
114
|
this.filterText = '';
|
|
@@ -212,7 +232,7 @@ export class UdpAutocomplete {
|
|
|
212
232
|
? currentVal.filter(i => this.getOptionValue(i) !== itemVal)
|
|
213
233
|
: // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
214
234
|
[...currentVal, item];
|
|
215
|
-
this.valueChanged.emit(newValue);
|
|
235
|
+
this.valueChanged.emit(newValue.map(v => this.toEmitValue(v)));
|
|
216
236
|
}
|
|
217
237
|
}
|
|
218
238
|
else {
|
|
@@ -268,7 +288,7 @@ export class UdpAutocomplete {
|
|
|
268
288
|
return;
|
|
269
289
|
const itemVal = this.getOptionValue(item);
|
|
270
290
|
const newValue = this.value.filter(i => this.getOptionValue(i) !== itemVal);
|
|
271
|
-
this.valueChanged.emit(newValue);
|
|
291
|
+
this.valueChanged.emit(newValue.map(v => this.toEmitValue(v)));
|
|
272
292
|
};
|
|
273
293
|
this.handleChange = (ev) => {
|
|
274
294
|
var _a;
|
|
@@ -296,7 +316,7 @@ export class UdpAutocomplete {
|
|
|
296
316
|
const originalOption = this.findOptionByValue(selectedValue);
|
|
297
317
|
const emitValue = originalOption !== undefined ? originalOption : selectedValue;
|
|
298
318
|
this.selectionForOverlay = emitValue;
|
|
299
|
-
this.valueChanged.emit(emitValue);
|
|
319
|
+
this.valueChanged.emit(this.toEmitValue(emitValue));
|
|
300
320
|
// Fluent sets input.value to the option's textContent (badge text included).
|
|
301
321
|
// Overwrite with the resolved label so uncontrolled usage stays clean.
|
|
302
322
|
if (originalOption && this.dropdownRef.control) {
|
|
@@ -324,7 +344,7 @@ export class UdpAutocomplete {
|
|
|
324
344
|
return !displayValues.has(itemValue) && !visibleSelectedIds.has(itemValue);
|
|
325
345
|
})
|
|
326
346
|
: [];
|
|
327
|
-
this.valueChanged.emit([...hiddenSelections, ...visibleSelectedValues]);
|
|
347
|
+
this.valueChanged.emit([...hiddenSelections, ...visibleSelectedValues].map(v => this.toEmitValue(v)));
|
|
328
348
|
// Fluent's selectOption overwrites control.value with displayValue — restore filter text.
|
|
329
349
|
if (this.filterText && this.dropdownRef.control) {
|
|
330
350
|
requestAnimationFrame(() => {
|
|
@@ -455,6 +475,17 @@ export class UdpAutocomplete {
|
|
|
455
475
|
const searchArray = this.datasource || this.searchFunction ? this.fetchedOptions : this.options;
|
|
456
476
|
return searchArray.find(opt => this.getOptionValue(opt) === value);
|
|
457
477
|
}
|
|
478
|
+
/**
|
|
479
|
+
* Maps a single internal selection entry (option object or primitive) to the
|
|
480
|
+
* shape `valueChanged` should emit, per `valueAs`. In `'value'` mode this
|
|
481
|
+
* resolves the scalar via `optionValue`; in `'option'` mode it passes the
|
|
482
|
+
* entry through unchanged. Callers map this over the array in multi-select.
|
|
483
|
+
* Internal `value` round-tripping keeps working in either mode because every
|
|
484
|
+
* read goes through `getOptionValue` (primitives resolve to themselves).
|
|
485
|
+
*/
|
|
486
|
+
toEmitValue(selection) {
|
|
487
|
+
return this.valueAs === 'value' ? this.getOptionValue(selection) : selection;
|
|
488
|
+
}
|
|
458
489
|
getDisplayOptions() {
|
|
459
490
|
if (this.datasource || this.searchFunction) {
|
|
460
491
|
return this.fetchedOptions;
|
|
@@ -557,20 +588,27 @@ export class UdpAutocomplete {
|
|
|
557
588
|
? this.resolveProp(overlayOption, this.optionLabel, true)
|
|
558
589
|
: null;
|
|
559
590
|
const overlayBadges = overlayOption ? this.getOptionBadges(overlayOption) : [];
|
|
560
|
-
return (h(Host, { key: '
|
|
591
|
+
return (h(Host, { key: '89b86c15abd8134b91fc35a7353aee0f2e74a7d5', class: { 'has-error': hasError } }, h("fluent-field", { key: '5f5094ebeaacb6731f9fcfd1567b047d6119e5c3', class: {
|
|
561
592
|
'no-label': !this.label && !this.multiple,
|
|
562
593
|
'no-message': !message && !this.includeErrorPadding,
|
|
563
|
-
} }, h("div", { key: '
|
|
594
|
+
} }, h("div", { key: 'bd965e08439f6189afe88746a9ec3dff662dc52d', class: "label-content", onClick: () => this.handleTogglePopover(false), slot: "label" }, this.label && (h("fluent-label", { key: '113b4736d2454475400846aeda6978d823fa05c0', disabled: this.disabled, style: { paddingTop: '2px', paddingBottom: '2px' } }, this.label, this.popupHint && (h("udp-tooltip", { key: '80777babf581444f7c8c38bf20873c95db15fc97', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: 'ff00357dea7aba684a6237c0db60a8856328325c', name: "info", size: "xs", class: "popup-hint-icon" }))))), this.multiple && (h("div", { key: '5d5ae469fbc8ef62c6646d176306f267036e6812', class: {
|
|
564
595
|
'selected-items': true,
|
|
565
596
|
'has-items': selectedItems.length > 0,
|
|
566
|
-
} }, selectedItems.map(item =>
|
|
597
|
+
} }, selectedItems.map(item => {
|
|
598
|
+
var _a;
|
|
599
|
+
// Resolve to the source option so chips show the label even
|
|
600
|
+
// when `value` holds scalars (valueAs="value"). In 'option'
|
|
601
|
+
// mode `item` is already the object, so this is a no-op.
|
|
602
|
+
const opt = (_a = this.findOptionByValue(this.getOptionValue(item))) !== null && _a !== void 0 ? _a : item;
|
|
603
|
+
return (h("udp-fluent-badge", { color: "brand", shape: "circular", dismissible: !this.disabled, onDismiss: () => this.handleChipDelete(item) }, this.resolveProp(opt, this.optionLabel, true)));
|
|
604
|
+
})))), h("div", { key: '1060be0738eeecfe900006dc1ecf0f99ea9c02d8', slot: "input", class: {
|
|
567
605
|
'input-wrapper': true,
|
|
568
606
|
'has-overlay': !!overlayOption,
|
|
569
|
-
} }, h("fluent-dropdown", { key: '
|
|
607
|
+
} }, h("fluent-dropdown", { key: '5cd147fda5cf701f9f420aa413954e4bde3481e4', type: "combobox", name: this.name, appearance: mappedAppearance, size: this.controlSize, disabled: this.disabled, required: this.required, placeholder: this.placeholder, multiple: this.multiple,
|
|
570
608
|
// Events
|
|
571
609
|
onInput: this.handleInput, onChange: this.handleChange, onFocusout: this.handleBlur, onFocusin: () => this.inputFocus.emit(),
|
|
572
610
|
// Suppress native invalid popup
|
|
573
|
-
onInvalid: (e) => e.preventDefault(), exportparts: "control, listbox", ref: el => (this.dropdownRef = el) }, h("fluent-listbox", { key: '
|
|
611
|
+
onInvalid: (e) => e.preventDefault(), exportparts: "control, listbox", ref: el => (this.dropdownRef = el) }, h("fluent-listbox", { key: '1712ef4796ed9118725f9749ecbb4f056a2c3828' }, (this.loading || this.internalLoading) && (h("fluent-option", { key: 'd05adea606a5ab51263c523071e0a500b84a26a3', disabled: true, ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, h("span", { key: '93f78e1d2018e9ecd68424283a6b606f7d5fcafd' }, "Loading..."), h("span", { key: '65c89d6f7e04f382487d2d38b970f510e1d9bc65', slot: "indicator" }))), !this.loading && !this.internalLoading && visibleCount === 0 && !this.freeForm && (h("fluent-option", { key: '691c2087c550379c915d6009a649e16aaf831b7a', disabled: true, value: "empty", ref: (el) => el === null || el === void 0 ? void 0 : el.toggleAttribute('disabled', true) }, "No options available")), !this.loading &&
|
|
574
612
|
!this.internalLoading &&
|
|
575
613
|
(displayOptions === null || displayOptions === void 0 ? void 0 : displayOptions.length) > 0 &&
|
|
576
614
|
(() => {
|
|
@@ -601,7 +639,7 @@ export class UdpAutocomplete {
|
|
|
601
639
|
} }, 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)));
|
|
602
640
|
});
|
|
603
641
|
return nodes;
|
|
604
|
-
})(), this.freeForm && (h("fluent-option", { key: '
|
|
642
|
+
})(), this.freeForm && (h("fluent-option", { key: '0d8d62ae5341831f3d305ea7cb91c8286dfa0ca0', freeform: true }, h("output", { key: 'bba3b3fb94850b416a1ea4aafdd6eb75b60f9fbc' })))), h("div", { key: '58331076d6c4db30d1cd0d7e22819bda247f6de9', slot: "indicator", class: "indicator-wrapper" }, h("udp-fluent-icon-button", { key: '9347ee56ea89f8e1c9be5fcb6a13a5aa3bc6a3f2', class: {
|
|
605
643
|
'clear-button': true,
|
|
606
644
|
'is-visible': !this.disabled &&
|
|
607
645
|
(this.filterText !== '' ||
|
|
@@ -609,10 +647,10 @@ export class UdpAutocomplete {
|
|
|
609
647
|
(this.multiple &&
|
|
610
648
|
Array.isArray(this.value) &&
|
|
611
649
|
this.value.length > 0)),
|
|
612
|
-
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), h("udp-fluent-icon", { key: '
|
|
650
|
+
}, slot: "indicator", iconName: "dismiss", appearance: "transparent", size: "small", onClick: this.handleClear, onMouseDown: e => e.preventDefault(), ariaLabel: "Clear", tabIndex: -1 }), h("udp-fluent-icon", { key: '662df827d72ee3fd5b879db45c2115779f69a895', name: "chevron-down", size: "sm", class: "chevron-down", onClick: () => this.handleTogglePopover(false) }))), overlayOption && (h("div", { key: '04885cd3a7ca59c5efa9c3caf307d957deb96877', class: "selected-overlay", "aria-hidden": "true" }, h("span", { key: '1ba24d42ac8dfe6a1a8f6390d4a68bf5288558ac', class: "selected-label" }, overlayLabel), this.renderBadges(overlayBadges)))), h("div", { key: 'd956cc5bb911be2b84fcc8baaadc03f50cba20f1', class: {
|
|
613
651
|
'message-wrapper': true,
|
|
614
652
|
'includeErrorPadding': this.includeErrorPadding,
|
|
615
|
-
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, h("udp-text", { key: '
|
|
653
|
+
}, slot: "message", onClick: () => this.handleTogglePopover(true) }, h("udp-text", { key: '9d10de86797308fd9b9b7598a9f9aa3523b7ad17', variant: "caption1", class: {
|
|
616
654
|
message: true,
|
|
617
655
|
error: hasError,
|
|
618
656
|
} }, message)))));
|
|
@@ -1135,6 +1173,29 @@ export class UdpAutocomplete {
|
|
|
1135
1173
|
"reflect": false,
|
|
1136
1174
|
"attribute": "free-form",
|
|
1137
1175
|
"defaultValue": "false"
|
|
1176
|
+
},
|
|
1177
|
+
"valueAs": {
|
|
1178
|
+
"type": "string",
|
|
1179
|
+
"mutable": false,
|
|
1180
|
+
"complexType": {
|
|
1181
|
+
"original": "'option' | 'value'",
|
|
1182
|
+
"resolved": "\"option\" | \"value\"",
|
|
1183
|
+
"references": {}
|
|
1184
|
+
},
|
|
1185
|
+
"required": false,
|
|
1186
|
+
"optional": false,
|
|
1187
|
+
"docs": {
|
|
1188
|
+
"tags": [{
|
|
1189
|
+
"name": "remarks",
|
|
1190
|
+
"text": "Default is `'option'` to preserve existing behavior. A future\nmajor version is expected to flip the default to `'value'`, since emitting\nthe scalar matches the convention of most component libraries (MUI, Ant\nDesign, Vuetify, Element) and avoids the \"[object Object]\" / stale-option\nclass of bug in form contexts."
|
|
1191
|
+
}],
|
|
1192
|
+
"text": "Controls the shape of the `valueChanged` payload (see that event's docs):\n- `'option'` (default): emit the matched option **object** from the source\n list (legacy behavior). Convenient when the consumer wants the full option\n (label, metadata) on change.\n- `'value'`: emit the scalar resolved via `optionValue` (a `string`, or\n `string[]` in `multiple` mode). This is what form bindings want \u2014 the\n stored value is the option's id, not the object. Set this when wiring the\n autocomplete into a form (Final Form / react-hook-form / `udp-field`).\n Feed the emitted scalar(s) back into `value`; label resolution still works\n because every internal read goes through `optionValue`. With `freeForm`,\n an unmatched typed entry emits its raw string in either mode."
|
|
1193
|
+
},
|
|
1194
|
+
"getter": false,
|
|
1195
|
+
"setter": false,
|
|
1196
|
+
"reflect": false,
|
|
1197
|
+
"attribute": "value-as",
|
|
1198
|
+
"defaultValue": "'option'"
|
|
1138
1199
|
}
|
|
1139
1200
|
};
|
|
1140
1201
|
}
|
|
@@ -1155,7 +1216,7 @@ export class UdpAutocomplete {
|
|
|
1155
1216
|
"composed": true,
|
|
1156
1217
|
"docs": {
|
|
1157
1218
|
"tags": [],
|
|
1158
|
-
"text": "Fires when the selection changes (option chosen, chip removed, or clear).\nThe payload mirrors the items in `options`/fetched results:\n-
|
|
1219
|
+
"text": "Fires when the selection changes (option chosen, chip removed, or clear).\nThe payload mirrors the items in `options`/fetched results:\nThe payload shape is governed by the `valueAs` prop:\n- `valueAs=\"option\"` (default): the matched option (the original object from\n the source list, or the primitive value when options are primitives) in\n single-select; an array of those in `multiple` mode (including any\n currently-selected items hidden by the filter).\n- `valueAs=\"value\"`: the scalar value resolved via `optionValue` \u2014 a `string`\n in single-select, `string[]` in `multiple` mode.\nWith `freeForm`, an unmatched typed entry emits its raw string in either\nmode. Clearing (or backspacing the input empty) emits `''` (single) or `[]`\n(multi)."
|
|
1159
1220
|
},
|
|
1160
1221
|
"complexType": {
|
|
1161
1222
|
"original": "any",
|
|
@@ -39,7 +39,7 @@ export class UdpFluentAvatar {
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const imgBorderRadius = this.getImageBorderRadius();
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: 'ea07d2bf001f6ece0690b2ea03cf70a57a29623d' }, h("fluent-avatar", { key: '068a2fc78714e7ae28c9598e84ab845c5cc8f18d', 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: 'bb0408b42e6464c6f035afdfacf5e449d36d1500', name: "badge", slot: "badge" }))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "udp-fluent-avatar"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,7 +35,7 @@ export class UdpFluentBadge {
|
|
|
35
35
|
this.ready = true;
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'f106363d80eaee1e89bed50a3526d1134b82346f', class: { ready: this.ready } }, h("fluent-badge", { key: 'f7e59d650b21359f37e9fee7327e28b5928f3864', appearance: this.appearance, color: this.color, shape: this.shape, size: this.size }, (this.startIconName || hasSlotContent(this.el, 'start')) && (h("span", { key: '7e100952cd282baa92c4982d58b66d700f16eebf', class: "slot-wrapper", slot: "start" }, h("slot", { key: '60ce857b7854957204e7eae34934493cda344f86', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: '77a62d832aa73d390a289720e435fd282a089825', name: this.startIconName, size: getBadgeIconSize(this.size) }))))), h("span", { key: '64edd1b1c3f4ee318867c9a18ee22fb9b3b3f814', class: "default-slot" }, h("slot", { key: '8d24330a18c5284a1555f4911b31ce306e90b070' })), 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) })))))))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "udp-fluent-badge"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -86,7 +86,7 @@ export class UdpFluentButton {
|
|
|
86
86
|
const iconSize = getIconSize(this.size);
|
|
87
87
|
const isDisabled = this.disabled || this.loading;
|
|
88
88
|
const isLoading = this.loading;
|
|
89
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: '90f25d959e28de4dbfe1c327c7be676281efdd9e' }, h("fluent-button", { key: 'a7f2c909ae7e4c62980dc368ff526715df9c1bb3', 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: '8e27b98fa219865d093a20d1a7acd2edc63ac18d', class: "slot-wrapper", slot: "start" }, h("slot", { key: '1dfaf4c088cef572412b6a994966c6a119c3f638', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: 'f7fd479646258446d1073f8788f1325b96e00102', name: this.startIconName, size: iconSize }))))), h("slot", { key: '5cabc194a63ff1ee32702a18b74d030fe928688e' }), (this.endIconName || hasSlotContent(this.el, 'end')) && (h("span", { key: 'd54b3794e0e5ba112d36cfd488d1a2cbc33dd6ca', class: "slot-wrapper", slot: "end" }, h("slot", { key: '4967bb4f4517352fcd91c45df2709113153d39fb', name: "end" }, this.endIconName && h("udp-fluent-icon", { key: 'b44ea8c06021c2fa9372d1e5f46e22426cc3535b', name: this.endIconName, size: iconSize }))))), isLoading && (h("div", { key: 'f01bd40fab37e673c1ddef97f946ed359cd761ae', class: "loading-overlay" }, h("udp-spinner", { key: '5b7da1b3503cb520ec2703f4c3e0235753a1b780', size: this.size === 'large' ? 'extra-small' : 'tiny' })))));
|
|
90
90
|
}
|
|
91
91
|
static get is() { return "udp-fluent-button"; }
|
|
92
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,21 +58,21 @@ export class UdpFluentCard {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: 'f4673f365aaa3754f7a5ab3625e09ed37b3c3b83', class: {
|
|
62
62
|
[`appearance-${this.appearance}`]: true,
|
|
63
63
|
[`orientation-${this.orientation}`]: true,
|
|
64
64
|
interactive: this.interactive,
|
|
65
65
|
}, style: {
|
|
66
66
|
width: this.width,
|
|
67
67
|
height: this.height,
|
|
68
|
-
}, tabIndex: this.interactive ? 0 : undefined }, h("div", { key: '
|
|
68
|
+
}, tabIndex: this.interactive ? 0 : undefined }, h("div", { key: '6ada15fb6e6db1f5a3bf1fcf9732b4f165353f5c', class: { 'card-preview': true, 'hidden': !this.hasPreview } }, h("slot", { key: '5bc565785eae0fa6d51aadaf4dd9a5d09c25b95e', name: "preview", onSlotchange: this.handleSlotChange })), h("div", { key: '06a886a5c8a5724d01b849cce30e8a43343e9a5a', class: {
|
|
69
69
|
'card-header': true,
|
|
70
70
|
'hidden': !(this.hasHeader ||
|
|
71
71
|
this.hasHeaderStart ||
|
|
72
72
|
this.label ||
|
|
73
73
|
this.subtitle ||
|
|
74
74
|
this.hasHeaderAction),
|
|
75
|
-
} }, h("div", { key: '
|
|
75
|
+
} }, h("div", { key: '137791edcc47f51450bbe773d208a4d7faf9879f', class: { 'card-header-start': true, 'hidden': !this.hasHeaderStart } }, h("slot", { key: '7bf3fafc41b70124bb66032c072063b184b35791', name: "header-start", onSlotchange: this.handleSlotChange })), h("div", { key: '7e1853490e0d80fa9f1f9b956b61242dd302e0e4', class: "card-header-content" }, h("slot", { key: '3caefe16048c6eb164dfa7781b25317863588c73', name: "header", onSlotchange: this.handleSlotChange }, (this.label || this.subtitle) && (h("div", { key: 'f30637632f9f6ac6e3d2098095a6327b88ed4610', class: "header-content-wrapper" }, this.label && h("udp-text", { key: 'fe9d5ba8574c1e6cc863145292ed356b58832fa3', variant: "subtitle2" }, this.label), this.subtitle && (h("udp-text", { key: '2540c4bd163231c5b14f416bf1e40ab058b31fe8', variant: "caption1", class: "header-subtitle" }, this.subtitle)))))), h("udp-flexbox", { key: 'a68c0340da8d1d8df5d59f1bfbe5fa6deb0de8c6', class: { hidden: !this.hasHeaderAction }, direction: "row" }, h("slot", { key: '48515b7125c4c0bd7f1fbfa5af0e63dfa868ce06', name: "header-action", onSlotchange: this.handleSlotChange }))), h("div", { key: '3ce3091c57d5514d4291b3a574d254678fe66605', class: { 'card-body': true, 'no-padding': !this.bodyPadding } }, h("slot", { key: '55ed56e28753ec208356f90646ad91b808815bda' })), h("udp-flexbox", { key: '31a4a538ac81822e34539834e51257de6a7592d3', class: { 'card-footer': true, 'hidden': !this.hasFooter }, direction: "row" }, h("slot", { key: '58203616e83c77ca159aa871175e54f03fa19ef5', name: "footer", onSlotchange: this.handleSlotChange }))));
|
|
76
76
|
}
|
|
77
77
|
static get is() { return "udp-fluent-card"; }
|
|
78
78
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@ export class UdpFluentCheckbox {
|
|
|
59
59
|
render() {
|
|
60
60
|
const hasError = !!this.error;
|
|
61
61
|
const message = this.error || this.hint;
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '555c6212a5afb2d42e070801f4e59f22edd2777c' }, h("fluent-field", { key: 'ff43d164636d41b2802c4a4b0df306f9ef04e105', "label-position": this.labelPosition, class: { 'no-label': !this.label, 'no-message': !message && !this.includeErrorPadding } }, h("fluent-label", { key: 'ef7f13da0b46f7e492de09101a1366a1b86a29be', slot: "label", disabled: this.disabled, onClick: this.handleLabelClick }, this.label, this.popupHint && (h("udp-tooltip", { key: '971fbb4c6fe5ea4954440c8550d7104455291da5', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '84dc5caf9af0db0bc7de5cba520fd8d67a9023a7', name: "info", size: "xs", class: "popup-hint-icon" })))), h("fluent-checkbox", { key: '69fe6dfaf9df48aa71cc5573c46d12a5c413b03a', 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: '58bab00d4eccf1b3b801090a4f64821811544f97', slot: "message", variant: "caption1", class: {
|
|
63
63
|
message: true,
|
|
64
64
|
error: hasError,
|
|
65
65
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -46,7 +46,7 @@ export class UdpCompoundButton {
|
|
|
46
46
|
const showEnd = hasSlotContent(this.el, 'end') || !!this.endIconName;
|
|
47
47
|
const showDescription = hasSlotContent(this.el, 'description') || !!this.description;
|
|
48
48
|
const iconSize = getIconSize(this.size, 'prominent');
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '31ace477600d0a0601300fb7554e981fab5efcf6' }, h("fluent-compound-button", { key: 'fb687d99efd21363b556885d550919180ba11b12', 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: 'd532d28690aeee18aad88f4f312446bff96c9272', class: "slot-wrapper", slot: "start" }, h("slot", { key: '1bd2f13fe4ca7022cc4daf8b0215791625e247c2', name: "start" }, this.startIconName && (h("udp-fluent-icon", { key: '8388e8a9aae16e13c36d64f0dbb33173d3ea9eb3', name: this.startIconName, size: iconSize }))))), showDescription && (h("span", { key: '31bff98cdff564bcaba3faa671c4bf3b77faa6d3', slot: "description", class: "description-wrapper" }, h("slot", { key: '2cd0e10f2a90a0c6db42e65036eac5b67670a111', name: "description" }, this.description))), h("slot", { key: '36fff7c9f6c2fe80fc6ef9d8bc218fc3185a84d5' }), showEnd && (h("span", { key: 'b2d6cbc7046cd07dd1b2792b86bcf39a144653d4', class: "slot-wrapper", slot: "end" }, h("slot", { key: '2a2d87aae3b9e3e4115826ea904fe9681973317d', name: "end" }, this.endIconName && h("udp-fluent-icon", { key: 'c99a2eb4d57224301854c3de76064e72391fd7cb', name: this.endIconName, size: iconSize }))))), this.loading && (h("div", { key: '4f01d73f6510fe1b7317a4be289a7e8c93f3ca67', class: "loading-overlay" }, h("udp-spinner", { key: '0c4ad255d65515f6ea375715f5de6dec8fd156fb', size: this.size === 'large' ? 'extra-small' : 'tiny' })))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "udp-compound-button"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,7 +12,7 @@ export class UdpFluentCounterBadge {
|
|
|
12
12
|
this.dot = false;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '6d59bd6cf1513c226d55ac32218fcc1d5e775d2a' }, h("fluent-counter-badge", { key: '66540dc45927980a937002819c592fd01332875c', 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: '7fbe6bd20471101e3b3897f3389901972aec71f0', name: "start", slot: "start" }), this.count === undefined && h("slot", { key: '3df44bd9fee4d2ba2537b47f5092facc8827be0d' }), h("slot", { key: 'f1818aedfa302119d6c1d223e00ce8b071910053', name: "end", slot: "end" }))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "udp-fluent-counter-badge"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,7 +46,11 @@ export class UdpDateInput {
|
|
|
46
46
|
* - 'MM/DD/YYYY' - US format
|
|
47
47
|
* - 'DD/MM/YYYY' - UK/Europe/Canada format
|
|
48
48
|
* - 'YYYY/MM/DD' - ISO/China/Japan format
|
|
49
|
-
*
|
|
49
|
+
*
|
|
50
|
+
* @deprecated Use `dateFormat` instead. `format` collides with the reserved
|
|
51
|
+
* `format` prop of form libraries (e.g. react-final-form's `<Field>`), which
|
|
52
|
+
* treats it as a value-formatter function. Retained as an alias; `dateFormat`
|
|
53
|
+
* takes precedence when both are set.
|
|
50
54
|
*/
|
|
51
55
|
this.format = 'MM/DD/YYYY';
|
|
52
56
|
/**
|
|
@@ -184,6 +188,11 @@ export class UdpDateInput {
|
|
|
184
188
|
this.isPopoverOpen = !this.isPopoverOpen;
|
|
185
189
|
};
|
|
186
190
|
}
|
|
191
|
+
/** Resolved display format. `dateFormat` wins over the deprecated `format`. */
|
|
192
|
+
get resolvedFormat() {
|
|
193
|
+
var _a;
|
|
194
|
+
return (_a = this.dateFormat) !== null && _a !== void 0 ? _a : this.format;
|
|
195
|
+
}
|
|
187
196
|
onValueChange(newValue) {
|
|
188
197
|
// Sync external prop to internal state, normalizing through parseDateInput
|
|
189
198
|
if (newValue !== this.internalValue) {
|
|
@@ -191,6 +200,13 @@ export class UdpDateInput {
|
|
|
191
200
|
this.displayValue = this.formatDateForDisplay(this.internalValue);
|
|
192
201
|
}
|
|
193
202
|
}
|
|
203
|
+
onFormatChange() {
|
|
204
|
+
// The display string is derived from the format. Props are applied
|
|
205
|
+
// asynchronously (e.g. via the React wrapper), so the format can land after
|
|
206
|
+
// the value has already been formatted. Re-derive the display from the
|
|
207
|
+
// canonical internal value whenever the format changes.
|
|
208
|
+
this.displayValue = this.formatDateForDisplay(this.internalValue);
|
|
209
|
+
}
|
|
194
210
|
componentWillLoad() {
|
|
195
211
|
// Initialize internal state from value prop, normalizing through parseDateInput
|
|
196
212
|
if (this.value) {
|
|
@@ -231,7 +247,7 @@ export class UdpDateInput {
|
|
|
231
247
|
if (!match)
|
|
232
248
|
return isoDate; // Return as-is if not valid ISO format
|
|
233
249
|
const [, year, month, day] = match;
|
|
234
|
-
switch (this.
|
|
250
|
+
switch (this.resolvedFormat) {
|
|
235
251
|
case 'MM/DD/YYYY':
|
|
236
252
|
return `${month}/${day}/${year}`;
|
|
237
253
|
case 'DD/MM/YYYY':
|
|
@@ -355,12 +371,12 @@ export class UdpDateInput {
|
|
|
355
371
|
// 4. Current year shorthand: exactly 4 digits (e.g., 0113)
|
|
356
372
|
if (/^\d{4}$/.test(cleaned)) {
|
|
357
373
|
let month, day;
|
|
358
|
-
if (this.
|
|
374
|
+
if (this.resolvedFormat === 'YYYY/MM/DD') {
|
|
359
375
|
// For ISO format, interpret as MMDD
|
|
360
376
|
month = parseInt(cleaned.substring(0, 2), 10);
|
|
361
377
|
day = parseInt(cleaned.substring(2, 4), 10);
|
|
362
378
|
}
|
|
363
|
-
else if (this.
|
|
379
|
+
else if (this.resolvedFormat === 'DD/MM/YYYY') {
|
|
364
380
|
// Day first
|
|
365
381
|
day = parseInt(cleaned.substring(0, 2), 10);
|
|
366
382
|
month = parseInt(cleaned.substring(2, 4), 10);
|
|
@@ -379,13 +395,13 @@ export class UdpDateInput {
|
|
|
379
395
|
if (separatorMatch) {
|
|
380
396
|
const [, part1, part2, part3] = separatorMatch.map(Number);
|
|
381
397
|
let year, month, day;
|
|
382
|
-
if (this.
|
|
398
|
+
if (this.resolvedFormat === 'YYYY/MM/DD' || part1 > 31) {
|
|
383
399
|
// Year first or first part is clearly a year
|
|
384
400
|
year = part1;
|
|
385
401
|
month = part2;
|
|
386
402
|
day = part3;
|
|
387
403
|
}
|
|
388
|
-
else if (this.
|
|
404
|
+
else if (this.resolvedFormat === 'DD/MM/YYYY') {
|
|
389
405
|
day = part1;
|
|
390
406
|
month = part2;
|
|
391
407
|
year = part3;
|
|
@@ -414,7 +430,7 @@ export class UdpDateInput {
|
|
|
414
430
|
const [, part1, part2] = twoPartMatch.map(Number);
|
|
415
431
|
const year = today.getFullYear();
|
|
416
432
|
let month, day;
|
|
417
|
-
if (this.
|
|
433
|
+
if (this.resolvedFormat === 'DD/MM/YYYY' || this.resolvedFormat === 'YYYY/MM/DD') {
|
|
418
434
|
// For DD/MM and YYYY/MM/DD, when only two parts, assume DD/MM
|
|
419
435
|
day = part1;
|
|
420
436
|
month = part2;
|
|
@@ -567,14 +583,14 @@ export class UdpDateInput {
|
|
|
567
583
|
render() {
|
|
568
584
|
const hasError = !!this.error || !!this.internalError;
|
|
569
585
|
const message = this.internalError || this.error || this.hint;
|
|
570
|
-
return (h(Host, { key: '
|
|
586
|
+
return (h(Host, { key: '9a0b36661cc0bc79733f5e5166b0237c74b8055a', class: { 'has-error': hasError, 'disabled': this.disabled } }, h("fluent-field", { key: 'fb3070fa56b39354181e4e1df3125a22673e90e4', class: { 'no-message': !message && !this.includeErrorPadding } }, h("udp-popover", { key: '671bbd0c71a947b916eb6b4d2c90f632344e6284', slot: "input", open: this.isPopoverOpen, position: "bottom-start", toggleOnTriggerClick: false, onPopoverClose: () => {
|
|
571
587
|
this.isPopoverOpen = false;
|
|
572
588
|
// Only return focus to input if Escape was pressed (not on click-away)
|
|
573
589
|
if (this.restoreFocusOnClose) {
|
|
574
590
|
this.restoreFocusOnClose = false;
|
|
575
591
|
requestAnimationFrame(() => this.focusInput());
|
|
576
592
|
}
|
|
577
|
-
}, trapFocus: false, closeOnBlur: false }, h("fluent-text-input", { key: '
|
|
593
|
+
}, trapFocus: false, closeOnBlur: false }, h("fluent-text-input", { key: '2ed5e9fb7e708f42ad4ee35fd51e12fad200b76e', slot: "trigger", ref: el => (this.inputRef = el), class: { 'no-label': !this.label }, name: this.name, value: this.displayValue, type: "text", required: this.required, disabled: this.disabled, readonly: this.readonly, autofocus: this.autofocus, autocomplete: this.autocomplete, appearance: this.appearance, controlSize: this.controlSize, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onBlur: this.handleBlur, onFocus: () => this.inputFocus.emit(), onClick: this.handleInputClick, onInvalid: (e) => e.preventDefault() }, h("fluent-label", { key: '1b52489eca9d175bb163af05831bc8237b6a3ebb', required: this.required, disabled: this.disabled, onMouseDown: this.handleLabelMouseDown }, this.label, this.popupHint && (h("udp-tooltip", { key: 'f09510db0e4ceb3a36d6d136627c3284df4aad97', content: this.popupHint, positioning: "above" }, h("udp-fluent-icon", { key: '0521edcfb7bfd0d4423977bf5fa84459e73a6a3c', name: "info", size: "xs", class: "popup-hint-icon" })))), h("div", { key: '4847d6b093aec40d1997e0a901b30450d1c096de', slot: "end" }, h("udp-fluent-icon-button", { key: '0bad521605aa667ecbe4bc515c59c0a3356bc73a', appearance: "transparent", iconName: "calendar", onMouseDown: this.handleIconMouseDown, onClick: this.handleIconClick, disabled: this.disabled || this.readonly, tabindex: -1 }))), h("div", { key: 'd4d7bcf356f63a6e48e2e7a0e729fc1f828fee42', slot: "content" }, h("udp-date-range-selector", { key: '4eeaf2c5b00ba70e28f7a5ea0f9df78ce8141f62', ref: el => (this.calendarRef = el), monthsToDisplay: 1, value: this.internalValue, onChange: this.handleDateSelect, minDate: this.minDate, maxDate: this.maxDate, isDateDisallowed: this.isDateDisallowed, getDayParts: this.getDayParts, variant: this.dateSelectionType, size: "sm" }), h("div", { key: 'e4f15cc0f854b2d3a389202510bb18202a7f236f', class: "footer-buttons" }, h("udp-fluent-button", { key: '6c33fee28a778824bd25f9b6785226a21dee0f18', appearance: "transparent", size: "small", onClick: this.handleToday }, "Today"), h("udp-fluent-button", { key: '5a1076da7d313e7798d5a95ad38ce77171b9d207', appearance: "transparent", size: "small", onClick: this.handleClear }, "Clear")))), h("udp-text", { key: '2291ebb040091ef54a05999d91597967fc6bbbdb', slot: "message", variant: "caption1", class: {
|
|
578
594
|
message: true,
|
|
579
595
|
error: hasError,
|
|
580
596
|
includeErrorPadding: this.includeErrorPadding,
|
|
@@ -886,8 +902,11 @@ export class UdpDateInput {
|
|
|
886
902
|
"required": false,
|
|
887
903
|
"optional": false,
|
|
888
904
|
"docs": {
|
|
889
|
-
"tags": [
|
|
890
|
-
|
|
905
|
+
"tags": [{
|
|
906
|
+
"name": "deprecated",
|
|
907
|
+
"text": "Use `dateFormat` instead. `format` collides with the reserved\n`format` prop of form libraries (e.g. react-final-form's `<Field>`), which\ntreats it as a value-formatter function. Retained as an alias; `dateFormat`\ntakes precedence when both are set."
|
|
908
|
+
}],
|
|
909
|
+
"text": "Date display format based on locale/region.\n- 'MM/DD/YYYY' - US format\n- 'DD/MM/YYYY' - UK/Europe/Canada format\n- 'YYYY/MM/DD' - ISO/China/Japan format"
|
|
891
910
|
},
|
|
892
911
|
"getter": false,
|
|
893
912
|
"setter": false,
|
|
@@ -895,6 +914,31 @@ export class UdpDateInput {
|
|
|
895
914
|
"attribute": "format",
|
|
896
915
|
"defaultValue": "'MM/DD/YYYY'"
|
|
897
916
|
},
|
|
917
|
+
"dateFormat": {
|
|
918
|
+
"type": "string",
|
|
919
|
+
"mutable": false,
|
|
920
|
+
"complexType": {
|
|
921
|
+
"original": "DateFormat",
|
|
922
|
+
"resolved": "\"DD/MM/YYYY\" | \"MM/DD/YYYY\" | \"YYYY/MM/DD\"",
|
|
923
|
+
"references": {
|
|
924
|
+
"DateFormat": {
|
|
925
|
+
"location": "local",
|
|
926
|
+
"path": "/home/runner/work/udp-monorepo/udp-monorepo/packages/udp-stencil-component-library/src/components/fluent-ui/date-input/udp-date-input.tsx",
|
|
927
|
+
"id": "src/components/fluent-ui/date-input/udp-date-input.tsx::DateFormat"
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"required": false,
|
|
932
|
+
"optional": false,
|
|
933
|
+
"docs": {
|
|
934
|
+
"tags": [],
|
|
935
|
+
"text": "Date display format based on locale/region. Preferred over `format`.\n- 'MM/DD/YYYY' - US format\n- 'DD/MM/YYYY' - UK/Europe/Canada format\n- 'YYYY/MM/DD' - ISO/China/Japan format"
|
|
936
|
+
},
|
|
937
|
+
"getter": false,
|
|
938
|
+
"setter": false,
|
|
939
|
+
"reflect": false,
|
|
940
|
+
"attribute": "date-format"
|
|
941
|
+
},
|
|
898
942
|
"minDate": {
|
|
899
943
|
"type": "string",
|
|
900
944
|
"mutable": false,
|
|
@@ -1061,6 +1105,12 @@ export class UdpDateInput {
|
|
|
1061
1105
|
return [{
|
|
1062
1106
|
"propName": "value",
|
|
1063
1107
|
"methodName": "onValueChange"
|
|
1108
|
+
}, {
|
|
1109
|
+
"propName": "format",
|
|
1110
|
+
"methodName": "onFormatChange"
|
|
1111
|
+
}, {
|
|
1112
|
+
"propName": "dateFormat",
|
|
1113
|
+
"methodName": "onFormatChange"
|
|
1064
1114
|
}];
|
|
1065
1115
|
}
|
|
1066
1116
|
}
|