genesys-spark-components 4.171.0 → 4.171.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 +1 -1
- package/dist/cjs/{get-valid-timezone-EGP3EtlN.js → get-valid-timezone-CIJ3z6JX.js} +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
- package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
- package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-badge.cjs.entry.js +4 -4
- package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
- package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
- package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
- package/dist/cjs/gux-card.cjs.entry.js +2 -2
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
- package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
- package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
- package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
- package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +7 -7
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
- package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
- package/dist/cjs/{gux-form-field-container-BRNUY2mm.js → gux-form-field-container-B4gH9sjO.js} +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
- package/dist/cjs/{gux-form-field-error-BsBTUjzB.js → gux-form-field-error-Bi-gFy_1.js} +1 -1
- package/dist/cjs/{gux-form-field-fieldset-container-B4j_ATkJ.js → gux-form-field-fieldset-container-B4CFHRnC.js} +1 -1
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +9 -8
- package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
- package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
- package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-popup.cjs.entry.js +1 -1
- package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
- package/dist/cjs/gux-rating.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
- package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
- package/dist/cjs/gux-step.cjs.entry.js +2 -2
- package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
- package/dist/cjs/gux-table.cjs.entry.js +3 -3
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gux-tag.cjs.entry.js +3 -3
- package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-toast.cjs.entry.js +2 -2
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
- package/dist/cjs/{index-Ba58Jm0l.js → index-BT188Tg9.js} +1 -1
- package/dist/cjs/index-CJmJYj8B.js +2707 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{on-click-outside-BZ3IxAEB.js → on-click-outside-o7v98E0K.js} +1 -1
- package/dist/cjs/{on-mutation-1m5VzeiQ.js → on-mutation-BxbmcTXu.js} +1 -1
- package/dist/cjs/{on-resize-CfnmrWMR.js → on-resize-BdjK1R4X.js} +1 -1
- package/dist/cjs/{usage-B6hdPJL7.js → usage-Bz2hh5D4.js} +1 -1
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/tests/gux-avatar-overflow.common.js +13 -10
- package/dist/collection/components/beta/gux-tooltip-beta/tests/gux-tooltip.common.js +24 -0
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +3 -2
- package/dist/collection/test/setupTests.js +33 -0
- package/dist/esm/genesys-webcomponents.js +2 -2
- package/dist/esm/{get-valid-timezone-NyN5JQ4z.js → get-valid-timezone-Ce0ve7Zj.js} +1 -1
- package/dist/esm/gux-accordion-section.entry.js +1 -1
- package/dist/esm/gux-accordion.entry.js +2 -2
- package/dist/esm/gux-action-button.entry.js +4 -4
- package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
- package/dist/esm/gux-all-row-select.entry.js +2 -2
- package/dist/esm/gux-announce-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-beta.entry.js +3 -3
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
- package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
- package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
- package/dist/esm/gux-badge.entry.js +4 -4
- package/dist/esm/gux-blank-state.entry.js +3 -3
- package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +3 -3
- package/dist/esm/gux-button-multi.entry.js +3 -3
- package/dist/esm/gux-button-slot.entry.js +2 -2
- package/dist/esm/gux-button_2.entry.js +3 -3
- package/dist/esm/gux-calendar-beta.entry.js +2 -2
- package/dist/esm/gux-calendar.entry.js +3 -3
- package/dist/esm/gux-card.entry.js +2 -2
- package/dist/esm/gux-column-manager-item.entry.js +2 -2
- package/dist/esm/gux-column-manager.entry.js +3 -3
- package/dist/esm/gux-content-search.entry.js +3 -3
- package/dist/esm/gux-context-menu.entry.js +4 -4
- package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
- package/dist/esm/gux-create-option.entry.js +2 -2
- package/dist/esm/gux-cta-group.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +4 -4
- package/dist/esm/gux-date-time-beta.entry.js +4 -4
- package/dist/esm/gux-datepicker.entry.js +4 -4
- package/dist/esm/gux-day-beta.entry.js +2 -2
- package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
- package/dist/esm/gux-dismiss-button.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
- package/dist/esm/gux-dropdown-multi.entry.js +7 -7
- package/dist/esm/gux-dropdown-option.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +5 -5
- package/dist/esm/gux-file-list-item.entry.js +3 -3
- package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
- package/dist/esm/gux-flyout-menu.entry.js +3 -3
- package/dist/esm/gux-form-beta.entry.js +1 -1
- package/dist/esm/gux-form-description.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
- package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
- package/dist/esm/gux-form-field-color.entry.js +5 -5
- package/dist/esm/{gux-form-field-container-DZLCDKBG.js → gux-form-field-container-CWMp3u9o.js} +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
- package/dist/esm/{gux-form-field-error-CHJWT8dW.js → gux-form-field-error-C8-WbHdd.js} +1 -1
- package/dist/esm/{gux-form-field-fieldset-container-PoD1h2BM.js → gux-form-field-fieldset-container-DDf6aBS0.js} +1 -1
- package/dist/esm/gux-form-field-file-beta.entry.js +9 -8
- package/dist/esm/gux-form-field-file.entry.js +5 -5
- package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
- package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
- package/dist/esm/gux-form-field-number_2.entry.js +7 -7
- package/dist/esm/gux-form-field-phone.entry.js +6 -6
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
- package/dist/esm/gux-form-field-radio.entry.js +4 -4
- package/dist/esm/gux-form-field-range.entry.js +6 -6
- package/dist/esm/gux-form-field-search.entry.js +5 -5
- package/dist/esm/gux-form-field-select.entry.js +5 -5
- package/dist/esm/gux-form-field-text-like.entry.js +5 -5
- package/dist/esm/gux-form-field-textarea.entry.js +5 -5
- package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
- package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
- package/dist/esm/gux-form-footer.entry.js +2 -2
- package/dist/esm/gux-form-heading.entry.js +1 -1
- package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
- package/dist/esm/gux-icon.entry.js +2 -2
- package/dist/esm/gux-inline-alert.entry.js +3 -3
- package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
- package/dist/esm/gux-label-info-beta.entry.js +2 -2
- package/dist/esm/gux-link-beta.entry.js +2 -2
- package/dist/esm/gux-list-divider.entry.js +1 -1
- package/dist/esm/gux-list-item.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +2 -2
- package/dist/esm/gux-listbox-multi.entry.js +4 -4
- package/dist/esm/gux-loading-message.entry.js +2 -2
- package/dist/esm/gux-menu-option.entry.js +1 -1
- package/dist/esm/gux-menu.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +2 -2
- package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
- package/dist/esm/gux-modal.entry.js +2 -2
- package/dist/esm/gux-month-calendar.entry.js +2 -2
- package/dist/esm/gux-month-list_2.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +4 -4
- package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-option-group-beta.entry.js +1 -1
- package/dist/esm/gux-option-icon.entry.js +1 -1
- package/dist/esm/gux-option-multi.entry.js +2 -2
- package/dist/esm/gux-option-status-beta.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
- package/dist/esm/gux-pagination-cursor.entry.js +3 -3
- package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
- package/dist/esm/gux-pagination-legacy.entry.js +2 -2
- package/dist/esm/gux-pagination.entry.js +2 -2
- package/dist/esm/gux-phone-input-beta.entry.js +4 -4
- package/dist/esm/gux-popover-beta.entry.js +3 -3
- package/dist/esm/gux-popover-list-beta.entry.js +3 -3
- package/dist/esm/gux-popover-list.entry.js +3 -3
- package/dist/esm/gux-popup.entry.js +1 -1
- package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
- package/dist/esm/gux-radial-loading.entry.js +3 -3
- package/dist/esm/gux-radial-progress.entry.js +2 -2
- package/dist/esm/gux-rating.entry.js +2 -2
- package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
- package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
- package/dist/esm/gux-row-select.entry.js +2 -2
- package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-item.entry.js +1 -1
- package/dist/esm/gux-select-all.entry.js +2 -2
- package/dist/esm/gux-selector-card-beta.entry.js +2 -2
- package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
- package/dist/esm/gux-side-panel-beta.entry.js +2 -2
- package/dist/esm/gux-side-panel-header.entry.js +2 -2
- package/dist/esm/gux-side-panel-heading.entry.js +2 -2
- package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
- package/dist/esm/gux-sort-control.entry.js +3 -3
- package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
- package/dist/esm/gux-step-title.entry.js +2 -2
- package/dist/esm/gux-step.entry.js +2 -2
- package/dist/esm/gux-stepper-beta.entry.js +2 -2
- package/dist/esm/gux-submenu.entry.js +1 -1
- package/dist/esm/gux-switch-item.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +2 -2
- package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
- package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
- package/dist/esm/gux-tab-advanced.entry.js +2 -2
- package/dist/esm/gux-tab-list.entry.js +3 -3
- package/dist/esm/gux-tab-panel.entry.js +1 -1
- package/dist/esm/gux-tab.entry.js +1 -1
- package/dist/esm/gux-table-select-menu.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
- package/dist/esm/gux-table-toolbar.entry.js +4 -4
- package/dist/esm/gux-table.entry.js +3 -3
- package/dist/esm/gux-tabs-advanced.entry.js +2 -2
- package/dist/esm/gux-tabs.entry.js +2 -2
- package/dist/esm/gux-tag.entry.js +3 -3
- package/dist/esm/gux-text-highlight.entry.js +2 -2
- package/dist/esm/gux-time-beta.entry.js +4 -4
- package/dist/esm/gux-time-picker.entry.js +4 -4
- package/dist/esm/gux-time-zone-beta.entry.js +3 -3
- package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
- package/dist/esm/gux-toast.entry.js +2 -2
- package/dist/esm/gux-toggle-slider.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +3 -3
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
- package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
- package/dist/esm/gux-tooltip-title.entry.js +3 -3
- package/dist/esm/gux-tooltip_2.entry.js +4 -4
- package/dist/esm/{index-BHZHLLuF.js → index-ep6Mker5.js} +1 -1
- package/dist/esm/index-zxw1OYDK.js +2675 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{on-click-outside-li4Tlu4f.js → on-click-outside-BDcslJFy.js} +1 -1
- package/dist/esm/{on-mutation-CRC__Kaq.js → on-mutation-DehkxM-V.js} +1 -1
- package/dist/esm/{on-resize-D-jYNfQ0.js → on-resize-BuGu_dyA.js} +1 -1
- package/dist/esm/{usage-DUKKmiiu.js → usage-CO6uw_fy.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.css +4 -20
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-DvHrflJZ.js → p--TfN4oCb.js} +1 -1
- package/dist/genesys-webcomponents/p-00426878.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b1ecbc92.entry.js → p-047875b8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-342e13c9.entry.js → p-06da9ed4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-074e0dfe.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8469ea41.entry.js → p-09a4f6b1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3bac9df5.entry.js → p-0a0b3a41.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d23b2133.entry.js → p-0a31fe4c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7150ae54.entry.js → p-0aeab6a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-35e5e8a5.entry.js → p-108bbbc0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f07e67f.entry.js → p-140184e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d15fa4da.entry.js → p-14a5c904.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-182fd9ce.entry.js → p-15dbaaf1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5da56b57.entry.js → p-15f6231e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ea71c0c5.entry.js → p-16cc7d22.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-071c03f4.entry.js → p-1a82a4aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8b32ef82.entry.js → p-1bf630ac.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6fd64b1d.entry.js → p-20370d8c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-217cac82.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4b2c240e.entry.js → p-236c9c68.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-31b4265e.entry.js → p-27fccbca.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1a0b51fd.entry.js → p-27ffbd98.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fe9939b8.entry.js → p-290b85e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-074ed426.entry.js → p-315cdd06.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8569d505.entry.js → p-32b0b91e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ad20d0e8.entry.js → p-3a2f40c8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5f561444.entry.js → p-3dc4ce1d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-579f9a0e.entry.js → p-3f798c17.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ed040bf5.entry.js → p-405eeb4f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-08c05d37.entry.js → p-405fea1e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-40eed9eb.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-964bb50f.entry.js → p-413099c1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-41d3adda.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2d7d2f20.entry.js → p-44ef395b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9b70418c.entry.js → p-45597594.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-472874f8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-9a692cf4.entry.js → p-474ed92e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a171b308.entry.js → p-47ee4be3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-07e8c4b0.entry.js → p-47f2f9ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-55ec7713.entry.js → p-48b05c58.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b1c01f0d.entry.js → p-4a1903c4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-331726ab.entry.js → p-4bcbdd4d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-55f015e1.entry.js → p-4cbd42bb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cf979d9f.entry.js → p-4ecdf231.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-512f8b4e.entry.js → p-4f860ddb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9c13c152.entry.js → p-50731e6e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-38d3b1f7.entry.js → p-5074c924.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0b8f466e.entry.js → p-529ad1c6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-39f97272.entry.js → p-52c591ed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d308dc3.entry.js → p-5305d26a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fc11a952.entry.js → p-53b0f08b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb55b679.entry.js → p-551c0074.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9c979134.entry.js → p-55674d57.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-150f305e.entry.js → p-57a73317.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f080a639.entry.js → p-5846cbaf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-240cd096.entry.js → p-58c4486b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5fd6438f.entry.js → p-5985f101.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-25ea37a6.entry.js → p-5a7c5360.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5cda400b.entry.js → p-5d4d6323.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6c7d4ac5.entry.js → p-5dd985fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a578779.entry.js → p-5dfedc0b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8fff1129.entry.js → p-6208d6d2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-257498eb.entry.js → p-65ae66c6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-62905116.entry.js → p-68228b02.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bdac2ea2.entry.js → p-6851c53c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0a1578c3.entry.js → p-6a830e4e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-68a135a6.entry.js → p-6d9a503e.entry.js} +2 -2
- package/dist/genesys-webcomponents/{p-c3aa5cf2.entry.js → p-6e52053f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-571e1268.entry.js → p-71aec9ff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-35cc9f7d.entry.js → p-72bfd558.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d09ff21b.entry.js → p-73680f18.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9500bbcc.entry.js → p-74750107.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-caf5eb94.entry.js → p-774d9475.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a695da12.entry.js → p-781aad4c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9fe623cf.entry.js → p-78613113.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-12cf7ccf.entry.js → p-7c46ae80.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-34f066b5.entry.js → p-7d2c7bf4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-91bec74c.entry.js → p-7ef95f4b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d7ea9c4f.entry.js → p-805535a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5c50e971.entry.js → p-82555073.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1018583a.entry.js → p-82bbf538.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2e1b19c7.entry.js → p-836d6c95.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-34a26eb1.entry.js → p-838701fa.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-85d9a9cb.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-80c82099.entry.js → p-87ff3c8f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c5f693d6.entry.js → p-899e1187.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-afb2a6d5.entry.js → p-8a4df7eb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ddb33909.entry.js → p-8d16d81a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4884c1c4.entry.js → p-8eba0713.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fbb8c8be.entry.js → p-9091ec28.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-60220867.entry.js → p-915beb77.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cf06729b.entry.js → p-922b315c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8de755b4.entry.js → p-975a317e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-98e8eef4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a68f0991.entry.js → p-98e91ee5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-48709a84.entry.js → p-9b2accfa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d266b593.entry.js → p-9bdfd2d9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-343b3278.entry.js → p-9e02cda0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-65e7ae42.entry.js → p-9e34f661.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-DUKKmiiu.js → p-CO6uw_fy.js} +1 -1
- package/dist/genesys-webcomponents/{p-oHeULiwO.js → p-CwHa-j2A.js} +1 -1
- package/dist/genesys-webcomponents/{p-Cvi43VLq.js → p-D35-_S3R.js} +1 -1
- package/dist/genesys-webcomponents/{p-CVys3viT.js → p-DNiU7M_m.js} +1 -1
- package/dist/genesys-webcomponents/{p-DIXmRvo2.js → p-Dm8o5II3.js} +1 -1
- package/dist/genesys-webcomponents/{p-aSVMpDug.js → p-Drtkt5Nc.js} +1 -1
- package/dist/genesys-webcomponents/{p-433502ba.entry.js → p-a1438ca7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1dd5c30e.entry.js → p-a2050a9c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9e717746.entry.js → p-a333e6ae.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ed2963a8.entry.js → p-a664af4f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-472c45bd.entry.js → p-a88beb72.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6aa0e3dc.entry.js → p-a9e2d093.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a713f855.entry.js → p-aa7db2be.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-228f7a9f.entry.js → p-ac9e7139.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-803bce27.entry.js → p-aeeb06f6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-58b17d2e.entry.js → p-b3101a00.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-836af0b3.entry.js → p-b486a2a2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-210d3102.entry.js → p-b49cf7a8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-af447940.entry.js → p-b881284d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b9bfeb3d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1cd34f99.entry.js → p-bb4d109a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bb962a22.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f97aea3b.entry.js → p-bdfa34dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-29731e3a.entry.js → p-be364b6b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fcf72c05.entry.js → p-c3b56430.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f9aa7a98.entry.js → p-c3e7b738.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-347b967c.entry.js → p-c3f0d37e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5badf280.entry.js → p-c4629dba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b10e22b4.entry.js → p-c7765467.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dca15cf7.entry.js → p-c7f2fb34.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f3f885f6.entry.js → p-c804017d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-526cbefa.entry.js → p-ca1c9b0b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-71843894.entry.js → p-ca78b2e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5a31ef89.entry.js → p-cc9f9009.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cef0a914.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6c80458f.entry.js → p-cf224498.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1f7fb3ab.entry.js → p-d19d43ce.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-783d9349.entry.js → p-d2466fcb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-921f9aee.entry.js → p-d28f407b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a8a18e64.entry.js → p-d411917e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2a46556b.entry.js → p-d4e9fc46.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b44d6b4b.entry.js → p-d54eabad.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-391ca52b.entry.js → p-d5b9eaa7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e4766536.entry.js → p-d65aaa77.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d02985d.entry.js → p-d77af18e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1b09f596.entry.js → p-d8d35937.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-U0olvLAn.js → p-dJFEwJm_.js} +1 -1
- package/dist/genesys-webcomponents/{p-91fae20a.entry.js → p-db4dccac.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0af60b1b.entry.js → p-de5a02d5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cc9a14fc.entry.js → p-df2ce325.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f2c8d7a7.entry.js → p-dfdfb670.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7bd606a5.entry.js → p-e1453bc3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e84ec00d.entry.js → p-e2a230d3.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e399529e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-41a7362b.entry.js → p-e3a4f68f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-85764159.entry.js → p-e3c4c80e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d45b8327.entry.js → p-e590578c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-86f4e82d.entry.js → p-e62a15d1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-518de75b.entry.js → p-e8a8014a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-423a34be.entry.js → p-e90bd51f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-770b649d.entry.js → p-eacd1f1e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4ad99493.entry.js → p-eb656fa8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3e705499.entry.js → p-eb78ae59.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24d44027.entry.js → p-eecb23b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dddae351.entry.js → p-efe0bf68.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-87ca5409.entry.js → p-f2a34f3e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bed5a026.entry.js → p-f3e0f75a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6441befe.entry.js → p-f4d854b1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-611188ec.entry.js → p-f915cca3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-323b313f.entry.js → p-fddb43d6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f108f825.entry.js → p-fe191994.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e06719a8.entry.js → p-fe8a5d86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-35a370bf.entry.js → p-ff8b4385.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-B6wyOhMf.js → p-yMox4oUG.js} +1 -1
- package/dist/genesys-webcomponents/p-zxw1OYDK.js +2 -0
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-tooltip-beta/tests/gux-tooltip.common.d.ts +4 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/dist/types/test/setupTests.d.ts +12 -0
- package/package.json +1 -1
- package/dist/cjs/index-B3YbklIq.js +0 -2707
- package/dist/esm/index-CHg93-Rl.js +0 -2675
- package/dist/genesys-webcomponents/p-0fc5f444.entry.js +0 -1
- package/dist/genesys-webcomponents/p-110b2a31.entry.js +0 -1
- package/dist/genesys-webcomponents/p-497c9457.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4aea71d7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-55e07f3d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-CHg93-Rl.js +0 -2
- package/dist/genesys-webcomponents/p-a248f806.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ae4b00bb.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b30acd2e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b98aaf70.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d1912df8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ed23f11b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ffba9285.entry.js +0 -1
@@ -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-zxw1OYDK.js";import{b as o}from"./p-Dm8o5II3.js";import{O as r}from"./p-D35-_S3R.js";import{o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{G as a,a as n}from"./p--TfN4oCb.js";import{G as f,a as h,b as d}from"./p-dJFEwJm_.js";import{g as u}from"./p-MAoEg4ig.js";import{b as p,s as m,a as c}from"./p-DHLxhscH.js";import{t as g}from"./p-CO6uw_fy.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.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.dropdownElement.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)):this.dropdownElement.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=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"f2f4e9a8ff7f9e22045a4be75a5d3b41447ae71d",labelPosition:this.computedLabelPosition},i(h,{key:"00ed473cf198a45a2cef8ba110780d2caa71b03f"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"e18eb380e152e014acf011e2858e4e1f802073b3",position:this.computedLabelPosition,required:this.required},i("slot",{key:"fb18e487b41ad436918342653f1d7642d6530074",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"27c7ca59d34e537eeda039c95c4b119232c1fe9e",variant:this.indicatorMark,required:this.required}),i("slot",{key:"cd7efd152a6c02f115a5953e57d8a5f0333ffbf5",name:"label-info"})),i("div",{key:"021d1706cabb39b8dc9402ab8d531aed533fb57d",class:"gux-input-and-error-container"},i("div",{key:"2c5117c5e441a28dd9bc270d5a45cd3e1d7b8f00",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"6faca4e188336a14f3ca7ed945ccce9531157a86"})),i(a,{key:"e60dab8fbe562ea703d869b08684672a372a19a5",show:this.hasError},i("slot",{key:"4fbe80625cb1c8e4e6ecc6c7e7e0fbd01c1353fd",name:"error"})),i(n,{key:"d97ecff22998058888377877b40574a40bcbcccc",show:!this.hasError&&this.hasHelp},i("slot",{key:"4516800cc56bb7203f18c752689d5ba266578b41",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),p(this.root,this.listboxElement,"label"),m(this.root,this.listboxElement,"error"),m(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(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,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([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 1 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}: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)}.gux-input-and-error-container{flex-grow:1;inline-size:100%}";export{x as gux_form_field_dropdown}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as r}from"./p-
|
1
|
+
import{r as t,h as r}from"./p-zxw1OYDK.js";const e=class{constructor(r){t(this,r)}render(){return r("slot",{key:"856101faf04e13b5c812769e6332eeb073bc92bf"})}};e.style="::slotted(*){margin:0 !important;font-family:var(--gse-semantic-body-sm-regular-fontFamily) !important;font-size:var(--gse-semantic-body-sm-regular-fontSize) !important;font-weight:var(--gse-semantic-body-sm-regular-fontWeight) !important;line-height:var(--gse-semantic-body-sm-regular-lineHeight) !important;color:var(--gse-semantic-foreground-container-midEmphasis) !important}";export{e as gux_form_description}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as a,h as i,H as t,a as e}from"./p-
|
1
|
+
import{r as a,h as i,H as t,a as e}from"./p-zxw1OYDK.js";import{t as r}from"./p-CO6uw_fy.js";import{l as o}from"./p-DxtJDeL9.js";import{g as n}from"./p-vciQk5kR.js";import{g as s,a as c}from"./p-BV03_Ljp.js";import"./p-Cd4R0amv.js";const u=class{constructor(i){a(this,i),this.accent="auto"}async componentWillLoad(){r(this.root)}componentDidLoad(){this.validatingInputs()}async hideTooltip(){return await this.tooltip.hideTooltip()}onKeydown(a){n(a,this.root)}isLastItemInGroup(){const a=Array.from(this.root.parentElement.children);return a.findIndex((a=>a===this.root))===a.length-1}validatingInputs(){const a=this.root.querySelector("img");this.name||o(this.root,"Name prop is required for accessibility"),a&&!a.getAttribute("alt")&&o(this.root,"Alt attribute is required for slotted image.")}render(){return i(t,{key:"16b06052216c2bd34a5b468e8f0d1b43ca5e14d6",role:"menuitem"},i("button",{key:"e84a7bb648979e04adcd2610f7eb40405c9e1d9a",type:"button","aria-label":this.name,tabIndex:-1,class:{"gux-avatar":!0,[s(this.accent,this.name)]:!0,"gux-last-item":this.isLastItemInGroup()}},i("slot",{key:"0f00f3593e9e2f888e208430261832d2c72fe7d3",name:"image"},i("span",{key:"1a901e537a5347b121492d3dc60a9710ce98943c",class:"gux-avatar-initials","aria-hidden":"true"},c(this.name))),i("gux-tooltip-beta",{key:"d25dcc843ef37b8b32d4f3f598dc9cf3ea60c6ff","aria-hidden":"true","visual-only":!0,placement:"top",ref:a=>this.tooltip=a},i("div",{key:"934cf7c0cf8640032ff5d970b075d6bfc78be695",slot:"content"},this.name))))}static get delegatesFocus(){return!0}get root(){return e(this)}};u.style="::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);padding:0;margin:0;margin-inline-end:var(--gse-ui-avatar-groupSet-gap);overflow:hidden;color:var(--gse-ui-avatar-media-initialsForeground-inverse);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:none;border-radius:50%;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13c0-2.6.7-5 1.8-7.2C21.5 2.3 17.5 0 13 0 5.8 0 0 5.8 0 13s5.8 13 13 13c4.5 0 8.5-2.3 10.8-5.8C22.7 18 22 15.6 22 13z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13c0-2.6.7-5 1.8-7.2C21.5 2.3 17.5 0 13 0 5.8 0 0 5.8 0 13s5.8 13 13 13c4.5 0 8.5-2.3 10.8-5.8C22.7 18 22 15.6 22 13z' /%3E%3C/svg%3E\")}button:focus-visible,button:hover{position:relative;z-index:var(--gse-semantic-zIndex-showFocus);mask:none}button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}button.gux-last-item{mask:none}button .gux-avatar-initials{font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);text-transform:uppercase}button.gux-accent-1{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}button.gux-accent-2{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}button.gux-accent-3{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}button.gux-accent-4{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}button.gux-accent-5{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}button.gux-accent-6{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}button.gux-accent-7{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}button.gux-accent-8{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}button.gux-accent-9{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}button.gux-accent-10{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}button.gux-accent-11{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}button.gux-accent-12{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}button.gux-accent-inherit{color:inherit;background-color:inherit}";export{u as gux_avatar_group_item_beta}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as i,H as e,a as o}from"./p-zxw1OYDK.js";import{a as s,c as a,o as r,f as n,s as h,h as l}from"./p-C8aV-TzO.js";import{r as d}from"./p-D9jKBqIb.js";import{t as c}from"./p-CO6uw_fy.js";import{b as u}from"./p-Bg4q97BS.js";import{o as p}from"./p-DKtwSwJx.js";import{f as g}from"./p-Cr5bTKWF.js";const b=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler],["mousemove",this.handlePointerMove.bind(this)]]),this.id=d("gux-tooltip-base"),this.placement="bottom-start",this.offsetX=0,this.offsetY=0,this.accent="light",this.visualOnly=!1,this.followMouse=!1,this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}handlePointerenter(){this.show()}handlePointerleave(){this.hide()}handlePointerMove(t){this.followMouse&&(t.preventDefault(),this.refElement=this.getRefElement(t.clientX,t.clientY),this.runUpdatePosition())}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition();const t=this.followMouse&&this.refElement?this.refElement:this.forElement;this.cleanupUpdatePosition=s(t,this.root,(()=>this.updatePosition(t)),{ancestorScroll:!0,elementResize:!0,animationFrame:this.followMouse,ancestorResize:!0})}updatePosition(t){const i=[r(12),n({fallbackAxisSideDirection:"start",crossAxis:!1}),h(),l(),p()];a(t,this.root,{placement:this.placement,strategy:"fixed",middleware:i}).then((({x:t,y:i,middlewareData:e})=>{var o;Object.assign(this.root.style,{left:`${t+this.offsetX}px`,top:`${i+this.offsetY}px`,visibility:(null===(o=e.hide)||void 0===o?void 0:o.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0,u((()=>{this.runUpdatePosition()}))}hide(){this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1,this.refElement=void 0,this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}),350)}setForElement(){this.forElement&&(this.visualOnly||this.forElement.setAttribute("aria-describedby",this.tooltipId?this.tooltipId:this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t))))}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}getRefElement(t,i){return{getBoundingClientRect:()=>({x:t,y:i,top:i,left:t,bottom:i,right:t,width:10,height:10})}}connectedCallback(){this.setForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(e,{key:"bb54225b89f361f12820f1912fcf81db8cf8fec4",id:this.tooltipId?void 0:this.id,role:this.tooltipId&&!this.isShown?void 0:"tooltip",class:{"gux-show":this.isShown},"aria-hidden":this.visualOnly},i("div",{key:"a148f0b42be2986acfa4b38237a75d268c05aced",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"b8a603426f079657827293ec48ca849e1e6bf1bc",name:"content"})))}get root(){return o(this)}static get watchers(){return{offsetX:["runUpdatePosition"],offsetY:["runUpdatePosition"],forElement:["updateForElement"]}}};b.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:var(--gse-ui-tooltip-maxWidth);border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);pointer-events:none;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";const f=class{constructor(i){t(this,i),this.id=d("gux-tooltip"),this.placement="bottom-start",this.accent="light",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=g(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}render(){return i(e,{key:"d0b2e3181a2588558f7ec6e6dce60db9f4ba7011",id:this.id,role:this.role},i("gux-tooltip-base-beta",{key:"a43ed8e1a405842c2a0a18e7c376d8651aeb581d",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t},i("span",{key:"4d6464a3bbc979aac5149e41e44925e071aed157",slot:"content"},i("slot",{key:"be4cefbcf70e6e0ba729bd0083ec4f55f5268d3a",name:"content"},i("slot",{key:"9faabb31c6ba49e5f4162b8f2e4c93568ee08c08"})))))}get root(){return o(this)}static get watchers(){return{for:["updateForElement"]}}};export{b as gux_tooltip_base_beta,f as gux_tooltip_beta}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as i,H as t,a as s}from"./p-
|
1
|
+
import{r as e,h as i,H as t,a as s}from"./p-zxw1OYDK.js";import{o}from"./p-CF55kYjc.js";const n=class{constructor(i){e(this,i),this.filtered=!1,this.showDivider=!0}componentDidLoad(){this.rootParent=this.root.parentNode,this.rootParent&&(this.parentObserver=o(this.rootParent,(()=>{var e;const i=Array.from(null===(e=this.root)||void 0===e?void 0:e.children).filter((e=>this.isOption(e)&&!e.filtered)).length>0;this.filtered=!i,this.filtered||(this.showDivider=this.hasVisibleNextSibling(this.root)&&i)})))}disconnectedCallback(){this.rootParent&&this.parentObserver.disconnect()}isOption(e){return["GUX-OPTION","GUX-OPTION-ICON"].includes(e.tagName)}hasVisibleNextSibling(e){let i=e.nextElementSibling;if(null===i)return!1;for(;i&&i.classList.contains("gux-filtered");)i=i.nextElementSibling;return Boolean(i)}renderDivider(){if(this.showDivider)return i("gux-list-divider",null)}render(){return i(t,{key:"c840d62ada3e45597bce575ac5964558cbc02dcf",class:{"gux-filtered":this.filtered}},i("div",{key:"d7afc055fe0be77c6b1911ff85d5439757906659",class:"gux-option-group"},i("div",{key:"7a037eb4cc1cfbb9aa81f36e5283cb3077b2e0fa",class:"gux-option-group-label",role:"presentation"},this.label),i("div",{key:"47b2614cdd42789782c7e7f123946b13b7994095",role:"group"},i("slot",{key:"02e69681127a8e660c62b0aff288606bebc311b1"})),this.renderDivider()))}get root(){return s(this)}};n.style=".gux-option-group{display:block;flex:1 1 auto;align-self:auto}.gux-option-group .gux-option-group-label{display:block;padding:var(--gse-ui-menu-groupedMenu-title-padding);color:var(--gse-ui-menu-groupedMenu-title-foregroundColor);font-family:var(--gse-semantic-heading-overline-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-overline-fontSize);line-height:var(--gse-semantic-heading-overline-lineHeight);text-transform:var(--gse-semantic-heading-overline-textCase);letter-spacing:var(--gse-semantic-heading-overline-letterSpacing);font-weight:var(--gse-semantic-heading-overline-fontWeight)}:host(.gux-filtered){display:none}";export{n as gux_option_group_beta}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as s,h as t,H as a,a as e}from"./p-zxw1OYDK.js";import{l as o,n as r,f as i,p as c,b as n,a as l}from"./p-BebXX5IS.js";import{t as d}from"./p-CO6uw_fy.js";const u=["gux-list-item"],m=class{constructor(t){s(this,t)}componentWillLoad(){d(this.root)}onKeyDown(s){switch(s.key){case"ArrowUp":s.preventDefault(),c(this.root,u);break;case"Home":s.preventDefault(),i(this.root,u);break;case"ArrowDown":s.preventDefault(),r(this.root,u);break;case"End":s.preventDefault(),o(this.root,u)}}async guxFocusFirstItem(){i(this.root,u)}async guxFocusItemById(s){n(this.root,u,s)}async guxFocusItemByClosestId(s){l(this.root,u,s)}async guxFocusLastItem(){o(this.root,u)}render(){return t(a,{key:"769e96008978c3c427f6ac6657289d3a86167b45",tabindex:"-1",role:"list"},t("slot",{key:"d8130d172a4589d8dc362fef2299fbc136119598"}))}get root(){return e(this)}};m.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{m as gux_list}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as e,H as o,a as s}from"./p-
|
1
|
+
import{r as t,h as e,H as o,a as s}from"./p-zxw1OYDK.js";import{t as a}from"./p-CO6uw_fy.js";import{b as i}from"./p-Bg4q97BS.js";const c=class{constructor(e){t(this,e),this.politeness="polite"}async guxAnnounce(t){this.containerElement.innerText="",i((()=>{this.containerElement.innerText=t}))}componentWillLoad(){a(this.root)}render(){return e(o,{key:"96acda36ac04edb73e9fcc5af71fa83cd30fce92","aria-live":this.politeness},e("slot",{key:"b490bf95af7e150220969cc20383b9406b4bcf19"}),e("div",{key:"2c731aff495c684d15bda9ed006030608bc9a4e7",ref:t=>this.containerElement=t}))}get root(){return s(this)}};c.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{c as gux_announce_beta}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,h as s,a}from"./p-
|
1
|
+
import{r as t,c as e,h as s,a}from"./p-zxw1OYDK.js";import{b as i}from"./p-Dm8o5II3.js";import{t as r}from"./p-CO6uw_fy.js";import{g as n}from"./p-Cd4R0amv.js";import{o}from"./p-CF55kYjc.js";import{t as c}from"./p-BIx814vt.js";const d=class{constructor(s){t(this,s),this.guxsortchanged=e(this,"guxsortchanged",7),this.includeUnsorted=!1,this.active=!1,this.sort="none",this.isLeftAlignIcon=!1}async componentWillLoad(){r(this.root),this.i18n=await i(this.root,c,"gux-table"),this.tableHeader=n("th",this.root),this.thObserver=o(this.tableHeader,(()=>{this.setState()}),{attributes:!0,childList:!1,subtree:!1}),this.setState()}disconnectedCallback(){this.thObserver&&this.thObserver.disconnect()}onClick(){this.guxsortchanged.emit({columnName:this.tableHeader.dataset.columnName,sortDirection:this.getNextSort(this.sort)})}setState(){this.headerContent=this.tableHeader.textContent,this.isLeftAlignIcon=this.tableHeader.hasAttribute("data-cell-numeric")||this.tableHeader.hasAttribute("data-cell-action");const t=this.tableHeader.getAttribute("aria-sort");switch(t){case"ascending":case"descending":this.active=!0,this.sort=t;break;default:this.active=!1,this.sort="none"}}getIconName(t){return"descending"===t?"fa/caret-down-solid":"fa/caret-up-solid"}getNextSort(t){switch(t){case"none":return"ascending";case"ascending":return"descending";default:return this.includeUnsorted?"none":"ascending"}}getSRText(t){switch(t){case"ascending":return this.i18n("ascendingColumnSort",{headerContent:this.headerContent});case"descending":return this.i18n(this.includeUnsorted?"descendingColumnSortIncludeUnsorted":"descendingColumnSort",{headerContent:this.headerContent});default:return this.i18n("noColumnSort",{headerContent:this.headerContent})}}render(){return s("div",{key:"92d021afc4342fe4d00113acf4329673fb0b8c5d",class:{"gux-container":!0,"gux-active":this.active}},s("button",{key:"3182039e95a63e994c9ab6c21ee34abcc18f615c",class:"gux-sort-button",type:"button",onClick:()=>this.onClick(),"aria-label":this.getSRText(this.sort)},s("gux-icon",{key:"746f05775315ea0105dba61760c2d525a9e8917a",class:{"gux-sort-icon":!0,"gux-left":this.isLeftAlignIcon},size:"small","icon-name":this.getIconName(this.sort),decorative:!0})),s("div",{key:"ee91ed8ff9807d9bf79bfa73e0446f3bd450a8db",class:"gux-resize-spacer"}))}static get delegatesFocus(){return!0}get root(){return a(this)}};d.style=".gux-container{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;border-block-start:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent;border-block-end:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent}.gux-container.gux-active{border-block-end-color:var(--gse-ui-dataTableItems-header-selectedIndicatorColor)}.gux-container:focus-within{border-block-end-color:var(--gse-ui-dataTableItems-header-selectedIndicatorColor)}.gux-container .gux-sort-button{all:unset;flex:1 1 auto;align-self:stretch;order:0;cursor:pointer}.gux-container .gux-sort-button .gux-sort-icon{float:inline-end;margin-block:0;margin-inline:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-header-sort-foregroundColor)}.gux-container .gux-sort-button .gux-sort-icon.gux-left{float:inline-start;margin-inline-start:calc(2px + var(--gse-ui-dataTableItems-header-gap))}.gux-container .gux-resize-spacer{flex:0 1 auto;align-self:stretch;order:0;inline-size:2px}";export{d as gux_sort_control}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as a,H as i,a as s}from"./p-
|
1
|
+
import{r as t,h as a,H as i,a as s}from"./p-zxw1OYDK.js";import{s as e}from"./p-BMRf5pjV.js";import{c as r}from"./p-CcCycvZh.js";import{t as o}from"./p-CO6uw_fy.js";import{l as n}from"./p-DxtJDeL9.js";const h=class{constructor(a){t(this,a),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1,this.increment="default"}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[a]=t.composedPath(),i=a.getRootNode(),s=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===i))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)?this.updateRatingValue("half"===this.increment?s-.5:s):this.updateRatingValue(s)}onKeyDown(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const a="half"===this.increment?.5:1;switch(t.key){case"ArrowUp":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+a);break;case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-a);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const a=r(t,0,Array.from(this.starContainer.children).length),i="half"===this.increment?.5:1,s=Math.round(a/i)*i;this.value!==s&&(this.value=s,e(this.root,"input"),e(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,a)=>t.concat(a+.5===this.value?"fa/star-sharp-half-stroke-regular":a+1<=this.value?"fa/star-solid":"fa/star-regular")),[]).map((t=>a("gux-icon",{"icon-name":t,decorative:!0,size:"small"})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){o(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||n(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return a(i,{key:"3ad9a4e70982beddb7b9a84798098b1ad056446a",role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},a("div",{key:"c34eb6500726d9a970686b6f2d04cdcd6cde0433",ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return s(this)}};h.style=":host{display:inline-block;min-inline-size:fit-content;user-select:none}:host(:host:focus-visible){outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);box-shadow:0 0 0 1px var(--gse-semantic-border-focus)}.gux-rating-star-container{display:flex;gap:var(--gse-ui-rating-star-gap);justify-content:space-between;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container.gux-disabled{color:var(--gse-ui-rating-disabled-color);pointer-events:none;opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{flex:0 0 auto;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color)}";export{h as gux_rating}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as o,a as t}from"./p-
|
1
|
+
import{r as e,h as o,a as t}from"./p-zxw1OYDK.js";import{g as n}from"./p-Cd4R0amv.js";import{g as r}from"./p-MAoEg4ig.js";import{h as i}from"./p-qzV3vtOw.js";const s=class{constructor(o){e(this,o),this.selected=!1,this.disabled=!1,this.iconOnly=!1}onClick(e){(this.disabled||this.hasDisabledParent())&&e.stopPropagation()}isInStartPosition(){const e=n("gux-segmented-control-beta",this.root);return 0===Array.from(e.children).findIndex((e=>e===this.root))}isInEndPosition(){const e=n("gux-segmented-control-beta",this.root),o=Array.from(e.children);return o.findIndex((e=>e===this.root))===o.length-1}hasDisabledParent(){return n("gux-segmented-control-beta",this.root).disabled}renderTooltip(){if(this.iconOnly)return o("gux-tooltip",null,o("div",{slot:"content"},r(this.root,"text")))}renderIconSlot(){if(i(this.root,"icon"))return o("div",{class:{"gux-icon":!0,"gux-icon-only":this.iconOnly}},o("slot",{name:"icon"}))}render(){return o("div",{key:"9ddaec5a82089f4ff211155a760637c0b33148d0",class:{"gux-container":!0,"gux-parent-disabled":this.hasDisabledParent(),"gux-start":this.isInStartPosition(),"gux-end":this.isInEndPosition()}},o("button",{key:"675d07f5e302060a84dbae845fa7dd0c8b97ade3",class:{"gux-segmented-control-item":!0,"gux-icon-only":this.iconOnly,"gux-selected":this.selected},type:"button","aria-current":this.selected?"true":"false",disabled:this.disabled||this.hasDisabledParent()},this.renderIconSlot(),o("span",{key:"76c30e3b750793b6f1eb470737e9f845033309da",class:{"gux-text":!0,"gux-icon-only":this.iconOnly}},o("slot",{key:"a3e9c1dab935d7e25272a37e8aed2db6b288ff19",name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return t(this)}};s.style="button{all:unset}.gux-container{block-size:var(--gse-ui-segmentedControl-height);border-color:var(--gse-ui-segmentedControl-divider-color);border-style:var(--gse-ui-segmentedControl-divider-style);border-width:var(--gse-ui-segmentedControl-divider-width);border-inline-end:none;border-radius:var(--gse-ui-segmentedControl-button-middle-borderRadius)}.gux-container.gux-start{border-inline-start-color:var(--gse-ui-segmentedControl-divider-color);border-radius:var(--gse-ui-segmentedControl-button-start-borderRadius)}.gux-container.gux-start .gux-segmented-control-item{border-radius:3px 0 0 3px}.gux-container.gux-end{border-style:var(--gse-ui-segmentedControl-divider-style);border-width:var(--gse-ui-segmentedControl-divider-width);border-inline-end-color:var(--gse-ui-segmentedControl-divider-color);border-radius:var(--gse-ui-segmentedControl-button-end-borderRadius)}.gux-container.gux-end .gux-segmented-control-item{border-radius:0 3px 3px 0}.gux-container.gux-start.gux-end{border-radius:var(--gse-ui-segmentedControl-borderRadius)}.gux-container.gux-parent-disabled{pointer-events:none;user-select:none;border-color:color-mix(in srgb, var(--gse-ui-segmentedControl-divider-color) 50%, rgba(0, 0, 0, 0))}.gux-container .gux-segmented-control-item{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-segmentedControl-button-gap);place-content:stretch flex-start;align-items:center;block-size:100%;padding:var(--gse-ui-segmentedControl-button-padding);line-height:0;color:var(--gse-ui-segmentedControl-button-default-foregroundColor);cursor:pointer;background-color:var(--gse-ui-segmentedControl-button-default-backgroundColor)}.gux-container .gux-segmented-control-item.gux-icon-only{padding:var(--gse-ui-segmentedControl-iconOnly-padding)}.gux-container .gux-segmented-control-item.gux-icon-only .gux-text.gux-icon-only{}.gux-container .gux-segmented-control-item.gux-icon-only .gux-text.gux-icon-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}.gux-container .gux-segmented-control-item:hover{color:var(--gse-ui-segmentedControl-button-hover-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-hover-backgroundColor)}.gux-container .gux-segmented-control-item[disabled]{color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor);pointer-events:none;cursor:default;background-color:var(--gse-ui-segmentedControl-button-disabled-backgroundColor);opacity:var(--gse-ui-segmentedControl-button-disabled-opacity)}.gux-container .gux-segmented-control-item.gux-selected{color:var(--gse-ui-segmentedControl-button-active-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-active-backgroundColor)}.gux-container .gux-segmented-control-item:focus-visible{position:relative;z-index:var(--gse-semantic-zIndex-showFocus);outline-offset:var(--gse-ui-segmentedControl-focus-offset);outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-container .gux-segmented-control-item .gux-icon slot[name=icon]::slotted(gux-icon){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}";export{s as gux_segmented_control_item}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as t,H as
|
1
|
+
import{r as e,h as t,H as o,a as s}from"./p-zxw1OYDK.js";import{t as a}from"./p-CO6uw_fy.js";import{O as i}from"./p-DNiU7M_m.js";import{b as r}from"./p-Dm8o5II3.js";import{b as n}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";var c={additionalActions:"Additional Actions"};const u=class{constructor(t){e(this,t),this.expanded=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.expanded=!1,t.includes(this.listElement)&&(e.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":t.includes(this.dropdownButton)&&(e.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.dropdownButton)&&(this.expanded=!0,this.focusFirstItemInPopupList())}toggle(){this.expanded=!this.expanded,this.expanded&&this.focusPopupList()}onClickOutside(){this.expanded=!1}focusPopupList(){n((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}renderTooltip(){if(!this.expanded)return t("gux-tooltip-beta",null,t("div",{slot:"content"},this.i18n("additionalActions")))}async componentWillLoad(){this.i18n=await r(this.root,c),a(this.root)}render(){return t(o,{key:"4317c339e398fd4357046a325eb98782724033a4",class:{"gux-show-menu":this.showMenu}},t("gux-popup",{key:"f294c61c89b8f2a96f4de3fb0d2030547f366c40",expanded:this.expanded,"exceed-target-width":!0},t("div",{key:"4c158ba1d0949f1e4802d385a4ffa3fb3d48eb00",slot:"target",class:"gux-toolbar-menu-container"},t("gux-button-slot",{key:"e18da7390e021119ae138b62f74b0a5d374eb2d1",accent:"secondary"},t("button",{key:"4cac69e97036e72897e4fc7be6fce88df8a0396c",class:"gux-menu-button",type:"button",ref:e=>this.dropdownButton=e,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},t("gux-icon",{key:"b1bc697d7bef539d716f8da39c77ca6b0534b7af","icon-name":"fa/ellipsis-regular",size:"small",decorative:!0}),t("gux-screen-reader-beta",{key:"a05bf28ab93a2881c71e772f6f478091ab44ff60"},this.i18n("additionalActions"))),this.renderTooltip())),t("div",{key:"d2862d40139f40e7ff31b4bc5a96f7b7bc13328c",class:"gux-list-container",slot:"popup"},t("gux-list",{key:"8bfabae912401766fd3f114170973de34256c6db",ref:e=>this.listElement=e},t("slot",{key:"4a44ca8ed024921651241c6db17ddfc0a57b67a9"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}};(function(e,t,o,s){var a,i=arguments.length,r=i<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,s);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(r=(i<3?a(r):i>3?a(t,o,r):a(t,o))||r);i>3&&r&&Object.defineProperty(t,o,r)})([i({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:none;-webkit-user-select:none;user-select:none}:host(.gux-show-menu){display:block}.gux-menu-button{display:flex;color:var(--gse-ui-button-secondary-default-foregroundColor);cursor:pointer;border:none}.gux-menu-button gux-icon{align-self:center}.gux-list-container{inline-size:min-content;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_table_toolbar_menu_button}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as o,h as r,a as t}from"./p-
|
1
|
+
import{r as o,h as r,a as t}from"./p-zxw1OYDK.js";import{t as e}from"./p-CO6uw_fy.js";import{b as i}from"./p-Dm8o5II3.js";import"./p-Cd4R0amv.js";var a={clear:"Clear"};const n=class{constructor(r){o(this,r)}async componentWillLoad(){e(this.root),this.i18n=await i(this.root,a)}render(){return r("button",{key:"862f8c928a953bfe7acd8e0db031c263adfb921d",tabIndex:-1,type:"button","aria-label":this.i18n("clear")},r("gux-icon",{key:"16288e57f1813e149f773d11cd091d6d4937781b","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}),r("gux-tooltip-beta",{key:"c54f6ecd5a1cbaa6728decc53201bf17c421b3eb","visual-only":!0},r("div",{key:"32293800c852ff0978b26eb0150c773d8530b8dd",slot:"content"},this.i18n("clear"))))}static get delegatesFocus(){return!0}get root(){return t(this)}};n.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{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);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)}";export{n as gux_form_field_input_clear_button}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,c as o,h as t,H as r,a as i}from"./p-
|
1
|
+
import{r as e,c as o,h as t,H as r,a as i}from"./p-zxw1OYDK.js";import{b as a}from"./p-Dm8o5II3.js";import{c as n}from"./p-ygfGN0jf.js";import"./p-Cd4R0amv.js";import"./p-CcCycvZh.js";import"./p-BMRf5pjV.js";var s={activateReordering:"Activate reordering mode for {columnName} column"};const d=class{constructor(t){e(this,t),this.internal_order_change=o(this,"internal_order_change",7),this.internal_keyboard_reorder_start=o(this,"internal_keyboard_reorder_start",7),this.internal_keyboard_reorder_move=o(this,"internal_keyboard_reorder_move",7),this.internal_keyboard_reorder_emit=o(this,"internal_keyboard_reorder_emit",7),this.internal_keyboard_reorder_finish=o(this,"internal_keyboard_reorder_finish",7),this.pendingReorder="none",this.isDragging=!1,this.isReordering=!1}async guxSetHighlight(e="",o=!1){this.highlight=e,this.highlightActive=o}async guxFocus(){this.reorderButtonElement.focus()}onBlur(){this.setReorderMode(!1)}onDragStart(e){this.isDragging=!0;const o=n(this.root);e.dataTransfer.setData("oldIndex",String(o)),e.dataTransfer.effectAllowed="move"}onDragEnter(e){e.dataTransfer.dropEffect="move",this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragOver(e){e.preventDefault(),this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragLeave(){this.pendingReorder="none"}onDragEnd(){this.isDragging=!1}onDrop(e){const o=Number(e.dataTransfer.getData("oldIndex")),t=n(this.root);e.stopPropagation(),e.stopImmediatePropagation(),this.pendingReorder="none";const r=function(e,o,t){return e<o?t?o-1:o:t?o:o+1}(o,t,this.mouseOnTopHalf(e));return this.internal_order_change.emit({oldIndex:o,newIndex:r}),!1}mouseOnTopHalf(e){const o=this.root.getBoundingClientRect();return e.clientY-o.top<=(o.bottom-o.top)/2}onSlotChange(){this.text=this.root.querySelector("gux-form-field-checkbox label").textContent}setReorderMode(e,o=!1){this.isReordering!==e&&(this.isReordering=e,e?this.internal_keyboard_reorder_start.emit(this.text):(o&&this.internal_keyboard_reorder_emit.emit(),this.internal_keyboard_reorder_finish.emit()))}toggleReorderMode(){this.setReorderMode(!this.isReordering,!0)}keyboardReorder(e){if(this.isReordering)switch(e.key){case"ArrowUp":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1,column:this.text});break;case"ArrowDown":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1,column:this.text});break;case"Home":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1/0,column:this.text});break;case"End":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1/0,column:this.text});break;case"Escape":e.preventDefault(),this.setReorderMode(!1)}}async componentWillLoad(){this.i18n=await a(this.root,s)}render(){return t(r,{key:"87e64ab19cc75a34e27b0da4a3883b4fc03bdfe4",draggable:"true"},t("div",{key:"852ceec945260e57f0366ba8dd4067a36cad1815",class:{"gux-container":!0,[`gux-drop-${this.pendingReorder}`]:!0,"gux-dragging":this.isDragging}},t("button",{key:"b871cd2344b5df464276ac3b3ef46fd13d491d17",class:{"gux-reorder":!0,"gux-reordering":this.isReordering},type:"button",onClick:()=>this.toggleReorderMode(),onKeyDown:e=>this.keyboardReorder(e),ref:e=>this.reorderButtonElement=e},t("gux-icon",{key:"5ae5841dc9fea7a4c2915c103206aa7cfc96b939","icon-name":"fa/grip-vertical-solid",decorative:!0,size:"small"}),t("span",{key:"d33b39c970e321e6216875363cc3fed45a8dfbeb",class:"gux-sr-only"},this.i18n("activateReordering",{columnName:this.text}))),t("div",{key:"a047de4fd93b7e742b1b70a31061750478f1c224",class:"gux-select"},t("slot",{key:"6b3a439c12c4ee9f3dca44e7802f691fae62e003",onSlotchange:()=>this.onSlotChange()}),t("gux-text-highlight",{key:"d64a6d6a97f3d8fecf40a92f7ed8d27f1ef6320f",highlight:this.highlight,text:this.text,strategy:"contains",dimmed:!this.highlightActive}))))}get root(){return i(this)}};d.style=":host([gs-reorder-indicator=above]) .gux-container{border-block-start-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}:host([gs-reorder-indicator=below]) .gux-container{border-block-end-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-editColumn-editColumnItem-gap);place-content:stretch flex-start;align-items:center;margin-block-end:-2px;border-block-start:2px solid transparent;border-block-end:2px solid transparent}.gux-container.gux-drop-above{border-block-start-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container.gux-drop-below{border-block-end-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container.gux-dragging{border-block-start-color:transparent;border-block-end-color:transparent;opacity:0.4}.gux-container .gux-reorder{all:unset;display:flex;flex:0 1 auto;align-self:auto;order:0;color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-foregroundColor);cursor:grab;border-radius:4px}.gux-container .gux-reorder:active{pointer-events:none;cursor:grabbing !important}.gux-container .gux-reorder:active gux-icon,.gux-container .gux-reorder:focus-visible gux-icon{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-active-foregroundColor)}.gux-container .gux-reorder:hover gux-icon{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-hover-foregroundColor)}.gux-container .gux-reorder:hover,.gux-container .gux-reorder:focus-visible{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus)}.gux-container .gux-select{position:relative;flex:1 1 auto;align-self:auto;order:1}.gux-container .gux-select gux-text-highlight{position:absolute;inset-block-start:1px;inset-inline-start:calc(var(--gse-ui-icon-small-size) + var(--gse-ui-checkbox-gap));color:transparent;pointer-events:none}.gux-sr-only{}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{d as gux_column_manager_item}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,h as a,a as i}from"./p-
|
1
|
+
import{r as t,c as e,h as a,a as i}from"./p-zxw1OYDK.js";import{b as n}from"./p-Dm8o5II3.js";import{t as s}from"./p-BFMPPR7N.js";import{b as r}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";class o{static displayAllPageButtons(t,e,a){switch(a){case"advanced":return function(t,e){if(e<=7)return[...Array(e).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}}));if(t<=3)return[...[...Array(5).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}];if(t>e-3){const a=[...Array(5).keys()].map((a=>{const i=a+e-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:e-6,display:"...",current:!1},...a]}const a=[...Array(3).keys()].map((e=>{const a=e+t-1;return{pageNumber:a,display:String(a),current:a===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...a,{pageNumber:t+3,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}]}(t,e);case"simple":return function(t,e){return e<=3?[...Array(e).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}})):e===t?[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:!0}]:e>=4?[...[...Array(1).keys()].map((a=>{const i=a+t;return{pageNumber:i,display:String(i),current:i!==e}})),{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:e==t}]:void 0}(t,e)}}}const c=class{constructor(a){t(this,a),this.internalcurrentpagechange=e(this,"internalcurrentpagechange",3),this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),r((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,e,i){return o.displayAllPageButtons(t,e,i).reduce(((t,e)=>t.concat(e.current?a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:e.pageNumber})},e.display)):"..."==e.display?a("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages}):a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(e.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:e.pageNumber})},e.display)))),[])}getPageNavigation(){return a("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return a("div",{key:"60f97d7dfd559c636256681ded712f77f2efdc83",class:`gux-pagination-buttons-container gux-${this.layout}`},a("div",{key:"ecd0054f7cf42334151263c49eacd9ed8bf22bf7",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"619654784dcf7c5a9b6840b9b3519e55db3475ec",accent:"ghost","icon-only":!0},a("button",{key:"8876fea0d79cec9136e2d58c4ffdf5c1e3b40ba2",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},a("gux-icon",{key:"b624ffa2d3bb0b729f0cfc8590ae9bc2c5c8ac1e",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),a("gux-button-slot",{key:"146abf1b5513e91d75ac53b471465cd5860645b6",accent:"ghost","icon-only":!0},a("button",{key:"66dca712b20d66c1cb525c98a4d22bae15496183",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},a("gux-icon",{key:"d488b206cc100a1efb396f4e927eae3f1d33f892",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),a("div",{key:"14a7cd51324045e758b6ec85a8fc4e22b2a6bdd7",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"722e07ad3e738654f5f9cb1dd81097b4b99609f4",accent:"ghost","icon-only":!0},a("button",{key:"1e8f9a96869f500fa27548f0bcbd11bb982c9fbf",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},a("gux-icon",{key:"96277edf6a962dd30cffad2a1a3365f12602dbcc",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("gux-button-slot",{key:"8206bdf5ed92fc83cc615d96d6afff3743901fd2",accent:"ghost","icon-only":!0},a("button",{key:"5d42af899fbe776437ef5b4142a20c6037a13f5a",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},a("gux-icon",{key:"5ee1dda6b6413260ac80ce00c3c7889cf23bdff2",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};c.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";var u={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"};const g=class{constructor(e){t(this,e),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,u)}getPaginationItemCountsRange(){if(this.totalItems)return a("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return a("div",{key:"0b327e1a3253ac25f9e556b7a11f8c3628fe846c",class:"gux-pagination-item-counts-container"},a("span",{key:"1db9a20e4b8fa015aae8c9836758b4cceecd354b",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),a("span",{key:"82c84a6f34c678d3ae3abe484cf5e6f9c34159ee",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return i(this)}};g.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";export{c as gux_pagination_buttons,g as gux_pagination_item_counts}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as i,h as o,a as r}from"./p-
|
1
|
+
import{r as i,h as o,a as r}from"./p-zxw1OYDK.js";import{t}from"./p-CO6uw_fy.js";import{b as a}from"./p-Dm8o5II3.js";import"./p-Cd4R0amv.js";var l={optional:"optional"};const e=class{constructor(o){i(this,o),this.variant="required",this.required=!1}async componentWillLoad(){t(this.root,{variant:this.variant}),this.i18n=await a(this.root,l)}render(){return"optional"!==this.variant||this.required?"required"===this.variant&&this.required?o("span",{class:"gux-form-field-label-indicator-required","aria-hidden":"true"},"*"):null:o("span",{class:"gux-form-field-label-indicator-optional"},"(",this.i18n("optional"),")")}get root(){return r(this)}};e.style=".gux-form-field-label-indicator-required{padding-inline-start:var(--gse-ui-formControl-formField-gap);color:var(--gse-ui-formControl-label-indicator-requiredColor)}.gux-form-field-label-indicator-optional{margin-inline-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-label-indicator-text-fontFamily);font-size:var(--gse-ui-formControl-label-indicator-text-fontSize);font-weight:var(--gse-ui-formControl-label-indicator-text-fontWeight);line-height:var(--gse-ui-formControl-label-indicator-text-lineHeight);color:var(--gse-ui-formControl-label-indicator-optionalColor)}";export{e as gux_form_field_label_indicator}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as s,a as i}from"./p-
|
1
|
+
import{r as t,h as s,a as i}from"./p-zxw1OYDK.js";import{b as e}from"./p-Dm8o5II3.js";import{t as o,f as r,g as n}from"./p-DXWkLCow.js";import{t as a}from"./p-CO6uw_fy.js";import{s as h}from"./p-BMRf5pjV.js";import"./p-Cd4R0amv.js";const u=class{constructor(s){t(this,s),this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString=""}on(t){this.searchString=t.detail,this.filteredZoneList=this.filterTimeZoneList(this.timeZoneList),this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}async componentWillLoad(){a(this.root),this.i18n=await e(this.root,o),this.timeZoneList=this.getTimeZoneOptionsList(),this.filteredZoneList=this.timeZoneList,this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}componentDidLoad(){var t;(null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown")).addEventListener("change",(t=>{const s=t.target;this.value=null==s?void 0:s.value,h(this.root,"change")}))}filterTimeZoneList(t){const s=this.searchString;return t.filter((t=>this.getFormattedTimeZoneOption(t).toLowerCase().includes(s.toLowerCase())))}getTimeZoneOption(t){const s=this.i18n(t.name),i=t.countryName?this.i18n(t.countryName):void 0;if(!s)return;const e=r(t.currentTimeOffsetInMinutes),o=`${s}`,n=` (${this.i18n("UTC")}${e})`,a=`${n}`,h=o.replace(/_/g," "),u=`${i}`,l=o.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:s,formattedOffset:e,displayTextNameFormatted:h,displayTextOffset:n,baseDisplayOffsetText:a,countryName:u,defaultZone:"",priority:l}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=n(),s=[];return t.forEach((t=>{const i=this.getTimeZoneOption(t);i&&s.push(i)})),s.sort(((t,s)=>{var i;return t.priority-s.priority||(null===(i=t.displayTextNameFormatted)||void 0===i?void 0:i.localeCompare(s.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),s=this.timeZoneList.reduce(((s,i)=>t.includes(i.value)?s.concat([Object.assign({},i)]):s),[]);return s.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),s}renderTimeZones(t){return t.map((t=>s("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value},s("div",{class:"gux-option-wrapper"},s("div",null,this.getFormattedTimeZoneOption(t)),s("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return s("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return s("gux-option-group-beta",{label:this.i18n("all")},this.timeZoneOptionElements)}render(){return s("gux-dropdown",{key:"5678c0115e471da7d88dfe17a706e41731f2ed62",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},s("gux-listbox",{key:"bce0d5e03122db54277328cce178149c4481d2ff","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return i(this)}};u.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{u as gux_time_zone_picker_beta}
|
@@ -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-zxw1OYDK.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:"dc776ce73d09cdc31397017a03c56b7612a896ba",role:"listitem"},r("span",{key:"9e6106e96f4e83cc5c1ff26135f50f293ef06afe",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 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-zxw1OYDK.js";import{O as n}from"./p-yMox4oUG.js";import{h as s}from"./p-qzV3vtOw.js";import{t as a}from"./p-CO6uw_fy.js";import{g as h}from"./p-Bqbn0_rB.js";import{b as d}from"./p-Dm8o5II3.js";import{t as c}from"./p-DN3YAdAX.js";import{a as l}from"./p-Bg4q97BS.js";import{O as u}from"./p-D35-_S3R.js";import"./p-BZb6pJEJ.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:"17ea006c6cfcda672b7e5544651e4fceef344bfa",class:{"gux-rich-text-editor-container":!0,"gux-disabled":this.disabled,"gux-toolbar-hidden":!this.hasToolbar}},r("div",{key:"e42fd9a0f5f480f86197d0338575a0bef669f422",class:"gux-rich-text-editor-toolbar-container"},this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderTextEditorMenu(),this.renderGlobalAction()),r("slot",{key:"ca68e78388206bea116acec36a2a1028d1c21f47",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 a,a as i}from"./p-zxw1OYDK.js";import{t}from"./p-CO6uw_fy.js";const n=class{constructor(a){e(this,a),this.level=1,this.size="default"}componentWillLoad(){t(this.root),this.headingTag=`h${this.level}`}render(){return a(this.headingTag,{key:"b97a4c1f1ecd5fcf3e7a195f6dca7d561739c982",class:this.size},a("gux-truncate",{key:"0299fdd83d623414659ab53133bb12fd280b12aa"},a("slot",{key:"3b8783207b04e43028b6e5e76485ad0442e29090"})))}get root(){return i(this)}};n.style=":host{display:block}h1,h2,h3,h4,h5,h6{display:flex;flex:0 0 auto;gap:var(--gse-ui-sidePanel-header-iconGap);align-items:center;inline-size:100%;padding:0;margin:0;color:var(--gse-ui-sidePanel-headerColor)}h1.default,h2.default,h3.default,h4.default,h5.default,h6.default{font-family:var(--gse-ui-sidePanel-heading-mdText-fontFamily);font-size:var(--gse-ui-sidePanel-heading-mdText-fontSize);font-weight:var(--gse-ui-sidePanel-heading-mdText-fontWeight);line-height:var(--gse-ui-sidePanel-heading-mdText-lineHeight)}h1.large,h2.large,h3.large,h4.large,h5.large,h6.large{font-family:var(--gse-ui-sidePanel-heading-lgText-fontFamily);font-size:var(--gse-ui-sidePanel-heading-lgText-fontSize);font-weight:var(--gse-ui-sidePanel-heading-lgText-fontWeight);line-height:var(--gse-ui-sidePanel-heading-lgText-lineHeight)}";export{n as gux_side_panel_heading}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as o,h as a,a as s}from"./p-
|
1
|
+
import{r as t,c as o,h as a,a as s}from"./p-zxw1OYDK.js";import{t as e}from"./p-CO6uw_fy.js";import{h as i}from"./p-qzV3vtOw.js";import{l as r}from"./p-DxtJDeL9.js";const n=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.toastType="success",this.hasLink=!1,this.hasPrimaryButton=!1,this.hasSecondaryButton=!1}componentWillLoad(){e(this.root,{variant:this.toastType}),this.hasPrimaryButton=i(this.root,"primary-button"),this.hasSecondaryButton=i(this.root,"secondary-button"),this.hasLink=i(this.root,"link")}componentDidLoad(){this.checkAriaLive()}checkAriaLive(){let t=this.root.parentElement;for(;t;){if(t.hasAttribute("aria-live"))return;t=t.parentElement}r(this.root,"gux-toast must have a parent element with an `aria-live` attribute")}renderToastIcon(){switch(this.toastType){case"success":return a("gux-icon",{"icon-name":"fa/circle-check-solid",decorative:!0});case"warning":return a("gux-icon",{"icon-name":"fa/triangle-exclamation-solid",decorative:!0});case"error":return a("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0});case"info":return a("gux-icon",{"icon-name":"fa/circle-info-solid",decorative:!0});case"action":return a("slot",{name:"icon"})}}renderLink(){return a("div",{class:"gux-buttons-bar"},a("gux-link-beta",{standalone:!0},a("slot",{name:"link"})))}renderActions(){return a("gux-cta-group",{class:"gux-buttons-bar",align:"end"},this.hasSecondaryButton&&a("gux-button-slot",{slot:"secondary"},a("slot",{name:"secondary-button"})),a("gux-button-slot",{slot:"primary"},a("slot",{name:"primary-button"})))}render(){return a("div",{key:"0a37df663a3f056dfd9ba6ffe3ada2ec62cb4d0b",class:`gux-toast gux-toast-${this.toastType}`},a("div",{key:"0543ec9f840eb551ca0344b10dc5c147c4b76e8f",class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),a("div",{key:"183e1ff2377b279794810532925334986312f5ac",class:"gux-content"},a("div",{key:"30d551cc34a471247f88ef5dd036564f6d946b82",class:"gux-message"},a("gux-truncate",{key:"27f070a783c0c2f1105e838cf65ed3e0eeeeaf91",class:"gux-message-title","max-lines":1},a("slot",{key:"12076be377f6428237edbf92e61dab1e90633467",name:"title"})),a("gux-truncate",{key:"607a50c1adaecaaf1760dfab369e733cfb802808",class:"gux-message-body","max-lines":2},a("slot",{key:"44513cf5dd9a74e9ec54f355cb3e7ad5dbf9ab9c",name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),a("gux-dismiss-button",{key:"6257002dfad791464813207a23b7b4ec8de284fa",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};n.style=".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);place-content:stretch flex-start;align-items:flex-start;inline-size:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-block-end:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow)}.gux-toast .gux-icon ::slotted(gux-icon){inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight);word-break:break-all}.gux-toast .gux-content .gux-buttons-bar{inline-size:100%}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{display:grid;grid-template-rows:1fr;grid-template-columns:var(--gse-ui-icon-medium-size) 1fr var(--gse-ui-button-dismiss-medium-width);background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-content{grid-row:1/2;grid-column:2/4}.gux-toast.gux-toast-action .gux-icon{grid-row:1/2;grid-column:1/2}.gux-toast.gux-toast-action gux-dismiss-button{grid-row:1/2;grid-column:3/4}.gux-toast.gux-toast-action .gux-message{inline-size:var(--gse-ui-toast-messageWidth);color:var(--gse-ui-toast-action-foregroundColor)}";export{n as gux_toast}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as i,h as a,a as e}from"./p-
|
1
|
+
import{r as t,c as i,h as a,a as e}from"./p-zxw1OYDK.js";import{e as s}from"./p-C6ZfOd6U.js";import{r as o}from"./p-D9jKBqIb.js";import{a as n}from"./p-Bg4q97BS.js";import{b as d}from"./p-Dm8o5II3.js";import{t as u}from"./p-DFTYqKJS.js";import"./p-Cd4R0amv.js";const r=class{constructor(a){t(this,a),this.internalactivatetabpanel=i(this,"internalactivatetabpanel",7),this.dropdownOptionsButtonId=o(),this.tabTitle="",this.focusinFromClick=!1,this.active=!1,this.guxDisabled=!1,this.popoverHidden=!0}onFocusin(t){!this.focusinFromClick&&t.target.classList.contains("gux-tab-button")&&this.tooltipTitleElement.setShowTooltip()}onFocusout(t){this.root.querySelector(".gux-tab").contains(t.relatedTarget)||(this.popoverHidden=!0),t.target.classList.contains("gux-tab-button")&&this.tooltipTitleElement.setHideTooltip(),this.focusinFromClick=!1}onKeydown(t){switch(t.key){case"ArrowDown":s(".gux-tab-options-trigger",t)&&(t.stopPropagation(),t.preventDefault(),this.popoverHidden=!1,this.focusFirstItemInPopupList()),s('gux-list[slot="dropdown-options"]',t)&&(t.stopImmediatePropagation(),t.stopPropagation());break;case"Enter":s(".gux-tab-options-trigger",t)&&(t.stopPropagation(),t.preventDefault(),this.popoverHidden=!1,this.focusFirstItemInPopupList());break;case"Escape":s('gux-list[slot="dropdown-options"]',t)&&(t.stopPropagation(),this.popoverHidden=!0,n((()=>{var t;null===(t=this.tabOptionsButtonElement)||void 0===t||t.focus()})));break;case"ArrowRight":case"ArrowLeft":case"ArrowUp":case"Tab":case"Home":case"End":s('gux-list[slot="dropdown-options"]',t)&&(t.stopImmediatePropagation(),t.stopPropagation())}}onKeyup(t){" "===t.key&&s(".gux-tab-options-trigger",t)&&this.focusFirstItemInPopupList()}onClick(t){s(".gux-tab-options-trigger",t)||this.active||this.guxDisabled||this.internalactivatetabpanel.emit(this.tabId)}onMouseDown(){this.focusinFromClick=!0}async guxSetActive(t){this.active=t}async guxGetActive(){return this.active}async guxFocus(){this.buttonElement.focus()}get hasDropdownOptions(){return Boolean(this.root.querySelector('gux-list[slot="dropdown-options"]'))}focusFirstItemInPopupList(){const t=this.root.querySelector('gux-list[slot="dropdown-options"]');n((()=>{null==t||t.guxFocusFirstItem()}))}toggleOptions(){this.popoverHidden=!this.popoverHidden}onSelectDropdownOption(t){this.popoverHidden=!0,t.stopPropagation(),n((()=>{this.tabOptionsButtonElement.focus()}))}async componentWillLoad(){this.i18n=await d(this.root,u,"gux-tabs-advanced")}componentDidLoad(){this.tabTitle=this.root.querySelector("gux-tooltip-title").textContent.trim()}popoverOnClick(t){t.stopPropagation()}renderTabOptions(){return this.hasDropdownOptions?a("div",{class:"gux-tab-options"},a("gux-button-slot",{accent:"ghost"},a("button",{id:this.dropdownOptionsButtonId,role:"tab","aria-expanded":(!this.popoverHidden).toString(),type:"button",class:"gux-tab-options-trigger",ref:t=>this.tabOptionsButtonElement=t,onClick:()=>this.toggleOptions(),tabIndex:this.active?0:-1,disabled:this.guxDisabled},a("gux-icon",{"icon-name":"fa/ellipsis-vertical-regular",decorative:!0}),a("gux-screen-reader-beta",null,this.i18n("options",{tabTitle:this.tabTitle})))),a("gux-popover-list",{position:"top-end",for:this.dropdownOptionsButtonId,displayDismissButton:!1,"is-open":!this.popoverHidden,closeOnClickOutside:!0,onGuxdismiss:()=>this.popoverHidden=!0,onClick:t=>this.popoverOnClick(t),onFocusout:t=>t.stopImmediatePropagation()},a("div",{class:"gux-dropdown-options-container",onClick:t=>this.onSelectDropdownOption(t)},a("slot",{name:"dropdown-options"})))):null}renderTabButton(){return a("button",{class:"gux-tab-button",type:"button",role:"tab",disabled:this.guxDisabled,"aria-selected":this.active.toString(),"aria-disabled":this.guxDisabled.toString(),"aria-controls":`gux-${this.tabId}-panel`,ref:t=>this.buttonElement=t,tabIndex:this.active?0:-1,id:`gux-${this.tabId}-tab`},a("gux-tooltip-title",{ref:t=>this.tooltipTitleElement=t},a("span",{class:"gux-tab-button-text"},a("slot",null))))}render(){return[a("div",{key:"d3678eb1bf19ed51c385aeaff53dbd6be0a617f1",class:{"gux-tab":!0,"gux-selected":this.active,"gux-dropdown-options":this.hasDropdownOptions,"gux-disabled":this.guxDisabled}},a("div",{key:"a97c1090f629015fad94f9101577bb64ad2c56d9",class:"gux-buttons"},this.renderTabButton(),this.renderTabOptions()),a("div",{key:"7fbc999d5433372595df9b16fd310fd7dfaaacee",class:"gux-divider"}))]}get root(){return e(this)}};r.style="gux-tab-advanced .gux-tab{display:flex;align-items:center;border-color:transparent;border-block-start-width:var(--gse-ui-advancedTabs-item-indicator-height);border-block-end-style:solid;border-block-end-width:var(--gse-ui-advancedTabs-item-indicator-height)}gux-tab-advanced .gux-tab .gux-buttons{display:flex;flex:1 1 0;gap:var(--gse-ui-advancedTabs-item-gap);align-items:center;inline-size:var(--gse-ui-advancedTabs-item-width);min-inline-size:0}gux-tab-advanced .gux-tab .gux-buttons .gux-tab-button{all:unset;flex:1 1 0;inline-size:100px;min-inline-size:0;padding:var(--gse-ui-advancedTabs-item-padding)}gux-tab-advanced .gux-tab .gux-buttons .gux-tab-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);outline-offset:calc(-1 * var(--gse-semantic-focusOutline-md-borderWidth));border-radius:var(--gse-ui-advancedTabs-item-focus-borderRadius)}gux-tab-advanced .gux-tab .gux-buttons .gux-tab-button .gux-tab-button-text{font-family:var(--gse-ui-advancedTabs-item-itemText-fontFamily);font-size:var(--gse-ui-advancedTabs-item-itemText-fontSize);font-weight:var(--gse-ui-advancedTabs-item-itemText-fontWeight);line-height:var(--gse-ui-advancedTabs-item-itemText-lineHeight);color:var(--gse-ui-advancedTabs-item-text-color);white-space:nowrap}gux-tab-advanced .gux-tab .gux-tab-options button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}gux-tab-advanced .gux-tab .gux-tab-options .gux-tab-options-trigger gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}gux-tab-advanced .gux-tab .gux-tab-options .gux-tab-options-container{--no-op:none}gux-tab-advanced .gux-tab .gux-divider{inline-size:var(--gse-ui-advancedTabs-item-divider-right-width);block-size:var(--gse-ui-advancedTabs-item-divider-right-height);background-color:var(--gse-ui-advancedTabs-divider-dividerColor)}gux-tab-advanced .gux-tab:hover:not(.gux-disabled),gux-tab-advanced .gux-tab:focus-within{border-block-end-color:var(--gse-ui-advancedTabs-item-indicator-activeColor)}gux-tab-advanced .gux-tab.gux-selected{background-color:var(--gse-ui-advancedTabs-item-backgroundColor);border-block-end-color:var(--gse-ui-advancedTabs-item-indicator-activeColor)}gux-tab-advanced .gux-tab.gux-selected.gux-disabled{opacity:var(--gse-ui-advancedTabs-item-disabled-opacity)}gux-tab-advanced .gux-tab.gux-disabled .gux-buttons .gux-tab-button .gux-tab-button-text{opacity:var(--gse-ui-advancedTabs-item-disabled-opacity)}";export{r as gux_tab_advanced}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as o,h as t,a as s}from"./p-
|
1
|
+
import{r as o,h as t,a as s}from"./p-zxw1OYDK.js";import{t as r}from"./p-CO6uw_fy.js";const e=class{constructor(t){o(this,t),this.singleOpenSection=!1}handleGuxopened(o){this.singleOpenSection&&this.getAccordionSections().forEach((t=>{t!==o.target&&this.closeSection(t)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((o,t)=>(o&&this.closeSection(t),o||t.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"40c10eb6df635f2f67aedef0880d2a2575d7e4be"})}get root(){return s(this)}};e.style="gux-accordion{-custom-noop:noop}";export{e as gux_accordion}
|