genesys-spark-components 4.186.1 → 4.187.1
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/genesys-webcomponents.cjs.js +2 -2
- package/dist/cjs/{get-valid-timezone-wrCyyRlV.js → get-valid-timezone-Bnt1qVB-.js} +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +6 -6
- package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
- package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
- package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
- package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +4 -4
- 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 +5 -5
- package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-blank-state.cjs.entry.js +4 -4
- package/dist/cjs/gux-branch-multi.cjs.entry.js +5 -5
- package/dist/cjs/gux-branch.cjs.entry.js +4 -4
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
- package/dist/cjs/gux-button-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-button-slot.cjs.entry.js +3 -3
- package/dist/cjs/gux-button_2.cjs.entry.js +7 -7
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +144 -166
- package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
- package/dist/cjs/gux-card.cjs.entry.js +4 -4
- package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
- package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
- package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
- package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
- package/dist/cjs/gux-cta-group.cjs.entry.js +2 -2
- package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/gux-day-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +8 -8
- package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-description.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-color.cjs.entry.js +8 -8
- package/dist/cjs/{gux-form-field-container-C_ksnWvh.js → gux-form-field-container-BkBBWJ-I.js} +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
- package/dist/cjs/{gux-form-field-error-DsQplUhW.js → gux-form-field-error-FIcB4Fjw.js} +1 -1
- package/dist/cjs/{gux-form-field-fieldset-container-DDS9BG7u.js → gux-form-field-fieldset-container-SYa1tvh_.js} +1 -1
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +14 -14
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-range.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-search.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-select.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
- package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-footer.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-heading.cjs.entry.js +2 -2
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-icon.cjs.entry.js +3 -3
- package/dist/cjs/gux-illustration-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
- package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +6 -6
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-leaf-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-leaf.cjs.entry.js +4 -4
- package/dist/cjs/gux-link-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
- package/dist/cjs/gux-logo-beta.cjs.entry.js +6 -6
- package/dist/cjs/gux-logomark-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-modal.cjs.entry.js +3 -3
- package/dist/cjs/gux-month-calendar.cjs.entry.js +3 -3
- package/dist/cjs/gux-month-list_2.cjs.entry.js +3 -3
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-option-status-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-popover-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-popover-list.cjs.entry.js +5 -5
- package/dist/cjs/gux-popup.cjs.entry.js +4 -4
- package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
- package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
- package/dist/cjs/gux-rating.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +9 -9
- package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +7 -7
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-row-select.cjs.entry.js +4 -4
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-select-all.cjs.entry.js +4 -4
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-side-panel-header.cjs.entry.js +3 -3
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +3 -3
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
- package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-step-title.cjs.entry.js +3 -3
- package/dist/cjs/gux-step.cjs.entry.js +5 -5
- package/dist/cjs/gux-stepper-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
- package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
- package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
- package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
- package/dist/cjs/gux-table.cjs.entry.js +4 -4
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
- package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
- package/dist/cjs/gux-tag.cjs.entry.js +5 -5
- package/dist/cjs/gux-text-highlight.cjs.entry.js +7 -5
- package/dist/cjs/gux-time-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-time-picker.cjs.entry.js +7 -5
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-toast.cjs.entry.js +4 -4
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
- package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +9 -9
- package/dist/cjs/gux-tree-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +5 -5
- package/dist/cjs/{gux-tree-multi.service-BFBspBvZ.js → gux-tree-multi.service-BMVYO4y1.js} +1 -1
- package/dist/cjs/{gux-tree.service-DM6q_PoD.js → gux-tree.service-DSfLZNH7.js} +1 -1
- package/dist/cjs/{index-CjUBUVCO.js → index-CnZZCg2E.js} +1 -1
- package/dist/cjs/index-DJ9HGtdZ.js +2759 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{on-click-outside-CXDzyPsA.js → on-click-outside-Cn9ProR4.js} +1 -1
- package/dist/cjs/{on-mutation-Bpt2qL-s.js → on-mutation-una8GcoZ.js} +1 -1
- package/dist/cjs/{on-resize-nisbdZkE.js → on-resize-BVaymqbW.js} +1 -1
- package/dist/cjs/{usage-o6I3mOuO.js → usage-Ypiicskt.js} +1 -1
- package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/gux-avatar-change-photo.js +2 -2
- package/dist/collection/components/beta/gux-avatar/gux-avatar.js +3 -3
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.js +2 -2
- package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.css +8 -4
- package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.js +251 -142
- package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.service.js +55 -0
- package/dist/collection/components/beta/gux-calendar-beta/tests/gux-calendar.common.js +40 -0
- package/dist/collection/components/beta/gux-calendar-beta/tests/tests.service.playwright.js +5 -5
- package/dist/collection/components/beta/gux-cloud-logo/gux-cloud-logo.js +2 -2
- package/dist/collection/components/beta/gux-cloud-logomark/gux-cloud-logomark.js +2 -2
- package/dist/collection/components/beta/gux-cta-group/gux-cta-group.js +1 -1
- package/dist/collection/components/beta/gux-date/gux-date.js +3 -3
- package/dist/collection/components/beta/gux-date-time/gux-date-time.js +3 -3
- package/dist/collection/components/beta/gux-day/gux-day.js +2 -2
- package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +2 -2
- package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/gux-form-fieldset-heading.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.js +2 -2
- package/dist/collection/components/beta/gux-form/gux-form-heading/gux-form-heading.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form.js +1 -1
- package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
- package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.js +2 -2
- package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
- package/dist/collection/components/beta/gux-link/gux-link.js +1 -1
- package/dist/collection/components/beta/gux-logo/gux-logo.js +4 -4
- package/dist/collection/components/beta/gux-logomark/gux-logomark.js +2 -2
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +2 -2
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +2 -2
- package/dist/collection/components/beta/gux-option-status/gux-option-status.js +2 -2
- package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +2 -2
- package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +2 -2
- package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +2 -2
- package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.js +3 -3
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.js +2 -2
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +2 -2
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.js +2 -2
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +3 -3
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.js +3 -3
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.js +3 -3
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +2 -2
- package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-divider/gux-segmented-control-divider.js +1 -1
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
- package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
- package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-header/gux-side-panel-header.js +1 -1
- package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
- package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
- package/dist/collection/components/beta/gux-status-indicator/gux-status-indicator.js +1 -1
- package/dist/collection/components/beta/gux-stepper/gux-step/gux-step-title/gux-step-title.js +1 -1
- package/dist/collection/components/beta/gux-stepper/gux-step/gux-step.js +3 -3
- package/dist/collection/components/beta/gux-stepper/gux-stepper.js +2 -2
- package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
- package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +2 -2
- package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +3 -3
- package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
- package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
- package/dist/collection/components/beta/gux-tooltip-pointer-beta/gux-tooltip-pointer.js +1 -1
- package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.js +2 -2
- package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.js +2 -2
- package/dist/collection/components/beta/gux-tree/gux-tree.js +2 -2
- package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.js +3 -3
- package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.js +2 -2
- package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +2 -2
- package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +3 -3
- package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +3 -3
- package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
- package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +2 -2
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +3 -3
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +2 -2
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
- package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
- package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
- package/dist/collection/components/stable/gux-action-button/gux-action-button.js +2 -2
- package/dist/collection/components/stable/gux-badge/gux-badge.js +2 -2
- package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +2 -2
- package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
- package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
- package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
- package/dist/collection/components/stable/gux-calendar/gux-calendar.js +2 -2
- package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +4 -4
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +2 -2
- package/dist/collection/components/stable/gux-content-search/gux-content-search.js +3 -3
- package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +3 -3
- package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +2 -2
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +2 -2
- package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +3 -3
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +2 -2
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +2 -2
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +2 -2
- package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +3 -3
- 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-menu.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +5 -5
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +5 -5
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +4 -4
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +2 -2
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-label-indicator/gux-form-field-label-indicator.js +1 -1
- package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
- package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +3 -3
- package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
- package/dist/collection/components/stable/gux-listbox/gux-listbox.js +1 -1
- package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +3 -3
- package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +1 -1
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +3 -3
- package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +3 -3
- package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
- package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
- package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +2 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +5 -5
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +3 -3
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +2 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
- package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.js +1 -1
- package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
- package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
- package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +2 -2
- package/dist/collection/components/stable/gux-rating/gux-rating.js +2 -2
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +2 -2
- package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +2 -2
- package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +3 -3
- package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +2 -2
- package/dist/collection/components/stable/gux-table/gux-table.js +2 -2
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +2 -2
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +3 -3
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +3 -3
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +2 -2
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
- package/dist/collection/components/stable/gux-tag/gux-tag.js +2 -2
- package/dist/collection/components/stable/gux-text-highlight/gux-text-highlight.js +3 -1
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +2 -2
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.service.js +3 -1
- package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle.js +3 -3
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
- package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
- package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
- package/dist/collection/utils/string/search.js +2 -2
- package/dist/esm/genesys-webcomponents.js +3 -3
- package/dist/esm/{get-valid-timezone-LDHU1yLM.js → get-valid-timezone-BwWDgKs2.js} +1 -1
- package/dist/esm/gux-accordion-section.entry.js +6 -6
- package/dist/esm/gux-accordion.entry.js +3 -3
- package/dist/esm/gux-action-button.entry.js +5 -5
- package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
- package/dist/esm/gux-all-row-select.entry.js +3 -3
- package/dist/esm/gux-announce-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-beta.entry.js +5 -5
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +4 -4
- 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 +5 -5
- package/dist/esm/gux-blank-state-beta.entry.js +3 -3
- package/dist/esm/gux-blank-state.entry.js +4 -4
- package/dist/esm/gux-branch-multi.entry.js +5 -5
- package/dist/esm/gux-branch.entry.js +4 -4
- package/dist/esm/gux-breadcrumb-item.entry.js +2 -2
- package/dist/esm/gux-breadcrumbs.entry.js +4 -4
- package/dist/esm/gux-button-multi.entry.js +4 -4
- package/dist/esm/gux-button-slot.entry.js +3 -3
- package/dist/esm/gux-button_2.entry.js +7 -7
- package/dist/esm/gux-calendar-beta.entry.js +144 -166
- package/dist/esm/gux-calendar.entry.js +4 -4
- package/dist/esm/gux-card.entry.js +4 -4
- package/dist/esm/gux-cloud-logo-beta.entry.js +4 -4
- package/dist/esm/gux-cloud-logomark-beta.entry.js +4 -4
- package/dist/esm/gux-column-manager-item.entry.js +5 -5
- package/dist/esm/gux-column-manager.entry.js +4 -4
- package/dist/esm/gux-content-search.entry.js +5 -5
- package/dist/esm/gux-context-menu.entry.js +6 -6
- package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
- package/dist/esm/gux-create-option.entry.js +4 -4
- package/dist/esm/gux-cta-group.entry.js +2 -2
- package/dist/esm/gux-date-beta.entry.js +5 -5
- package/dist/esm/gux-date-time-beta.entry.js +5 -5
- package/dist/esm/gux-datepicker.entry.js +5 -5
- package/dist/esm/gux-day-beta.entry.js +3 -3
- package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
- package/dist/esm/gux-dismiss-button.entry.js +5 -5
- package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi.entry.js +6 -6
- package/dist/esm/gux-dropdown-option.entry.js +2 -2
- package/dist/esm/gux-dropdown_3.entry.js +8 -8
- package/dist/esm/gux-file-list-item.entry.js +5 -5
- package/dist/esm/gux-flag-icon-beta.entry.js +4 -4
- package/dist/esm/gux-flyout-menu.entry.js +5 -5
- package/dist/esm/gux-form-beta.entry.js +2 -2
- package/dist/esm/gux-form-description.entry.js +2 -2
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
- package/dist/esm/gux-form-field-checkbox.entry.js +6 -6
- package/dist/esm/gux-form-field-color.entry.js +8 -8
- package/dist/esm/{gux-form-field-container-Dp9t605U.js → gux-form-field-container-CFRZ4efk.js} +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
- package/dist/esm/{gux-form-field-error-CUxY2-XD.js → gux-form-field-error-DqC53Y19.js} +1 -1
- package/dist/esm/{gux-form-field-fieldset-container-BT88yCp7.js → gux-form-field-fieldset-container-DgG_S0vs.js} +1 -1
- package/dist/esm/gux-form-field-file-beta.entry.js +7 -7
- package/dist/esm/gux-form-field-file.entry.js +6 -6
- package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
- package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
- package/dist/esm/gux-form-field-number_2.entry.js +14 -14
- package/dist/esm/gux-form-field-phone.entry.js +10 -10
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
- package/dist/esm/gux-form-field-radio.entry.js +6 -6
- package/dist/esm/gux-form-field-range.entry.js +8 -8
- package/dist/esm/gux-form-field-search.entry.js +8 -8
- package/dist/esm/gux-form-field-select.entry.js +8 -8
- package/dist/esm/gux-form-field-text-like.entry.js +8 -8
- package/dist/esm/gux-form-field-textarea.entry.js +7 -7
- package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
- package/dist/esm/gux-form-fieldset-heading.entry.js +2 -2
- package/dist/esm/gux-form-footer.entry.js +4 -4
- package/dist/esm/gux-form-heading.entry.js +2 -2
- package/dist/esm/gux-icon-tooltip-beta.entry.js +3 -3
- package/dist/esm/gux-icon.entry.js +3 -3
- package/dist/esm/gux-illustration-beta.entry.js +2 -2
- package/dist/esm/gux-inline-alert.entry.js +5 -5
- package/dist/esm/gux-inline-dropdown-beta.entry.js +6 -6
- package/dist/esm/gux-label-info-beta.entry.js +3 -3
- package/dist/esm/gux-leaf-multi.entry.js +4 -4
- package/dist/esm/gux-leaf.entry.js +4 -4
- package/dist/esm/gux-link-beta.entry.js +3 -3
- package/dist/esm/gux-list-divider.entry.js +2 -2
- package/dist/esm/gux-list-item.entry.js +2 -2
- package/dist/esm/gux-list.entry.js +3 -3
- package/dist/esm/gux-listbox-multi.entry.js +4 -4
- package/dist/esm/gux-loading-message.entry.js +3 -3
- package/dist/esm/gux-logo-beta.entry.js +6 -6
- package/dist/esm/gux-logomark-beta.entry.js +4 -4
- package/dist/esm/gux-menu-option.entry.js +2 -2
- package/dist/esm/gux-menu.entry.js +2 -2
- package/dist/esm/gux-modal-legacy.entry.js +4 -4
- package/dist/esm/gux-modal-side-panel-beta.entry.js +3 -3
- package/dist/esm/gux-modal.entry.js +3 -3
- package/dist/esm/gux-month-calendar.entry.js +3 -3
- package/dist/esm/gux-month-list_2.entry.js +3 -3
- package/dist/esm/gux-month-picker-beta.entry.js +5 -5
- package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-option-group-beta.entry.js +2 -2
- package/dist/esm/gux-option-icon.entry.js +3 -3
- package/dist/esm/gux-option-multi.entry.js +4 -4
- package/dist/esm/gux-option-status-beta.entry.js +3 -3
- package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
- package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
- package/dist/esm/gux-pagination-cursor.entry.js +3 -3
- package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
- package/dist/esm/gux-pagination-legacy.entry.js +3 -3
- package/dist/esm/gux-pagination.entry.js +3 -3
- package/dist/esm/gux-phone-input-beta.entry.js +5 -5
- package/dist/esm/gux-popover-beta.entry.js +5 -5
- package/dist/esm/gux-popover-list-beta.entry.js +5 -5
- package/dist/esm/gux-popover-list.entry.js +5 -5
- package/dist/esm/gux-popup.entry.js +4 -4
- package/dist/esm/gux-prompt-input-beta.entry.js +5 -5
- package/dist/esm/gux-radial-loading.entry.js +4 -4
- package/dist/esm/gux-radial-progress.entry.js +2 -2
- package/dist/esm/gux-rating.entry.js +5 -5
- package/dist/esm/gux-rich-highlight-list-item.entry.js +5 -5
- package/dist/esm/gux-rich-style-list-item_3.entry.js +9 -9
- package/dist/esm/gux-rich-text-editor-action-group.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-beta.entry.js +7 -7
- package/dist/esm/gux-rich-text-editor-list.entry.js +3 -3
- package/dist/esm/gux-row-select.entry.js +4 -4
- package/dist/esm/gux-screen-reader-beta.entry.js +3 -3
- package/dist/esm/gux-segmented-control-beta.entry.js +3 -3
- package/dist/esm/gux-segmented-control-divider.entry.js +2 -2
- package/dist/esm/gux-segmented-control-item.entry.js +5 -5
- package/dist/esm/gux-select-all.entry.js +4 -4
- package/dist/esm/gux-selector-card-beta.entry.js +4 -4
- package/dist/esm/gux-selector-cards-beta.entry.js +3 -3
- package/dist/esm/gux-side-panel-beta.entry.js +4 -4
- package/dist/esm/gux-side-panel-header.entry.js +3 -3
- package/dist/esm/gux-side-panel-heading.entry.js +3 -3
- package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
- package/dist/esm/gux-sort-control.entry.js +5 -5
- package/dist/esm/gux-status-indicator-beta.entry.js +3 -3
- package/dist/esm/gux-step-title.entry.js +3 -3
- package/dist/esm/gux-step.entry.js +5 -5
- package/dist/esm/gux-stepper-beta.entry.js +4 -4
- package/dist/esm/gux-submenu.entry.js +4 -4
- package/dist/esm/gux-switch-item.entry.js +2 -2
- package/dist/esm/gux-switch-legacy.entry.js +3 -3
- package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
- package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
- package/dist/esm/gux-tab-advanced.entry.js +4 -4
- package/dist/esm/gux-tab-list.entry.js +5 -5
- package/dist/esm/gux-tab-panel.entry.js +2 -2
- package/dist/esm/gux-tab.entry.js +3 -3
- package/dist/esm/gux-table-select-menu.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
- package/dist/esm/gux-table-toolbar.entry.js +6 -6
- package/dist/esm/gux-table.entry.js +4 -4
- package/dist/esm/gux-tabs-advanced.entry.js +3 -3
- package/dist/esm/gux-tabs.entry.js +3 -3
- package/dist/esm/gux-tag.entry.js +5 -5
- package/dist/esm/gux-text-highlight.entry.js +7 -5
- package/dist/esm/gux-time-beta.entry.js +5 -5
- package/dist/esm/gux-time-picker.entry.js +7 -5
- package/dist/esm/gux-time-zone-beta.entry.js +4 -4
- package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
- package/dist/esm/gux-toast.entry.js +4 -4
- package/dist/esm/gux-toggle-slider.entry.js +3 -3
- package/dist/esm/gux-toggle.entry.js +5 -5
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +5 -5
- package/dist/esm/gux-tooltip-pointer-beta.entry.js +3 -3
- package/dist/esm/gux-tooltip-title.entry.js +5 -5
- package/dist/esm/gux-tooltip_2.entry.js +9 -9
- package/dist/esm/gux-tree-beta.entry.js +5 -5
- package/dist/esm/gux-tree-multi-beta.entry.js +5 -5
- package/dist/esm/{gux-tree-multi.service-BLZ1mRfa.js → gux-tree-multi.service-CEhOBcZd.js} +1 -1
- package/dist/esm/{gux-tree.service-BDeQhvUY.js → gux-tree.service-DG8xt8RZ.js} +1 -1
- package/dist/esm/{index-BcJFUYIV.js → index-CeE4Vvh6.js} +1 -1
- package/dist/esm/index-mm833MRp.js +2727 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{on-click-outside-CQ9-ZPII.js → on-click-outside-BDKZueG1.js} +1 -1
- package/dist/esm/{on-mutation-CEhI74kI.js → on-mutation-BAeUmzgF.js} +1 -1
- package/dist/esm/{on-resize-BzUqKdDk.js → on-resize-ByRtFU8p.js} +1 -1
- package/dist/esm/{usage-m3Lae7sj.js → usage-Bk9hX_6O.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.css +9 -9
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-556113ac.entry.js → p-013e3c33.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-26332854.entry.js → p-024c5bd7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c905638c.entry.js → p-03897c15.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-13ac38be.entry.js → p-04431ed6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-09146dba.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0d4c3b8f.entry.js → p-091f39f1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-28bb190c.entry.js → p-09649590.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d895c2d4.entry.js → p-09de7dec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e77358d8.entry.js → p-09f33fd5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-91abcf19.entry.js → p-0cbff9e9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0dacef46.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4b45cd72.entry.js → p-0f3b84f0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-DTOY_vUZ.js → p-0tG-lFhH.js} +1 -1
- package/dist/genesys-webcomponents/{p-fa3dd755.entry.js → p-10260c86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bf044a81.entry.js → p-149c0790.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9579eeaa.entry.js → p-15694ab7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-48ca42f5.entry.js → p-15f3a969.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b0d02114.entry.js → p-163b7982.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ceb683a7.entry.js → p-189457b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-26ae37e2.entry.js → p-18a14293.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a466db49.entry.js → p-19040d1c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1a6f96bc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5b40c6e6.entry.js → p-1bd94bc5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8b78c6e6.entry.js → p-1c41349d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b823a092.entry.js → p-1d3ebb8c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a352dd2e.entry.js → p-1ff8c4dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1mmdDpx8.js +1 -0
- package/dist/genesys-webcomponents/{p-6d83742a.entry.js → p-20c7d0fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e9973aeb.entry.js → p-2236e4f5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-da5bf7b1.entry.js → p-2501d280.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-84f88012.entry.js → p-250391fe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-16b176e0.entry.js → p-2661b07e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2a98b607.entry.js +1 -0
- package/dist/genesys-webcomponents/p-2d2af6d1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3cd17631.entry.js → p-2ed010a8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-34fdea73.entry.js → p-2fcc608f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7f602357.entry.js → p-321d85f8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7467d78b.entry.js → p-32f17393.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b5b441a3.entry.js → p-349f1afa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-32e6acb8.entry.js → p-34c655eb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d22b1ee.entry.js → p-367ea289.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f21766df.entry.js → p-36af37ae.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-37b38bcc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-52373db0.entry.js → p-38fc0f14.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-be9f6a45.entry.js → p-3d4ebed0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3e50360d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f480585b.entry.js → p-3e898719.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f46d7dc9.entry.js → p-3ecb4060.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8a13909f.entry.js → p-4350f7bc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2afa3fa3.entry.js → p-4485df35.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-459e19df.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-53e22ff1.entry.js → p-47ba2493.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-487b8a7f.entry.js +1 -0
- package/dist/genesys-webcomponents/p-4b5e919b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-46a34101.entry.js → p-4c2f1433.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-467b440a.entry.js → p-4d4de998.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4d7bea11.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1f64bf9d.entry.js → p-4e5d7bcb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c8c0a498.entry.js → p-51afd986.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d8cbd44a.entry.js → p-53a84f93.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-49ee0c6f.entry.js → p-545bc747.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aaae46b8.entry.js → p-54608dba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4ad8978f.entry.js → p-56eefc7c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-581d8bab.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-941d403f.entry.js → p-5826fdec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ed882ba0.entry.js → p-5a6accac.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b12a8508.entry.js → p-5cc0dc7b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb37efda.entry.js → p-5cff9d1c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0b052d60.entry.js → p-5d8114f4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-27917cd5.entry.js → p-5e6a3b79.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7122ffc2.entry.js → p-5f4d960f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5cf81958.entry.js → p-6111e683.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5ac0a470.entry.js → p-6419f6ef.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-64b8f3c0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-908ebad2.entry.js → p-6747cb6b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4f2bbd47.entry.js → p-67ae6c31.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-994e4f51.entry.js → p-682398bc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b2334e35.entry.js → p-686a3f3c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-324d6857.entry.js → p-68826892.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-135367e9.entry.js → p-6b20aa19.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-71d25073.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5800a64c.entry.js → p-72be9416.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1fa2732f.entry.js → p-73b5d09a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-35a486e5.entry.js → p-7421a1b7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-19aae774.entry.js → p-743e60e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-777c1a9e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-57f2d1dc.entry.js → p-77ddb8e9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-083804b1.entry.js → p-77e16378.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-780e2bbc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7ee9b69d.entry.js → p-78e4a090.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-791c159e.entry.js +1 -0
- package/dist/genesys-webcomponents/p-7a1645fa.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-017cb9d5.entry.js → p-7a3b6441.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7b4ccc02.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-eeaf3569.entry.js → p-82f103c4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4a7ea7e8.entry.js → p-85aa96c9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-73082b46.entry.js → p-869cbfef.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-873a4971.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6143b5da.entry.js → p-8a7fe03e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-21d62416.entry.js → p-8a91eb6a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8ba208a6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d5c18713.entry.js → p-8d6ed0bb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e4a44c7d.entry.js → p-90110fb2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-59895996.entry.js → p-951e0b12.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-39260f95.entry.js → p-9607d0ae.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e1b2080a.entry.js → p-96e984bd.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-98004717.entry.js +1 -0
- package/dist/genesys-webcomponents/p-981cdb0b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d4cf29da.entry.js → p-9840f9d8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-99e2e425.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bd8741a3.entry.js → p-9a096d50.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-908be904.entry.js → p-9a329638.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3da05df8.entry.js → p-9bfab72c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9e7c72ef.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7091f5b2.entry.js → p-9eaaa1c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-daff771e.entry.js → p-9f492956.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-m3Lae7sj.js → p-Bk9hX_6O.js} +1 -1
- package/dist/genesys-webcomponents/{p-kyGdOoF4.js → p-BkM3RdTO.js} +1 -1
- package/dist/genesys-webcomponents/{p-CuKTBQuB.js → p-Bxg2lxW0.js} +1 -1
- package/dist/genesys-webcomponents/{p-BS-Yw6fq.js → p-CoPBSWau.js} +1 -1
- package/dist/genesys-webcomponents/{p-BvVMx5eW.js → p-CuMZPTZF.js} +1 -1
- package/dist/genesys-webcomponents/{p-DcL3bWH_.js → p-D7iHtfrY.js} +1 -1
- package/dist/genesys-webcomponents/{p-5GSd1tCA.js → p-DR1RHELj.js} +1 -1
- package/dist/genesys-webcomponents/{p-D1QZQXQN.js → p-D_8CR3cJ.js} +1 -1
- package/dist/genesys-webcomponents/{p-hPZIPnvb.js → p-KbW44rlb.js} +1 -1
- package/dist/genesys-webcomponents/{p-e0314387.entry.js → p-a4d41223.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-96154710.entry.js → p-a6077763.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aede3166.entry.js → p-abb54abc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e96fa35a.entry.js → p-abfec18e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-42a37e44.entry.js → p-ac905094.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ade4ba99.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-099f666a.entry.js → p-ae3a0ed8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a8143e2c.entry.js → p-ae67f863.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ef9c62f0.entry.js → p-aff0c154.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-514148f5.entry.js → p-b2d1ecce.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dad081b0.entry.js → p-b3e3f1ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-150a39e6.entry.js → p-b6e80839.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f59113f5.entry.js → p-b892cde5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b98a9f78.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5725af26.entry.js → p-bad949b8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8ff107e5.entry.js → p-bb323488.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3eba96cc.entry.js → p-bc6e07cf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-285ee4a0.entry.js → p-bef8cc12.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a3086e6.entry.js → p-c1db307f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c2d2430e.entry.js +1 -0
- package/dist/genesys-webcomponents/p-c4dee7b9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-541fb3fb.entry.js → p-ca64f653.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dfca7776.entry.js → p-cd893268.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6041e65b.entry.js → p-cdb721d8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cedfa7c0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-25fd3256.entry.js → p-cf318744.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3e99d726.entry.js → p-d219d656.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0b24178e.entry.js → p-d3b1d624.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-351b23d4.entry.js → p-d4135044.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-68dec694.entry.js → p-d47e350b.entry.js} +2 -2
- package/dist/genesys-webcomponents/{p-1d3c2d91.entry.js → p-d784f87d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b5a01b48.entry.js → p-d7a2b347.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a619a0ff.entry.js → p-d9ba561a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e7841f8f.entry.js → p-dbdc447e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a02a5f08.entry.js → p-dbe2fed8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-dc1fee05.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b21ed8c2.entry.js → p-dd9d3bc9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-154def26.entry.js → p-df4ac31b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f39ca032.entry.js → p-e0f750be.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-60011440.entry.js → p-e18193c8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-139620e1.entry.js → p-e21679ab.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e34ce4a0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-25b9ab49.entry.js → p-e3671880.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e5eea8aa.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8f4e6f19.entry.js → p-e902c696.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c961265f.entry.js → p-e92c1b8a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e8541175.entry.js → p-e95226d1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ea2ad326.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8033fd0b.entry.js → p-ea40f5b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70999d68.entry.js → p-eb5a48e9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9445c461.entry.js → p-ede10314.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-863302cc.entry.js → p-ee14d94c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6f9cfe1b.entry.js → p-ee857ca7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a739818.entry.js → p-f26230e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0cd588f1.entry.js → p-f26867a3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9fa06bad.entry.js → p-f413af7f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cae633ff.entry.js → p-f60dd4e1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2d4c4294.entry.js → p-f781f503.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f9f43ca9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-11837668.entry.js → p-f9f5f4b9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-38f5b4f6.entry.js → p-fb7ec589.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cb4791a1.entry.js → p-fc6234ce.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ff393e3b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-mm833MRp.js +2 -0
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-calendar-beta/gux-calendar.d.ts +23 -18
- package/dist/types/components/beta/gux-calendar-beta/gux-calendar.service.d.ts +18 -0
- package/dist/types/components/beta/gux-calendar-beta/gux-calendar.types.d.ts +5 -0
- package/dist/types/components/beta/gux-calendar-beta/tests/gux-calendar.common.d.ts +4 -0
- package/dist/types/components/beta/gux-date/gux-date.d.ts +2 -2
- package/dist/types/components/beta/gux-date-time/gux-date-time.d.ts +2 -2
- package/dist/types/components/beta/gux-phone-input/services/region-map.service.d.ts +1 -1
- package/dist/types/components/stable/gux-datepicker/gux-datepicker.d.ts +1 -1
- package/dist/types/components/stable/gux-flyout-menu/gux-flyout-menu.d.ts +1 -1
- package/dist/types/components.d.ts +34 -9
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-C1LZ-Zd8.js +0 -2759
- package/dist/esm/index-CjVJoR6g.js +0 -2727
- package/dist/genesys-webcomponents/p-056a7c6b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-23ae550d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2eeb7b23.entry.js +0 -1
- package/dist/genesys-webcomponents/p-45586ff0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-48de3ff3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5942b0f1.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5cf1b2ba.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5e48e9fb.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6a47bd85.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7869bfd9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7b70f2df.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8e9f07a4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-95aa1974.entry.js +0 -1
- package/dist/genesys-webcomponents/p-95f7a089.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9a59a9ca.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9d0d3fa8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9f983574.entry.js +0 -1
- package/dist/genesys-webcomponents/p-CjVJoR6g.js +0 -2
- package/dist/genesys-webcomponents/p-DaK6PJIg.js +0 -1
- package/dist/genesys-webcomponents/p-aab878b2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b6f2fc11.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b90aef76.entry.js +0 -1
- package/dist/genesys-webcomponents/p-bf7dad16.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c05f9f33.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c1eb882e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-cbfda3ac.entry.js +0 -1
- package/dist/genesys-webcomponents/p-cd9a57b8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-cf412061.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d5e4a275.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e181a441.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e1fe1a06.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e84d3b25.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ec5d01d6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f19811e6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f68b47d9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f6ecef3e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fcd6e603.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fcdc8ed7.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,f as i,h as s,a as o}from"./p-CjVJoR6g.js";import{O as n}from"./p-BvVMx5eW.js";import{b as a}from"./p-D1QZQXQN.js";import{s as r}from"./p-BMRf5pjV.js";import{o as l,c as u}from"./p-Cb3FOYGS.js";import{b as d}from"./p-Bg4q97BS.js";import{t as g}from"./p-m3Lae7sj.js";import{O as c}from"./p-DaK6PJIg.js";import{s as h,b as p}from"./p-zrBw_m7x.js";import{h as x}from"./p-qzV3vtOw.js";import"./p-Cd4R0amv.js";import"./p-DjLdmWVU.js";var f={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},v=function(t,e,i,s){var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const b=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.disabled=!1,this.required=!1,this.expanded=!1}watchValue(t){this.validateValue(t,this.listboxElement)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return void this.collapseListbox("focusFieldButton");case"Tab":return void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,h(this.listboxElement)))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&d((()=>{this.listboxElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){g(this.root),this.i18n=await a(this.root,f),l(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners(),this.applyTableStyle()}componentWillRender(){this.listboxElement&&this.validateValue(this.value,this.listboxElement)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.popupElement.classList.add("gux-has-table-parent")}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}activeElementNotListbox(){return document.activeElement!==this.listboxElement}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,r(this.root,"input"),r(this.root,"change")),this.collapseListbox("focusFieldButton")}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?s("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):s("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":return this.renderIconOption(t);case"gux-option-status-beta":return this.renderStatusOption(t);default:return e}}renderOption(t){let e=t.textContent;if(x(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return s("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),s("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},s("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),s("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderStatusOption(t){const e=t.textContent;return s("div",{class:"gux-status-indicator"},s("span",{class:`gux-status-icon gux-status-icon-${t.accent}`}),s("div",{class:"gux-status-indicator-text"},e))}renderPopup(){return s("slot",{slot:"popup"})}renderTarget(){return s("div",{class:{"gux-target-container-collapsed":!0,"gux-disabled":this.disabled},slot:"target"},s("button",{type:"button",class:"gux-field gux-field-button",disabled:u(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),s("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){return s("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return s("gux-popup",{key:"effe6593222d52242ed092025ecd4ee4a2ad8d77",expanded:this.expanded,disabled:this.disabled,inline:!0,ref:t=>this.popupElement=t},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return o(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};v([n({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),v([c({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=":host{display:inline-flex;inline-size:fit-content;min-inline-size:0;max-inline-size:100%}.gux-has-table-parent{position:relative;inset-inline-start:-8px}::slotted(gux-listbox){inline-size:fit-content}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;max-inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-dataTableItems-inlineDropdown-label-fontFamily);font-size:var(--gse-ui-dataTableItems-inlineDropdown-label-fontSize);font-weight:var(--gse-ui-dataTableItems-inlineDropdown-label-fontWeight);line-height:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);cursor:pointer;background-color:inherit}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding-block:4px;padding-inline:8px}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-field.gux-input-field{block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:inline-flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-dataTableItems-inlineDropdown-text)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dataTableItems-inlineDropdown-gap);color:var(--gse-ui-dataTableItems-inlineDropdown-chevron-default)}.gux-target-container-expanded{background-color:var(--gse-ui-dataTableItems-inlineDropdown-active);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-expanded:focus-visible{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)}.gux-target-container-expanded:focus-within:has(:focus-visible){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)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{outline:none;border:none}.gux-target-container-expanded .gux-field-button{inline-size:auto;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-target-container-collapsed .gux-field-button{border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{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)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){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)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dataTableItems-inlineDropdown-gap)}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{b as gux_inline_dropdown_beta}
|
|
1
|
+
import{r as t,c as e,f as i,h as s,a as o}from"./p-mm833MRp.js";import{O as n}from"./p-CuMZPTZF.js";import{b as a}from"./p-D_8CR3cJ.js";import{s as r}from"./p-BMRf5pjV.js";import{o as l,c as u}from"./p-Cb3FOYGS.js";import{b as d}from"./p-Bg4q97BS.js";import{t as g}from"./p-Bk9hX_6O.js";import{O as c}from"./p-1mmdDpx8.js";import{s as h,b as p}from"./p-zrBw_m7x.js";import{h as x}from"./p-qzV3vtOw.js";import"./p-Cd4R0amv.js";import"./p-DjLdmWVU.js";var f={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},b=function(t,e,i,s){var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const v=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.disabled=!1,this.required=!1,this.expanded=!1}watchValue(t){this.validateValue(t,this.listboxElement)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return void this.collapseListbox("focusFieldButton");case"Tab":return void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,h(this.listboxElement)))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&d((()=>{this.listboxElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){g(this.root),this.i18n=await a(this.root,f),l(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners(),this.applyTableStyle()}componentWillRender(){this.listboxElement&&this.validateValue(this.value,this.listboxElement)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.popupElement.classList.add("gux-has-table-parent")}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}activeElementNotListbox(){return document.activeElement!==this.listboxElement}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,r(this.root,"input"),r(this.root,"change")),this.collapseListbox("focusFieldButton")}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?s("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):s("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":return this.renderIconOption(t);case"gux-option-status-beta":return this.renderStatusOption(t);default:return e}}renderOption(t){let e=t.textContent;if(x(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return s("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),s("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},s("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),s("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderStatusOption(t){const e=t.textContent;return s("div",{class:"gux-status-indicator"},s("span",{class:`gux-status-icon gux-status-icon-${t.accent}`}),s("div",{class:"gux-status-indicator-text"},e))}renderPopup(){return s("slot",{slot:"popup"})}renderTarget(){return s("div",{class:{"gux-target-container-collapsed":!0,"gux-disabled":this.disabled},slot:"target"},s("button",{type:"button",class:"gux-field gux-field-button",disabled:u(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),s("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){return s("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return s("gux-popup",{key:"394f1b44198baae7af5e20e971ba6d5b3dd317c1",expanded:this.expanded,disabled:this.disabled,inline:!0,ref:t=>this.popupElement=t},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return o(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};b([n({triggerEvents:"mousedown"})],v.prototype,"onClickOutside",null),b([c({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=":host{display:inline-flex;inline-size:fit-content;min-inline-size:0;max-inline-size:100%}.gux-has-table-parent{position:relative;inset-inline-start:-8px}::slotted(gux-listbox){inline-size:fit-content}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;max-inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-dataTableItems-inlineDropdown-label-fontFamily);font-size:var(--gse-ui-dataTableItems-inlineDropdown-label-fontSize);font-weight:var(--gse-ui-dataTableItems-inlineDropdown-label-fontWeight);line-height:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);cursor:pointer;background-color:inherit}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding-block:4px;padding-inline:8px}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-field.gux-input-field{block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:inline-flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-dataTableItems-inlineDropdown-text)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dataTableItems-inlineDropdown-gap);color:var(--gse-ui-dataTableItems-inlineDropdown-chevron-default)}.gux-target-container-expanded{background-color:var(--gse-ui-dataTableItems-inlineDropdown-active);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-expanded:focus-visible{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)}.gux-target-container-expanded:focus-within:has(:focus-visible){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)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{outline:none;border:none}.gux-target-container-expanded .gux-field-button{inline-size:auto;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-target-container-collapsed .gux-field-button{border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{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)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){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)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dataTableItems-inlineDropdown-gap)}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{v as gux_inline_dropdown_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as
|
|
1
|
+
import{r as o,h as e,a as r}from"./p-mm833MRp.js";import{t as a}from"./p-Bk9hX_6O.js";import{b as s}from"./p-D_8CR3cJ.js";import"./p-Cd4R0amv.js";var l={genesysLogomark:"Genesys Logomark"};const g=class{constructor(e){o(this,e),this.variant="primary"}async componentWillLoad(){this.i18n=await s(this.root,l),a(this.root,{variant:this.variant})}render(){return e("svg",{key:"657aeec423b315f427af34c456bf24d643ab5b28",class:`gux-${this.variant}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 50","aria-label":this.i18n("genesysLogomark"),role:"img",focusable:"false"},e("path",{key:"2b608bb332f919f9363d562b85507b2bf63d42ec",class:"gux-foreground-fill",d:"M21.7947 34.7408H16.7148C14.6475 34.7408 12.6648 35.5446 11.203 36.9754C9.74117 38.4061 8.91992 40.3466 8.91992 42.37C8.91992 44.3933 9.74117 46.3338 11.203 47.7645C12.6648 49.1953 14.6475 49.9991 16.7148 49.9991H21.7947C23.862 49.9991 25.8447 49.1953 27.3065 47.7645C28.7683 46.3338 29.5896 44.3933 29.5896 42.37C29.5896 40.3466 28.7683 38.4061 27.3065 36.9754C25.8447 35.5446 23.862 34.7408 21.7947 34.7408Z"}),e("path",{key:"9129d3ef5a2cb1767ddb6178a7bd918570fbb2d1",class:"gux-foreground-fill",d:"M21.3004 15.0225H8.38053C6.15787 15.0225 4.02625 15.8881 2.4546 17.4289C0.882946 18.9697 0 21.0594 0 23.2384C0 25.4174 0.882946 27.5072 2.4546 29.048C4.02625 30.5888 6.15787 31.4544 8.38053 31.4544H21.3004C22.401 31.4544 23.4907 31.2419 24.5075 30.829C25.5243 30.4161 26.4481 29.8109 27.2264 29.048C28.0046 28.2851 28.6219 27.3793 29.043 26.3825C29.4642 25.3857 29.681 24.3174 29.681 23.2384C29.681 22.1595 29.4642 21.0911 29.043 20.0943C28.6219 19.0975 28.0046 18.1918 27.2264 17.4289C26.4481 16.6659 25.5243 16.0608 24.5075 15.6479C23.4907 15.235 22.401 15.0225 21.3004 15.0225Z"}),e("path",{key:"f64536d67b8936a0c86df8e01e8d6340192e5fb2",class:"gux-foreground-fill",d:"M17.8403 5.8683C17.8403 2.62719 20.4678 -0.000244141 23.7089 -0.000244141C26.95 -0.000244141 29.5774 2.62719 29.5774 5.8683C29.5774 9.10941 26.95 11.7368 23.7089 11.7368C20.4678 11.7368 17.8403 9.10941 17.8403 5.8683Z"}),e("path",{key:"39c6edcc4a079e9263d06e33b2c37c8960b34d4a",class:"gux-foreground-outline",d:"M16.7153 35.5144H21.7954C23.6628 35.5145 25.4506 36.2406 26.7661 37.5281C28.0811 38.815 28.8168 40.5572 28.8169 42.3699C28.8169 44.1826 28.081 45.9247 26.7661 47.2117C25.4506 48.4992 23.6628 49.2253 21.7954 49.2253H16.7153C14.8478 49.2253 13.0602 48.4992 11.7446 47.2117C10.4297 45.9247 9.69385 44.1826 9.69385 42.3699C9.6939 40.5572 10.4297 38.815 11.7446 37.5281C13.0602 36.2406 14.8479 35.5144 16.7153 35.5144Z"}),e("path",{key:"bcdc87d089ada034c9567c8f3c6708f489939093",class:"gux-foreground-outline",d:"M8.38086 15.7959H21.3008C22.3017 15.7959 23.2928 15.9891 24.2168 16.3643C25.1408 16.7395 25.9789 17.2897 26.6846 17.9814C27.3902 18.6733 27.949 19.4937 28.3301 20.3955C28.7111 21.2973 28.9072 22.2631 28.9072 23.2383C28.9072 24.2134 28.7111 25.1793 28.3301 26.0811C27.949 26.9829 27.3902 27.8043 26.6846 28.4961C25.979 29.1877 25.1406 29.7371 24.2168 30.1123C23.2928 30.4875 22.3017 30.6806 21.3008 30.6807H8.38086C6.35857 30.6807 4.42154 29.8934 2.99609 28.4961C1.57115 27.0991 0.773438 25.2071 0.773438 23.2383C0.773476 21.2695 1.57126 19.3784 2.99609 17.9814C4.42156 16.584 6.35846 15.7959 8.38086 15.7959Z"}),e("path",{key:"077c3c093e0ea6e245dec38f7cd751900513e2df",class:"gux-foreground-outline",d:"M23.7085 0.773193C26.5223 0.773193 28.804 3.05419 28.8042 5.86792C28.8042 8.68182 26.5224 10.9636 23.7085 10.9636C20.8948 10.9634 18.6138 8.68169 18.6138 5.86792C18.614 3.05432 20.8949 0.773399 23.7085 0.773193Z"}))}get root(){return r(this)}};g.style=":host{display:inline-block}svg{inline-size:100%;block-size:100%;fill:var(--gse-core-color-transparent)}svg .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-primary)}svg.gux-neutral .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-neutral)}svg.gux-outlined .gux-foreground-fill{fill:var(--gse-core-color-transparent)}svg.gux-outlined .gux-foreground-outline{stroke:var(--gse-ui-logo-brand-logomark-outlined);stroke-width:1.5}";export{g as gux_logomark_beta}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,h as t,a}from"./p-mm833MRp.js";import{b as e}from"./p-D_8CR3cJ.js";import{t as n}from"./p-Bk9hX_6O.js";import"./p-Cd4R0amv.js";var o={navigationName:"Skip links navigation"};const s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"e1a743527d342181d1b7f4ff0b67b2f160b13064",class:"gux-container"},t("nav",{key:"ce0682c740a6065436083ad2d15437c135948b2e","aria-label":this.i18n("navigationName")},t("ul",{key:"d1d66d8731bc5955576b57d269ee4e6b72578cf5",role:"list"},t("slot",{key:"009ac510c457f5b8a68131666daa7f1222b7080e"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,f as i,h as o,a as r,H as s}from"./p-CjVJoR6g.js";import{O as n}from"./p-BvVMx5eW.js";import{b as l}from"./p-D1QZQXQN.js";import{s as a}from"./p-BMRf5pjV.js";import{o as u,c as d}from"./p-Cb3FOYGS.js";import{b as g}from"./p-Bg4q97BS.js";import{t as h}from"./p-m3Lae7sj.js";import{O as c}from"./p-DaK6PJIg.js";import{s as f,b as p,g as x,a as b,d as v,h as m,e as w,f as C,i as y,j as k,k as z,l as F,m as j,n as O,o as T,c as S,p as L}from"./p-zrBw_m7x.js";import{h as E}from"./p-qzV3vtOw.js";import{w as R}from"./p-kLXvN2m9.js";import{g as D}from"./p-Cd4R0amv.js";import{b as W}from"./p-CK42c8Uy.js";import{r as B}from"./p-D9jKBqIb.js";import{g as I}from"./p-MAoEg4ig.js";import"./p-DjLdmWVU.js";var H={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},V=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const A=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.disabled=!1,this.required=!1,this.loading=!1,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){!t&&this.filterElement&&(this.filter="",this.filterElement.value="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("noFocusChange")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,f(this.listboxElement)));case"Enter":case" ":return void(this.expanded||this.isFilterable()||f(this.listboxElement))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t),this.isFilterable()&&!this.root.contains(null==t?void 0:t.relatedTarget)&&this.filterElement.focus()}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&g((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){h(this.root),this.i18n=await l(this.root,H),u(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void f(this.listboxElement);case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,a(this.root,"input"),a(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){const e=t.length;if(e>0&&!this.loading){const i=x(this.listboxElement,t);if(i&&"custom"!==this.filterType){const t=b(i);return null==t?void 0:t.substring(e)}}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?o("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":case"gux-option-status-beta":return this.renderIconOption(t);default:return e}}getOptionDefaultText(t){return b(t)}renderOption(t){return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},this.getOptionDefaultText(t))}renderIconOption(t){let e=null,i=t.textContent;return null!==t.iconColor&&(e={color:t.iconColor}),E(t,"subtext")&&(i=this.getOptionDefaultText(t)),o("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),o("gux-truncate",{ref:t=>this.truncateElement=t},i))}renderFilterInputField(){if(this.isFilterable())return o("div",{class:"gux-field gux-input-field",dir:"auto"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.filter),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),o("div",{class:"input-and-dropdown-button"},o("input",{class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this),onFocus:()=>this.expanded=!0,disabled:this.disabled}),this.renderTargetContent()))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-filterable":this.isFilterable(),"gux-target-container-filterable-active":this.expanded&&this.isFilterable(),"gux-target-container-not-filterable":!this.isFilterable(),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:d(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},!this.isFilterable()&&this.renderTargetContent(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return o("gux-popup",{key:"c2672a5985e694e0e6ed7789efe0282619cfb56f",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};V([n({triggerEvents:"mousedown"})],A.prototype,"onClickOutside",null),V([c({childList:!0,subtree:!0})],A.prototype,"onMutation",null),A.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-filterable{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);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);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-filterable,.gux-target-container-not-filterable .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-not-filterable .gux-field-button,.gux-error.gux-target-container-filterable{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-not-filterable .gux-field-button,.gux-disabled.gux-target-container-filterable{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-target-container-not-filterable .gux-field-button:hover,.gux-target-container-filterable:hover{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-field.gux-input-field{block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;block-size:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;inline-size:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-filterable{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-target-container-filterable.gux-target-container-filterable-active{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-input-borderRadius)}.gux-target-container-filterable:focus-visible{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)}.gux-target-container-filterable:focus-within:has(:focus-visible){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)}.gux-target-container-filterable .gux-filter-input{background-color:inherit;border:none}.gux-target-container-filterable .gux-filter-input:focus{outline:none;border:none}.gux-target-container-filterable .gux-filter-input::selection{color:inherit;background:transparent;}.gux-target-container-filterable .gux-field-button{inline-size:auto;block-size:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-filterable .gux-field-button:focus{outline:none}.gux-target-container-not-filterable .gux-field-button{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-target-container-not-filterable .gux-field-button:focus-visible{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)}.gux-target-container-not-filterable .gux-field-button:focus-within:has(:focus-visible){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)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dropdown-gap)}";const K=["gux-option","gux-option-icon","gux-option-status-beta"].join(",");var M={noMatches:"No matches",loading:"Loading..."};const N=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.filterType="none",this.disabled=!1,this.selectedValues=[],this.listboxOptions=[]}onBlur(){v(this.root)}onKeydown(t){if(!m(this.root))return t.preventDefault(),void f(this.root);switch(t.key){case"Enter":return t.preventDefault(),void j(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(z(this.root)?(t.stopPropagation(),F(this.root)):C(this.root));case"ArrowUp":return t.preventDefault(),void(y(this.root)?(t.stopPropagation(),k(this.root)):w(this.root));case"Home":return t.preventDefault(),void C(this.root);case"End":return t.preventDefault(),void w(this.root);case" ":return void t.preventDefault()}1!==t.key.length||O(this.root,t.key)}onKeyup(t){" "!==t.key||j(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){R(K,t,(t=>{T(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){j(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.selectedValues=S(this.value),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),a(this.root,"input"),a(this.root,"change")}async componentWillLoad(){h(this.root),this.i18n=await l(this.root,M),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!L(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():o(s,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return r(this)}};N.style=":host{scrollbar-color:var(--gse-ui-menu-border-color) transparent;scrollbar-width:thin;box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow:visible auto;outline:none;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius)}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center;text-align:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";const P=class{constructor(e){t(this,e),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hasSubtext=!1}handleActive(t){var e,i;t?null===(e=this.truncateElement)||void 0===e||e.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||B("gux-option"),this.onSubtextChange()}onSubtextChange(){const t=I(this.root,"subtext");this.hasSubtext=!!(null==t?void 0:t.trim())}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const t=D("gux-listbox",this.root);return null==t?void 0:t.disabled}render(){return o(s,{key:"1cd58023d7aabfe7be14cc2b1ba8128ee79ad75f",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":W(this.disabled||this.hasDisabledParent())},o("div",{key:"77a46069a8a6d24ced60cd9f3f3098f8b562c895",class:"gux-option-wrapper"},o("gux-truncate",{key:"a77b3bb3b0a9356d9f4e75a28ae325beaeb304b3","tooltip-placement":"right",ref:t=>this.truncateElement=t},o("slot",{key:"b73597354bcd5e4c904cb0d35a60019f1f057d75"})),o("slot",{key:"28893950327aed82016a5f0584228b5838550906",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return r(this)}static get watchers(){return{active:["handleActive"]}}};P.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}";export{A as gux_dropdown,N as gux_listbox,P as gux_option}
|
|
1
|
+
import{r as t,c as e,f as i,h as o,a as r,H as s}from"./p-mm833MRp.js";import{O as n}from"./p-CuMZPTZF.js";import{b as l}from"./p-D_8CR3cJ.js";import{s as a}from"./p-BMRf5pjV.js";import{o as u,c as d}from"./p-Cb3FOYGS.js";import{b as g}from"./p-Bg4q97BS.js";import{t as h}from"./p-Bk9hX_6O.js";import{O as c}from"./p-1mmdDpx8.js";import{s as f,b as p,g as x,a as b,d as v,h as m,e as w,f as C,i as y,j as k,k as z,l as F,m as j,n as O,o as T,c as S,p as E}from"./p-zrBw_m7x.js";import{h as L}from"./p-qzV3vtOw.js";import{w as R}from"./p-kLXvN2m9.js";import{g as D}from"./p-Cd4R0amv.js";import{b as W}from"./p-CK42c8Uy.js";import{r as B}from"./p-D9jKBqIb.js";import{g as H}from"./p-MAoEg4ig.js";import"./p-DjLdmWVU.js";var I={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},A=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const M=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.disabled=!1,this.required=!1,this.loading=!1,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){!t&&this.filterElement&&(this.filter="",this.filterElement.value="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("noFocusChange")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,f(this.listboxElement)));case"Enter":case" ":return void(this.expanded||this.isFilterable()||f(this.listboxElement))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t),this.isFilterable()&&!this.root.contains(null==t?void 0:t.relatedTarget)&&this.filterElement.focus()}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&g((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){h(this.root),this.i18n=await l(this.root,I),u(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void f(this.listboxElement);case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,a(this.root,"input"),a(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){const e=t.length;if(e>0&&!this.loading){const i=x(this.listboxElement,t);if(i&&"custom"!==this.filterType){const t=b(i);return null==t?void 0:t.substring(e)}}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?o("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":case"gux-option-status-beta":return this.renderIconOption(t);default:return e}}getOptionDefaultText(t){return b(t)}renderOption(t){return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},this.getOptionDefaultText(t))}renderIconOption(t){let e=null,i=t.textContent;return null!==t.iconColor&&(e={color:t.iconColor}),L(t,"subtext")&&(i=this.getOptionDefaultText(t)),o("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),o("gux-truncate",{ref:t=>this.truncateElement=t},i))}renderFilterInputField(){if(this.isFilterable())return o("div",{class:"gux-field gux-input-field",dir:"auto"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.filter),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),o("div",{class:"input-and-dropdown-button"},o("input",{class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this),onFocus:()=>this.expanded=!0,disabled:this.disabled}),this.renderTargetContent()))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-filterable":this.isFilterable(),"gux-target-container-filterable-active":this.expanded&&this.isFilterable(),"gux-target-container-not-filterable":!this.isFilterable(),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:d(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},!this.isFilterable()&&this.renderTargetContent(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return o("gux-popup",{key:"9e7bd1a3ef412ee6ac9548e1822e7ae1c75808b2",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};A([n({triggerEvents:"mousedown"})],M.prototype,"onClickOutside",null),A([c({childList:!0,subtree:!0})],M.prototype,"onMutation",null),M.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-filterable{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);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);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-filterable,.gux-target-container-not-filterable .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-not-filterable .gux-field-button,.gux-error.gux-target-container-filterable{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-not-filterable .gux-field-button,.gux-disabled.gux-target-container-filterable{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-target-container-not-filterable .gux-field-button:hover,.gux-target-container-filterable:hover{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-field.gux-input-field{block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;block-size:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;inline-size:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-filterable{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-target-container-filterable.gux-target-container-filterable-active{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-input-borderRadius)}.gux-target-container-filterable:focus-visible{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)}.gux-target-container-filterable:focus-within:has(:focus-visible){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)}.gux-target-container-filterable .gux-filter-input{background-color:inherit;border:none}.gux-target-container-filterable .gux-filter-input:focus{outline:none;border:none}.gux-target-container-filterable .gux-filter-input::selection{color:inherit;background:transparent;}.gux-target-container-filterable .gux-field-button{inline-size:auto;block-size:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-filterable .gux-field-button:focus{outline:none}.gux-target-container-not-filterable .gux-field-button{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-target-container-not-filterable .gux-field-button:focus-visible{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)}.gux-target-container-not-filterable .gux-field-button:focus-within:has(:focus-visible){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)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dropdown-gap)}";const K=["gux-option","gux-option-icon","gux-option-status-beta"].join(",");var V={noMatches:"No matches",loading:"Loading..."};const _=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.filterType="none",this.disabled=!1,this.selectedValues=[],this.listboxOptions=[]}onBlur(){v(this.root)}onKeydown(t){if(!m(this.root))return t.preventDefault(),void f(this.root);switch(t.key){case"Enter":return t.preventDefault(),void j(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(z(this.root)?(t.stopPropagation(),F(this.root)):C(this.root));case"ArrowUp":return t.preventDefault(),void(y(this.root)?(t.stopPropagation(),k(this.root)):w(this.root));case"Home":return t.preventDefault(),void C(this.root);case"End":return t.preventDefault(),void w(this.root);case" ":return void t.preventDefault()}1!==t.key.length||O(this.root,t.key)}onKeyup(t){" "!==t.key||j(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){R(K,t,(t=>{T(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){j(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.selectedValues=S(this.value),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),a(this.root,"input"),a(this.root,"change")}async componentWillLoad(){h(this.root),this.i18n=await l(this.root,V),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!E(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():o(s,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return r(this)}};_.style=":host{scrollbar-color:var(--gse-ui-menu-border-color) transparent;scrollbar-width:thin;box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow:visible auto;outline:none;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius)}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center;text-align:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";const N=class{constructor(e){t(this,e),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hasSubtext=!1}handleActive(t){var e,i;t?null===(e=this.truncateElement)||void 0===e||e.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||B("gux-option"),this.onSubtextChange()}onSubtextChange(){const t=H(this.root,"subtext");this.hasSubtext=!!(null==t?void 0:t.trim())}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const t=D("gux-listbox",this.root);return null==t?void 0:t.disabled}render(){return o(s,{key:"ec21be1002f3280612de75e37db95eb6972593fc",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":W(this.disabled||this.hasDisabledParent())},o("div",{key:"69c26d456a4f74f169b2018fd03525299fa5149f",class:"gux-option-wrapper"},o("gux-truncate",{key:"1c3c096df3bd18259cade9903165839d681377a4","tooltip-placement":"right",ref:t=>this.truncateElement=t},o("slot",{key:"f03c6a93e3d1764634aef45e40069e3be586c88d"})),o("slot",{key:"d15ee648db04cd5ee3cd065abbb0dedf9a631c3b",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return r(this)}static get watchers(){return{active:["handleActive"]}}};N.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}";export{M as gux_dropdown,_ as gux_listbox,N as gux_option}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./p-
|
|
1
|
+
import{a as n}from"./p-mm833MRp.js";function t(){return(t,e)=>{const{connectedCallback:s,disconnectedCallback:c}=t,i=new Map;t.connectedCallback=function(){const t=new ResizeObserver(this[e].bind(this));return function(t,e,s){t.has(e)&&t.get(e).disconnect(),t.set(e,s);const c=n(e);c instanceof Element&&s.observe(c)}(i,this,t),s&&s.call(this)},t.disconnectedCallback=function(){return function(n,t){n.has(t)&&n.get(t).disconnect(),n.delete(t)}(i,this),c&&c.call(this)}}}export{t as O}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as i,a as t}from"./p-
|
|
1
|
+
import{r as e,h as i,a as t}from"./p-mm833MRp.js";import{b as o}from"./p-D_8CR3cJ.js";import{O as r}from"./p-1mmdDpx8.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{t as s}from"./p-Bk9hX_6O.js";import{G as n,a as f}from"./p-BkM3RdTO.js";import{G as h,a as d,b as u}from"./p-DR1RHELj.js";import{h as p}from"./p-qzV3vtOw.js";import{g as c}from"./p-MAoEg4ig.js";import{v as m,a as g}from"./p-DHLxhscH.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.required=!1,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-phone-input-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.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-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info"),s(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){var e;return i(u,{key:"6ea123b795f941d395a7c1d7e8248c8184635f9d",labelPosition:this.computedLabelPosition},i(d,{key:"e35180713387b8b87a982794b63cf5197749b05f"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(c(this.root,"error"),this.hasError),this.renderText(c(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"0128e7171270e19de005c0a96111aeac91c87a87",position:this.computedLabelPosition,required:this.required},i("slot",{key:"e2e1ed9d712606fe4346ea71b1deb5156afc9362",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"400be36b93fcc6631d8daa566e7ba5cc60da27b4",variant:this.indicatorMark,required:this.required}),i("slot",{key:"b2141b31fea069c1bb53e09f6e94c7fcac247248",name:"label-info"})),i("div",{key:"0368025904483b8dd6e1d8eb9ed09b90c2fcc585",class:"gux-input-and-error-container"},i("div",{key:"65f23143dcafc6e43a7f015cd17a129c5cbeaf9b",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"dc607e41a5778de6e0d13b6a68234d3cd62d3c76",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"b72d8f134d6ad1ae8f385bf5463975682dfcf2cb"}))),i(n,{key:"47a516a955b5ea38ac3958bf7ec088819ae6a627",show:this.hasError},i("slot",{key:"f010fbaca29bdb66305ef43898b0166c75dc1b31",name:"error"})),i(f,{key:"69d4e91c95728faa37a37305688d3cda67baa9d2",show:!this.hasError&&this.hasHelp},i("slot",{key:"42b6207240a081af47c1be54b0d9e9a46fbe6c1b",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.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-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}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-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-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::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)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_phone}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as o,a as r}from"./p-
|
|
1
|
+
import{r as e,h as o,a as r}from"./p-mm833MRp.js";import{c as t,o as i}from"./p-Cb3FOYGS.js";import{O as n}from"./p-1mmdDpx8.js";import{o as l}from"./p-De1NnCmO.js";import{p as a}from"./p-PYfNAK8p.js";import{h as s}from"./p-qzV3vtOw.js";import{G as u,a as f}from"./p-BkM3RdTO.js";import{G as d,a as p}from"./p-Bxg2lxW0.js";import{v as c,a as g}from"./p-DHLxhscH.js";import{t as h}from"./p-Bk9hX_6O.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const m=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(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)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),h(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"8c5479b8fd09bbc9073cacfb06af0c7d9f9dd08d",labelPosition:this.computedLabelPosition},o(d,{key:"2328cf2f6608d0c6ca834636ffea363837bc9f20",required:this.required,position:this.computedLabelPosition},o("slot",{key:"05786d917bc60c7320bd7a91da1a51ccb2ffaff8",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"511c4b47c9a5404006c2ca14d278f096fe34fd31",variant:this.indicatorMark,required:this.required}),o("slot",{key:"60be6e914d33a654baed04a7787fd31acc76c769",name:"label-info"})),o("div",{key:"be7230bca4a5ac4668d5906ab48465dbb1807dfb",class:"gux-input-and-error-container"},o("div",{key:"8cc741be5b94dda1474c4e47c5b4d2f33c630d61",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"5af314bb0e48c2ab8da00be983cd76f7c96807a2",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"8253322c41297ef2295e0b1cb7908014310a187e",name:"input"}),o("gux-icon",{key:"414fd118181dd6a87cad8ae1abaaf5b73ee45a33","icon-name":"custom/chevron-down-small-regular",decorative:!0,size:"small"}))),o(u,{key:"ae8743e1cda6d0c5342b03ad6fd67a2a01599f2f",show:this.hasError},o("slot",{key:"84eab9fd4a7712f812dfe05cd1a31fb8681bdd3d",name:"error"})),o(f,{key:"da3fb38e991924f1a87ddc3b823ebb99875d9cfc",show:!this.hasError&&this.hasHelp},o("slot",{key:"7de985c4c6ab83808d9090e1b62eac449d3c4f61",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return r(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)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.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(select){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding-inline-start:var(--gse-ui-formControl-input-gap);color:var(--gse-ui-formControl-input-populatedColor);-moz-appearance:none;-webkit-appearance:none;appearance:none;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}::slotted(select)::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 .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;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);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{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;inset-block-start:0;inset-inline-end:0;margin:var(--gse-ui-formControl-input-padding);pointer-events:none}.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-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{m as gux_form_field_select}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as r,H as a,a as t}from"./p-
|
|
1
|
+
import{r as e,h as r,H as a,a as t}from"./p-mm833MRp.js";import{a as i}from"./p-DxtJDeL9.js";const n=class{constructor(r){e(this,r)}getAccent(){const e=this.root.closest("gux-breadcrumbs");if(e)return e.accent;i(this.root,"This component must be a child of a gux-breadcrumbs component.")}isActiveBreadcrumb(){const e=this.root.parentNode.children;return e[e.length-1]===this.root}getBreadcrumb(e){return this.isActiveBreadcrumb()?r("span",{class:"gux-breadcrumb-content gux-active","aria-current":"page"},r("slot",null)):this.href?r("gux-link-beta",{size:"secondary"===e?"small":"medium",standalone:!0},r("a",{href:this.href},r("slot",null))):r("span",{class:"gux-breadcrumb-content"},r("slot",null))}getSeparatorIcon(){return this.isActiveBreadcrumb()?null:r("span",{class:"gux-breadcrumb-separator","aria-hidden":"true"},"/")}render(){const e=this.getAccent();return r(a,{key:"84ef978533d902cabc1264d4641a17a52da1ac61",role:"listitem"},r("span",{key:"7afb53b4249c8c194a65472a50b817265351afc3",class:`gux-breadcrumb-generation gux-${e}`},this.getBreadcrumb(e),this.getSeparatorIcon()))}get root(){return t(this)}};n.style=".gux-breadcrumb-generation{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;min-block-size:var(--gse-ui-breadcrumbs-secondary-height)}.gux-breadcrumb-generation .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-small-text-fontFamily);font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight);text-decoration:none;color:var(--gse-ui-links-default-foregroundColor);pointer-events:none}.gux-breadcrumb-generation .gux-breadcrumb-content.gux-active{color:var(--gse-ui-links-active-foregroundColor)}.gux-breadcrumb-generation .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-secondary-separator-padding);font-family:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-secondary-separator-typography-lineHeight);color:var(--gse-ui-breadcrumbs-separator-color)}.gux-breadcrumb-generation.gux-primary{min-block-size:var(--gse-ui-breadcrumbs-primary-height)}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-medium-text-fontFamily);font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);text-decoration:none}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-primary-separator-padding);font-family:var(--gse-ui-breadcrumbs-primary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-primary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-primary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-primary-separator-typography-lineHeight)}";export{n as gux_breadcrumb_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,c as o,h as e,H as a,a as i}from"./p-
|
|
1
|
+
import{r as s,c as o,h as e,H as a,a as i}from"./p-mm833MRp.js";import{t as r}from"./p-Bk9hX_6O.js";const t=class{constructor(e){s(this,e),this.guxdismiss=o(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){r(this.root,{variant:this.accent})}render(){return e(a,{key:"72cd1e408d8eb9d9e41ae41a7e326e5780a9f605"},e("div",{key:"e9fc40e2d8d63761cc6bf9f64011a20482d916fa",class:`gux-icon gux-${this.accent}`},e("slot",{key:"30553267731d6cc8b33e36f27bc3187926393e78",name:"icon"})),e("gux-truncate",{key:"6ddefb0e3f05e36dbdbc04caac8b52ead0a955c3",class:"gux-message","max-lines":2},e("slot",{key:"1b15ff48c4c9b42b6c6fc50f4c82f3e019292a0a",name:"message"})),e("gux-dismiss-button",{key:"da4535b6aeeaf19171a172d4f464074e5603eb33",class:"gux-dismiss",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(s){s.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return i(this)}};t.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:286px;margin-bottom:4px;color:var(--gse-ui-toast-success-foregroundColor);background:var(--gse-ui-toast-success-backgroundColor);border:1px solid var(--gse-ui-card-default-border-color);border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;padding:8px 12px 8px 16px;margin:2px 0}.gux-icon.gux-alert{color:var(--gse-ui-toast-error-iconColor)}.gux-icon.gux-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-icon.gux-positive{color:var(--gse-ui-toast-success-iconColor)}.gux-icon.gux-neutral{color:var(--gse-ui-toast-info-iconColor)}.gux-icon ::slotted(gux-icon){width:16px;height:16px}.gux-message{flex:1 1 auto;align-self:center;order:0;margin:8px 0}.gux-dismiss{margin:4px 0}";export{t as gux_simple_toast_legacy}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,a as i}from"./p-
|
|
1
|
+
import{r as e,h as t,a as i}from"./p-mm833MRp.js";import{r as a}from"./p-D9jKBqIb.js";import{h as r,g as s,a as g}from"./p-KbW44rlb.js";import"./p-kLXvN2m9.js";const c=class{constructor(t){e(this,t),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.selected=!1,this._disabled=!1,this.active=!1,this.filtered=!1,this.size="comfy",this.alignment="start"}get disabled(){return this._disabled||r(this.root)}set disabled(e){this._disabled=e}handleActiveChange(e){this.root.setAttribute("tabIndex",e?"0":""),e&&this.root.focus()}componentWillLoad(){this.labelId=a("gux-leaf-label"),this.internals.role="treeitem",this.root.setAttribute("role","treeitem"),this.root.setAttribute("tabIndex",this.active?"0":""),this.size=s(this.root),this.alignment=g(this.root)}componentWillRender(){this.internals.ariaDisabled=String(this.disabled),this.root.setAttribute("aria-disabled",String(this.disabled)),this.internals.ariaSelected=String(this.selected),this.root.setAttribute("aria-selected",String(this.selected))}render(){return t("div",{key:"99a1c2dac0915217deed66883b81ed4e9a535b37",class:{"gux-wrapper":!0,"gux-compact":"compact"===this.size,"gux-end":"end"===this.alignment,"gux-disabled":this.disabled,"gux-selected":this.selected}},t("div",{key:"ebbde1b6586d5e9702205a116039108e15b2fed7",class:"gux-node"},t("div",{key:"238e7942d29f60b38ff3e7fde66626ddc8965ca8",class:"gux-selected-bookmark"}),t("div",{key:"c775d1f2986c3420fbd41cb58a65afb8f9ffc6ce",class:"gux-tree-item"},t("div",{key:"5eb8881175dc425be3dab7adda230a2b639c45ba",class:"gux-selection-target"},t("div",{key:"0619831125828984d911af9c46bcbd0206577687",class:"gux-checkbox-container"},t("input",{key:"fc64de6a2279a875fc331490100abaae1377f144",tabIndex:-1,type:"checkbox",checked:this.selected,disabled:this.disabled,"aria-labelledby":this.labelId})),t("div",{key:"c8a32032c2a8cc87397d1990e77fd478a81364b5",class:"gux-icon"},t("slot",{key:"8b20342e561990fd2e7310f4aa3dd66f3f87f5f1",name:"icon"})),t("div",{key:"925bf2141a05bc92a5cf590e72f32d8c98feb0bb",class:"gux-label",id:this.labelId},t("slot",{key:"809ec1560a1aa2b38e0221818b03343bb247330b",name:"label"}))))))}static get formAssociated(){return!0}get root(){return i(this)}static get watchers(){return{active:["handleActiveChange"]}}};c.style=":host{display:block}:host(:focus-visible){outline:none}:host(:focus-visible) .gux-node{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host(:focus-visible) .gux-tree-item{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-semantic-interactive-sm-gap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node .gux-selected-bookmark{flex:0 1 auto;align-self:auto;inline-size:6px;background:transparent;border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item{display:flex;flex:1 1 auto;align-items:center;align-self:auto;padding:var(--gse-ui-treeView-item-comfy-leftAligned-padding);border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item:has(:focus-visible),.gux-wrapper .gux-node .gux-tree-item:hover{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target{display:flex;flex:0 0 auto;gap:var(--gse-semantic-interactive-lg-gap);align-items:center;align-self:auto;padding-inline-start:8px}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container{display:flex;align-items:center}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-icon{display:flex;align-items:center}.gux-wrapper.gux-compact .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-leftAligned-padding)}.gux-wrapper.gux-compact .gux-tree-item .gux-selection-target{padding-inline-start:4px}.gux-wrapper.gux-compact.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-rightAligned-padding)}.gux-wrapper.gux-compact.gux-end .gux-tree-item .gux-selection-target{padding-inline-start:0}.gux-wrapper.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-comfy-rightAligned-padding)}.gux-wrapper.gux-end .gux-tree-item .gux-selection-target{padding-inline-start:0}.gux-wrapper.gux-selected .gux-selected-bookmark{background:var(--gse-semantic-background-interactive-primary-default)}.gux-wrapper.gux-selected .gux-tree-item{background-color:var(--gse-ui-treeView-background-selected)}.gux-wrapper.gux-disabled{opacity:var(--gse-ui-treeView-disableOpacity);pointer-events:none;cursor:default}::slotted(gux-icon[slot=icon]){display:flex;align-items:center;inline-size:16px;block-size:16px}";export{c as gux_leaf_multi}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as o,a as r}from"./p-
|
|
1
|
+
import{r as e,h as o,a as r}from"./p-mm833MRp.js";import{c as t,o as i}from"./p-Cb3FOYGS.js";import{O as n}from"./p-1mmdDpx8.js";import{o as l}from"./p-De1NnCmO.js";import{p as a}from"./p-PYfNAK8p.js";import{h as s}from"./p-qzV3vtOw.js";import{G as u,a as f}from"./p-BkM3RdTO.js";import{G as d,a as p}from"./p-Bxg2lxW0.js";import{g as c,v as g,a as h}from"./p-DHLxhscH.js";import{t as m}from"./p-Bk9hX_6O.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const b=class{constructor(o){e(this,o),this.indicatorMark="required",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(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)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"b0dff68fe51e564a03de305463201bda9b0e6a02",labelPosition:this.computedLabelPosition},o(d,{key:"63047e23a939942a6c8c052b304c4e9c97f05ecd",required:this.required,position:this.computedLabelPosition},o("slot",{key:"3dc3778704883f80e9c9095bff6e9eeb44b9b557",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"dc90b7fa687fde89265ce7f831aa0dc203bb5260",variant:this.indicatorMark,required:this.required}),o("slot",{key:"0985e952104b7b4eb671d7e2d8694cba80de5d2d",name:"label-info"})),o("div",{key:"3dbdee93b27211f1cdadf3cabb8b41ed9c651105",class:"gux-input-and-error-container"},o("div",{key:"1c93f6789571d4015631cd45bcd137333316c116",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"18d1bbbaf82b756aa81a0412da7ea6ab1eb4a420",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"7f8a5b88d5f593a05d272c69deebbf57ecb46139",name:"input",onSlotchange:()=>this.setInput()}))),o(u,{key:"b457a9c40422980f9f3f82b28ac8e5bbdfa286ef",show:this.hasError},o("slot",{key:"c46ba6ed3a74062df00e9c15ac0c1ddab1df7351",name:"error"})),o(f,{key:"166ad2fbd5e9a4e52da024143686f86acd6a49bc",show:!this.hasError&&this.hasHelp},o("slot",{key:"4c9ff51d12dd65b521cad5fda710a1463f534a93",name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="color"][slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}get root(){return r(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)})([n({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.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:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-colorPicker-input-swatchSizing);min-inline-size:var(--gse-ui-colorPicker-input-swatchSizing);block-size:var(--gse-ui-colorPicker-input-swatchSizing);padding:0;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);text-align:end;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-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:var(--gse-ui-formControl-input-colorPicker-size);block-size:var(--gse-ui-formControl-input-colorPicker-size);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);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{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.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{cursor:pointer;border-color: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{b as gux_form_field_color}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as n,a}from"./p-
|
|
1
|
+
import{r as e,h as n,a}from"./p-mm833MRp.js";import{t}from"./p-Bk9hX_6O.js";import{O as i}from"./p-1mmdDpx8.js";import{h as o}from"./p-qzV3vtOw.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1,this.hasGuidance=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}renderGuidanceSlot(){if(this.hasGuidance)return n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}render(){return n("div",{key:"e0b4592db9432b7d81863d0dbd9f5520d3b695dc",class:"gux-container"},n("div",{key:"4f7c1f730096c27c0e356d92976f78a499f2cc74",class:"gux-image"},n("slot",{key:"4c1a86ce0c49c0a17688bec2f26e61952ca0448b",name:"image"})),n("div",{key:"2ee832ec2d5d5a299582824617264e77a84e3dc0",class:"gux-message"},n("slot",{key:"eb97d58adfb206c09360028a81b49c75dc224447",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,d as e,h as r,a as o}from"./p-
|
|
1
|
+
import{r as t,c as i,d as e,h as r,a as o}from"./p-mm833MRp.js";import{O as n}from"./p-0tG-lFhH.js";import{h as s}from"./p-qzV3vtOw.js";import{t as a}from"./p-Bk9hX_6O.js";import{g as h}from"./p-wqCHc7t7.js";import{b as d}from"./p-D_8CR3cJ.js";import{t as c}from"./p-DN3YAdAX.js";import{a as l}from"./p-Bg4q97BS.js";import{O as u}from"./p-1mmdDpx8.js";import"./p-DCZG2J0G.js";import"./p-Cd4R0amv.js";var g=function(t,i,e,r){var o,n=arguments.length,s=n<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(n<3?o(s):n>3?o(i,e,s):o(i,e))||s);return n>3&&s&&Object.defineProperty(i,e,s),s};const x=class{constructor(e){t(this,e),this.guxToggleAction=i(this,"guxToggleAction",7),this.disabled=!1,this.typographicalEmphasisActions=[],this.textStylingActions=[],this.listsAndIndentationActions=[],this.insertingActions=[],this.hasToolbar=!1}checkResponsiveLayout(){e((()=>{this.handleOverflow(),this.getHiddenActions()}))}onMutation(){this.hasToolbar=this.hasToolbarChildren()}async componentWillLoad(){a(this.root),this.i18n=await d(this.root,c),this.hasToolbar=this.hasToolbarChildren()}componentDidLoad(){l((()=>{this.checkResponsiveLayout()}))}componentDidUpdate(){this.handleOverflow()}isOverFlowing(){var t;const i=null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector(".gux-rich-text-editor-toolbar-container");return Array.from(i.children).filter((t=>!t.classList.contains("gux-hidden"))).reduce(((t,i)=>t+i.clientWidth),0)>i.clientWidth}handleOverflow(){const t=Array.from(this.root.querySelectorAll("gux-rich-text-editor-action-group"));for(;this.isOverFlowing();){let i=!1;for(let e=t.length-1;e>=0;e--)if(!t[e].classList.contains("gux-hidden")){t[e].classList.add("gux-hidden"),i=!0;break}if(!i)break}for(const i of t)if(i.classList.contains("gux-hidden")&&(i.classList.remove("gux-hidden"),this.isOverFlowing())){i.classList.add("gux-hidden");break}}getHiddenActions(){this.typographicalEmphasisActions=h(this.root,'gux-rich-text-editor-action-group[slot="typographical-emphasis"]',"gux-hidden"),this.listsAndIndentationActions=h(this.root,'gux-rich-text-editor-action-group[slot="lists-indentation"]',"gux-hidden"),this.textStylingActions=h(this.root,'gux-rich-text-editor-action-group[slot="text-styling"]',"gux-hidden"),this.insertingActions=h(this.root,'gux-rich-text-editor-action-group[slot="inserting"]',"gux-hidden")}getAllActions(){return[...this.textStylingActions,...this.typographicalEmphasisActions,...this.listsAndIndentationActions,...this.insertingActions]}categorizeActions(t){const i=[],e=[],r=[];return t.forEach((t=>{t.startsWith("rich-style-")?i.push(t.slice(11)):t.startsWith("highlight-")?e.push(t.slice(10)):r.push(t)})),{richStyleActions:i,highlightActions:e,filteredActions:r}}renderListItems(t,i=!1){return t.map(((t,e)=>{const o=t.replace(/<\/?[^>]+(>|$)/g,"");return r("gux-rich-style-list-item",Object.assign({onClick:()=>this.guxToggleAction.emit(o),key:e,value:o},i?{innerHTML:t}:{}),!i&&(this.i18n(o)||o))}))}renderSubList(t,i,e=!1){if(i.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n(t)},this.renderListItems(i,e))}renderHighlightSubList(t){if(t.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n("textHighlight")},this.renderListItems(t),r("gux-rich-style-list-item",{onClick:()=>this.guxToggleAction.emit("noHighlightAction"),value:"noHighlight"},r("gux-truncate",{"max-lines":1},this.i18n("noHighlight"))))}renderTextEditorMenu(){const t=this.getAllActions();if(t.length>0){const{richStyleActions:i,highlightActions:e,filteredActions:o}=this.categorizeActions(t);return r("gux-rich-text-editor-menu",null,this.renderListItems(o),this.renderSubList("richStyle",i,!0),this.renderHighlightSubList(e))}}renderSlot(t,i){return s(this.root,t)?r("div",{class:i},r("slot",{name:t})):null}renderTypographicalEmphasis(){return this.renderSlot("typographical-emphasis","gux-typographical-emphasis-container")}renderTextStyling(){return this.renderSlot("text-styling","gux-text-styling-container")}renderListsIndentation(){return this.renderSlot("lists-indentation","gux-lists-indentation-container")}renderInserting(){return this.renderSlot("inserting","gux-inserting-container")}renderGlobalAction(){return this.renderSlot("global-action","gux-global-action-container")}hasToolbarChildren(){return[this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderTextEditorMenu(),this.renderGlobalAction()].some((t=>null!=t))}render(){return r("div",{key:"5c0e7fb0ecd72cb9b14300209cedbc55b85f77fc",class:{"gux-rich-text-editor-container":!0,"gux-disabled":this.disabled,"gux-toolbar-hidden":!this.hasToolbar}},r("div",{key:"fbc53337a946ed00eb3b93f6fd59194e5b4abb22",class:"gux-rich-text-editor-toolbar-container"},this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderTextEditorMenu(),this.renderGlobalAction()),r("slot",{key:"bdee886a284381ddbca2a20a010df4bb5ba6fefe",name:"editor"}))}get root(){return o(this)}};g([n()],x.prototype,"checkResponsiveLayout",null),g([u({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=":host{display:block}:host([style*=resize]){overflow:auto;resize:inherit}.gux-rich-text-editor-container{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--gse-ui-rte-innerContainer-gap);inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;padding:var(--gse-ui-rte-padding);overflow:hidden scroll;background-color:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-ui-rte-mainContainer-default-border-width) var(--gse-ui-rte-mainContainer-default-border-color) var(--gse-ui-rte-mainContainer-default-border-style);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-rich-text-editor-container.gux-toolbar-hidden{gap:0}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container{display:flex;flex-direction:row;justify-content:flex-start}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container .gux-global-action-container{margin-inline-start:auto}.gux-rich-text-editor-container.gux-disabled{pointer-events:none;cursor:default;user-select:none;border:var(--gse-ui-rte-mainContainer-disabled-border-width) var(--gse-ui-rte-mainContainer-disabled-border-color) var(--gse-ui-rte-mainContainer-disabled-border-style);opacity:0.5}.gux-rich-text-editor-container:active:enabled{border:var(--gse-ui-rte-mainContainer-active-border-width) var(--gse-ui-rte-mainContainer-active-border-color) var(--gse-ui-rte-mainContainer-active-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled),.gux-rich-text-editor-container:hover:not(.gux-disabled){border:var(--gse-ui-rte-mainContainer-hover-border-width) var(--gse-ui-rte-mainContainer-hover-border-color) var(--gse-ui-rte-mainContainer-hover-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled){outline:var(--gse-ui-rte-mainContainer-focus-border-width) var(--gse-ui-rte-mainContainer-focus-border-color) var(--gse-ui-rte-mainContainer-focus-border-style)}";export{x as gux_rich_text_editor_beta}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,H as o,a as s}from"./p-mm833MRp.js";import{a as i,c as n,o as a,f as u,s as r}from"./p-C8aV-TzO.js";import{a as d}from"./p-Bg4q97BS.js";import{m as h,h as c}from"./p-QGDBFOq1.js";const l=class{constructor(t){e(this,t),this.isShown=!1}async guxFocus(){this.buttonElement.focus()}onKeydown(e){switch(h(e,this.root),e.key){case"Enter":e.stopPropagation(),this.hideDelayTimeout=d((()=>{this.focusOnSubmenu()})),this.guxFocus();break;case"ArrowRight":e.stopPropagation(),this.show(),this.hideDelayTimeout=d((()=>{this.focusOnSubmenu()}));break;case"ArrowLeft":case"Escape":this.root!==e.target&&e.stopPropagation(),this.guxFocus()}}onKeyup(e){" "===e.key&&(this.hideDelayTimeout=d((()=>{this.focusOnSubmenu()})),this.guxFocus())}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(e){"GUX-MENU-OPTION"!==e.target.nodeName?e.stopPropagation():this.hide()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),c))}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=i(this.buttonElement,this.submenuElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.submenuElement&&n(this.buttonElement,this.submenuElement,{placement:"right-start",strategy:"fixed",middleware:[a(4),u(),r()]}).then((({x:e,y:t})=>{Object.assign(this.submenuElement.style,{left:`${e}px`,top:t-8+"px"})}))}focusOnSubmenu(){this.submenuContentElement.contains(document.activeElement)||Array.from(this.root.children)[0].guxFocus()}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t(o,{key:"5fb3dc0d18d4f8a88c37939e0387adf35e459dc2"},t("button",{key:"93f347efa2bfd52c72d1312560dd88a8d748ee71",type:"button",class:{"gux-submenu-button":!0,"gux-submenu-button-active":this.isShown},role:"menuitem",tabIndex:-1,ref:e=>this.buttonElement=e,"aria-haspopup":"true","aria-expanded":this.isShown.toString()},t("span",{key:"bbdcd28b6b3651b2b4e64d5c5b75ada3bded1784",class:"gux-submenu-button-text"},this.label),t("gux-icon",{key:"ba71bc755f7b881a960426583d57467a09d40bf0",class:"gux-submenu-open-icon","icon-name":"custom/chevron-right-small-regular",decorative:!0,size:"small"})),t("div",{key:"3b07734d1f4b3f2f16fca3ad4a501a30de9a8549",ref:e=>this.submenuElement=e,class:{"gux-submenu-wrapper":!0,"gux-shown":this.isShown}},t("div",{key:"53522fcdaa4c1644d051323f6218f4fe42313e5c",role:"menu",class:"gux-submenu-content",ref:e=>this.submenuContentElement=e},t("slot",{key:"a547264bf7d542b9c75d1d8e22ddf4708e4ecafd"}))))}get root(){return s(this)}};l.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-submenu-button{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;inline-size:var(--gse-ui-flyoutMenu-width);block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:var(--gse-ui-menu-option-default-backgroundColor)}:host .gux-submenu-button:focus-within,:host .gux-submenu-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-submenu-button.gux-submenu-button-active{font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);color:var(--gse-ui-menu-option-shortcut-selected-foregroundColor);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host .gux-submenu-button .gux-submenu-button-text{flex:1 1 auto;align-self:auto;order:0;margin-inline-end:var(--gse-ui-menu-option-gap);overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}:host .gux-submenu-button .gux-submenu-open-icon{flex:0 0 auto;align-self:auto;order:0}:host .gux-submenu-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;visibility:hidden;flex-direction:column;padding:var(--gse-ui-menu-padding);margin:0;background-color:var(--gse-ui-menu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow);opacity:0}:host .gux-submenu-wrapper.gux-shown{visibility:visible;animation-name:fade-in;animation-duration:100ms;animation-delay:350ms;animation-fill-mode:forwards}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{l as gux_submenu}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as a,h as s,H as i,a as
|
|
1
|
+
import{r as t,c as a,h as s,H as i,a as h}from"./p-mm833MRp.js";import{t as e}from"./p-Bk9hX_6O.js";const c=class{constructor(s){t(this,s),this.guxactivetabchange=a(this,"guxactivetabchange",7),this.tabPanels=[]}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,a]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=a.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,a,s){var i;this.activeTab=t||(null===(i=null==a?void 0:a.querySelector("gux-tab-advanced"))||void 0===i?void 0:i.getAttribute("tab-id")),a.guxSetActive(this.activeTab),s.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){e(this.root)}render(){return s(i,{key:"6c6fb461a2084b2aba019fadb01814cd2b86e07b"},s("slot",{key:"044376e4730ab5676bd32a610e715d0fc0369fa2",name:"tab-list"}),s("slot",{key:"ff5bf992e86eb5b0d59d7d7b7ab0378b074733e2",onSlotchange:this.onSlotchange.bind(this)}))}get root(){return h(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};export{c as gux_tabs_advanced}
|