genesys-spark-components 4.164.4 → 4.166.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 +2 -2
- package/dist/cjs/{get-valid-timezone-Es3HP6Gl.js → get-valid-timezone-BiIuSzib.js} +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +6 -6
- package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
- package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
- package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
- package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-badge.cjs.entry.js +5 -5
- 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_2.cjs.entry.js +7 -7
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
- 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 +4 -4
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +9 -9
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +8 -8
- package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +5 -5
- 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-DccJ6PJ5.js → gux-form-field-container-jH9AONLV.js} +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
- package/dist/cjs/{gux-form-field-error-DYXMrayt.js → gux-form-field-error-C9nXlEsu.js} +1 -1
- package/dist/cjs/{gux-form-field-fieldset-container-DSOZnRk3.js → gux-form-field-fieldset-container-ByiTDN4Q.js} +1 -1
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +14 -14
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-range.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-search.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-select.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
- package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +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-inline-dropdown-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
- package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-modal.cjs.entry.js +3 -3
- package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-list.cjs.entry.js +5 -5
- package/dist/cjs/gux-popup.cjs.entry.js +4 -4
- package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +72 -0
- 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-rich-highlight-list-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +9 -9
- package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +7 -7
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-row-select.cjs.entry.js +4 -4
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-select-all.cjs.entry.js +4 -4
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +3 -3
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
- package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-step-title.cjs.entry.js +3 -3
- package/dist/cjs/gux-step.cjs.entry.js +5 -5
- package/dist/cjs/gux-stepper-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
- package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
- package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
- package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
- package/dist/cjs/gux-table.cjs.entry.js +4 -4
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
- package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
- package/dist/cjs/gux-tag.cjs.entry.js +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 +5 -5
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-toast.cjs.entry.js +4 -4
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
- package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +9 -9
- package/dist/cjs/{index-C-67VReE.js → index-BObNldbR.js} +1 -1
- package/dist/cjs/index-DGPyMRSk.js +2703 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{on-click-outside-B0quTFZb.js → on-click-outside-CISV2TFC.js} +1 -1
- package/dist/cjs/{on-mutation-DSf0pEx0.js → on-mutation-BKdd0QK5.js} +1 -1
- package/dist/cjs/{on-resize-CnhIR5tq.js → on-resize-CvymNApz.js} +1 -1
- package/dist/cjs/{usage-BTfJjJaB.js → usage-LCX9tH2I.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.css +88 -0
- package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.js +126 -0
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +2 -2
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.js +2 -2
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.js +3 -3
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +1 -1
- package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
- package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
- package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
- package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
- package/dist/collection/components/beta/gux-status-indicator/gux-status-indicator.js +1 -1
- package/dist/collection/components/beta/gux-stepper/gux-step/gux-step-title/gux-step-title.js +1 -1
- package/dist/collection/components/beta/gux-stepper/gux-step/gux-step.js +3 -3
- package/dist/collection/components/beta/gux-stepper/gux-stepper.js +2 -2
- package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
- package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
- package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
- package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
- package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
- package/dist/collection/components/beta/gux-tooltip-pointer-beta/gux-tooltip-pointer.js +1 -1
- package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +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 +2 -2
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
- 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 +4 -4
- 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-file-beta/components/gux-file-list-item/gux-file-list-item.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/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-listbox-multi/gux-select-all/gux-select-all.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 +4 -4
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
- 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 +2 -2
- package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +2 -2
- 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-tooltip-title/tests/gux-tooltip-title.common.js +10 -0
- package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
- package/dist/collection/test/playwrightTestUtils.js +67 -1
- package/dist/esm/genesys-webcomponents.js +3 -3
- package/dist/esm/{get-valid-timezone-BiLLtea3.js → get-valid-timezone-qC4hONRK.js} +1 -1
- package/dist/esm/gux-accordion-section.entry.js +6 -6
- package/dist/esm/gux-accordion.entry.js +3 -3
- package/dist/esm/gux-action-button.entry.js +5 -5
- package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
- package/dist/esm/gux-all-row-select.entry.js +3 -3
- package/dist/esm/gux-announce-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-beta.entry.js +3 -3
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
- package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
- package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
- package/dist/esm/gux-badge.entry.js +5 -5
- 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_2.entry.js +7 -7
- package/dist/esm/gux-calendar-beta.entry.js +2 -2
- package/dist/esm/gux-calendar.entry.js +4 -4
- 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 +4 -4
- package/dist/esm/gux-date-time-beta.entry.js +4 -4
- package/dist/esm/gux-datepicker.entry.js +5 -5
- package/dist/esm/gux-day-beta.entry.js +2 -2
- package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
- package/dist/esm/gux-dismiss-button.entry.js +5 -5
- package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi.entry.js +9 -9
- package/dist/esm/gux-dropdown-option.entry.js +2 -2
- package/dist/esm/gux-dropdown_3.entry.js +8 -8
- package/dist/esm/gux-file-list-item.entry.js +5 -5
- package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
- package/dist/esm/gux-flyout-menu.entry.js +5 -5
- 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-CD6rOwr5.js → gux-form-field-container-DA4A7BXk.js} +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
- package/dist/esm/{gux-form-field-error-BIj48Ud-.js → gux-form-field-error-CkpGx_D3.js} +1 -1
- package/dist/esm/{gux-form-field-fieldset-container-BijrJ7kF.js → gux-form-field-fieldset-container-CmkMAJFA.js} +1 -1
- package/dist/esm/gux-form-field-file-beta.entry.js +7 -7
- package/dist/esm/gux-form-field-file.entry.js +6 -6
- package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
- package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
- package/dist/esm/gux-form-field-number_2.entry.js +14 -14
- package/dist/esm/gux-form-field-phone.entry.js +10 -10
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
- package/dist/esm/gux-form-field-radio.entry.js +6 -6
- package/dist/esm/gux-form-field-range.entry.js +8 -8
- package/dist/esm/gux-form-field-search.entry.js +8 -8
- package/dist/esm/gux-form-field-select.entry.js +8 -8
- package/dist/esm/gux-form-field-text-like.entry.js +8 -8
- package/dist/esm/gux-form-field-textarea.entry.js +7 -7
- package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
- package/dist/esm/gux-form-fieldset-heading.entry.js +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-inline-dropdown-beta.entry.js +5 -5
- package/dist/esm/gux-label-info-beta.entry.js +2 -2
- package/dist/esm/gux-link-beta.entry.js +2 -2
- package/dist/esm/gux-list-divider.entry.js +2 -2
- package/dist/esm/gux-list-item.entry.js +2 -2
- package/dist/esm/gux-list.entry.js +3 -3
- package/dist/esm/gux-listbox-multi.entry.js +4 -4
- package/dist/esm/gux-loading-message.entry.js +3 -3
- package/dist/esm/gux-menu-option.entry.js +2 -2
- package/dist/esm/gux-menu.entry.js +2 -2
- package/dist/esm/gux-modal-legacy.entry.js +4 -4
- package/dist/esm/gux-modal-side-panel-beta.entry.js +3 -3
- package/dist/esm/gux-modal.entry.js +3 -3
- package/dist/esm/gux-month-calendar.entry.js +2 -2
- package/dist/esm/gux-month-list_2.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +4 -4
- package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-option-group-beta.entry.js +2 -2
- package/dist/esm/gux-option-icon.entry.js +3 -3
- package/dist/esm/gux-option-multi.entry.js +4 -4
- package/dist/esm/gux-option-status-beta.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
- package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
- package/dist/esm/gux-pagination-cursor.entry.js +3 -3
- package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
- package/dist/esm/gux-pagination-legacy.entry.js +3 -3
- package/dist/esm/gux-pagination.entry.js +3 -3
- package/dist/esm/gux-phone-input-beta.entry.js +4 -4
- package/dist/esm/gux-popover-beta.entry.js +3 -3
- package/dist/esm/gux-popover-list-beta.entry.js +3 -3
- package/dist/esm/gux-popover-list.entry.js +5 -5
- package/dist/esm/gux-popup.entry.js +4 -4
- package/dist/esm/gux-prompt-input-beta.entry.js +70 -0
- 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-rich-highlight-list-item.entry.js +5 -5
- package/dist/esm/gux-rich-style-list-item_3.entry.js +9 -9
- package/dist/esm/gux-rich-text-editor-action-group.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-beta.entry.js +7 -7
- package/dist/esm/gux-rich-text-editor-list.entry.js +3 -3
- package/dist/esm/gux-row-select.entry.js +4 -4
- package/dist/esm/gux-screen-reader-beta.entry.js +3 -3
- package/dist/esm/gux-segmented-control-beta.entry.js +3 -3
- package/dist/esm/gux-segmented-control-item.entry.js +5 -5
- package/dist/esm/gux-select-all.entry.js +4 -4
- package/dist/esm/gux-selector-card-beta.entry.js +4 -4
- package/dist/esm/gux-selector-cards-beta.entry.js +3 -3
- package/dist/esm/gux-side-panel-beta.entry.js +4 -4
- package/dist/esm/gux-side-panel-heading.entry.js +3 -3
- package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
- package/dist/esm/gux-sort-control.entry.js +5 -5
- package/dist/esm/gux-status-indicator-beta.entry.js +3 -3
- package/dist/esm/gux-step-title.entry.js +3 -3
- package/dist/esm/gux-step.entry.js +5 -5
- package/dist/esm/gux-stepper-beta.entry.js +4 -4
- package/dist/esm/gux-submenu.entry.js +4 -4
- package/dist/esm/gux-switch-item.entry.js +2 -2
- package/dist/esm/gux-switch-legacy.entry.js +3 -3
- package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
- package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
- package/dist/esm/gux-tab-advanced.entry.js +4 -4
- package/dist/esm/gux-tab-list.entry.js +5 -5
- package/dist/esm/gux-tab-panel.entry.js +2 -2
- package/dist/esm/gux-tab.entry.js +3 -3
- package/dist/esm/gux-table-select-menu.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
- package/dist/esm/gux-table-toolbar.entry.js +6 -6
- package/dist/esm/gux-table.entry.js +4 -4
- package/dist/esm/gux-tabs-advanced.entry.js +3 -3
- package/dist/esm/gux-tabs.entry.js +3 -3
- package/dist/esm/gux-tag.entry.js +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 +5 -5
- package/dist/esm/gux-time-zone-beta.entry.js +4 -4
- package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
- package/dist/esm/gux-toast.entry.js +4 -4
- package/dist/esm/gux-toggle-slider.entry.js +3 -3
- package/dist/esm/gux-toggle.entry.js +5 -5
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +5 -5
- package/dist/esm/gux-tooltip-pointer-beta.entry.js +3 -3
- package/dist/esm/gux-tooltip-title.entry.js +5 -5
- package/dist/esm/gux-tooltip_2.entry.js +9 -9
- package/dist/esm/index-SFVKQR8_.js +2671 -0
- package/dist/esm/{index-BKz1U0mT.js → index-lZz6lM8w.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{on-click-outside-D91y48dm.js → on-click-outside-BghgM6g1.js} +1 -1
- package/dist/esm/{on-mutation-DLktF44C.js → on-mutation-C-GKYwWq.js} +1 -1
- package/dist/esm/{on-resize-q40uZwTY.js → on-resize-GzxQrjuJ.js} +1 -1
- package/dist/esm/{usage-B5myH8ux.js → usage-Drnfst3y.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.css +3 -3
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
- package/dist/genesys-webcomponents/{p-4b584238.entry.js → p-01207d4b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-adee9909.entry.js → p-013852a2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-02b257ec.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0cb73042.entry.js → p-0358f31e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2d6605e3.entry.js → p-0376e00a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb45f5a9.entry.js → p-038e1833.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2a0d6f46.entry.js → p-03fb85ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-041df01f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3fb48a05.entry.js → p-0595e722.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0710dec1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-093fd982.entry.js → p-0a3fe7b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-be6f30cf.entry.js → p-0ac5ee6d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-13df5abd.entry.js → p-0b707194.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0fd28414.entry.js → p-0c11a8fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8c5e26bd.entry.js → p-0d43ed0f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6569c96d.entry.js → p-0d7cf9ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e32ffa2f.entry.js → p-0df4d3c8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ebf72485.entry.js → p-0f69c106.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-165f9d43.entry.js → p-138719d6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c543cdd8.entry.js → p-1478a968.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-16018d06.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-57039430.entry.js → p-176278cb.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1b014be3.entry.js +1 -0
- package/dist/genesys-webcomponents/p-1cb4b67d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3742ba1e.entry.js → p-1d4add93.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5f403e95.entry.js → p-22698937.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-167ba207.entry.js → p-226a2ae1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2422c292.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-cebf2f8e.entry.js → p-24ac0780.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-25fa6d34.entry.js +1 -0
- package/dist/genesys-webcomponents/p-26c47269.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2272a52b.entry.js → p-274efed1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dd02f4d3.entry.js → p-29cdf44a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2f6358e9.entry.js → p-29e9af3f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0407464e.entry.js → p-2f256dc3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8d6a3fe7.entry.js → p-2ff8de90.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d78c29a9.entry.js → p-32308a55.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c7d6ebdb.entry.js → p-3580edd3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f495eb4.entry.js → p-37cf7b9a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2a473c25.entry.js → p-3a3dcbe7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f65673ee.entry.js → p-3e1a160e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2c9a1d5f.entry.js → p-3e787ae3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75be1d14.entry.js → p-3ed2b1b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4093f209.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c18ff9b1.entry.js → p-40a29c6c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ecda1b36.entry.js → p-42680ea7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4337efda.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2c5de911.entry.js → p-44741d6f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ba81249b.entry.js → p-4bcbe5cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f27d4dff.entry.js → p-4ca78637.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4cc39a8a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-903d99a8.entry.js → p-4e4bd8de.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-67d3284a.entry.js → p-5074381a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c802602b.entry.js → p-529938bb.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-52fae6a7.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-99a96eaa.entry.js → p-54dcb5de.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bc946c89.entry.js → p-55d83859.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1668c917.entry.js → p-581f51fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-62d09e9e.entry.js → p-59d6bc49.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-114a8d8e.entry.js → p-5d3a1701.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5d46b215.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b2a17504.entry.js → p-610680e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-57e1a0fc.entry.js → p-61f82f46.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e9a5f00b.entry.js → p-6426d449.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-661b0091.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-672ca12c.entry.js → p-678c6d8a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e9473491.entry.js → p-68ed5b05.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-69eaebf4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-315c9f0f.entry.js → p-6ee92a3e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-70d64075.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-32832451.entry.js → p-72dd02cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bc39eece.entry.js → p-73cd71b3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7012a381.entry.js → p-7552ebf1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-76567cef.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1b9972df.entry.js → p-76dd5aec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e9d73c8f.entry.js → p-7a38ce41.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d1638775.entry.js → p-8194181a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e74d7e3f.entry.js → p-81edf9f5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-df37f70a.entry.js → p-847e94eb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-588d0156.entry.js → p-87a6990e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8adf57e8.entry.js +1 -0
- package/dist/genesys-webcomponents/p-8c909695.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-dec066f2.entry.js → p-8dcd8535.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9eeac751.entry.js → p-8e58c30c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4fd54f1c.entry.js → p-8e95140e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8cc5c6a3.entry.js → p-8ede07f4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-916018c4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8676e61d.entry.js → p-91d6c54c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e2284eb9.entry.js → p-92d35ab2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-344de7ae.entry.js → p-9490098d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-95378b13.entry.js +1 -0
- package/dist/genesys-webcomponents/p-989df29f.entry.js +1 -0
- package/dist/genesys-webcomponents/p-98ac6653.entry.js +1 -0
- package/dist/genesys-webcomponents/p-9d98d0cb.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-98c7228b.entry.js → p-9e6c9654.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6482d8f6.entry.js → p-9edbe6e3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-DLNEQWDo.js → p-C7-BhPWq.js} +1 -1
- package/dist/genesys-webcomponents/{p-BUqaLk9I.js → p-CCiTbuB6.js} +1 -1
- package/dist/genesys-webcomponents/{p-DLypR_tG.js → p-Cv5xZJRG.js} +1 -1
- package/dist/genesys-webcomponents/{p-mcU44SnJ.js → p-CzRQ7PhU.js} +1 -1
- package/dist/genesys-webcomponents/{p-Dfw630HY.js → p-D7MMwxM2.js} +1 -1
- package/dist/genesys-webcomponents/{p-9Zon5zUS.js → p-D7Sv07Vr.js} +1 -1
- package/dist/genesys-webcomponents/{p-DC-mSIqV.js → p-DAm7J30h.js} +1 -1
- package/dist/genesys-webcomponents/{p-5WX1-x8e.js → p-DZ8OX8Ca.js} +1 -1
- package/dist/genesys-webcomponents/{p-B5myH8ux.js → p-Drnfst3y.js} +1 -1
- package/dist/genesys-webcomponents/p-SFVKQR8_.js +2 -0
- package/dist/genesys-webcomponents/{p-57956301.entry.js → p-a0a0c59a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bf48165b.entry.js → p-a3d01de2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6281fd6a.entry.js → p-a77d4a84.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7d0e0706.entry.js → p-a7a162f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1b35cb82.entry.js → p-a827c9cf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-38f3e646.entry.js → p-a95fb7ae.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a60ad9d5.entry.js → p-aa4d43e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-aae04ea4.entry.js +1 -0
- package/dist/genesys-webcomponents/p-ab345776.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-099d08f2.entry.js → p-ac577663.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-af334948.entry.js +1 -0
- package/dist/genesys-webcomponents/p-afa9de13.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c3034da3.entry.js → p-aff1c237.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-19002a0a.entry.js → p-b46a8ce1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b51ea2ea.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fc225f96.entry.js → p-b61a304c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b65b997a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-481c30be.entry.js → p-b7f5d61b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8d2f263c.entry.js → p-b7f6bbb8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b811dd4e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-683becf8.entry.js → p-b8412440.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8900ac34.entry.js → p-b8902a30.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b9a4ca03.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-eaa45d59.entry.js → p-bc3bf318.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bcd194af.entry.js +1 -0
- package/dist/genesys-webcomponents/p-c256ac02.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6cb8650e.entry.js → p-c3eee09c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6835bfc2.entry.js → p-c7625ce2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8a230c7e.entry.js → p-c98baebf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3261b3cc.entry.js → p-cbfcda49.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ccb07f4e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ea7c2700.entry.js → p-ce63b292.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a793aec5.entry.js → p-ce7143db.entry.js} +2 -2
- package/dist/genesys-webcomponents/{p-8e0d43fc.entry.js → p-cf7efaf7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d1fb2d7e.entry.js → p-d3c46bcb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-acff1ff6.entry.js → p-d5547e2a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d80ee275.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ff07d4a6.entry.js → p-d88833b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-acbcf812.entry.js → p-db067a6c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-68a0a8b5.entry.js → p-db712b7a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9924eaef.entry.js → p-ddc6ba79.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3f7b50c8.entry.js → p-ddf2e495.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e940942.entry.js → p-de0ac4c2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0d3353e8.entry.js → p-dedfe410.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-68d8e053.entry.js → p-e16f9119.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4ea70b24.entry.js → p-e1c19c3b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-df79b651.entry.js → p-e2676fd6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3f865a60.entry.js → p-e340ab0f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d0f04100.entry.js → p-e485d697.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24f7377c.entry.js → p-e5609362.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bd6cec10.entry.js → p-e575dc2a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e6260e01.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4ef62760.entry.js → p-e781dd7c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e804c26c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e19df391.entry.js → p-e86a013d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-042f5763.entry.js → p-ea17c416.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f67d4526.entry.js → p-ea75108c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ea898462.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-79744464.entry.js → p-eaddbfe9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6ed57ae5.entry.js → p-ec900b67.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e55f5856.entry.js → p-ee2aa6b5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f149cf66.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e1aeb67b.entry.js → p-f33ebc72.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0b8a5680.entry.js → p-f36cb81d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-07c9f89e.entry.js → p-f859f372.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-08cb7ba2.entry.js → p-fc97c8e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7f1a7bb4.entry.js → p-fe0703ac.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-prompt-input/gux-prompt-input-beta.d.ts +27 -0
- package/dist/types/components/stable/gux-tooltip-title/tests/gux-tooltip-title.common.d.ts +4 -0
- package/dist/types/components.d.ts +40 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-DZE_PIE4.js +0 -2699
- package/dist/esm/index-BfVNunZv.js +0 -2667
- package/dist/genesys-webcomponents/p-034e7f56.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0686a7d8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1cd2ac05.entry.js +0 -1
- package/dist/genesys-webcomponents/p-22747ac0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-249f0f5d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-270f7fb0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-29d8b7ca.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2a671b97.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2d7f840b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2ea205bb.entry.js +0 -1
- package/dist/genesys-webcomponents/p-32921b8c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-34606be0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-47a93761.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4b73f050.entry.js +0 -1
- package/dist/genesys-webcomponents/p-55d17c34.entry.js +0 -1
- package/dist/genesys-webcomponents/p-56765773.entry.js +0 -1
- package/dist/genesys-webcomponents/p-57c13ce0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5991954e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5ec2f440.entry.js +0 -1
- package/dist/genesys-webcomponents/p-67d1c9e5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-792f6ec0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8081c0c5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8639024f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9182733f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9a3fe2c4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9be48549.entry.js +0 -1
- package/dist/genesys-webcomponents/p-BfVNunZv.js +0 -2
- package/dist/genesys-webcomponents/p-a0ce19d0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a813283e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a9c0973c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c866f507.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d0754bde.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d07c31c9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d23604e7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d4b95535.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e4cd3d5e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e5c19fc8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-eadd271a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f0fc35da.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f5708880.entry.js +0 -1
- package/dist/genesys-webcomponents/p-facb4d14.entry.js +0 -1
@@ -1,7 +1,7 @@
|
|
1
|
-
import{r as t,c as i,d as n,w as e,h as o,a as r}from"./p-
|
1
|
+
import{r as t,c as i,d as n,w as e,h as o,a as r}from"./p-SFVKQR8_.js";import{O as a}from"./p-CCiTbuB6.js";import{e as s}from"./p-C6ZfOd6U.js";import{a as u}from"./p-Bg4q97BS.js";import{b as l}from"./p-D7Sv07Vr.js";import{t as c}from"./p-DFTYqKJS.js";import"./p-Cd4R0amv.js";
|
2
2
|
/**!
|
3
3
|
* Sortable 1.15.6
|
4
4
|
* @author RubaXa <trash@rubaxa.org>
|
5
5
|
* @author owenm <owen23355@gmail.com>
|
6
6
|
* @license MIT
|
7
|
-
*/function h(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 d(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?h(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function f(t){return f="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},f(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 k(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 M(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&&k(t,i):k(t,i))||e&&t===n)return t;if(t===n)break}while(t=M(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 R(){return document.scrollingElement||document.documentElement}function L(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,a,s,u,l,c,h;if(t!==window&&t.parentNode&&t!==R()?(a=(r=t.getBoundingClientRect()).top,s=r.left,u=r.bottom,l=r.right,c=r.height,h=r.width):(a=0,s=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,h=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 d=o.getBoundingClientRect();a-=d.top+parseInt(D(o,"border-top-width")),s-=d.left+parseInt(D(o,"border-left-width")),u=a+r.height,l=s+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var f=_(o||t),v=f&&f.a,b=f&&f.d;f&&(u=(a/=b)+(c/=b),l=(s/=v)+(h/=v))}return{top:a,left:s,bottom:u,right:l,width:h,height:c}}}function N(t,i,n){for(var e=U(t,!0),o=L(t)[i];e;){if(!(o>=L(e)[n]))return e;if(e===R())break;e=U(e,!1)}return!1}function B(t,i,n,e){for(var o=0,r=0,a=t.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==Wt.ghost&&(e||a[r]!==Wt.dragged)&&I(a[r],n.draggable,t,!1)){if(o===i)return a[r];o++}r++}return null}function F(t,i){for(var n=t.lastElementChild;n&&(n===Wt.ghost||"none"===D(n,"display")||i&&!k(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===Wt.clone||i&&!k(t,i)||n++;return n}function P(t){var i=0,n=0,e=R();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 U(t,i){if(!t||!t.getBoundingClientRect)return R();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 R();if(e||i)return n;e=!0}}}while(n=n.parentNode);return R()}function G(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 W(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function Z(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 q(t,i,n){var e={};return Array.from(t.children).forEach((function(o){var r,a,s,u;if(I(o,i.draggable,t,!1)&&!o.animated&&o!==n){var l=L(o);e.left=Math.min(null!==(r=e.left)&&void 0!==r?r:1/0,l.left),e.top=Math.min(null!==(a=e.top)&&void 0!==a?a:1/0,l.top),e.right=Math.max(null!==(s=e.right)&&void 0!==s?s:-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 Y="Sortable"+(new Date).getTime();var V=[],X={initializeByDefault:!0},$={mount:function(t){for(var i in X)X.hasOwnProperty(i)&&!(i in t)&&(t[i]=X[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](d({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](d({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);$.pluginEvent.bind(Wt)(t,i,d({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:at,cloneEl:st,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Wt.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt,hideGhostForTarget:Pt,unhideGhostForTarget:Ut,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,a=t.toEl,s=t.fromEl,u=t.oldIndex,l=t.newIndex,c=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[Y]){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=a||n,g.from=s||n,g.item=o||n,g.clone=r,g.oldIndex=u,g.newIndex=l,g.oldDraggableIndex=c,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=v?v.lastPutMode:void 0;var y=d(d({},b),$.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(d({putSortable:vt,cloneEl:st,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt},t))}var it,nt,et,ot,rt,at,st,ut,lt,ct,ht,dt,ft,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,kt=!1,Mt=!1,It=[],jt=!1,Ct=!1,At=[],Dt=!1,_t=[],zt="undefined"!=typeof document,Rt=y,Lt=p||m?"cssFloat":"float",Nt=zt&&!E&&!y&&"draggable"in document.createElement("div"),Bt=function(){if(zt){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Ft=function(t,i){var n=D(t),e=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=B(t,0,i),r=B(t,1,i),a=o&&D(o),s=r&&D(r),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+L(o).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(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&&a.float&&"none"!==a.float?!r||"both"!==s.clear&&s.clear!==("left"===a.float?"left":"right")?"horizontal":"vertical":o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||u>=e&&"none"===n[Lt]||r&&"none"===n[Lt]&&u+l>e)?"vertical":"horizontal"},Ht=function(t){function i(t,n){return function(e,o,r,a){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,a),n)(e,o,r,a);var s=(n?e:o).options.group.name;return!0===t||"string"==typeof t&&t===s||t.join&&t.indexOf(s)>-1}}var n={},e=t.group;e&&"object"==f(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(){!Bt&&et&&D(et,"display","none")},Ut=function(){!Bt&&et&&D(et,"display","")};zt&&!E&&document.addEventListener("click",(function(t){if(Mt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Mt=!1,!1}),!0);var Gt=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[Y].options.emptyInsertThreshold;if(i&&!F(t)){var n=L(t);return o>=n.left-i&&o<=n.right+i&&r>=n.top-i&&r<=n.bottom+i?a=t:void 0}})),a);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[Y]._onDragOver(n)}}var o,r,a},Kt=function(t){it&&it.parentNode[Y]._isOutsideThisEl(t.target)};function Wt(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[Y]=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 Ft(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!==Wt.supportPointer&&"PointerEvent"in window&&(!x||y),emptyInsertThreshold:5};for(var r in $.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var a in Ht(i),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!i.forceFallback&&Nt,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!==Wt.ghost){e.push({target:t,rect:L(t)});var i=d({},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,a=e.fromRect,s=L(e),u=e.prevFromRect,l=e.prevToRect,c=t.rect,h=_(e,!0);h&&(s.top-=h.f,s.left-=h.e),e.toRect=s,e.thisAnimationDuration&&G(u,s)&&!G(a,s)&&(c.top-s.top)/(c.left-s.left)==(a.top-s.top)/(a.left-s.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}(c,u,l,i.options)),G(s,a)||(e.prevFromRect=a,e.prevToRect=s,n||(n=i.options.animation),i.animate(e,c,s,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),a=(i.top-n.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!a,D(t,"transform","translate3d("+r+"px,"+a+"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 Zt(t,i,n,e,o,r,a,s){var u,l,c=t[Y],h=c.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||L(i),u.willInsertAfter=s,u.originalEvent=a,t.dispatchEvent(u),h&&(l=h.call(c,u,a)),l}function qt(t){t.draggable=!1}function Yt(){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 Xt(t){return setTimeout(t,0)}function $t(t){return clearTimeout(t)}Wt.prototype={constructor:Wt,_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,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,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||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=I(s,e.draggable,n,!1))&&s.animated||at===s)){if(lt=H(s),ht=H(s,e.draggable),"function"==typeof l){if(l.call(this,t,s,this))return tt({sortable:i,rootEl:u,name:"filter",targetEl:s,toEl:n,fromEl:n}),Q("filter",i,{evt:t}),void(o&&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:s,fromEl:n,toEl:n}),Q("filter",i,{evt:t}),!0}))))return void(o&&t.preventDefault());e.handle&&!I(u,e.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,i,n){var e,o=this,r=o.el,a=o.options,s=r.ownerDocument;if(n&&!it&&n.parentNode===r){var u=L(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,at=n,ft=a.group,Wt.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}),Wt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!w&&o.nativeDraggable&&(it.draggable=!0),o._triggerDragStart(t,i),tt({sortable:o,name:"choose",originalEvent:t}),A(it,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){z(it,t.trim(),qt)})),T(s,"dragover",Gt),T(s,"mousemove",Gt),T(s,"touchmove",Gt),a.supportPointer?(T(s,"pointerup",o._onDrop),!this.nativeDraggable&&T(s,"pointercancel",o._onDrop)):(T(s,"mouseup",o._onDrop),T(s,"touchend",o._onDrop),T(s,"touchcancel",o._onDrop)),w&&this.nativeDraggable&&(this.options.touchStartThreshold=4,it.draggable=!0),Q("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!i||this.nativeDraggable&&(p||m))e();else{if(Wt.eventCanceled)return void this._onDrop();a.supportPointer?(T(s,"pointerup",o._disableDelayedDrag),T(s,"pointercancel",o._disableDelayedDrag)):(T(s,"mouseup",o._disableDelayedDrag),T(s,"touchend",o._disableDelayedDrag),T(s,"touchcancel",o._disableDelayedDrag)),T(s,"mousemove",o._delayedDragTouchMoveHandler),T(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&T(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,a.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&&qt(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,"pointerup",this._disableDelayedDrag),O(t,"pointercancel",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?Xt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,i){if(kt=!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),Wt.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[Y]._isOutsideThisEl(t),i)do{if(i[Y]&&i[Y]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=M(i));Ut()}},_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),a=et&&r&&r.a,s=et&&r&&r.d,u=Rt&&Ot&&P(Ot),l=(o.clientX-bt.clientX+e.x)/(a||1)+(u?u[0]-At[0]:0)/(a||1),c=(o.clientY-bt.clientY+e.y)/(s||1)+(u?u[1]-At[1]:0)/(s||1);if(!Wt.active&&!kt){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+=c-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(et,"webkitTransform",h),D(et,"mozTransform",h),D(et,"msTransform",h),D(et,"transform",h),mt=l,pt=c,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=L(it,!0,Rt,!0,t),n=this.options;if(Rt){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=R()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=R(),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",Rt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Wt.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}),Wt.eventCanceled?this._onDrop():(Q("setupClone",this),Wt.eventCanceled||((st=Z(it)).removeAttribute("id"),st.draggable=!1,st.style["will-change"]="",this._hideClone(),A(st,this.options.chosenClass,!1),Wt.clone=st),n.cloneId=Xt((function(){Q("clone",n),Wt.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(st,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&A(it,o.dragClass,!0),i?(Mt=!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)")),kt=!0,n._dragStartId=Xt(n._dragStarted.bind(n,i,t)),T(document,"selectstart",n),yt=!0,window.getSelection().removeAllRanges(),x&&D(document.body,"user-select","none"))},_onDragOver:function(t){var i,n,e,o,r=this.el,a=t.target,s=this.options,u=s.group,l=Wt.active,c=ft===u,h=s.sort,f=vt||l,v=this,b=!1;if(!Dt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=I(a,s.draggable,r,!0),_("dragOver"),Wt.eventCanceled)return b;if(it.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||v._ignoreWhileAnimating===a)return R(!1);if(Mt=!1,l&&!s.disabled&&(c?h||(e=nt!==ot):vt===this||(this.lastPutMode=ft.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,a),i=L(it),_("dragOverValid"),Wt.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Wt.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),R(!0);var g=F(r,s.draggable);if(!g||function(t,i,n){var e=L(F(n.el,n.options.draggable)),o=q(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 R(!1);if(g&&r===t.target&&(a=g),a&&(n=L(a)),!1!==Zt(ot,r,it,i,a,n,t,!!a))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,P(),R(!0)}else if(g&&function(t,i,n){var e=L(B(n.el,0,n.options,!0)),o=q(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=B(r,0,s,!0);if(m===it)return R(!1);if(n=L(a=m),!1!==Zt(ot,r,it,i,a,n,t,!1))return z(),r.insertBefore(it,m),nt=r,P(),R(!0)}else if(a.parentNode===r){n=L(a);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,a.animated&&a.toRect||n,o),S=o?"top":"left",T=N(a,"top","top")||N(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==a&&(w=n[S],jt=!1,Ct=!E&&s.invertSwap||y),p=function(t,i,n,e,o,r,a,s){var u=e?t.clientY:t.clientX,l=e?n.height:n.width,c=e?n.top:n.left,h=e?n.bottom:n.right,d=!1;if(!a)if(s&&Tt<l*o){if(!jt&&(1===St?u>c+l*r/2:u<h-l*r/2)&&(jt=!0),jt)d=!0;else if(1===St?u<c+Tt:u>h-Tt)return-St}else if(u>c+l*(1-o)/2&&u<h-l*(1-o)/2)return function(t){return H(it)<H(t)?1:-1}(i);return(d=d||a)&&(u<c+l*r/2||u>h-l*r/2)?u>c+l/2?1:-1:0}(t,a,n,o,E?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,Ct,Et===a),0!==p){var k=H(it);do{x=nt.children[k-=p]}while(x&&("none"===D(x,"display")||x===et))}if(0===p||x===a)return R(!1);Et=a,St=p;var M=a.nextElementSibling,j=!1,C=Zt(ot,r,it,i,a,n,t,j=1===p);if(!1!==C)return 1!==C&&-1!==C||(j=1===C),Dt=!0,setTimeout(Yt,30),z(),j&&!M?r.appendChild(it):a.parentNode.insertBefore(it,j?M:a),T&&W(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||Ct||(Tt=Math.abs(w-L(a)[S])),P(),R(!0)}if(r.contains(it))return R(!1)}return!1}function _(s,u){Q(s,v,d({evt:t,isOwner:c,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:h,fromSortable:f,target:a,completed:R,onMove:function(n,e){return Zt(ot,r,it,i,n,L(n),t,e)},changed:P},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==f&&f.captureAnimationState()}function R(i){return _("dragOverCompleted",{insertion:i}),i&&(c?l._hideClone():l._showClone(v),v!==f&&(A(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),A(it,s.ghostClass,!0)),vt!==v&&v!==Wt.active?vt=v:v===Wt.active&&vt&&(vt=null),f===v&&(v._ignoreWhileAnimating=a),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===it&&!it.animated||a===r&&!a.animated)&&(Et=null),s.dragoverBubble||t.rootEl||a===document||(it.parentNode[Y]._isOutsideThisEl(t.target),!i&&Gt(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function P(){ct=H(it),dt=H(it,s.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ct,newDraggableIndex:dt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Gt),O(document,"mousemove",Gt),O(document,"touchmove",Gt)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"pointercancel",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ct=H(it),dt=H(it,n.draggable),Q("drop",this,{evt:t}),nt=it&&it.parentNode,ct=H(it),dt=H(it,n.draggable),Wt.eventCanceled||(kt=!1,Ct=!1,jt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),$t(this.cloneId),$t(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)&&st&&st.parentNode&&st.parentNode.removeChild(st),it&&(this.nativeDraggable&&O(it,"dragend",this),qt(it),it.style["will-change"]="",yt&&!kt&&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?(ct>=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()):ct!==lt&&ct>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Wt.active&&(null!=ct&&-1!==ct||(ct=lt,dt=ht),tt({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Q("nulling",this),ot=it=nt=et=rt=st=at=ut=bt=gt=yt=ct=dt=lt=ht=Et=St=vt=ft=Wt.dragged=Wt.ghost=Wt.clone=Wt.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=$.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[Y]=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),Wt.eventCanceled)return;D(st,"display","none"),this.options.removeCloneOnHide&&st.parentNode&&st.parentNode.removeChild(st),ut=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(ut){if(Q("showClone",this),Wt.eventCanceled)return;it.parentNode!=ot||this.options.group.revertClone?rt?ot.insertBefore(st,rt):ot.appendChild(st):ot.insertBefore(st,it),this.options.group.revertClone&&this.animate(it,st),D(st,"display",""),ut=!1}}else this._hideClone()}},zt&&T(document,"touchmove",(function(t){(Wt.active||kt)&&t.cancelable&&t.preventDefault()})),Wt.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:Z,index:H,nextTick:Xt,cancelNextTick:$t,detectDirection:Ft,getChild:B,expando:Y},Wt.get=function(t){return t[Y]},Wt.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&&(Wt.utils=d(d({},Wt.utils),t.utils)),$.mount(t)}))},Wt.create=function(t,i){return new Wt(t,i)},Wt.version="1.15.6";var Jt,Qt,ti,ii,ni,ei,oi=[],ri=!1;function ai(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function si(){clearInterval(ei)}var ui=K((function(t,i,n,e){if(i.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=i.scrollSensitivity,u=i.scrollSpeed,l=R(),c=!1;Qt!==n&&(Qt=n,ai(),o=i.scrollFn,!0===(Jt=i.scroll)&&(Jt=U(n,!0)));var h=0,d=Jt;do{var f=d,v=L(f),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=f.scrollWidth,T=f.scrollHeight,O=D(f),k=f.scrollLeft,M=f.scrollTop;f===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)<=s&&k+w<S)-(Math.abs(m-r)<=s&&!!k),j=E&&(Math.abs(g-a)<=s&&M+x<T)-(Math.abs(b-a)<=s&&!!M);if(!oi[h])for(var C=0;C<=h;C++)oi[C]||(oi[C]={});oi[h].vx==I&&oi[h].vy==j&&oi[h].el===f||(oi[h].el=f,oi[h].vx=I,oi[h].vy=j,clearInterval(oi[h].pid),0==I&&0==j||(c=!0,oi[h].pid=setInterval(function(){e&&0===this.layer&&Wt.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(Wt.dragged.parentNode[Y],n,i,t,ni,oi[this.layer].el)||W(oi[this.layer].el,n,i)}.bind({layer:h}),24))),h++}while(i.bubbleScroll&&d!==l&&(d=U(d,!1)));ri=c}}),30),li=function(t){var i=t.originalEvent,n=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(i){var a=n||t.activeSortable;(0,t.hideGhostForTarget)();var s=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,u=document.elementFromPoint(s.clientX,s.clientY);r(),a&&!a.el.contains(u)&&(o("spill"),this.onSpill({dragEl:e,putSortable:n}))}};function ci(){}function hi(){}ci.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=B(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(ci,{pluginName:"revertOnSpill"}),hi.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(hi,{pluginName:"removeOnSpill"}),Wt.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)),si(),ai(),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 a=U(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&si(),ei=setInterval((function(){var r=U(document.elementFromPoint(e,o),!0);r!==a&&(a=r,ai()),ui(t,n.options,r,i)}),10),ti=e,ii=o)}else{if(!this.options.bubbleScroll||U(r,!0)===R())return void ai();ui(t,this.options,U(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Wt.mount(hi,ci);const di=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.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&s(".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&&!s(".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 s(".gux-tab-options-button",t)||s(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!s(".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 s(".gux-tab-options-button",t)||s(".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&&s(".gux-tab",t)&&!s(".gux-tab-options-button",t)&&!s("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 Wt(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,c,"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:"d0c3f70ad039adfcac2ad15de4376f80cd5a9d11",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"610f0c7ba34a9d2edb01e48fb9993d19fcbef660",class:"gux-scrollable-section"},o("div",{key:"1d5a6f13564d797e330eba2083d17c4ed54b27ff",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"aa6504b723f537e58ca56422fa4aabba6cab0123"}))),this.renderScrollButton("scrollRight"),this.renderAddButton())]}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",{accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{size:"small","icon-name":"fa/plus-regular",decorative:!0}),o("gux-screen-reader-beta",null,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","icon-only":!0},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{size:"small","icon-name":this.getChevronIconName(t),decorative:!0}),o("gux-screen-reader-beta",null,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,a=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,n):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,e);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(i,n,a):o(i,n))||a);r>3&&a&&Object.defineProperty(i,n,a)})([a({childList:!0,subtree:!0})],di.prototype,"onMutation",null),di.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-tab-container [slot=add-tab]{display:flex;align-items:center;justify-content:center}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;border-block-end:var(--gse-ui-advancedTabs-item-divider-border-width) var(--gse-ui-advancedTabs-item-divider-border-style) var(--gse-ui-advancedTabs-item-divider-border-color);scroll-behavior:smooth}.gux-tab-container .gux-scrollable-section::-webkit-scrollbar{block-size: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{di as gux_tab_advanced_list}
|
7
|
+
*/function h(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 d(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?h(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function f(t){return f="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},f(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 k(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 M(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&&k(t,i):k(t,i))||e&&t===n)return t;if(t===n)break}while(t=M(t))}return null}var C,j=/\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(j," ").replace(" "+i+" "," ");t.className=(e+(n?" "+i:"")).replace(j," ")}}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 R(){return document.scrollingElement||document.documentElement}function F(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,a,s,u,l,c,h;if(t!==window&&t.parentNode&&t!==R()?(a=(r=t.getBoundingClientRect()).top,s=r.left,u=r.bottom,l=r.right,c=r.height,h=r.width):(a=0,s=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,h=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 d=o.getBoundingClientRect();a-=d.top+parseInt(D(o,"border-top-width")),s-=d.left+parseInt(D(o,"border-left-width")),u=a+r.height,l=s+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var f=_(o||t),v=f&&f.a,b=f&&f.d;f&&(u=(a/=b)+(c/=b),l=(s/=v)+(h/=v))}return{top:a,left:s,bottom:u,right:l,width:h,height:c}}}function L(t,i,n){for(var e=K(t,!0),o=F(t)[i];e;){if(!(o>=F(e)[n]))return e;if(e===R())break;e=K(e,!1)}return!1}function N(t,i,n,e){for(var o=0,r=0,a=t.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==Wt.ghost&&(e||a[r]!==Wt.dragged)&&I(a[r],n.draggable,t,!1)){if(o===i)return a[r];o++}r++}return null}function B(t,i){for(var n=t.lastElementChild;n&&(n===Wt.ghost||"none"===D(n,"display")||i&&!k(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===Wt.clone||i&&!k(t,i)||n++;return n}function P(t){var i=0,n=0,e=R();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 K(t,i){if(!t||!t.getBoundingClientRect)return R();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 R();if(e||i)return n;e=!0}}}while(n=n.parentNode);return R()}function G(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 U(t,i){return function(){if(!C){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),C=setTimeout((function(){C=void 0}),i)}}}function W(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function V(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,a,s,u;if(I(o,i.draggable,t,!1)&&!o.animated&&o!==n){var l=F(o);e.left=Math.min(null!==(r=e.left)&&void 0!==r?r:1/0,l.left),e.top=Math.min(null!==(a=e.top)&&void 0!==a?a:1/0,l.top),e.right=Math.max(null!==(s=e.right)&&void 0!==s?s:-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 q="Sortable"+(new Date).getTime();var X=[],Z={initializeByDefault:!0},$={mount:function(t){for(var i in Z)Z.hasOwnProperty(i)&&!(i in t)&&(t[i]=Z[i]);X.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),X.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";X.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](d({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](d({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in X.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 X.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 X.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);$.pluginEvent.bind(Wt)(t,i,d({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:at,cloneEl:st,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Wt.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt,hideGhostForTarget:Pt,unhideGhostForTarget:Kt,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,a=t.toEl,s=t.fromEl,u=t.oldIndex,l=t.newIndex,c=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[q]){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=a||n,g.from=s||n,g.item=o||n,g.clone=r,g.oldIndex=u,g.newIndex=l,g.oldDraggableIndex=c,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=v?v.lastPutMode:void 0;var y=d(d({},b),$.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(d({putSortable:vt,cloneEl:st,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt},t))}var it,nt,et,ot,rt,at,st,ut,lt,ct,ht,dt,ft,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,kt=!1,Mt=!1,It=[],Ct=!1,jt=!1,At=[],Dt=!1,_t=[],zt="undefined"!=typeof document,Rt=y,Ft=p||m?"cssFloat":"float",Lt=zt&&!E&&!y&&"draggable"in document.createElement("div"),Nt=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=N(t,0,i),r=N(t,1,i),a=o&&D(o),s=r&&D(r),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+F(o).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+F(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&&a.float&&"none"!==a.float?!r||"both"!==s.clear&&s.clear!==("left"===a.float?"left":"right")?"horizontal":"vertical":o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||u>=e&&"none"===n[Ft]||r&&"none"===n[Ft]&&u+l>e)?"vertical":"horizontal"},Ht=function(t){function i(t,n){return function(e,o,r,a){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,a),n)(e,o,r,a);var s=(n?e:o).options.group.name;return!0===t||"string"==typeof t&&t===s||t.join&&t.indexOf(s)>-1}}var n={},e=t.group;e&&"object"==f(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(){!Nt&&et&&D(et,"display","none")},Kt=function(){!Nt&&et&&D(et,"display","")};zt&&!E&&document.addEventListener("click",(function(t){if(Mt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Mt=!1,!1}),!0);var Gt=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[q].options.emptyInsertThreshold;if(i&&!B(t)){var n=F(t);return o>=n.left-i&&o<=n.right+i&&r>=n.top-i&&r<=n.bottom+i?a=t:void 0}})),a);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[q]._onDragOver(n)}}var o,r,a},Ut=function(t){it&&it.parentNode[q]._isOutsideThisEl(t.target)};function Wt(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[q]=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!==Wt.supportPointer&&"PointerEvent"in window&&(!x||y),emptyInsertThreshold:5};for(var r in $.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var a in Ht(i),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!i.forceFallback&&Lt,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!==Wt.ghost){e.push({target:t,rect:F(t)});var i=d({},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,a=e.fromRect,s=F(e),u=e.prevFromRect,l=e.prevToRect,c=t.rect,h=_(e,!0);h&&(s.top-=h.f,s.left-=h.e),e.toRect=s,e.thisAnimationDuration&&G(u,s)&&!G(a,s)&&(c.top-s.top)/(c.left-s.left)==(a.top-s.top)/(a.left-s.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}(c,u,l,i.options)),G(s,a)||(e.prevFromRect=a,e.prevToRect=s,n||(n=i.options.animation),i.animate(e,c,s,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),a=(i.top-n.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!a,D(t,"transform","translate3d("+r+"px,"+a+"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 Vt(t,i,n,e,o,r,a,s){var u,l,c=t[q],h=c.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||F(i),u.willInsertAfter=s,u.originalEvent=a,t.dispatchEvent(u),h&&(l=h.call(c,u,a)),l}function Yt(t){t.draggable=!1}function qt(){Dt=!1}function Xt(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 $t(t){return clearTimeout(t)}Wt.prototype={constructor:Wt,_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,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,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||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=I(s,e.draggable,n,!1))&&s.animated||at===s)){if(lt=H(s),ht=H(s,e.draggable),"function"==typeof l){if(l.call(this,t,s,this))return tt({sortable:i,rootEl:u,name:"filter",targetEl:s,toEl:n,fromEl:n}),Q("filter",i,{evt:t}),void(o&&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:s,fromEl:n,toEl:n}),Q("filter",i,{evt:t}),!0}))))return void(o&&t.preventDefault());e.handle&&!I(u,e.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,i,n){var e,o=this,r=o.el,a=o.options,s=r.ownerDocument;if(n&&!it&&n.parentNode===r){var u=F(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,at=n,ft=a.group,Wt.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}),Wt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!w&&o.nativeDraggable&&(it.draggable=!0),o._triggerDragStart(t,i),tt({sortable:o,name:"choose",originalEvent:t}),A(it,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){z(it,t.trim(),Yt)})),T(s,"dragover",Gt),T(s,"mousemove",Gt),T(s,"touchmove",Gt),a.supportPointer?(T(s,"pointerup",o._onDrop),!this.nativeDraggable&&T(s,"pointercancel",o._onDrop)):(T(s,"mouseup",o._onDrop),T(s,"touchend",o._onDrop),T(s,"touchcancel",o._onDrop)),w&&this.nativeDraggable&&(this.options.touchStartThreshold=4,it.draggable=!0),Q("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!i||this.nativeDraggable&&(p||m))e();else{if(Wt.eventCanceled)return void this._onDrop();a.supportPointer?(T(s,"pointerup",o._disableDelayedDrag),T(s,"pointercancel",o._disableDelayedDrag)):(T(s,"mouseup",o._disableDelayedDrag),T(s,"touchend",o._disableDelayedDrag),T(s,"touchcancel",o._disableDelayedDrag)),T(s,"mousemove",o._delayedDragTouchMoveHandler),T(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&T(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,a.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,"pointerup",this._disableDelayedDrag),O(t,"pointercancel",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(kt=!1,ot&&it){Q("dragStarted",this,{evt:i}),this.nativeDraggable&&T(document,"dragover",Ut);var n=this.options;!t&&A(it,n.dragClass,!1),A(it,n.ghostClass,!0),Wt.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[q]._isOutsideThisEl(t),i)do{if(i[q]&&i[q]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=M(i));Kt()}},_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),a=et&&r&&r.a,s=et&&r&&r.d,u=Rt&&Ot&&P(Ot),l=(o.clientX-bt.clientX+e.x)/(a||1)+(u?u[0]-At[0]:0)/(a||1),c=(o.clientY-bt.clientY+e.y)/(s||1)+(u?u[1]-At[1]:0)/(s||1);if(!Wt.active&&!kt){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+=c-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(et,"webkitTransform",h),D(et,"mozTransform",h),D(et,"msTransform",h),D(et,"transform",h),mt=l,pt=c,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=F(it,!0,Rt,!0,t),n=this.options;if(Rt){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=R()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=R(),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",Rt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Wt.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}),Wt.eventCanceled?this._onDrop():(Q("setupClone",this),Wt.eventCanceled||((st=V(it)).removeAttribute("id"),st.draggable=!1,st.style["will-change"]="",this._hideClone(),A(st,this.options.chosenClass,!1),Wt.clone=st),n.cloneId=Zt((function(){Q("clone",n),Wt.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(st,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&A(it,o.dragClass,!0),i?(Mt=!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)")),kt=!0,n._dragStartId=Zt(n._dragStarted.bind(n,i,t)),T(document,"selectstart",n),yt=!0,window.getSelection().removeAllRanges(),x&&D(document.body,"user-select","none"))},_onDragOver:function(t){var i,n,e,o,r=this.el,a=t.target,s=this.options,u=s.group,l=Wt.active,c=ft===u,h=s.sort,f=vt||l,v=this,b=!1;if(!Dt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=I(a,s.draggable,r,!0),_("dragOver"),Wt.eventCanceled)return b;if(it.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||v._ignoreWhileAnimating===a)return R(!1);if(Mt=!1,l&&!s.disabled&&(c?h||(e=nt!==ot):vt===this||(this.lastPutMode=ft.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,a),i=F(it),_("dragOverValid"),Wt.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Wt.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),R(!0);var g=B(r,s.draggable);if(!g||function(t,i,n){var e=F(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 R(!1);if(g&&r===t.target&&(a=g),a&&(n=F(a)),!1!==Vt(ot,r,it,i,a,n,t,!!a))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,P(),R(!0)}else if(g&&function(t,i,n){var e=F(N(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=N(r,0,s,!0);if(m===it)return R(!1);if(n=F(a=m),!1!==Vt(ot,r,it,i,a,n,t,!1))return z(),r.insertBefore(it,m),nt=r,P(),R(!0)}else if(a.parentNode===r){n=F(a);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,a.animated&&a.toRect||n,o),S=o?"top":"left",T=L(a,"top","top")||L(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==a&&(w=n[S],Ct=!1,jt=!E&&s.invertSwap||y),p=function(t,i,n,e,o,r,a,s){var u=e?t.clientY:t.clientX,l=e?n.height:n.width,c=e?n.top:n.left,h=e?n.bottom:n.right,d=!1;if(!a)if(s&&Tt<l*o){if(!Ct&&(1===St?u>c+l*r/2:u<h-l*r/2)&&(Ct=!0),Ct)d=!0;else if(1===St?u<c+Tt:u>h-Tt)return-St}else if(u>c+l*(1-o)/2&&u<h-l*(1-o)/2)return function(t){return H(it)<H(t)?1:-1}(i);return(d=d||a)&&(u<c+l*r/2||u>h-l*r/2)?u>c+l/2?1:-1:0}(t,a,n,o,E?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,jt,Et===a),0!==p){var k=H(it);do{x=nt.children[k-=p]}while(x&&("none"===D(x,"display")||x===et))}if(0===p||x===a)return R(!1);Et=a,St=p;var M=a.nextElementSibling,C=!1,j=Vt(ot,r,it,i,a,n,t,C=1===p);if(!1!==j)return 1!==j&&-1!==j||(C=1===j),Dt=!0,setTimeout(qt,30),z(),C&&!M?r.appendChild(it):a.parentNode.insertBefore(it,C?M:a),T&&W(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||jt||(Tt=Math.abs(w-F(a)[S])),P(),R(!0)}if(r.contains(it))return R(!1)}return!1}function _(s,u){Q(s,v,d({evt:t,isOwner:c,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:h,fromSortable:f,target:a,completed:R,onMove:function(n,e){return Vt(ot,r,it,i,n,F(n),t,e)},changed:P},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==f&&f.captureAnimationState()}function R(i){return _("dragOverCompleted",{insertion:i}),i&&(c?l._hideClone():l._showClone(v),v!==f&&(A(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),A(it,s.ghostClass,!0)),vt!==v&&v!==Wt.active?vt=v:v===Wt.active&&vt&&(vt=null),f===v&&(v._ignoreWhileAnimating=a),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===it&&!it.animated||a===r&&!a.animated)&&(Et=null),s.dragoverBubble||t.rootEl||a===document||(it.parentNode[q]._isOutsideThisEl(t.target),!i&&Gt(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function P(){ct=H(it),dt=H(it,s.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ct,newDraggableIndex:dt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Gt),O(document,"mousemove",Gt),O(document,"touchmove",Gt)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"pointercancel",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ct=H(it),dt=H(it,n.draggable),Q("drop",this,{evt:t}),nt=it&&it.parentNode,ct=H(it),dt=H(it,n.draggable),Wt.eventCanceled||(kt=!1,jt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),$t(this.cloneId),$t(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)&&st&&st.parentNode&&st.parentNode.removeChild(st),it&&(this.nativeDraggable&&O(it,"dragend",this),Yt(it),it.style["will-change"]="",yt&&!kt&&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?(ct>=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()):ct!==lt&&ct>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Wt.active&&(null!=ct&&-1!==ct||(ct=lt,dt=ht),tt({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Q("nulling",this),ot=it=nt=et=rt=st=at=ut=bt=gt=yt=ct=dt=lt=ht=Et=St=vt=ft=Wt.dragged=Wt.ghost=Wt.clone=Wt.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)||Xt(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=$.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[q]=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),Wt.eventCanceled)return;D(st,"display","none"),this.options.removeCloneOnHide&&st.parentNode&&st.parentNode.removeChild(st),ut=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(ut){if(Q("showClone",this),Wt.eventCanceled)return;it.parentNode!=ot||this.options.group.revertClone?rt?ot.insertBefore(st,rt):ot.appendChild(st):ot.insertBefore(st,it),this.options.group.revertClone&&this.animate(it,st),D(st,"display",""),ut=!1}}else this._hideClone()}},zt&&T(document,"touchmove",(function(t){(Wt.active||kt)&&t.cancelable&&t.preventDefault()})),Wt.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:U,closest:I,toggleClass:A,clone:V,index:H,nextTick:Zt,cancelNextTick:$t,detectDirection:Bt,getChild:N,expando:q},Wt.get=function(t){return t[q]},Wt.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&&(Wt.utils=d(d({},Wt.utils),t.utils)),$.mount(t)}))},Wt.create=function(t,i){return new Wt(t,i)},Wt.version="1.15.6";var Jt,Qt,ti,ii,ni,ei,oi=[],ri=!1;function ai(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function si(){clearInterval(ei)}var ui=U((function(t,i,n,e){if(i.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=i.scrollSensitivity,u=i.scrollSpeed,l=R(),c=!1;Qt!==n&&(Qt=n,ai(),o=i.scrollFn,!0===(Jt=i.scroll)&&(Jt=K(n,!0)));var h=0,d=Jt;do{var f=d,v=F(f),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=f.scrollWidth,T=f.scrollHeight,O=D(f),k=f.scrollLeft,M=f.scrollTop;f===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)<=s&&k+w<S)-(Math.abs(m-r)<=s&&!!k),C=E&&(Math.abs(g-a)<=s&&M+x<T)-(Math.abs(b-a)<=s&&!!M);if(!oi[h])for(var j=0;j<=h;j++)oi[j]||(oi[j]={});oi[h].vx==I&&oi[h].vy==C&&oi[h].el===f||(oi[h].el=f,oi[h].vx=I,oi[h].vy=C,clearInterval(oi[h].pid),0==I&&0==C||(c=!0,oi[h].pid=setInterval(function(){e&&0===this.layer&&Wt.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(Wt.dragged.parentNode[q],n,i,t,ni,oi[this.layer].el)||W(oi[this.layer].el,n,i)}.bind({layer:h}),24))),h++}while(i.bubbleScroll&&d!==l&&(d=K(d,!1)));ri=c}}),30),li=function(t){var i=t.originalEvent,n=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(i){var a=n||t.activeSortable;(0,t.hideGhostForTarget)();var s=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,u=document.elementFromPoint(s.clientX,s.clientY);r(),a&&!a.el.contains(u)&&(o("spill"),this.onSpill({dragEl:e,putSortable:n}))}};function ci(){}function hi(){}ci.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=N(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(ci,{pluginName:"revertOnSpill"}),hi.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(hi,{pluginName:"removeOnSpill"}),Wt.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)),si(),ai(),clearTimeout(C),C=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 a=K(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&si(),ei=setInterval((function(){var r=K(document.elementFromPoint(e,o),!0);r!==a&&(a=r,ai()),ui(t,n.options,r,i)}),10),ti=e,ii=o)}else{if(!this.options.bubbleScroll||K(r,!0)===R())return void ai();ui(t,this.options,K(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Wt.mount(hi,ci);const di=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.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&s(".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&&!s(".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 s(".gux-tab-options-button",t)||s(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!s(".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 s(".gux-tab-options-button",t)||s(".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&&s(".gux-tab",t)&&!s(".gux-tab-options-button",t)&&!s("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 Wt(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,c,"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:"2da7ea784877711fe00457c2250a749819eb1aa0",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"47c637b6ebe9c990294511b455fb58605a5d5092",class:"gux-scrollable-section"},o("div",{key:"1d70ba23076bfb911fd7a405e34a4334970fcca7",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"5014ba313cfb0473b8d4e9fc476223f3da91d8d4"}))),this.renderScrollButton("scrollRight"),this.renderAddButton())]}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",{accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{size:"small","icon-name":"fa/plus-regular",decorative:!0}),o("gux-screen-reader-beta",null,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","icon-only":!0},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{size:"small","icon-name":this.getChevronIconName(t),decorative:!0}),o("gux-screen-reader-beta",null,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,a=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,n):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,e);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(i,n,a):o(i,n))||a);r>3&&a&&Object.defineProperty(i,n,a)})([a({childList:!0,subtree:!0})],di.prototype,"onMutation",null),di.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-tab-container [slot=add-tab]{display:flex;align-items:center;justify-content:center}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;border-block-end:var(--gse-ui-advancedTabs-item-divider-border-width) var(--gse-ui-advancedTabs-item-divider-border-style) var(--gse-ui-advancedTabs-item-divider-border-color);scroll-behavior:smooth}.gux-tab-container .gux-scrollable-section::-webkit-scrollbar{block-size: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{di as gux_tab_advanced_list}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,f as o,h as t,a as r}from"./p-BfVNunZv.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-BUqaLk9I.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as d}from"./p-Dfw630HY.js";import{G as p,a as g}from"./p-DC-mSIqV.js";import{h as c,c as h,g as m,v as b,a as x}from"./p-DHLxhscH.js";import{t as v}from"./p-B5myH8ux.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var o,t;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=c(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(g,{key:"f694f1398fd3bdda4d7b2b22b4758974b15c5606",labelPosition:this.computedLabelPosition},t(p,{key:"a5918e90d78c73f16db3edefda88f95031f33337",required:this.required,position:this.computedLabelPosition},t("slot",{key:"b0d8641d120e52aa48bfdecb95b792cbabcbbf45",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"0c0ae13e161f8f47e127ba291ed71d89d1e2838b",variant:this.indicatorMark,required:this.required}),t("slot",{key:"032d213a879df04ceb54497924bba6bc1a4a5030",name:"label-info"})),t("div",{key:"b0420d94346a7486787e78490712df4458feaa00",class:"gux-input-and-error-container"},t("div",{key:"5e8694f49e46e8dcd81c7c6746de07e0c264beb1",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"d46b8936acf4f3a48c76681d482e9447fea2ca01",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"a74dea834e231496b6f77fd843bc08f072456fd0","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),t("slot",{key:"66a603d2c99990ee3504fc289b60a444b99d8d12",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"11fbe39fda16ceb8480e6c0b33949d31b632c80c",onClick:()=>h(this.input)}))),t(f,{key:"d2c504dc5617d304072ee0e978d029f317388674",show:this.hasError},t("slot",{key:"1084f35eb84ef867a6c7bb077b4bdf54a2ac0399",name:"error"})),t(d,{key:"e65e0a4c18d32bc2cb9e162dbe08b45eb33989f6",show:!this.hasError&&this.hasHelp},t("slot",{key:"5a966108930eae25e0f3946058c6685ed82b6b67",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=c(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=c(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,t,r){var i,n=arguments.length,l=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,t,l):i(o,t))||l);n>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
|
1
|
+
import{r as o,f as e,h as t,a as r}from"./p-SFVKQR8_.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-CCiTbuB6.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as f}from"./p-qzV3vtOw.js";import{G as u,a as d}from"./p-D7MMwxM2.js";import{G as p,a as c}from"./p-DAm7J30h.js";import{h as g,c as h,g as m,v as x,a as b}from"./p-DHLxhscH.js";import{t as v}from"./p-Drnfst3y.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const y=class{constructor(e){o(this,e),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help")}handleKeyup(o){var e,t;"Tab"===o.key?this.input.matches(":focus-visible")&&(null===(e=this.labelInfo)||void 0===e||e.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var o;null===(o=this.labelInfo)||void 0===o||o.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var o;null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=g(this.input),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),e(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),v(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(c,{key:"256d4930ad33f79022b20a706be0113eaf3bbf42",labelPosition:this.computedLabelPosition},t(p,{key:"0fcff84f9fa821f1afdbc3becafedd8c19001f8f",required:this.required,position:this.computedLabelPosition},t("slot",{key:"f029f044cd8f1131b1597100fb17245c5ae4c040",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"fe7a6dac3f446353193c5be566d8ac58cfb8358f",variant:this.indicatorMark,required:this.required}),t("slot",{key:"5af67483a8d19bf8fd5dbbf76434cfb521a8d5fb",name:"label-info"})),t("div",{key:"28135ac265f5253824bf0287659957f4023c8140",class:"gux-input-and-error-container"},t("div",{key:"99265dcf80f01671a0bd8c155ced2ac05369b358",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"06d10381c12f74ac24550dd4c092a191fd2f8d6a",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"74bca8c6a76275031d853f954908499a057f83b7","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),t("slot",{key:"1145fc60c25fe6ebfec365c6ffd52a3fe312bc56",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"1fb956e249dc690f0c41503d92b10f81e518f16a",onClick:()=>h(this.input)}))),t(u,{key:"132fb8d4df2c19d6f176acca788a8c7fcc2792da",show:this.hasError},t("slot",{key:"80cac1f956056b42b0067633e1fe6ff34c78a297",name:"error"})),t(d,{key:"affc9e474a99cd091d019c9fe202536b86923228",show:!this.hasError&&this.hasHelp},t("slot",{key:"ce26051cf005d07e6650899140758b0f189f253f",name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${o}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(o=>{this.disabled=o})),this.requiredObserver=a(this.input,(o=>{this.required=o})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}get root(){return r(this)}};(function(o,e,t,r){var i,n=arguments.length,l=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,e,t,r);else for(var a=o.length-1;a>=0;a--)(i=o[a])&&(l=(n<3?i(l):n>3?i(e,t,l):i(e,t))||l);n>3&&l&&Object.defineProperty(e,t,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,c as a,h as t,a as i}from"./p-
|
1
|
+
import{r as e,c as a,h as t,a as i}from"./p-SFVKQR8_.js";import{b as n}from"./p-D7Sv07Vr.js";import"./p-Cd4R0amv.js";var g={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} items per page selected"};const o=class{constructor(t){e(this,t),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25,this.disabled=!1}handleChange(e){e.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,g)}getDropdown(){return t("gux-dropdown",{ref:e=>this.dropdownElement=e,value:`${this.itemsPerPage}`,disabled:this.disabled,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},t("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},t("gux-option",{value:"25"},"25"),t("gux-option",{value:"50"},"50"),t("gux-option",{value:"75"},"75"),t("gux-option",{value:"100"},"100")))}render(){return t("div",{key:"4150dc095359046635df698c53dcb773a769a91f",class:"gux-pagination-items-per-page-container"},t("div",{key:"3cbb78ca73b8d7b69ed37ee603af6e1e8e96ea5f",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),t("div",{key:"86bafdfe1f0dd0e4bd75ede9c63f6011b65ccf92",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};o.style="gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;inline-size:fit-content}gux-pagination-items-per-page .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{inset-block-end:100%;display:flex;flex-direction:column-reverse}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{o as gux_pagination_items_per_page}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,c as t,h as a,a as i}from"./p-
|
1
|
+
import{r as e,c as t,h as a,a as i}from"./p-SFVKQR8_.js";import{b as r}from"./p-D7Sv07Vr.js";import"./p-Cd4R0amv.js";var s={clearSelection:"Clear {numberSelected} selected items"};const o=class{constructor(a){e(this,a),this.internalclearselected=t(this,"internalclearselected",7),this.disabled=!1,this.numberSelected=0,this.label=""}onKeyDown(e){switch(e.key){case"Backspace":case"Delete":this.removeTag(e)}}removeTag(e){e.stopPropagation(),this.disabled||this.internalclearselected.emit()}renderRemoveButton(){return a("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},a("gux-icon",{class:"gux-tag-remove-icon",size:"small","icon-name":"fa/xmark-large-regular","screenreader-text":this.i18n("clearSelection",{numberSelected:this.numberSelected.toString()})}))}async componentWillRender(){this.i18n=await r(this.root,s)}render(){return a("div",{key:"cb92f9034fb3dd14eb7dbeb1b8e566914046ebcd",class:{"gux-tag":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString()},this.numberSelected.toString(),this.renderRemoveButton())}get root(){return i(this)}};o.style=":host{display:inline-block}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-removable-padding);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight);color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center;margin-inline-start:var(--gse-ui-tag-removable-gap)}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus)}.gux-tag.gux-disabled{opacity:var(--gse-ui-tag-disabled-opacity)}";export{o as gux_dropdown_multi_tag}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,f as t,h as o,a as i,c as r}from"./p-SFVKQR8_.js";import{b as n}from"./p-D7Sv07Vr.js";import{c as s,o as a}from"./p-Cb3FOYGS.js";import{O as l}from"./p-CCiTbuB6.js";import{o as u}from"./p-De1NnCmO.js";import{p as f}from"./p-PYfNAK8p.js";import{h as c,c as p,g as d,v as g,a as h,d as b}from"./p-DHLxhscH.js";import{s as m}from"./p-BMRf5pjV.js";import{h as x}from"./p-qzV3vtOw.js";import{G as v,a as C}from"./p-D7MMwxM2.js";import{G as y,a as k}from"./p-DAm7J30h.js";import{t as w}from"./p-Drnfst3y.js";import{f as j}from"./p-JHLuJ8Pb.js";import{t as z}from"./p-BFMPPR7N.js";import{O as T}from"./p-C7-BhPWq.js";import{b as D}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";var F={increment:"Increment",decrement:"Decrement"};const B=class{constructor(t){e(this,t),this.indicatorMark="required",this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=x(this.root,"error"),this.hasHelp=x(this.root,"help")}handleKeyup(e){var t,o;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=c(this.input),this.hasError=x(this.root,"error"),this.hasHelp=x(this.root,"help"),t(this.root)}async componentWillLoad(){this.getI18nValue=await n(this.root,F),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=x(this.root,"error"),this.hasHelp=x(this.root,"help"),w(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){const e=this.clearable&&this.hasContent&&!this.disabled;return o(k,{key:"a61293ae9833b20b2893d1c2f869b8b33b1a82c1",labelPosition:this.computedLabelPosition},o(y,{key:"ffc85ffd7fc52e5e5e320d9e5363cee3c255b953",required:this.required,position:this.computedLabelPosition},o("slot",{key:"354a72c8d0508a2e954ba4d12f4a5b1654ed67fb",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"e922292aff40c1222ea4b4a058e85f8d0b0951d8",variant:this.indicatorMark,required:this.required}),o("slot",{key:"849dde1789ad4fe290b8a78a3522b38371c02061",name:"label-info"})),o("div",{key:"476166012961046e6b450b51eb68cbf206915251",class:"gux-input-and-error-container"},o("div",{key:"b9ab118e46131fad6fb93a797234d6259ccc2be8",class:{"gux-input":!0,"gux-input-error":this.hasError},part:"input-section"},o("div",{key:"ba1a55e1667545efcf917eb2aa9fa433c2e36e40",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-clear":e},onClick:()=>j(this.input)},o("slot",{key:"7cb860f92d8d7331b91b6b6e66666a86e7d98c5c",name:"input",onSlotchange:()=>this.setInput()}),e&&o("gux-form-field-input-clear-button",{key:"4220d8efaa47227e48db4c9fe946e9e756b292a9",onClick:()=>p(this.input)})),this.renderStepButtons(this.input,this.getI18nValue,this.disabled)),o(v,{key:"cca2e4e8f257203d32c7e87ace22ad81ef12b901",show:this.hasError},o("slot",{key:"30ef376921af4186adb997694c8eac9f8f79080d",name:"error"})),o(C,{key:"87736f4f75655854fc8d3b24ffdf6676bf2b2167",show:!this.hasError&&this.hasHelp},o("slot",{key:"eaa21eb7b7a3bc5f7d4f81abd57e8be35be13861",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=d(this.root,'input[type="number"][slot="input"]'),this.hasContent=c(this.input),f(this.input),this.input.addEventListener("input",(()=>{this.hasContent=c(this.input)})),this.disabled=s(this.input),this.required=this.input.required,this.disabledObserver=a(this.input,(e=>{this.disabled=e})),this.requiredObserver=u(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}renderStepButtons(e,t,i){return o("div",{class:"gux-step-buttons-container"},o("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:t("increment"),disabled:i,onClick:()=>this.stepUp(e)},o("gux-icon",{"icon-name":"custom/chevron-up-small-regular",decorative:!0})),o("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:t("decrement"),disabled:i,onClick:()=>this.stepDown(e)},o("gux-icon",{"icon-name":"custom/chevron-down-small-regular",decorative:!0})))}stepDown(e){""===e.value?b(e,e.min||"0",!1):(e.stepDown(),this.simulateNativeInputAndChangeEvents(e))}stepUp(e){""===e.value?b(e,e.min||"0",!1):(e.stepUp(),this.simulateNativeInputAndChangeEvents(e))}simulateNativeInputAndChangeEvents(e){m(e,"input"),m(e,"change")}static get delegatesFocus(){return!0}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(n<3?r(s):n>3?r(t,o,s):r(t,o))||s);n>3&&s&&Object.defineProperty(t,o,s)})([l({childList:!0,subtree:!0})],B.prototype,"onMutation",null),B.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;padding-block-end:0;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);text-align:end;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;inline-size:100%}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-step-buttons-container{flex:0 1 14px;align-self:auto;order:0;margin-inline-start:var(--gse-ui-formControl-spinButton-gap)}.gux-step-buttons-container .gux-step-button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor);background:transparent;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) transparent}.gux-step-buttons-container .gux-step-button:not(:disabled):focus-visible,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{cursor:pointer;border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-step-buttons-container .gux-step-button gux-icon{flex:0 0 auto;inline-size:14px;block-size:14px}";const R=class{constructor(t){e(this,t),this.goToPage=r(this,"goToPage",7),this.isOpen=!1,this.disabled=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.isOpen=!1,this.ellipsisButton.focus();break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":t.includes(this.ellipsisButton)&&(e.preventDefault(),this.isOpen=!0,this.focusInputElement())}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.ellipsisButton)&&(this.isOpen=!0,this.focusInputElement())}watchIsDisabled(e){e&&(this.isOpen=!1)}toggle(){this.isOpen=!this.isOpen,this.isOpen&&this.focusInputElement()}onClickOutside(){this.isOpen=!1}focusInputElement(){D((()=>{this.inputElement.focus()}))}applyInputListener(){var e;null===(e=this.inputElement)||void 0===e||e.addEventListener("keydown",(e=>{const t=e.target.value.trim();"Enter"!=e.key&&" "!=e.key||(""==t?e.preventDefault():(e.preventDefault(),this.goToPage.emit(e.target.value),this.isOpen=!1))}))}async componentWillLoad(){this.i18n=await n(this.root,z,"gux-pagination-buttons"),w(this.root)}componentDidLoad(){this.applyInputListener()}render(){return[o("gux-button",{key:"0c40e05f921013922713ea83509c1e786698c413",accent:"ghost",id:"popover-target",type:"button",disabled:this.disabled,ref:e=>this.ellipsisButton=e,onClick:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},o("gux-icon",{key:"43eac0a3765de1a0b6a61dcf7042504e8b15b683",screenreaderText:this.i18n("goToPage"),"icon-name":"fa/ellipsis-regular",size:"small"})),o("gux-tooltip",{key:"bc7ea8e460a0636614773f2757e21be78ecb131f",for:"popover-target"},o("div",{key:"cc8fb0457c6d32f486f9cce93bf60b2783de5425",slot:"content"},this.i18n("goToPage"))),o("gux-popover",{key:"88b46c5df7c0530ee4dd9c12f4b753fcd964b809","is-open":this.isOpen,for:"popover-target"},o("span",{key:"1b02a45c06ac9d3bcb6b19d2eafafa4983934ad3",slot:"title"},this.i18n("goToPage")),o("gux-form-field-number",{key:"7489d3675a97f9287e83fbe01e56c0ce5ff6fb02"},o("input",{key:"b9e58c2a94cf6df9752e0926ffd4232a2a61be1c",slot:"input",type:"number",ref:e=>this.inputElement=e,min:"1",max:this.totalPages,value:"1",onKeyDown:e=>["e","E","+","-","."].includes(e.key)&&e.preventDefault()}),o("label",{key:"cb15c6b868174b201cec5d82f35ab3bd0bedb95c",slot:"label"})))]}get root(){return i(this)}static get watchers(){return{disabled:["watchIsDisabled"]}}};(function(e,t,o,i){var r,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(n<3?r(s):n>3?r(t,o,s):r(t,o))||s);n>3&&s&&Object.defineProperty(t,o,s)})([T({triggerEvents:"mousedown"})],R.prototype,"onClickOutside",null),R.style="gux-button gux-icon{padding-block-start:4px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield}";export{B as gux_form_field_number,R as gux_pagination_ellipsis_button}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as e,H as o,a as s}from"./p-
|
1
|
+
import{r as t,h as e,H as o,a as s}from"./p-SFVKQR8_.js";import{t as a}from"./p-Drnfst3y.js";import{b as i}from"./p-Bg4q97BS.js";const r=class{constructor(e){t(this,e),this.politeness="polite"}async guxAnnounce(t){this.containerElement.innerText="",i((()=>{this.containerElement.innerText=t}))}componentWillLoad(){a(this.root)}render(){return e(o,{key:"96acda36ac04edb73e9fcc5af71fa83cd30fce92","aria-live":this.politeness},e("slot",{key:"b490bf95af7e150220969cc20383b9406b4bcf19"}),e("div",{key:"2c731aff495c684d15bda9ed006030608bc9a4e7",ref:t=>this.containerElement=t}))}get root(){return s(this)}};r.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{r as gux_announce_beta}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as o,H as e,a as n}from"./p-
|
1
|
+
import{r as t,h as o,H as e,a as n}from"./p-SFVKQR8_.js";import{t as r}from"./p-Drnfst3y.js";import{a}from"./p-DxtJDeL9.js";const i=class{constructor(o){t(this,o),this.accent="secondary"}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:"cedf1ee61bd0713a3ce0a8fb8b88016ef3a0d0b1",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"12e152c94d7001f80dbaded950a142764a5f7150"}))}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-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);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-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-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-links-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-links-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-links-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-links-active-foregroundColor);text-decoration:underline;background:none}";export{i as gux_button_slot}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as i,a as t}from"./p-
|
1
|
+
import{r as e,h as i,a as t}from"./p-SFVKQR8_.js";import{b as o}from"./p-D7Sv07Vr.js";import{O as r}from"./p-CCiTbuB6.js";import{o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{G as a,a as n}from"./p-D7MMwxM2.js";import{G as f,a as h,b as d}from"./p-Cv5xZJRG.js";import{g as u}from"./p-MAoEg4ig.js";import{b as p,s as g,a as m}from"./p-DHLxhscH.js";import{t as c}from"./p-Drnfst3y.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var x={required:"Required"};const b=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.dropdownElement.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,x),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"4889112d951c545dfb914f5ae76b3e62d3ba2d61",labelPosition:this.computedLabelPosition},i(h,{key:"1fefe16e027fd8e29e4842d286eb7deca479dab7"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"942f2e46b86a36265870a2a5e570217486382f6c",position:this.computedLabelPosition,required:this.required},i("slot",{key:"a0cee127a577e96e36c65516c2ec7edee23a5436",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"f31e500a692f22b4170031532e847f7623a0b010",variant:this.indicatorMark,required:this.required}),i("slot",{key:"bb8dfe2207939300aeee619a32e0f3d82c00fc92",name:"label-info"})),i("div",{key:"7ca7fc77779cec49c881289524dc1c158d5580df",class:"gux-input-and-error-container"},i("div",{key:"59d23144501403d28056f44a2521401c29f88a73",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"ccd7ef0eb8749f8af5be7ab434783475067e39a4"})),i(a,{key:"099ff9307c1546d81f1bd9d44980e1bf2f964d7c",show:this.hasError},i("slot",{key:"0a6a596045b39414b8688deb6dba2164e29678d4",name:"error"})),i(n,{key:"dc773c2be1a3f1ff1704dd90da7e7e533605301e",show:!this.hasError&&this.hasHelp},i("slot",{key:"fefed479c81e01c345de74f82535649b04c13dd7",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),p(this.root,this.listboxElement,"label"),g(this.root,this.listboxElement,"error"),g(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1;inline-size:100%}";export{b as gux_form_field_dropdown}
|
@@ -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-SFVKQR8_.js";const i=class{constructor(s){t(this,s),this.guxactivepanelchange=e(this,"guxactivepanelchange",7),this.active=!1}async guxSetActive(t){this.active=t}watchActivePanel(){!0===this.active&&this.guxactivepanelchange.emit(this.tabId)}render(){return s(a,{key:"7961a51d2ebc7959db22accdacd13e47fff1999f",id:`gux-${this.tabId}-panel`,role:"tabpanel","aria-labelledby":`gux-${this.tabId}-tab`,tabIndex:0,hidden:!this.active},s("slot",{key:"cf13e9cab8547b1869152b6af347cec906c19edd"}))}static get watchers(){return{active:["watchActivePanel"]}}};i.style=":host{block-size: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])){flex:1 1 auto}:host(:focus){outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}";export{i as gux_tab_panel}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as
|
1
|
+
import{r as t,c as i,h as e,a as s}from"./p-SFVKQR8_.js";import{r as o}from"./p-D9jKBqIb.js";import{t as r}from"./p-Drnfst3y.js";import{b as a}from"./p-D7Sv07Vr.js";import"./p-Cd4R0amv.js";var n={defaultLabel:"Disclosure button"};const d=class{constructor(e){t(this,e),this.active=i(this,"active",7),this.panelId=o("gux-disclosure-button-panel"),this.position="left",this.isOpen=!1,this.icon="fa/caret-right-solid"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){this.icon="right"===this.position?this.isOpen?"fa/caret-right-solid":"fa/caret-left-solid":this.isOpen?"fa/caret-left-solid":"fa/caret-right-solid"}async componentWillLoad(){r(this.root,{variant:this.position}),this.i18n=await a(this.root,n),this.updateIcon()}render(){return e("div",{key:"4111dd3b43059be6a0ffed715aa2fee476bdd875",class:`gux-disclosure-button-container gux-${this.position}`},e("button",{key:"f2770836b77a6a1ba7db0e82c7dd4674870e4108",class:"gux-disclosure-button",onClick:()=>this.changeState(),"aria-controls":this.panelId,"aria-expanded":this.isOpen.toString(),"aria-label":this.label||this.i18n("defaultLabel"),"data-testid":"disclosure-button"},e("gux-icon",{key:"d87de125ed9716410b2de09d715e55481de92d73","icon-name":`${this.icon}`,decorative:!0})),e("div",{key:"0d1182b2d272a6a343b444b31c2f73ca194dccb7",id:this.panelId,class:{"gux-disclosure-panel":!0,"gux-active":this.isOpen},role:"region"},e("slot",{key:"b940282ff6f990fc9617492ca1c75ddd19ac1906",name:"panel-content"})))}get root(){return s(this)}static get watchers(){return{isOpen:["watchIsOpen"]}}};d.style=":host{height:100%;color:var(--gse-ui-tabs-item-icon-iconColor)}.gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}.gux-disclosure-button-container .gux-disclosure-button{width:16px;padding:0;margin:0;color:var(--gse-ui-tabs-item-icon-iconColor);background:transparent;border-top:none;border-right:1px solid var(--gse-ui-tabs-item-divider-dividerColor);border-bottom:none;border-left:1px solid var(--gse-ui-tabs-item-divider-dividerColor)}.gux-disclosure-button-container .gux-disclosure-button gux-icon{width:12px;height:12px}.gux-disclosure-button-container .gux-disclosure-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-disclosure-button-container .gux-disclosure-panel{display:none;order:-1;width:100%}.gux-disclosure-button-container .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-container.gux-right{justify-content:flex-end}.gux-disclosure-button-container.gux-right .gux-disclosure-panel{order:1}";export{d as gux_disclosure_button_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,h as s,a as i}from"./p-
|
1
|
+
import{r as t,c as e,h as s,a as i}from"./p-SFVKQR8_.js";import{O as o}from"./p-C7-BhPWq.js";import{w as a}from"./p-kLXvN2m9.js";import{a as r}from"./p-Bg4q97BS.js";import{t as n}from"./p-Drnfst3y.js";const c=["primary","secondary","tertiary"];const u=class{constructor(s){t(this,s),this.open=e(this,"open",7),this.close=e(this,"close",7),this.disabled=!1,this.accent="secondary",this.guxAriaLabel="",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"Enter":case"ArrowDown":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){r((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){r((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){r((()=>{this.listElement.guxFocusLastItem()}))}onListClick(t){a("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return s("gux-popup",{key:"b0306d8a18569fef8747b27ecc7919abee6485a3",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"e51517f0b63c6ca26749fd7a182918e9a9713ada",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"3dc7694690e160f509e77b835630f51c70974b3f",class:"gux-dropdown-button",accent:(t=this.accent,c.find((e=>e===t))?t:"secondary")},s("button",{key:"33fd8678672016a2b0211f7cac46ddeb9044a446",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.guxAriaLabel},s("slot",{key:"451cebcd2e615c1e79f5f2e8ed7ab69a1126a9c7",name:"title"}),s("gux-icon",{key:"39291d3e6ad291a2e8ec69bf81f057b3c7fcf969",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"455cb0698f730781a7a8700792a13b7c78be003b",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"c17d8076f01dd8295460d061e4db9233f8110847",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},s("slot",{key:"20413297ba0d093bf41855e6112cf39f72860e04"}))));var t}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,s,i){var o,a=arguments.length,r=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(e,s,r):o(e,s))||r);a>3&&r&&Object.defineProperty(e,s,r)})([o({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{margin-inline-start:var(--gse-ui-button-gap)}.gux-list-container{max-inline-size:220px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_button_multi}
|