genesys-spark-components 4.237.0 → 4.239.0
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/{en-fRy-d84u.js → en-IPkzvxIf.js} +1 -1
- package/dist/cjs/{floating-ui.dom-CMUN3LzO.js → floating-ui.dom-BuKBQkiD.js} +23 -19
- package/dist/cjs/genesys-webcomponents.cjs.js +3 -3
- package/dist/cjs/{get-valid-timezone-D3lxIQ6I.js → get-valid-timezone-D4Tzo9st.js} +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
- package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-actionable-inline-alert-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
- package/dist/cjs/gux-ai-indicator-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-ai-powered-badge-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-ai-powered-button-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-ai-spinner-loader-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +5 -5
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-badge.cjs.entry.js +4 -4
- package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
- package/dist/cjs/gux-branch-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-branch.cjs.entry.js +2 -2
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
- package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
- package/dist/cjs/gux-button_2.cjs.entry.js +4 -4
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
- package/dist/cjs/gux-card.cjs.entry.js +2 -2
- package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
- package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
- package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
- package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
- package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
- package/dist/cjs/{gux-form-field-container-DfaeGHPr.js → gux-form-field-container-DyKm2DFo.js} +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
- package/dist/cjs/{gux-form-field-error-B8eN90t4.js → gux-form-field-error-DXIQw28P.js} +1 -1
- package/dist/cjs/{gux-form-field-fieldset-container-BYdx9Zf8.js → gux-form-field-fieldset-container-BAVkFe1L.js} +1 -1
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-illustration-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
- package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-leaf-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-leaf.cjs.entry.js +2 -2
- package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
- package/dist/cjs/gux-logo-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-logomark-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-menu-option.cjs.entry.js +3 -3
- package/dist/cjs/gux-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-notification-indicator-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-popover-beta.cjs.entry.js +19 -16
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-popover-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-popup.cjs.entry.js +2 -2
- package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
- package/dist/cjs/gux-rating.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +15 -9
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-header-mini.cjs.entry.js +3 -3
- package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
- package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
- package/dist/cjs/gux-step.cjs.entry.js +2 -2
- package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-submenu.cjs.entry.js +6 -6
- package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +79 -93
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
- package/dist/cjs/gux-table.cjs.entry.js +11 -4
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
- package/dist/cjs/gux-tag.cjs.entry.js +4 -4
- package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-toast.cjs.entry.js +2 -2
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +4 -4
- package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/gux-tree-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-tree-dropdown-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +3 -3
- package/dist/cjs/{gux-tree-multi.service-Df25NYyu.js → gux-tree-multi.service-BB_OgWTg.js} +1 -1
- package/dist/cjs/{gux-tree.service-DdbZ1oAM.js → gux-tree.service-kFg3nmC3.js} +1 -1
- package/dist/cjs/{index-BXAD_GRb.js → index-ChcZBLNR.js} +36 -9
- package/dist/cjs/{index-DFX9280s.js → index-Dy5Ze2UO.js} +409 -773
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{on-click-outside-B_-dUlVD.js → on-click-outside-R3P5EvNj.js} +1 -1
- package/dist/cjs/{on-mutation-B4_z6b_J.js → on-mutation-DUVcmmRz.js} +1 -1
- package/dist/cjs/{on-resize-COMnbjAs.js → on-resize-D_060jod.js} +1 -1
- package/dist/cjs/{overflow-detection-9h_D5bek.js → overflow-detection-CSuq7Nk-.js} +1 -1
- package/dist/cjs/{usage-C24W9jKD.js → usage-CcO87EFj.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +15 -12
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +20 -4
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor.css +37 -26
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.css +1 -4
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.css +1 -4
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
- package/dist/collection/components/stable/gux-table/gux-table.js +9 -1
- package/dist/collection/components/stable/gux-table/tests/gux-table.common.js +26 -1
- package/dist/esm/{en-tmnRV1Kr.js → en-CGyAgMj8.js} +1 -1
- package/dist/esm/{floating-ui.dom-8w8ltg_h.js → floating-ui.dom-CBOPktOE.js} +23 -19
- package/dist/esm/genesys-webcomponents.js +4 -4
- package/dist/esm/{get-valid-timezone-Dx1BVjLM.js → get-valid-timezone-CfoscnQi.js} +1 -1
- package/dist/esm/gux-accordion-section.entry.js +1 -1
- package/dist/esm/gux-accordion.entry.js +2 -2
- package/dist/esm/gux-action-button.entry.js +4 -4
- package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-actionable-inline-alert-beta.entry.js +2 -2
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
- package/dist/esm/gux-ai-indicator-beta.entry.js +3 -3
- package/dist/esm/gux-ai-powered-badge-beta.entry.js +3 -3
- package/dist/esm/gux-ai-powered-button-beta.entry.js +2 -2
- package/dist/esm/gux-ai-spinner-loader-beta.entry.js +3 -3
- package/dist/esm/gux-all-row-select.entry.js +2 -2
- package/dist/esm/gux-announce-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-beta.entry.js +3 -3
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
- package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +5 -5
- package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
- package/dist/esm/gux-badge.entry.js +4 -4
- package/dist/esm/gux-blank-state-beta.entry.js +3 -3
- package/dist/esm/gux-blank-state.entry.js +3 -3
- package/dist/esm/gux-branch-multi.entry.js +2 -2
- package/dist/esm/gux-branch.entry.js +2 -2
- package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +3 -3
- package/dist/esm/gux-button-multi.entry.js +3 -3
- package/dist/esm/gux-button-slot.entry.js +2 -2
- package/dist/esm/gux-button_2.entry.js +4 -4
- package/dist/esm/gux-calendar-beta.entry.js +2 -2
- package/dist/esm/gux-calendar.entry.js +3 -3
- package/dist/esm/gux-card.entry.js +2 -2
- package/dist/esm/gux-cloud-logo-beta.entry.js +3 -3
- package/dist/esm/gux-cloud-logomark-beta.entry.js +3 -3
- package/dist/esm/gux-column-manager-item.entry.js +2 -2
- package/dist/esm/gux-column-manager.entry.js +3 -3
- package/dist/esm/gux-content-search.entry.js +3 -3
- package/dist/esm/gux-context-menu.entry.js +4 -4
- package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
- package/dist/esm/gux-create-option.entry.js +2 -2
- package/dist/esm/gux-cta-group.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +4 -4
- package/dist/esm/gux-date-time-beta.entry.js +4 -4
- package/dist/esm/gux-datepicker.entry.js +5 -5
- package/dist/esm/gux-day-beta.entry.js +2 -2
- package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
- package/dist/esm/gux-dismiss-button.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
- package/dist/esm/gux-dropdown-multi.entry.js +5 -5
- package/dist/esm/gux-dropdown-option.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +5 -5
- package/dist/esm/gux-file-list-item.entry.js +3 -3
- package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
- package/dist/esm/gux-flyout-menu.entry.js +4 -4
- package/dist/esm/gux-form-beta.entry.js +1 -1
- package/dist/esm/gux-form-description.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
- package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
- package/dist/esm/gux-form-field-color.entry.js +5 -5
- package/dist/esm/{gux-form-field-container-CWao7HW4.js → gux-form-field-container-WeXFa2gy.js} +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
- package/dist/esm/{gux-form-field-error-Cx3Ss86c.js → gux-form-field-error-D1B0SkSN.js} +1 -1
- package/dist/esm/{gux-form-field-fieldset-container-V3zKZ48g.js → gux-form-field-fieldset-container-D4XkeSFs.js} +1 -1
- package/dist/esm/gux-form-field-file-beta.entry.js +6 -6
- package/dist/esm/gux-form-field-file.entry.js +5 -5
- package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
- package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
- package/dist/esm/gux-form-field-number_2.entry.js +7 -7
- package/dist/esm/gux-form-field-phone.entry.js +6 -6
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
- package/dist/esm/gux-form-field-radio.entry.js +4 -4
- package/dist/esm/gux-form-field-range.entry.js +6 -6
- package/dist/esm/gux-form-field-search.entry.js +5 -5
- package/dist/esm/gux-form-field-select.entry.js +5 -5
- package/dist/esm/gux-form-field-text-like.entry.js +7 -7
- package/dist/esm/gux-form-field-textarea.entry.js +7 -7
- package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
- package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
- package/dist/esm/gux-form-footer.entry.js +2 -2
- package/dist/esm/gux-form-heading.entry.js +1 -1
- package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
- package/dist/esm/gux-icon.entry.js +2 -2
- package/dist/esm/gux-illustration-beta.entry.js +3 -3
- package/dist/esm/gux-inline-alert.entry.js +3 -3
- package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
- package/dist/esm/gux-label-info-beta.entry.js +2 -2
- package/dist/esm/gux-leaf-multi.entry.js +2 -2
- package/dist/esm/gux-leaf.entry.js +2 -2
- package/dist/esm/gux-link-beta.entry.js +2 -2
- package/dist/esm/gux-list-divider.entry.js +1 -1
- package/dist/esm/gux-list-item.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +2 -2
- package/dist/esm/gux-listbox-multi.entry.js +4 -4
- package/dist/esm/gux-loading-message.entry.js +2 -2
- package/dist/esm/gux-logo-beta.entry.js +3 -3
- package/dist/esm/gux-logomark-beta.entry.js +3 -3
- package/dist/esm/gux-menu-option.entry.js +3 -3
- package/dist/esm/gux-menu.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +2 -2
- package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
- package/dist/esm/gux-modal.entry.js +2 -2
- package/dist/esm/gux-month-calendar.entry.js +2 -2
- package/dist/esm/gux-month-list_2.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +4 -4
- package/dist/esm/gux-notification-indicator-beta.entry.js +2 -2
- package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-option-group-beta.entry.js +1 -1
- package/dist/esm/gux-option-icon.entry.js +1 -1
- package/dist/esm/gux-option-multi.entry.js +2 -2
- package/dist/esm/gux-option-status-beta.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
- package/dist/esm/gux-pagination-cursor.entry.js +3 -3
- package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
- package/dist/esm/gux-pagination-legacy.entry.js +2 -2
- package/dist/esm/gux-pagination.entry.js +2 -2
- package/dist/esm/gux-phone-input-beta.entry.js +4 -4
- package/dist/esm/gux-popover-beta.entry.js +19 -16
- package/dist/esm/gux-popover-list-beta.entry.js +4 -4
- package/dist/esm/gux-popover-list.entry.js +4 -4
- package/dist/esm/gux-popup.entry.js +2 -2
- package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
- package/dist/esm/gux-radial-loading.entry.js +3 -3
- package/dist/esm/gux-radial-progress.entry.js +2 -2
- package/dist/esm/gux-rating.entry.js +4 -4
- package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
- package/dist/esm/gux-rich-style-list-item_3.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-beta.entry.js +15 -9
- package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
- package/dist/esm/gux-row-select.entry.js +2 -2
- package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
- package/dist/esm/gux-segmented-control-item.entry.js +1 -1
- package/dist/esm/gux-select-all.entry.js +2 -2
- package/dist/esm/gux-selector-card-beta.entry.js +2 -2
- package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
- package/dist/esm/gux-side-panel-beta.entry.js +2 -2
- package/dist/esm/gux-side-panel-header-mini.entry.js +3 -3
- package/dist/esm/gux-side-panel-header.entry.js +2 -2
- package/dist/esm/gux-side-panel-heading.entry.js +2 -2
- package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
- package/dist/esm/gux-sort-control.entry.js +3 -3
- package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
- package/dist/esm/gux-step-title.entry.js +2 -2
- package/dist/esm/gux-step.entry.js +2 -2
- package/dist/esm/gux-stepper-beta.entry.js +2 -2
- package/dist/esm/gux-submenu.entry.js +6 -6
- package/dist/esm/gux-switch-item.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +2 -2
- package/dist/esm/gux-tab-advanced-list.entry.js +79 -93
- package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
- package/dist/esm/gux-tab-advanced.entry.js +2 -2
- package/dist/esm/gux-tab-list.entry.js +3 -3
- package/dist/esm/gux-tab-panel.entry.js +1 -1
- package/dist/esm/gux-tab.entry.js +1 -1
- package/dist/esm/gux-table-select-menu.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
- package/dist/esm/gux-table-toolbar.entry.js +4 -4
- package/dist/esm/gux-table.entry.js +11 -4
- package/dist/esm/gux-tabs-advanced.entry.js +2 -2
- package/dist/esm/gux-tabs.entry.js +3 -3
- package/dist/esm/gux-tag.entry.js +4 -4
- package/dist/esm/gux-text-highlight.entry.js +2 -2
- package/dist/esm/gux-time-beta.entry.js +4 -4
- package/dist/esm/gux-time-picker.entry.js +4 -4
- package/dist/esm/gux-time-zone-beta.entry.js +3 -3
- package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
- package/dist/esm/gux-toast.entry.js +2 -2
- package/dist/esm/gux-toggle-slider.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +3 -3
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +4 -4
- package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
- package/dist/esm/gux-tooltip-title.entry.js +3 -3
- package/dist/esm/gux-tooltip_2.entry.js +6 -6
- package/dist/esm/gux-tree-beta.entry.js +3 -3
- package/dist/esm/gux-tree-dropdown-beta.entry.js +5 -5
- package/dist/esm/gux-tree-multi-beta.entry.js +3 -3
- package/dist/esm/{gux-tree-multi.service-DDTCiza2.js → gux-tree-multi.service-CIAxXzNO.js} +1 -1
- package/dist/esm/{gux-tree.service--PF44v65.js → gux-tree.service-BenusRE2.js} +1 -1
- package/dist/esm/{index-CtJlU2pR.js → index-CBZRYI-e.js} +36 -9
- package/dist/esm/{index-DicTjeXq.js → index-DKBT_eWB.js} +409 -773
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{on-click-outside-DvnPj58Q.js → on-click-outside-B-hs51PE.js} +1 -1
- package/dist/esm/{on-mutation-CLCUvmaC.js → on-mutation-BjlO-CEA.js} +1 -1
- package/dist/esm/{on-resize-PPwHsBey.js → on-resize-Dcfa4yPL.js} +1 -1
- package/dist/esm/{overflow-detection-CBtlRuho.js → overflow-detection-CpAXvqj6.js} +1 -1
- package/dist/esm/{usage-D_JNwzDi.js → usage-d58ENWqi.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.da.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr-ca.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-pt.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.sv.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.uk.json +1 -1
- package/dist/genesys-webcomponents/{p-7fe33028.entry.js → p-02601548.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-25cf6c36.entry.js → p-0319cc8e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-badeb3b7.entry.js → p-036b40a8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0371fbec.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b0eb317e.entry.js → p-04dfc791.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-db6c0447.entry.js → p-05821d4a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a95e0f7c.entry.js → p-05a72351.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d482cccc.entry.js → p-072fed05.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8e4d91f7.entry.js → p-0a43980c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-daeb6670.entry.js → p-0a582eab.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d0e3f4e1.entry.js → p-0bd9be8f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-04968180.entry.js → p-119aaead.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4fa51a91.entry.js → p-131d7452.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3f314818.entry.js → p-140db5a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b189b13f.entry.js → p-174abce9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a12c3938.entry.js → p-1a2b4ede.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-09cb6c96.entry.js → p-1bce9d6e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-88b2102e.entry.js → p-1dc237e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b3eb7fe.entry.js → p-1e36dab4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-effb3f83.entry.js → p-1f3ab5c7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1fb01d8c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-321d6c7f.entry.js → p-24ba174b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9005d1e5.entry.js → p-270b0ad2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7030cb25.entry.js → p-27a384db.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ed0458ad.entry.js → p-28141ea4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a0ed5fbd.entry.js → p-2942ce13.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a19741e6.entry.js → p-2aef0a61.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b9291975.entry.js → p-2b78e650.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-61bdd820.entry.js → p-2bc38c1e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-530d710a.entry.js → p-2dfb9a94.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2111647.entry.js → p-2ecd7135.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e15c21b.entry.js → p-2f9993f8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-285ef139.entry.js → p-300e76ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c97698c1.entry.js → p-347b7212.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4519702d.entry.js → p-36bda83b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2892a163.entry.js → p-377bd4e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8c872aea.entry.js → p-379dce17.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0842ea9e.entry.js → p-37f25533.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-43f49208.entry.js → p-3826962a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-46193e6c.entry.js → p-389c4479.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f85017d8.entry.js → p-39e432ce.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-394fdf0a.entry.js → p-3b352f05.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d0c9d9ce.entry.js → p-3b89ab29.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3bdee8c3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-501d5879.entry.js → p-400c0b28.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-79cab3be.entry.js → p-41b0c959.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4eca2ce8.entry.js → p-431ebca7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f271ccd9.entry.js → p-44069b9a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4433c626.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-49b732df.entry.js → p-488aadcf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bf8427d4.entry.js → p-48d6d071.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7b4f6df2.entry.js → p-49790c9b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8d545d05.entry.js → p-4d503ae0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c0c58955.entry.js → p-4fa0f6e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ed9f6737.entry.js → p-504d5a37.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fc420152.entry.js → p-505fa881.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3818fd77.entry.js → p-54a2a513.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7a0cca0b.entry.js → p-555c4bb5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-61189c85.entry.js → p-56b21eac.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-66ec044e.entry.js → p-5795be45.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-924ba239.entry.js → p-57b7d0b3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a13b41f4.entry.js → p-57bfaf5b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f071f921.entry.js → p-58069712.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4ccd37e5.entry.js → p-59091884.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-76d66a33.entry.js → p-5e16e39c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fcf34930.entry.js → p-60f89824.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1b989ec7.entry.js → p-6471b6f9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a50368e4.entry.js → p-666349fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2b8d67f5.entry.js → p-6693a111.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7f740bdc.entry.js → p-6a9815fa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4165025e.entry.js → p-701b2dfe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-59849521.entry.js → p-70b5e4f8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-18593bd2.entry.js → p-721dad70.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-732fe390.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4f76a688.entry.js → p-7347857e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7398f2f5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-20215ba6.entry.js → p-74a3484c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-74f685f8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f25fecfa.entry.js → p-75203ceb.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-756d304c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-93d41c3d.entry.js → p-756f5cae.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4a9e8283.entry.js → p-761c5bfc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-208ba91f.entry.js → p-766d251c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e6280d4b.entry.js → p-7b26acb5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7ce4b999.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-99b89080.entry.js → p-7cfa2b88.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b1908995.entry.js → p-7d9e0461.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d5e3aec1.entry.js → p-7dbe6041.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d927c76.entry.js → p-7ee40b44.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-17d21cdc.entry.js → p-7fcbc905.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-88841b08.entry.js → p-80b0002e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-629f1606.entry.js → p-810551aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-825dea46.entry.js → p-81804a91.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0ca4980f.entry.js → p-847c74c5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e3e3338f.entry.js → p-84fdb6a6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d846d567.entry.js → p-8558f3ee.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5b35aa6b.entry.js → p-868b819b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-21e30a87.entry.js → p-8b4d8f86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e1aa758e.entry.js → p-8c89986a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7a82ec95.entry.js → p-8ca8c8e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d9da4cb2.entry.js → p-8d9d9945.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ffb198fc.entry.js → p-8da417e1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c820df5f.entry.js → p-8e3cca70.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8f58625c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b72749a0.entry.js → p-8fa313c3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1150212c.entry.js → p-8fc6c43e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5ecaddf7.entry.js → p-93d6432f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a53adad9.entry.js → p-9927fe8d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5461d89a.entry.js → p-9a3691e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1145d3c3.entry.js → p-9aad71e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d1d138db.entry.js → p-9d842c35.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-742a5aeb.entry.js → p-9d8f8b04.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e7fbfb5b.entry.js → p-9e584520.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ec811968.entry.js → p-9f45ca27.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a92dec5.entry.js → p-9f926fd7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-BFTNmhzP.js +1 -0
- package/dist/genesys-webcomponents/p-BLndZcXP.js +1 -0
- package/dist/genesys-webcomponents/p-BRvLWeU-.js +1 -0
- package/dist/genesys-webcomponents/{p-CZu7FF2m.js → p-BTcND-V9.js} +1 -1
- package/dist/genesys-webcomponents/{p-Dc4kLPnc.js → p-BY1Z9s-d.js} +1 -1
- package/dist/genesys-webcomponents/p-CBOPktOE.js +1 -0
- package/dist/genesys-webcomponents/{p-CtJlU2pR.js → p-CBZRYI-e.js} +2 -2
- package/dist/genesys-webcomponents/{p-CQsL0TUe.js → p-CLgkPriK.js} +1 -1
- package/dist/genesys-webcomponents/p-CTJc4utt.js +1 -0
- package/dist/genesys-webcomponents/{p-CJS5b2Zs.js → p-Ch7MIpxK.js} +1 -1
- package/dist/genesys-webcomponents/{p-DxOB_U0E.js → p-DknVE5Yu.js} +1 -1
- package/dist/genesys-webcomponents/p-DwAkUtfc.js +1 -0
- package/dist/genesys-webcomponents/{p-TPLfzlH9.js → p-SF31Tbcy.js} +1 -1
- package/dist/genesys-webcomponents/p-a0f9eb8e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f754cd61.entry.js → p-a144ac7a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-415dff77.entry.js → p-a93d6f13.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-db7c51a7.entry.js → p-a9e1ac59.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0fc664bf.entry.js → p-ab00c9a9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4a6b2623.entry.js → p-abde77c8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-77bf29cd.entry.js → p-adb993d7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c09d0061.entry.js → p-ae5ed395.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d6751a1.entry.js → p-aeb14476.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3ec885a4.entry.js → p-aecb6540.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-43917ff4.entry.js → p-af9ad80b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7bc13bcd.entry.js → p-b01fa50d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b5fecfd4.entry.js → p-b2948e28.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9458df35.entry.js → p-b29a03cf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8b2d923c.entry.js → p-b358862c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bed1ebc4.entry.js → p-b4008b25.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-97e4d5dd.entry.js → p-b4d31ead.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1d10fd3b.entry.js → p-b7c9b050.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f18e5f3.entry.js → p-b83ae7c7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-be6cdb80.entry.js → p-baa7e646.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-816ab59f.entry.js → p-bb434389.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8c88deaf.entry.js → p-bcab1696.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f833f31b.entry.js → p-be418dab.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8e2322ea.entry.js → p-bfb72d48.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e6de94f6.entry.js → p-bff48461.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-674e8dc8.entry.js → p-c298b26b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-05fec4d8.entry.js → p-c2b24d5b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e795d149.entry.js → p-c3fd95c5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9db2c6aa.entry.js → p-c41cae11.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9bb44053.entry.js → p-c6154b39.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c887ff77.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8d20353a.entry.js → p-c9a27482.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1baf3a6b.entry.js → p-ca5a210b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c6930837.entry.js → p-cb3b9c23.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-22933f03.entry.js → p-cb802c7c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-37b84411.entry.js → p-cc5f7def.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b1fc1154.entry.js → p-cd80549c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-Y2jQoKOm.js → p-d-448h8N.js} +1 -1
- package/dist/genesys-webcomponents/{p-5c4d8cc7.entry.js → p-d05628ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c45659f1.entry.js → p-d48bf262.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-D_JNwzDi.js → p-d58ENWqi.js} +1 -1
- package/dist/genesys-webcomponents/{p-6bb17e6a.entry.js → p-da137d68.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d79be496.entry.js → p-dbc0fcfa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f8c7d267.entry.js → p-dddeed2d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3f49fa15.entry.js → p-dde23640.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e08f3a34.entry.js +7 -0
- package/dist/genesys-webcomponents/{p-43ef64aa.entry.js → p-e0c6e049.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d84f1625.entry.js → p-e18cb7ce.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-847e12a8.entry.js → p-e24e5bf4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-045d73ca.entry.js → p-e55657f9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e7d86f9a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a618b228.entry.js → p-e810918f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ef02365f.entry.js → p-eb2e6da4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1796a988.entry.js → p-ec3e488f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-82e1d4d3.entry.js → p-ec9e6d4b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1ebb52dc.entry.js → p-ecd87f23.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50668ce1.entry.js → p-edfada35.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ee5dd884.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bac7a9a3.entry.js → p-eea586b5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-eee3f09b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-eff18951.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-43ade8e9.entry.js → p-f1001c59.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-90b56423.entry.js → p-f27658d3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d79bfcb6.entry.js → p-f32ccfe6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e6f1d760.entry.js → p-f498141e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cc9eed46.entry.js → p-f5dab601.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-28ebcb76.entry.js → p-f71a9626.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-27872ad8.entry.js → p-f97d3253.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7cdf41e2.entry.js → p-fa377c35.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-794cf57b.entry.js → p-fac85bd5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-362147d9.entry.js → p-fd2ea4c4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5b9b739f.entry.js → p-ff56753c.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-popover-beta/gux-popover.d.ts +1 -0
- package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.d.ts +2 -0
- package/dist/types/components/stable/gux-table/gux-table.d.ts +2 -0
- package/dist/types/components/stable/gux-table/tests/gux-table.common.d.ts +4 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +8 -8
- package/dist/genesys-webcomponents/p-18e7fd4b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-296b109f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2b7a40df.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3_lZiJlW.js +0 -1
- package/dist/genesys-webcomponents/p-3f838c40.entry.js +0 -1
- package/dist/genesys-webcomponents/p-486786a2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-588fee99.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6fe87496.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7e0ab78c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-88ec2744.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8be8c355.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8w8ltg_h.js +0 -1
- package/dist/genesys-webcomponents/p-9e9aaf9f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9f947560.entry.js +0 -7
- package/dist/genesys-webcomponents/p-BtyAIt6b.js +0 -1
- package/dist/genesys-webcomponents/p-CRHTf_An.js +0 -1
- package/dist/genesys-webcomponents/p-VP5Cxz7T.js +0 -1
- package/dist/genesys-webcomponents/p-bfda6d0b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c4bf7350.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d15f3152.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d68a0521.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e66913bc.entry.js +0 -1
- package/dist/genesys-webcomponents/p-s89OxFk-.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as o,a as s}from"./p-
|
|
1
|
+
import{r as t,h as e,H as o,a as s}from"./p-CBZRYI-e.js";import{a as i,c as a,o as r,f as n,s as u,b as d}from"./p-CBOPktOE.js";import{a as h}from"./p-Bg4q97BS.js";import{t as c}from"./p-d58ENWqi.js";import{h as l}from"./p-QGDBFOq1.js";import{b as f}from"./p-BRvLWeU-.js";import"./p-Cd4R0amv.js";var m={onMenuFocus:"Use the right arrow to enter the submenu, and the left arrow to return to the previous menu",onTargetFocus:"A popup has appeared. Press the down arrow to enter the menu"};const p=class{constructor(e){t(this,e),this.isShown=!1}onKeydown(t){if(t.stopPropagation(),this.isShown)switch(t.key){case"Escape":case"ArrowLeft":case"ArrowUp":return void this.root.focus();case"ArrowDown":return t.preventDefault(),void this.focusOnMenu();case"Enter":return void(this.hideDelayTimeout=h((()=>{this.focusOnMenu()})))}}onKeyup(t){t.stopPropagation()," "!==t.key||(this.root===t.target?this.focusOnMenu():this.hideDelayTimeout=h((()=>{this.root.focus()})))}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(t){0!==t.detail&&this.hide(),this.root.focus()}onFocusin(){this.isShown||this.announceElement.guxAnnounce(this.i18n("onTargetFocus")),this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),l))}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=i(this.targetElement,this.menuContentElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.root&&a(this.targetElement,this.menuContentElement,{placement:"bottom-start",strategy:"fixed",middleware:[r(16),n(),u(),d({element:this.arrowElement,padding:16})]}).then((({x:t,y:e,middlewareData:o,placement:s})=>{var i;Object.assign(this.menuContentElement.style,{left:`${t}px`,top:`${e}px`});const a=s.split("-")[0],r={top:"bottom",right:"left",bottom:"top",left:"right"}[a],n={top:0,right:90,bottom:180,left:-90}[a];if(o.arrow){const{x:t,y:e}=o.arrow;Object.assign(null===(i=this.arrowElement)||void 0===i?void 0:i.style,{left:null!=t?`${t}px`:"",top:null!=e?`${e}px`:"",right:"",bottom:"",[r]:"-12px",transform:`rotate(${n}deg)`})}}))}focusOnMenu(){if(this.menuContentElement.contains(document.activeElement))return;this.hideDelayTimeout=h((()=>{this.announceElement.guxAnnounce(this.i18n("onMenuFocus"))}));const t=this.root.querySelector("gux-menu");Array.from(t.children)[0].guxFocus()}async componentWillLoad(){c(this.root),this.i18n=await f(this.root,m)}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return e(o,{key:"32cae3b1ce9dee8921b5c2852d583dfdbc8506f9",tabIndex:0,"aria-haspopup":"true"},e("gux-announce-beta",{key:"c78a3a40e2304434858d5b7634df1ce1171eef8c",ref:t=>this.announceElement=t}),e("span",{key:"81b9ee544d0f4b8420a8c5b7462dfd3ceafb92a8",ref:t=>this.targetElement=t},e("slot",{key:"6c18155bf81414607a1000736f3d87f5f8143d7f",name:"target"})),e("div",{key:"7da3b2bfee217a043cc7a67bf23de11fb8f676db",class:{"gux-flyout-menu-content":!0,"gux-shown":this.isShown},ref:t=>this.menuContentElement=t},e("div",{key:"a72d1d0be5397008e7c4d7fb1898e87870d782e0",ref:t=>this.arrowElement=t,class:"gux-arrow"},e("div",{key:"1a70b7c67718589a80879c95d76394fed2b4bf52",class:"gux-arrow-caret"})),e("slot",{key:"0c55b8e6ad26f847fb6982db184b253503970fa6",name:"menu"})))}get root(){return s(this)}};p.style=":host{z-index:var(--gse-semantic-zIndex-popover);color:var(--gse-ui-menu-option-label-foregroundColor);cursor:default}:host(:focus){outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-flyout-menu-content{position:fixed;display:none;border:none;border-radius:var(--gse-ui-flyoutMenu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow);opacity:0}.gux-flyout-menu-content.gux-shown{display:flex;animation-name:fade-in;animation-duration:100ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-flyout-menu-content .gux-arrow{position:absolute;inline-size:var(--gse-ui-flyoutMenu-anchor-width);block-size:var(--gse-ui-flyoutMenu-anchor-height);padding-block-end:4px;overflow:hidden}.gux-flyout-menu-content .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:var(--gse-ui-flyoutMenu-anchor-borderWidth) solid var(--gse-ui-flyoutMenu-backgroundColor);border-inline-start:var(--gse-ui-flyoutMenu-anchor-borderWidth) solid transparent;border-inline-end:var(--gse-ui-flyoutMenu-anchor-borderWidth) solid transparent;filter:drop-shadow(0 0 4px var(--gse-ui-flyoutMenu-anchor-shadowColor))}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{p as gux_flyout_menu}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o,h as i,a as s,H as e}from"./p-
|
|
1
|
+
import{r as t,c as o,h as i,a as s,H as e}from"./p-CBZRYI-e.js";import{s as n}from"./p-D8NvUiBF.js";const r=class{constructor(i){t(this,i),this.selectedChanged=o(this,"selectedChanged",7)}getDisplayedValue(){return Promise.resolve(this.text)}shouldFilter(t){if(this.highlight=t,this.highlightIndex=-1,!t)return Promise.resolve(!1);const o=new RegExp(n(t),"gi").exec(this.text),i=null===o;return i||(this.highlightIndex=o.index),Promise.resolve(i)}componentDidLoad(){this.root.onclick=()=>{this.onItemClicked()},this.root.onkeydown=t=>{switch(t.key){case" ":case"Enter":this.selected=!0,this.selectedChanged.emit(this.value)}}}hostData(){return{tabindex:"0"}}__stencil_render(){return i("div",{key:"624fac84e2616d0433e41e41f8e560f5eb97fbda",class:"gux-dropdown-option",title:this.text},this.textWithHighlights())}textWithHighlights(){if(!this.highlight||!this.text)return i("span",null,this.text);if(this.highlightIndex<0)return i("span",null,this.text);const t=this.text.substring(0,this.highlightIndex),o=this.text.substring(this.highlightIndex,this.highlightIndex+this.highlight.length),s=this.text.substring(t.length+this.highlight.length);return i("span",null,t,i("strong",null,o),s)}onItemClicked(){this.selected=!0,this.selectedChanged.emit(this.value)}get root(){return s(this)}render(){return i(e,this.hostData(),this.__stencil_render())}};r.style="gux-dropdown-option{position:relative;display:flex;height:var(--option-height);padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-option div.gux-dropdown-option{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-option div.gux-dropdown-option .gux-ghost{position:absolute}gux-dropdown-option[filtered]{display:none}gux-dropdown-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-option[disabled=false]{pointer-events:auto;cursor:pointer;opacity:1}gux-dropdown-option:not(:disabled)[selected]{color:#2e394c;background:#deeaff}gux-dropdown-option:not(:disabled):hover,gux-dropdown-option:not(:disabled):focus-visible{color:#fdfdfd;background:#2a60c8}";export{r as gux_dropdown_option}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a,a as i}from"./p-
|
|
1
|
+
import{r as e,h as a,a as i}from"./p-CBZRYI-e.js";import{t as n}from"./p-d58ENWqi.js";const g=class{constructor(a){e(this,a)}componentWillLoad(){n(this.root)}render(){return a("div",{key:"3772cea3f79f85a7a38f56befb4da014b4aed41e",class:"gux-container",role:"alert","aria-live":"assertive"},a("div",{key:"3a4c815f0b6552246c1517461fb5500b3eaef1e4",class:"gux-progress"},a("slot",{key:"595375b410ee6d1d76d07ca25697ea4ecfeea713",name:"progress"})),a("div",{key:"29e68e6f11611cf521dc2b698e81f8fd8974b679",class:"gux-primary-message"},a("slot",{key:"1362ac52fa463c650c53348212e20ddd909a585c",name:"primary-message"})),a("div",{key:"0e9b9a37f9a6bcc971a99ee03fddfb7f5f8852da",class:"gux-additional-guidance"},a("slot",{key:"32dc71804a155ae5d838bbca33510cb43edf2a0d",name:"additional-guidance"})))}get root(){return i(this)}};g.style=":host{display:flex;flex-direction:column;align-items:center;justify-content:center;container-type:inline-size}.gux-container{display:flex;flex-direction:column;align-items:center;justify-content:center;max-inline-size:var(--gse-ui-progressAndLoading-loadingState-large-width);color:var(--gse-ui-progressAndLoading-textColor);text-align:center}@container (width > 400px){.gux-container .gux-primary-message{margin-block-start:var(--gse-ui-progressAndLoading-large-gap);font-family:var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight)}.gux-container .gux-additional-guidance{margin-block-start:var(--gse-ui-progressAndLoading-large-gapText);font-family:var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight)}}@container (width > 200px) and (width <=400px){.gux-container .gux-primary-message{margin-block-start:var(--gse-ui-progressAndLoading-medium-gap);font-family:var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight)}.gux-container .gux-additional-guidance{margin-block-start:var(--gse-ui-progressAndLoading-medium-gapText);font-family:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight)}}@container (width <=200px){.gux-container .gux-primary-message{margin-block-start:var(--gse-ui-progressAndLoading-small-gap);font-family:var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight)}.gux-container .gux-additional-guidance{margin-block-start:var(--gse-ui-progressAndLoading-small-gapText);font-family:var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight)}}";export{g as gux_loading_message}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,f as o,h as r,a as t}from"./p-CtJlU2pR.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-s89OxFk-.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as d}from"./p-CRHTf_An.js";import{G as c,a as g}from"./p-BtyAIt6b.js";import{h,c as p,a as m,v as b,g as x}from"./p-KdigjDpl.js";import{t as v}from"./p-D_JNwzDi.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=h(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root,{variant:this.variant})}connectedCallback(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(g,{key:"61a5c9d57130d28409b62dea3ca08b62f21c88c5",labelPosition:this.computedLabelPosition},r(c,{key:"b3b1b6fd69a55820941c8f8fed3e68ee4b82430b",required:this.required,position:this.computedLabelPosition},r("slot",{key:"3efb52d94bc9fafce8076207fa3ce9e1321b6c9e",name:"label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"d6e88692f1c0328cc4c9589ed7c6ad219b1016bf",variant:this.indicatorMark,required:this.required}),r("slot",{key:"20372d1079a68487a344542ad238639e25412c45",name:"label-info"})),r("div",{key:"1f53d2bd1a73ec5a89fe95e78790f9b43cf2bdef",class:"gux-input-and-error-container"},r("div",{key:"e6dcd80d9d85ea0cdb5c19c969c191aa75ccf81f",class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{key:"81c77f7d07557b951bb62341381322d6deb8f41c",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},r("gux-icon",{key:"40aee7cbc101158b7ea8d9c3e6f1e051e0b3d4a8","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),r("slot",{key:"71241dbf0d7bd2c13c61c6541de530632520a8aa",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&r("gux-form-field-input-clear-button",{key:"06382d0ad9498f885214bf7efba469ad600bb65f",onClick:()=>p(this.input)}))),r(f,{key:"f5c411463033f91f0e851bba31e12ab06b0945f1",show:this.hasError},r("slot",{key:"4fa748e1e31385728a7456a6bc90a2372107eb79",name:"error"})),r(d,{key:"88a55b2de9299238cfc530f88bbd533871239d70",show:!this.hasError&&this.hasHelp},r("slot",{key:"b4ea5834ea2b9bd87fa6b4398f1520acbe57542b",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=h(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=h(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return t(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
|
|
1
|
+
import{r as e,f as o,h as r,a as t}from"./p-CBZRYI-e.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-BFTNmhzP.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as d}from"./p-DwAkUtfc.js";import{G as c,a as g}from"./p-BLndZcXP.js";import{h,c as p,a as m,v as b,g as x}from"./p-KdigjDpl.js";import{t as v}from"./p-d58ENWqi.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=h(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root,{variant:this.variant})}connectedCallback(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(g,{key:"61a5c9d57130d28409b62dea3ca08b62f21c88c5",labelPosition:this.computedLabelPosition},r(c,{key:"b3b1b6fd69a55820941c8f8fed3e68ee4b82430b",required:this.required,position:this.computedLabelPosition},r("slot",{key:"3efb52d94bc9fafce8076207fa3ce9e1321b6c9e",name:"label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"d6e88692f1c0328cc4c9589ed7c6ad219b1016bf",variant:this.indicatorMark,required:this.required}),r("slot",{key:"20372d1079a68487a344542ad238639e25412c45",name:"label-info"})),r("div",{key:"1f53d2bd1a73ec5a89fe95e78790f9b43cf2bdef",class:"gux-input-and-error-container"},r("div",{key:"e6dcd80d9d85ea0cdb5c19c969c191aa75ccf81f",class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{key:"81c77f7d07557b951bb62341381322d6deb8f41c",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},r("gux-icon",{key:"40aee7cbc101158b7ea8d9c3e6f1e051e0b3d4a8","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),r("slot",{key:"71241dbf0d7bd2c13c61c6541de530632520a8aa",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&r("gux-form-field-input-clear-button",{key:"06382d0ad9498f885214bf7efba469ad600bb65f",onClick:()=>p(this.input)}))),r(f,{key:"f5c411463033f91f0e851bba31e12ab06b0945f1",show:this.hasError},r("slot",{key:"4fa748e1e31385728a7456a6bc90a2372107eb79",name:"error"})),r(d,{key:"88a55b2de9299238cfc530f88bbd533871239d70",show:!this.hasError&&this.hasHelp},r("slot",{key:"b4ea5834ea2b9bd87fa6b4398f1520acbe57542b",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=h(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=h(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return t(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./p-CBZRYI-e.js";function t(t){return(i,c)=>{const{connectedCallback:e,disconnectedCallback:o}=i,s=new Map;i.connectedCallback=function(){const i=new MutationObserver(this[c].bind(this));return function(t,i,c,e){t.has(i)&&t.get(i).disconnect(),t.set(i,c),c.observe(n(i),e)}(s,this,i,t),e&&e.call(this)},i.disconnectedCallback=function(){return function(n,t){n.has(t)&&n.get(t).disconnect(),n.delete(t)}(s,this),o&&o.call(this)}}}export{t as O}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as r}from"./p-CBZRYI-e.js";const e=({position:e,required:i},a)=>r("div",{class:{"gux-form-field-label":!0,[`gux-${e}`]:!0,"gux-required":i}},a),i=({labelPosition:e,characterLimit:i},a)=>r("div",{class:{"gux-form-field-container":!0,[`gux-${e}`]:!0,"gux-character-counter":i>0}},a);export{e as G,i as a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as t}from"./p-CBZRYI-e.js";import{g as e}from"./p-Cd4R0amv.js";function h(t,e){return(e&&e.strategy?e.strategy:s)(t,{cache:e&&e.cache?e.cache:a,serializer:e&&e.serializer?e.serializer:o})}function n(t,e,h,n){const r=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:h(n);var i;let s=e.get(r);return void 0===s&&(s=t.call(this,n),e.set(r,s)),s}function r(t,e,h){const n=Array.prototype.slice.call(arguments,3),r=h(n);let i=e.get(r);return void 0===i&&(i=t.apply(this,n),e.set(r,i)),i}function i(t,e,h,n,r){return h.bind(e,t,n,r)}function s(t,e){return i(t,this,1===t.length?n:r,e.cache.create(),e.serializer)}const o=function(){return JSON.stringify(arguments)};var c=class{constructor(){this.cache=Object.create(null)}get(t){return this.cache[t]}set(t,e){this.cache[t]=e}};const a={create:function(){return new c}},u={variadic:function(t,e){return i(t,this,r,e.cache.create(),e.serializer)}},l=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function H(t){const e={};return t.replace(l,(t=>{const h=t.length;switch(t[0]){case"G":e.era=4===h?"long":5===h?"narrow":"short";break;case"y":e.year=2===h?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][h-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][h-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=4===h?"long":5===h?"narrow":"short";break;case"e":if(h<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][h-4];break;case"c":if(h<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][h-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][h-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][h-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][h-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][h-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][h-1];break;case"s":e.second=["numeric","2-digit"][h-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=h<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),e}const f=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,B=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,b=/^(@+)?(\+|#+)?[rs]?$/g,p=/(\*)(0+)|(#+)(0+)|(0+)/g,E=/^(0+)$/;function g(t){const e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(b,(function(t,h,n){return"string"!=typeof n?(e.minimumSignificantDigits=h.length,e.maximumSignificantDigits=h.length):"+"===n?e.minimumSignificantDigits=h.length:"#"===h[0]?e.maximumSignificantDigits=h.length:(e.minimumSignificantDigits=h.length,e.maximumSignificantDigits=h.length+("string"==typeof n?n.length:0)),""})),e}function d(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function m(t){let e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){const h=t.slice(0,2);if("+!"===h?(e.signDisplay="always",t=t.slice(2)):"+?"===h&&(e.signDisplay="exceptZero",t=t.slice(2)),!E.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function y(t){return d(t)||{}}function w(t){let e={};for(const h of t){switch(h.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=h.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=h.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e={...e,notation:"scientific",...h.options.reduce(((t,e)=>({...t,...y(e)})),{})};continue;case"engineering":e={...e,notation:"engineering",...h.options.reduce(((t,e)=>({...t,...y(e)})),{})};continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(h.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(h.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");h.options[0].replace(p,(function(t,h,n,r,i,s){if(h)e.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(E.test(h.stem)){e.minimumIntegerDigits=h.stem.length;continue}if(B.test(h.stem)){if(h.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");h.stem.replace(B,(function(t,h,n,r,i,s){return"*"===n?e.minimumFractionDigits=h.length:r&&"#"===r[0]?e.maximumFractionDigits=r.length:i&&s?(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length+s.length):(e.minimumFractionDigits=h.length,e.maximumFractionDigits=h.length),""}));const t=h.options[0];"w"===t?e={...e,trailingZeroDisplay:"stripIfInteger"}:t&&(e={...e,...g(t)});continue}if(b.test(h.stem)){e={...e,...g(h.stem)};continue}const t=d(h.stem);t&&(e={...e,...t});const n=m(h.stem);n&&(e={...e,...n})}return e}let T=function(t){return t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",t}({}),A=function(t){return t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag",t}({}),v=function(t){return t[t.number=0]="number",t[t.dateTime=1]="dateTime",t}({});function S(t){return t.type===A.literal}function I(t){return t.type===A.argument}function N(t){return t.type===A.number}function M(t){return t.type===A.date}function R(t){return t.type===A.time}function L(t){return t.type===A.select}function _(t){return t.type===A.plural}function C(t){return t.type===A.pound}function G(t){return t.type===A.tag}function O(t){return!(!t||"object"!=typeof t||t.type!==v.number)}function P(t){return!(!t||"object"!=typeof t||t.type!==v.dateTime)}const U=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,k={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function D(t){let e=t.hourCycle;if(void 0===e&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}const h=t.language;let n;return"root"!==h&&(n=t.maximize().region),(k[n||""]||k[h||""]||k[`${h}-001`]||k["001"])[0]}const F=new RegExp(`^${U.source}*`),K=new RegExp(`${U.source}*$`);function $(t,e){return{start:t,end:e}}const x=Object.fromEntries?Object.fromEntries:function(t){const e={};for(const[h,n]of t)e[h]=n;return e},V=String.prototype.trimStart?function(t){return t.trimStart()}:function(t){return t.replace(F,"")},j=String.prototype.trimEnd?function(t){return t.trimEnd()}:function(t){return t.replace(K,"")},Z=new RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var Y=class{constructor(t,e={}){this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)}parseMessage(t,e,h){let n=[];for(;!this.isEOF();){const r=this.char();if(123===r){const e=this.parseArgument(t,h);if(e.err)return e;n.push(e.val)}else{if(125===r&&t>0)break;if(35!==r||"plural"!==e&&"selectordinal"!==e){if(60===r&&!this.ignoreTag&&47===this.peek()){if(h)break;return this.error(T.UNMATCHED_CLOSING_TAG,$(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&X(this.peek()||0)){const h=this.parseTag(t,e);if(h.err)return h;n.push(h.val)}else{const h=this.parseLiteral(t,e);if(h.err)return h;n.push(h.val)}}else{const t=this.clonePosition();this.bump(),n.push({type:A.pound,location:$(t,this.clonePosition())})}}}return{val:n,err:null}}parseTag(t,e){const h=this.clonePosition();this.bump();const n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:A.literal,value:`<${n}/>`,location:$(h,this.clonePosition())},err:null};if(this.bumpIf(">")){const r=this.parseMessage(t+1,e,!0);if(r.err)return r;const i=r.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!X(this.char()))return this.error(T.INVALID_TAG,$(s,this.clonePosition()));const t=this.clonePosition();return n!==this.parseTagName()?this.error(T.UNMATCHED_CLOSING_TAG,$(t,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:A.tag,value:n,children:i,location:$(h,this.clonePosition())},err:null}:this.error(T.INVALID_TAG,$(s,this.clonePosition())))}return this.error(T.UNCLOSED_TAG,$(h,this.clonePosition()))}return this.error(T.INVALID_TAG,$(h,this.clonePosition()))}parseTagName(){const t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();var e;return this.message.slice(t,this.offset())}parseLiteral(t,e){const h=this.clonePosition();let n="";for(;;){const h=this.tryParseQuote(e);if(h){n+=h;continue}const r=this.tryParseUnquoted(t,e);if(r){n+=r;continue}const i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}const r=$(h,this.clonePosition());return{val:{type:A.literal,value:n,location:r},err:null}}tryParseLeftAngleBracket(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(X(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t}tryParseQuote(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();const e=[this.char()];for(this.bump();!this.isEOF();){const t=this.char();if(39===t){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(t);this.bump()}return String.fromCodePoint(...e)}tryParseUnquoted(t,e){if(this.isEOF())return null;const h=this.char();return 60===h||123===h||35===h&&("plural"===e||"selectordinal"===e)||125===h&&t>0?null:(this.bump(),String.fromCodePoint(h))}parseArgument(t,e){const h=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,$(h,this.clonePosition()));if(125===this.char())return this.bump(),this.error(T.EMPTY_ARGUMENT,$(h,this.clonePosition()));let n=this.parseIdentifierIfPossible().value;if(!n)return this.error(T.MALFORMED_ARGUMENT,$(h,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,$(h,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:A.argument,value:n,location:$(h,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,$(h,this.clonePosition())):this.parseArgumentOptions(t,e,n,h);default:return this.error(T.MALFORMED_ARGUMENT,$(h,this.clonePosition()))}}parseIdentifierIfPossible(){const t=this.clonePosition(),e=this.offset(),h=(n=this.message,Z.lastIndex=e,Z.exec(n)[1]??"");var n;return this.bumpTo(e+h.length),{value:h,location:$(t,this.clonePosition())}}parseArgumentOptions(t,e,h,n){let r=this.clonePosition(),i=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(i){case"":return this.error(T.EXPECT_ARGUMENT_TYPE,$(r,s));case"number":case"date":case"time":{this.bumpSpace();let t=null;if(this.bumpIf(",")){this.bumpSpace();const e=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;const n=j(h.val);if(0===n.length)return this.error(T.EXPECT_ARGUMENT_STYLE,$(this.clonePosition(),this.clonePosition()));t={style:n,styleLocation:$(e,this.clonePosition())}}const e=this.tryParseArgumentClose(n);if(e.err)return e;const r=$(n,this.clonePosition());if(t&&t.style.startsWith("::")){let e=V(t.style.slice(2));if("number"===i){const n=this.parseNumberSkeletonFromString(e,t.styleLocation);return n.err?n:{val:{type:A.number,value:h,location:r,style:n.val},err:null}}{if(0===e.length)return this.error(T.EXPECT_DATE_TIME_SKELETON,r);let n=e;this.locale&&(n=function(t,e){let h="";for(let n=0;n<t.length;n++){const r=t.charAt(n);if("j"===r){let i=0;for(;n+1<t.length&&t.charAt(n+1)===r;)i++,n++;let s=1+(1&i),o=i<2?1:3+(i>>1),c="a",a=D(e);for("H"!=a&&"k"!=a||(o=0);o-- >0;)h+=c;for(;s-- >0;)h=a+h}else h+="J"===r?"H":r}return h}(e,this.locale));const s={type:v.dateTime,pattern:n,location:t.styleLocation,parsedOptions:this.shouldParseSkeletons?H(n):{}};return{val:{type:"date"===i?A.date:A.time,value:h,location:r,style:s},err:null}}}return{val:{type:"number"===i?A.number:"date"===i?A.date:A.time,value:h,location:r,style:t?.style??null},err:null}}case"plural":case"selectordinal":case"select":{const r=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS,$(r,{...r}));this.bumpSpace();let s=this.parseIdentifierIfPossible(),o=0;if("select"!==i&&"offset"===s.value){if(!this.bumpIf(":"))return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$(this.clonePosition(),this.clonePosition()));this.bumpSpace();const t=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(t.err)return t;this.bumpSpace(),s=this.parseIdentifierIfPossible(),o=t.val}const c=this.tryParsePluralOrSelectOptions(t,i,e,s);if(c.err)return c;const a=this.tryParseArgumentClose(n);if(a.err)return a;const u=$(n,this.clonePosition());return"select"===i?{val:{type:A.select,value:h,options:x(c.val),location:u},err:null}:{val:{type:A.plural,value:h,options:x(c.val),offset:o,pluralType:"plural"===i?"cardinal":"ordinal",location:u},err:null}}default:return this.error(T.INVALID_ARGUMENT_TYPE,$(r,s))}}tryParseArgumentClose(t){return this.isEOF()||125!==this.char()?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,$(t,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let t=0;const e=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$(t,this.clonePosition()));this.bump();break}case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}}parseNumberSkeletonFromString(t,e){let h=[];try{h=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");const e=t.split(f).filter((t=>t.length>0)),h=[];for(const t of e){let e=t.split("/");if(0===e.length)throw new Error("Invalid number skeleton");const[n,...r]=e;for(const t of r)if(0===t.length)throw new Error("Invalid number skeleton");h.push({stem:n,options:r})}return h}(t)}catch{return this.error(T.INVALID_NUMBER_SKELETON,e)}return{val:{type:v.number,tokens:h,location:e,parsedOptions:this.shouldParseSkeletons?w(h):{}},err:null}}tryParsePluralOrSelectOptions(t,e,h,n){let r=!1;const i=[],s=new Set;let{value:o,location:c}=n;for(;;){if(0===o.length){const t=this.clonePosition();if("select"===e||!this.bumpIf("="))break;{const e=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR,T.INVALID_PLURAL_ARGUMENT_SELECTOR);if(e.err)return e;c=$(t,this.clonePosition()),o=this.message.slice(t.offset,this.offset())}}if(s.has(o))return this.error("select"===e?T.DUPLICATE_SELECT_ARGUMENT_SELECTOR:T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===o&&(r=!0),this.bumpSpace();const n=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$(this.clonePosition(),this.clonePosition()));const a=this.parseMessage(t+1,e,h);if(a.err)return a;const u=this.tryParseArgumentClose(n);if(u.err)return u;i.push([o,{value:a.val,location:$(n,this.clonePosition())}]),s.add(o),this.bumpSpace(),({value:o,location:c}=this.parseIdentifierIfPossible())}return 0===i.length?this.error("select"===e?T.EXPECT_SELECT_ARGUMENT_SELECTOR:T.EXPECT_PLURAL_ARGUMENT_SELECTOR,$(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(T.MISSING_OTHER_CLAUSE,$(this.clonePosition(),this.clonePosition())):{val:i,err:null}}tryParseDecimalInteger(t,e){let h=1;const n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(h=-1);let r=!1,i=0;for(;!this.isEOF();){const t=this.char();if(!(t>=48&&t<=57))break;r=!0,i=10*i+(t-48),this.bump()}const s=$(n,this.clonePosition());return r?(i*=h,Number.isSafeInteger(i)?{val:i,err:null}:this.error(e,s)):this.error(t,s)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){const t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");const e=this.message.codePointAt(t);if(void 0===e)throw Error(`Offset ${t} is at invalid UTF-16 code unit boundary`);return e}error(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}}bump(){if(this.isEOF())return;const t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}bumpIf(t){if(this.message.startsWith(t,this.offset())){for(let e=0;e<t.length;e++)this.bump();return!0}return!1}bumpUntil(t){const e=this.offset(),h=this.message.indexOf(t,e);return h>=0?(this.bumpTo(h),!0):(this.bumpTo(this.message.length),!1)}bumpTo(t){if(this.offset()>t)throw Error(`targetOffset ${t} must be greater than or equal to the current offset ${this.offset()}`);for(t=Math.min(t,this.message.length);;){const e=this.offset();if(e===t)break;if(e>t)throw Error(`targetOffset ${t} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&((t=this.char())>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t);)this.bump();var t}peek(){if(this.isEOF())return null;const t=this.char(),e=this.offset();return this.message.charCodeAt(e+(t>=65536?2:1))??null}};function X(t){return t>=97&&t<=122||t>=65&&t<=90}function W(t){t.forEach((t=>{if(delete t.location,L(t)||_(t))for(const e in t.options)delete t.options[e].location,W(t.options[e].value);else N(t)&&O(t.style)||(M(t)||R(t))&&P(t.style)?delete t.style.location:G(t)&&W(t.children)}))}function J(t,e={}){e={shouldParseSkeletons:!0,requiresOtherClause:!0,...e};const h=new Y(t,e).parse();if(h.err){const t=SyntaxError(T[h.err.kind]);throw t.location=h.err.location,t.originalMessage=h.err.message,t}return e?.captureLocation||W(h.val),h.val}let z=function(t){return t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API",t}({});var Q=class extends Error{constructor(t,e,h){super(t),this.code=e,this.originalMessage=h}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},q=class extends Q{constructor(t,e,h,n){super(`Invalid values for "${t}": "${e}". Options are "${Object.keys(h).join('", "')}"`,z.INVALID_VALUE,n)}},tt=class extends Q{constructor(t,e,h){super(`Value for "${t}" must be of type ${e}`,z.INVALID_VALUE,h)}},et=class extends Q{constructor(t,e){super(`The intl string context variable "${t}" was not provided to the string "${e}"`,z.MISSING_VALUE,e)}};let ht=function(t){return t[t.literal=0]="literal",t[t.object=1]="object",t}({});function nt(t){return"function"==typeof t}function rt(t,e,h,n,r,i,s){if(1===t.length&&S(t[0]))return[{type:ht.literal,value:t[0].value}];const o=[];for(const c of t){if(S(c)){o.push({type:ht.literal,value:c.value});continue}if(C(c)){"number"==typeof i&&o.push({type:ht.literal,value:h.getNumberFormat(e).format(i)});continue}const{value:t}=c;if(!r||!(t in r))throw new et(t,s);let a=r[t];if(I(c))a&&"string"!=typeof a&&"number"!=typeof a&&"bigint"!=typeof a||(a="string"==typeof a||"number"==typeof a||"bigint"==typeof a?String(a):""),o.push({type:"string"==typeof a?ht.literal:ht.object,value:a});else if(M(c)){const t="string"==typeof c.style?n.date[c.style]:P(c.style)?c.style.parsedOptions:void 0;o.push({type:ht.literal,value:h.getDateTimeFormat(e,t).format(a)})}else if(R(c)){const t="string"==typeof c.style?n.time[c.style]:P(c.style)?c.style.parsedOptions:n.time.medium;o.push({type:ht.literal,value:h.getDateTimeFormat(e,t).format(a)})}else if(N(c)){const t="string"==typeof c.style?n.number[c.style]:O(c.style)?c.style.parsedOptions:void 0;if(t&&t.scale){const e=t.scale||1;if("bigint"==typeof a){if(!Number.isInteger(e))throw new TypeError(`Cannot apply fractional scale ${e} to bigint value. Scale must be an integer when formatting bigint.`);a*=BigInt(e)}else a*=e}o.push({type:ht.literal,value:h.getNumberFormat(e,t).format(a)})}else{if(G(c)){const{children:t,value:a}=c,u=r[a];if(!nt(u))throw new tt(a,"function",s);let l=u(rt(t,e,h,n,r,i).map((t=>t.value)));Array.isArray(l)||(l=[l]),o.push(...l.map((t=>({type:"string"==typeof t?ht.literal:ht.object,value:t}))))}if(L(c)){const t=a,i=(Object.prototype.hasOwnProperty.call(c.options,t)?c.options[t]:void 0)||c.options.other;if(!i)throw new q(c.value,a,Object.keys(c.options),s);o.push(...rt(i.value,e,h,n,r))}else if(_(c)){const t=`=${a}`;let i=Object.prototype.hasOwnProperty.call(c.options,t)?c.options[t]:void 0;if(!i){if(!Intl.PluralRules)throw new Q('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',z.MISSING_INTL_API,s);const t="bigint"==typeof a?Number(a):a,n=h.getPluralRules(e,{type:c.pluralType}).select(t-(c.offset||0));i=(Object.prototype.hasOwnProperty.call(c.options,n)?c.options[n]:void 0)||c.options.other}if(!i)throw new q(c.value,a,Object.keys(c.options),s);const u="bigint"==typeof a?Number(a):a;o.push(...rt(i.value,e,h,n,r,u-(c.offset||0)))}}}return(c=o).length<2?c:c.reduce(((t,e)=>{const h=t[t.length-1];return h&&h.type===ht.literal&&e.type===ht.literal?h.value+=e.value:t.push(e),t}),[]);var c}function it(t){return{create:()=>({get:e=>t[e],set(e,h){t[e]=h}})}}var st=class t{constructor(e,n=t.defaultLocale,r,i){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=t=>{const e=this.formatToParts(t);if(1===e.length)return e[0].value;const h=e.reduce(((t,e)=>(t.length&&e.type===ht.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t)),[]);return h.length<=1?h[0]||"":h},this.formatToParts=t=>rt(this.ast,this.locales,this.formatters,this.formats,t,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=n,this.resolvedLocale=t.resolveLocale(n),"string"==typeof e){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...h}=i||{};this.ast=t.__parse(e,{...h,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");var s,o;this.formats=(s=t.formats,(o=r)?Object.keys(s).reduce(((t,e)=>{var h,n;return t[e]=(h=s[e],(n=o[e])?{...h,...n,...Object.keys(h).reduce(((t,e)=>(t[e]={...h[e],...n[e]},t)),{})}:h),t}),{...s}):s),this.formatters=i&&i.formatters||function(t={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:h(((...t)=>new Intl.NumberFormat(...t)),{cache:it(t.number),strategy:u.variadic}),getDateTimeFormat:h(((...t)=>new Intl.DateTimeFormat(...t)),{cache:it(t.dateTime),strategy:u.variadic}),getPluralRules:h(((...t)=>new Intl.PluralRules(...t)),{cache:it(t.pluralRules),strategy:u.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale}static{this.resolveLocale=t=>{if(void 0===Intl.Locale)return;const e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])}}static{this.__parse=J}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}},ot=st;const ct={};var at=["ar","cs","da","de","en","es-es","es","fi","fr-ca","fr","he","hi","it","ja","ko","nl","no","pl","pt-br","pt-pt","ru","sv","th","tr","uk","zh-cn","zh-tw"],ut={ar:6,cs:1,da:1,de:1,en:0,"es-es":1,es:1,fi:1,"fr-ca":0,fr:1,he:0,hi:0,it:1,ja:0,ko:0,nl:1,no:1,pl:1,"pt-br":0,"pt-pt":0,ru:1,sv:1,th:0,tr:1,uk:1,"zh-cn":1,"zh-tw":0};const lt="en";async function Ht(e,h,n){let r=h,i="en";void 0!==e&&(i=ft(e),r=await async function(e,h,n,r){const i=r||e.tagName.toLocaleLowerCase().replace(/-beta$/,"");let s;if(e["i18n-resources"])s=e["i18n-resources"];else if(n!==lt)try{s=await(async(e,h)=>{if(!ct[h]){const e=((e="en")=>t(`i18n/genesys-webcomponents.i18n.${e}.json`))(h),n=await fetch(e),r=await n.json();ct[h]=r}return ct[h][e]})(i,n)}catch(t){s=null}return s||(s=h),s}(e,h,i,n));const s=Object.entries(r).reduce(((t,[e,h])=>(t.set(e,new ot(h,i)),t)),new Map),o=Object.entries(h).reduce(((t,[e,h])=>(t.set(e,new ot(h,lt)),t)),new Map);return(t,e)=>{var h,n;let r=null===(h=s.get(t))||void 0===h?void 0:h.format(e);return r||(r=null===(n=o.get(t))||void 0===n?void 0:n.format(e),console.warn(`No localized string available for "${t}-${r}" for "${i}" locale. Falling back to English translation.`)),r}}function ft(t){const h=function(t){const h=e("[lang]",t);return h&&h.lang?h.lang.toLowerCase():lt}(t),n=h.split(/[_-]/)[0];return at.indexOf(h)>=0?h:at.indexOf(n)>=0?n:lt}function Bt(t=lt){return ut[t]?ut[t]:ut[lt]}function bt(t=lt){return((Bt(t)-1)%7+7)%7+1}export{bt as a,Ht as b,Bt as c,ft as g,at as l}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as n}from"./p-
|
|
1
|
+
import{f as n}from"./p-CBZRYI-e.js";import{w as t}from"./p-kLXvN2m9.js";function r(n){return n.closest("gux-tree-beta")}function o(n){return["GUX-LEAF","GUX-BRANCH"].includes(n.tagName)}function u(n){return Boolean(i(n))}function c(n){const t=[];return function n(r){for(const u of Array.from(r.children))o(u)&&t.push(u),"GUX-BRANCH"===u.tagName&&n(u)}(n),t}function e(n){const t=[];return function n(r){for(const c of Array.from(r.children))o(c)&&t.push(c),"GUX-BRANCH"===(u=c).tagName&&u.expanded&&n(c);var u}(n),t}function f(n){return e(n).filter((n=>!n.disabled&&!n.filtered))}function i(n){return e(n).find((n=>n.active))}function a(n){return f(n)[0]}function s(n){const t=f(n);return t[t.length-1]}function l(n,t){n.disabled?b(n):t&&(e(n).forEach((r=>{const o=!r.disabled&&!r.filtered&&r===t;r.active=o,o&&n.setAttribute("aria-activedescendant",r.id)})),t.scrollIntoView({block:"nearest"}))}function b(n){c(n).forEach((n=>{n.active=!1})),n.removeAttribute("aria-activedescendant")}function d(n){l(n,function(n){return e(n).find((n=>n.selected&&!n.disabled&&!n.filtered))}(n)||a(n))}function v(n){l(n,a(n))}function g(n){l(n,s(n))}function x(n){l(n,function(n){if(u(n)&&i(n)!==s(n)){const t=f(n),r=i(n),o=t.indexOf(r);return t[o+1]}return a(n)}(n))}function h(n){l(n,function(n){if(u(n)){const t=f(n),r=t.indexOf(i(n));return i(n)===a(n)?s(n):t[r-1]}return a(n)}(n))}function m(n){l(n,i(n).parentElement.closest("gux-branch"))}function A(n,t){const r=f(i(t));r[0]&&l(n,r[0])}function B(n,t){(null==t?void 0:t.value)&&(c(n).forEach((n=>{n.selected=n===t})),n.value=t.value,t.scrollIntoView({block:"nearest"}))}function p(n,t){const r=function(n,t){return c(n).find((n=>n.value===t))}(n,t);r?(function(n){let t=n.parentElement.closest("gux-branch");for(;t;)t.expanded=!0,t=t.parentElement.closest("gux-branch")}(r),B(n,r)):function(n){c(n).forEach((n=>{n.selected=!1}))}(n)}function X(n){return c(n).some((n=>n.selected))}function k(n){let t=n.parentElement.closest("gux-branch, gux-tree-beta, fieldset");for(;t;){if(t.disabled)return!0;t=t.parentElement.closest("gux-branch, gux-tree-beta, fieldset")}return!1}function C(t){c(t).forEach((t=>{n(t)}))}function G(n){var t;return null===(t=r(n))||void 0===t?void 0:t.size}function N(n){var t;return null===(t=r(n))||void 0===t?void 0:t.alignment}function R({event:n,onLeaf:r,onBranch:o}){let u=!1;t("gux-leaf",n,(n=>{n.value&&(r(n),u=!0)})),u||t("gux-branch",n,(n=>{o(n)}))}export{N as a,X as b,b as c,d,R as e,C as f,G as g,k as h,g as i,v as j,h as k,x as l,B as m,m as n,A as o,p as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as t}from"./p-
|
|
1
|
+
import{d as t}from"./p-CBOPktOE.js";function e(){return{name:"overflowDetection",async fn(e){const n=await t(e,{boundary:"clippingAncestors",elementContext:"reference"});return e.placement.includes("bottom")&&n.bottom>0?{y:e.y-n.bottom}:e.placement.includes("top")&&n.top>0?{y:e.y+n.top}:{}}}}export{e as o}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=["top","right","bottom","left"],n=Math.min,e=Math.max,o=Math.round,r=Math.floor,i=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"};function c(t,o,r){return e(t,n(o,r))}function l(t,n){return"function"==typeof t?t(n):t}function s(t){return t.split("-")[0]}function u(t){return t.split("-")[1]}function f(t){return"x"===t?"y":"x"}function d(t){return"y"===t?"height":"width"}function m(t){const n=t[0];return"t"===n||"b"===n?"y":"x"}function y(t){return f(m(t))}function h(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const p=["left","right"],w=["right","left"],g=["top","bottom"],x=["bottom","top"];function v(t){const n=s(t);return a[n]+t.slice(n.length)}function b(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function A(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function S(t,n,e){let{reference:o,floating:r}=t;const i=m(n),a=y(n),c=d(a),l=s(n),f="y"===i,h=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,w=o[c]/2-r[c]/2;let g;switch(l){case"top":g={x:h,y:o.y-r.height};break;case"bottom":g={x:h,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:p};break;case"left":g={x:o.x-r.width,y:p};break;default:g={x:o.x,y:o.y}}switch(u(n)){case"start":g[a]-=w*(e&&f?-1:1);break;case"end":g[a]+=w*(e&&f?-1:1)}return g}async function R(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:c,strategy:s}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:y=0}=l(n,t),h=b(y),p=c[m?"floating"===d?"reference":"floating":d],w=A(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(p)))||e?p:p.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:s})),g="floating"===d?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),v=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},S=A(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:g,offsetParent:x,strategy:s}):g);return{top:(w.top-S.top+h.top)/v.y,bottom:(S.bottom-w.bottom+h.bottom)/v.y,left:(w.left-S.left+h.left)/v.x,right:(S.right-w.right+h.right)/v.x}}function F(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(n){return t.some((t=>n[t]>=0))}const k=new Set(["left","top"]);function C(){return"undefined"!=typeof window}function T(t){return P(t)?(t.nodeName||"").toLowerCase():"#document"}function D(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function M(t){var n;return null==(n=(P(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function P(t){return!!C()&&(t instanceof Node||t instanceof D(t).Node)}function z(t){return!!C()&&(t instanceof Element||t instanceof D(t).Element)}function H(t){return!!C()&&(t instanceof HTMLElement||t instanceof D(t).HTMLElement)}function L(t){return!(!C()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof D(t).ShadowRoot)}function B(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&"inline"!==r&&"contents"!==r}function E(t){return/^(table|td|th)$/.test(T(t))}function $(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const I=/transform|translate|scale|rotate|perspective|filter/,N=/paint|layout|strict|content/,j=t=>!!t&&"none"!==t;let q;function W(t){const n=z(t)?Y(t):t;return j(n.transform)||j(n.translate)||j(n.scale)||j(n.rotate)||j(n.perspective)||!V()&&(j(n.backdropFilter)||j(n.filter))||I.test(n.willChange||"")||N.test(n.contain||"")}function V(){return null==q&&(q="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),q}function X(t){return/^(html|body|#document)$/.test(T(t))}function Y(t){return D(t).getComputedStyle(t)}function _(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function G(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||L(t)&&t.host||M(t);return L(n)?n.host:n}function J(t){const n=G(t);return X(n)?t.ownerDocument?t.ownerDocument.body:t.body:H(n)&&B(n)?n:J(n)}function K(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=J(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),a=D(r);if(i){const t=Q(a);return n.concat(a,a.visualViewport||[],B(r)?r:[],t&&e?K(t):[])}return n.concat(r,K(r,[],e))}function Q(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function U(t){const n=Y(t);let e=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const i=H(t),a=i?t.offsetWidth:e,c=i?t.offsetHeight:r,l=o(e)!==a||o(r)!==c;return l&&(e=a,r=c),{width:e,height:r,$:l}}function Z(t){return z(t)?t:t.contextElement}function tt(t){const n=Z(t);if(!H(n))return i(1);const e=n.getBoundingClientRect(),{width:r,height:a,$:c}=U(n);let l=(c?o(e.width):e.width)/r,s=(c?o(e.height):e.height)/a;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}const nt=i(0);function et(t){const n=D(t);return V()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:nt}function ot(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),a=Z(t);let c=i(1);n&&(o?z(o)&&(c=tt(o)):c=tt(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==D(t))&&n}(a,e,o)?et(a):i(0);let s=(r.left+l.x)/c.x,u=(r.top+l.y)/c.y,f=r.width/c.x,d=r.height/c.y;if(a){const t=D(a),n=o&&z(o)?D(o):o;let e=t,r=Q(e);for(;r&&o&&n!==e;){const t=tt(r),n=r.getBoundingClientRect(),o=Y(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,a=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=a,e=D(r),r=Q(e)}}return A({width:f,height:d,x:s,y:u})}function rt(t,n){const e=_(t).scrollLeft;return n?n.left+e:ot(M(t)).left+e}function it(t,n){const e=t.getBoundingClientRect();return{x:e.left+n.scrollLeft-rt(t,e),y:e.top+n.scrollTop}}function at(t,n,o){let r;if("viewport"===n)r=function(t,n){const e=D(t),o=M(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,c=0,l=0;if(r){i=r.width,a=r.height;const t=V();(!t||t&&"fixed"===n)&&(c=r.offsetLeft,l=r.offsetTop)}const s=rt(o);if(s<=0){const t=o.ownerDocument,n=t.body,e=getComputedStyle(n),r="CSS1Compat"===t.compatMode&&parseFloat(e.marginLeft)+parseFloat(e.marginRight)||0,a=Math.abs(o.clientWidth-n.clientWidth-r);a<=25&&(i-=a)}else s<=25&&(i+=s);return{width:i,height:a,x:c,y:l}}(t,o);else if("document"===n)r=function(t){const n=M(t),o=_(t),r=t.ownerDocument.body,i=e(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),a=e(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let c=-o.scrollLeft+rt(t);const l=-o.scrollTop;return"rtl"===Y(r).direction&&(c+=e(n.clientWidth,r.clientWidth)-i),{width:i,height:a,x:c,y:l}}(M(t));else if(z(n))r=function(t,n){const e=ot(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,a=H(t)?tt(t):i(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:r*a.x,y:o*a.y}}(n,o);else{const e=et(t);r={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return A(r)}function ct(t,n){const e=G(t);return!(e===n||!z(e)||X(e))&&("fixed"===Y(e).position||ct(e,n))}function lt(t,n,e){const o=H(n),r=M(n),a="fixed"===e,c=ot(t,!0,a,n);let l={scrollLeft:0,scrollTop:0};const s=i(0);function u(){s.x=rt(r)}if(o||!o&&!a)if(("body"!==T(n)||B(r))&&(l=_(n)),o){const t=ot(n,!0,a,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else r&&u();a&&!o&&r&&u();const f=!r||o||a?i(0):it(r,l);return{x:c.left+l.scrollLeft-s.x-f.x,y:c.top+l.scrollTop-s.y-f.y,width:c.width,height:c.height}}function st(t){return"static"===Y(t).position}function ut(t,n){if(!H(t)||"fixed"===Y(t).position)return null;if(n)return n(t);let e=t.offsetParent;return M(t)===e&&(e=e.ownerDocument.body),e}function ft(t,n){const e=D(t);if($(t))return e;if(!H(t)){let n=G(t);for(;n&&!X(n);){if(z(n)&&!st(n))return n;n=G(n)}return e}let o=ut(t,n);for(;o&&E(o)&&st(o);)o=ut(o,n);return o&&X(o)&&st(o)&&!W(o)?e:o||function(t){let n=G(t);for(;H(n)&&!X(n);){if(W(n))return n;if($(n))return null;n=G(n)}return null}(t)||e}const dt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:r}=t;const a="fixed"===r,c=M(o),l=!!n&&$(n.floating);if(o===c||l&&a)return e;let s={scrollLeft:0,scrollTop:0},u=i(1);const f=i(0),d=H(o);if((d||!d&&!a)&&(("body"!==T(o)||B(c))&&(s=_(o)),d)){const t=ot(o);u=tt(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const m=!c||d||a?i(0):it(c,s);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:M,getClippingRect:function(t){let{element:o,boundary:r,rootBoundary:i,strategy:a}=t;const c=[..."clippingAncestors"===r?$(o)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=K(t,[],!1).filter((t=>z(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?G(t):t;for(;z(a)&&!X(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&("absolute"===r.position||"fixed"===r.position)||B(a)&&!e&&ct(t,a))?o=o.filter((t=>t!==a)):r=n,a=G(a)}return n.set(t,o),o}(o,this._c):[].concat(r),i],l=at(o,c[0],a);let s=l.top,u=l.right,f=l.bottom,d=l.left;for(let t=1;t<c.length;t++){const r=at(o,c[t],a);s=e(r.top,s),u=n(r.right,u),f=n(r.bottom,f),d=e(r.left,d)}return{width:u-d,height:f-s,x:d,y:s}},getOffsetParent:ft,getElementRects:async function(t){const n=this.getOffsetParent||ft,e=this.getDimensions,o=await e(t.floating);return{reference:lt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=U(t);return{width:n,height:e}},getScale:tt,isElement:z,isRTL:function(t){return"rtl"===Y(t).direction}};function mt(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function yt(t,o,i,a){void 0===a&&(a={});const{ancestorScroll:c=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=a,d=Z(t),m=c||l?[...d?K(d):[],...o?K(o):[]]:[];m.forEach((t=>{c&&t.addEventListener("scroll",i,{passive:!0}),l&&t.addEventListener("resize",i)}));const y=d&&u?function(t,o){let i,a=null;const c=M(t);function l(){var t;clearTimeout(i),null==(t=a)||t.disconnect(),a=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),l();const d=t.getBoundingClientRect(),{left:m,top:y,width:h,height:p}=d;if(u||o(),!h||!p)return;const w={rootMargin:-r(y)+"px "+-r(c.clientWidth-(m+h))+"px "+-r(c.clientHeight-(y+p))+"px "+-r(m)+"px",threshold:e(0,n(1,f))||1};let g=!0;function x(n){const e=n[0].intersectionRatio;if(e!==f){if(!g)return s();e?s(!1,e):i=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==e||mt(d,t.getBoundingClientRect())||s(),g=!1}try{a=new IntersectionObserver(x,{...w,root:c.ownerDocument})}catch(t){a=new IntersectionObserver(x,w)}a.observe(t)}(!0),l}(d,i):null;let h,p=-1,w=null;s&&(w=new ResizeObserver((t=>{let[n]=t;n&&n.target===d&&w&&o&&(w.unobserve(o),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(o)}))),i()})),d&&!f&&w.observe(d),o&&w.observe(o));let g=f?ot(t):null;return f&&function n(){const e=ot(t);g&&!mt(g,e)&&i(),g=e,h=requestAnimationFrame(n)}(),i(),()=>{var t;m.forEach((t=>{c&&t.removeEventListener("scroll",i),l&&t.removeEventListener("resize",i)})),null==y||y(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(h)}}const ht=R,pt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:a,middlewareData:c}=n,f=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=s(e),c=u(e),f="y"===m(e),d=k.has(a)?-1:1,y=i&&f?-1:1,h=l(n,t);let{mainAxis:p,crossAxis:w,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&"number"==typeof g&&(w="end"===c?-1*g:g),f?{x:w*y,y:p*d}:{x:p*d,y:w*y}}(n,t);return a===(null==(e=c.offset)?void 0:e.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:r+f.x,y:i+f.y,data:{...f,placement:a}}}}},wt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r,platform:i}=n,{mainAxis:a=!0,crossAxis:u=!1,limiter:d={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...y}=l(t,n),h={x:e,y:o},p=await i.detectOverflow(n,y),w=m(s(r)),g=f(w);let x=h[g],v=h[w];a&&(x=c(x+p["y"===g?"top":"left"],x,x-p["y"===g?"bottom":"right"])),u&&(v=c(v+p["y"===w?"top":"left"],v,v-p["y"===w?"bottom":"right"]));const b=d.fn({...n,[g]:x,[w]:v});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[g]:a,[w]:u}}}}}},gt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:c,platform:f,elements:b}=n,{mainAxis:A=!0,crossAxis:S=!0,fallbackPlacements:R,fallbackStrategy:F="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:k=!0,...C}=l(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const T=s(r),D=m(c),M=s(c)===c,P=await(null==f.isRTL?void 0:f.isRTL(b.floating)),z=R||(M||!k?[v(c)]:function(t){const n=v(t);return[h(t),n,h(n)]}(c)),H="none"!==O;!R&&H&&z.push(...function(t,n,e,o){const r=u(t);let i=function(t,n,e){switch(t){case"top":case"bottom":return e?n?w:p:n?p:w;case"left":case"right":return n?g:x;default:return[]}}(s(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(h)))),i}(c,k,O,P));const L=[c,...z],B=await f.detectOverflow(n,C),E=[];let $=(null==(o=i.flip)?void 0:o.overflows)||[];if(A&&E.push(B[T]),S){const t=function(t,n,e){void 0===e&&(e=!1);const o=u(t),r=y(t),i=d(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=v(a)),[a,v(a)]}(r,a,P);E.push(B[t[0]],B[t[1]])}if($=[...$,{placement:r,overflows:E}],!E.every((t=>t<=0))){var I,N;const t=((null==(I=i.flip)?void 0:I.index)||0)+1,n=L[t];if(n&&("alignment"!==S||D===m(n)||$.every((t=>m(t.placement)!==D||t.overflows[0]>0))))return{data:{index:t,overflows:$},reset:{placement:n}};let e=null==(N=$.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:N.placement;if(!e)switch(F){case"bestFit":{var j;const t=null==(j=$.filter((t=>{if(H){const n=m(t.placement);return n===D||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:j[0];t&&(e=t);break}case"initialPlacement":e=c}if(r!==e)return{reset:{placement:e}}}return{}}}},xt=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(o){var r,i;const{placement:a,rects:c,platform:f,elements:d}=o,{apply:y=()=>{},...h}=l(t,o),p=await f.detectOverflow(o,h),w=s(a),g=u(a),x="y"===m(a),{width:v,height:b}=c.floating;let A,S;"top"===w||"bottom"===w?(A=w,S=g===(await(null==f.isRTL?void 0:f.isRTL(d.floating))?"start":"end")?"left":"right"):(S=w,A="end"===g?"top":"bottom");const R=b-p.top-p.bottom,F=v-p.left-p.right;let O=n(b-p[A],R),k=n(v-p[S],F);if(null!=(r=o.middlewareData.shift)&&r.enabled.x&&(k=F),null!=(i=o.middlewareData.shift)&&i.enabled.y&&(O=R),!o.middlewareData.shift&&!g){const t=e(p.left,0),n=e(p.right,0),o=e(p.top,0),r=e(p.bottom,0);x?k=v-2*(0!==t||0!==n?t+n:e(p.left,p.right)):O=b-2*(0!==o||0!==r?o+r:e(p.top,p.bottom))}await y({...o,availableWidth:k,availableHeight:O});const C=await f.getDimensions(d.floating);return v!==C.width||b!==C.height?{reset:{rects:!0}}:{}}}},vt=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e,platform:o}=n,{strategy:r="referenceHidden",...i}=l(t,n);switch(r){case"referenceHidden":{const t=F(await o.detectOverflow(n,{...i,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=F(await o.detectOverflow(n,{...i,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},bt=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:i,rects:a,platform:s,elements:f,middlewareData:m}=e,{element:h,padding:p=0}=l(t,e)||{};if(null==h)return{};const w=b(p),g={x:o,y:r},x=y(i),v=d(x),A=await s.getDimensions(h),S="y"===x,R=S?"top":"left",F=S?"bottom":"right",O=S?"clientHeight":"clientWidth",k=a.reference[v]+a.reference[x]-g[x]-a.floating[v],C=g[x]-a.reference[x],T=await(null==s.getOffsetParent?void 0:s.getOffsetParent(h));let D=T?T[O]:0;D&&await(null==s.isElement?void 0:s.isElement(T))||(D=f.floating[O]||a.floating[v]);const M=k/2-C/2,P=D/2-A[v]/2-1,z=n(w[R],P),H=n(w[F],P),L=z,B=D-A[v]-H,E=D/2-A[v]/2+M,$=c(L,E,B),I=!m.arrow&&null!=u(i)&&E!==$&&a.reference[v]/2-(E<L?z:H)-A[v]/2<0,N=I?E<L?E-L:E-B:0;return{[x]:g[x]+N,data:{[x]:$,centerOffset:E-$-N,...I&&{alignmentOffset:N}},reset:I}}}),At=(t,n,e)=>{const o=new Map,r={platform:dt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,c=a.detectOverflow?a:{...a,detectOverflow:R},l=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=S(s,o,l),d=o,m=0;const y={};for(let e=0;e<i.length;e++){const h=i[e];if(!h)continue;const{name:p,fn:w}=h,{x:g,y:x,data:v,reset:b}=await w({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:y,rects:s,platform:c,elements:{reference:t,floating:n}});u=null!=g?g:u,f=null!=x?x:f,y[p]={...y[p],...v},b&&m<50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(s=!0===b.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):b.rects),({x:u,y:f}=S(s,d,l))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:y}})(t,n,{...r,platform:i})};export{yt as a,bt as b,At as c,ht as d,xt as e,gt as f,vt as h,pt as o,wt as s}
|