genesys-spark-components 4.82.0 → 4.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/genesys-webcomponents.cjs.js +9 -9
- package/dist/cjs/{get-valid-timezone-47bf9353.js → get-valid-timezone-a670d106.js} +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +6 -6
- package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
- package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
- package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
- package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +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-badge.cjs.entry.js +4 -4
- package/dist/cjs/gux-blank-state.cjs.entry.js +4 -4
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
- package/dist/cjs/gux-button-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-button-slot.cjs.entry.js +3 -3
- package/dist/cjs/gux-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-calendar.cjs.entry.js +5 -5
- package/dist/cjs/gux-card.cjs.entry.js +4 -4
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
- package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
- package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
- package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
- package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-datepicker.cjs.entry.js +6 -6
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +10 -10
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-color.cjs.entry.js +8 -8
- package/dist/cjs/{gux-form-field-container-51849136.js → gux-form-field-container-acf6a036.js} +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
- package/dist/cjs/{gux-form-field-error-4e1d6772.js → gux-form-field-error-ec300f9a.js} +1 -1
- package/dist/cjs/{gux-form-field-fieldset-container-bf86cba7.js → gux-form-field-fieldset-container-629ca11f.js} +1 -1
- package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-number_3.cjs.entry.js +14 -14
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-range.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-search.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-select.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
- package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +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 +3 -3
- package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +3 -3
- package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
- package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
- package/dist/cjs/gux-modal.cjs.entry.js +3 -3
- package/dist/cjs/gux-month-calendar.cjs.entry.js +3 -3
- package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +4 -4
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-popover-list.cjs.entry.js +5 -5
- package/dist/cjs/gux-popup.cjs.entry.js +4 -4
- package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
- package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
- package/dist/cjs/gux-rating.cjs.entry.js +3 -3
- package/dist/cjs/gux-row-select.cjs.entry.js +3 -3
- package/dist/cjs/gux-screen-reader-beta_2.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-simple-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-sort-control.cjs.entry.js +6 -6
- package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
- package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
- package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
- package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
- package/dist/cjs/gux-table.cjs.entry.js +4 -4
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
- package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
- package/dist/cjs/gux-tag.cjs.entry.js +4 -4
- package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-time-picker.cjs.entry.js +6 -6
- 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 +4 -4
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
- package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip-base-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/gux-truncate.cjs.entry.js +6 -6
- package/dist/cjs/{index-f9d85787.js → index-0dfe7f6f.js} +1 -1
- package/dist/cjs/index-9fe2464a.js +2230 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{on-click-outside-6db914c3.js → on-click-outside-a38fafee.js} +1 -1
- package/dist/cjs/{on-mutation-3d294d15.js → on-mutation-c819498e.js} +1 -1
- package/dist/cjs/{on-resize-da1477df.js → on-resize-15b449e5.js} +1 -1
- package/dist/cjs/{usage-b92ab3f5.js → usage-b34c8cf8.js} +6 -7
- package/dist/cjs/{use-regional-dates-34243a86.js → use-regional-dates-44835a16.js} +14 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
- package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
- package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
- package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
- package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
- package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
- package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
- package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
- package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
- package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
- package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
- package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
- package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
- package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
- package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
- package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
- package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
- package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +1 -1
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +3 -3
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
- package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
- package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
- package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
- package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
- package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
- package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
- package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +2 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
- package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
- package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
- package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
- package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
- package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
- package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
- package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
- package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
- package/dist/collection/genesys-spark-utils/intl.js +14 -2
- package/dist/collection/test/setupAxeTests.js +3 -11
- package/dist/esm/genesys-webcomponents.js +10 -10
- package/dist/esm/{get-valid-timezone-6faa4c47.js → get-valid-timezone-3e8bbe2d.js} +1 -1
- package/dist/esm/gux-accordion-section.entry.js +6 -6
- package/dist/esm/gux-accordion.entry.js +3 -3
- package/dist/esm/gux-action-button.entry.js +5 -5
- package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
- package/dist/esm/gux-all-row-select.entry.js +3 -3
- package/dist/esm/gux-announce-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-beta.entry.js +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-badge.entry.js +4 -4
- package/dist/esm/gux-blank-state.entry.js +4 -4
- package/dist/esm/gux-breadcrumb-item.entry.js +2 -2
- package/dist/esm/gux-breadcrumbs.entry.js +4 -4
- package/dist/esm/gux-button-multi.entry.js +4 -4
- package/dist/esm/gux-button-slot.entry.js +3 -3
- package/dist/esm/gux-button.entry.js +4 -4
- package/dist/esm/gux-calendar-beta.entry.js +2 -2
- package/dist/esm/gux-calendar.entry.js +5 -5
- package/dist/esm/gux-card.entry.js +4 -4
- package/dist/esm/gux-column-manager-item.entry.js +5 -5
- package/dist/esm/gux-column-manager.entry.js +4 -4
- package/dist/esm/gux-content-search.entry.js +5 -5
- package/dist/esm/gux-context-menu.entry.js +6 -6
- package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
- package/dist/esm/gux-create-option.entry.js +4 -4
- package/dist/esm/gux-cta-group.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +5 -5
- package/dist/esm/gux-date-time-beta.entry.js +5 -5
- package/dist/esm/gux-datepicker.entry.js +6 -6
- package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
- package/dist/esm/gux-dismiss-button.entry.js +4 -4
- package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi.entry.js +6 -6
- package/dist/esm/gux-dropdown-option.entry.js +2 -2
- package/dist/esm/gux-dropdown_3.entry.js +10 -10
- package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
- package/dist/esm/gux-flyout-menu.entry.js +4 -4
- package/dist/esm/gux-form-beta.entry.js +1 -1
- package/dist/esm/gux-form-description.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
- package/dist/esm/gux-form-field-checkbox.entry.js +6 -6
- package/dist/esm/gux-form-field-color.entry.js +8 -8
- package/dist/esm/{gux-form-field-container-777ec473.js → gux-form-field-container-342b6920.js} +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
- package/dist/esm/{gux-form-field-error-1776797e.js → gux-form-field-error-e92661e1.js} +1 -1
- package/dist/esm/{gux-form-field-fieldset-container-1769a15e.js → gux-form-field-fieldset-container-269b6d42.js} +1 -1
- package/dist/esm/gux-form-field-file.entry.js +6 -6
- package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
- package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
- package/dist/esm/gux-form-field-number_3.entry.js +14 -14
- package/dist/esm/gux-form-field-phone.entry.js +10 -10
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
- package/dist/esm/gux-form-field-radio.entry.js +6 -6
- package/dist/esm/gux-form-field-range.entry.js +8 -8
- package/dist/esm/gux-form-field-search.entry.js +8 -8
- package/dist/esm/gux-form-field-select.entry.js +8 -8
- package/dist/esm/gux-form-field-text-like.entry.js +8 -8
- package/dist/esm/gux-form-field-textarea.entry.js +7 -7
- package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
- package/dist/esm/gux-form-fieldset-heading.entry.js +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 +3 -3
- package/dist/esm/gux-inline-alert.entry.js +5 -5
- package/dist/esm/gux-label-info-beta.entry.js +2 -2
- package/dist/esm/gux-list-divider.entry.js +2 -2
- package/dist/esm/gux-list-item.entry.js +2 -2
- package/dist/esm/gux-list.entry.js +3 -3
- package/dist/esm/gux-listbox-multi.entry.js +3 -3
- package/dist/esm/gux-loading-message.entry.js +3 -3
- package/dist/esm/gux-menu-option.entry.js +2 -2
- package/dist/esm/gux-menu.entry.js +2 -2
- package/dist/esm/gux-modal-legacy.entry.js +4 -4
- package/dist/esm/gux-modal.entry.js +3 -3
- package/dist/esm/gux-month-calendar.entry.js +3 -3
- package/dist/esm/gux-month-list_2.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +5 -5
- package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-option-group-beta.entry.js +2 -2
- package/dist/esm/gux-option-icon.entry.js +3 -3
- package/dist/esm/gux-option-multi.entry.js +4 -4
- package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
- package/dist/esm/gux-pagination-buttons_2.entry.js +4 -4
- package/dist/esm/gux-pagination-cursor.entry.js +3 -3
- package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
- package/dist/esm/gux-pagination-legacy.entry.js +3 -3
- package/dist/esm/gux-pagination.entry.js +3 -3
- package/dist/esm/gux-phone-input-beta.entry.js +4 -4
- package/dist/esm/gux-popover-list.entry.js +5 -5
- package/dist/esm/gux-popup.entry.js +4 -4
- package/dist/esm/gux-radial-loading.entry.js +4 -4
- package/dist/esm/gux-radial-progress.entry.js +2 -2
- package/dist/esm/gux-rating.entry.js +3 -3
- package/dist/esm/gux-row-select.entry.js +3 -3
- package/dist/esm/gux-screen-reader-beta_2.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-simple-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
- package/dist/esm/gux-sort-control.entry.js +6 -6
- package/dist/esm/gux-submenu.entry.js +4 -4
- package/dist/esm/gux-switch-item.entry.js +2 -2
- package/dist/esm/gux-switch-legacy.entry.js +3 -3
- package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
- package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
- package/dist/esm/gux-tab-advanced.entry.js +4 -4
- package/dist/esm/gux-tab-list.entry.js +5 -5
- package/dist/esm/gux-tab-panel.entry.js +2 -2
- package/dist/esm/gux-tab.entry.js +3 -3
- package/dist/esm/gux-table-select-menu.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
- package/dist/esm/gux-table-toolbar.entry.js +6 -6
- package/dist/esm/gux-table.entry.js +4 -4
- package/dist/esm/gux-tabs-advanced.entry.js +3 -3
- package/dist/esm/gux-tabs.entry.js +3 -3
- package/dist/esm/gux-tag.entry.js +4 -4
- package/dist/esm/gux-text-highlight.entry.js +2 -2
- package/dist/esm/gux-time-beta.entry.js +5 -5
- package/dist/esm/gux-time-picker.entry.js +6 -6
- 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 +4 -4
- package/dist/esm/gux-toggle-slider.entry.js +3 -3
- package/dist/esm/gux-toggle.entry.js +5 -5
- package/dist/esm/gux-tooltip-base-beta.entry.js +2 -2
- package/dist/esm/gux-tooltip-title.entry.js +5 -5
- package/dist/esm/gux-tooltip.entry.js +4 -4
- package/dist/esm/gux-truncate.entry.js +6 -6
- package/dist/esm/{index-ad321c23.js → index-23f79584.js} +1 -1
- package/dist/esm/index-a9821ed9.js +2197 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{on-click-outside-21dd269e.js → on-click-outside-e10242ab.js} +1 -1
- package/dist/esm/{on-mutation-1355c534.js → on-mutation-8eed4e0c.js} +1 -1
- package/dist/esm/{on-resize-6a194a58.js → on-resize-a83593c5.js} +1 -1
- package/dist/esm/{usage-3d6b4b20.js → usage-3aade09b.js} +6 -7
- package/dist/esm/{use-regional-dates-a47e74e6.js → use-regional-dates-dd987b2d.js} +14 -2
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/p-0179b174.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-40435926.entry.js → p-02393e6b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-027c43d4.js +1 -0
- package/dist/genesys-webcomponents/{p-2bcc4685.js → p-0436d67c.js} +1 -1
- package/dist/genesys-webcomponents/p-087d422d.entry.js +1 -0
- package/dist/genesys-webcomponents/p-09ad38fb.entry.js +1 -0
- package/dist/genesys-webcomponents/p-0ab33452.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e080422d.js → p-0ae26361.js} +1 -1
- package/dist/genesys-webcomponents/{p-cc58f9d4.entry.js → p-0b08f674.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2253f98c.entry.js → p-0edf08e9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d9256201.entry.js → p-108f5d83.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-11be71ca.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-aee35636.entry.js → p-11c9be03.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e634842f.entry.js → p-12214390.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9773c4fe.js → p-1ea82bf6.js} +1 -1
- package/dist/genesys-webcomponents/{p-ee3831e8.entry.js → p-1fb6d3e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-413ed990.entry.js → p-2196e991.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-22455f08.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6628cd36.entry.js → p-22df2780.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-60776811.entry.js → p-25086339.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6fbca276.entry.js → p-264bdae8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b6a66278.entry.js → p-2757a6b4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0d990ed4.entry.js → p-27663fa2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-26792730.entry.js → p-2917986a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-62c9a4e1.entry.js → p-2bde7696.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-77e320b7.entry.js → p-2d5e9d0b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3f3b2904.entry.js → p-30abf0c4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-09936465.entry.js → p-3364f18f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8c05807d.entry.js → p-35e1e445.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cf590276.entry.js → p-376e469d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-383a93b2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1922ddd5.entry.js → p-38f6da60.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5bcc54c7.js → p-3b4a0d71.js} +1 -1
- package/dist/genesys-webcomponents/{p-94921fba.entry.js → p-3d362a82.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6ca2c952.entry.js → p-3d92e226.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4177f683.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-aed20919.entry.js → p-41fe3804.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4464d57b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-9cff2003.entry.js → p-453dcc14.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d54d74fc.entry.js → p-4a22c6f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7fae78d4.entry.js → p-4aa121d9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c5a8ab08.entry.js → p-4ada383c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4ef76102.entry.js → p-4b6e955f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-53cd4011.entry.js → p-4ebba2da.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e87e002.entry.js → p-4ec598a6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b3458d2.entry.js → p-50b1d53c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ccb7ef75.entry.js → p-50d50951.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e2ee7d6f.entry.js → p-513ca276.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0b95c4be.entry.js → p-53125d18.entry.js} +2 -2
- package/dist/genesys-webcomponents/{p-91abf805.entry.js → p-53e1504f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-53ec575f.js +2 -0
- package/dist/genesys-webcomponents/{p-d1d36f09.entry.js → p-58f94798.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-387364be.entry.js → p-597adf41.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5a6482eb.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2351e1ef.entry.js → p-5b22ae14.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-16e071d9.entry.js → p-5ccb16da.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0d5dcdd3.js → p-60c044d0.js} +1 -1
- package/dist/genesys-webcomponents/{p-c470f1b9.entry.js → p-60d69aa2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4dd0710d.entry.js → p-62e58d04.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-443b93e8.entry.js → p-65fc6ec2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7b018984.entry.js → p-6b5e20d7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7008e76b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-750314f0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3515818f.entry.js → p-766cbb49.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb1ab7b1.js → p-788c3a6d.js} +1 -1
- package/dist/genesys-webcomponents/p-7a02837f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e601cc45.entry.js → p-7cb995fe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-22fa8d25.entry.js → p-7ce74a69.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aab34699.entry.js → p-7d371786.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c5436f71.entry.js → p-7e9c7181.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7f923c19.js +1 -0
- package/dist/genesys-webcomponents/{p-43996564.entry.js → p-8535c841.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ca4cdad5.entry.js → p-87327f59.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e9891ef0.entry.js → p-874dc747.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7d29918d.entry.js → p-8db67b42.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b811f588.entry.js → p-8faeada8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-927c2b47.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d806095e.entry.js → p-949fef1f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-97b1ea28.entry.js +1 -0
- package/dist/genesys-webcomponents/p-9a57af5e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e3373caf.entry.js → p-a0c87358.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e1aded78.entry.js → p-a36bd682.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e135abdf.entry.js → p-a4a73d53.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6cf2c987.entry.js → p-a689b4cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ce59b6a5.entry.js → p-a7a93823.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3f9ed1a0.entry.js → p-ab160e2d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-82bb41ef.entry.js → p-ab1b396f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ab33e45e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c2ed23d5.entry.js → p-ac31bfa7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7a0286ba.entry.js → p-adb38b12.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fdbd5e42.entry.js → p-af3a368d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9b440896.entry.js → p-b409ebc9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b4633db2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d17ab5c8.entry.js → p-b54b15b3.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b62c2a0f.entry.js +1 -0
- package/dist/genesys-webcomponents/p-b8c02c2e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f25264a0.entry.js → p-ba844217.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bb803769.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0e99917d.entry.js → p-bdf597b4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-73e09c03.entry.js → p-c08466fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9b16ac3b.entry.js → p-c1c6fc20.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-81559e0d.entry.js → p-c28c1753.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f04d4630.entry.js → p-c352994a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-577dc151.entry.js → p-c4d9667d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c5847c69.js +1 -0
- package/dist/genesys-webcomponents/p-c6566c0c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-875432dd.entry.js → p-c7449808.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4cf88aba.entry.js → p-c815fa61.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c84cf91b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-346fcd0d.entry.js → p-c9ac4c45.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8aefd475.entry.js → p-ca3db1aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e618678.entry.js → p-cf7c063a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f139788a.entry.js → p-d073ad95.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-78714157.entry.js → p-d0d0367f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7ffe0228.entry.js → p-d1235609.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5a75e700.entry.js → p-d143d5a1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7cc77530.entry.js → p-d2d4cb90.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3aa4d1ea.entry.js → p-d43975d5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-faf1be96.entry.js → p-d48d4931.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b333391d.entry.js → p-d53a2cb5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-78290812.entry.js → p-d5dd6917.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e30bf599.entry.js → p-db04d242.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e90b14c.entry.js → p-db24662a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bf71027a.entry.js → p-db2604f5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-51114005.entry.js → p-dd21b0d9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75eb2888.entry.js → p-dd76305f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8b59ef4c.entry.js → p-e0778138.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-119e8407.entry.js → p-e3e8ca11.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f4c492c3.entry.js → p-e4147c40.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5aade352.js → p-e79ff8f4.js} +1 -1
- package/dist/genesys-webcomponents/{p-c041d75a.entry.js → p-e8f3d6a5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-730bfdcf.entry.js → p-ed37b4dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ef6463ff.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ed4a0372.entry.js → p-ef9d03ae.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1f8183dd.entry.js → p-f77fa8df.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e0a538ec.entry.js → p-f84aceb6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f0e8888a.entry.js → p-f8fa6160.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cfdf92ee.entry.js → p-f9b90dc5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2f417760.entry.js → p-fb9f4472.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-fbded9fb.entry.js +1 -0
- package/dist/genesys-webcomponents/p-fdf8db23.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7e3cce19.entry.js → p-fe179025.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-afcaf5a8.entry.js → p-fe1e5a80.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a4dcdbe5.entry.js → p-fea1b60a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b27a19b1.entry.js → p-fec808f8.entry.js} +1 -1
- package/dist/loader/cdn.js +1 -3
- package/dist/loader/index.cjs.js +1 -3
- package/dist/loader/index.d.ts +3 -0
- package/dist/loader/index.es2017.js +1 -3
- package/dist/loader/index.js +1 -3
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +3 -10
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +6 -7
- package/dist/cjs/index-7fb02c8c.js +0 -3076
- package/dist/collection/components/beta/gux-announce/tests/gux-announce.e2e.js +0 -18
- package/dist/collection/components/beta/gux-announce/tests/gux-announce.spec.js +0 -19
- package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/tests/gux-avatar-change-photo.e2e.js +0 -14
- package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/tests/gux-avatar-change-photo.spec.js +0 -29
- package/dist/collection/components/beta/gux-avatar/gux-avatar-focusable/gux-avatar-focusable.e2e.js +0 -29
- package/dist/collection/components/beta/gux-avatar/gux-avatar-focusable/tests/gux-avatar-focusable.spec.js +0 -66
- package/dist/collection/components/beta/gux-avatar/tests/gux-avatar.e2e.js +0 -67
- package/dist/collection/components/beta/gux-avatar/tests/gux-avatar.spec.js +0 -155
- package/dist/collection/components/beta/gux-calendar-beta/tests/gux-calendar.e2e.js +0 -202
- package/dist/collection/components/beta/gux-calendar-beta/tests/gux-calendar.spec.js +0 -19
- package/dist/collection/components/beta/gux-cta-group/tests/gux-cta-group.e2e.js +0 -32
- package/dist/collection/components/beta/gux-cta-group/tests/gux-cta-group.spec.js +0 -82
- package/dist/collection/components/beta/gux-date/tests/gux-date.e2e.js +0 -30
- package/dist/collection/components/beta/gux-date/tests/gux-date.spec.js +0 -82
- package/dist/collection/components/beta/gux-date-time/tests/gux-date-time.e2e.js +0 -30
- package/dist/collection/components/beta/gux-date-time/tests/gux-date-time.spec.js +0 -68
- package/dist/collection/components/beta/gux-flag-icon/tests/gux-flag-icon.e2e.js +0 -268
- package/dist/collection/components/beta/gux-flag-icon/tests/gux-flag-icon.spec.js +0 -267
- package/dist/collection/components/beta/gux-form/gux-form-description/tests/gux-form-description.e2e.js +0 -16
- package/dist/collection/components/beta/gux-form/gux-form-description/tests/gux-form-description.spec.js +0 -12
- package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/tests/gux-form-fieldset-heading.e2e.js +0 -16
- package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/tests/gux-form-fieldset-heading.spec.js +0 -11
- package/dist/collection/components/beta/gux-form/gux-form-footer/tests/gux-form-footer.e2e.js +0 -25
- package/dist/collection/components/beta/gux-form/gux-form-footer/tests/gux-form-footer.spec.js +0 -17
- package/dist/collection/components/beta/gux-form/gux-form-heading/tests/gux-form-heading.e2e.js +0 -16
- package/dist/collection/components/beta/gux-form/gux-form-heading/tests/gux-form-heading.spec.js +0 -11
- package/dist/collection/components/beta/gux-form/tests/gux-form.e2e.js +0 -78
- package/dist/collection/components/beta/gux-form/tests/gux-form.spec.js +0 -148
- package/dist/collection/components/beta/gux-icon-tooltip/tests/gux-icon-tooltip.e2e.js +0 -17
- package/dist/collection/components/beta/gux-icon-tooltip/tests/gux-icon-tooltip.spec.js +0 -19
- package/dist/collection/components/beta/gux-label-info/tests/gux-label-info.e2e.js +0 -17
- package/dist/collection/components/beta/gux-label-info/tests/gux-label-info.spec.js +0 -20
- package/dist/collection/components/beta/gux-month-picker/tests/gux-month-picker.e2e.js +0 -18
- package/dist/collection/components/beta/gux-month-picker/tests/gux-month-picker.spec.js +0 -50
- package/dist/collection/components/beta/gux-phone-input/tests/gux-phone-input.e2e.js +0 -110
- package/dist/collection/components/beta/gux-screen-reader/tests/gux-screen-reader.e2e.js +0 -16
- package/dist/collection/components/beta/gux-screen-reader/tests/gux-screen-reader.spec.js +0 -17
- package/dist/collection/components/beta/gux-segmented-control/tests/gux-segmented-control.e2e.js +0 -108
- package/dist/collection/components/beta/gux-segmented-control/tests/gux-segmented-control.spec.js +0 -126
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/tests/gux-selector-card.e2e.js +0 -70
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/tests/gux-selector-card.spec.js +0 -163
- package/dist/collection/components/beta/gux-selector-cards/tests/gux-selector-cards.e2e.js +0 -202
- package/dist/collection/components/beta/gux-selector-cards/tests/gux-selector-cards.spec.js +0 -157
- package/dist/collection/components/beta/gux-time/tests/gux-time.e2e.js +0 -30
- package/dist/collection/components/beta/gux-time/tests/gux-time.spec.js +0 -68
- package/dist/collection/components/beta/gux-time-zone/tests/gux-time-zone.service.spec.js +0 -24
- package/dist/collection/components/beta/gux-time-zone/tests/gux-time-zone.spec.js +0 -24
- package/dist/collection/components/beta/gux-time-zone-picker/tests/gux-time-zone-picker.e2e.js +0 -60
- package/dist/collection/components/beta/gux-time-zone-picker/tests/gux-time-zone-picker.spec.js +0 -16
- package/dist/collection/components/beta/gux-tooltip-beta/tests/gux-tooltip.e2e.js +0 -40
- package/dist/collection/components/beta/gux-tooltip-beta/tests/gux-tooltip.spec.js +0 -64
- package/dist/collection/components/legacy/gux-action-toast-legacy/tests/gux-action-toast.e2e.js +0 -26
- package/dist/collection/components/legacy/gux-action-toast-legacy/tests/gux-action-toast.spec.js +0 -28
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/tests/gux-dropdown-option.spec.js +0 -47
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/tests/gux-advanced-dropdown.e2e.js +0 -149
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/tests/gux-advanced-dropdown.spec.js +0 -17
- package/dist/collection/components/legacy/gux-disclosure-button-legacy/tests/gux-disclosure-button.e2e.js +0 -80
- package/dist/collection/components/legacy/gux-disclosure-button-legacy/tests/gux-disclosure-button.spec.js +0 -82
- package/dist/collection/components/legacy/gux-modal-legacy/tests/gux-modal-legacy.e2e.js +0 -301
- package/dist/collection/components/legacy/gux-modal-legacy/tests/gux-modal-legacy.spec.js +0 -200
- package/dist/collection/components/legacy/gux-notification-toast-legacy/tests/gux-notification-toast.e2e.js +0 -109
- package/dist/collection/components/legacy/gux-notification-toast-legacy/tests/gux-notification-toast.spec.js +0 -99
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/tests/gux-pagination-buttons.service.spec.js +0 -138
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/tests/gux-pagination-buttons.spec.js +0 -39
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/tests/gux-pagination-item-counts.spec.js +0 -30
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/tests/gux-pagination-items-per-page.spec.js +0 -33
- package/dist/collection/components/legacy/gux-pagination-legacy/tests/gux-pagination.e2e.js +0 -53
- package/dist/collection/components/legacy/gux-pagination-legacy/tests/gux-pagination.spec.js +0 -65
- package/dist/collection/components/legacy/gux-simple-toast-legacy/tests/gux-simple-toast.e2e.js +0 -103
- package/dist/collection/components/legacy/gux-simple-toast-legacy/tests/gux-simple-toast.spec.js +0 -93
- package/dist/collection/components/legacy/gux-switch-legacy/tests/gux-switch.e2e.js +0 -87
- package/dist/collection/components/legacy/gux-switch-legacy/tests/gux-switch.spec.js +0 -116
- package/dist/collection/components/stable/gux-accordion/tests/gux-accordion.e2e.js +0 -46
- package/dist/collection/components/stable/gux-accordion/tests/gux-accordion.spec.js +0 -52
- package/dist/collection/components/stable/gux-action-button/tests/gux-action-button.e2e.js +0 -93
- package/dist/collection/components/stable/gux-action-button/tests/gux-action-button.spec.js +0 -95
- package/dist/collection/components/stable/gux-badge/tests/gux-badge.e2e.js +0 -38
- package/dist/collection/components/stable/gux-badge/tests/gux-badge.spec.js +0 -39
- package/dist/collection/components/stable/gux-blank-state/tests/gux-blank-state.e2e.js +0 -19
- package/dist/collection/components/stable/gux-blank-state/tests/gux-blank-state.spec.js +0 -22
- package/dist/collection/components/stable/gux-breadcrumbs/tests/gux-breadcrumbs.e2e.js +0 -48
- package/dist/collection/components/stable/gux-breadcrumbs/tests/gux-breadcrumbs.spec.js +0 -91
- package/dist/collection/components/stable/gux-button/tests/gux-button.e2e.js +0 -131
- package/dist/collection/components/stable/gux-button/tests/gux-button.spec.js +0 -114
- package/dist/collection/components/stable/gux-button-multi/tests/gux-button-multi.e2e.js +0 -70
- package/dist/collection/components/stable/gux-button-multi/tests/gux-button-multi.spec.js +0 -16
- package/dist/collection/components/stable/gux-button-slot/tests/gux-button-slot.e2e.js +0 -206
- package/dist/collection/components/stable/gux-button-slot/tests/gux-button-slot.spec.js +0 -258
- package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.e2e.js +0 -45
- package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.methods.spec.js +0 -235
- package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.service.spec.js +0 -160
- package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.spec.js +0 -62
- package/dist/collection/components/stable/gux-card/tests/gux-card.e2e.js +0 -16
- package/dist/collection/components/stable/gux-card/tests/gux-card.spec.js +0 -17
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/tests/gux-column-manager-item.service.spec.js +0 -35
- package/dist/collection/components/stable/gux-content-search/tests/gux-content-search.e2e.js +0 -557
- package/dist/collection/components/stable/gux-content-search/tests/gux-content-search.spec.js +0 -198
- package/dist/collection/components/stable/gux-context-menu/tests/gux-context-menu.e2e.js +0 -79
- package/dist/collection/components/stable/gux-context-menu/tests/gux-context-menu.spec.js +0 -44
- package/dist/collection/components/stable/gux-copy-to-clipboard/tests/gux-copy-to-clipboard.e2e.js +0 -23
- package/dist/collection/components/stable/gux-copy-to-clipboard/tests/gux-copy-to-clipboard.spec.js +0 -44
- package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.e2e.js +0 -124
- package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.service.spec.js +0 -237
- package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.spec.js +0 -48
- package/dist/collection/components/stable/gux-dismiss-button/tests/gux-dismiss-button.e2e.js +0 -20
- package/dist/collection/components/stable/gux-dismiss-button/tests/gux-dismiss-button.spec.js +0 -22
- package/dist/collection/components/stable/gux-dropdown/tests/gux-dropdown.e2e.js +0 -236
- package/dist/collection/components/stable/gux-dropdown/tests/gux-dropdown.spec.js +0 -136
- package/dist/collection/components/stable/gux-dropdown-multi/tests/gux-dropdown-multi.e2e.js +0 -284
- package/dist/collection/components/stable/gux-dropdown-multi/tests/gux-dropdown-multi.spec.js +0 -24
- package/dist/collection/components/stable/gux-flyout-menu/tests/gux-flyout-menu.e2e.js +0 -71
- package/dist/collection/components/stable/gux-flyout-menu/tests/gux-flyout-menu.spec.js +0 -52
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/tests/gux-form-field-checkbox.e2e.js +0 -93
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/tests/gux-form-field-checkbox.spec.js +0 -64
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/tests/gux-form-field-checkbox-group.e2e.js +0 -212
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/tests/gux-form-field-checkbox-group.spec.js +0 -146
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/tests/gux-form-field-color.e2e.js +0 -83
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/tests/gux-form-field-color.spec.js +0 -92
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/tests/gux-form-field-dropdown.e2e.js +0 -196
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/tests/gux-form-field-dropdown.spec.js +0 -270
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/tests/gux-form-field-file.e2e.js +0 -102
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/tests/gux-form-field-file.spec.js +0 -130
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/tests/gux-form-field-number.e2e.js +0 -110
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/tests/gux-form-field-number.spec.js +0 -114
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/tests/gux-form-field-phone.e2e.js +0 -82
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/tests/gux-form-field-phone.spec.js +0 -77
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/tests/gux-form-field-radio.e2e.js +0 -119
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/tests/gux-form-field-radio.spec.js +0 -75
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/tests/gux-form-field-radio-group.e2e.js +0 -206
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/tests/gux-form-field-radio-group.spec.js +0 -172
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/tests/gux-form-field-search.e2e.js +0 -83
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/tests/gux-form-field-search.spec.js +0 -94
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/tests/gux-form-field-select.e2e.js +0 -95
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/tests/gux-form-field-select.spec.js +0 -117
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.e2e.js +0 -198
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.spec.js +0 -174
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/tests/gux-form-field-textarea.e2e.js +0 -104
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/tests/gux-form-field-textarea.spec.js +0 -108
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/tests/gux-form-field-time-picker.e2e.js +0 -83
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/tests/gux-form-field-time-picker.spec.js +0 -95
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/tests/gux-form-field-time-zone-picker.e2e.js +0 -123
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/tests/gux-form-field-time-zone-picker.spec.js +0 -142
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-optional-indicator/tests/gux-form-field-label-indicator.spec.js +0 -20
- package/dist/collection/components/stable/gux-form-field/tests/gux-form-field.service.spec.js +0 -19
- package/dist/collection/components/stable/gux-icon/tests/gux-icon.service.spec.js +0 -22
- package/dist/collection/components/stable/gux-icon/tests/gux-icon.spec.js +0 -6
- package/dist/collection/components/stable/gux-icon/tests/icon-names-deprecated.spec.js +0 -13
- package/dist/collection/components/stable/gux-inline-alert/tests/gux-inline-alert.e2e.js +0 -18
- package/dist/collection/components/stable/gux-inline-alert/tests/gux-inline-alert.spec.js +0 -19
- package/dist/collection/components/stable/gux-list/gux-list-divider/tests/gux-list-divider.spec.js +0 -22
- package/dist/collection/components/stable/gux-list/gux-list-item/tests/gux-list-item.spec.js +0 -22
- package/dist/collection/components/stable/gux-list/tests/gux-list.e2e.js +0 -20
- package/dist/collection/components/stable/gux-list/tests/gux-list.spec.js +0 -23
- package/dist/collection/components/stable/gux-loading-message/tests/gux-loading-message.e2e.js +0 -14
- package/dist/collection/components/stable/gux-loading-message/tests/gux-loading-message.spec.js +0 -27
- package/dist/collection/components/stable/gux-modal/tests/gux-modal.e2e.js +0 -285
- package/dist/collection/components/stable/gux-modal/tests/gux-modal.spec.js +0 -195
- package/dist/collection/components/stable/gux-page-loading-spinner/tests/gux-page-loading-spinner.e2e.js +0 -33
- package/dist/collection/components/stable/gux-page-loading-spinner/tests/gux-page-loading-spinner.spec.js +0 -12
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/tests/gux-pagination-buttons.service.spec.js +0 -129
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/tests/gux-pagination-buttons.spec.js +0 -32
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/tests/gux-pagination-item-counts.spec.js +0 -30
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/tests/gux-pagination-items-per-page.spec.js +0 -33
- package/dist/collection/components/stable/gux-pagination/tests/gux-pagination.e2e.js +0 -97
- package/dist/collection/components/stable/gux-pagination/tests/gux-pagination.spec.js +0 -116
- package/dist/collection/components/stable/gux-pagination-cursor/tests/gux-pagination-cursor.e2e.js +0 -66
- package/dist/collection/components/stable/gux-pagination-cursor/tests/gux-pagination-cursor.spec.js +0 -67
- package/dist/collection/components/stable/gux-popover/tests/gux-popover.e2e.js +0 -60
- package/dist/collection/components/stable/gux-popover/tests/gux-popover.spec.js +0 -54
- package/dist/collection/components/stable/gux-popover-list/tests/gux-popover-list.e2e.js +0 -59
- package/dist/collection/components/stable/gux-popover-list/tests/gux-popover-list.spec.js +0 -53
- package/dist/collection/components/stable/gux-popup/tests/gux-popup.e2e.js +0 -30
- package/dist/collection/components/stable/gux-popup/tests/gux-popup.spec.js +0 -41
- package/dist/collection/components/stable/gux-radial-loading/tests/gux-radial-loading.e2e.js +0 -33
- package/dist/collection/components/stable/gux-radial-loading/tests/gux-radial-loading.spec.js +0 -33
- package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.e2e.js +0 -58
- package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.service.spec.js +0 -36
- package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.spec.js +0 -61
- package/dist/collection/components/stable/gux-rating/tests/gux-rating.e2e.js +0 -311
- package/dist/collection/components/stable/gux-rating/tests/gux-rating.spec.js +0 -44
- package/dist/collection/components/stable/gux-skip-navigation-list/tests/gux-skip-navigation-list.e2e.js +0 -24
- package/dist/collection/components/stable/gux-skip-navigation-list/tests/gux-skip-navigation-list.spec.js +0 -29
- package/dist/collection/components/stable/gux-table/gux-all-row-select/tests/gux-all-row-select.spec.js +0 -11
- package/dist/collection/components/stable/gux-table/gux-row-select/tests/gux-row-select.spec.js +0 -11
- package/dist/collection/components/stable/gux-table/gux-sort-control/tests/gux-sort-control.e2e.js +0 -56
- package/dist/collection/components/stable/gux-table/gux-sort-control/tests/gux-sort-control.spec.js +0 -44
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/tests/gux-table-select-menu.spec.js +0 -24
- package/dist/collection/components/stable/gux-table/tests/gux-table.e2e.js +0 -543
- package/dist/collection/components/stable/gux-table/tests/gux-table.spec.js +0 -28
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/tests/gux-table-toolbar-action.e2e.js +0 -53
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/tests/gux-table-toolbar-action.spec.js +0 -54
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/tests/gux-table-toolbar-custom-action.e2e.js +0 -44
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/tests/gux-table-toolbar-custom-action.spec.js +0 -24
- package/dist/collection/components/stable/gux-table-toolbar/tests/gux-table-toolbar.e2e.js +0 -46
- package/dist/collection/components/stable/gux-table-toolbar/tests/gux-table-toolbar.spec.js +0 -59
- package/dist/collection/components/stable/gux-tabs/gux-tab/tests/gux-tab.e2e.js +0 -15
- package/dist/collection/components/stable/gux-tabs/gux-tab/tests/gux-tab.spec.js +0 -16
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/tests/gux-tab-list.e2e.js +0 -15
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/tests/gux-tab-list.spec.js +0 -16
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/tests/gux-tab-panel.e2e.js +0 -15
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/tests/gux-tab-panel.spec.js +0 -16
- package/dist/collection/components/stable/gux-tabs/tests/gux-tabs.e2e.js +0 -140
- package/dist/collection/components/stable/gux-tabs/tests/gux-tabs.spec.js +0 -57
- package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.e2e.js +0 -222
- package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.spec.js +0 -73
- package/dist/collection/components/stable/gux-tag/tests/gux-tag.e2e.js +0 -161
- package/dist/collection/components/stable/gux-tag/tests/gux-tag.spec.js +0 -134
- package/dist/collection/components/stable/gux-text-highlight/tests/gux-text-highlight.e2e.js +0 -147
- package/dist/collection/components/stable/gux-text-highlight/tests/gux-text-hightlight.spec.js +0 -149
- package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.e2e.js +0 -41
- package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.service.spec.js +0 -710
- package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.spec.js +0 -36
- package/dist/collection/components/stable/gux-toast/tests/gux-toast.e2e.js +0 -121
- package/dist/collection/components/stable/gux-toast/tests/gux-toast.spec.js +0 -111
- package/dist/collection/components/stable/gux-toggle/tests/gux-toggle.e2e.js +0 -154
- package/dist/collection/components/stable/gux-toggle/tests/gux-toggle.spec.js +0 -128
- package/dist/collection/components/stable/gux-tooltip/tests/gux-tooltip.e2e.js +0 -37
- package/dist/collection/components/stable/gux-tooltip/tests/gux-tooltip.spec.js +0 -63
- package/dist/collection/components/stable/gux-tooltip-title/tests/gux-tooltip-title.e2e.js +0 -86
- package/dist/collection/components/stable/gux-truncate/tests/gux-truncate.e2e.js +0 -76
- package/dist/collection/components/stable/gux-truncate/tests/gux-truncate.spec.js +0 -23
- package/dist/collection/utils/date/from-iso-time-string.spec.js +0 -13
- package/dist/collection/utils/date/get-valid-timezone.spec.js +0 -38
- package/dist/collection/utils/date/iso-dates.spec.js +0 -170
- package/dist/collection/utils/date/time-zone.spec.js +0 -22
- package/dist/collection/utils/date/year-month-values.spec.js +0 -81
- package/dist/collection/utils/dom/event-is-from.spec.js +0 -29
- package/dist/collection/utils/dom/manipulate-elements-classes.spec.js +0 -104
- package/dist/collection/utils/dom/random-html-id.spec.js +0 -14
- package/dist/collection/utils/dom/when-event-is-from.spec.js +0 -37
- package/dist/collection/utils/string/search.spec.js +0 -40
- package/dist/collection/utils/tracking/usage.spec.js +0 -121
- package/dist/esm/index-da21b737.js +0 -3043
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/genesys-webcomponents/p-01471ba0.js +0 -1
- package/dist/genesys-webcomponents/p-059ba1e7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0b410c79.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0e357b17.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1946c20f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-194e09a1.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2e827df1.js +0 -2
- package/dist/genesys-webcomponents/p-351f6109.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3b7a79af.entry.js +0 -1
- package/dist/genesys-webcomponents/p-477b6ccb.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4c9dc5aa.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4f5dc8e4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4f9cb6ca.entry.js +0 -1
- package/dist/genesys-webcomponents/p-522d095f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-53ed124f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5de256c6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7a450e35.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7e720a33.entry.js +0 -1
- package/dist/genesys-webcomponents/p-825590f8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-83b34196.entry.js +0 -1
- package/dist/genesys-webcomponents/p-84e7e0c3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8e30e75e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8e98278f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a5415051.js +0 -1
- package/dist/genesys-webcomponents/p-ab6cf9b9.js +0 -1
- package/dist/genesys-webcomponents/p-b40006ba.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b4c99969.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c2395684.entry.js +0 -1
- package/dist/genesys-webcomponents/p-dab8f285.entry.js +0 -1
- package/dist/genesys-webcomponents/p-dec73db1.entry.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
import{r as o,c as a,h as t,g as e}from"./p-
|
1
|
+
import{r as o,c as a,h as t,g as e}from"./p-53ec575f.js";import{b as g}from"./p-3b4a0d71.js";import{t as r}from"./p-e79ff8f4.js";import"./p-4202e9f2.js";const u={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"},c=class{constructor(t){o(this,t),this.guxdelete=a(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold",this.label=void 0}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onSlotChange(o){const a=o.composedPath()[0].assignedNodes();this.label=a.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return t("gux-tooltip-title",null,t("span",null,t("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return t("div",{class:"gux-sr-only"},this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return t("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},t("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular","screenreader-text":this.i18n("remove-tag",{label:this.label})}))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,u)}render(){return t("div",{key:"5b8c83cfa5d4e5e88a335f6ac0cf2b4a263b104f",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};c.style=':host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;height:var(--gse-ui-tag-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-text-fontFamily);font-size:var(--gse-ui-tag-text-fontSize);font-weight:var(--gse-ui-tag-text-fontWeight, 600);line-height:var(--gse-ui-tag-text-lineHeight);color:var(--gse-ui-tag-default-foregroundColor);background-color:var(--gse-ui-tag-default-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-small{height:var(--gse-ui-tag-small-height)}.gux-tag.gux-size-large{height:var(--gse-ui-tag-large-height)}.gux-tag.gux-disabled{position:relative}.gux-tag.gux-disabled::before{position:absolute;inset:0;content:"";background-color:#fff;border-radius:var(--gse-ui-tag-borderRadius);opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{width:var(--gse-ui-tag-button-size);height:var(--gse-ui-tag-button-size);margin-right:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-semantic-focusRing-small-border-width) solid var(--gse-semantic-color-focus)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}';export{c as gux_tag}
|
@@ -1 +1 @@
|
|
1
|
-
import{r,h as d,g as a}from"./p-
|
1
|
+
import{r,h as d,g as a}from"./p-53ec575f.js";import{t as e}from"./p-e79ff8f4.js";const o=class{constructor(d){r(this,d),this.accent="bordered"}componentWillLoad(){e(this.root,{variant:this.accent})}render(){return d("div",{key:"5e84b027dcff30a7cbdf502f0266e6ce1fafa063",class:{"gux-card":!0,[`gux-${this.accent}`]:!0}},d("slot",{key:"c4b5f89a0f7e66c6a29da8f295972b0f8d04fb6f"}))}get root(){return a(this)}};o.style=":host{display:block;width:fit-content}.gux-card{box-sizing:border-box;padding:var(--gse-ui-card-padding);background-color:var(--gse-ui-card-backgroundColor);border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color);border-radius:var(--gse-ui-card-borderRadius)}.gux-card.gux-bordered{border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color)}.gux-card.gux-raised{border:var(--gse-ui-card-raised-border-width) var(--gse-ui-card-raised-border-style) var(--gse-ui-card-raised-border-color);box-shadow:var(--gse-ui-card-raised-boxShadow-x) var(--gse-ui-card-raised-boxShadow-y) var(--gse-ui-card-raised-boxShadow-blur) var(--gse-ui-card-raised-boxShadow-spread) var(--gse-ui-card-raised-boxShadow-color)}.gux-card.gux-borderless{border:var(--gse-ui-card-borderless-border-width) var(--gse-ui-card-borderless-border-style) var(--gse-ui-card-borderless-border-color)}";export{o as gux_card}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,h as i}from"./p-
|
1
|
+
import{r as t,c as e,h as i}from"./p-53ec575f.js";import{a as s,c as a,o as n,f as o,d,s as c,h as p}from"./p-d8ba5b01.js";const r=class{constructor(i){t(this,i),this.internalexpanded=e(this,"internalexpanded",7),this.internalcollapsed=e(this,"internalcollapsed",7),this.placement="bottom-start",this.expanded=!1,this.disabled=!1,this.offset=2,this.exceedTargetWidth=!1}runUpdatePosition(){this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const t=this.exceedTargetWidth;a(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:this.placement,middleware:[n(this.offset),o(),d({apply({rects:e,elements:i}){Object.assign(i.floating.style,t?{minWidth:`${e.reference.width}px`}:{width:`${e.reference.width}px`,overflow:"hidden"})}}),c(),p()]}).then((({x:t,y:e,middlewareData:i})=>{const{referenceHidden:s}=i.hide;Object.assign(this.popupElementContainer.style,{left:`${t}px`,top:`${e}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(t){t?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return i("div",{key:"c30aa8c47a37f2f526d9849770f557a411235295",class:{"gux-target-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString(),ref:t=>this.targetElementContainer=t},i("slot",{key:"1a766a7d3d83520eb01343bf32c5501ce53865c3",name:"target"}),i("div",{key:"74592d9a227e71da3f5368fca02aabda71f5557b",class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:t=>this.popupElementContainer=t},i("slot",{key:"32f147115740e271fdfe988e7911a7cb2fc1c4db",name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};r.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gse-semantic-zIndex-popup);width:max-content;visibility:hidden;background-color:var(--gse-ui-menu-backgroundColor)}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{r as gux_popup}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,f as i,h as t,H as r,g as o}from"./p-
|
1
|
+
import{r as e,f as i,h as t,H as r,g as o}from"./p-53ec575f.js";import{c as a,o as s}from"./p-f4751a15.js";import{O as n}from"./p-c5847c69.js";import{o as l}from"./p-e5b1cffc.js";import{p as u}from"./p-a11d5d42.js";import{h}from"./p-6d8b4027.js";import{a as d,G as g}from"./p-788c3a6d.js";import{a as f,G as p}from"./p-1ea82bf6.js";import{g as c,v as x,a as b}from"./p-42f2e889.js";import{t as m}from"./p-e79ff8f4.js";import{O as v}from"./p-027c43d4.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";var y=function(e,i,t,r){var o,a=arguments.length,s=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,r);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(s=(a<3?o(s):a>3?o(i,t,s):o(i,t))||s);return a>3&&s&&Object.defineProperty(i,t,s),s};const w=class{constructor(i){e(this,i),this.displayUnits=void 0,this.valueInTooltip=void 0,this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1,this.value=void 0,this.active=void 0,this.valueWatcherId=void 0}onInput(e){this.updateValue(e.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=h(this.root,"error"),this.hasHelp=h(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;this.active=!1,null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=h(this.root,"error"),this.hasHelp=h(this.root,"help"),m(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition(),this.tooltipElement&&i(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return t(r,{key:"0b2a0ac59a1df20216c07cf3b5d776076652f419",class:{"gux-active":this.active}},t(f,{key:"b30204ef473dc608ab1938cc9322d983c09162cd",labelPosition:this.computedLabelPosition},t(p,{key:"ea2b43f91152b537a67f361faf3db593ec147e8b",required:this.required,position:this.computedLabelPosition},t("slot",{key:"97bbb28a1cbb26ac31e14237667ea08494c4873f",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"763dd478ce01d5a875453e46aa98d508b3ca2e12",variant:this.indicatorMark,required:this.required}),t("slot",{key:"dbf54d1c841ce5e6fb09f8f2d28612b68f6ba607",name:"label-info"})),t("div",{key:"0bc87a2c456146133114820dbd7247aa03725d8b",class:"gux-input-and-error-container"},this.renderRangeInput(),t(d,{key:"6624f8459a84bb6e97199c6c17dff76b033b216d",show:this.hasError},t("slot",{key:"a507edab5a2cfce56eda8ea00067081d591a0566",name:"error"})),t(g,{key:"5f5b31313a833c0c8d435b2c7efa3026bca2b1b9",show:!this.hasError&&this.hasHelp},t("slot",{key:"c92b67441b93640998d8a1fbabbece8653b04590",name:"help"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="range"][slot="input"]'),u(this.input),this.disabled=a(this.input),this.required=this.input.required,this.value=this.input.value,this.disabledObserver=s(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled},ref:e=>this.containerElement=e},t("div",{class:"gux-range"},t("div",{class:"gux-track"},t("div",{class:"gux-progress",ref:e=>this.progressElement=e})),t("slot",{name:"input"}),this.valueInTooltip&&t("gux-tooltip-base-beta",{ref:e=>this.tooltipElement=e,forElement:this.containerElement,offsetY:-10,placement:"top"},t("span",{slot:"content"},this.getDisplayValue()))),t("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){var e,i,t;const r=Number((null===(e=this.input)||void 0===e?void 0:e.value)||0),o=Number((null===(i=this.input)||void 0===i?void 0:i.min)||0),a=(r-o)/(Number((null===(t=this.input)||void 0===t?void 0:t.max)||100)-o)*100;this.tooltipElement&&(this.tooltipElement.offsetX=(a/100-.5)*(this.containerElement.offsetWidth-20)),this.progressElement.style.width=`${a}%`}getDisplayValue(){return this.displayUnits?`${this.value}${this.displayUnits}`:this.value}get root(){return o(this)}};y([n({childList:!0,subtree:!0})],w.prototype,"onMutation",null),y([v()],w.prototype,"updatePosition",null),w.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-bottom:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-top:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input[type=range]){position:absolute;width:100%;width:100%;height:var(--gse-ui-slider-bar-height);margin:calc(var(--gse-ui-slider-handle-width) / 2) 0;margin-top:calc(-1 * (var(--gse-ui-slider-handle-width) / 2 + var(--gse-ui-slider-bar-height)));-webkit-appearance:none;background:transparent}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-slider-gap);place-content:stretch flex-start;align-items:center;height:32px;font-size:var(--gse-ui-slider-label-text-fontSize)}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:var(--gse-ui-slider-disabled-opacity)}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{width:100%;height:var(--gse-ui-slider-bar-height);margin:6px 0;background:var(--gse-ui-slider-bar-default-backgroundColor);border-radius:var(--gse-ui-slider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{height:var(--gse-ui-slider-bar-height);background-color:var(--gse-ui-slider-bar-selected-backgroundColor);border-radius:var(--gse-ui-slider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;margin:0 0 0 var(--gux-spacing-medium);font-family:var(--gse-ui-slider-label-text-fontFamily);font-size:var(--gse-ui-slider-label-text-fontSize);font-weight:var(--gse-ui-slider-label-text-fontWeight);line-height:var(--gse-ui-slider-label-text-lineHeight);text-align:right}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}";export{w as gux_form_field_range}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as t,g as r}from"./p-
|
1
|
+
import{r as e,h as t,g as r}from"./p-53ec575f.js";import{b as a,g as n}from"./p-3b4a0d71.js";import{u as i,a as s}from"./p-7f923c19.js";import{s as o}from"./p-2c25e2f2.js";import{b as h}from"./p-cf0e7d3b.js";import{g as u,b as c,a as d}from"./p-67d92675.js";import"./p-4202e9f2.js";const l={changeYear:"Current year is {currentYear}, Click to change year to {changeYear}"},g=class{constructor(t){e(this,t),this.value=void 0,this.min=void 0,this.max=void 0,this.year=void 0,this.locale=void 0,this.previewValue=void 0,this.expanded=!0}onValueUpdate(e){const{year:t}=u(e);this.year=t}async guxFocus(e){this.expanded=!0,e=e||c();const{year:t}=u(e);this.year=t,h((()=>{const t=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${e}"]`);t&&t.focus()}))}onKeyDown(e){if("Tab"===e.key){if(e.shiftKey)return;(this.nextYearElement.matches(":focus-visible")||this.previousYearElement.matches(":focus-visible")&&this.nextYearElement.disabled)&&(this.focusSelectedMonth(),e.preventDefault())}}focusSelectedMonth(){const e=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${this.previewValue}"]`);if(e&&e.matches(":focus-visible"))null==e||e.focus();else{const e=this.root.shadowRoot.querySelectorAll("gux-month-list-item"),t=Array.from(e).find((e=>!e.disabled));null==t||t.focus()}}nextYearElementOnBlur(e){e.target.disabled&&!e.relatedTarget&&(this.focusSelectedMonth(),e.preventDefault())}async componentWillLoad(){this.i18n=await a(this.root,l),this.locale=i()?s(this.root):n(this.root),this.value?(this.year=u(this.value).year,this.previewValue=this.value):this.year=u(c()).year}updateValue(e){this.value=e,this.previewValue=this.value,o(this.root,"input"),o(this.root,"change")}isOutOfBounds(e){return this.max&&this.max<e||this.min&&this.min>e}onMonthClick(e){this.isOutOfBounds(e)||this.updateValue(e)}isCurrentMonth(e){return u(c()).year==this.year&&u(c()).month==e}getMonthAriaLabel(e){const{year:t,month:r}=u(e);return new Date(Number(t),Number(r)-1).toLocaleDateString(this.locale,{year:"numeric",month:"long"})}getYearLabel(e){return new Date(Number(e),5).toLocaleDateString(this.locale,{year:"numeric"})}isSelectedMonth(e){return e===this.value}isAriaSelectedMonth(e){return!!this.isSelectedMonth(e)&&"true"}changeYear(e){if(this.year=(parseInt(this.year)+e).toString(),this.value){const e=u(this.value).month,t=d(this.year,e);this.previewValue=t}}isPreviousYearLessThanMinYear(e,t){return(parseInt(e)-1).toString()<(t&&u(t).year)}isNextYearGreaterThanMaxYear(e,t){return(parseInt(e)+1).toString()>(t&&u(t).year)}getMonthShortName(e,t){return new Date(Number(e),Number(t)-1).toLocaleDateString(this.locale,{month:"short"})}renderHeader(){return t("div",{class:"gux-year-header"},t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(-1),disabled:this.isPreviousYearLessThanMinYear(this.year,this.min),ref:e=>this.previousYearElement=e},t("gux-icon",{"icon-name":"custom/chevron-left-small-regular","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)-1})})),t("div",null,this.getYearLabel(this.year)),t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(1),disabled:this.isNextYearGreaterThanMaxYear(this.year,this.max),ref:e=>this.nextYearElement=e,onBlur:this.nextYearElementOnBlur.bind(this)},t("gux-icon",{"icon-name":"custom/chevron-right-small-regular","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)+1})})))}renderMonths(){const e=Array.from(new Array(12),((e,t)=>String(t+1).padStart(2,"0"))).map((e=>{const r=d(this.year,e);return t("gux-month-list-item",{class:{"gux-current-month":this.isCurrentMonth(e)},value:r,selected:this.isSelectedMonth(r),"aria-selected":this.isAriaSelectedMonth(r),"aria-label":this.getMonthAriaLabel(r),onClick:()=>this.onMonthClick(r),disabled:this.isOutOfBounds(r)},this.getMonthShortName(this.year,e))}));return t("gux-month-list",null,e)}render(){return t("div",{key:"677921c9dde412710726338267e591ad25860551",class:{"gux-hidden":!this.expanded,"gux-month-calendar":!0}},this.renderHeader(),this.renderMonths())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{value:["onValueUpdate"]}}};g.style=".gux-month-calendar{flex-wrap:wrap;width:var(--gse-ui-calendarMenu-width);box-shadow:var(--gse-ui-calendarMenu-boxShadow-x) var(--gse-ui-calendarMenu-boxShadow-y) var(--gse-ui-calendarMenu-boxShadow-blur) var(--gse-ui-calendarMenu-boxShadow-spread) var(--gse-ui-calendarMenu-boxShadow-color)}.gux-month-calendar.gux-hidden{display:none}.gux-month-calendar .gux-current-month{font-family:var(--gse-ui-calendarMenu-month-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-month-currentText-lineHeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor)}.gux-month-calendar .gux-year-header{position:relative;display:flex;align-items:center;justify-content:space-between;height:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-month-calendar .gux-year-header button{padding:var(--gse-ui-calendarMenu-header-arrow-padding);color:inherit;cursor:pointer;background:none;border:none;outline:none}.gux-month-calendar .gux-year-header button:focus-visible{border-radius:calc(var(--gse-semantic-focusRing-cornerRadius) - var(--gse-semantic-focusRing-offset));outline:var(--gse-semantic-focusRing-width) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-month-calendar .gux-year-header button.gux-year-change:disabled{cursor:default;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-month-calendar .gux-year-header button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);pointer-events:none}";export{g as gux_month_calendar}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as r,H as i}from"./p-
|
1
|
+
import{r as e,h as r,H as i}from"./p-53ec575f.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"350ede1a420ac1457665bb88929b2563678950cb",role:"presentation"})}};o.style=":host{position:relative;display:flex;width:100%;height:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,h as s,H as a}from"./p-
|
1
|
+
import{r as t,c as e,h as s,H as a}from"./p-53ec575f.js";const i=class{constructor(s){t(this,s),this.guxactivepanelchange=e(this,"guxactivepanelchange",7),this.tabId=void 0,this.active=!1}async guxSetActive(t){this.active=t}watchActivePanel(){!0===this.active&&this.guxactivepanelchange.emit(this.tabId)}render(){return s(a,{key:"1cb7bcb0a51a128c98771dd34c6c843b5e5aff68",id:`gux-${this.tabId}-panel`,role:"tabpanel","aria-labelledby":`gux-${this.tabId}-tab`,tabIndex:0,hidden:!this.active},s("slot",{key:"f92439ce99ca58122cc0f47717f6956e0f2bab82"}))}static get watchers(){return{active:["watchActivePanel"]}}};i.style=":host{height:calc(100% - var(--gse-ui-tabs-set-horizontal-height)var(--gse-ui-tabs-set-divider-horizontal-height)var(--gse-ui-tabs-set-horizontal-marginBottom))}:host(:not([hidden])){display:flex;flex-grow:1}:host(:focus){outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}";export{i as gux_tab_panel}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as i,H as t,g as o}from"./p-
|
1
|
+
import{r as e,h as i,H as t,g as o}from"./p-53ec575f.js";import{o as r}from"./p-0f60c7b5.js";const a=class{constructor(i){e(this,i),this.label=void 0,this.filtered=!1,this.showDivider=!0}componentDidLoad(){this.rootParent=this.root.parentNode,this.rootParent&&(this.parentObserver=r(this.rootParent,(()=>{var e;const i=Array.from(null===(e=this.root)||void 0===e?void 0:e.children).filter((e=>this.isOption(e)&&!e.filtered)).length>0;this.filtered=!i,this.filtered||(this.showDivider=this.hasVisibleNextSibling(this.root)&&i)})))}disconnectedCallback(){this.rootParent&&this.parentObserver.disconnect()}isOption(e){return["GUX-OPTION","GUX-OPTION-ICON"].includes(e.tagName)}hasVisibleNextSibling(e){let i=e.nextElementSibling;if(null===i)return!1;for(;i&&i.classList.contains("gux-filtered");)i=i.nextElementSibling;return Boolean(i)}renderDivider(){if(this.showDivider)return i("gux-list-divider",null)}render(){return i(t,{key:"337395bb996aa1d1748dba716e951da4ace55a8b",class:{"gux-filtered":this.filtered}},i("div",{key:"585742862e99cd3862acb627b125114392d5d2de",class:"gux-option-group"},i("div",{key:"9b11d410957cf000af02fd27ac47e50a0e5e7a55",class:"gux-option-group-label",role:"presentation"},this.label),i("div",{key:"172f01d14f4316daa18460926adb75203cf4415c",role:"group"},i("slot",{key:"d8565e733b5955bcf4fdcf1fddfc951f7c4b7f19"})),this.renderDivider()))}get root(){return o(this)}};a.style=".gux-option-group{display:block;flex:1 1 auto;align-self:auto}.gux-option-group .gux-option-group-label{display:block;padding:var(--gse-ui-menu-groupedMenu-title-padding);color:var(--gse-ui-menu-groupedMenu-title-foregroundColor);font-family:var(--gse-core-typography-heading-overline-fontFamily), var(--gse-core-fontFamily-heading), sans-serif;font-size:var(--gse-core-typography-heading-overline-fontSize);line-height:var(--gse-core-typography-heading-overline-lineHeight);text-transform:var(--gse-core-typography-heading-overline-textCase);letter-spacing:var(--gse-core-typography-heading-overline-letterSpacing);font-weight:var(--gse-core-fontWeight-regular)}:host(.gux-filtered){display:none}";export{a as gux_option_group_beta}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import{r as t,c as i,d as n,w as e,h as o,g as r}from"./p-
|
1
|
+
import{r as t,c as i,d as n,w as e,h as o,g as r}from"./p-53ec575f.js";import{O as s}from"./p-c5847c69.js";import{e as a}from"./p-ea5e1b2f.js";import{a as u}from"./p-cf0e7d3b.js";import{b as l}from"./p-3b4a0d71.js";import{t as h}from"./p-363466e3.js";import"./p-4202e9f2.js";
|
2
2
|
/**!
|
3
3
|
* Sortable 1.15.3
|
4
4
|
* @author RubaXa <trash@rubaxa.org>
|
5
5
|
* @author owenm <owen23355@gmail.com>
|
6
6
|
* @license MIT
|
7
|
-
*/function c(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);i&&(e=e.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,e)}return n}function f(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?c(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function v(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function b(){return b=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},b.apply(this,arguments)}function g(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var m=g(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),p=g(/Edge/i),w=g(/firefox/i),x=g(/safari/i)&&!g(/chrome/i)&&!g(/android/i),y=g(/iP(ad|od|hone)/i),E=g(/chrome/i)&&g(/android/i),S={capture:!1,passive:!1};function T(t,i,n){t.addEventListener(i,n,!m&&S)}function O(t,i,n){t.removeEventListener(i,n,!m&&S)}function M(t,i){if(i){if(">"===i[0]&&(i=i.substring(1)),t)try{if(t.matches)return t.matches(i);if(t.msMatchesSelector)return t.msMatchesSelector(i);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(i)}catch(t){return!1}return!1}}function k(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,i,n,e){if(t){n=n||document;do{if(null!=i&&(">"===i[0]?t.parentNode===n&&M(t,i):M(t,i))||e&&t===n)return t;if(t===n)break}while(t=k(t))}return null}var j,C=/\s+/g;function A(t,i,n){if(t&&i)if(t.classList)t.classList[n?"add":"remove"](i);else{var e=(" "+t.className+" ").replace(C," ").replace(" "+i+" "," ");t.className=(e+(n?" "+i:"")).replace(C," ")}}function D(t,i,n){var e=t&&t.style;if(e){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===i?n:n[i];i in e||-1!==i.indexOf("webkit")||(i="-webkit-"+i),e[i]=n+("string"==typeof n?"":"px")}}function _(t,i){var n="";if("string"==typeof t)n=t;else do{var e=D(t,"transform");e&&"none"!==e&&(n=e+" "+n)}while(!i&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function z(t,i,n){if(t){var e=t.getElementsByTagName(i),o=0,r=e.length;if(n)for(;o<r;o++)n(e[o],o);return e}return[]}function L(){return document.scrollingElement||document.documentElement}function N(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,s,a,u,l,h,c;if(t!==window&&t.parentNode&&t!==L()?(s=(r=t.getBoundingClientRect()).top,a=r.left,u=r.bottom,l=r.right,h=r.height,c=r.width):(s=0,a=0,u=window.innerHeight,l=window.innerWidth,h=window.innerHeight,c=window.innerWidth),(i||n)&&t!==window&&(o=o||t.parentNode,!m))do{if(o&&o.getBoundingClientRect&&("none"!==D(o,"transform")||n&&"static"!==D(o,"position"))){var f=o.getBoundingClientRect();s-=f.top+parseInt(D(o,"border-top-width")),a-=f.left+parseInt(D(o,"border-left-width")),u=s+r.height,l=a+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var d=_(o||t),v=d&&d.a,b=d&&d.d;d&&(u=(s/=b)+(h/=b),l=(a/=v)+(c/=v))}return{top:s,left:a,bottom:u,right:l,width:c,height:h}}}function R(t,i,n){for(var e=G(t,!0),o=N(t)[i];e;){var r=N(e)[n];if(!("top"===n||"left"===n?o>=r:o<=r))return e;if(e===L())break;e=G(e,!1)}return!1}function F(t,i,n,e){for(var o=0,r=0,s=t.children;r<s.length;){if("none"!==s[r].style.display&&s[r]!==Ut.ghost&&(e||s[r]!==Ut.dragged)&&I(s[r],n.draggable,t,!1)){if(o===i)return s[r];o++}r++}return null}function B(t,i){for(var n=t.lastElementChild;n&&(n===Ut.ghost||"none"===D(n,"display")||i&&!M(n,i));)n=n.previousElementSibling;return n||null}function H(t,i){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Ut.clone||i&&!M(t,i)||n++;return n}function P(t){var i=0,n=0,e=L();if(t)do{var o=_(t);i+=t.scrollLeft*o.a,n+=t.scrollTop*o.d}while(t!==e&&(t=t.parentNode));return[i,n]}function G(t,i){if(!t||!t.getBoundingClientRect)return L();var n=t,e=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=D(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return L();if(e||i)return n;e=!0}}}while(n=n.parentNode);return L()}function W(t,i){return Math.round(t.top)===Math.round(i.top)&&Math.round(t.left)===Math.round(i.left)&&Math.round(t.height)===Math.round(i.height)&&Math.round(t.width)===Math.round(i.width)}function K(t,i){return function(){if(!j){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),j=setTimeout((function(){j=void 0}),i)}}}function U(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function X(t){var i=window.Polymer,n=window.jQuery||window.Zepto;return i&&i.dom?i.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function Y(t,i,n){var e={};return Array.from(t.children).forEach((function(o){var r,s,a,u;if(I(o,i.draggable,t,!1)&&!o.animated&&o!==n){var l=N(o);e.left=Math.min(null!==(r=e.left)&&void 0!==r?r:1/0,l.left),e.top=Math.min(null!==(s=e.top)&&void 0!==s?s:1/0,l.top),e.right=Math.max(null!==(a=e.right)&&void 0!==a?a:-1/0,l.right),e.bottom=Math.max(null!==(u=e.bottom)&&void 0!==u?u:-1/0,l.bottom)}})),e.width=e.right-e.left,e.height=e.bottom-e.top,e.x=e.left,e.y=e.top,e}var $="Sortable"+(new Date).getTime();var V=[],Z={initializeByDefault:!0},q={mount:function(t){for(var i in Z)Z.hasOwnProperty(i)&&!(i in t)&&(t[i]=Z[i]);V.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),V.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";V.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](f({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](f({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in V.forEach((function(e){var o=e.pluginName;if(t.options[o]||e.initializeByDefault){var r=new e(t,i,t.options);r.sortable=t,r.options=t.options,t[o]=r,b(n,r.defaults)}})),t.options)if(t.options.hasOwnProperty(e)){var o=this.modifyOption(t,e,t.options[e]);void 0!==o&&(t.options[e]=o)}},getEventProperties:function(t,i){var n={};return V.forEach((function(e){"function"==typeof e.eventProperties&&b(n,e.eventProperties.call(i[e.pluginName],t))})),n},modifyOption:function(t,i,n){var e;return V.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},J=["evt"],Q=function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=n.evt,o=function(t,i){if(null==t)return{};var n,e,o=function(t,i){if(null==t)return{};var n,e,o={},r=Object.keys(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||(o[n]=t[n]);return o}(t,i);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(n,J);q.pluginEvent.bind(Ut)(t,i,f({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:st,cloneEl:at,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Ut.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ct,newIndex:ht,newDraggableIndex:ft,hideGhostForTarget:Pt,unhideGhostForTarget:Gt,cloneNowHidden:function(){ut=!0},cloneNowShown:function(){ut=!1},dispatchSortableEvent:function(t){tt({sortable:i,name:t,originalEvent:e})}},o))};function tt(t){!function(t){var i=t.sortable,n=t.rootEl,e=t.name,o=t.targetEl,r=t.cloneEl,s=t.toEl,a=t.fromEl,u=t.oldIndex,l=t.newIndex,h=t.oldDraggableIndex,c=t.newDraggableIndex,d=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[$]){var g,w=i.options,x="on"+e.charAt(0).toUpperCase()+e.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(e,!0,!0):g=new CustomEvent(e,{bubbles:!0,cancelable:!0}),g.to=s||n,g.from=a||n,g.item=o||n,g.clone=r,g.oldIndex=u,g.newIndex=l,g.oldDraggableIndex=h,g.newDraggableIndex=c,g.originalEvent=d,g.pullMode=v?v.lastPutMode:void 0;var y=f(f({},b),q.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(f({putSortable:vt,cloneEl:at,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ct,newIndex:ht,newDraggableIndex:ft},t))}var it,nt,et,ot,rt,st,at,ut,lt,ht,ct,ft,dt,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,Mt=!1,kt=!1,It=[],jt=!1,Ct=!1,At=[],Dt=!1,_t=[],zt="undefined"!=typeof document,Lt=y,Nt=p||m?"cssFloat":"float",Rt=zt&&!E&&!y&&"draggable"in document.createElement("div"),Ft=function(){if(zt){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Bt=function(t,i){var n=D(t),e=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=F(t,0,i),r=F(t,1,i),s=o&&D(o),a=r&&D(r),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+N(o).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+N(r).width;return"flex"===n.display?"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal":"grid"===n.display?n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":o&&s.float&&"none"!==s.float?!r||"both"!==a.clear&&a.clear!==("left"===s.float?"left":"right")?"horizontal":"vertical":o&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||u>=e&&"none"===n[Nt]||r&&"none"===n[Nt]&&u+l>e)?"vertical":"horizontal"},Ht=function(t){function i(t,n){return function(e,o,r,s){if(null==t&&(n||e.options.group.name&&o.options.group.name&&e.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return i(t(e,o,r,s),n)(e,o,r,s);var a=(n?e:o).options.group.name;return!0===t||"string"==typeof t&&t===a||t.join&&t.indexOf(a)>-1}}var n={},e=t.group;e&&"object"==d(e)||(e={name:e}),n.name=e.name,n.checkPull=i(e.pull,!0),n.checkPut=i(e.put),n.revertClone=e.revertClone,t.group=n},Pt=function(){!Ft&&et&&D(et,"display","none")},Gt=function(){!Ft&&et&&D(et,"display","")};zt&&!E&&document.addEventListener("click",(function(t){if(kt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),kt=!1,!1}),!0);var Wt=function(t){if(it){var i=(o=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,It.some((function(t){var i=t[$].options.emptyInsertThreshold;if(i&&!B(t)){var n=N(t);return o>=n.left-i&&o<=n.right+i&&r>=n.top-i&&r<=n.bottom+i?s=t:void 0}})),s);if(i){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.target=n.rootEl=i,n.preventDefault=void 0,n.stopPropagation=void 0,i[$]._onDragOver(n)}}var o,r,s},Kt=function(t){it&&it.parentNode[$]._isOutsideThisEl(t.target)};function Ut(t,i){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=i=b({},i),t[$]=this;var n,e,o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Bt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,i){t.setData("Text",i.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ut.supportPointer&&"PointerEvent"in window&&!x,emptyInsertThreshold:5};for(var r in q.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var s in Ht(i),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!i.forceFallback&&Rt,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?T(t,"pointerdown",this._onTapStart):(T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),It.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),b(this,(e=[],{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==D(t,"display")&&t!==Ut.ghost){e.push({target:t,rect:N(t)});var i=f({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=_(t,!0);n&&(i.top-=n.f,i.left-=n.e)}t.fromRect=i}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,i){for(var n in t)if(t.hasOwnProperty(n))for(var e in i)if(i.hasOwnProperty(e)&&i[e]===t[n][e])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(t){var i=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof t&&t());var o=!1,r=0;e.forEach((function(t){var n=0,e=t.target,s=e.fromRect,a=N(e),u=e.prevFromRect,l=e.prevToRect,h=t.rect,c=_(e,!0);c&&(a.top-=c.f,a.left-=c.e),e.toRect=a,e.thisAnimationDuration&&W(u,a)&&!W(s,a)&&(h.top-a.top)/(h.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(n=function(t,i,n,e){return Math.sqrt(Math.pow(i.top-t.top,2)+Math.pow(i.left-t.left,2))/Math.sqrt(Math.pow(i.top-n.top,2)+Math.pow(i.left-n.left,2))*e.animation}(h,u,l,i.options)),W(a,s)||(e.prevFromRect=s,e.prevToRect=a,n||(n=i.options.animation),i.animate(e,h,a,n)),n&&(o=!0,r=Math.max(r,n),clearTimeout(e.animationResetTimer),e.animationResetTimer=setTimeout((function(){e.animationTime=0,e.prevFromRect=null,e.fromRect=null,e.prevToRect=null,e.thisAnimationDuration=null}),n),e.thisAnimationDuration=n)})),clearTimeout(n),o?n=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),e=[]},animate:function(t,i,n,e){if(e){D(t,"transition",""),D(t,"transform","");var o=_(this.el),r=(i.left-n.left)/(o&&o.a||1),s=(i.top-n.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!s,D(t,"transform","translate3d("+r+"px,"+s+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),D(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),D(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){D(t,"transition",""),D(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function Xt(t,i,n,e,o,r,s,a){var u,l,h=t[$],c=h.options.onMove;return!window.CustomEvent||m||p?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=i,u.from=t,u.dragged=n,u.draggedRect=e,u.related=o||i,u.relatedRect=r||N(i),u.willInsertAfter=a,u.originalEvent=s,t.dispatchEvent(u),c&&(l=c.call(h,u,s)),l}function Yt(t){t.draggable=!1}function $t(){Dt=!1}function Vt(t){for(var i=t.tagName+t.className+t.src+t.href+t.textContent,n=i.length,e=0;n--;)e+=i.charCodeAt(n);return e.toString(36)}function Zt(t){return setTimeout(t,0)}function qt(t){return clearTimeout(t)}Ut.prototype={constructor:Ut,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Et=null)},_getDirection:function(t,i){return"function"==typeof this.options.direction?this.options.direction.call(this,t,i,it):this.options.direction},_onTapStart:function(t){if(t.cancelable){var i=this,n=this.el,e=this.options,o=e.preventOnFilter,r=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,l=e.filter;if(function(t){_t.length=0;for(var i=t.getElementsByTagName("input"),n=i.length;n--;){var e=i[n];e.checked&&_t.push(e)}}(n),!it&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||e.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!x||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=I(a,e.draggable,n,!1))&&a.animated||st===a)){if(lt=H(a),ct=H(a,e.draggable),"function"==typeof l){if(l.call(this,t,a,this))return tt({sortable:i,rootEl:u,name:"filter",targetEl:a,toEl:n,fromEl:n}),Q("filter",i,{evt:t}),void(o&&t.cancelable&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=I(u,e.trim(),n,!1))return tt({sortable:i,rootEl:e,name:"filter",targetEl:a,fromEl:n,toEl:n}),Q("filter",i,{evt:t}),!0}))))return void(o&&t.cancelable&&t.preventDefault());e.handle&&!I(u,e.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,i,n){var e,o=this,r=o.el,s=o.options,a=r.ownerDocument;if(n&&!it&&n.parentNode===r){var u=N(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,st=n,dt=s.group,Ut.dragged=it,wt=(bt={target:it,clientX:(i||t).clientX,clientY:(i||t).clientY}).clientX-u.left,xt=bt.clientY-u.top,this._lastX=(i||t).clientX,this._lastY=(i||t).clientY,it.style["will-change"]="all",e=function(){Q("delayEnded",o,{evt:t}),Ut.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!w&&o.nativeDraggable&&(it.draggable=!0),o._triggerDragStart(t,i),tt({sortable:o,name:"choose",originalEvent:t}),A(it,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){z(it,t.trim(),Yt)})),T(a,"dragover",Wt),T(a,"mousemove",Wt),T(a,"touchmove",Wt),T(a,"mouseup",o._onDrop),T(a,"touchend",o._onDrop),T(a,"touchcancel",o._onDrop),w&&this.nativeDraggable&&(this.options.touchStartThreshold=4,it.draggable=!0),Q("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!i||this.nativeDraggable&&(p||m))e();else{if(Ut.eventCanceled)return void this._onDrop();T(a,"mouseup",o._disableDelayedDrag),T(a,"touchend",o._disableDelayedDrag),T(a,"touchcancel",o._disableDelayedDrag),T(a,"mousemove",o._delayedDragTouchMoveHandler),T(a,"touchmove",o._delayedDragTouchMoveHandler),s.supportPointer&&T(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var i=t.touches?t.touches[0]:t;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){it&&Yt(it),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,i){i=i||"touch"==t.pointerType&&t,!this.nativeDraggable||i?T(document,this.options.supportPointer?"pointermove":i?"touchmove":"mousemove",this._onTouchMove):(T(it,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?Zt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,i){if(Mt=!1,ot&&it){Q("dragStarted",this,{evt:i}),this.nativeDraggable&&T(document,"dragover",Kt);var n=this.options;!t&&A(it,n.dragClass,!1),A(it,n.ghostClass,!0),Ut.active=this,t&&this._appendGhost(),tt({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(gt){this._lastX=gt.clientX,this._lastY=gt.clientY,Pt();for(var t=document.elementFromPoint(gt.clientX,gt.clientY),i=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(gt.clientX,gt.clientY))!==i;)i=t;if(it.parentNode[$]._isOutsideThisEl(t),i)do{if(i[$]&&i[$]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=k(i));Gt()}},_onTouchMove:function(t){if(bt){var i=this.options,n=i.fallbackTolerance,e=i.fallbackOffset,o=t.touches?t.touches[0]:t,r=et&&_(et,!0),s=et&&r&&r.a,a=et&&r&&r.d,u=Lt&&Ot&&P(Ot),l=(o.clientX-bt.clientX+e.x)/(s||1)+(u?u[0]-At[0]:0)/(s||1),h=(o.clientY-bt.clientY+e.y)/(a||1)+(u?u[1]-At[1]:0)/(a||1);if(!Ut.active&&!Mt){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(et){r?(r.e+=l-(mt||0),r.f+=h-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:h};var c="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(et,"webkitTransform",c),D(et,"mozTransform",c),D(et,"msTransform",c),D(et,"transform",c),mt=l,pt=h,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=N(it,!0,Lt,!0,t),n=this.options;if(Lt){for(Ot=t;"static"===D(Ot,"position")&&"none"===D(Ot,"transform")&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=L()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=L(),At=P(Ot)}A(et=it.cloneNode(!0),n.ghostClass,!1),A(et,n.fallbackClass,!0),A(et,n.dragClass,!0),D(et,"transition",""),D(et,"transform",""),D(et,"box-sizing","border-box"),D(et,"margin",0),D(et,"top",i.top),D(et,"left",i.left),D(et,"width",i.width),D(et,"height",i.height),D(et,"opacity","0.8"),D(et,"position",Lt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Ut.ghost=et,t.appendChild(et),D(et,"transform-origin",wt/parseInt(et.style.width)*100+"% "+xt/parseInt(et.style.height)*100+"%")}},_onDragStart:function(t,i){var n=this,e=t.dataTransfer,o=n.options;Q("dragStart",this,{evt:t}),Ut.eventCanceled?this._onDrop():(Q("setupClone",this),Ut.eventCanceled||((at=X(it)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),A(at,this.options.chosenClass,!1),Ut.clone=at),n.cloneId=Zt((function(){Q("clone",n),Ut.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(at,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&A(it,o.dragClass,!0),i?(kt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(O(document,"mouseup",n._onDrop),O(document,"touchend",n._onDrop),O(document,"touchcancel",n._onDrop),e&&(e.effectAllowed="move",o.setData&&o.setData.call(n,e,it)),T(document,"drop",n),D(it,"transform","translateZ(0)")),Mt=!0,n._dragStartId=Zt(n._dragStarted.bind(n,i,t)),T(document,"selectstart",n),yt=!0,x&&D(document.body,"user-select","none"))},_onDragOver:function(t){var i,n,e,o,r=this.el,s=t.target,a=this.options,u=a.group,l=Ut.active,h=dt===u,c=a.sort,d=vt||l,v=this,b=!1;if(!Dt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=I(s,a.draggable,r,!0),_("dragOver"),Ut.eventCanceled)return b;if(it.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||v._ignoreWhileAnimating===s)return L(!1);if(kt=!1,l&&!a.disabled&&(h?c||(e=nt!==ot):vt===this||(this.lastPutMode=dt.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,s),i=N(it),_("dragOverValid"),Ut.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Ut.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),L(!0);var g=B(r,a.draggable);if(!g||function(t,i,n){var e=N(B(n.el,n.options.draggable)),o=Y(n.el,n.options,et);return i?t.clientX>o.right+10||t.clientY>e.bottom&&t.clientX>e.left:t.clientY>o.bottom+10||t.clientX>e.right&&t.clientY>e.top}(t,o,this)&&!g.animated){if(g===it)return L(!1);if(g&&r===t.target&&(s=g),s&&(n=N(s)),!1!==Xt(ot,r,it,i,s,n,t,!!s))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,P(),L(!0)}else if(g&&function(t,i,n){var e=N(F(n.el,0,n.options,!0)),o=Y(n.el,n.options,et);return i?t.clientX<o.left-10||t.clientY<e.top&&t.clientX<e.right:t.clientY<o.top-10||t.clientY<e.bottom&&t.clientX<e.left}(t,o,this)){var m=F(r,0,a,!0);if(m===it)return L(!1);if(n=N(s=m),!1!==Xt(ot,r,it,i,s,n,t,!1))return z(),r.insertBefore(it,m),nt=r,P(),L(!0)}else if(s.parentNode===r){n=N(s);var p,w,x,y=it.parentNode!==r,E=!function(t,i,n){var e=n?t.left:t.top,o=n?i.left:i.top;return e===o||(n?t.right:t.bottom)===(n?i.right:i.bottom)||e+(n?t.width:t.height)/2===o+(n?i.width:i.height)/2}(it.animated&&it.toRect||i,s.animated&&s.toRect||n,o),S=o?"top":"left",T=R(s,"top","top")||R(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==s&&(w=n[S],jt=!1,Ct=!E&&a.invertSwap||y),p=function(t,i,n,e,o,r,s,a){var u=e?t.clientY:t.clientX,l=e?n.height:n.width,h=e?n.top:n.left,c=e?n.bottom:n.right,f=!1;if(!s)if(a&&Tt<l*o){if(!jt&&(1===St?u>h+l*r/2:u<c-l*r/2)&&(jt=!0),jt)f=!0;else if(1===St?u<h+Tt:u>c-Tt)return-St}else if(u>h+l*(1-o)/2&&u<c-l*(1-o)/2)return function(t){return H(it)<H(t)?1:-1}(i);return(f=f||s)&&(u<h+l*r/2||u>c-l*r/2)?u>h+l/2?1:-1:0}(t,s,n,o,E?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,Ct,Et===s),0!==p){var M=H(it);do{x=nt.children[M-=p]}while(x&&("none"===D(x,"display")||x===et))}if(0===p||x===s)return L(!1);Et=s,St=p;var k=s.nextElementSibling,j=!1,C=Xt(ot,r,it,i,s,n,t,j=1===p);if(!1!==C)return 1!==C&&-1!==C||(j=1===C),Dt=!0,setTimeout($t,30),z(),j&&!k?r.appendChild(it):s.parentNode.insertBefore(it,j?k:s),T&&U(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||Ct||(Tt=Math.abs(w-N(s)[S])),P(),L(!0)}if(r.contains(it))return L(!1)}return!1}function _(a,u){Q(a,v,f({evt:t,isOwner:h,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:c,fromSortable:d,target:s,completed:L,onMove:function(n,e){return Xt(ot,r,it,i,n,N(n),t,e)},changed:P},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==d&&d.captureAnimationState()}function L(i){return _("dragOverCompleted",{insertion:i}),i&&(h?l._hideClone():l._showClone(v),v!==d&&(A(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),A(it,a.ghostClass,!0)),vt!==v&&v!==Ut.active?vt=v:v===Ut.active&&vt&&(vt=null),d===v&&(v._ignoreWhileAnimating=s),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===it&&!it.animated||s===r&&!s.animated)&&(Et=null),a.dragoverBubble||t.rootEl||s===document||(it.parentNode[$]._isOutsideThisEl(t.target),!i&&Wt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function P(){ht=H(it),ft=H(it,a.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ht,newDraggableIndex:ft,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Wt),O(document,"mousemove",Wt),O(document,"touchmove",Wt)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ht=H(it),ft=H(it,n.draggable),Q("drop",this,{evt:t}),nt=it&&it.parentNode,ht=H(it),ft=H(it,n.draggable),Ut.eventCanceled||(Mt=!1,Ct=!1,jt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),qt(this.cloneId),qt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),x&&D(document.body,"user-select",""),D(it,"transform",""),t&&(yt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),et&&et.parentNode&&et.parentNode.removeChild(et),(ot===nt||vt&&"clone"!==vt.lastPutMode)&&at&&at.parentNode&&at.parentNode.removeChild(at),it&&(this.nativeDraggable&&O(it,"dragend",this),Yt(it),it.style["will-change"]="",yt&&!Mt&&A(it,vt?vt.options.ghostClass:this.options.ghostClass,!1),A(it,this.options.chosenClass,!1),tt({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ht>=0&&(tt({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"remove",toEl:nt,originalEvent:t}),tt({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),vt&&vt.save()):ht!==lt&&ht>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Ut.active&&(null!=ht&&-1!==ht||(ht=lt,ft=ct),tt({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Q("nulling",this),ot=it=nt=et=rt=at=st=ut=bt=gt=yt=ht=ft=lt=ct=Et=St=vt=dt=Ut.dragged=Ut.ghost=Ut.clone=Ut.active=null,_t.forEach((function(t){t.checked=!0})),_t.length=mt=pt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":it&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,i=[],n=this.el.children,e=0,o=n.length,r=this.options;e<o;e++)I(t=n[e],r.draggable,this.el,!1)&&i.push(t.getAttribute(r.dataIdAttr)||Vt(t));return i},sort:function(t,i){var n={},e=this.el;this.toArray().forEach((function(t,i){var o=e.children[i];I(o,this.options.draggable,e,!1)&&(n[t]=o)}),this),i&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(e.removeChild(n[t]),e.appendChild(n[t]))})),i&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,i){return I(t,i||this.options.draggable,this.el,!1)},option:function(t,i){var n=this.options;if(void 0===i)return n[t];var e=q.modifyOption(this,t,i);n[t]=void 0!==e?e:i,"group"===t&&Ht(n)},destroy:function(){Q("destroy",this);var t=this.el;t[$]=null,O(t,"mousedown",this._onTapStart),O(t,"touchstart",this._onTapStart),O(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(O(t,"dragover",this),O(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),It.splice(It.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!ut){if(Q("hideClone",this),Ut.eventCanceled)return;D(at,"display","none"),this.options.removeCloneOnHide&&at.parentNode&&at.parentNode.removeChild(at),ut=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(ut){if(Q("showClone",this),Ut.eventCanceled)return;it.parentNode!=ot||this.options.group.revertClone?rt?ot.insertBefore(at,rt):ot.appendChild(at):ot.insertBefore(at,it),this.options.group.revertClone&&this.animate(it,at),D(at,"display",""),ut=!1}}else this._hideClone()}},zt&&T(document,"touchmove",(function(t){(Ut.active||Mt)&&t.cancelable&&t.preventDefault()})),Ut.utils={on:T,off:O,css:D,find:z,is:function(t,i){return!!I(t,i,t,!1)},extend:function(t,i){if(t&&i)for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t},throttle:K,closest:I,toggleClass:A,clone:X,index:H,nextTick:Zt,cancelNextTick:qt,detectDirection:Bt,getChild:F,expando:$},Ut.get=function(t){return t[$]},Ut.mount=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];i[0].constructor===Array&&(i=i[0]),i.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Ut.utils=f(f({},Ut.utils),t.utils)),q.mount(t)}))},Ut.create=function(t,i){return new Ut(t,i)},Ut.version="1.15.3";var Jt,Qt,ti,ii,ni,ei,oi=[],ri=!1;function si(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function ai(){clearInterval(ei)}var ui=K((function(t,i,n,e){if(i.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=i.scrollSensitivity,u=i.scrollSpeed,l=L(),h=!1;Qt!==n&&(Qt=n,si(),o=i.scrollFn,!0===(Jt=i.scroll)&&(Jt=G(n,!0)));var c=0,f=Jt;do{var d=f,v=N(d),b=v.top,g=v.bottom,m=v.left,p=v.right,w=v.width,x=v.height,y=void 0,E=void 0,S=d.scrollWidth,T=d.scrollHeight,O=D(d),M=d.scrollLeft,k=d.scrollTop;d===l?(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=a&&M+w<S)-(Math.abs(m-r)<=a&&!!M),j=E&&(Math.abs(g-s)<=a&&k+x<T)-(Math.abs(b-s)<=a&&!!k);if(!oi[c])for(var C=0;C<=c;C++)oi[C]||(oi[C]={});oi[c].vx==I&&oi[c].vy==j&&oi[c].el===d||(oi[c].el=d,oi[c].vx=I,oi[c].vy=j,clearInterval(oi[c].pid),0==I&&0==j||(h=!0,oi[c].pid=setInterval(function(){e&&0===this.layer&&Ut.active._onTouchMove(ni);var i=oi[this.layer].vy?oi[this.layer].vy*u:0,n=oi[this.layer].vx?oi[this.layer].vx*u:0;"function"==typeof o&&"continue"!==o.call(Ut.dragged.parentNode[$],n,i,t,ni,oi[this.layer].el)||U(oi[this.layer].el,n,i)}.bind({layer:c}),24))),c++}while(i.bubbleScroll&&f!==l&&(f=G(f,!1)));ri=h}}),30),li=function(t){var i=t.originalEvent,n=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(i){var s=n||t.activeSortable;(0,t.hideGhostForTarget)();var a=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,u=document.elementFromPoint(a.clientX,a.clientY);r(),s&&!s.el.contains(u)&&(o("spill"),this.onSpill({dragEl:e,putSortable:n}))}};function hi(){}function ci(){}hi.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var i=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var e=F(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(i,e):this.sortable.el.appendChild(i),this.sortable.animateAll(),n&&n.animateAll()},drop:li},b(hi,{pluginName:"revertOnSpill"}),ci.prototype={onSpill:function(t){var i=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:li},b(ci,{pluginName:"removeOnSpill"}),Ut.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):T(document,this.options.supportPointer?"pointermove":i.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;this.options.dragOverBubble||i.rootEl||this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?O(document,"dragover",this._handleAutoScroll):(O(document,"pointermove",this._handleFallbackAutoScroll),O(document,"touchmove",this._handleFallbackAutoScroll),O(document,"mousemove",this._handleFallbackAutoScroll)),ai(),si(),clearTimeout(j),j=void 0},nulling:function(){ni=Qt=Jt=ri=ei=ti=ii=null,oi.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var n=this,e=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(e,o);if(ni=t,i||this.options.forceAutoScrollFallback||p||m||x){ui(t,this.options,r,i);var s=G(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&ai(),ei=setInterval((function(){var r=G(document.elementFromPoint(e,o),!0);r!==s&&(s=r,si()),ui(t,n.options,r,i)}),10),ti=e,ii=o)}else{if(!this.options.bubbleScroll||G(r,!0)===L())return void si();ui(t,this.options,G(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Ut.mount(ci,hi);const fi=class{constructor(n){t(this,n),this.newTab=i(this,"newTab",7),this.sortChanged=i(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.tabTriggers=void 0,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.sortTarget=void 0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&a(".gux-tablist",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-tablist").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{n?this.focused=i:(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))}))}watchAllowSort(t){t?this.validateSortableInstance():this.destroySortable()}onMutation(){this.setTabTriggers()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);let e;e=n===i.length-1?i[0]:i[n+2],t.insertBefore(this.sortTarget,e),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);t.insertBefore(this.sortTarget,i[n-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.keyboardSort&&this.allowSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled",this.root.querySelector(".gux-tablist").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.initialSortIndex),u((()=>{this.focusTab(this.initialSortIndex)}));break;case"Enter":this.keyboardSort&&(t.preventDefault(),this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.emitSortChanged());break;case"Tab":this.keyboardSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled");break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onKeyup(t){" "===t.key&&a(".gux-tab",t)&&!a(".gux-tab-options-button",t)&&!a("gux-popover-list",t)&&this.allowSort&&(t.preventDefault(),!0===this.keyboardSort?(this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.closest("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.initialSortIndex=i)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((i,n)=>{const e=i.tabId===t;i.guxSetActive(e),e&&(this.focused=n)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{this.focused===i||n||(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))})),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].querySelector(".gux-tab-options-button")&&this.tabTriggers[this.focused].querySelector(".gux-tab-options-button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}setTabTriggers(){this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.triggerIds=this.tabTriggers?Array.from(this.tabTriggers).map((t=>`gux-${t.getAttribute("tab-id")}-tab`)).join(" "):""}createSortable(){this.sortableInstance=new Ut(this.root.querySelector(".gux-tablist"),{animation:250,draggable:"gux-tab-advanced",filter:".ignore-sort",onMove:t=>!t.related.classList.contains("ignore-sort"),onUpdate:()=>{this.emitSortChanged()}})}destroySortable(){this.sortableInstance&&(this.sortableInstance.destroy(),this.sortableInstance=null)}emitSortChanged(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced")).map((t=>t.tabId));this.sortChanged.emit(t)}checkForScrollbarHideOrShow(){n((()=>{const t=this.root.querySelector(".gux-scrollable-section"),i=t.clientWidth<t.scrollWidth;i!==this.hasScrollbar&&(this.hasScrollbar=i)}))}handleKeyboardScroll(t){"forward"===t?this.focused<this.tabTriggers.length-1?(this.hasScrollbar&&this.scrollRight(),this.focusTab(this.focused+1)):(this.hasScrollbar&&this.scrollToStart(),this.focusTab(0)):"backward"===t&&(this.focused>0?(this.hasScrollbar&&this.scrollLeft(),this.focusTab(this.focused-1)):(this.hasScrollbar&&this.scrollToEnd(),this.focusTab(this.tabTriggers.length-1)))}disconnectedCallback(){this.sortableInstance&&this.destroySortable(),this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}async componentWillLoad(){this.setTabTriggers(),this.i18n=await l(this.root,h,"gux-tabs-advanced")}validateSortableInstance(){this.allowSort&&!this.sortableInstance&&this.createSortable()}componentDidLoad(){this.validateSortableInstance(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkForScrollbarHideOrShow()))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver((()=>this.checkForScrollbarHideOrShow()))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),u((()=>{this.checkForScrollbarHideOrShow()}),500)}scrollLeft(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(-(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth),0)}))}scrollRight(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth,0)}))}scrollToStart(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{t.scrollBy(null==t?void 0:t.scrollWidth,0)}))}componentWillRender(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced"));this.disableAddTabButton=t.length>=this.tabLimit}render(){return[this.renderAlert(),o("div",{key:"cd8ee967bcccdb0eb1072504034764a245614162",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"e7e016939584c16727c86747bde51ffbe8caf82a",class:"gux-scrollable-section"},o("div",{key:"ec7c07b6b925afd268e867ea725a2585ab4f1c0f",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"b0ed8dbabf6e783c73be087b0e5416e6298f8087"})),this.renderAddButton()),this.renderScrollButton("scrollRight"))]}renderAlert(){return o("div",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):"")}renderAddButton(){return o("div",null,this.showNewTabButton?o("gux-button-slot",{class:"gux-add-button",accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{"icon-name":"fa/plus-regular","screenreader-text":this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab")})))):null)}renderScrollButton(t){return o("div",null,this.hasScrollbar?o("gux-button-slot",{class:"gux-scroll-button",accent:"ghost"},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{"icon-name":this.getChevronIconName(t),"screenreader-text":this.i18n(t)}))):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"fa/chevron-left-regular";case"scrollRight":return"fa/chevron-right-regular"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,i,n,e){var o,r=arguments.length,s=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,n):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,n,e);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(i,n,s):o(i,n))||s);r>3&&s&&Object.defineProperty(i,n,s)})([s({childList:!0,subtree:!0})],fi.prototype,"onMutation",null),fi.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;width:100%;margin-bottom:16px;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;width:100%;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--gse-ui-advancedTabs-divider-dividerColor);scroll-behavior:smooth}.gux-tab-container .gux-scrollable-section::-webkit-scrollbar{height:0}.gux-tab-container .gux-scrollable-section .gux-tablist{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{fi as gux_tab_advanced_list}
|
7
|
+
*/function c(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);i&&(e=e.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,e)}return n}function f(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?c(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function v(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function b(){return b=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},b.apply(this,arguments)}function g(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var m=g(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),p=g(/Edge/i),w=g(/firefox/i),x=g(/safari/i)&&!g(/chrome/i)&&!g(/android/i),y=g(/iP(ad|od|hone)/i),E=g(/chrome/i)&&g(/android/i),S={capture:!1,passive:!1};function T(t,i,n){t.addEventListener(i,n,!m&&S)}function O(t,i,n){t.removeEventListener(i,n,!m&&S)}function M(t,i){if(i){if(">"===i[0]&&(i=i.substring(1)),t)try{if(t.matches)return t.matches(i);if(t.msMatchesSelector)return t.msMatchesSelector(i);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(i)}catch(t){return!1}return!1}}function k(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,i,n,e){if(t){n=n||document;do{if(null!=i&&(">"===i[0]?t.parentNode===n&&M(t,i):M(t,i))||e&&t===n)return t;if(t===n)break}while(t=k(t))}return null}var j,C=/\s+/g;function A(t,i,n){if(t&&i)if(t.classList)t.classList[n?"add":"remove"](i);else{var e=(" "+t.className+" ").replace(C," ").replace(" "+i+" "," ");t.className=(e+(n?" "+i:"")).replace(C," ")}}function D(t,i,n){var e=t&&t.style;if(e){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===i?n:n[i];i in e||-1!==i.indexOf("webkit")||(i="-webkit-"+i),e[i]=n+("string"==typeof n?"":"px")}}function _(t,i){var n="";if("string"==typeof t)n=t;else do{var e=D(t,"transform");e&&"none"!==e&&(n=e+" "+n)}while(!i&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function z(t,i,n){if(t){var e=t.getElementsByTagName(i),o=0,r=e.length;if(n)for(;o<r;o++)n(e[o],o);return e}return[]}function L(){return document.scrollingElement||document.documentElement}function N(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,s,a,u,l,h,c;if(t!==window&&t.parentNode&&t!==L()?(s=(r=t.getBoundingClientRect()).top,a=r.left,u=r.bottom,l=r.right,h=r.height,c=r.width):(s=0,a=0,u=window.innerHeight,l=window.innerWidth,h=window.innerHeight,c=window.innerWidth),(i||n)&&t!==window&&(o=o||t.parentNode,!m))do{if(o&&o.getBoundingClientRect&&("none"!==D(o,"transform")||n&&"static"!==D(o,"position"))){var f=o.getBoundingClientRect();s-=f.top+parseInt(D(o,"border-top-width")),a-=f.left+parseInt(D(o,"border-left-width")),u=s+r.height,l=a+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var d=_(o||t),v=d&&d.a,b=d&&d.d;d&&(u=(s/=b)+(h/=b),l=(a/=v)+(c/=v))}return{top:s,left:a,bottom:u,right:l,width:c,height:h}}}function R(t,i,n){for(var e=G(t,!0),o=N(t)[i];e;){var r=N(e)[n];if(!("top"===n||"left"===n?o>=r:o<=r))return e;if(e===L())break;e=G(e,!1)}return!1}function F(t,i,n,e){for(var o=0,r=0,s=t.children;r<s.length;){if("none"!==s[r].style.display&&s[r]!==Ut.ghost&&(e||s[r]!==Ut.dragged)&&I(s[r],n.draggable,t,!1)){if(o===i)return s[r];o++}r++}return null}function B(t,i){for(var n=t.lastElementChild;n&&(n===Ut.ghost||"none"===D(n,"display")||i&&!M(n,i));)n=n.previousElementSibling;return n||null}function H(t,i){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Ut.clone||i&&!M(t,i)||n++;return n}function P(t){var i=0,n=0,e=L();if(t)do{var o=_(t);i+=t.scrollLeft*o.a,n+=t.scrollTop*o.d}while(t!==e&&(t=t.parentNode));return[i,n]}function G(t,i){if(!t||!t.getBoundingClientRect)return L();var n=t,e=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=D(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return L();if(e||i)return n;e=!0}}}while(n=n.parentNode);return L()}function W(t,i){return Math.round(t.top)===Math.round(i.top)&&Math.round(t.left)===Math.round(i.left)&&Math.round(t.height)===Math.round(i.height)&&Math.round(t.width)===Math.round(i.width)}function K(t,i){return function(){if(!j){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),j=setTimeout((function(){j=void 0}),i)}}}function U(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function X(t){var i=window.Polymer,n=window.jQuery||window.Zepto;return i&&i.dom?i.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function Y(t,i,n){var e={};return Array.from(t.children).forEach((function(o){var r,s,a,u;if(I(o,i.draggable,t,!1)&&!o.animated&&o!==n){var l=N(o);e.left=Math.min(null!==(r=e.left)&&void 0!==r?r:1/0,l.left),e.top=Math.min(null!==(s=e.top)&&void 0!==s?s:1/0,l.top),e.right=Math.max(null!==(a=e.right)&&void 0!==a?a:-1/0,l.right),e.bottom=Math.max(null!==(u=e.bottom)&&void 0!==u?u:-1/0,l.bottom)}})),e.width=e.right-e.left,e.height=e.bottom-e.top,e.x=e.left,e.y=e.top,e}var $="Sortable"+(new Date).getTime();var V=[],Z={initializeByDefault:!0},q={mount:function(t){for(var i in Z)Z.hasOwnProperty(i)&&!(i in t)&&(t[i]=Z[i]);V.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),V.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";V.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](f({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](f({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in V.forEach((function(e){var o=e.pluginName;if(t.options[o]||e.initializeByDefault){var r=new e(t,i,t.options);r.sortable=t,r.options=t.options,t[o]=r,b(n,r.defaults)}})),t.options)if(t.options.hasOwnProperty(e)){var o=this.modifyOption(t,e,t.options[e]);void 0!==o&&(t.options[e]=o)}},getEventProperties:function(t,i){var n={};return V.forEach((function(e){"function"==typeof e.eventProperties&&b(n,e.eventProperties.call(i[e.pluginName],t))})),n},modifyOption:function(t,i,n){var e;return V.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},J=["evt"],Q=function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=n.evt,o=function(t,i){if(null==t)return{};var n,e,o=function(t,i){if(null==t)return{};var n,e,o={},r=Object.keys(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||(o[n]=t[n]);return o}(t,i);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(n,J);q.pluginEvent.bind(Ut)(t,i,f({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:st,cloneEl:at,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Ut.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ct,newIndex:ht,newDraggableIndex:ft,hideGhostForTarget:Pt,unhideGhostForTarget:Gt,cloneNowHidden:function(){ut=!0},cloneNowShown:function(){ut=!1},dispatchSortableEvent:function(t){tt({sortable:i,name:t,originalEvent:e})}},o))};function tt(t){!function(t){var i=t.sortable,n=t.rootEl,e=t.name,o=t.targetEl,r=t.cloneEl,s=t.toEl,a=t.fromEl,u=t.oldIndex,l=t.newIndex,h=t.oldDraggableIndex,c=t.newDraggableIndex,d=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[$]){var g,w=i.options,x="on"+e.charAt(0).toUpperCase()+e.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(e,!0,!0):g=new CustomEvent(e,{bubbles:!0,cancelable:!0}),g.to=s||n,g.from=a||n,g.item=o||n,g.clone=r,g.oldIndex=u,g.newIndex=l,g.oldDraggableIndex=h,g.newDraggableIndex=c,g.originalEvent=d,g.pullMode=v?v.lastPutMode:void 0;var y=f(f({},b),q.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(f({putSortable:vt,cloneEl:at,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ct,newIndex:ht,newDraggableIndex:ft},t))}var it,nt,et,ot,rt,st,at,ut,lt,ht,ct,ft,dt,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,Mt=!1,kt=!1,It=[],jt=!1,Ct=!1,At=[],Dt=!1,_t=[],zt="undefined"!=typeof document,Lt=y,Nt=p||m?"cssFloat":"float",Rt=zt&&!E&&!y&&"draggable"in document.createElement("div"),Ft=function(){if(zt){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Bt=function(t,i){var n=D(t),e=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=F(t,0,i),r=F(t,1,i),s=o&&D(o),a=r&&D(r),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+N(o).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+N(r).width;return"flex"===n.display?"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal":"grid"===n.display?n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":o&&s.float&&"none"!==s.float?!r||"both"!==a.clear&&a.clear!==("left"===s.float?"left":"right")?"horizontal":"vertical":o&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||u>=e&&"none"===n[Nt]||r&&"none"===n[Nt]&&u+l>e)?"vertical":"horizontal"},Ht=function(t){function i(t,n){return function(e,o,r,s){if(null==t&&(n||e.options.group.name&&o.options.group.name&&e.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return i(t(e,o,r,s),n)(e,o,r,s);var a=(n?e:o).options.group.name;return!0===t||"string"==typeof t&&t===a||t.join&&t.indexOf(a)>-1}}var n={},e=t.group;e&&"object"==d(e)||(e={name:e}),n.name=e.name,n.checkPull=i(e.pull,!0),n.checkPut=i(e.put),n.revertClone=e.revertClone,t.group=n},Pt=function(){!Ft&&et&&D(et,"display","none")},Gt=function(){!Ft&&et&&D(et,"display","")};zt&&!E&&document.addEventListener("click",(function(t){if(kt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),kt=!1,!1}),!0);var Wt=function(t){if(it){var i=(o=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,It.some((function(t){var i=t[$].options.emptyInsertThreshold;if(i&&!B(t)){var n=N(t);return o>=n.left-i&&o<=n.right+i&&r>=n.top-i&&r<=n.bottom+i?s=t:void 0}})),s);if(i){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.target=n.rootEl=i,n.preventDefault=void 0,n.stopPropagation=void 0,i[$]._onDragOver(n)}}var o,r,s},Kt=function(t){it&&it.parentNode[$]._isOutsideThisEl(t.target)};function Ut(t,i){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=i=b({},i),t[$]=this;var n,e,o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Bt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,i){t.setData("Text",i.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ut.supportPointer&&"PointerEvent"in window&&!x,emptyInsertThreshold:5};for(var r in q.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var s in Ht(i),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!i.forceFallback&&Rt,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?T(t,"pointerdown",this._onTapStart):(T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),It.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),b(this,(e=[],{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==D(t,"display")&&t!==Ut.ghost){e.push({target:t,rect:N(t)});var i=f({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=_(t,!0);n&&(i.top-=n.f,i.left-=n.e)}t.fromRect=i}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,i){for(var n in t)if(t.hasOwnProperty(n))for(var e in i)if(i.hasOwnProperty(e)&&i[e]===t[n][e])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(t){var i=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof t&&t());var o=!1,r=0;e.forEach((function(t){var n=0,e=t.target,s=e.fromRect,a=N(e),u=e.prevFromRect,l=e.prevToRect,h=t.rect,c=_(e,!0);c&&(a.top-=c.f,a.left-=c.e),e.toRect=a,e.thisAnimationDuration&&W(u,a)&&!W(s,a)&&(h.top-a.top)/(h.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(n=function(t,i,n,e){return Math.sqrt(Math.pow(i.top-t.top,2)+Math.pow(i.left-t.left,2))/Math.sqrt(Math.pow(i.top-n.top,2)+Math.pow(i.left-n.left,2))*e.animation}(h,u,l,i.options)),W(a,s)||(e.prevFromRect=s,e.prevToRect=a,n||(n=i.options.animation),i.animate(e,h,a,n)),n&&(o=!0,r=Math.max(r,n),clearTimeout(e.animationResetTimer),e.animationResetTimer=setTimeout((function(){e.animationTime=0,e.prevFromRect=null,e.fromRect=null,e.prevToRect=null,e.thisAnimationDuration=null}),n),e.thisAnimationDuration=n)})),clearTimeout(n),o?n=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),e=[]},animate:function(t,i,n,e){if(e){D(t,"transition",""),D(t,"transform","");var o=_(this.el),r=(i.left-n.left)/(o&&o.a||1),s=(i.top-n.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!s,D(t,"transform","translate3d("+r+"px,"+s+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),D(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),D(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){D(t,"transition",""),D(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function Xt(t,i,n,e,o,r,s,a){var u,l,h=t[$],c=h.options.onMove;return!window.CustomEvent||m||p?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=i,u.from=t,u.dragged=n,u.draggedRect=e,u.related=o||i,u.relatedRect=r||N(i),u.willInsertAfter=a,u.originalEvent=s,t.dispatchEvent(u),c&&(l=c.call(h,u,s)),l}function Yt(t){t.draggable=!1}function $t(){Dt=!1}function Vt(t){for(var i=t.tagName+t.className+t.src+t.href+t.textContent,n=i.length,e=0;n--;)e+=i.charCodeAt(n);return e.toString(36)}function Zt(t){return setTimeout(t,0)}function qt(t){return clearTimeout(t)}Ut.prototype={constructor:Ut,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Et=null)},_getDirection:function(t,i){return"function"==typeof this.options.direction?this.options.direction.call(this,t,i,it):this.options.direction},_onTapStart:function(t){if(t.cancelable){var i=this,n=this.el,e=this.options,o=e.preventOnFilter,r=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,l=e.filter;if(function(t){_t.length=0;for(var i=t.getElementsByTagName("input"),n=i.length;n--;){var e=i[n];e.checked&&_t.push(e)}}(n),!it&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||e.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!x||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=I(a,e.draggable,n,!1))&&a.animated||st===a)){if(lt=H(a),ct=H(a,e.draggable),"function"==typeof l){if(l.call(this,t,a,this))return tt({sortable:i,rootEl:u,name:"filter",targetEl:a,toEl:n,fromEl:n}),Q("filter",i,{evt:t}),void(o&&t.cancelable&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=I(u,e.trim(),n,!1))return tt({sortable:i,rootEl:e,name:"filter",targetEl:a,fromEl:n,toEl:n}),Q("filter",i,{evt:t}),!0}))))return void(o&&t.cancelable&&t.preventDefault());e.handle&&!I(u,e.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,i,n){var e,o=this,r=o.el,s=o.options,a=r.ownerDocument;if(n&&!it&&n.parentNode===r){var u=N(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,st=n,dt=s.group,Ut.dragged=it,wt=(bt={target:it,clientX:(i||t).clientX,clientY:(i||t).clientY}).clientX-u.left,xt=bt.clientY-u.top,this._lastX=(i||t).clientX,this._lastY=(i||t).clientY,it.style["will-change"]="all",e=function(){Q("delayEnded",o,{evt:t}),Ut.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!w&&o.nativeDraggable&&(it.draggable=!0),o._triggerDragStart(t,i),tt({sortable:o,name:"choose",originalEvent:t}),A(it,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){z(it,t.trim(),Yt)})),T(a,"dragover",Wt),T(a,"mousemove",Wt),T(a,"touchmove",Wt),T(a,"mouseup",o._onDrop),T(a,"touchend",o._onDrop),T(a,"touchcancel",o._onDrop),w&&this.nativeDraggable&&(this.options.touchStartThreshold=4,it.draggable=!0),Q("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!i||this.nativeDraggable&&(p||m))e();else{if(Ut.eventCanceled)return void this._onDrop();T(a,"mouseup",o._disableDelayedDrag),T(a,"touchend",o._disableDelayedDrag),T(a,"touchcancel",o._disableDelayedDrag),T(a,"mousemove",o._delayedDragTouchMoveHandler),T(a,"touchmove",o._delayedDragTouchMoveHandler),s.supportPointer&&T(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var i=t.touches?t.touches[0]:t;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){it&&Yt(it),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,i){i=i||"touch"==t.pointerType&&t,!this.nativeDraggable||i?T(document,this.options.supportPointer?"pointermove":i?"touchmove":"mousemove",this._onTouchMove):(T(it,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?Zt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,i){if(Mt=!1,ot&&it){Q("dragStarted",this,{evt:i}),this.nativeDraggable&&T(document,"dragover",Kt);var n=this.options;!t&&A(it,n.dragClass,!1),A(it,n.ghostClass,!0),Ut.active=this,t&&this._appendGhost(),tt({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(gt){this._lastX=gt.clientX,this._lastY=gt.clientY,Pt();for(var t=document.elementFromPoint(gt.clientX,gt.clientY),i=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(gt.clientX,gt.clientY))!==i;)i=t;if(it.parentNode[$]._isOutsideThisEl(t),i)do{if(i[$]&&i[$]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=k(i));Gt()}},_onTouchMove:function(t){if(bt){var i=this.options,n=i.fallbackTolerance,e=i.fallbackOffset,o=t.touches?t.touches[0]:t,r=et&&_(et,!0),s=et&&r&&r.a,a=et&&r&&r.d,u=Lt&&Ot&&P(Ot),l=(o.clientX-bt.clientX+e.x)/(s||1)+(u?u[0]-At[0]:0)/(s||1),h=(o.clientY-bt.clientY+e.y)/(a||1)+(u?u[1]-At[1]:0)/(a||1);if(!Ut.active&&!Mt){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(et){r?(r.e+=l-(mt||0),r.f+=h-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:h};var c="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(et,"webkitTransform",c),D(et,"mozTransform",c),D(et,"msTransform",c),D(et,"transform",c),mt=l,pt=h,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=N(it,!0,Lt,!0,t),n=this.options;if(Lt){for(Ot=t;"static"===D(Ot,"position")&&"none"===D(Ot,"transform")&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=L()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=L(),At=P(Ot)}A(et=it.cloneNode(!0),n.ghostClass,!1),A(et,n.fallbackClass,!0),A(et,n.dragClass,!0),D(et,"transition",""),D(et,"transform",""),D(et,"box-sizing","border-box"),D(et,"margin",0),D(et,"top",i.top),D(et,"left",i.left),D(et,"width",i.width),D(et,"height",i.height),D(et,"opacity","0.8"),D(et,"position",Lt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Ut.ghost=et,t.appendChild(et),D(et,"transform-origin",wt/parseInt(et.style.width)*100+"% "+xt/parseInt(et.style.height)*100+"%")}},_onDragStart:function(t,i){var n=this,e=t.dataTransfer,o=n.options;Q("dragStart",this,{evt:t}),Ut.eventCanceled?this._onDrop():(Q("setupClone",this),Ut.eventCanceled||((at=X(it)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),A(at,this.options.chosenClass,!1),Ut.clone=at),n.cloneId=Zt((function(){Q("clone",n),Ut.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(at,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&A(it,o.dragClass,!0),i?(kt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(O(document,"mouseup",n._onDrop),O(document,"touchend",n._onDrop),O(document,"touchcancel",n._onDrop),e&&(e.effectAllowed="move",o.setData&&o.setData.call(n,e,it)),T(document,"drop",n),D(it,"transform","translateZ(0)")),Mt=!0,n._dragStartId=Zt(n._dragStarted.bind(n,i,t)),T(document,"selectstart",n),yt=!0,x&&D(document.body,"user-select","none"))},_onDragOver:function(t){var i,n,e,o,r=this.el,s=t.target,a=this.options,u=a.group,l=Ut.active,h=dt===u,c=a.sort,d=vt||l,v=this,b=!1;if(!Dt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=I(s,a.draggable,r,!0),_("dragOver"),Ut.eventCanceled)return b;if(it.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||v._ignoreWhileAnimating===s)return L(!1);if(kt=!1,l&&!a.disabled&&(h?c||(e=nt!==ot):vt===this||(this.lastPutMode=dt.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,s),i=N(it),_("dragOverValid"),Ut.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Ut.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),L(!0);var g=B(r,a.draggable);if(!g||function(t,i,n){var e=N(B(n.el,n.options.draggable)),o=Y(n.el,n.options,et);return i?t.clientX>o.right+10||t.clientY>e.bottom&&t.clientX>e.left:t.clientY>o.bottom+10||t.clientX>e.right&&t.clientY>e.top}(t,o,this)&&!g.animated){if(g===it)return L(!1);if(g&&r===t.target&&(s=g),s&&(n=N(s)),!1!==Xt(ot,r,it,i,s,n,t,!!s))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,P(),L(!0)}else if(g&&function(t,i,n){var e=N(F(n.el,0,n.options,!0)),o=Y(n.el,n.options,et);return i?t.clientX<o.left-10||t.clientY<e.top&&t.clientX<e.right:t.clientY<o.top-10||t.clientY<e.bottom&&t.clientX<e.left}(t,o,this)){var m=F(r,0,a,!0);if(m===it)return L(!1);if(n=N(s=m),!1!==Xt(ot,r,it,i,s,n,t,!1))return z(),r.insertBefore(it,m),nt=r,P(),L(!0)}else if(s.parentNode===r){n=N(s);var p,w,x,y=it.parentNode!==r,E=!function(t,i,n){var e=n?t.left:t.top,o=n?i.left:i.top;return e===o||(n?t.right:t.bottom)===(n?i.right:i.bottom)||e+(n?t.width:t.height)/2===o+(n?i.width:i.height)/2}(it.animated&&it.toRect||i,s.animated&&s.toRect||n,o),S=o?"top":"left",T=R(s,"top","top")||R(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==s&&(w=n[S],jt=!1,Ct=!E&&a.invertSwap||y),p=function(t,i,n,e,o,r,s,a){var u=e?t.clientY:t.clientX,l=e?n.height:n.width,h=e?n.top:n.left,c=e?n.bottom:n.right,f=!1;if(!s)if(a&&Tt<l*o){if(!jt&&(1===St?u>h+l*r/2:u<c-l*r/2)&&(jt=!0),jt)f=!0;else if(1===St?u<h+Tt:u>c-Tt)return-St}else if(u>h+l*(1-o)/2&&u<c-l*(1-o)/2)return function(t){return H(it)<H(t)?1:-1}(i);return(f=f||s)&&(u<h+l*r/2||u>c-l*r/2)?u>h+l/2?1:-1:0}(t,s,n,o,E?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,Ct,Et===s),0!==p){var M=H(it);do{x=nt.children[M-=p]}while(x&&("none"===D(x,"display")||x===et))}if(0===p||x===s)return L(!1);Et=s,St=p;var k=s.nextElementSibling,j=!1,C=Xt(ot,r,it,i,s,n,t,j=1===p);if(!1!==C)return 1!==C&&-1!==C||(j=1===C),Dt=!0,setTimeout($t,30),z(),j&&!k?r.appendChild(it):s.parentNode.insertBefore(it,j?k:s),T&&U(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||Ct||(Tt=Math.abs(w-N(s)[S])),P(),L(!0)}if(r.contains(it))return L(!1)}return!1}function _(a,u){Q(a,v,f({evt:t,isOwner:h,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:c,fromSortable:d,target:s,completed:L,onMove:function(n,e){return Xt(ot,r,it,i,n,N(n),t,e)},changed:P},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==d&&d.captureAnimationState()}function L(i){return _("dragOverCompleted",{insertion:i}),i&&(h?l._hideClone():l._showClone(v),v!==d&&(A(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),A(it,a.ghostClass,!0)),vt!==v&&v!==Ut.active?vt=v:v===Ut.active&&vt&&(vt=null),d===v&&(v._ignoreWhileAnimating=s),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===it&&!it.animated||s===r&&!s.animated)&&(Et=null),a.dragoverBubble||t.rootEl||s===document||(it.parentNode[$]._isOutsideThisEl(t.target),!i&&Wt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function P(){ht=H(it),ft=H(it,a.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ht,newDraggableIndex:ft,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Wt),O(document,"mousemove",Wt),O(document,"touchmove",Wt)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ht=H(it),ft=H(it,n.draggable),Q("drop",this,{evt:t}),nt=it&&it.parentNode,ht=H(it),ft=H(it,n.draggable),Ut.eventCanceled||(Mt=!1,Ct=!1,jt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),qt(this.cloneId),qt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),x&&D(document.body,"user-select",""),D(it,"transform",""),t&&(yt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),et&&et.parentNode&&et.parentNode.removeChild(et),(ot===nt||vt&&"clone"!==vt.lastPutMode)&&at&&at.parentNode&&at.parentNode.removeChild(at),it&&(this.nativeDraggable&&O(it,"dragend",this),Yt(it),it.style["will-change"]="",yt&&!Mt&&A(it,vt?vt.options.ghostClass:this.options.ghostClass,!1),A(it,this.options.chosenClass,!1),tt({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ht>=0&&(tt({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"remove",toEl:nt,originalEvent:t}),tt({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),vt&&vt.save()):ht!==lt&&ht>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Ut.active&&(null!=ht&&-1!==ht||(ht=lt,ft=ct),tt({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Q("nulling",this),ot=it=nt=et=rt=at=st=ut=bt=gt=yt=ht=ft=lt=ct=Et=St=vt=dt=Ut.dragged=Ut.ghost=Ut.clone=Ut.active=null,_t.forEach((function(t){t.checked=!0})),_t.length=mt=pt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":it&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,i=[],n=this.el.children,e=0,o=n.length,r=this.options;e<o;e++)I(t=n[e],r.draggable,this.el,!1)&&i.push(t.getAttribute(r.dataIdAttr)||Vt(t));return i},sort:function(t,i){var n={},e=this.el;this.toArray().forEach((function(t,i){var o=e.children[i];I(o,this.options.draggable,e,!1)&&(n[t]=o)}),this),i&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(e.removeChild(n[t]),e.appendChild(n[t]))})),i&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,i){return I(t,i||this.options.draggable,this.el,!1)},option:function(t,i){var n=this.options;if(void 0===i)return n[t];var e=q.modifyOption(this,t,i);n[t]=void 0!==e?e:i,"group"===t&&Ht(n)},destroy:function(){Q("destroy",this);var t=this.el;t[$]=null,O(t,"mousedown",this._onTapStart),O(t,"touchstart",this._onTapStart),O(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(O(t,"dragover",this),O(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),It.splice(It.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!ut){if(Q("hideClone",this),Ut.eventCanceled)return;D(at,"display","none"),this.options.removeCloneOnHide&&at.parentNode&&at.parentNode.removeChild(at),ut=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(ut){if(Q("showClone",this),Ut.eventCanceled)return;it.parentNode!=ot||this.options.group.revertClone?rt?ot.insertBefore(at,rt):ot.appendChild(at):ot.insertBefore(at,it),this.options.group.revertClone&&this.animate(it,at),D(at,"display",""),ut=!1}}else this._hideClone()}},zt&&T(document,"touchmove",(function(t){(Ut.active||Mt)&&t.cancelable&&t.preventDefault()})),Ut.utils={on:T,off:O,css:D,find:z,is:function(t,i){return!!I(t,i,t,!1)},extend:function(t,i){if(t&&i)for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t},throttle:K,closest:I,toggleClass:A,clone:X,index:H,nextTick:Zt,cancelNextTick:qt,detectDirection:Bt,getChild:F,expando:$},Ut.get=function(t){return t[$]},Ut.mount=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];i[0].constructor===Array&&(i=i[0]),i.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Ut.utils=f(f({},Ut.utils),t.utils)),q.mount(t)}))},Ut.create=function(t,i){return new Ut(t,i)},Ut.version="1.15.3";var Jt,Qt,ti,ii,ni,ei,oi=[],ri=!1;function si(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function ai(){clearInterval(ei)}var ui=K((function(t,i,n,e){if(i.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=i.scrollSensitivity,u=i.scrollSpeed,l=L(),h=!1;Qt!==n&&(Qt=n,si(),o=i.scrollFn,!0===(Jt=i.scroll)&&(Jt=G(n,!0)));var c=0,f=Jt;do{var d=f,v=N(d),b=v.top,g=v.bottom,m=v.left,p=v.right,w=v.width,x=v.height,y=void 0,E=void 0,S=d.scrollWidth,T=d.scrollHeight,O=D(d),M=d.scrollLeft,k=d.scrollTop;d===l?(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=a&&M+w<S)-(Math.abs(m-r)<=a&&!!M),j=E&&(Math.abs(g-s)<=a&&k+x<T)-(Math.abs(b-s)<=a&&!!k);if(!oi[c])for(var C=0;C<=c;C++)oi[C]||(oi[C]={});oi[c].vx==I&&oi[c].vy==j&&oi[c].el===d||(oi[c].el=d,oi[c].vx=I,oi[c].vy=j,clearInterval(oi[c].pid),0==I&&0==j||(h=!0,oi[c].pid=setInterval(function(){e&&0===this.layer&&Ut.active._onTouchMove(ni);var i=oi[this.layer].vy?oi[this.layer].vy*u:0,n=oi[this.layer].vx?oi[this.layer].vx*u:0;"function"==typeof o&&"continue"!==o.call(Ut.dragged.parentNode[$],n,i,t,ni,oi[this.layer].el)||U(oi[this.layer].el,n,i)}.bind({layer:c}),24))),c++}while(i.bubbleScroll&&f!==l&&(f=G(f,!1)));ri=h}}),30),li=function(t){var i=t.originalEvent,n=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(i){var s=n||t.activeSortable;(0,t.hideGhostForTarget)();var a=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,u=document.elementFromPoint(a.clientX,a.clientY);r(),s&&!s.el.contains(u)&&(o("spill"),this.onSpill({dragEl:e,putSortable:n}))}};function hi(){}function ci(){}hi.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var i=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var e=F(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(i,e):this.sortable.el.appendChild(i),this.sortable.animateAll(),n&&n.animateAll()},drop:li},b(hi,{pluginName:"revertOnSpill"}),ci.prototype={onSpill:function(t){var i=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:li},b(ci,{pluginName:"removeOnSpill"}),Ut.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):T(document,this.options.supportPointer?"pointermove":i.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;this.options.dragOverBubble||i.rootEl||this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?O(document,"dragover",this._handleAutoScroll):(O(document,"pointermove",this._handleFallbackAutoScroll),O(document,"touchmove",this._handleFallbackAutoScroll),O(document,"mousemove",this._handleFallbackAutoScroll)),ai(),si(),clearTimeout(j),j=void 0},nulling:function(){ni=Qt=Jt=ri=ei=ti=ii=null,oi.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var n=this,e=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(e,o);if(ni=t,i||this.options.forceAutoScrollFallback||p||m||x){ui(t,this.options,r,i);var s=G(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&ai(),ei=setInterval((function(){var r=G(document.elementFromPoint(e,o),!0);r!==s&&(s=r,si()),ui(t,n.options,r,i)}),10),ti=e,ii=o)}else{if(!this.options.bubbleScroll||G(r,!0)===L())return void si();ui(t,this.options,G(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Ut.mount(ci,hi);const fi=class{constructor(n){t(this,n),this.newTab=i(this,"newTab",7),this.sortChanged=i(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.tabTriggers=void 0,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.sortTarget=void 0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&a(".gux-tablist",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-tablist").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{n?this.focused=i:(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))}))}watchAllowSort(t){t?this.validateSortableInstance():this.destroySortable()}onMutation(){this.setTabTriggers()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);let e;e=n===i.length-1?i[0]:i[n+2],t.insertBefore(this.sortTarget,e),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);t.insertBefore(this.sortTarget,i[n-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.keyboardSort&&this.allowSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled",this.root.querySelector(".gux-tablist").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.initialSortIndex),u((()=>{this.focusTab(this.initialSortIndex)}));break;case"Enter":this.keyboardSort&&(t.preventDefault(),this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.emitSortChanged());break;case"Tab":this.keyboardSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled");break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onKeyup(t){" "===t.key&&a(".gux-tab",t)&&!a(".gux-tab-options-button",t)&&!a("gux-popover-list",t)&&this.allowSort&&(t.preventDefault(),!0===this.keyboardSort?(this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.closest("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.initialSortIndex=i)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((i,n)=>{const e=i.tabId===t;i.guxSetActive(e),e&&(this.focused=n)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{this.focused===i||n||(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))})),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].querySelector(".gux-tab-options-button")&&this.tabTriggers[this.focused].querySelector(".gux-tab-options-button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}setTabTriggers(){this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.triggerIds=this.tabTriggers?Array.from(this.tabTriggers).map((t=>`gux-${t.getAttribute("tab-id")}-tab`)).join(" "):""}createSortable(){this.sortableInstance=new Ut(this.root.querySelector(".gux-tablist"),{animation:250,draggable:"gux-tab-advanced",filter:".ignore-sort",onMove:t=>!t.related.classList.contains("ignore-sort"),onUpdate:()=>{this.emitSortChanged()}})}destroySortable(){this.sortableInstance&&(this.sortableInstance.destroy(),this.sortableInstance=null)}emitSortChanged(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced")).map((t=>t.tabId));this.sortChanged.emit(t)}checkForScrollbarHideOrShow(){n((()=>{const t=this.root.querySelector(".gux-scrollable-section"),i=t.clientWidth<t.scrollWidth;i!==this.hasScrollbar&&(this.hasScrollbar=i)}))}handleKeyboardScroll(t){"forward"===t?this.focused<this.tabTriggers.length-1?(this.hasScrollbar&&this.scrollRight(),this.focusTab(this.focused+1)):(this.hasScrollbar&&this.scrollToStart(),this.focusTab(0)):"backward"===t&&(this.focused>0?(this.hasScrollbar&&this.scrollLeft(),this.focusTab(this.focused-1)):(this.hasScrollbar&&this.scrollToEnd(),this.focusTab(this.tabTriggers.length-1)))}disconnectedCallback(){this.sortableInstance&&this.destroySortable(),this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}async componentWillLoad(){this.setTabTriggers(),this.i18n=await l(this.root,h,"gux-tabs-advanced")}validateSortableInstance(){this.allowSort&&!this.sortableInstance&&this.createSortable()}componentDidLoad(){this.validateSortableInstance(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkForScrollbarHideOrShow()))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver((()=>this.checkForScrollbarHideOrShow()))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),u((()=>{this.checkForScrollbarHideOrShow()}),500)}scrollLeft(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(-(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth),0)}))}scrollRight(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth,0)}))}scrollToStart(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{t.scrollBy(null==t?void 0:t.scrollWidth,0)}))}componentWillRender(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced"));this.disableAddTabButton=t.length>=this.tabLimit}render(){return[this.renderAlert(),o("div",{key:"c640705dbaf87e37c008674156faa8f9d1901da2",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"1710807c9386d7da21fa0b8810ef0d27f74ba542",class:"gux-scrollable-section"},o("div",{key:"b02443f427e9500dcb553465ce4300005adfc273",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"bc389257f0e9a8f088cb56f3a64980e7e02177e2"})),this.renderAddButton()),this.renderScrollButton("scrollRight"))]}renderAlert(){return o("div",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):"")}renderAddButton(){return o("div",null,this.showNewTabButton?o("gux-button-slot",{class:"gux-add-button",accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{"icon-name":"fa/plus-regular","screenreader-text":this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab")})))):null)}renderScrollButton(t){return o("div",null,this.hasScrollbar?o("gux-button-slot",{class:"gux-scroll-button",accent:"ghost"},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{"icon-name":this.getChevronIconName(t),"screenreader-text":this.i18n(t)}))):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"fa/chevron-left-regular";case"scrollRight":return"fa/chevron-right-regular"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,i,n,e){var o,r=arguments.length,s=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,n):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,n,e);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(i,n,s):o(i,n))||s);r>3&&s&&Object.defineProperty(i,n,s)})([s({childList:!0,subtree:!0})],fi.prototype,"onMutation",null),fi.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;width:100%;margin-bottom:16px;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;width:100%;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--gse-ui-advancedTabs-divider-dividerColor);scroll-behavior:smooth}.gux-tab-container .gux-scrollable-section::-webkit-scrollbar{height:0}.gux-tab-container .gux-scrollable-section .gux-tablist{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{fi as gux_tab_advanced_list}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as n,g as a}from"./p-
|
1
|
+
import{r as e,h as n,g as a}from"./p-53ec575f.js";import{t}from"./p-e79ff8f4.js";import{O as i}from"./p-c5847c69.js";import{h as o}from"./p-6d8b4027.js";const r=class{constructor(n){e(this,n),this.hasCallToAction=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action")}render(){return n("div",{key:"254441873ee0abf26d07d86c0ff8d5088e20af3e",class:"gux-container"},n("div",{key:"20407d4a5b30eb1eaf708fca4e2ff88c42b675ad",class:"gux-image"},n("slot",{key:"c4cf1bf58136803b63dd1a5b84a4b2be0fc54f03",name:"image"})),n("div",{key:"eff3d73f052dc07a3102b0b135d2109cc39c7d6d",class:"gux-message"},n("slot",{key:"75dc59294d001562307f4cbd9989fdbb34acfe3f",name:"primary-message"})),n("div",{key:"c886609987a4837739b4de66b8300b107909328f",class:"gux-guidance"},n("slot",{key:"a797a544aba20ad2d3c123d9c746f3a004dff711",name:"additional-guidance"})),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,r=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,n,a,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(r=(o<3?i(r):o>3?i(n,a,r):i(n,a))||r);o>3&&r&&Object.defineProperty(n,a,r)})([i({childList:!0,subtree:!0})],r.prototype,"onMutation",null),r.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n background-color: var(--gse-ui-blankState-backgroundColor);\n border-radius: var(--gse-ui-blankState-borderRadius);\n}\n.gux-container .gux-image {\n padding-bottom: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-bottom: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-bottom: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-lg);\n height: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-sm);\n height: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{r as gux_blank_state}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>t.set(n.t=e,n),l=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},d=e=>Promise.resolve(e),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,m=[],v=[],y=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&f.o?b($):f.raf($))},w=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},$=()=>{w(m),w(v),(p=m.length>0)&&f.raf($)},b=e=>d().then(e),g=y(m,!1),k=y(v,!0),S=e=>{const t=new URL(e,f.l);return t.origin!==u.location.origin?t.href:t.pathname},j={},O=e=>"object"==(e=typeof e)||"function"===e;function E(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>M,map:()=>R,ok:()=>C,unwrap:()=>L,unwrapErr:()=>U});var C=e=>({isOk:!0,isErr:!1,value:e}),M=e=>({isOk:!1,isErr:!0,value:e});function R(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>C(e))):C(n)}if(e.isErr)return M(e.value);throw"should never get here"}var x,P,T,L=e=>{if(e.isOk)return e.value;throw e.value},U=e=>{if(e.isErr)return e.value;throw e.value},A=(e,t,...n)=>{let o=null,l=null,s=null,r=!1,i=!1;const c=[],u=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!O(o))&&(o+=""),r&&i?c[c.length-1].i+=o:c.push(r?D(null,o):o),i=r)};if(u(n),t){t.key&&(l=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,N);const a=D(e,null);return a.u=t,c.length>0&&(a.h=c),a.p=l,a.m=s,a},D=(e,t)=>({o:0,v:e,i:t,$:null,h:null,u:null,p:null,m:null}),F={},N={forEach:(e,t)=>e.map(W).forEach(t),map:(e,t)=>e.map(W).map(t).map(H)},W=e=>({vattrs:e.u,vchildren:e.h,vkey:e.p,vname:e.m,vtag:e.v,vtext:e.i}),H=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),A(e.vtag,t,...e.vchildren||[])}const t=D(e.vtag,e.vtext);return t.u=e.vattrs,t.h=e.vchildren,t.p=e.vkey,t.m=e.vname,t},q=e=>n(e).$hostElement$,G=(e,t,n)=>{const o=q(e);return{emit:e=>V(o,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},V=(e,t,n)=>{const o=f.ce(t,n);return e.dispatchEvent(o),o},_=new WeakMap,z=e=>"sc-"+e.k,B=(e,t,n,o,s,r)=>{if(n!==o){let i=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=J(n),s=J(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(i||"o"!==t[0]||"n"!==t[1]){const l=O(o);if((i||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const l=null==o?"":o;"list"===t?i=!1:null!=n&&e[t]==l||(e[t]=l)}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&r||s)&&!l&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):l(u,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(K);t=t.replace(Q,""),n&&f.rel(e,t,n,l),o&&f.ael(e,t,o,l)}}},I=/\s/,J=e=>e?e.split(I):[],K="Capture",Q=RegExp(K+"$"),X=(e,t,n)=>{const o=11===t.$.nodeType&&t.$.host?t.$.host:t.$,l=e&&e.u||j,s=t.u||j;for(const e of Y(Object.keys(l)))e in s||B(o,e,l[e],void 0,n,t.o);for(const e of Y(Object.keys(s)))B(o,e,l[e],s[e],n,t.o)};function Y(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var Z=!1,ee=!1,te=!1,ne=!1,oe=(e,t,n,o)=>{var l;const s=t.h[n];let r,i,c,u=0;if(Z||(te=!0,"slot"===s.v&&(x&&o.classList.add(x+"-s"),s.o|=s.h?2:1)),null!==s.i)r=s.$=a.createTextNode(s.i);else if(1&s.o)r=s.$=a.createTextNode("");else{if(ne||(ne="svg"===s.v),r=s.$=a.createElementNS(ne?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Z&&2&s.o?"slot-fb":s.v),ne&&"foreignObject"===s.v&&(ne=!1),X(null,s,ne),null!=x&&r["s-si"]!==x&&r.classList.add(r["s-si"]=x),s.h)for(u=0;u<s.h.length;++u)i=oe(e,s,u,r),i&&r.appendChild(i);"svg"===s.v?ne=!1:"foreignObject"===r.tagName&&(ne=!0)}return r["s-hn"]=T,3&s.o&&(r["s-sr"]=!0,r["s-cr"]=P,r["s-sn"]=s.m||"",r["s-rf"]=null==(l=s.u)?void 0:l.ref,c=e&&e.h&&e.h[n],c&&c.v===s.v&&e.$&&le(e.$,!1)),r},le=(e,t)=>{f.o|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==T&&o["s-ol"]&&(ve(ue(o),o,ce(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,te=!0),t&&le(o,t)}f.o&=-2},se=(e,t,n,o,l,s)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===T&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=oe(null,n,l,e),r&&(o[l].$=r,ve(i,r,ce(t))))},re=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.$;me(t),e&&(ee=!0,e["s-ol"]?e["s-ol"].remove():le(e,!0),e.remove())}}},ie=(e,t,n=!1)=>e.v===t.v&&("slot"===e.v?e.m===t.m:!!n||e.p===t.p),ce=e=>e&&e["s-ol"]||e,ue=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ae=(e,t,n=!1)=>{const o=t.$=e.$,l=e.h,s=t.h,r=t.v,i=t.i;let c;null===i?(ne="svg"===r||"foreignObject"!==r&&ne,("slot"!==r||Z)&&X(e,t,ne),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,d=t[0],h=t[f],p=o.length-1,m=o[0],v=o[p];for(;i<=f&&c<=p;)if(null==d)d=t[++i];else if(null==h)h=t[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(ie(d,m,l))ae(d,m,l),d=t[++i],m=o[++c];else if(ie(h,v,l))ae(h,v,l),h=t[--f],v=o[--p];else if(ie(d,v,l))"slot"!==d.v&&"slot"!==v.v||le(d.$.parentNode,!1),ae(d,v,l),ve(e,d.$,h.$.nextSibling),d=t[++i],v=o[--p];else if(ie(h,m,l))"slot"!==d.v&&"slot"!==v.v||le(h.$.parentNode,!1),ae(h,m,l),ve(e,h.$,d.$),h=t[--f],m=o[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(r=t[u],r.v!==m.v?s=oe(t&&t[c],n,u,e):(ae(r,m,l),t[u]=void 0,s=r.$),m=o[++c]):(s=oe(t&&t[c],n,c,e),m=o[++c]),s&&ve(ue(d.$),s,ce(d.$))}i>f?se(e,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&re(t,i,f)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),se(o,null,t,s,0,s.length-1)):null!==l&&re(l,0,l.length-1),ne&&"svg"===r&&(ne=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:e.i!==i&&(o.data=i)},fe=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const o of t)if(o!==e)if(o["s-hn"]!==e["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){e.hidden=!0;break}}else if(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim()){e.hidden=!0;break}}fe(e)}},de=[],he=e=>{let t,n,o;for(const l of e.childNodes){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=l["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==l["s-hn"])if(pe(t,e)){let n=de.find((e=>e.S===t));ee=!0,t["s-sn"]=t["s-sn"]||e,n?(n.S["s-sh"]=l["s-hn"],n.j=l):(t["s-sh"]=l["s-hn"],de.push({j:l,S:t})),t["s-sr"]&&de.map((e=>{pe(e.S,t["s-sn"])&&(n=de.find((e=>e.S===t)),n&&!e.j&&(e.j=n.j))}))}else de.some((e=>e.S===t))||de.push({S:t})}1===l.nodeType&&he(l)}},pe=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,me=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(me)},ve=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ye=(e,t)=>{t&&!e.O&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.O=t)))},we=(e,t)=>{if(e.o|=16,!(4&e.o))return ye(e,e.C),k((()=>$e(e,t)));e.o|=512},$e=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return t&&(e.o|=256,e.M&&(e.M.map((([e,t])=>Ce(n,e,t))),e.M=void 0),o=Ce(n,"componentWillLoad")),o=be(o,(()=>Ce(n,"componentWillRender"))),be(o,(()=>ke(e,n,t)))},be=(e,t)=>ge(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ge=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ke=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.R,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=z(t),l=i.get(o);if(e=11===e.nodeType?e:a,l)if("string"==typeof l){let s,r=_.get(e=e.head||e);if(r||_.set(e,r=new Set),!r.has(o)){{s=a.createElement("style"),s.innerHTML=l;const t=null!=(n=f.P)?n:E(a);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.o&&(s.innerHTML+=c),r&&r.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);Se(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>je(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},Se=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{var o,l,s,r;const i=e.$hostElement$,c=e.R,u=e.T||D(null,null),d=(e=>e&&e.v===F)(t)?t:A(null,null,t);if(T=i.tagName,c.L&&(d.u=d.u||{},c.L.map((([e,t])=>d.u[t]=i[e]))),n&&d.u)for(const e of Object.keys(d.u))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.u[e]=i[e]);if(d.v=null,d.o|=4,e.T=d,d.$=u.$=i.shadowRoot||i,x=i["s-sc"],Z=!!(1&c.o),P=i["s-cr"],ee=!1,ae(u,d,n),f.o|=1,te){he(d.$);for(const e of de){const t=e.S;if(!t["s-ol"]){const e=a.createTextNode("");e["s-nr"]=t,ve(t.parentNode,t["s-ol"]=e,t)}}for(const e of de){const t=e.S,i=e.j;if(i){const e=i.parentNode;let n=i.nextSibling;{let s=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),ve(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}ee&&fe(d.$),f.o&=-2,de.length=0,P=void 0})(e,t,o)}catch(t){s(t,e.$hostElement$)}return null},je=e=>{const t=e.$hostElement$,n=e.t,o=e.C;Ce(n,"componentDidRender"),64&e.o?Ce(n,"componentDidUpdate"):(e.o|=64,Me(t),Ce(n,"componentDidLoad"),e.U(t),o||Ee()),e.A(t),e.O&&(e.O(),e.O=void 0),512&e.o&&b((()=>we(e,!1))),e.o&=-517},Oe=e=>{{const t=n(e),o=t.$hostElement$.isConnected;return o&&2==(18&t.o)&&we(t,!1),o}},Ee=()=>{Me(a.documentElement),b((()=>V(u,"appload",{detail:{namespace:"genesys-webcomponents"}})))},Ce=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},Me=e=>e.setAttribute("hydrated",""),Re=(e,t,o)=>{var l,r;const i=e.prototype;if(t.D||t.F||e.watchers){e.watchers&&!t.F&&(t.F=e.watchers);const c=Object.entries(null!=(l=t.D)?l:{});if(c.map((([e,[l]])=>{31&l||2&o&&32&l?Object.defineProperty(i,e,{get(){return((e,t)=>n(this).N.get(t))(0,e)},set(o){((e,t,o,l)=>{const r=n(e);if(!r)throw Error(`Couldn't find host element for "${l.k}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.N.get(t),u=r.o,a=r.t;if(o=((e,t)=>null==e||O(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(o,l.D[t][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(r.N.set(t,o),a)){if(l.F&&128&u){const e=l.F[t];e&&e.map((e=>{try{a[e](o,c,t)}catch(e){s(e,i)}}))}2==(18&u)&&we(r,!1)}})(this,e,o,t)},configurable:!0,enumerable:!0}):1&o&&64&l&&Object.defineProperty(i,e,{value(...t){var o;const l=n(this);return null==(o=null==l?void 0:l.W)?void 0:o.then((()=>{var n;return null==(n=l.t)?void 0:n[e](...t)}))}})})),1&o){const o=new Map;i.attributeChangedCallback=function(e,l,s){f.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=t.F)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.F)?r:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var l;const s=n[1]||e;return o.set(s,e),512&n[0]&&(null==(l=t.L)||l.push([e,s])),s}))]))}}return e},xe=e=>{Ce(e,"connectedCallback")},Pe=e=>{Ce(e,"disconnectedCallback")},Te=(e,o={})=>{var l;const d=[],p=o.exclude||[],m=u.customElements,v=a.head,y=v.querySelector("meta[charset]"),w=a.createElement("style"),$=[];let b,g=!0;Object.assign(f,o),f.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let k=!1;if(e.map((e=>{e[1].map((o=>{var l;const c={o:o[0],k:o[1],D:o[2],H:o[3]};4&c.o&&(k=!0),c.D=o[2],c.H=o[3],c.L=[],c.F=null!=(l=o[4])?l:{};const u=c.k,v=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,R:n,N:new Map};o.W=new Promise((e=>o.A=e)),o.q=new Promise((e=>o.U=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,c),1&c.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.k}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open",delegatesFocus:!!(16&c.o)})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Le(this,e,c.H)),b&&(clearTimeout(b),b=null),g?$.push(this):f.jmp((()=>(e=>{if(!(1&f.o)){const t=n(e),o=t.R,l=()=>{};if(1&t.o)Le(e,t,o.H),(null==t?void 0:t.t)?xe(t.t):(null==t?void 0:t.q)&&t.q.then((()=>xe(t.t)));else{t.o|=1,12&o.o&&(e=>{const t=e["s-cr"]=a.createComment("");t["s-cn"]=!0,ve(e,t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ye(t,t.C=n);break}}o.D&&Object.entries(o.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.G){const e=(e=>{const t=e.k.replace(/-/g,"_"),n=e.G;if(!n)return;const o=r.get(n);return o?o[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),s)
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};o=await e,t()}else o=e;if(!o)throw Error(`Constructor for "${n.k}#${t.V}" was not found`);o.isProxied||(n.F=o.watchers,Re(o,n,2),o.isProxied=!0);const l=()=>{};t.o|=8;try{new o(t)}catch(e){s(e)}t.o&=-9,t.o|=128,l(),xe(t.t)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=z(n);if(!i.has(t)){const o=()=>{};((e,t,n)=>{let o=i.get(e);h&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,i.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.C,c=()=>we(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.o)){const e=n(this);e._&&(e._.map((e=>e())),e._=void 0),(null==e?void 0:e.t)?Pe(e.t):(null==e?void 0:e.q)&&e.q.then((()=>Pe(e.t)))}})()))}componentOnReady(){return n(this).q}};c.G=e[0],p.includes(u)||m.get(u)||(d.push(u),m.define(u,Re(v,c,1)))}))})),d.length>0&&(k&&(w.textContent+=c),w.textContent+=d.sort()+"{visibility:hidden}[hydrated]{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const e=null!=(l=f.P)?l:E(a);null!=e&&w.setAttribute("nonce",e),v.insertBefore(w,y?y.nextSibling:v.firstChild)}g=!1,$.length?$.map((e=>e.connectedCallback())):f.jmp((()=>b=setTimeout(Ee,30)))},Le=(e,t,n)=>{n&&n.map((([n,o,l])=>{const s=Ae(e,n),r=Ue(t,l),i=De(n);f.ael(s,o,r,i),(t._=t._||[]).push((()=>f.rel(s,o,r,i)))}))},Ue=(e,t)=>n=>{var o;try{256&e.o?null==(o=e.t)||o[t](n):(e.M=e.M||[]).push([t,n])}catch(e){s(e)}},Ae=(e,t)=>8&t?u:e,De=e=>({passive:!!(1&e),capture:!!(2&e)}),Fe=e=>f.P=e;export{F as H,S as a,Te as b,G as c,g as d,Oe as f,q as g,A as h,d as p,o as r,Fe as s,k as w}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as o,H as e,g as n}from"./p-
|
1
|
+
import{r as t,h as o,H as e,g as n}from"./p-53ec575f.js";import{t as r}from"./p-e79ff8f4.js";import{l as a}from"./p-8eaf8caf.js";const i=class{constructor(o){t(this,o),this.accent="secondary",this.iconOnly=void 0}validateSlotContent(){let t=this.root.children[0],o=t.tagName;if("SLOT"===o&&(t=t.assignedNodes()[0],o=t.tagName),"BUTTON"!==o){if("INPUT"===o){const o=t.getAttribute("type");if("button"===o||"submit"===o)return}a(this.root,'You must slot a button, input[type="button"] or input[type="submit"] element.')}}componentWillLoad(){r(this.root),this.validateSlotContent()}render(){return o(e,{key:"97327f6adb2afbf3f3964ac7088fe5144252f852",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"38f6916560f245944646846aa9e9e2cf78a9fb1e"}))}get root(){return n(this)}};i.style=":host{display:inline-block;pointer-events:none}::slotted(input[type=button]),::slotted(input[type=submit]),::slotted(button){font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-icon-only-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;color:var(--gse-ui-button-secondary-default-foregroundColor);text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}:host([icon-only]) ::slotted(input[type=button]),:host([icon-only]) ::slotted(input[type=submit]),:host([icon-only]) ::slotted(button){padding:var(--gse-ui-button-default-paddingIconOnly)}::slotted(input[type=button][disabled]),::slotted(input[type=submit][disabled]),::slotted(button[disabled]){cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}::slotted(input[type=button]:focus),::slotted(input[type=submit]:focus),::slotted(button:focus){outline:none}::slotted(input[type=button]:focus-visible:enabled),::slotted(input[type=submit]:focus-visible:enabled),::slotted(button:focus-visible:enabled){outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}::slotted(input[type=button]:hover:enabled),::slotted(input[type=submit]:hover:enabled),::slotted(button:hover:enabled){color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}::slotted(input[type=button]:active:enabled),::slotted(input[type=submit]:active:enabled),::slotted(button:active:enabled){color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]),:host([accent=primary]) ::slotted(input[type=submit]),:host([accent=primary]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:hover:enabled),:host([accent=primary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=primary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:active:enabled),:host([accent=primary]) ::slotted(input[type=submit]:active:enabled),:host([accent=primary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]),:host([accent=tertiary]) ::slotted(input[type=submit]),:host([accent=tertiary]) ::slotted(button){color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}:host([accent=tertiary]) ::slotted(input[type=button]:hover:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=tertiary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]:active:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:active:enabled),:host([accent=tertiary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]),:host([accent=ghost]) ::slotted(input[type=submit]),:host([accent=ghost]) ::slotted(button){color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:hover:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:hover:enabled),:host([accent=ghost]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:active:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:active:enabled),:host([accent=ghost]) ::slotted(button:active:enabled){color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]),:host([accent=danger]) ::slotted(input[type=submit]),:host([accent=danger]) ::slotted(button){color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:hover:enabled),:host([accent=danger]) ::slotted(input[type=submit]:hover:enabled),:host([accent=danger]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:active:enabled),:host([accent=danger]) ::slotted(input[type=submit]:active:enabled),:host([accent=danger]) ::slotted(button:active:enabled){color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}:host([accent=inline]){min-inline-size:initial}:host([accent=inline]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){block-size:initial;padding:0;color:var(--gse-ui-link-default-foregroundColor);background:none;border:none}:host([accent=inline]) ::slotted(input[type=button][disabled]),:host([accent=inline]) ::slotted(input[type=submit][disabled]),:host([accent=inline]) ::slotted(button[disabled]){color:var(--gse-ui-link-disabled-foregroundColor)}:host([accent=inline]) ::slotted(input[type=button]:hover:enabled),:host([accent=inline]) ::slotted(input[type=submit]:hover:enabled),:host([accent=inline]) ::slotted(button:hover:enabled){color:var(--gse-ui-link-hover-foregroundColor);text-decoration:underline;background:none}:host([accent=inline]) ::slotted(input[type=button]:active:enabled),:host([accent=inline]) ::slotted(input[type=submit]:active:enabled),:host([accent=inline]) ::slotted(button:active:enabled){color:var(--gse-ui-link-active-foregroundColor);text-decoration:underline;background:none}";export{i as gux_button_slot}
|