genesys-spark-components 4.157.0 → 4.157.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
- package/dist/cjs/{get-valid-timezone-DU46-Gxj.js → get-valid-timezone-C0xJZ9V1.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 +4 -4
- package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +5 -4
- 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 +5 -5
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
- package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +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-CsghX33K.js → gux-form-field-container-vQrhKdTl.js} +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
- package/dist/cjs/{gux-form-field-error-BM73eb_o.js → gux-form-field-error-DwdPe1do.js} +1 -1
- package/dist/cjs/{gux-form-field-fieldset-container-ZOMCzWMr.js → gux-form-field-fieldset-container-pqGQ6m4S.js} +1 -1
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +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 +8 -5
- 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-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-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-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-D-imLRhv.js → index-DFJM_D-5.js} +1 -1
- package/dist/cjs/{index-BQrPK8Sl.js → index-VdCTHAy4.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{on-click-outside-BzCp8ZxJ.js → on-click-outside-ClPD8v3q.js} +1 -1
- package/dist/cjs/{on-mutation-Cd2RsGV3.js → on-mutation-DW6SF8Qi.js} +1 -1
- package/dist/cjs/{on-resize-QXco5eCB.js → on-resize-B49teQmM.js} +1 -1
- package/dist/cjs/{usage-DrxzyppV.js → usage-xVgSHv_3.js} +1 -1
- package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +22 -2
- package/dist/collection/components/stable/gux-content-search/gux-content-search.js +1 -1
- package/dist/collection/components/stable/gux-content-search/tests/gux-content-search.common.js +94 -0
- package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +2 -1
- package/dist/collection/test/expectToHaveNoViolations.js +43 -0
- package/dist/collection/test/playwrightTestUtils.js +9 -8
- package/dist/collection/test/setupAxeTests.js +5 -64
- package/dist/collection/test/setupTests.js +2 -4
- package/dist/esm/genesys-webcomponents.js +3 -3
- package/dist/esm/{get-valid-timezone-B9tiABRl.js → get-valid-timezone-DSdiXBF2.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 +4 -4
- package/dist/esm/gux-context-menu.entry.js +4 -4
- package/dist/esm/gux-copy-to-clipboard.entry.js +5 -4
- 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 +5 -5
- package/dist/esm/gux-dropdown-option.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +5 -5
- package/dist/esm/gux-file-list-item.entry.js +3 -3
- package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
- package/dist/esm/gux-flyout-menu.entry.js +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-DWt4RIk3.js → gux-form-field-container-DMy6XKFO.js} +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
- package/dist/esm/{gux-form-field-error-C6ZVBTbw.js → gux-form-field-error-Y3c4Ie-N.js} +1 -1
- package/dist/esm/{gux-form-field-fieldset-container-9_eIEQmM.js → gux-form-field-fieldset-container-BjsQXSWl.js} +1 -1
- package/dist/esm/gux-form-field-file-beta.entry.js +6 -6
- package/dist/esm/gux-form-field-file.entry.js +5 -5
- package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
- package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
- package/dist/esm/gux-form-field-number_2.entry.js +7 -7
- package/dist/esm/gux-form-field-phone.entry.js +6 -6
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
- package/dist/esm/gux-form-field-radio.entry.js +4 -4
- package/dist/esm/gux-form-field-range.entry.js +6 -6
- package/dist/esm/gux-form-field-search.entry.js +5 -5
- package/dist/esm/gux-form-field-select.entry.js +5 -5
- package/dist/esm/gux-form-field-text-like.entry.js +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 +8 -5
- 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-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-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-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-DwD9dO7z.js → index-CteT-EFt.js} +1 -1
- package/dist/esm/{index-CrNuRzs_.js → index-DpQ1U-8-.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{on-click-outside-DcC8PnV_.js → on-click-outside-DvP6nNvk.js} +1 -1
- package/dist/esm/{on-mutation-D-XLVWbC.js → on-mutation-Quv69WH7.js} +1 -1
- package/dist/esm/{on-resize-CNzGBVlL.js → on-resize-DbcdFG_U.js} +1 -1
- package/dist/esm/{usage-DZBoT03M.js → usage-DXe53egP.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-1b028d3c.entry.js → p-010eeb26.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-12bce29e.entry.js → p-04f5a07d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1d2f7220.entry.js → p-06145f0e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2aa26f07.entry.js → p-0668cb80.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0fb31cad.entry.js → p-092158de.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0769c501.entry.js → p-09918615.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0acded2d.entry.js → p-09ae1271.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4c6d6d4e.entry.js → p-0abfec88.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d4eb5ea8.entry.js → p-0c7e3e49.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f00cffed.entry.js → p-0ca354f1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-67bf7dbe.entry.js → p-0d42256a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-47425b2d.entry.js → p-0ea33643.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bef9366a.entry.js → p-107253ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2f241c5c.entry.js → p-10d915fe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9998a80a.entry.js → p-12c65e26.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1d8c6dbd.entry.js → p-14469a9a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a79b64d2.entry.js → p-150e98a8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7063579f.entry.js → p-1716228e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ee4c1a6b.entry.js → p-190a7063.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1c593d24.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ce28810a.entry.js → p-1c5e66e4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d28954db.entry.js → p-1c8228c9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2abea5aa.entry.js → p-1ce643a3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b36975c0.entry.js → p-2131b80c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-95562721.entry.js → p-224b2e89.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a74eb37a.entry.js → p-227c0ab6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e3c6876.entry.js → p-22fa6053.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-360e29b0.entry.js → p-239e3468.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2bac6d4.entry.js → p-248f19ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d74c3d3d.entry.js → p-2524f6e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b58819df.entry.js → p-2a742e71.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-df8075e1.entry.js → p-2d46dcfa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-294f5a83.entry.js → p-2de13070.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3013ecc0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f368a79c.entry.js → p-302fa753.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-17cdfa31.entry.js → p-31f90919.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a098757.entry.js → p-32172a02.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fd7002dd.entry.js → p-3831b336.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-225516aa.entry.js → p-397bb4b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24e2a177.entry.js → p-3b3368f9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3e3d93fe.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-00216084.entry.js → p-3e895157.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-683ff22b.entry.js → p-3faf14d5.entry.js} +2 -2
- package/dist/genesys-webcomponents/{p-86abfd07.entry.js → p-4001a305.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-839310fe.entry.js → p-4238c71c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a4975a0b.entry.js → p-4447432b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-19cf748a.entry.js → p-479f7ead.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-55b08500.entry.js → p-4b3534f8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-028aef4c.entry.js → p-4b970b02.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-84e117b4.entry.js → p-4c215e36.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-be3bd812.entry.js → p-4e463d27.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-504fc76f.entry.js +1 -0
- package/dist/genesys-webcomponents/p-51b57ff4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-029c2f8a.entry.js → p-5465ca61.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b1357011.entry.js → p-56e5d8a6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4973a752.entry.js → p-5757088d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80856e58.entry.js → p-576e108a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a6146910.entry.js → p-57f07bed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-r-A5Sv7q.js → p-5JLFUoN2.js} +1 -1
- package/dist/genesys-webcomponents/{p-937579a6.entry.js → p-5a2121dd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1bdcceb4.entry.js → p-5af27317.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ed381619.entry.js → p-5b111d07.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2c4ef73.entry.js → p-5e170c57.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5ba6c099.entry.js → p-604f3883.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e3250775.entry.js → p-61a0eda0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f9de790e.entry.js → p-62cf0e68.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e4918412.entry.js → p-63173290.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cd446367.entry.js → p-639be021.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7f822e58.entry.js → p-64c9dd56.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c8249a84.entry.js → p-6713be28.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b498cf29.entry.js → p-6aae6646.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4123a8d9.entry.js → p-6cdad91c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-60845ad7.entry.js → p-6d7f291d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6f2ea132.entry.js → p-6e07b064.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-15b92c0b.entry.js → p-6e0d3115.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-DdMoEl_o.js → p-6ukQFVpI.js} +1 -1
- package/dist/genesys-webcomponents/{p-92804779.entry.js → p-7142068a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d66cb660.entry.js → p-71beafe6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70eeb612.entry.js → p-74fa680e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-edc005fc.entry.js → p-7513029e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c90a130c.entry.js → p-7ac9301e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7cc9bdce.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-90654ae5.entry.js → p-7d1570d6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b5f0ae0.entry.js → p-804d0cea.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-80792f38.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-76ffcb02.entry.js → p-8256f04f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-83f643f9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ba6a7349.entry.js → p-87ffc257.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-89d571e7.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-185f252f.entry.js → p-8af0ca46.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-32c1f38e.entry.js → p-8d2375c1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-86311fa9.entry.js → p-8db6515a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b1a442f5.entry.js → p-8e8d0340.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d6f1add9.entry.js → p-91ab24c1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-193f8d1f.entry.js → p-95d2139d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0b51e70c.entry.js → p-96d1b059.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-92a9d22a.entry.js → p-97869107.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e0e8e438.entry.js → p-98bb159b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2b5efabc.entry.js → p-9a48cd12.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-58e3db9a.entry.js → p-9badde2f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2fa5e5b7.entry.js → p-9c0a155a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-B7nShefu.js +1 -0
- package/dist/genesys-webcomponents/p-BSjADocz.js +1 -0
- package/dist/genesys-webcomponents/p-BnUSiPX2.js +1 -0
- package/dist/genesys-webcomponents/{p-fWIHj_dF.js → p-C7eyjCR-.js} +1 -1
- package/dist/genesys-webcomponents/p-CteT-EFt.js +2 -0
- package/dist/genesys-webcomponents/{p-DZBoT03M.js → p-DXe53egP.js} +1 -1
- package/dist/genesys-webcomponents/p-G9kal9Ac.js +1 -0
- package/dist/genesys-webcomponents/{p-BshN0UgG.js → p-W9bqpKbz.js} +1 -1
- package/dist/genesys-webcomponents/{p-99b36d93.entry.js → p-a2867f1d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2b14af53.entry.js → p-a31e7883.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8aeee5cc.entry.js → p-a532650b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70a43bcf.entry.js → p-a626575e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d23d0276.entry.js → p-a8146217.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-84c9e36c.entry.js → p-a8230d6e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b77ef1e2.entry.js → p-a92c2017.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-07453fbc.entry.js → p-aa6a6096.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-07c7f7ba.entry.js → p-acbfb777.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e29dc009.entry.js → p-adb98ea1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b0ca1385.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1700f509.entry.js → p-b3121dbf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eb38e2c6.entry.js → p-b37689fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b3ffeb04.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5a7e9fef.entry.js → p-b68d4d12.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-63c54536.entry.js → p-b771a981.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-780f0d38.entry.js → p-b88ed72b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-98522b7b.entry.js → p-b91509cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b8f16a7.entry.js → p-be451bc3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fe78b1c9.entry.js → p-bee1c859.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b27655ae.entry.js → p-bf7349ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c2de69bb.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-9d20ce6e.entry.js → p-c3a477e4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eedecf2a.entry.js → p-c3ff875b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3c7cab6a.entry.js → p-c465d9d6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5f07e453.entry.js → p-c49df173.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-79ad632c.entry.js → p-c7848183.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-68d3b910.entry.js → p-c8f20a4c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dff8abea.entry.js → p-cb322d1f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cb5b12f0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2a76b547.entry.js → p-d24b1b03.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fdba03d9.entry.js → p-d302f317.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f07acbee.entry.js → p-d3a72fe7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a7fc1abf.entry.js → p-d3c86f2f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0997f64a.entry.js → p-d4811961.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9678375c.entry.js → p-d795fbed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4ae8fb78.entry.js → p-dae4603f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-15d4f2bd.entry.js → p-daf92a38.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-daffb8c5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-168c2ac7.entry.js → p-deeb6f08.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e143ccf4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-77b39a6e.entry.js → p-e27aa956.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6afd2b36.entry.js → p-e652dd97.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-60c7a748.entry.js → p-e8e20ece.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3acdca02.entry.js → p-e90fe101.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-65d1597f.entry.js → p-e93baf16.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7bc03f9b.entry.js → p-ecdc2bf3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3ff39e37.entry.js → p-edc1349a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-90a9a62d.entry.js → p-ee8a68db.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ae5a5d17.entry.js → p-f094364f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f147d11f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d3582501.entry.js → p-f216f39f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6771318c.entry.js → p-f293c122.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6538ba8d.entry.js → p-f3c9fcf6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c06f4074.entry.js → p-f55fe764.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e091967.entry.js → p-f6335320.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a64a3179.entry.js → p-f66561a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ca5d8123.entry.js → p-f7dbe83a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cb8afa15.entry.js → p-f9166d97.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-876cf7b2.entry.js → p-fc767d34.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-77b32093.entry.js → p-fcf8f6cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1c7cc406.entry.js → p-ff3555e9.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-popover-beta/gux-popover.d.ts +1 -0
- package/dist/types/components/stable/gux-content-search/tests/gux-content-search.common.d.ts +4 -0
- package/dist/types/components.d.ts +1 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/dist/types/test/expectToHaveNoViolations.d.ts +14 -0
- package/dist/types/test/playwrightTestUtils.d.ts +9 -4
- package/dist/types/test/setupAxeTests.d.ts +1 -0
- package/dist/types/test/setupTests.d.ts +0 -0
- package/package.json +1 -1
- package/dist/genesys-webcomponents/p-12193a03.entry.js +0 -1
- package/dist/genesys-webcomponents/p-15275ebb.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1ad10006.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3558ed61.entry.js +0 -1
- package/dist/genesys-webcomponents/p-54878f8d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5bc6e043.entry.js +0 -1
- package/dist/genesys-webcomponents/p-632e6757.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7186ef8f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-82c09ef2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-CUSIOYec.js +0 -1
- package/dist/genesys-webcomponents/p-CvPWYZYp.js +0 -1
- package/dist/genesys-webcomponents/p-D0FCqvQJ.js +0 -1
- package/dist/genesys-webcomponents/p-DwD9dO7z.js +0 -2
- package/dist/genesys-webcomponents/p-a1aea662.entry.js +0 -1
- package/dist/genesys-webcomponents/p-aa8390d5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c926f441.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ca7fcf77.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d33c130a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f946ee89.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fd2dbf75.entry.js +0 -1
- package/dist/genesys-webcomponents/p-jLUZ1wCM.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as t,H as o,a as i}from"./p-
|
1
|
+
import{r as e,h as t,H as o,a as i}from"./p-CteT-EFt.js";const n=class{constructor(t){e(this,t),this.disabled=!1}render(){return t(o,{key:"58b4b87f804d304bc00e519f35f31476bcd5fd4d",role:"listitem"},t("button",{key:"22a7f84a96bd64ad8005075625273a8879d6ee29",type:"button",tabIndex:-1,disabled:this.disabled,"data-testid":"list-item-button"},t("slot",{key:"774aecf35cddf804daab45b2ccd2fec333670307"})))}static get delegatesFocus(){return!0}get root(){return i(this)}};n.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1);background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}";export{n as gux_list_item}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as e,a as i}from"./p-DwD9dO7z.js";import{O as r}from"./p-jLUZ1wCM.js";import{s as o}from"./p-BMRf5pjV.js";import{b as s}from"./p-Bg4q97BS.js";import{g as n,b as a}from"./p-r-A5Sv7q.js";import{t as u}from"./p-DZBoT03M.js";import{a as c}from"./p-DxtJDeL9.js";import{a as l}from"./p-B0p1zRQq.js";import{u as p}from"./p-ZuNZ-MBw.js";import"./p-Cd4R0amv.js";import"./p-BZb6pJEJ.js";var h={am:"AM","time-separator":":",clockButton:"Toggle suggested times",hoursInput:"Input hours",minutesInput:"Input minutes",pm:"PM",timeOptionsState:"Time options open: {state}",toggleAmPM:"{amOrPm} selected, click to toggle"};function m(t){const e=new Date,[i,r]=t.split(":");return e.setHours(parseFloat(i)),e.setMinutes(parseFloat(r)),e.setSeconds(0),e.getTime()}function g(t,e){const[i,r]=t.split(":");return`${((parseInt(i,10)+e+24)%24).toString().padStart(2,"0")}:${r}`}function d(t,e,i){const[r,o]=t.split(":");let s=(parseInt(o,10)+e+60)%60;for(;s%i!=0;)s=(s+e+60)%60;return`${r}:${s.toString().padStart(2,"0")}`}function f(t,e){const[i,r]=t.split(":");return"12h"===e?`${(parseInt(i,10)%12||12).toString().padStart(2,"0")}:${r}`:`${i}:${r}`}function x(t,e,i){const[r,o]=t.split(":");return"12h"===e?i?`${(parseInt(r,10)%12).toString().padStart(2,"0")}:${o}`:`${(parseInt(r,10)%12+12).toString().padStart(2,"0")}:${o}`:`${r}:${o}`}function b(t,e){const[i]=f(t,e).split(":");return i}function v(t){const[,e]=t.split(":");return e}function k(t){const[e]=t.split(":");return parseInt(e,10)<12}function w(t){return"12h"===t?"^(0?[1-9]|1[012])$":"^([01]?[0-9]|2[0-3])$"}const C=class{constructor(e){t(this,e),this.value="00:00",this.interval=60,this.step=1,this.disabled=!1,this.required=!1,this.hasError=!1,this.expanded=!1}onFocus(){this.valueLastChange=this.value}onBlur(){this.valueLastChange!==this.value&&o(this.root,"change")}onClickOutside(){this.expanded=!1}handleKeydown(t){switch(t.key){case"Escape":case"Tab":this.expanded=!1}}async componentWillLoad(){u(this.root),this.i18n=await a(this.root,h),this.clockType=this.clockType||function(t){let e;e=p()?l(t).toLowerCase():n(t).toLowerCase();const i=new Date("January 19, 1975 15:00:00 UTC+00:00"),r=new Intl.DateTimeFormat(e,{timeStyle:"short",timeZone:"UTC"}).format(i);return!p()&&["ar","ko","zh-cn","zh-tw"].some((t=>e.startsWith(t)))||new RegExp(".*15.*").test(r)?"24h":"12h"}(this.root),this.validateValueFormat(this.value,"00:00"),"12h"==this.clockType&&(this.min||this.max)&&c(this.root,'clock type must be "24h" when using min/max props')}validateValueFormat(t,e){this.isValidTimeFormat(t)||(c(this.root,`"${t}" is not a valid value format. Format must be "hh:mm" or "h:mm". Falling back to previous value: "${e}"`),this.value=e)}isValidTimeFormat(t){return"string"==typeof t&&/^\d{1,2}:\d{2}$/.test(t)}updateValue(t,e=!1){t!==this.value&&(this.value=t,o(this.root,"input"),e&&this.valueLastChange!==this.value&&(o(this.root,"change"),this.valueLastChange=this.value))}valueToId(t){return`gux-id-${t.replace(":","-")}`}focusRelevantItemInPopupList(){s((()=>{this.listElement.guxFocusItemByClosestId(this.valueToId(this.value))}))}toggleDropdown(){this.expanded=!this.expanded,this.expanded&&this.focusRelevantItemInPopupList()}onTargetClick(t){const e=t.composedPath(),i=e.includes(this.clockButton),r=e.includes(this.amPmElement),o=e.includes(this.hourInputElement),s=e.includes(this.minuteInputElement);i||r||s||o||this.toggleDropdown()}handleClickDropdownValue(t){const e=x(t,this.clockType,k(this.value));this.updateValue(e,!0),this.clockButton.focus(),this.expanded=!1}onHourKeyDown(t){switch(t.key){case"Tab":case"ArrowLeft":case"ArrowRight":case"Escape":break;case"ArrowDown":t.preventDefault(),this.updateValue(g(this.value,-1));break;case"ArrowUp":t.preventDefault(),this.updateValue(g(this.value,1));break;case"Backspace":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t.preventDefault(),this.hourInputElement.setSelectionRange(2,2),this.updateValue(function(t,e,i,r,o){const[s,n]=f(t,e).split(":");let a=s;return a="Backspace"===i?"12h"==e&&1==o?a.split("").filter(((t,e)=>e==r-1)).join(""):a.split("").filter(((t,e)=>e!==r-1)).join("").padStart(2,"0"):parseInt(a.slice(0,r)+i+a.slice(r+1),10).toString().slice(-2).padStart(2,"0"),new RegExp(w(e)).test(a)||(a="12h"===e?i:i.padStart(2,"0")),x(`${a}:${n}`,e,k(t))}(this.value,this.clockType,t.key,this.hourInputElement.selectionStart,this.hourInputElement.value.length));break;default:t.preventDefault()}}onMinuteKeyDown(t){switch(t.key){case"Tab":case"ArrowLeft":case"ArrowRight":case"Escape":break;case"ArrowDown":t.preventDefault(),this.updateValue(d(this.value,-1,this.step));break;case"ArrowUp":t.preventDefault(),this.updateValue(d(this.value,1,this.step));break;case"Backspace":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t.preventDefault(),this.minuteInputElement.setSelectionRange(2,2),this.updateValue(function(t,e,i){const[r,o]=t.split(":");let s=o;return s="Backspace"===e?s.split("").filter(((t,e)=>e!==i-1)).join("").padStart(2,"0"):(s.slice(0,i)+e+s.slice(i+1)).slice(-2).padStart(2,"0"),new RegExp("^[0-5][0-9]$").test(s)||(s=e.padStart(2,"0")),`${r}:${s}`}(this.value,t.key,this.minuteInputElement.selectionStart));break;default:t.preventDefault()}}onAmPmButtonKeyDown(t){switch(t.key){case"ArrowDown":case"ArrowUp":this.toggleAmPm(t)}}onListKeyDown(t){"Escape"===t.key&&(this.expanded=!1,this.clockButton.focus())}toggleAmPm(t){t.preventDefault(),this.updateValue(g(this.value,12),!0)}getAmPmString(){return k(this.value)?this.i18n("am"):this.i18n("pm")}renderNumberInput(){return e("div",{class:"gux-input-time-container"},e("input",{role:"spinbutton",class:"gux-input-time-hours",type:"text",disabled:this.disabled,value:b(this.value,this.clockType),onKeyDown:t=>this.onHourKeyDown(t),"aria-label":this.i18n("hoursInput"),pattern:w(this.clockType),ref:t=>this.hourInputElement=t,"aria-valuetext":b(this.value,this.clockType),"aria-valuenow":b(this.value,this.clockType),"aria-valuemin":"24h"===this.clockType?0:1,"aria-valuemax":"24h"===this.clockType?23:12}),e("span",{class:"gux-time-separator"},this.i18n("time-separator")),e("input",{role:"spinbutton",class:"gux-input-time-minutes",type:"text",disabled:this.disabled,value:v(this.value),onKeyDown:t=>this.onMinuteKeyDown(t),"aria-label":this.i18n("minutesInput"),pattern:"^[0-5][0-9]$",ref:t=>this.minuteInputElement=t,"aria-valuetext":v(this.value),"aria-valuenow":v(this.value),"aria-valuemin":0,"aria-valuemax":59}))}renderAmPmSelector(){if("12h"===this.clockType)return e("button",{class:"gux-input-time-am-pm-selector",type:"button",disabled:this.disabled,"aria-label":this.i18n("toggleAmPM",{amOrPm:this.getAmPmString()}),onClick:t=>this.toggleAmPm(t),onKeyDown:t=>this.onAmPmButtonKeyDown(t),ref:t=>this.amPmElement=t},e("div",{class:{"gux-meridiem":!0,"gux-visible":k(this.value)}},this.i18n("am")),e("div",{class:{"gux-meridiem":!0,"gux-visible":!k(this.value)}},this.i18n("pm")))}renderClockButton(){return e("button",{class:{"gux-clock-button":!0,"gux-active":this.expanded},type:"button",disabled:this.disabled,"aria-label":this.i18n("clockButton"),"aria-expanded":this.expanded.toString(),onClick:this.toggleDropdown.bind(this),ref:t=>this.clockButton=t},e("gux-icon",{decorative:!0,"icon-name":"fa/clock-regular",size:"small"}))}renderTimeListItems(){return function(t,e,i,r){const o=[0,15,30,45].filter((e=>Number.isInteger(e/t))).map((t=>String(t).padStart(2,"0"))),s=("12h"===e?["12","01","02","03","04","05","06","07","08","09","10","11"]:Array.from(Array(24).keys()).map((t=>String(t).padStart(2,"0")))).reduce(((t,e)=>t.concat(o.map((t=>`${e}:${t}`)))),[]);return"24h"===e?function(t,e,i){return e&&i&&m(e)>m(i)?t=t.filter((t=>{const r=m(t),o=m(e),s=m(i),n=m("23:59");return r>=o&&r<n||r<=s})):(e&&(t=t.filter((t=>m(t)>=m(e)))),i&&(t=t.filter((t=>m(t)<=m(i))))),t}(s,i,r):s}(this.interval,this.clockType,this.min,this.max).map((t=>{const i=x(t,this.clockType,k(this.value));return e("gux-list-item",{id:this.valueToId(i),onClick:()=>this.handleClickDropdownValue(t)},t)}))}renderTarget(){return e("div",{class:"gux-input-time",slot:"target",onClick:this.onTargetClick.bind(this)},this.renderNumberInput(),this.renderAmPmSelector(),this.renderClockButton())}renderPopup(){return e("div",{slot:"popup",class:"gux-list-container",onKeyDown:t=>this.onListKeyDown(t)},e("gux-list",{ref:t=>this.listElement=t},this.renderTimeListItems()))}render(){return e("gux-popup",{key:"92235cbe9dedb5be240f395a6ec9b9f2de67170d",class:{"gux-time-picker":!0,"gux-error":this.hasError},expanded:this.expanded,disabled:this.disabled},this.renderTarget(),this.renderPopup())}get root(){return i(this)}static get watchers(){return{value:["validateValueFormat"]}}};(function(t,e,i,r){var o,s=arguments.length,n=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,i,n):o(e,i))||n);s>3&&n&&Object.defineProperty(e,i,n)})([r({triggerEvents:"mousedown"})],C.prototype,"onClickOutside",null),C.style=".gux-time-picker{position:relative;display:inline-block}.gux-time-picker.gux-error .gux-input-time{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-time-picker .gux-input-time{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-time-picker .gux-input-time:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-time-picker .gux-input-time:hover:not(:disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-time-picker .gux-input-time input{flex:1 1 auto;align-self:auto;order:0;inline-size:2ch;padding:0;font-size:var(--gse-ui-formControl-label-text-fontSize);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}.gux-time-picker .gux-input-time input.gux-input-time-hours{text-align:end}.gux-time-picker .gux-input-time input::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector{display:grid;grid-template:auto 1fr/auto 1fr auto;place-items:flex-end;padding:0;font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);font-weight:var(--gse-ui-formControl-input-prefixSufix-text-fontWeight);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background:transparent;border:none}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-timePicker-focusAmpm-borderRadius)}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector .gux-meridiem{display:none;grid-row:1/1;grid-column:1/1}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector .gux-meridiem.gux-visible{display:inline-block}.gux-time-picker .gux-input-time .gux-clock-button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);outline:none;background:transparent;border:none}.gux-time-picker .gux-input-time .gux-clock-button.gux-active:not(:disabled){color:var(--gse-ui-timePicker-clockStates-activeColor);cursor:pointer}.gux-time-picker .gux-input-time .gux-clock-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-timePicker-focusClock-borderRadius)}.gux-time-picker .gux-input-time .gux-clock-button gux-icon{padding:var(--gse-ui-timePicker-clock-padding)}.gux-time-picker .gux-time-separator{padding-block:0;padding-inline:1ch}.gux-time-picker .gux-list-container{max-block-size:150px;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{C as gux_time_picker}
|
1
|
+
import{r as t,h as e,a as i}from"./p-CteT-EFt.js";import{O as r}from"./p-BnUSiPX2.js";import{s as o}from"./p-BMRf5pjV.js";import{b as s}from"./p-Bg4q97BS.js";import{g as n,b as a}from"./p-5JLFUoN2.js";import{t as u}from"./p-DXe53egP.js";import{a as c}from"./p-DxtJDeL9.js";import{a as l}from"./p-B0p1zRQq.js";import{u as p}from"./p-ZuNZ-MBw.js";import"./p-Cd4R0amv.js";import"./p-BZb6pJEJ.js";var h={am:"AM","time-separator":":",clockButton:"Toggle suggested times",hoursInput:"Input hours",minutesInput:"Input minutes",pm:"PM",timeOptionsState:"Time options open: {state}",toggleAmPM:"{amOrPm} selected, click to toggle"};function m(t){const e=new Date,[i,r]=t.split(":");return e.setHours(parseFloat(i)),e.setMinutes(parseFloat(r)),e.setSeconds(0),e.getTime()}function g(t,e){const[i,r]=t.split(":");return`${((parseInt(i,10)+e+24)%24).toString().padStart(2,"0")}:${r}`}function d(t,e,i){const[r,o]=t.split(":");let s=(parseInt(o,10)+e+60)%60;for(;s%i!=0;)s=(s+e+60)%60;return`${r}:${s.toString().padStart(2,"0")}`}function f(t,e){const[i,r]=t.split(":");return"12h"===e?`${(parseInt(i,10)%12||12).toString().padStart(2,"0")}:${r}`:`${i}:${r}`}function x(t,e,i){const[r,o]=t.split(":");return"12h"===e?i?`${(parseInt(r,10)%12).toString().padStart(2,"0")}:${o}`:`${(parseInt(r,10)%12+12).toString().padStart(2,"0")}:${o}`:`${r}:${o}`}function b(t,e){const[i]=f(t,e).split(":");return i}function v(t){const[,e]=t.split(":");return e}function k(t){const[e]=t.split(":");return parseInt(e,10)<12}function w(t){return"12h"===t?"^(0?[1-9]|1[012])$":"^([01]?[0-9]|2[0-3])$"}const C=class{constructor(e){t(this,e),this.value="00:00",this.interval=60,this.step=1,this.disabled=!1,this.required=!1,this.hasError=!1,this.expanded=!1}onFocus(){this.valueLastChange=this.value}onBlur(){this.valueLastChange!==this.value&&o(this.root,"change")}onClickOutside(){this.expanded=!1}handleKeydown(t){switch(t.key){case"Escape":case"Tab":this.expanded=!1}}async componentWillLoad(){u(this.root),this.i18n=await a(this.root,h),this.clockType=this.clockType||function(t){let e;e=p()?l(t).toLowerCase():n(t).toLowerCase();const i=new Date("January 19, 1975 15:00:00 UTC+00:00"),r=new Intl.DateTimeFormat(e,{timeStyle:"short",timeZone:"UTC"}).format(i);return!p()&&["ar","ko","zh-cn","zh-tw"].some((t=>e.startsWith(t)))||new RegExp(".*15.*").test(r)?"24h":"12h"}(this.root),this.validateValueFormat(this.value,"00:00"),"12h"==this.clockType&&(this.min||this.max)&&c(this.root,'clock type must be "24h" when using min/max props')}validateValueFormat(t,e){this.isValidTimeFormat(t)||(c(this.root,`"${t}" is not a valid value format. Format must be "hh:mm" or "h:mm". Falling back to previous value: "${e}"`),this.value=e)}isValidTimeFormat(t){return"string"==typeof t&&/^\d{1,2}:\d{2}$/.test(t)}updateValue(t,e=!1){t!==this.value&&(this.value=t,o(this.root,"input"),e&&this.valueLastChange!==this.value&&(o(this.root,"change"),this.valueLastChange=this.value))}valueToId(t){return`gux-id-${t.replace(":","-")}`}focusRelevantItemInPopupList(){s((()=>{this.listElement.guxFocusItemByClosestId(this.valueToId(this.value))}))}toggleDropdown(){this.expanded=!this.expanded,this.expanded&&this.focusRelevantItemInPopupList()}onTargetClick(t){const e=t.composedPath(),i=e.includes(this.clockButton),r=e.includes(this.amPmElement),o=e.includes(this.hourInputElement),s=e.includes(this.minuteInputElement);i||r||s||o||this.toggleDropdown()}handleClickDropdownValue(t){const e=x(t,this.clockType,k(this.value));this.updateValue(e,!0),this.clockButton.focus(),this.expanded=!1}onHourKeyDown(t){switch(t.key){case"Tab":case"ArrowLeft":case"ArrowRight":case"Escape":break;case"ArrowDown":t.preventDefault(),this.updateValue(g(this.value,-1));break;case"ArrowUp":t.preventDefault(),this.updateValue(g(this.value,1));break;case"Backspace":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t.preventDefault(),this.hourInputElement.setSelectionRange(2,2),this.updateValue(function(t,e,i,r,o){const[s,n]=f(t,e).split(":");let a=s;return a="Backspace"===i?"12h"==e&&1==o?a.split("").filter(((t,e)=>e==r-1)).join(""):a.split("").filter(((t,e)=>e!==r-1)).join("").padStart(2,"0"):parseInt(a.slice(0,r)+i+a.slice(r+1),10).toString().slice(-2).padStart(2,"0"),new RegExp(w(e)).test(a)||(a="12h"===e?i:i.padStart(2,"0")),x(`${a}:${n}`,e,k(t))}(this.value,this.clockType,t.key,this.hourInputElement.selectionStart,this.hourInputElement.value.length));break;default:t.preventDefault()}}onMinuteKeyDown(t){switch(t.key){case"Tab":case"ArrowLeft":case"ArrowRight":case"Escape":break;case"ArrowDown":t.preventDefault(),this.updateValue(d(this.value,-1,this.step));break;case"ArrowUp":t.preventDefault(),this.updateValue(d(this.value,1,this.step));break;case"Backspace":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t.preventDefault(),this.minuteInputElement.setSelectionRange(2,2),this.updateValue(function(t,e,i){const[r,o]=t.split(":");let s=o;return s="Backspace"===e?s.split("").filter(((t,e)=>e!==i-1)).join("").padStart(2,"0"):(s.slice(0,i)+e+s.slice(i+1)).slice(-2).padStart(2,"0"),new RegExp("^[0-5][0-9]$").test(s)||(s=e.padStart(2,"0")),`${r}:${s}`}(this.value,t.key,this.minuteInputElement.selectionStart));break;default:t.preventDefault()}}onAmPmButtonKeyDown(t){switch(t.key){case"ArrowDown":case"ArrowUp":this.toggleAmPm(t)}}onListKeyDown(t){"Escape"===t.key&&(this.expanded=!1,this.clockButton.focus())}toggleAmPm(t){t.preventDefault(),this.updateValue(g(this.value,12),!0)}getAmPmString(){return k(this.value)?this.i18n("am"):this.i18n("pm")}renderNumberInput(){return e("div",{class:"gux-input-time-container"},e("input",{role:"spinbutton",class:"gux-input-time-hours",type:"text",disabled:this.disabled,value:b(this.value,this.clockType),onKeyDown:t=>this.onHourKeyDown(t),"aria-label":this.i18n("hoursInput"),pattern:w(this.clockType),ref:t=>this.hourInputElement=t,"aria-valuetext":b(this.value,this.clockType),"aria-valuenow":b(this.value,this.clockType),"aria-valuemin":"24h"===this.clockType?0:1,"aria-valuemax":"24h"===this.clockType?23:12}),e("span",{class:"gux-time-separator"},this.i18n("time-separator")),e("input",{role:"spinbutton",class:"gux-input-time-minutes",type:"text",disabled:this.disabled,value:v(this.value),onKeyDown:t=>this.onMinuteKeyDown(t),"aria-label":this.i18n("minutesInput"),pattern:"^[0-5][0-9]$",ref:t=>this.minuteInputElement=t,"aria-valuetext":v(this.value),"aria-valuenow":v(this.value),"aria-valuemin":0,"aria-valuemax":59}))}renderAmPmSelector(){if("12h"===this.clockType)return e("button",{class:"gux-input-time-am-pm-selector",type:"button",disabled:this.disabled,"aria-label":this.i18n("toggleAmPM",{amOrPm:this.getAmPmString()}),onClick:t=>this.toggleAmPm(t),onKeyDown:t=>this.onAmPmButtonKeyDown(t),ref:t=>this.amPmElement=t},e("div",{class:{"gux-meridiem":!0,"gux-visible":k(this.value)}},this.i18n("am")),e("div",{class:{"gux-meridiem":!0,"gux-visible":!k(this.value)}},this.i18n("pm")))}renderClockButton(){return e("button",{class:{"gux-clock-button":!0,"gux-active":this.expanded},type:"button",disabled:this.disabled,"aria-label":this.i18n("clockButton"),"aria-expanded":this.expanded.toString(),onClick:this.toggleDropdown.bind(this),ref:t=>this.clockButton=t},e("gux-icon",{decorative:!0,"icon-name":"fa/clock-regular",size:"small"}))}renderTimeListItems(){return function(t,e,i,r){const o=[0,15,30,45].filter((e=>Number.isInteger(e/t))).map((t=>String(t).padStart(2,"0"))),s=("12h"===e?["12","01","02","03","04","05","06","07","08","09","10","11"]:Array.from(Array(24).keys()).map((t=>String(t).padStart(2,"0")))).reduce(((t,e)=>t.concat(o.map((t=>`${e}:${t}`)))),[]);return"24h"===e?function(t,e,i){return e&&i&&m(e)>m(i)?t=t.filter((t=>{const r=m(t),o=m(e),s=m(i),n=m("23:59");return r>=o&&r<n||r<=s})):(e&&(t=t.filter((t=>m(t)>=m(e)))),i&&(t=t.filter((t=>m(t)<=m(i))))),t}(s,i,r):s}(this.interval,this.clockType,this.min,this.max).map((t=>{const i=x(t,this.clockType,k(this.value));return e("gux-list-item",{id:this.valueToId(i),onClick:()=>this.handleClickDropdownValue(t)},t)}))}renderTarget(){return e("div",{class:"gux-input-time",slot:"target",onClick:this.onTargetClick.bind(this)},this.renderNumberInput(),this.renderAmPmSelector(),this.renderClockButton())}renderPopup(){return e("div",{slot:"popup",class:"gux-list-container",onKeyDown:t=>this.onListKeyDown(t)},e("gux-list",{ref:t=>this.listElement=t},this.renderTimeListItems()))}render(){return e("gux-popup",{key:"92235cbe9dedb5be240f395a6ec9b9f2de67170d",class:{"gux-time-picker":!0,"gux-error":this.hasError},expanded:this.expanded,disabled:this.disabled},this.renderTarget(),this.renderPopup())}get root(){return i(this)}static get watchers(){return{value:["validateValueFormat"]}}};(function(t,e,i,r){var o,s=arguments.length,n=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,i,n):o(e,i))||n);s>3&&n&&Object.defineProperty(e,i,n)})([r({triggerEvents:"mousedown"})],C.prototype,"onClickOutside",null),C.style=".gux-time-picker{position:relative;display:inline-block}.gux-time-picker.gux-error .gux-input-time{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-time-picker .gux-input-time{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-time-picker .gux-input-time:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-time-picker .gux-input-time:hover:not(:disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-time-picker .gux-input-time input{flex:1 1 auto;align-self:auto;order:0;inline-size:2ch;padding:0;font-size:var(--gse-ui-formControl-label-text-fontSize);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}.gux-time-picker .gux-input-time input.gux-input-time-hours{text-align:end}.gux-time-picker .gux-input-time input::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector{display:grid;grid-template:auto 1fr/auto 1fr auto;place-items:flex-end;padding:0;font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);font-weight:var(--gse-ui-formControl-input-prefixSufix-text-fontWeight);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background:transparent;border:none}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-timePicker-focusAmpm-borderRadius)}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector .gux-meridiem{display:none;grid-row:1/1;grid-column:1/1}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector .gux-meridiem.gux-visible{display:inline-block}.gux-time-picker .gux-input-time .gux-clock-button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);outline:none;background:transparent;border:none}.gux-time-picker .gux-input-time .gux-clock-button.gux-active:not(:disabled){color:var(--gse-ui-timePicker-clockStates-activeColor);cursor:pointer}.gux-time-picker .gux-input-time .gux-clock-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-timePicker-focusClock-borderRadius)}.gux-time-picker .gux-input-time .gux-clock-button gux-icon{padding:var(--gse-ui-timePicker-clock-padding)}.gux-time-picker .gux-time-separator{padding-block:0;padding-inline:1ch}.gux-time-picker .gux-list-container{max-block-size:150px;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{C as gux_time_picker}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as i,c as e,h as a,a as l}from"./p-
|
1
|
+
import{r as i,c as e,h as a,a as l}from"./p-CteT-EFt.js";import{b as r}from"./p-5JLFUoN2.js";import{t as o}from"./p-DXe53egP.js";import"./p-Cd4R0amv.js";var t={removeFile:"Remove {filename} file",uploadingFile:"Uploading {filename} file",success:"{filename} file uploaded successfully",error:"{filename} file has an error"};const n=class{constructor(a){i(this,a),this.guxremovefile=e(this,"guxremovefile",7),this.disabled=!1}async componentWillLoad(){this.getI18nValue=await r(this.root,t),o(this.root)}render(){return a("div",{key:"f3728cb6a3f569b8e40e2306f6f352bbf3ba32d3",class:{"gux-file-list-item":!0,[`gux-${this.status}`]:!0,"gux-disabled":this.disabled}},a("div",{key:"ab8b83c2c6e544d5061311b15661d823f2dc48da",class:"gux-info"},a("gux-truncate",{key:"9d43e488a09c57d3b7c6623609b58571d032e79a"},a("span",{key:"3026f444ac1c121e3a6cbdb5a084217de0eb9fab",class:"gux-file-name"},this.name)),this.renderStatusIndicator(),this.renderFileRemoveButton()),this.renderAdditionalInfo())}renderStatusIndicator(){switch(this.status){case"loading":return a("gux-radial-loading",{context:"input","screenreader-text":this.getI18nValue("uploadingFile",{filename:this.name})});case"success":return a("gux-icon-tooltip-beta",{"icon-name":"fa/circle-check-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("success",{filename:this.name})));case"error":return a("gux-icon-tooltip-beta",{"icon-name":"fa/hexagon-exclamation-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("error",{filename:this.name})));default:return null}}renderFileRemoveButton(){return this.disabled?null:a("gux-button-slot",{accent:"ghost","icon-only":!0},a("button",{type:"button",onClick:()=>this.guxremovefile.emit(this.index)},a("gux-icon",{"icon-name":"fa/xmark-large-regular",size:"small",decorative:!0}),a("gux-screen-reader-beta",null,this.getI18nValue("removeFile",{filename:this.name}))))}renderAdditionalInfo(){return"error"===this.status?a("div",{class:"gux-additional-info"},a("div",{class:"gux-additional-info-header"},a("slot",{name:"additional-info-header"})),a("div",{class:"gux-additional-info-content"},a("slot",{name:"additional-info-content"}))):null}get root(){return l(this)}};n.style=':host{display:block}.gux-file-list-item{display:flex;flex-direction:column;align-items:flex-start;background-color:var(--gse-ui-fileUpload-fileCard-foregroundColor);border:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color);border-radius:var(--gse-ui-fileUpload-fileCard-borderRadius);box-shadow:var(--gse-ui-fileUpload-fileCard-boxShadow)}.gux-file-list-item.gux-disabled{opacity:0.5}.gux-file-list-item.gux-error{padding-block-start:0;border:var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-color)}.gux-file-list-item .gux-info{box-sizing:border-box;display:flex;gap:var(--gse-ui-fileUpload-fileCard-card-gap);align-items:center;inline-size:100%;block-size:32px;padding:var(--gse-ui-fileUpload-fileCard-card-padding)}.gux-file-list-item .gux-info .gux-file-name{font-family:var(--gse-ui-fileUpload-fileCard-fileName-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-fileName-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-fileName-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-fileName-text-lineHeight);color:var(--gse-ui-fileUpload-fileCard-fileName-default)}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/circle-check-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:ui.$gse-ui-fileUpload-fileCard-statusIcon-success}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/hexagon-exclamation-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:ui.$gse-ui-fileUpload-fileCard-statusIcon-error}.gux-file-list-item .gux-info gux-button-slot{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-info gux-button-slot button{--gse-ui-button-default-paddingIconOnly:4px;inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-additional-info{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-card-errorCard-errorTextSection-gap);inline-size:100%;padding:var(--gse-ui-fileUpload-fileCard-card-errorCard-mainContainer-padding);font-family:var(--gse-ui-fileUpload-fileCard-error-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-error-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-error-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-error-text-lineHeight);border-block-start:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color)}.gux-file-list-item .gux-additional-info .gux-additional-info-header{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorMessage)}.gux-file-list-item .gux-additional-info .gux-additional-info-content{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorHelper)}';export{n as gux_file_list_item}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as s,H as
|
1
|
+
import{r as t,h as s,H as e,a as i}from"./p-CteT-EFt.js";import{s as o}from"./p-BMRf5pjV.js";import{t as a}from"./p-DXe53egP.js";const h=class{constructor(s){t(this,s),this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,o(this.root,"input"),o(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){a(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(e,{key:"88b86e36c2c9083bf79172dea82fbdd6b5040d4b",role:"group",class:`gux-${this.layout}`},s("slot",{key:"6ac3e68b902ea94c0647b2161b11bbe423b54b12",onSlotchange:this.slotChanged.bind(this)}))}get root(){return i(this)}};h.style=":host{display:flex;align-items:flex-end}";export{h as gux_switch_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,f as s,d as i,h as a,H as h,a as o}from"./p-
|
1
|
+
import{r as t,c as e,f as s,d as i,h as a,H as h,a as o}from"./p-CteT-EFt.js";import{b as n}from"./p-5JLFUoN2.js";import{w as l}from"./p-kLXvN2m9.js";import{r}from"./p-D9jKBqIb.js";import{t as c}from"./p-DXe53egP.js";import{t as d}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const g=class{constructor(i){t(this,i),this.guxselectionchanged=e(this,"guxselectionchanged",7),this.guxsortchanged=e(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>{this.prepareSelectableRows(),s(this)})),this.tableId=r("gux-table"),this.columnsWidths={},this.isScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1}async componentWillLoad(){c(this.root),this.i18n=await n(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),i((()=>{this.checkScroll()})),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkScroll(){const t=this.tableContainer;this.isScroll=t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows(t.detail)}onInternalRowSelectChange(t){t.stopPropagation();const e=t.target;e.selected=t.detail,this.handleRowSelection(e)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const e=this.rowCheckboxes,s=e.filter((t=>!t.disabled)),i=s.filter((t=>t.selected)),a=Boolean(e.length),h=i.length===s.length,o=0===i.length;t.selected=a&&h,t.setIndeterminate(a&&!h&&!o)}}handleSelectAllRows(t){this.rowCheckboxes.forEach((e=>{e.disabled||(e.selected=t,this.updateRowSelection(e))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const e=t.closest("tr");t.selected?e.setAttribute("data-selected-row",""):e.removeAttribute("data-selected-row")}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t),this.calculateColumnWidths(this.tableColumns).slice(0,-1).forEach((t=>this.columnsWidths[t.name]=t.width)),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const e=this.columnResizeState.resizableColumn.dataset.columnName,s=Math.max(this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX),1),i=this.calculateColumnWidths(this.tableColumns).map((t=>t.name===e?Object.assign(Object.assign({},t),{width:s}):t));this.columnsWidths[e]=i.find((t=>t.name===e)).width,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,l("th",t,(e=>{this.tableColumns.length-1!==e.cellIndex&&this.isInResizeZone(t,e)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){l("th",t,(e=>{this.isInResizeZone(t,e)&&(this.columnResizeState={resizableColumn:e,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:e.clientWidth})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,e){return e.getBoundingClientRect().right-t.clientX<3}calculateColumnWidths(t){return t.map((t=>({name:t.dataset.columnName,width:t.clientWidth})))}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let e="";Object.keys(this.columnsWidths).forEach((t=>{e+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])}px;\n min-width:${String(this.columnsWidths[t])}px;\n }`})),t.innerHTML=e}get isTableEmpty(){return!this.root.children[0]||this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return a(h,{key:"d95028e1211e2e6a68baebf93cf9691803d443e0","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{key:"4c371f688538e2e781bc783c0e51cc2da916232a",class:"gux-table"},a("div",{key:"4d445606838ad4b2a380dbc8a25621d5f4a63827",tabindex:this.isScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{key:"3ea2b8ed6167bef2a62af983eb541a1009537bb4",name:"data"})),this.isTableEmpty&&a("div",{key:"2d0a9a01a71a2062313f232a1f8ff6b1f96dbe38",class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};g.style=":host{position:relative;display:block}:host .gux-table{position:relative;block-size:inherit}:host .gux-table .gux-table-container{max-block-size:100%;overflow:auto;scrollbar-color:var(--gse-ui-dataTableItems-scrollbar-foregroundColor);scrollbar-width:thin}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;block-size:calc(100% - var(--gse-ui-dataTableItems-header-default-height));color:var(--gse-semantic-foreground-container-lowEmphasis);background:var(--gse-semantic-background-container-page-tonalSubtle);font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}";export{g as gux_table}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as i,h as e,a as s}from"./p-
|
1
|
+
import{r as t,c as i,h as e,a as s}from"./p-CteT-EFt.js";import{r as o}from"./p-D9jKBqIb.js";import{t as r}from"./p-DXe53egP.js";import{b as a}from"./p-5JLFUoN2.js";import"./p-Cd4R0amv.js";var n={defaultLabel:"Disclosure button"};const c=class{constructor(e){t(this,e),this.active=i(this,"active",7),this.panelId=o("gux-disclosure-button-panel"),this.position="left",this.isOpen=!1,this.icon="fa/caret-right-solid"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){this.icon="right"===this.position?this.isOpen?"fa/caret-right-solid":"fa/caret-left-solid":this.isOpen?"fa/caret-left-solid":"fa/caret-right-solid"}async componentWillLoad(){r(this.root,{variant:this.position}),this.i18n=await a(this.root,n),this.updateIcon()}render(){return e("div",{key:"c96d5f177492ff489747baca32b70f93adaf1bf5",class:`gux-disclosure-button-container gux-${this.position}`},e("button",{key:"f71f8d93c8146fa3367acdab0c4c116197abbba7",class:"gux-disclosure-button",onClick:()=>this.changeState(),"aria-controls":this.panelId,"aria-expanded":this.isOpen.toString(),"aria-label":this.label||this.i18n("defaultLabel"),"data-testid":"disclosure-button"},e("gux-icon",{key:"7bbf022e573cd8f16fde788be416c6b93b76f203","icon-name":`${this.icon}`,decorative:!0})),e("div",{key:"53f88d45530817e81c91f130f083307e4b166bbe",id:this.panelId,class:{"gux-disclosure-panel":!0,"gux-active":this.isOpen},role:"region"},e("slot",{key:"3e234ddc4164e3da3aaf9d430d57f016d031068d",name:"panel-content"})))}get root(){return s(this)}static get watchers(){return{isOpen:["watchIsOpen"]}}};c.style=":host{height:100%;color:var(--gse-ui-tabs-item-icon-iconColor)}.gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}.gux-disclosure-button-container .gux-disclosure-button{width:16px;padding:0;margin:0;color:var(--gse-ui-tabs-item-icon-iconColor);background:transparent;border-top:none;border-right:1px solid var(--gse-ui-tabs-item-divider-dividerColor);border-bottom:none;border-left:1px solid var(--gse-ui-tabs-item-divider-dividerColor)}.gux-disclosure-button-container .gux-disclosure-button gux-icon{width:12px;height:12px}.gux-disclosure-button-container .gux-disclosure-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-disclosure-button-container .gux-disclosure-panel{display:none;order:-1;width:100%}.gux-disclosure-button-container .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-container.gux-right{justify-content:flex-end}.gux-disclosure-button-container.gux-right .gux-disclosure-panel{order:1}";export{c as gux_disclosure_button_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as e,a as s}from"./p-
|
1
|
+
import{r as t,h as e,a as s}from"./p-CteT-EFt.js";import{g as o}from"./p-BZb6pJEJ.js";import{t as i}from"./p-DXe53egP.js";import{g as a}from"./p-MAoEg4ig.js";const n=class{constructor(e){t(this,e),this.iconOnly=!1,this.accent="secondary",this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}hideText(){const t=o(this.root,"gux-table-toolbar"),e="condensed"!==(null==t?void 0:t.getAttribute("gs-layout"));return this.iconOnly&&e}renderTooltip(){if(this.hideText())return e("gux-tooltip",null,e("div",{slot:"content"},a(this.root,"text")))}componentWillLoad(){i(this.root)}render(){return e("gux-button-slot",{key:"61217c24713e01b9209acd9fc11af084a66f1e5a",accent:this.accent},e("button",{key:"d55ec1093371c0bac72df7844ec74c9367cc9844",disabled:this.disabled,type:"button",class:"gux-action-title"},e("slot",{key:"8aa9bbd6693a1bf456f03db7dabb17a3007fe33f",name:"icon"}),e("span",{key:"1ea0dcc0f10779786aa2a82642f58cc847ad665e",class:{"gux-sr-only":this.hideText()}},e("slot",{key:"8460cb5eec68e07b36c229b0b1264a443868eaaf",name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return s(this)}};n.style=":host([disabled]),button[disabled]{pointer-events:none;user-select:none}.gux-sr-only{display:flex}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}.gux-action-title{display:flex;flex-direction:row;gap:var(--gse-ui-button-gap);align-items:center}.gux-action-title slot[name=icon]::slotted(gux-icon){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}";export{n as gux_table_toolbar_custom_action}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,c as t,h as
|
1
|
+
import{r as e,c as t,h as a,H as o,a as s}from"./p-CteT-EFt.js";import{t as i}from"./p-DXe53egP.js";const n=class{constructor(a){e(this,a),this.guxdismiss=t(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){i(this.root,{variant:this.accent})}render(){return a(o,{key:"1028ea02235e685a46434682add681629d81ed1c"},a("div",{key:"a9100ef51dbd153d3b93df43cfc45229da6d1b35",class:`gux-icon gux-${this.accent}`},a("slot",{key:"f83911f9ef15beecfe1efa5a445f571c6333df53",name:"icon"})),a("div",{key:"6b642b1effb289db65b2dabf3b684fddc5db0f52",class:"gux-content"},a("gux-truncate",{key:"aa35891a528aaa9d1fa20332fc3b7e1c153751e5",class:"gux-title","max-lines":1},a("slot",{key:"2ef932f47926407f0e0e6bdc2541494029926d0b",name:"title"})),a("gux-truncate",{key:"210594c7defbd0eadeef4b06c89aeb9f028e19e5",class:"gux-message","max-lines":2},a("slot",{key:"71778069ab9c775f1118628c27ffa5bf48e9f32e",name:"message"}))),a("gux-dismiss-button",{key:"ef00664ff6305872049296977a8092ae4b0c829d",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(e){e.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};n.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:var(--gse-ui-toast-success-foregroundColor);background:var(--gse-ui-toast-success-backgroundColor);border:1px solid var(--gse-ui-card-default-border-color);border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:var(--gse-ui-toast-error-iconColor)}.gux-icon.gux-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-icon.gux-positive{color:var(--gse-ui-toast-success-iconColor)}.gux-icon.gux-neutral{color:var(--gse-ui-toast-info-iconColor)}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0;margin:0 12px 0 8px;color:var(--gse-ui-toast-success-foregroundColor)}.gux-content .gux-title,.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0}.gux-content .gux-title{font-family:var(--gse-semantic-heading-sm-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-sm-bold-fontSize);line-height:var(--gse-semantic-heading-sm-bold-lineHeight);font-weight:var(--gse-semantic-heading-sm-bold-fontWeight)}";export{n as gux_notification_toast_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as t,H as i}from"./p-
|
1
|
+
import{r as e,h as t,H as i}from"./p-CteT-EFt.js";const s=class{constructor(t){e(this,t),this.selected=!1,this.disabled=!1}onClick(e){this.disabled&&e.stopPropagation()}render(){return t(i,{key:"bbec0575109e6efd87682732b7663341876738a9",class:{"gux-selected":this.selected}},t("button",{key:"30ddf040c97d4b052ff3c3ebc6b5a8731691a613",type:"button",class:"gux-switch-item",disabled:this.disabled},t("slot",{key:"a5413e54bce99afc3cf4b1ae1d150241d5a32776"})))}};s.style="gux-switch-item>.gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);font:unset;color:var(--gse-semantic-foreground-container-highEmphasis);text-align:center;outline:none;background:none;border:none}gux-switch-item>.gux-switch-item>gux-icon svg{fill:#99a4b8}gux-switch-item[disabled]{pointer-events:none;opacity:0.5}gux-switch-item.gux-selected{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-bold-fontWeight)}gux-switch-legacy>gux-switch-item .gux-switch-item{padding:0 8px 4px;border-bottom:1px solid var(--gse-ui-segmentedControl-button-active-backgroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy>gux-switch-item .gux-switch-item:hover{padding:0 8px 1px;border-bottom:4px solid var(--gse-ui-segmentedControl-button-default-foregroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible>gux-icon svg,gux-switch-legacy>gux-switch-item .gux-switch-item:hover>gux-icon svg{fill:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:2px}gux-switch-legacy>gux-switch-item .gux-switch-item>gux-icon{width:32px;height:32px}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item{padding:0 8px 1px;border-bottom:4px solid var(--gse-ui-segmentedControl-button-default-foregroundColor)}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item>gux-icon svg{fill:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);padding:0 4px;border-bottom:1px solid var(--gse-ui-segmentedControl-button-active-backgroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:hover{border-bottom-color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item>gux-icon{width:24px;height:24px}gux-switch-legacy.gux-small>gux-switch-item.gux-selected .gux-switch-item{border-bottom-color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}";export{s as gux_switch_item}
|
package/dist/stencil-wrapper.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
import { defineCustomElements } from '../dist/loader';
|
9
9
|
// Value templated out during build process (see scripts/wrap-stencil.js)
|
10
|
-
export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.157.
|
10
|
+
export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.157.2-722/genesys-webcomponents/';
|
11
11
|
const DOMAIN_LIST = [
|
12
12
|
'.inindca.com',
|
13
13
|
'.dev-pure.cloud',
|
@@ -39,6 +39,7 @@ export declare class GuxPopover {
|
|
39
39
|
onFocusout(event: FocusEvent): void;
|
40
40
|
checkForClickOutside(event: MouseEvent): void;
|
41
41
|
guxDismissPopover(): Promise<void>;
|
42
|
+
guxFocusPopover(): Promise<void>;
|
42
43
|
get titleSlot(): Element | null;
|
43
44
|
private getForElement;
|
44
45
|
private focusPopup;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.157.
|
1
|
+
export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.157.2-722/genesys-webcomponents/";
|
2
2
|
export declare function registerElements(): void;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { Result } from 'axe-core';
|
2
|
+
export type AxeExclusion = {
|
3
|
+
issueId: string;
|
4
|
+
target?: string;
|
5
|
+
exclusionReason: string;
|
6
|
+
};
|
7
|
+
export type AxeScanDetails = {
|
8
|
+
axeExclusions: AxeExclusion[];
|
9
|
+
axeScanContext?: string;
|
10
|
+
};
|
11
|
+
export declare function toHaveNoViolations(axeViolations: Result[], axeScanDetails: AxeScanDetails): {
|
12
|
+
message: () => string;
|
13
|
+
pass: boolean;
|
14
|
+
};
|
@@ -1,7 +1,11 @@
|
|
1
1
|
import { E2EPage } from '@stencil/playwright';
|
2
2
|
import { RenderConfig } from './commonTestUtils';
|
3
|
-
|
4
|
-
export declare
|
3
|
+
import { toHaveNoViolations, AxeExclusion, AxeScanDetails } from './expectToHaveNoViolations';
|
4
|
+
export declare const expect: import("@playwright/test").Expect<{
|
5
|
+
toHaveNoViolations: typeof toHaveNoViolations;
|
6
|
+
}>;
|
7
|
+
export declare function analyze(page: E2EPage, element?: string, extraActions?: ExtraActionsFn, performA11yCheck?: boolean, disableAnimations?: boolean, axeScanDetails?: AxeScanDetails): Promise<void>;
|
8
|
+
export declare function snap(page: E2EPage, element?: string, performA11yCheck?: boolean, disableAnimations?: boolean, axeScanDetails?: AxeScanDetails): Promise<void>;
|
5
9
|
export declare function setContent(page: E2EPage, html: string): Promise<void>;
|
6
10
|
type CheckRendersParams = {
|
7
11
|
renderConfigs: RenderConfig[];
|
@@ -10,9 +14,10 @@ type CheckRendersParams = {
|
|
10
14
|
performA11yCheck?: boolean;
|
11
15
|
disableAnimations?: boolean;
|
12
16
|
skip?: boolean;
|
17
|
+
axeExclusions?: AxeExclusion[];
|
13
18
|
};
|
14
|
-
export declare function checkRenders({ renderConfigs, element, extraActions, performA11yCheck, disableAnimations, skip }: CheckRendersParams): Promise<void>;
|
19
|
+
export declare function checkRenders({ renderConfigs, element, extraActions, performA11yCheck, disableAnimations, skip, axeExclusions }: CheckRendersParams): Promise<void>;
|
15
20
|
type ExtraActionsFn = (page: E2EPage) => Promise<void>;
|
16
21
|
export { RenderConfig } from './commonTestUtils';
|
17
22
|
export { test, E2EPage } from '@stencil/playwright';
|
18
|
-
export {
|
23
|
+
export { AxeExclusion, AxeScanDetails } from './expectToHaveNoViolations';
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
File without changes
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,h as s,H as r,a as e}from"./p-DwD9dO7z.js";import{t as i}from"./p-DZBoT03M.js";import{D as o,g as a}from"./p-BshN0UgG.js";import{d as h,a as p}from"./p-B0p1zRQq.js";import{u as m}from"./p-ZuNZ-MBw.js";import{g as n}from"./p-r-A5Sv7q.js";import"./p-BZb6pJEJ.js";import"./p-Cd4R0amv.js";const d=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){i(this.root),m()?this.hasRegionalDatesCookie=!0:this.formatter=new o(n(this.root))}renderDate(){return this.hasRegionalDatesCookie?h(p(this.root),{dateStyle:this.format,timeZone:a(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatDate(new Date(this.datetime),this.format,{timeZone:a(this.timeZone)})}render(){return s(r,{key:"491e0809d9072e6cdddb2fbb18e9a19b0bb827f6"},this.renderDate())}get root(){return e(this)}};export{d as gux_date_beta}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as i,h as t,a}from"./p-DwD9dO7z.js";import{b as e}from"./p-r-A5Sv7q.js";import{t as n}from"./p-DZBoT03M.js";import"./p-Cd4R0amv.js";var o={navigationName:"Skip links navigation"};const s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"0879e8494f729dc4a40c71d2cd455592bc833869",class:"gux-container"},t("nav",{key:"73cf4ba6e9781a3d2e56f67d7da8bf00afabe450","aria-label":this.i18n("navigationName")},t("ul",{key:"acdb0f31bd6f8a321ad2929077191992f325deda",role:"list"},t("slot",{key:"e6f551ce84abde67c2e99686ec8c1501779f2009"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r,f as a,h as t,a as e}from"./p-DwD9dO7z.js";import{b as s}from"./p-r-A5Sv7q.js";import{t as o}from"./p-DZBoT03M.js";import"./p-Cd4R0amv.js";var i={breadcrumbs:"Breadcrumbs"};const n=class{constructor(a){r(this,a),this.accent="primary"}componentWillLoad(){o(this.root,{variant:this.accent})}async componentWillRender(){this.i18n=await s(this.root,i)}onSlotChange(){Array.from(this.root.children).forEach((r=>a(r)))}render(){return t("nav",{key:"97573bc551ca35d0f29c2f77f3cae221a7dbb532","aria-label":this.i18n("breadcrumbs")},t("ol",{key:"b35d243aeb4bce30d1d5145a1efb62bfcc7e3806"},t("slot",{key:"9f03f2e162e635d107284f73483f2bcd0405337f",onSlotchange:this.onSlotChange.bind(this)})))}get root(){return e(this)}};n.style="ol{display:flex;flex-direction:row;flex-wrap:wrap;place-content:flex-start flex-start;align-items:center;padding:0;margin:0;list-style:none}";export{n as gux_breadcrumbs}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,c as e,h as s,a}from"./p-DwD9dO7z.js";import{b as i}from"./p-r-A5Sv7q.js";import{r}from"./p-D9jKBqIb.js";import{t as o}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const l=class{constructor(s){t(this,s),this.internalallrowselectchange=e(this,"internalallrowselectchange",7),this.id=r("gux-all-row-select"),this.selected=!1}onCheck(t){t.stopPropagation(),this.selected=this.inputElement.checked,this.internalallrowselectchange.emit(this.selected)}async setIndeterminate(t=!0){this.inputElement.indeterminate=t}async componentWillLoad(){this.i18n=await i(this.root,o,"gux-table")}render(){return s("gux-form-field-checkbox",{key:"561b559830dcaa4f8dcf5b250eda5a87e58b0cdd","label-position":"screenreader"},s("input",{key:"01a39509715d4156f0bd074bf35ffd6abaa3895e",ref:t=>this.inputElement=t,slot:"input",id:this.id,type:"checkbox",checked:this.selected,disabled:this.disabled}),s("label",{key:"596c0d1a55275d760e91209797483239c616545b",slot:"label",htmlFor:this.id},"",s("span",{key:"9a153c08f9a997d23735beb2a2bd885b7760f623"},this.i18n("selectAllTableRows"))))}get root(){return a(this)}};l.style=":host{display:flex;flex-direction:row;justify-content:center}";export{l as gux_all_row_select}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r,h as s}from"./p-DwD9dO7z.js";const t=class{constructor(s){r(this,s)}render(){return s("slot",{key:"56c49bed555146e613a36878aba8247a8c5724fc"})}};export{t as gux_form_beta}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r,h as s,a}from"./p-DwD9dO7z.js";import{t as e}from"./p-DZBoT03M.js";const t=class{constructor(s){r(this,s)}componentWillLoad(){e(this.root)}render(){return s("div",{key:"89a3e4a7b94ff9a0b21bf654631736f728dc21b0",class:"gux-selector-cards"},s("slot",{key:"c74c7d62000770e26a6534bcc9854a7c478775d0"}))}get root(){return a(this)}};t.style=".gux-selector-cards{display:flex;flex-wrap:wrap;gap:var(--gse-ui-selectorCard-simple-gap)}";export{t as gux_selector_cards_beta}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,h as o,H as e,a as s}from"./p-DwD9dO7z.js";import{t as a}from"./p-DZBoT03M.js";import{b as i}from"./p-Bg4q97BS.js";const c=class{constructor(o){t(this,o),this.politeness="polite"}async guxAnnounce(t){this.containerElement.innerText="",i((()=>{this.containerElement.innerText=t}))}componentWillLoad(){a(this.root)}render(){return o(e,{key:"96acda36ac04edb73e9fcc5af71fa83cd30fce92","aria-live":this.politeness},o("slot",{key:"b490bf95af7e150220969cc20383b9406b4bcf19"}),o("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 +0,0 @@
|
|
1
|
-
import{r as o,h as t,a as s}from"./p-DwD9dO7z.js";import{t as c}from"./p-DZBoT03M.js";const r=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),c(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"eaaefcd1cca70e95575f2a04c632021ccc93787a"})}get root(){return s(this)}};r.style="gux-accordion{-custom-noop:noop}";export{r as gux_accordion}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,h as t,H as s,a as o}from"./p-DwD9dO7z.js";import{a as i}from"./p-Bg4q97BS.js";import{e as n}from"./p-C6ZfOd6U.js";import{r}from"./p-D9jKBqIb.js";import{b as a}from"./p-r-A5Sv7q.js";import{t as l}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const u=class{constructor(t){e(this,t),this.dropdownOptionsButtonId=r("gux-table-select-menu"),this.hasSelectMenuOptions=!1,this.dropdownDisabled=!1,this.popoverHidden=!0}focusFirstItemInPopupList(){const e=this.root.querySelector("gux-list");i((()=>{null==e||e.guxFocusFirstItem()}))}async componentWillLoad(){this.hasSelectMenuOptions=!!this.root.querySelector('[slot="select-menu-options"]'),this.i18n=await a(this.root,l,"gux-table")}onKeydown(e){var t;switch(e.key){case"ArrowDown":n(".gux-select-menu-button",e)&&(this.toggleOptions(),this.focusFirstItemInPopupList());break;case"Enter":n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList();break;case"Escape":n("gux-list",e)&&(e.stopPropagation(),this.popoverHidden=!0,null===(t=this.tableSelectMenuButtonElement)||void 0===t||t.focus());break;case"Tab":this.popoverHidden=!0}}onKeyup(e){" "===e.key&&n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList()}toggleOptions(){this.popoverHidden=!this.popoverHidden}renderSelectDropdown(){if(this.hasSelectMenuOptions)return[t("button",{id:this.dropdownOptionsButtonId,"aria-haspopup":"listbox","aria-expanded":(!this.popoverHidden).toString(),type:"button",class:"gux-select-menu-button",ref:e=>this.tableSelectMenuButtonElement=e,onClick:()=>this.toggleOptions(),disabled:this.dropdownDisabled},t("gux-icon",{"icon-name":"custom/chevron-down-small-regular","screenreader-text":this.i18n("tableOptions"),size:"small"})),t("gux-popover-list",{for:this.dropdownOptionsButtonId,isOpen:!this.popoverHidden,closeOnClickOutside:!0,onGuxdismiss:()=>this.popoverHidden=!0},t("div",null,t("slot",{name:"select-menu-options"})))]}render(){return t(s,{key:"19a7a5b2280ef1980f15b7b67038c1a4bc9e575f"},t("slot",{key:"cc06b3e2792f400afe3dbb37fb19b8b7aa37161e"}),this.renderSelectDropdown())}get root(){return o(this)}};u.style="gux-table-select-menu{display:inline-flex;font-family:var(--gse-ui-popover-body-text-fontFamily);font-size:var(--gse-ui-popover-body-text-fontSize);font-weight:var(--gse-ui-popover-body-text-fontWeight);line-height:var(--gse-ui-popover-body-text-lineHeight)}gux-table-select-menu .gux-select-menu-button{padding:0;margin-inline-start:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-cell-chevron-foregroundColor);outline:none;background-color:inherit;border:none}gux-table-select-menu .gux-select-menu-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:4px}";export{u as gux_table_select_menu}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{h as i}from"./p-DwD9dO7z.js";const o=({position:o,required:e},r)=>i("div",{class:{"gux-form-field-label":!0,[`gux-${o}`]:!0,"gux-required":e}},r),e=({labelPosition:o},e)=>i("div",{class:{"gux-form-field-container":!0,[`gux-${o}`]:!0}},e);export{o as G,e as a}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{h as s}from"./p-DwD9dO7z.js";const o=({show:o},a)=>s("div",{class:{"gux-form-field-help":!0,"gux-show":o}},s("div",{class:"gux-message"},a)),a=({show:o},a)=>s("div",{role:"alert",class:{"gux-form-field-error":!0,"gux-show":o}},s("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0,size:"small"}),s("div",{class:"gux-message"},a));export{a as G,o as a}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{a as n}from"./p-DwD9dO7z.js";function t(t){return(i,c)=>{const{connectedCallback:o,disconnectedCallback:s}=i,e=new Map;i.connectedCallback=function(){const i=new MutationObserver(this[c].bind(this));return function(t,i,c,o){t.has(i)&&t.get(i).disconnect(),t.set(i,c),c.observe(n(i),o)}(e,this,i,t),o&&o.call(this)},i.disconnectedCallback=function(){return function(n,t){n.has(t)&&n.get(t).disconnect(),n.delete(t)}(e,this),s&&s.call(this)}}}export{t as O}
|