genesys-spark-components 4.0.0-beta.3 → 4.0.0-beta.30
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/{find-element-by-id-99f1f933.js → find-element-by-id-ecf0efa3.js} +10 -3
- package/dist/cjs/{floating-ui.dom.esm-cad0a9cf.js → floating-ui.dom.esm-2ed3685b.js} +71 -0
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/get-slot-text-content-30aa5492.js +8 -0
- package/dist/cjs/get-valid-timezone-39ba3e64.js +520 -0
- package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -10
- package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/{gux-advanced-dropdown.cjs.entry.js → gux-advanced-dropdown-legacy.cjs.entry.js} +6 -6
- package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -5
- package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-badge.cjs.entry.js +68 -0
- package/dist/cjs/gux-blank-state.cjs.entry.js +24 -0
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi.cjs.entry.js +2 -3
- package/dist/cjs/gux-button-slot.cjs.entry.js +45 -0
- package/dist/cjs/gux-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
- package/dist/cjs/gux-card.cjs.entry.js +1 -1
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
- package/dist/cjs/{gux-column-manager-beta.cjs.entry.js → gux-column-manager.cjs.entry.js} +7 -5
- package/dist/cjs/gux-content-search.cjs.entry.js +11 -8
- package/dist/cjs/{gux-context-menu-beta.cjs.entry.js → gux-context-menu.cjs.entry.js} +5 -4
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
- package/dist/cjs/gux-create-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +7 -4
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +7 -4
- package/dist/cjs/gux-datepicker.cjs.entry.js +3 -3
- package/dist/cjs/{gux-disclosure-button.cjs.entry.js → gux-disclosure-button-legacy.cjs.entry.js} +5 -5
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
- package/dist/cjs/{gux-dropdown-multi-beta.cjs.entry.js → gux-dropdown-multi.cjs.entry.js} +6 -8
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +11 -12
- package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-color.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +7 -6
- package/dist/cjs/{get-slot-text-content-8a021eeb.js → gux-form-field-fieldset-container-1abe7d3b.js} +0 -6
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number_3.cjs.entry.js +12 -12
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -4
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-range.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-search.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +7 -6
- package/dist/cjs/gux-icon.cjs.entry.js +4 -6
- package/dist/cjs/gux-inline-alert.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +7 -6
- package/dist/cjs/gux-loading-message.cjs.entry.js +24 -0
- package/dist/cjs/gux-modal.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-multi.cjs.entry.js +8 -2
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +277 -0
- package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +137 -121
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +4 -4
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +76 -0
- package/dist/cjs/gux-pagination.cjs.entry.js +50 -25
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +76 -54
- package/dist/cjs/gux-popup.cjs.entry.js +27 -12
- package/dist/cjs/gux-radial-loading.cjs.entry.js +22 -3
- package/dist/cjs/gux-radial-progress.cjs.entry.js +11 -25
- package/dist/cjs/gux-rating.cjs.entry.js +2 -2
- package/dist/cjs/gux-region-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-row-select.cjs.entry.js +4 -6
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/{gux-skip-navigation-list-beta.cjs.entry.js → gux-skip-navigation-list.cjs.entry.js} +2 -2
- package/dist/cjs/gux-sort-control.cjs.entry.js +6 -6
- package/dist/cjs/gux-submenu.cjs.entry.js +40 -35
- package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-select-popover.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +9 -3
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +9 -3
- package/dist/cjs/{gux-table-toolbar-beta.cjs.entry.js → gux-table-toolbar.cjs.entry.js} +3 -3
- package/dist/cjs/{gux-table-beta.cjs.entry.js → gux-table.cjs.entry.js} +20 -112
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs.cjs.entry.js +6 -3
- package/dist/cjs/gux-tag.cjs.entry.js +80 -0
- package/dist/cjs/gux-text-highlight.cjs.entry.js +9 -8
- package/dist/cjs/gux-time-beta.cjs.entry.js +7 -4
- package/dist/cjs/{gux-time-picker-beta.cjs.entry.js → gux-time-picker.cjs.entry.js} +6 -6
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +7739 -0
- package/dist/cjs/gux-toast.cjs.entry.js +2 -2
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -0
- package/dist/cjs/gux-tooltip.cjs.entry.js +44 -10
- package/dist/cjs/index-0d0fdb85.js +50 -66
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-1066593d.js → usage-89e1afa4.js} +3 -1
- package/dist/collection/collection-manifest.json +35 -38
- package/dist/collection/components/beta/gux-announce/gux-announce.css +1 -1
- package/dist/collection/components/beta/gux-announce/gux-announce.js +1 -1
- package/dist/collection/components/beta/gux-date/gux-date.js +27 -1
- package/dist/collection/components/beta/gux-date-time/gux-date-time.js +27 -1
- package/dist/collection/components/beta/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.css +4 -0
- package/dist/collection/components/beta/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +39 -37
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.css +2 -2
- package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.css +1 -1
- package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
- package/dist/collection/components/beta/gux-time/gux-time.js +27 -1
- package/dist/collection/components/beta/gux-time-zone-picker/generic-zones.js +438 -0
- package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.css +19 -0
- package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +247 -0
- package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.css +163 -0
- package/dist/collection/components/{stable/gux-advanced-dropdown → legacy/gux-advanced-dropdown-legacy}/dropdown-option/gux-dropdown-option.css +3 -4
- package/dist/collection/components/{stable/gux-advanced-dropdown → 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.css +136 -0
- package/dist/collection/components/{stable/gux-advanced-dropdown → legacy/gux-advanced-dropdown-legacy}/gux-advanced-dropdown.js +4 -4
- package/dist/collection/components/{stable/gux-disclosure-button → legacy/gux-disclosure-button-legacy}/gux-disclosure-button.css +6 -5
- package/dist/collection/components/{stable/gux-disclosure-button → legacy/gux-disclosure-button-legacy}/gux-disclosure-button.js +3 -3
- package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.css +118 -0
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-button.service.js +91 -0
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons-legacy.css +95 -0
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +167 -0
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts-legacy.css +11 -0
- package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-item-counts-beta/gux-pagination-item-counts-beta.js → legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js} +5 -10
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page-legacy.css +26 -0
- package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-items-per-page-beta/gux-pagination-items-per-page-beta.js → legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js} +6 -6
- package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-beta.css → legacy/gux-pagination-legacy/gux-pagination-legacy.css} +9 -11
- package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-beta.js → legacy/gux-pagination-legacy/gux-pagination.js} +54 -80
- package/dist/collection/components/legacy/{gux-simple-toast → gux-simple-toast-legacy}/gux-simple-toast.css +1 -1
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.css +129 -42
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +8 -13
- package/dist/collection/components/stable/gux-accordion/gux-accordion.css +1 -1
- package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
- package/dist/collection/components/stable/gux-action-button/gux-action-button.css +1 -0
- package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
- package/dist/collection/components/stable/gux-alert/gux-inline-alert.css +2 -1
- package/dist/collection/components/stable/gux-badge/gux-badge.css +97 -0
- package/dist/collection/components/{beta → stable}/gux-badge/gux-badge.js +3 -28
- package/dist/collection/components/stable/gux-blank-state/gux-blank-state.css +98 -0
- package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +29 -0
- package/dist/collection/components/stable/gux-button/gux-button.css +43 -3
- package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -19
- package/dist/collection/components/{beta → stable}/gux-button-slot/gux-button-slot.css +43 -3
- package/dist/collection/components/{beta → stable}/gux-button-slot/gux-button-slot.js +2 -2
- package/dist/collection/components/stable/gux-calendar/gux-calendar.css +3 -3
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +128 -0
- package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +2 -2
- package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager.css +9 -1
- package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager.js +3 -3
- package/dist/collection/components/stable/gux-content-search/gux-content-search.css +11 -7
- package/dist/collection/components/stable/gux-content-search/gux-content-search.js +3 -2
- package/dist/collection/components/stable/gux-context-menu/gux-context-menu.css +48 -0
- package/dist/collection/components/{beta → stable}/gux-context-menu/gux-context-menu.js +22 -3
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.css +1 -1
- package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.css +16 -26
- package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.css +57 -43
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +9 -29
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.css +91 -0
- package/dist/collection/components/{beta → 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.css +209 -0
- package/dist/collection/components/{beta → stable}/gux-dropdown-multi/gux-dropdown-multi.js +11 -31
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +143 -47
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +146 -52
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.css +77 -23
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.css +92 -36
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +133 -55
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +146 -51
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +109 -73
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +154 -50
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +145 -54
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.css +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +3 -3
- package/dist/collection/components/stable/gux-icon/gux-icon.js +3 -5
- package/dist/collection/components/stable/gux-icon/gux-icon.service.js +1 -1
- package/dist/collection/components/stable/gux-icon/icons/custom/carousel.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/custom/co-browse.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/custom/file-pen-question.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/custom/filter-notification.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/custom/font-regular-highlight.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/custom/list-alphabetical-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/custom/list-roman-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/custom/one-button.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/custom/person-running.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/custom/quick-reply.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/custom/three-button.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/alarm-clock-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/alarm-snooze-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/arrows-to-circle-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/award-solid.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/backward-step-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/bell-on-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/bell-slash-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/circle-plus-solid.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/comment-dots-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/diagram-nested-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/face-frown-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/face-frown-solid.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/face-laugh-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/face-laugh-solid.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/file-exclamation-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/forward-step-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/function-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/google.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/hand-back-point-right-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/list-radio-clean-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/microsoft.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/pause-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/pen-slash-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/play-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/regular-user-circle-arrow-left.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/square-dashed-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/stop-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/subscript-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/superscript-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/user-group-solid.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/volume-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/volume-xmark-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/wand-magic-sparkles-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/windows.svg +1 -0
- package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.css +1 -1
- 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.css +27 -15
- 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.css +1 -1
- package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
- package/dist/collection/components/stable/gux-listbox/gux-listbox.css +17 -12
- package/dist/collection/components/stable/gux-listbox/gux-listbox.js +30 -12
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.css +40 -19
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +3 -2
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +44 -25
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +3 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.css +28 -21
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -1
- package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.css +17 -13
- package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +27 -9
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +45 -31
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +10 -3
- package/dist/collection/components/stable/gux-loading-message/gux-loading-message.css +102 -0
- package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +28 -0
- package/dist/collection/components/stable/gux-modal/gux-modal.css +2 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-button.service.js +105 -62
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.css +35 -50
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +33 -40
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.css +31 -0
- package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-buttons-beta → stable/gux-pagination/gux-pagination-buttons}/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +2 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.css +9 -7
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +7 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.css +13 -6
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +2 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination.css +14 -7
- package/dist/collection/components/stable/gux-pagination/gux-pagination.js +77 -51
- package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.css +14 -28
- package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.js +4 -4
- package/dist/collection/components/stable/gux-popover/gux-popover.css +21 -46
- package/dist/collection/components/stable/gux-popover/gux-popover.js +95 -70
- package/dist/collection/components/stable/gux-popover-list/gux-popover-list.css +14 -65
- package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +97 -65
- package/dist/collection/components/stable/gux-popup/gux-popup.css +11 -0
- package/dist/collection/components/stable/gux-popup/gux-popup.js +22 -11
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.css +188 -31
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.functional.js +11 -0
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +2 -1
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.service.js +4 -0
- package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.css +30 -27
- package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.functional.js +3 -6
- package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.js +2 -28
- package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.service.js +5 -6
- package/dist/collection/components/stable/gux-rating/gux-rating.css +24 -7
- package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
- package/dist/collection/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.css +4 -2
- package/dist/collection/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
- package/dist/collection/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-list.css +3 -1
- package/dist/collection/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-list.js +2 -2
- package/dist/collection/components/stable/gux-switch/gux-switch-item/gux-switch-item.css +66 -18
- package/dist/collection/components/stable/gux-switch/gux-switch-item/gux-switch-item.js +1 -1
- package/dist/collection/components/stable/gux-switch/gux-switch.css +2 -2
- package/dist/collection/components/stable/gux-switch/gux-switch.js +1 -1
- package/dist/collection/components/{beta → stable}/gux-table/gux-all-row-select/gux-all-row-select.css +2 -2
- package/dist/collection/components/{beta → stable}/gux-table/gux-all-row-select/gux-all-row-select.js +5 -6
- package/dist/collection/components/{beta → stable}/gux-table/gux-row-select/gux-row-select.css +2 -2
- package/dist/collection/components/{beta → stable}/gux-table/gux-row-select/gux-row-select.js +6 -7
- package/dist/collection/components/{beta → stable}/gux-table/gux-sort-control/gux-sort-control.css +9 -20
- package/dist/collection/components/{beta → stable}/gux-table/gux-sort-control/gux-sort-control.js +6 -6
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.css +63 -0
- package/dist/collection/components/{beta → stable}/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
- package/dist/collection/components/{beta → stable}/gux-table/gux-table-select-menu/gux-table-select-popover/gux-table-header-popover.js +3 -3
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-popover/gux-table-select-popover.css +12 -0
- package/dist/collection/components/stable/gux-table/gux-table.css +80 -0
- package/dist/collection/components/{beta → stable}/gux-table/gux-table.js +20 -121
- package/dist/collection/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.css +1 -1
- package/dist/collection/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
- package/dist/collection/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.css +7 -5
- package/dist/collection/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +8 -2
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.css +31 -0
- package/dist/collection/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +20 -2
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.css +51 -0
- package/dist/collection/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.css +56 -6
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +4 -3
- package/dist/collection/components/stable/gux-tabs/gux-tabs.css +14 -0
- package/dist/collection/components/stable/gux-tabs/gux-tabs.js +22 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.css +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.css +1 -1
- package/dist/collection/components/stable/gux-tag/gux-tag.css +155 -0
- package/dist/collection/components/{beta → stable}/gux-tag/gux-tag.js +27 -32
- package/dist/collection/components/stable/gux-text-highlight/gux-text-highlight.css +5 -2
- package/dist/collection/components/stable/gux-text-highlight/gux-text-highlight.js +25 -6
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.css +121 -0
- package/dist/collection/components/{beta → stable}/gux-time-picker/gux-time-picker.js +4 -4
- package/dist/collection/components/stable/gux-toast/gux-toast.js +1 -1
- package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.css +45 -5
- package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +1 -1
- package/dist/collection/components/stable/gux-toggle/gux-toggle.css +4 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle.js +1 -1
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.css +103 -7
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +83 -8
- package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +5 -0
- package/dist/collection/i18n/DateTimeFormatter.js +6 -9
- package/dist/collection/i18n/time-zone/identifiers.js +460 -0
- package/dist/collection/utils/date/get-valid-timezone.js +7 -0
- package/dist/collection/utils/dom/find-element-by-id.js +10 -3
- package/dist/collection/utils/dom/has-parent-element.js +4 -0
- package/dist/component-specs.json +717 -314
- package/dist/deploy-info.json +3 -3
- package/dist/esm/{find-element-by-id-758a0703.js → find-element-by-id-7c5f4fbf.js} +10 -3
- package/dist/esm/{floating-ui.dom.esm-48871497.js → floating-ui.dom.esm-c86d3efa.js} +71 -1
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/get-slot-text-content-2e086993.js +6 -0
- package/dist/esm/get-valid-timezone-4b39f118.js +517 -0
- package/dist/esm/gux-accordion-section.entry.js +5 -10
- package/dist/esm/gux-accordion.entry.js +1 -1
- package/dist/esm/gux-action-button.entry.js +3 -3
- package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
- package/dist/esm/{gux-advanced-dropdown.entry.js → gux-advanced-dropdown-legacy.entry.js} +6 -6
- package/dist/esm/gux-all-row-select.entry.js +3 -5
- package/dist/esm/gux-announce-beta.entry.js +1 -1
- package/dist/esm/gux-badge.entry.js +64 -0
- package/dist/esm/gux-blank-state.entry.js +20 -0
- package/dist/esm/gux-breadcrumbs.entry.js +1 -1
- package/dist/esm/gux-button-multi.entry.js +2 -3
- package/dist/esm/gux-button-slot.entry.js +41 -0
- package/dist/esm/gux-button.entry.js +2 -2
- package/dist/esm/gux-calendar.entry.js +2 -2
- package/dist/esm/gux-card.entry.js +1 -1
- package/dist/esm/gux-column-manager-item.entry.js +3 -3
- package/dist/esm/{gux-column-manager-beta.entry.js → gux-column-manager.entry.js} +7 -5
- package/dist/esm/gux-content-search.entry.js +11 -8
- package/dist/esm/{gux-context-menu-beta.entry.js → gux-context-menu.entry.js} +5 -4
- package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
- package/dist/esm/gux-create-option.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +6 -3
- package/dist/esm/gux-date-time-beta.entry.js +6 -3
- package/dist/esm/gux-datepicker.entry.js +3 -3
- package/dist/esm/{gux-disclosure-button.entry.js → gux-disclosure-button-legacy.entry.js} +5 -5
- package/dist/esm/gux-dismiss-button.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
- package/dist/esm/{gux-dropdown-multi-beta.entry.js → gux-dropdown-multi.entry.js} +6 -8
- package/dist/esm/gux-dropdown-option.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +11 -12
- package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
- package/dist/esm/gux-form-field-color.entry.js +2 -2
- package/dist/esm/gux-form-field-dropdown.entry.js +6 -5
- package/dist/esm/{get-slot-text-content-b2a8af86.js → gux-form-field-fieldset-container-02a0becc.js} +1 -6
- package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
- package/dist/esm/gux-form-field-number_3.entry.js +12 -12
- package/dist/esm/gux-form-field-phone.entry.js +4 -3
- package/dist/esm/gux-form-field-radio.entry.js +2 -2
- package/dist/esm/gux-form-field-range.entry.js +2 -2
- package/dist/esm/gux-form-field-search.entry.js +2 -2
- package/dist/esm/gux-form-field-select.entry.js +2 -2
- package/dist/esm/gux-form-field-text-like.entry.js +2 -2
- package/dist/esm/gux-form-field-textarea.entry.js +2 -2
- package/dist/esm/gux-form-field-time-picker.entry.js +6 -5
- package/dist/esm/gux-icon.entry.js +4 -6
- package/dist/esm/gux-inline-alert.entry.js +2 -2
- package/dist/esm/gux-list-item.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +1 -1
- package/dist/esm/gux-listbox-multi.entry.js +7 -6
- package/dist/esm/gux-loading-message.entry.js +20 -0
- package/dist/esm/gux-modal.entry.js +2 -2
- package/dist/esm/gux-month-calendar.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +1 -1
- package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-option-icon.entry.js +1 -1
- package/dist/esm/gux-option-multi.entry.js +8 -2
- package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +271 -0
- package/dist/esm/gux-pagination-buttons_3.entry.js +137 -121
- package/dist/esm/gux-pagination-cursor.entry.js +4 -4
- package/dist/esm/gux-pagination-legacy.entry.js +72 -0
- package/dist/esm/gux-pagination.entry.js +51 -26
- package/dist/esm/gux-phone-input-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +76 -54
- package/dist/esm/gux-popup.entry.js +28 -13
- package/dist/esm/gux-radial-loading.entry.js +23 -4
- package/dist/esm/gux-radial-progress.entry.js +11 -25
- package/dist/esm/gux-rating.entry.js +2 -2
- package/dist/esm/gux-region-icon.entry.js +1 -1
- package/dist/esm/gux-row-select.entry.js +4 -6
- package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
- package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
- package/dist/esm/{gux-skip-navigation-list-beta.entry.js → gux-skip-navigation-list.entry.js} +2 -2
- package/dist/esm/gux-sort-control.entry.js +6 -6
- package/dist/esm/gux-submenu.entry.js +40 -35
- package/dist/esm/gux-switch-item.entry.js +1 -1
- package/dist/esm/gux-switch.entry.js +2 -2
- package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
- package/dist/esm/gux-tab-advanced.entry.js +1 -1
- package/dist/esm/gux-tab-panel.entry.js +3 -3
- package/dist/esm/gux-table-select-menu.entry.js +2 -2
- package/dist/esm/gux-table-select-popover.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +9 -3
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +9 -3
- package/dist/esm/{gux-table-toolbar-beta.entry.js → gux-table-toolbar.entry.js} +3 -3
- package/dist/esm/{gux-table-beta.entry.js → gux-table.entry.js} +20 -112
- package/dist/esm/gux-tabs-advanced.entry.js +1 -1
- package/dist/esm/gux-tabs.entry.js +6 -3
- package/dist/esm/gux-tag.entry.js +76 -0
- package/dist/esm/gux-text-highlight.entry.js +9 -8
- package/dist/esm/gux-time-beta.entry.js +6 -3
- package/dist/esm/{gux-time-picker-beta.entry.js → gux-time-picker.entry.js} +6 -6
- package/dist/esm/gux-time-zone-picker-beta.entry.js +7735 -0
- package/dist/esm/gux-toast.entry.js +2 -2
- package/dist/esm/gux-toggle-slider.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +2 -2
- package/dist/esm/gux-tooltip-title.entry.js +5 -0
- package/dist/esm/gux-tooltip.entry.js +44 -10
- package/dist/esm/index-0b66fe2c.js +50 -66
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-4f6d345a.js → usage-09e38ac3.js} +3 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.css +31 -2
- 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/icons/custom/carousel.svg +1 -0
- package/dist/genesys-webcomponents/icons/custom/co-browse.svg +1 -0
- package/dist/genesys-webcomponents/icons/custom/file-pen-question.svg +1 -0
- package/dist/genesys-webcomponents/icons/custom/filter-notification.svg +1 -0
- package/dist/genesys-webcomponents/icons/custom/font-regular-highlight.svg +1 -0
- package/dist/genesys-webcomponents/icons/custom/list-alphabetical-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/custom/list-roman-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/custom/one-button.svg +1 -0
- package/dist/genesys-webcomponents/icons/custom/person-running.svg +1 -0
- package/dist/genesys-webcomponents/icons/custom/quick-reply.svg +1 -0
- package/dist/genesys-webcomponents/icons/custom/three-button.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/alarm-clock-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/alarm-snooze-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/arrows-to-circle-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/award-solid.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/backward-step-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/bell-on-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/bell-slash-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/circle-plus-solid.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/comment-dots-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/diagram-nested-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/face-frown-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/face-frown-solid.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/face-laugh-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/face-laugh-solid.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/file-exclamation-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/forward-step-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/function-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/google.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/hand-back-point-right-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/list-radio-clean-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/microsoft.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/pause-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/pen-slash-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/play-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/regular-user-circle-arrow-left.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/square-dashed-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/stop-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/subscript-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/superscript-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/user-group-solid.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/volume-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/volume-xmark-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/wand-magic-sparkles-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/windows.svg +1 -0
- package/dist/genesys-webcomponents/p-04151f21.entry.js +1 -0
- package/dist/genesys-webcomponents/p-07bf7a4c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e5bd69c3.entry.js → p-0cac78cf.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1d314f8d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-9dacadda.entry.js → p-1f18c382.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-42b85103.entry.js → p-1f225914.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1fd76470.entry.js +1 -0
- package/dist/genesys-webcomponents/p-211cc1db.js +1 -0
- package/dist/genesys-webcomponents/p-213effa0.entry.js +1 -0
- package/dist/genesys-webcomponents/p-26d85bc6.entry.js +1 -0
- package/dist/genesys-webcomponents/p-290e81a8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-014145e0.entry.js → p-299063d7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2c12eaa2.entry.js +1 -0
- package/dist/genesys-webcomponents/p-2dbabd46.entry.js +1 -0
- package/dist/genesys-webcomponents/p-2e8bfff9.entry.js +1 -0
- package/dist/genesys-webcomponents/p-3031a578.entry.js +1 -0
- package/dist/genesys-webcomponents/p-314075a7.entry.js +1 -0
- package/dist/genesys-webcomponents/p-34f1acb2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8983bfc9.entry.js → p-380f6c4a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-39e12286.entry.js +1 -0
- package/dist/genesys-webcomponents/p-3d6b25da.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c7631270.entry.js → p-4ada7287.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4d87e663.entry.js +1 -0
- package/dist/genesys-webcomponents/p-4e2b5bcf.js +1 -0
- package/dist/genesys-webcomponents/p-5229c638.entry.js +1 -0
- package/dist/genesys-webcomponents/p-5676eed0.entry.js +1 -0
- package/dist/genesys-webcomponents/p-567e91a2.entry.js +1 -0
- package/dist/genesys-webcomponents/p-57b7d2db.entry.js +1 -0
- package/dist/genesys-webcomponents/p-580e3d1c.entry.js +1 -0
- package/dist/genesys-webcomponents/p-5c2bdb13.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-06a92400.entry.js → p-5f22855f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5f833125.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4534b0f0.entry.js → p-6161680e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f45cc72b.entry.js → p-6635a6ed.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6bff9eb3.entry.js +1 -0
- package/dist/genesys-webcomponents/p-7037907d.js +1 -0
- package/dist/genesys-webcomponents/{p-b9c87f54.entry.js → p-715ee2ff.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-716f776d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d7246c95.entry.js → p-7229870f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7a24829d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a06e7e87.entry.js → p-7b44bdd0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7c5d3642.entry.js +1 -0
- package/dist/genesys-webcomponents/p-7e7fee3c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-143fe634.entry.js → p-803427c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-825ac3ee.entry.js +1 -0
- package/dist/genesys-webcomponents/p-82ffe3cc.js +1 -0
- package/dist/genesys-webcomponents/p-831456f4.entry.js +1 -0
- package/dist/genesys-webcomponents/p-83f26f44.entry.js +1 -0
- package/dist/genesys-webcomponents/p-848ca0c0.entry.js +1 -0
- package/dist/genesys-webcomponents/p-8920a5e5.js +1 -0
- package/dist/genesys-webcomponents/p-8988c6ea.entry.js +1 -0
- package/dist/genesys-webcomponents/p-8c7108f3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0b9e9b2b.entry.js → p-8d5a4d79.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-90ff863b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-91184639.entry.js +1 -0
- package/dist/genesys-webcomponents/p-9714c54b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-97851d0d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d3e3fc7e.entry.js → p-99624b0e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9bb6bb13.entry.js +1 -0
- package/dist/genesys-webcomponents/p-9be45fa0.entry.js +1 -0
- package/dist/genesys-webcomponents/p-a00879eb.entry.js +1 -0
- package/dist/genesys-webcomponents/p-a0a97154.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5dc689bf.entry.js → p-a3f3562a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1ac2967a.entry.js → p-aa0236c9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-aa2f9991.js +1 -0
- package/dist/genesys-webcomponents/p-b277b403.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f8394b8b.entry.js → p-b2932c8d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-baffeea7.entry.js +1 -0
- package/dist/genesys-webcomponents/p-bc18ea3b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-bcbab73b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-be6c1375.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4d250c8c.entry.js → p-c1b368fa.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c3a2ac37.entry.js +1 -0
- package/dist/genesys-webcomponents/p-c3d5a975.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7b43f40b.entry.js → p-c609ed18.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c6522787.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5dd0ef71.entry.js → p-c985b725.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80953a09.entry.js → p-c9f7655e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cdcadde4.entry.js +1 -0
- package/dist/genesys-webcomponents/p-ce376c15.entry.js +1 -0
- package/dist/genesys-webcomponents/p-d38658e5.entry.js +1 -0
- package/dist/genesys-webcomponents/p-d5e44599.entry.js +1 -0
- package/dist/genesys-webcomponents/p-d6e7c0e1.entry.js +1 -0
- package/dist/genesys-webcomponents/p-dbe0631c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c4211421.entry.js → p-dbf341b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-dd4dd851.entry.js +1 -0
- package/dist/genesys-webcomponents/p-e0d0738a.entry.js +1 -0
- package/dist/genesys-webcomponents/p-e2bb64f4.entry.js +1 -0
- package/dist/genesys-webcomponents/p-e34d132a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-28b46426.entry.js → p-e48fe4a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e50f9a83.entry.js +1 -0
- package/dist/genesys-webcomponents/p-e81db5bb.entry.js +1 -0
- package/dist/genesys-webcomponents/p-ec3c2e09.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bef1d03d.entry.js → p-ec4835d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ed37740a.entry.js +1 -0
- package/dist/genesys-webcomponents/p-ef02d456.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fa04b5af.entry.js → p-ef6a3e5c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ef910e9b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-f2401676.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-aa3734af.entry.js → p-f29679b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f508b954.entry.js +1 -0
- package/dist/genesys-webcomponents/p-f54b4919.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-007a89c8.entry.js → p-f84402f5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f9d1baff.entry.js +1 -0
- package/dist/genesys-webcomponents/p-fbfb797b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-98ae6571.entry.js → p-fe5c99a1.entry.js} +1 -1
- package/dist/genesys-webcomponents/scss/focus.scss +48 -0
- package/dist/genesys-webcomponents/scss/style-reset-focusable.scss +23 -0
- package/dist/genesys-webcomponents/scss/style-reset-typography.scss +26 -0
- package/dist/genesys-webcomponents/scss/typography.scss +127 -0
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-date/gux-date.d.ts +5 -0
- package/dist/types/components/beta/gux-date-time/gux-date-time.d.ts +5 -0
- package/dist/types/components/beta/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.d.ts +4 -4
- package/dist/types/components/beta/gux-time/gux-time.d.ts +8 -0
- package/dist/types/components/beta/gux-time-zone-picker/generic-zones.d.ts +15 -0
- package/dist/types/components/beta/gux-time-zone-picker/gux-time-zone-picker.d.ts +35 -0
- package/dist/types/components/beta/gux-time-zone-picker/gux-time-zone-picker.types.d.ts +22 -0
- package/dist/types/components/{stable/gux-advanced-dropdown → legacy/gux-advanced-dropdown-legacy}/gux-advanced-dropdown.d.ts +1 -1
- package/dist/types/components/{stable/gux-disclosure-button → legacy/gux-disclosure-button-legacy}/gux-disclosure-button.d.ts +1 -1
- package/dist/types/components/{beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-button-beta.service.d.ts → legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-button.service.d.ts} +1 -1
- package/dist/types/components/{beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-buttons-beta.d.ts → legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.d.ts} +10 -7
- package/dist/types/components/{beta/gux-pagination-beta/gux-pagination-item-counts-beta/gux-pagination-item-counts-beta.d.ts → legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.d.ts} +1 -2
- package/dist/types/components/{beta/gux-pagination-beta/gux-pagination-items-per-page-beta/gux-pagination-items-per-page-beta.d.ts → legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.d.ts} +2 -2
- package/dist/types/components/{beta/gux-pagination-beta/gux-pagination-beta.d.ts → legacy/gux-pagination-legacy/gux-pagination.d.ts} +9 -18
- package/dist/types/components/legacy/gux-pagination-legacy/gux-pagination.types.d.ts +6 -0
- package/dist/types/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.d.ts +1 -2
- package/dist/types/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.types.d.ts +1 -1
- package/dist/types/components/{beta → stable}/gux-badge/gux-badge.d.ts +1 -2
- package/dist/types/components/{beta → stable}/gux-badge/gux-badge.types.d.ts +0 -1
- package/dist/types/components/{beta → stable}/gux-blank-state/gux-blank-state.d.ts +0 -8
- package/dist/types/components/stable/gux-button-multi/gux-button-multi.d.ts +0 -4
- package/dist/types/components/{beta → stable}/gux-button-slot/gux-button-slot.d.ts +1 -1
- package/dist/types/components/{beta → stable}/gux-context-menu/gux-context-menu.d.ts +4 -0
- package/dist/types/components/stable/gux-dropdown/gux-dropdown.d.ts +0 -4
- package/dist/types/components/{beta → stable}/gux-dropdown-multi/gux-dropdown-multi.d.ts +1 -5
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.d.ts +1 -1
- package/dist/types/components/stable/gux-form-field/gux-form-field.service.d.ts +1 -1
- package/dist/types/components/stable/gux-icon/gux-icon.service.d.ts +1 -1
- package/dist/types/components/stable/gux-icon/gux-icon.types.d.ts +1 -1
- package/dist/types/components/stable/gux-listbox/gux-listbox.d.ts +2 -1
- package/dist/types/components/stable/gux-listbox-multi/gux-listbox-multi.d.ts +2 -1
- package/dist/types/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.d.ts +1 -0
- package/dist/types/components/{beta → stable}/gux-loading-message/gux-loading-message.d.ts +0 -10
- package/dist/types/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-button.service.d.ts +1 -1
- package/dist/types/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.d.ts +4 -7
- package/dist/types/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.d.ts +1 -0
- package/dist/types/components/stable/gux-pagination/gux-pagination.d.ts +17 -8
- package/dist/types/components/stable/gux-pagination/gux-pagination.types.d.ts +1 -5
- package/dist/types/components/stable/gux-pagination-cursor/gux-pagination-cursor.d.ts +1 -1
- package/dist/types/components/stable/gux-popover/gux-popover.d.ts +12 -9
- package/dist/types/components/stable/gux-popover-list/gux-popover-list.d.ts +12 -9
- package/dist/types/components/stable/gux-popup/gux-popup.d.ts +1 -0
- package/dist/types/components/stable/gux-radial-loading/gux-radial-loading.functional.d.ts +8 -0
- package/dist/types/components/stable/gux-radial-loading/gux-radial-loading.service.d.ts +4 -0
- package/dist/types/components/stable/gux-radial-progress/gux-radial-progress.d.ts +0 -6
- package/dist/types/components/stable/gux-radial-progress/gux-radial-progress.functional.d.ts +0 -6
- package/dist/types/components/stable/gux-radial-progress/gux-radial-progress.service.d.ts +4 -3
- package/dist/types/components/{beta → stable}/gux-table/gux-row-select/gux-row-select.d.ts +1 -0
- package/dist/types/components/{beta → stable}/gux-table/gux-table.d.ts +1 -25
- package/dist/types/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.d.ts +1 -0
- package/dist/types/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.d.ts +3 -0
- package/dist/types/components/stable/gux-tabs/gux-tabs.d.ts +4 -0
- package/dist/types/components/{beta → stable}/gux-tag/gux-tag.d.ts +3 -16
- package/dist/types/components/stable/gux-tag/gux-tag.types.d.ts +1 -0
- package/dist/types/components/stable/gux-text-highlight/gux-text-highlight.d.ts +4 -0
- package/dist/types/components/{beta → stable}/gux-time-picker/gux-time-picker.d.ts +1 -1
- package/dist/types/components/stable/gux-tooltip/gux-tooltip-types.d.ts +1 -0
- package/dist/types/components/stable/gux-tooltip/gux-tooltip.d.ts +5 -0
- package/dist/types/components.d.ts +354 -473
- package/dist/types/i18n/DateTimeFormatter.d.ts +3 -3
- package/dist/types/i18n/time-zone/identifiers.d.ts +1 -0
- package/dist/types/i18n/time-zone/types.d.ts +2 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/dist/types/utils/date/get-valid-timezone.d.ts +2 -0
- package/dist/types/utils/dom/calculate-input-disabled-state.d.ts +1 -1
- package/dist/types/utils/dom/has-parent-element.d.ts +1 -0
- package/dist/types/utils/dom/on-attribute-change.d.ts +2 -2
- package/dist/types/utils/dom/on-input-disabled-state-change.d.ts +1 -1
- package/package.json +3 -1
- package/dist/cjs/DateTimeFormatter-8deff48e.js +0 -54
- package/dist/cjs/gux-badge-beta.cjs.entry.js +0 -70
- package/dist/cjs/gux-blank-state-beta.cjs.entry.js +0 -68
- package/dist/cjs/gux-button-slot-beta.cjs.entry.js +0 -45
- package/dist/cjs/gux-error-message-beta.cjs.entry.js +0 -24
- package/dist/cjs/gux-loading-message-beta.cjs.entry.js +0 -68
- package/dist/cjs/gux-pagination-beta.cjs.entry.js +0 -101
- package/dist/cjs/gux-pagination-buttons-beta_2.cjs.entry.js +0 -255
- package/dist/cjs/gux-pagination-items-per-page-beta.cjs.entry.js +0 -46
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +0 -139
- package/dist/cjs/gux-popover.cjs.entry.js +0 -133
- package/dist/cjs/gux-tab-panel-beta.cjs.entry.js +0 -34
- package/dist/cjs/gux-tag-beta.cjs.entry.js +0 -84
- package/dist/collection/components/beta/gux-badge/gux-badge.css +0 -83
- package/dist/collection/components/beta/gux-blank-state/gux-blank-state-constants.js +0 -5
- package/dist/collection/components/beta/gux-blank-state/gux-blank-state.css +0 -61
- package/dist/collection/components/beta/gux-blank-state/gux-blank-state.js +0 -75
- package/dist/collection/components/beta/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +0 -80
- package/dist/collection/components/beta/gux-context-menu/gux-context-menu.css +0 -20
- package/dist/collection/components/beta/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.css +0 -50
- package/dist/collection/components/beta/gux-dropdown-multi/gux-dropdown-multi.css +0 -161
- package/dist/collection/components/beta/gux-error-message-beta/gux-error-message-beta.css +0 -24
- package/dist/collection/components/beta/gux-error-message-beta/gux-error-message-beta.js +0 -27
- package/dist/collection/components/beta/gux-loading-message/gux-loading-message-constants.js +0 -5
- package/dist/collection/components/beta/gux-loading-message/gux-loading-message.css +0 -55
- package/dist/collection/components/beta/gux-loading-message/gux-loading-message.js +0 -75
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-button-beta.service.js +0 -134
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-buttons-beta.css +0 -96
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-buttons-beta.js +0 -160
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.css +0 -30
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-item-counts-beta/gux-pagination-item-counts-beta.css +0 -10
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-items-per-page-beta/gux-pagination-items-per-page-beta.css +0 -29
- package/dist/collection/components/beta/gux-popover-beta/gux-popover-beta.css +0 -61
- package/dist/collection/components/beta/gux-popover-beta/gux-popover-beta.js +0 -267
- package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list-beta.css +0 -46
- package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list-beta.js +0 -257
- package/dist/collection/components/beta/gux-tab-panel-beta/gux-tab-panel-beta.css +0 -8
- package/dist/collection/components/beta/gux-tab-panel-beta/gux-tab-panel-beta.js +0 -107
- package/dist/collection/components/beta/gux-table/gux-table-select-menu/gux-table-select-menu.css +0 -30
- package/dist/collection/components/beta/gux-table/gux-table-select-menu/gux-table-select-popover/gux-table-select-popover.css +0 -12
- package/dist/collection/components/beta/gux-table/gux-table.css +0 -74
- package/dist/collection/components/beta/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.css +0 -35
- package/dist/collection/components/beta/gux-table-toolbar/gux-table-toolbar.css +0 -52
- package/dist/collection/components/beta/gux-tag/gux-tag.css +0 -461
- package/dist/collection/components/beta/gux-time-picker/gux-time-picker.css +0 -134
- package/dist/collection/components/legacy/gux-action-toast/gux-action-toast.css +0 -267
- package/dist/collection/components/legacy/gux-notification-toast/gux-notification-toast.css +0 -221
- package/dist/collection/components/stable/gux-advanced-dropdown/gux-advanced-dropdown.css +0 -85
- package/dist/collection/components/stable/gux-popover/gux-popover.types.js +0 -1
- package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.types.js +0 -1
- package/dist/collection/style/fonts/roboto-v20-latin-300.svg +0 -1
- package/dist/collection/style/fonts/roboto-v20-latin-700.svg +0 -309
- package/dist/collection/style/fonts/roboto-v20-latin-italic.svg +0 -323
- package/dist/collection/style/fonts/roboto-v20-latin-regular.svg +0 -308
- package/dist/esm/DateTimeFormatter-bb057477.js +0 -52
- package/dist/esm/gux-badge-beta.entry.js +0 -66
- package/dist/esm/gux-blank-state-beta.entry.js +0 -64
- package/dist/esm/gux-button-slot-beta.entry.js +0 -41
- package/dist/esm/gux-error-message-beta.entry.js +0 -20
- package/dist/esm/gux-loading-message-beta.entry.js +0 -64
- package/dist/esm/gux-pagination-beta.entry.js +0 -97
- package/dist/esm/gux-pagination-buttons-beta_2.entry.js +0 -250
- package/dist/esm/gux-pagination-items-per-page-beta.entry.js +0 -42
- package/dist/esm/gux-popover-list-beta.entry.js +0 -135
- package/dist/esm/gux-popover.entry.js +0 -129
- package/dist/esm/gux-tab-panel-beta.entry.js +0 -30
- package/dist/esm/gux-tag-beta.entry.js +0 -80
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-300.eot +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-300.svg +0 -1
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-300.ttf +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-300.woff +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-300.woff2 +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-700.eot +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-700.svg +0 -309
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-700.ttf +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-700.woff +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-700.woff2 +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-italic.eot +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-italic.svg +0 -323
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-italic.ttf +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-italic.woff +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-italic.woff2 +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-regular.eot +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-regular.svg +0 -308
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-regular.ttf +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-regular.woff +0 -0
- package/dist/genesys-webcomponents/fonts/roboto-v20-latin-regular.woff2 +0 -0
- package/dist/genesys-webcomponents/less/color-palette.less +0 -105
- package/dist/genesys-webcomponents/less/focus.less +0 -48
- package/dist/genesys-webcomponents/less/shadows.less +0 -17
- package/dist/genesys-webcomponents/less/spacing.less +0 -12
- package/dist/genesys-webcomponents/less/typography.less +0 -162
- package/dist/genesys-webcomponents/p-00dba256.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0187cfca.entry.js +0 -1
- package/dist/genesys-webcomponents/p-04215fd3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0501a8ad.entry.js +0 -1
- package/dist/genesys-webcomponents/p-06b92ca2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-06f30929.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0a111975.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0a686dd4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0db3479d.js +0 -1
- package/dist/genesys-webcomponents/p-0e7dc170.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0eaec165.entry.js +0 -1
- package/dist/genesys-webcomponents/p-12a34636.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1322db24.entry.js +0 -1
- package/dist/genesys-webcomponents/p-17385760.js +0 -1
- package/dist/genesys-webcomponents/p-1aab5a86.entry.js +0 -1
- package/dist/genesys-webcomponents/p-210bc5a8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-227ba754.entry.js +0 -1
- package/dist/genesys-webcomponents/p-22a428f3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-235edbf8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-27b1150a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2ca3f5bd.entry.js +0 -1
- package/dist/genesys-webcomponents/p-34890311.entry.js +0 -1
- package/dist/genesys-webcomponents/p-370563b8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3a86180c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3d65f3b8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3f96ede4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-40037e9a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-42d93c14.entry.js +0 -1
- package/dist/genesys-webcomponents/p-43748f70.entry.js +0 -1
- package/dist/genesys-webcomponents/p-43d22f9f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4973d037.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4ba3a4d7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4bd9fcee.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4d7cbbbf.entry.js +0 -1
- package/dist/genesys-webcomponents/p-50fae429.entry.js +0 -1
- package/dist/genesys-webcomponents/p-55c943ad.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5a3e613a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5e666e72.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5e8b1690.entry.js +0 -1
- package/dist/genesys-webcomponents/p-60ddf4af.entry.js +0 -1
- package/dist/genesys-webcomponents/p-616c083d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6319cc9d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6357fd4f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6370cb48.js +0 -1
- package/dist/genesys-webcomponents/p-70c68f78.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7410f336.entry.js +0 -1
- package/dist/genesys-webcomponents/p-763ee30d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7d614de7.js +0 -1
- package/dist/genesys-webcomponents/p-7e49d86d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7f17b7c6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-81c3fa5a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-821fa621.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8b068f71.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8c3381ee.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8c3b568d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8d8eb1cc.entry.js +0 -1
- package/dist/genesys-webcomponents/p-92db2ccc.entry.js +0 -1
- package/dist/genesys-webcomponents/p-94c730d5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9784842e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9a5e67c6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9cd12de7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a4b4144f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a4db12b6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a83dd958.entry.js +0 -1
- package/dist/genesys-webcomponents/p-af48a4c4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b3148424.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c0bd9ed3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c4820c41.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c8e08089.entry.js +0 -1
- package/dist/genesys-webcomponents/p-cb2e0d0e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-cbb3c659.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d5d77807.entry.js +0 -1
- package/dist/genesys-webcomponents/p-dd312964.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e1ea5be7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ec218689.js +0 -1
- package/dist/genesys-webcomponents/p-f0d98b64.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f2fea056.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f9768ae7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fc5ef376.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fc64f71e.entry.js +0 -1
- package/dist/types/components/beta/gux-blank-state/gux-blank-state-constants.d.ts +0 -5
- package/dist/types/components/beta/gux-blank-state/gux-blank-state.types.d.ts +0 -1
- package/dist/types/components/beta/gux-error-message-beta/gux-error-message-beta.d.ts +0 -10
- package/dist/types/components/beta/gux-loading-message/gux-loading-message-constants.d.ts +0 -5
- package/dist/types/components/beta/gux-loading-message/gux-loading-message-size.types.d.ts +0 -1
- package/dist/types/components/beta/gux-pagination-beta/gux-pagination-beta.types.d.ts +0 -2
- package/dist/types/components/beta/gux-popover-beta/gux-popover-beta.d.ts +0 -44
- package/dist/types/components/beta/gux-popover-list-beta/gux-popover-list-beta.d.ts +0 -41
- package/dist/types/components/beta/gux-tab-panel-beta/gux-tab-panel-beta.d.ts +0 -18
- package/dist/types/components/beta/gux-tag/gux-tag.types.d.ts +0 -2
- package/dist/types/components/stable/gux-popover/gux-popover.types.d.ts +0 -1
- package/dist/types/components/stable/gux-popover-list/gux-popover-list.types.d.ts +0 -1
- package/dist/types/components/stable/gux-radial-progress/gux-radial-progress.types.d.ts +0 -1
- /package/dist/cjs/{en-b3076cac.js → en-2a12d7c4.js} +0 -0
- /package/dist/cjs/{en-dc1f49b7.js → en-d1b32383.js} +0 -0
- /package/dist/cjs/{gux-column-manager.service-94f84964.js → gux-column-manager.service-8a71e1f3.js} +0 -0
- /package/dist/collection/components/beta/{gux-badge/gux-badge.types.js → gux-time-zone-picker/gux-time-zone-picker.types.js} +0 -0
- /package/dist/collection/components/legacy/{gux-action-toast → gux-action-toast-legacy}/gux-action-toast.js +0 -0
- /package/dist/collection/components/{stable/gux-disclosure-button → legacy/gux-disclosure-button-legacy}/gux-disclosure-button.types.js +0 -0
- /package/dist/collection/components/legacy/{gux-notification-toast → gux-notification-toast-legacy}/gux-notification-toast.js +0 -0
- /package/dist/collection/components/legacy/{gux-notification-toast → gux-notification-toast-legacy}/gux-notification-toast.types.js +0 -0
- /package/dist/collection/components/{beta/gux-blank-state/gux-blank-state.types.js → legacy/gux-pagination-legacy/gux-pagination.types.js} +0 -0
- /package/dist/collection/components/legacy/{gux-simple-toast → gux-simple-toast-legacy}/gux-simple-toast.js +0 -0
- /package/dist/collection/components/legacy/{gux-simple-toast → gux-simple-toast-legacy}/gux-simple-toast.types.js +0 -0
- /package/dist/collection/components/{beta/gux-column-manager/gux-column-manager.types.js → stable/gux-badge/gux-badge.types.js} +0 -0
- /package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager-item/gux-column-manager-item.service.js +0 -0
- /package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager.service.js +0 -0
- /package/dist/collection/components/{beta/gux-loading-message/gux-loading-message-size.types.js → stable/gux-column-manager/gux-column-manager.types.js} +0 -0
- /package/dist/collection/components/{beta → stable}/gux-table/gux-sort-control/tests/gux-sort-control.markup.js +0 -0
- /package/dist/collection/components/{beta → stable}/gux-table/gux-table.types.js +0 -0
- /package/dist/collection/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.types.js +0 -0
- /package/dist/collection/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar-action-accents.types.js +0 -0
- /package/dist/collection/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar.constants.js +0 -0
- /package/dist/collection/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar.service.js +0 -0
- /package/dist/collection/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar.types.js +0 -0
- /package/dist/collection/components/{beta → stable}/gux-tag/gux-tag.types.js +0 -0
- /package/dist/collection/components/{beta → stable}/gux-time-picker/gux-time-picker.service.js +0 -0
- /package/dist/collection/components/{beta → stable}/gux-time-picker/gux-time-picker.type.js +0 -0
- /package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-beta.types.js → stable/gux-tooltip/gux-tooltip-types.js} +0 -0
- /package/dist/collection/{components/stable/gux-popover-list/gux-popover-list.types.js → i18n/time-zone/types.js} +0 -0
- /package/dist/esm/{en-66f138f8.js → en-5ed282a0.js} +0 -0
- /package/dist/esm/{en-5d726a81.js → en-6c4aef39.js} +0 -0
- /package/dist/esm/{gux-column-manager.service-07ddccf5.js → gux-column-manager.service-a9ea5c54.js} +0 -0
- /package/dist/genesys-webcomponents/{p-e310debb.js → p-1aa11396.js} +0 -0
- /package/dist/genesys-webcomponents/{p-62913396.js → p-4a6ae41e.js} +0 -0
- /package/dist/genesys-webcomponents/{p-89af02eb.js → p-abb9b5f7.js} +0 -0
- /package/dist/types/components/legacy/{gux-action-toast → gux-action-toast-legacy}/gux-action-toast.d.ts +0 -0
- /package/dist/types/components/{stable/gux-advanced-dropdown → legacy/gux-advanced-dropdown-legacy}/dropdown-option/gux-dropdown-option.d.ts +0 -0
- /package/dist/types/components/{stable/gux-disclosure-button → legacy/gux-disclosure-button-legacy}/gux-disclosure-button.types.d.ts +0 -0
- /package/dist/types/components/legacy/{gux-notification-toast → gux-notification-toast-legacy}/gux-notification-toast.d.ts +0 -0
- /package/dist/types/components/legacy/{gux-notification-toast → gux-notification-toast-legacy}/gux-notification-toast.types.d.ts +0 -0
- /package/dist/types/components/legacy/{gux-simple-toast → gux-simple-toast-legacy}/gux-simple-toast.d.ts +0 -0
- /package/dist/types/components/legacy/{gux-simple-toast → gux-simple-toast-legacy}/gux-simple-toast.types.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager-item/gux-column-manager-item.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager-item/gux-column-manager-item.service.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager.service.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager.types.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.d.ts +0 -0
- /package/dist/types/components/{beta/gux-pagination-beta/gux-pagination-buttons-beta → stable/gux-pagination/gux-pagination-buttons}/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-list.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-table/gux-all-row-select/gux-all-row-select.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-table/gux-sort-control/gux-sort-control.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-table/gux-sort-control/tests/gux-sort-control.markup.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-table/gux-table-select-menu/gux-table-select-menu.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-table/gux-table-select-menu/gux-table-select-popover/gux-table-header-popover.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-table/gux-table.types.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.types.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar-action-accents.types.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar.constants.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar.service.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-table-toolbar/gux-table-toolbar.types.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-time-picker/gux-time-picker.service.d.ts +0 -0
- /package/dist/types/components/{beta → stable}/gux-time-picker/gux-time-picker.type.d.ts +0 -0
@@ -4,4 +4,4 @@ import{r as t,c as n,d as i,w as o,h as e,g as r}from"./p-7d26b2e1.js";import{O
|
|
4
4
|
* @author RubaXa <trash@rubaxa.org>
|
5
5
|
* @author owenm <owen23355@gmail.com>
|
6
6
|
* @license MIT
|
7
|
-
*/function h(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.push.apply(i,o)}return i}function d(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?h(Object(i),!0).forEach((function(n){b(t,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}))}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 b(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function v(){return v=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},v.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),x=g(/firefox/i),w=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,n,i){t.addEventListener(n,i,!m&&S)}function O(t,n,i){t.removeEventListener(n,i,!m&&S)}function k(t,n){if(n){if(">"===n[0]&&(n=n.substring(1)),t)try{if(t.matches)return t.matches(n);if(t.msMatchesSelector)return t.msMatchesSelector(n);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(n)}catch(t){return!1}return!1}}function M(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,n,i,o){if(t){i=i||document;do{if(null!=n&&(">"===n[0]?t.parentNode===i&&k(t,n):k(t,n))||o&&t===i)return t;if(t===i)break}while(t=M(t))}return null}var C,j=/\s+/g;function A(t,n,i){if(t&&n)if(t.classList)t.classList[i?"add":"remove"](n);else{var o=(" "+t.className+" ").replace(j," ").replace(" "+n+" "," ");t.className=(o+(i?" "+n:"")).replace(j," ")}}function D(t,n,i){var o=t&&t.style;if(o){if(void 0===i)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(i=t.currentStyle),void 0===n?i:i[n];n in o||-1!==n.indexOf("webkit")||(n="-webkit-"+n),o[n]=i+("string"==typeof i?"":"px")}}function _(t,n){var i="";if("string"==typeof t)i=t;else do{var o=D(t,"transform");o&&"none"!==o&&(i=o+" "+i)}while(!n&&(t=t.parentNode));var e=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return e&&new e(i)}function z(t,n,i){if(t){var o=t.getElementsByTagName(n),e=0,r=o.length;if(i)for(;e<r;e++)i(o[e],e);return o}return[]}function R(){return document.scrollingElement||document.documentElement}function L(t,n,i,o,e){if(t.getBoundingClientRect||t===window){var r,a,s,u,c,l,h;if(t!==window&&t.parentNode&&t!==R()?(a=(r=t.getBoundingClientRect()).top,s=r.left,u=r.bottom,c=r.right,l=r.height,h=r.width):(a=0,s=0,u=window.innerHeight,c=window.innerWidth,l=window.innerHeight,h=window.innerWidth),(n||i)&&t!==window&&(e=e||t.parentNode,!m))do{if(e&&e.getBoundingClientRect&&("none"!==D(e,"transform")||i&&"static"!==D(e,"position"))){var d=e.getBoundingClientRect();a-=d.top+parseInt(D(e,"border-top-width")),s-=d.left+parseInt(D(e,"border-left-width")),u=a+r.height,c=s+r.width;break}}while(e=e.parentNode);if(o&&t!==window){var f=_(e||t),b=f&&f.a,v=f&&f.d;f&&(u=(a/=v)+(l/=v),c=(s/=b)+(h/=b))}return{top:a,left:s,bottom:u,right:c,width:h,height:l}}}function N(t,n,i){for(var o=G(t,!0),e=L(t)[n];o;){var r=L(o)[i];if(!("top"===i||"left"===i?e>=r:e<=r))return o;if(o===R())break;o=G(o,!1)}return!1}function F(t,n,i,o){for(var e=0,r=0,a=t.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==Kt.ghost&&(o||a[r]!==Kt.dragged)&&I(a[r],i.draggable,t,!1)){if(e===n)return a[r];e++}r++}return null}function H(t,n){for(var i=t.lastElementChild;i&&(i===Kt.ghost||"none"===D(i,"display")||n&&!k(i,n));)i=i.previousElementSibling;return i||null}function P(t,n){var i=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Kt.clone||n&&!k(t,n)||i++;return i}function B(t){var n=0,i=0,o=R();if(t)do{var e=_(t);n+=t.scrollLeft*e.a,i+=t.scrollTop*e.d}while(t!==o&&(t=t.parentNode));return[n,i]}function G(t,n){if(!t||!t.getBoundingClientRect)return R();var i=t,o=!1;do{if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var e=D(i);if(i.clientWidth<i.scrollWidth&&("auto"==e.overflowX||"scroll"==e.overflowX)||i.clientHeight<i.scrollHeight&&("auto"==e.overflowY||"scroll"==e.overflowY)){if(!i.getBoundingClientRect||i===document.body)return R();if(o||n)return i;o=!0}}}while(i=i.parentNode);return R()}function W(t,n){return Math.round(t.top)===Math.round(n.top)&&Math.round(t.left)===Math.round(n.left)&&Math.round(t.height)===Math.round(n.height)&&Math.round(t.width)===Math.round(n.width)}function K(t,n){return function(){if(!C){var i=arguments;1===i.length?t.call(this,i[0]):t.apply(this,i),C=setTimeout((function(){C=void 0}),n)}}}function U(t,n,i){t.scrollLeft+=n,t.scrollTop+=i}function X(t){var n=window.Polymer,i=window.jQuery||window.Zepto;return n&&n.dom?n.dom(t).cloneNode(!0):i?i(t).clone(!0)[0]:t.cloneNode(!0)}var Y="Sortable"+(new Date).getTime();var $=[],V={initializeByDefault:!0},Z={mount:function(t){for(var n in V)V.hasOwnProperty(n)&&!(n in t)&&(t[n]=V[n]);$.forEach((function(n){if(n.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),$.push(t)},pluginEvent:function(t,n,i){var o=this;this.eventCanceled=!1,i.cancel=function(){o.eventCanceled=!0};var e=t+"Global";$.forEach((function(o){n[o.pluginName]&&(n[o.pluginName][e]&&n[o.pluginName][e](d({sortable:n},i)),n.options[o.pluginName]&&n[o.pluginName][t]&&n[o.pluginName][t](d({sortable:n},i)))}))},initializePlugins:function(t,n,i){for(var o in $.forEach((function(o){var e=o.pluginName;if(t.options[e]||o.initializeByDefault){var r=new o(t,n,t.options);r.sortable=t,r.options=t.options,t[e]=r,v(i,r.defaults)}})),t.options)if(t.options.hasOwnProperty(o)){var e=this.modifyOption(t,o,t.options[o]);void 0!==e&&(t.options[o]=e)}},getEventProperties:function(t,n){var i={};return $.forEach((function(o){"function"==typeof o.eventProperties&&v(i,o.eventProperties.call(n[o.pluginName],t))})),i},modifyOption:function(t,n,i){var o;return $.forEach((function(e){t[e.pluginName]&&e.optionListeners&&"function"==typeof e.optionListeners[n]&&(o=e.optionListeners[n].call(t[e.pluginName],i))})),o}},q=["evt"],J=function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.evt,e=function(t,n){if(null==t)return{};var i,o,e=function(t,n){if(null==t)return{};var i,o,e={},r=Object.keys(t);for(o=0;o<r.length;o++)n.indexOf(i=r[o])>=0||(e[i]=t[i]);return e}(t,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(o=0;o<r.length;o++)n.indexOf(i=r[o])>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(e[i]=t[i])}return e}(i,q);Z.pluginEvent.bind(Kt)(t,n,d({dragEl:tt,parentEl:nt,ghostEl:it,rootEl:ot,nextEl:et,lastDownEl:rt,cloneEl:at,cloneHidden:st,dragStarted:wt,putSortable:ft,activeSortable:Kt.active,originalEvent:o,oldIndex:ut,oldDraggableIndex:lt,newIndex:ct,newDraggableIndex:ht,hideGhostForTarget:Pt,unhideGhostForTarget:Bt,cloneNowHidden:function(){st=!0},cloneNowShown:function(){st=!1},dispatchSortableEvent:function(t){Q({sortable:n,name:t,originalEvent:o})}},e))};function Q(t){!function(t){var n=t.sortable,i=t.rootEl,o=t.name,e=t.targetEl,r=t.cloneEl,a=t.toEl,s=t.fromEl,u=t.oldIndex,c=t.newIndex,l=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,b=t.putSortable,v=t.extraEventProperties;if(n=n||i&&i[Y]){var g,x=n.options,w="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(o,!0,!0):g=new CustomEvent(o,{bubbles:!0,cancelable:!0}),g.to=a||i,g.from=s||i,g.item=e||i,g.clone=r,g.oldIndex=u,g.newIndex=c,g.oldDraggableIndex=l,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=b?b.lastPutMode:void 0;var y=d(d({},v),Z.getEventProperties(o,n));for(var E in y)g[E]=y[E];i&&i.dispatchEvent(g),x[w]&&x[w].call(n,g)}}(d({putSortable:ft,cloneEl:at,targetEl:tt,rootEl:ot,oldIndex:ut,oldDraggableIndex:lt,newIndex:ct,newDraggableIndex:ht},t))}var tt,nt,it,ot,et,rt,at,st,ut,ct,lt,ht,dt,ft,bt,vt,gt,mt,pt,xt,wt,yt,Et,St,Tt,Ot=!1,kt=!1,Mt=[],It=!1,Ct=!1,jt=[],At=!1,Dt=[],_t="undefined"!=typeof document,zt=y,Rt=p||m?"cssFloat":"float",Lt=_t&&!E&&!y&&"draggable"in document.createElement("div"),Nt=function(){if(_t){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Ft=function(t,n){var i=D(t),o=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),e=F(t,0,n),r=F(t,1,n),a=e&&D(e),s=r&&D(r),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+L(e).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(r).width;return"flex"===i.display?"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal":"grid"===i.display?i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":e&&a.float&&"none"!==a.float?!r||"both"!==s.clear&&s.clear!==("left"===a.float?"left":"right")?"horizontal":"vertical":e&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||u>=o&&"none"===i[Rt]||r&&"none"===i[Rt]&&u+c>o)?"vertical":"horizontal"},Ht=function(t){function n(t,i){return function(o,e,r,a){if(null==t&&(i||o.options.group.name&&e.options.group.name&&o.options.group.name===e.options.group.name))return!0;if(null==t||!1===t)return!1;if(i&&"clone"===t)return t;if("function"==typeof t)return n(t(o,e,r,a),i)(o,e,r,a);var s=(i?o:e).options.group.name;return!0===t||"string"==typeof t&&t===s||t.join&&t.indexOf(s)>-1}}var i={},o=t.group;o&&"object"==f(o)||(o={name:o}),i.name=o.name,i.checkPull=n(o.pull,!0),i.checkPut=n(o.put),i.revertClone=o.revertClone,t.group=i},Pt=function(){!Nt&&it&&D(it,"display","none")},Bt=function(){!Nt&&it&&D(it,"display","")};_t&&!E&&document.addEventListener("click",(function(t){if(kt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),kt=!1,!1}),!0);var Gt=function(t){if(tt){var n=(e=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,Mt.some((function(t){var n=t[Y].options.emptyInsertThreshold;if(n&&!H(t)){var i=L(t);return e>=i.left-n&&e<=i.right+n&&r>=i.top-n&&r<=i.bottom+n?a=t:void 0}})),a);if(n){var i={};for(var o in t)t.hasOwnProperty(o)&&(i[o]=t[o]);i.target=i.rootEl=n,i.preventDefault=void 0,i.stopPropagation=void 0,n[Y]._onDragOver(i)}}var e,r,a},Wt=function(t){tt&&tt.parentNode[Y]._isOutsideThisEl(t.target)};function Kt(t,n){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=n=v({},n),t[Y]=this;var i,o,e={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,n){t.setData("Text",n.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!==Kt.supportPointer&&"PointerEvent"in window&&!w,emptyInsertThreshold:5};for(var r in Z.initializePlugins(this,t,e),e)!(r in n)&&(n[r]=e[r]);for(var a in Ht(n),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!n.forceFallback&&Lt,this.nativeDraggable&&(this.options.touchStartThreshold=1),n.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)),Mt.push(this.el),n.store&&n.store.get&&this.sort(n.store.get(this)||[]),v(this,(o=[],{captureAnimationState:function(){o=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==D(t,"display")&&t!==Kt.ghost){o.push({target:t,rect:L(t)});var n=d({},o[o.length-1].rect);if(t.thisAnimationDuration){var i=_(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}}))},addAnimationState:function(t){o.push(t)},removeAnimationState:function(t){o.splice(function(t,n){for(var i in t)if(t.hasOwnProperty(i))for(var o in n)if(n.hasOwnProperty(o)&&n[o]===t[i][o])return Number(i);return-1}(o,{target:t}),1)},animateAll:function(t){var n=this;if(!this.options.animation)return clearTimeout(i),void("function"==typeof t&&t());var e=!1,r=0;o.forEach((function(t){var i=0,o=t.target,a=o.fromRect,s=L(o),u=o.prevFromRect,c=o.prevToRect,l=t.rect,h=_(o,!0);h&&(s.top-=h.f,s.left-=h.e),o.toRect=s,o.thisAnimationDuration&&W(u,s)&&!W(a,s)&&(l.top-s.top)/(l.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(i=function(t,n,i,o){return Math.sqrt(Math.pow(n.top-t.top,2)+Math.pow(n.left-t.left,2))/Math.sqrt(Math.pow(n.top-i.top,2)+Math.pow(n.left-i.left,2))*o.animation}(l,u,c,n.options)),W(s,a)||(o.prevFromRect=a,o.prevToRect=s,i||(i=n.options.animation),n.animate(o,l,s,i)),i&&(e=!0,r=Math.max(r,i),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),i),o.thisAnimationDuration=i)})),clearTimeout(i),e?i=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),o=[]},animate:function(t,n,i,o){if(o){D(t,"transition",""),D(t,"transform","");var e=_(this.el),r=(n.left-i.left)/(e&&e.a||1),a=(n.top-i.top)/(e&&e.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 "+o+"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}),o)}}}))}function Ut(t,n,i,o,e,r,a,s){var u,c,l=t[Y],h=l.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=n,u.from=t,u.dragged=i,u.draggedRect=o,u.related=e||n,u.relatedRect=r||L(n),u.willInsertAfter=s,u.originalEvent=a,t.dispatchEvent(u),h&&(c=h.call(l,u,a)),c}function Xt(t){t.draggable=!1}function Yt(){At=!1}function $t(t){for(var n=t.tagName+t.className+t.src+t.href+t.textContent,i=n.length,o=0;i--;)o+=n.charCodeAt(i);return o.toString(36)}function Vt(t){return setTimeout(t,0)}function Zt(t){return clearTimeout(t)}Kt.prototype={constructor:Kt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(yt=null)},_getDirection:function(t,n){return"function"==typeof this.options.direction?this.options.direction.call(this,t,n,tt):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,i=this.el,o=this.options,e=o.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,c=o.filter;if(function(t){Dt.length=0;for(var n=t.getElementsByTagName("input"),i=n.length;i--;){var o=n[i];o.checked&&Dt.push(o)}}(i),!tt&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||o.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!w||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=I(s,o.draggable,i,!1))&&s.animated||rt===s)){if(ut=P(s),lt=P(s,o.draggable),"function"==typeof c){if(c.call(this,t,s,this))return Q({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:i,fromEl:i}),J("filter",n,{evt:t}),void(e&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(o){if(o=I(u,o.trim(),i,!1))return Q({sortable:n,rootEl:o,name:"filter",targetEl:s,fromEl:i,toEl:i}),J("filter",n,{evt:t}),!0}))))return void(e&&t.cancelable&&t.preventDefault());o.handle&&!I(u,o.handle,i,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,n,i){var o,e=this,r=e.el,a=e.options,s=r.ownerDocument;if(i&&!tt&&i.parentNode===r){var u=L(i);if(ot=r,nt=(tt=i).parentNode,et=tt.nextSibling,rt=i,dt=a.group,Kt.dragged=tt,pt=(bt={target:tt,clientX:(n||t).clientX,clientY:(n||t).clientY}).clientX-u.left,xt=bt.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,tt.style["will-change"]="all",o=function(){J("delayEnded",e,{evt:t}),Kt.eventCanceled?e._onDrop():(e._disableDelayedDragEvents(),!x&&e.nativeDraggable&&(tt.draggable=!0),e._triggerDragStart(t,n),Q({sortable:e,name:"choose",originalEvent:t}),A(tt,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){z(tt,t.trim(),Xt)})),T(s,"dragover",Gt),T(s,"mousemove",Gt),T(s,"touchmove",Gt),T(s,"mouseup",e._onDrop),T(s,"touchend",e._onDrop),T(s,"touchcancel",e._onDrop),x&&this.nativeDraggable&&(this.options.touchStartThreshold=4,tt.draggable=!0),J("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!n||this.nativeDraggable&&(p||m))o();else{if(Kt.eventCanceled)return void this._onDrop();T(s,"mouseup",e._disableDelayedDrag),T(s,"touchend",e._disableDelayedDrag),T(s,"touchcancel",e._disableDelayedDrag),T(s,"mousemove",e._delayedDragTouchMoveHandler),T(s,"touchmove",e._delayedDragTouchMoveHandler),a.supportPointer&&T(s,"pointermove",e._delayedDragTouchMoveHandler),e._dragStartTimer=setTimeout(o,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){tt&&Xt(tt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||"touch"==t.pointerType&&t,!this.nativeDraggable||n?T(document,this.options.supportPointer?"pointermove":n?"touchmove":"mousemove",this._onTouchMove):(T(tt,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?Vt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,n){if(Ot=!1,ot&&tt){J("dragStarted",this,{evt:n}),this.nativeDraggable&&T(document,"dragover",Wt);var i=this.options;!t&&A(tt,i.dragClass,!1),A(tt,i.ghostClass,!0),Kt.active=this,t&&this._appendGhost(),Q({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(vt){this._lastX=vt.clientX,this._lastY=vt.clientY,Pt();for(var t=document.elementFromPoint(vt.clientX,vt.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(vt.clientX,vt.clientY))!==n;)n=t;if(tt.parentNode[Y]._isOutsideThisEl(t),n)do{if(n[Y]&&n[Y]._onDragOver({clientX:vt.clientX,clientY:vt.clientY,target:t,rootEl:n})&&!this.options.dragoverBubble)break;t=n}while(n=n.parentNode);Bt()}},_onTouchMove:function(t){if(bt){var n=this.options,i=n.fallbackTolerance,o=n.fallbackOffset,e=t.touches?t.touches[0]:t,r=it&&_(it,!0),a=it&&r&&r.a,s=it&&r&&r.d,u=zt&&Tt&&B(Tt),c=(e.clientX-bt.clientX+o.x)/(a||1)+(u?u[0]-jt[0]:0)/(a||1),l=(e.clientY-bt.clientY+o.y)/(s||1)+(u?u[1]-jt[1]:0)/(s||1);if(!Kt.active&&!Ot){if(i&&Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))<i)return;this._onDragStart(t,!0)}if(it){r?(r.e+=c-(gt||0),r.f+=l-(mt||0)):r={a:1,b:0,c:0,d:1,e:c,f:l};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(it,"webkitTransform",h),D(it,"mozTransform",h),D(it,"msTransform",h),D(it,"transform",h),gt=c,mt=l,vt=e}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!it){var t=this.options.fallbackOnBody?document.body:ot,n=L(tt,!0,zt,!0,t),i=this.options;if(zt){for(Tt=t;"static"===D(Tt,"position")&&"none"===D(Tt,"transform")&&Tt!==document;)Tt=Tt.parentNode;Tt!==document.body&&Tt!==document.documentElement?(Tt===document&&(Tt=R()),n.top+=Tt.scrollTop,n.left+=Tt.scrollLeft):Tt=R(),jt=B(Tt)}A(it=tt.cloneNode(!0),i.ghostClass,!1),A(it,i.fallbackClass,!0),A(it,i.dragClass,!0),D(it,"transition",""),D(it,"transform",""),D(it,"box-sizing","border-box"),D(it,"margin",0),D(it,"top",n.top),D(it,"left",n.left),D(it,"width",n.width),D(it,"height",n.height),D(it,"opacity","0.8"),D(it,"position",zt?"absolute":"fixed"),D(it,"zIndex","100000"),D(it,"pointerEvents","none"),Kt.ghost=it,t.appendChild(it),D(it,"transform-origin",pt/parseInt(it.style.width)*100+"% "+xt/parseInt(it.style.height)*100+"%")}},_onDragStart:function(t,n){var i=this,o=t.dataTransfer,e=i.options;J("dragStart",this,{evt:t}),Kt.eventCanceled?this._onDrop():(J("setupClone",this),Kt.eventCanceled||((at=X(tt)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),A(at,this.options.chosenClass,!1),Kt.clone=at),i.cloneId=Vt((function(){J("clone",i),Kt.eventCanceled||(i.options.removeCloneOnHide||ot.insertBefore(at,tt),i._hideClone(),Q({sortable:i,name:"clone"}))})),!n&&A(tt,e.dragClass,!0),n?(kt=!0,i._loopId=setInterval(i._emulateDragOver,50)):(O(document,"mouseup",i._onDrop),O(document,"touchend",i._onDrop),O(document,"touchcancel",i._onDrop),o&&(o.effectAllowed="move",e.setData&&e.setData.call(i,o,tt)),T(document,"drop",i),D(tt,"transform","translateZ(0)")),Ot=!0,i._dragStartId=Vt(i._dragStarted.bind(i,n,t)),T(document,"selectstart",i),wt=!0,w&&D(document.body,"user-select","none"))},_onDragOver:function(t){var n,i,o,e,r=this.el,a=t.target,s=this.options,u=s.group,c=Kt.active,l=dt===u,h=s.sort,f=ft||c,b=this,v=!1;if(!At){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=I(a,s.draggable,r,!0),_("dragOver"),Kt.eventCanceled)return v;if(tt.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||b._ignoreWhileAnimating===a)return R(!1);if(kt=!1,c&&!s.disabled&&(l?h||(o=nt!==ot):ft===this||(this.lastPutMode=dt.checkPull(this,c,tt,t))&&u.checkPut(this,c,tt,t))){if(e="vertical"===this._getDirection(t,a),n=L(tt),_("dragOverValid"),Kt.eventCanceled)return v;if(o)return nt=ot,z(),this._hideClone(),_("revert"),Kt.eventCanceled||(et?ot.insertBefore(tt,et):ot.appendChild(tt)),R(!0);var g=H(r,s.draggable);if(!g||function(t,n,i){var o=L(H(i.el,i.options.draggable));return n?t.clientX>o.right+10||t.clientX<=o.right&&t.clientY>o.bottom&&t.clientX>=o.left:t.clientX>o.right&&t.clientY>o.top||t.clientX<=o.right&&t.clientY>o.bottom+10}(t,e,this)&&!g.animated){if(g===tt)return R(!1);if(g&&r===t.target&&(a=g),a&&(i=L(a)),!1!==Ut(ot,r,tt,n,a,i,t,!!a))return z(),g&&g.nextSibling?r.insertBefore(tt,g.nextSibling):r.appendChild(tt),nt=r,B(),R(!0)}else if(g&&function(t,n,i){var o=L(F(i.el,0,i.options,!0));return n?t.clientX<o.left-10||t.clientY<o.top&&t.clientX<o.right:t.clientY<o.top-10||t.clientY<o.bottom&&t.clientX<o.left}(t,e,this)){var m=F(r,0,s,!0);if(m===tt)return R(!1);if(i=L(a=m),!1!==Ut(ot,r,tt,n,a,i,t,!1))return z(),r.insertBefore(tt,m),nt=r,B(),R(!0)}else if(a.parentNode===r){i=L(a);var p,x,w,y=tt.parentNode!==r,E=!function(t,n,i){var o=i?t.left:t.top,e=i?n.left:n.top;return o===e||(i?t.right:t.bottom)===(i?n.right:n.bottom)||o+(i?t.width:t.height)/2===e+(i?n.width:n.height)/2}(tt.animated&&tt.toRect||n,a.animated&&a.toRect||i,e),S=e?"top":"left",T=N(a,"top","top")||N(tt,"top","top"),O=T?T.scrollTop:void 0;if(yt!==a&&(x=i[S],It=!1,Ct=!E&&s.invertSwap||y),p=function(t,n,i,o,e,r,a,s){var u=o?t.clientY:t.clientX,c=o?i.height:i.width,l=o?i.top:i.left,h=o?i.bottom:i.right,d=!1;if(!a)if(s&&St<c*e){if(!It&&(1===Et?u>l+c*r/2:u<h-c*r/2)&&(It=!0),It)d=!0;else if(1===Et?u<l+St:u>h-St)return-Et}else if(u>l+c*(1-e)/2&&u<h-c*(1-e)/2)return function(t){return P(tt)<P(t)?1:-1}(n);return(d=d||a)&&(u<l+c*r/2||u>h-c*r/2)?u>l+c/2?1:-1:0}(t,a,i,e,E?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,Ct,yt===a),0!==p){var k=P(tt);do{w=nt.children[k-=p]}while(w&&("none"===D(w,"display")||w===it))}if(0===p||w===a)return R(!1);yt=a,Et=p;var M=a.nextElementSibling,C=!1,j=Ut(ot,r,tt,n,a,i,t,C=1===p);if(!1!==j)return 1!==j&&-1!==j||(C=1===j),At=!0,setTimeout(Yt,30),z(),C&&!M?r.appendChild(tt):a.parentNode.insertBefore(tt,C?M:a),T&&U(T,0,O-T.scrollTop),nt=tt.parentNode,void 0===x||Ct||(St=Math.abs(x-L(a)[S])),B(),R(!0)}if(r.contains(tt))return R(!1)}return!1}function _(s,u){J(s,b,d({evt:t,isOwner:l,axis:e?"vertical":"horizontal",revert:o,dragRect:n,targetRect:i,canSort:h,fromSortable:f,target:a,completed:R,onMove:function(i,o){return Ut(ot,r,tt,n,i,L(i),t,o)},changed:B},u))}function z(){_("dragOverAnimationCapture"),b.captureAnimationState(),b!==f&&f.captureAnimationState()}function R(n){return _("dragOverCompleted",{insertion:n}),n&&(l?c._hideClone():c._showClone(b),b!==f&&(A(tt,ft?ft.options.ghostClass:c.options.ghostClass,!1),A(tt,s.ghostClass,!0)),ft!==b&&b!==Kt.active?ft=b:b===Kt.active&&ft&&(ft=null),f===b&&(b._ignoreWhileAnimating=a),b.animateAll((function(){_("dragOverAnimationComplete"),b._ignoreWhileAnimating=null})),b!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===tt&&!tt.animated||a===r&&!a.animated)&&(yt=null),s.dragoverBubble||t.rootEl||a===document||(tt.parentNode[Y]._isOutsideThisEl(t.target),!n&&Gt(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),v=!0}function B(){ct=P(tt),ht=P(tt,s.draggable),Q({sortable:b,name:"change",toEl:r,newIndex:ct,newDraggableIndex:ht,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,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var n=this.el,i=this.options;ct=P(tt),ht=P(tt,i.draggable),J("drop",this,{evt:t}),nt=tt&&tt.parentNode,ct=P(tt),ht=P(tt,i.draggable),Kt.eventCanceled||(Ot=!1,Ct=!1,It=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Zt(this.cloneId),Zt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),w&&D(document.body,"user-select",""),D(tt,"transform",""),t&&(wt&&(t.cancelable&&t.preventDefault(),!i.dropBubble&&t.stopPropagation()),it&&it.parentNode&&it.parentNode.removeChild(it),(ot===nt||ft&&"clone"!==ft.lastPutMode)&&at&&at.parentNode&&at.parentNode.removeChild(at),tt&&(this.nativeDraggable&&O(tt,"dragend",this),Xt(tt),tt.style["will-change"]="",wt&&!Ot&&A(tt,ft?ft.options.ghostClass:this.options.ghostClass,!1),A(tt,this.options.chosenClass,!1),Q({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ct>=0&&(Q({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),Q({sortable:this,name:"remove",toEl:nt,originalEvent:t}),Q({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),Q({sortable:this,name:"sort",toEl:nt,originalEvent:t})),ft&&ft.save()):ct!==ut&&ct>=0&&(Q({sortable:this,name:"update",toEl:nt,originalEvent:t}),Q({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Kt.active&&(null!=ct&&-1!==ct||(ct=ut,ht=lt),Q({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){J("nulling",this),ot=tt=nt=it=et=at=rt=st=bt=vt=wt=ct=ht=ut=lt=yt=Et=ft=dt=Kt.dragged=Kt.ghost=Kt.clone=Kt.active=null,Dt.forEach((function(t){t.checked=!0})),Dt.length=gt=mt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":tt&&(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,n=[],i=this.el.children,o=0,e=i.length,r=this.options;o<e;o++)I(t=i[o],r.draggable,this.el,!1)&&n.push(t.getAttribute(r.dataIdAttr)||$t(t));return n},sort:function(t,n){var i={},o=this.el;this.toArray().forEach((function(t,n){var e=o.children[n];I(e,this.options.draggable,o,!1)&&(i[t]=e)}),this),n&&this.captureAnimationState(),t.forEach((function(t){i[t]&&(o.removeChild(i[t]),o.appendChild(i[t]))})),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return I(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var i=this.options;if(void 0===n)return i[t];var o=Z.modifyOption(this,t,n);i[t]=void 0!==o?o:n,"group"===t&&Ht(i)},destroy:function(){J("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(),Mt.splice(Mt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!st){if(J("hideClone",this),Kt.eventCanceled)return;D(at,"display","none"),this.options.removeCloneOnHide&&at.parentNode&&at.parentNode.removeChild(at),st=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(st){if(J("showClone",this),Kt.eventCanceled)return;tt.parentNode!=ot||this.options.group.revertClone?et?ot.insertBefore(at,et):ot.appendChild(at):ot.insertBefore(at,tt),this.options.group.revertClone&&this.animate(tt,at),D(at,"display",""),st=!1}}else this._hideClone()}},_t&&T(document,"touchmove",(function(t){(Kt.active||Ot)&&t.cancelable&&t.preventDefault()})),Kt.utils={on:T,off:O,css:D,find:z,is:function(t,n){return!!I(t,n,t,!1)},extend:function(t,n){if(t&&n)for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i]);return t},throttle:K,closest:I,toggleClass:A,clone:X,index:P,nextTick:Vt,cancelNextTick:Zt,detectDirection:Ft,getChild:F},Kt.get=function(t){return t[Y]},Kt.mount=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];n[0].constructor===Array&&(n=n[0]),n.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&&(Kt.utils=d(d({},Kt.utils),t.utils)),Z.mount(t)}))},Kt.create=function(t,n){return new Kt(t,n)},Kt.version="1.15.0";var qt,Jt,Qt,tn,nn,on,en=[],rn=!1;function an(){en.forEach((function(t){clearInterval(t.pid)})),en=[]}function sn(){clearInterval(on)}var un=K((function(t,n,i,o){if(n.scroll){var e,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=n.scrollSensitivity,u=n.scrollSpeed,c=R(),l=!1;Jt!==i&&(Jt=i,an(),e=n.scrollFn,!0===(qt=n.scroll)&&(qt=G(i,!0)));var h=0,d=qt;do{var f=d,b=L(f),v=b.top,g=b.bottom,m=b.left,p=b.right,x=b.width,w=b.height,y=void 0,E=void 0,S=f.scrollWidth,T=f.scrollHeight,O=D(f),k=f.scrollLeft,M=f.scrollTop;f===c?(y=x<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=w<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=x<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=w<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=s&&k+x<S)-(Math.abs(m-r)<=s&&!!k),C=E&&(Math.abs(g-a)<=s&&M+w<T)-(Math.abs(v-a)<=s&&!!M);if(!en[h])for(var j=0;j<=h;j++)en[j]||(en[j]={});en[h].vx==I&&en[h].vy==C&&en[h].el===f||(en[h].el=f,en[h].vx=I,en[h].vy=C,clearInterval(en[h].pid),0==I&&0==C||(l=!0,en[h].pid=setInterval(function(){o&&0===this.layer&&Kt.active._onTouchMove(nn);var n=en[this.layer].vy?en[this.layer].vy*u:0,i=en[this.layer].vx?en[this.layer].vx*u:0;"function"==typeof e&&"continue"!==e.call(Kt.dragged.parentNode[Y],i,n,t,nn,en[this.layer].el)||U(en[this.layer].el,i,n)}.bind({layer:h}),24))),h++}while(n.bubbleScroll&&d!==c&&(d=G(d,!1)));rn=l}}),30),cn=function(t){var n=t.originalEvent,i=t.putSortable,o=t.dragEl,e=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(n){var a=i||t.activeSortable;(0,t.hideGhostForTarget)();var s=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,u=document.elementFromPoint(s.clientX,s.clientY);r(),a&&!a.el.contains(u)&&(e("spill"),this.onSpill({dragEl:o,putSortable:i}))}};function ln(){}function hn(){}ln.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var n=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var o=F(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),i&&i.animateAll()},drop:cn},v(ln,{pluginName:"revertOnSpill"}),hn.prototype={onSpill:function(t){var n=t.dragEl,i=t.putSortable||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:cn},v(hn,{pluginName:"removeOnSpill"}),Kt.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 n=t.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):T(document,this.options.supportPointer?"pointermove":n.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;this.options.dragOverBubble||n.rootEl||this._handleAutoScroll(n)},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)),sn(),an(),clearTimeout(C),C=void 0},nulling:function(){nn=Jt=qt=rn=on=Qt=tn=null,en.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var i=this,o=(t.touches?t.touches[0]:t).clientX,e=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(o,e);if(nn=t,n||this.options.forceAutoScrollFallback||p||m||w){un(t,this.options,r,n);var a=G(r,!0);!rn||on&&o===Qt&&e===tn||(on&&sn(),on=setInterval((function(){var r=G(document.elementFromPoint(o,e),!0);r!==a&&(a=r,an()),un(t,i.options,r,n)}),10),Qt=o,tn=e)}else{if(!this.options.bubbleScroll||G(r,!0)===R())return void an();un(t,this.options,G(r,!1),!1)}}},v(t,{pluginName:"scroll",initializeByDefault:!0})}),Kt.mount(hn,ln);const dn=class{constructor(i){t(this,i),this.newTab=n(this,"newTab",7),this.sortChanged=n(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.tabTriggers=void 0,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.sortTarget=void 0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&s(".gux-scrollable-section",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-scrollable-section").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,n)=>{t.guxGetActive().then((i=>{i?this.focused=n:(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-scrollable-section"),n=t.querySelectorAll("gux-tab-advanced"),i=Array.prototype.indexOf.call(n,this.sortTarget);let o;o=i===n.length-1?n[0]:n[i+2],t.insertBefore(this.sortTarget,o),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),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-scrollable-section"),n=t.querySelectorAll("gux-tab-advanced"),i=Array.prototype.indexOf.call(n,this.sortTarget);t.insertBefore(this.sortTarget,n[i-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),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-scrollable-section").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),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,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),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,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.parentNode.parentNode,this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.initialSortIndex=n)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((n,i)=>{const o=n.tabId===t;n.guxSetActive(o),o&&(this.focused=i)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,n)=>{t.guxGetActive().then((i=>{this.focused===n||i||(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 Kt(this.root.querySelector(".gux-scrollable-section"),{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(){i((()=>{const t=this.root.querySelector(".gux-scrollable-section"),n=t.clientWidth<t.scrollWidth;n!==this.hasScrollbar&&(this.hasScrollbar=n)}))}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 c(this.root,l,"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(){o((()=>{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(){o((()=>{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");o((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");o((()=>{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[e("span",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):""),e("div",{class:"gux-tab-container"},e("div",{class:"action-button-container"},this.renderScrollButton("scrollLeft")),e("div",{role:"tablist",class:"gux-scrollable-section "+(this.keyboardSort?"gux-tab-sorting":""),"aria-owns":this.triggerIds},e("slot",null)),e("div",{class:"action-button-container"},this.renderScrollButton("scrollRight"),this.showNewTabButton?e((t=>e("button",{title:this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab"),class:"add-tab-button",onClick:()=>t.onClick(),disabled:this.disableAddTabButton},e("slot",{name:"add-tab"},e("gux-icon",{"icon-name":"add",decorative:!0})))),{onClick:()=>this.newTab.emit()}):null))]}renderScrollButton(t){return e("div",{class:"gux-scroll-button-container"},this.hasScrollbar?e("button",{tabindex:"-1",title:this.i18n(t),"aria-label":this.i18n(t),class:"gux-scroll-button",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},e("gux-icon",{"icon-name":this.getChevronIconName(t),decorative:!0})):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"chevron-left";case"scrollRight":return"chevron-right"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,n,i,o){var e,r=arguments.length,a=r<3?n:null===o?o=Object.getOwnPropertyDescriptor(n,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,n,i,o);else for(var s=t.length-1;s>=0;s--)(e=t[s])&&(a=(r<3?e(a):r>3?e(n,i,a):e(n,i))||a);r>3&&a&&Object.defineProperty(n,i,a)})([a({childList:!0,subtree:!0})],dn.prototype,"onMutation",null),dn.style="gux-tab-advanced-list .gux-tab-container{display:flex;align-items:flex-end;width:100%;height:50px;margin-bottom:16px;overflow-x:auto;overflow-y:hidden;background-color:#f6f7f9;border-bottom:1px solid #d7dce5;border-radius:4px 4px 0 0}gux-tab-advanced-list .gux-tab-container .action-button-container{display:flex;border-radius:4px}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button{min-width:35px;height:50px;padding:0;margin-left:2px;color:#2e394c;background-color:#e2e6ee;border:none;border-radius:4px;transition:color 0.25s}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button [slot='add-tab']{display:inline-flex;align-items:center;padding:0 12px;white-space:nowrap;font-size:12px;line-height:20px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button [slot='add-tab'] gux-icon{padding-right:8px}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:disabled{opacity:0.5}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:hover{background-color:#d7dce5}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:active{background-color:#c8cfda}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:focus-visible{outline:none;box-shadow:inset 0 0 0 3px #aac9ff}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:focus-visible{border-radius:5px;outline:none;box-shadow:inset 0 0 0 3px #aac9ff}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button gux-icon{width:16px;height:16px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container{display:flex;border-radius:4px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button{display:flex;align-items:center;justify-content:center;width:28px;height:50px;padding:0;color:#2e394c;background-color:#e2e6ee;border:none;border-radius:4px;transition:color 0.25s}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{border:3px solid #aac9ff;border-radius:5px;outline:none}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button gux-icon{width:16px;height:16px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{border:3px solid #aac9ff;outline:none}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:hover{background-color:#d7dce5}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:active{background-color:#c8cfda}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}gux-tab-advanced-list .gux-tab-container .gux-scrollable-section{display:flex;align-items:flex-end;height:50px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}gux-tab-advanced-list .gux-tab-container .gux-scrollable-section::-webkit-scrollbar{height:0}gux-tab-advanced-list .gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{dn as gux_tab_advanced_list}
|
7
|
+
*/function h(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.push.apply(i,o)}return i}function d(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?h(Object(i),!0).forEach((function(n){b(t,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}))}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 b(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function v(){return v=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},v.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),x=g(/firefox/i),w=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,n,i){t.addEventListener(n,i,!m&&S)}function O(t,n,i){t.removeEventListener(n,i,!m&&S)}function k(t,n){if(n){if(">"===n[0]&&(n=n.substring(1)),t)try{if(t.matches)return t.matches(n);if(t.msMatchesSelector)return t.msMatchesSelector(n);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(n)}catch(t){return!1}return!1}}function M(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,n,i,o){if(t){i=i||document;do{if(null!=n&&(">"===n[0]?t.parentNode===i&&k(t,n):k(t,n))||o&&t===i)return t;if(t===i)break}while(t=M(t))}return null}var C,j=/\s+/g;function A(t,n,i){if(t&&n)if(t.classList)t.classList[i?"add":"remove"](n);else{var o=(" "+t.className+" ").replace(j," ").replace(" "+n+" "," ");t.className=(o+(i?" "+n:"")).replace(j," ")}}function D(t,n,i){var o=t&&t.style;if(o){if(void 0===i)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(i=t.currentStyle),void 0===n?i:i[n];n in o||-1!==n.indexOf("webkit")||(n="-webkit-"+n),o[n]=i+("string"==typeof i?"":"px")}}function _(t,n){var i="";if("string"==typeof t)i=t;else do{var o=D(t,"transform");o&&"none"!==o&&(i=o+" "+i)}while(!n&&(t=t.parentNode));var e=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return e&&new e(i)}function z(t,n,i){if(t){var o=t.getElementsByTagName(n),e=0,r=o.length;if(i)for(;e<r;e++)i(o[e],e);return o}return[]}function L(){return document.scrollingElement||document.documentElement}function N(t,n,i,o,e){if(t.getBoundingClientRect||t===window){var r,a,s,u,c,l,h;if(t!==window&&t.parentNode&&t!==L()?(a=(r=t.getBoundingClientRect()).top,s=r.left,u=r.bottom,c=r.right,l=r.height,h=r.width):(a=0,s=0,u=window.innerHeight,c=window.innerWidth,l=window.innerHeight,h=window.innerWidth),(n||i)&&t!==window&&(e=e||t.parentNode,!m))do{if(e&&e.getBoundingClientRect&&("none"!==D(e,"transform")||i&&"static"!==D(e,"position"))){var d=e.getBoundingClientRect();a-=d.top+parseInt(D(e,"border-top-width")),s-=d.left+parseInt(D(e,"border-left-width")),u=a+r.height,c=s+r.width;break}}while(e=e.parentNode);if(o&&t!==window){var f=_(e||t),b=f&&f.a,v=f&&f.d;f&&(u=(a/=v)+(l/=v),c=(s/=b)+(h/=b))}return{top:a,left:s,bottom:u,right:c,width:h,height:l}}}function R(t,n,i){for(var o=G(t,!0),e=N(t)[n];o;){var r=N(o)[i];if(!("top"===i||"left"===i?e>=r:e<=r))return o;if(o===L())break;o=G(o,!1)}return!1}function F(t,n,i,o){for(var e=0,r=0,a=t.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==Kt.ghost&&(o||a[r]!==Kt.dragged)&&I(a[r],i.draggable,t,!1)){if(e===n)return a[r];e++}r++}return null}function H(t,n){for(var i=t.lastElementChild;i&&(i===Kt.ghost||"none"===D(i,"display")||n&&!k(i,n));)i=i.previousElementSibling;return i||null}function P(t,n){var i=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Kt.clone||n&&!k(t,n)||i++;return i}function B(t){var n=0,i=0,o=L();if(t)do{var e=_(t);n+=t.scrollLeft*e.a,i+=t.scrollTop*e.d}while(t!==o&&(t=t.parentNode));return[n,i]}function G(t,n){if(!t||!t.getBoundingClientRect)return L();var i=t,o=!1;do{if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var e=D(i);if(i.clientWidth<i.scrollWidth&&("auto"==e.overflowX||"scroll"==e.overflowX)||i.clientHeight<i.scrollHeight&&("auto"==e.overflowY||"scroll"==e.overflowY)){if(!i.getBoundingClientRect||i===document.body)return L();if(o||n)return i;o=!0}}}while(i=i.parentNode);return L()}function W(t,n){return Math.round(t.top)===Math.round(n.top)&&Math.round(t.left)===Math.round(n.left)&&Math.round(t.height)===Math.round(n.height)&&Math.round(t.width)===Math.round(n.width)}function K(t,n){return function(){if(!C){var i=arguments;1===i.length?t.call(this,i[0]):t.apply(this,i),C=setTimeout((function(){C=void 0}),n)}}}function U(t,n,i){t.scrollLeft+=n,t.scrollTop+=i}function X(t){var n=window.Polymer,i=window.jQuery||window.Zepto;return n&&n.dom?n.dom(t).cloneNode(!0):i?i(t).clone(!0)[0]:t.cloneNode(!0)}var Y="Sortable"+(new Date).getTime();var $=[],V={initializeByDefault:!0},Z={mount:function(t){for(var n in V)V.hasOwnProperty(n)&&!(n in t)&&(t[n]=V[n]);$.forEach((function(n){if(n.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),$.push(t)},pluginEvent:function(t,n,i){var o=this;this.eventCanceled=!1,i.cancel=function(){o.eventCanceled=!0};var e=t+"Global";$.forEach((function(o){n[o.pluginName]&&(n[o.pluginName][e]&&n[o.pluginName][e](d({sortable:n},i)),n.options[o.pluginName]&&n[o.pluginName][t]&&n[o.pluginName][t](d({sortable:n},i)))}))},initializePlugins:function(t,n,i){for(var o in $.forEach((function(o){var e=o.pluginName;if(t.options[e]||o.initializeByDefault){var r=new o(t,n,t.options);r.sortable=t,r.options=t.options,t[e]=r,v(i,r.defaults)}})),t.options)if(t.options.hasOwnProperty(o)){var e=this.modifyOption(t,o,t.options[o]);void 0!==e&&(t.options[o]=e)}},getEventProperties:function(t,n){var i={};return $.forEach((function(o){"function"==typeof o.eventProperties&&v(i,o.eventProperties.call(n[o.pluginName],t))})),i},modifyOption:function(t,n,i){var o;return $.forEach((function(e){t[e.pluginName]&&e.optionListeners&&"function"==typeof e.optionListeners[n]&&(o=e.optionListeners[n].call(t[e.pluginName],i))})),o}},q=["evt"],J=function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.evt,e=function(t,n){if(null==t)return{};var i,o,e=function(t,n){if(null==t)return{};var i,o,e={},r=Object.keys(t);for(o=0;o<r.length;o++)n.indexOf(i=r[o])>=0||(e[i]=t[i]);return e}(t,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(o=0;o<r.length;o++)n.indexOf(i=r[o])>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(e[i]=t[i])}return e}(i,q);Z.pluginEvent.bind(Kt)(t,n,d({dragEl:tt,parentEl:nt,ghostEl:it,rootEl:ot,nextEl:et,lastDownEl:rt,cloneEl:at,cloneHidden:st,dragStarted:wt,putSortable:ft,activeSortable:Kt.active,originalEvent:o,oldIndex:ut,oldDraggableIndex:lt,newIndex:ct,newDraggableIndex:ht,hideGhostForTarget:Pt,unhideGhostForTarget:Bt,cloneNowHidden:function(){st=!0},cloneNowShown:function(){st=!1},dispatchSortableEvent:function(t){Q({sortable:n,name:t,originalEvent:o})}},e))};function Q(t){!function(t){var n=t.sortable,i=t.rootEl,o=t.name,e=t.targetEl,r=t.cloneEl,a=t.toEl,s=t.fromEl,u=t.oldIndex,c=t.newIndex,l=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,b=t.putSortable,v=t.extraEventProperties;if(n=n||i&&i[Y]){var g,x=n.options,w="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(o,!0,!0):g=new CustomEvent(o,{bubbles:!0,cancelable:!0}),g.to=a||i,g.from=s||i,g.item=e||i,g.clone=r,g.oldIndex=u,g.newIndex=c,g.oldDraggableIndex=l,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=b?b.lastPutMode:void 0;var y=d(d({},v),Z.getEventProperties(o,n));for(var E in y)g[E]=y[E];i&&i.dispatchEvent(g),x[w]&&x[w].call(n,g)}}(d({putSortable:ft,cloneEl:at,targetEl:tt,rootEl:ot,oldIndex:ut,oldDraggableIndex:lt,newIndex:ct,newDraggableIndex:ht},t))}var tt,nt,it,ot,et,rt,at,st,ut,ct,lt,ht,dt,ft,bt,vt,gt,mt,pt,xt,wt,yt,Et,St,Tt,Ot=!1,kt=!1,Mt=[],It=!1,Ct=!1,jt=[],At=!1,Dt=[],_t="undefined"!=typeof document,zt=y,Lt=p||m?"cssFloat":"float",Nt=_t&&!E&&!y&&"draggable"in document.createElement("div"),Rt=function(){if(_t){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Ft=function(t,n){var i=D(t),o=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),e=F(t,0,n),r=F(t,1,n),a=e&&D(e),s=r&&D(r),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+N(e).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+N(r).width;return"flex"===i.display?"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal":"grid"===i.display?i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":e&&a.float&&"none"!==a.float?!r||"both"!==s.clear&&s.clear!==("left"===a.float?"left":"right")?"horizontal":"vertical":e&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||u>=o&&"none"===i[Lt]||r&&"none"===i[Lt]&&u+c>o)?"vertical":"horizontal"},Ht=function(t){function n(t,i){return function(o,e,r,a){if(null==t&&(i||o.options.group.name&&e.options.group.name&&o.options.group.name===e.options.group.name))return!0;if(null==t||!1===t)return!1;if(i&&"clone"===t)return t;if("function"==typeof t)return n(t(o,e,r,a),i)(o,e,r,a);var s=(i?o:e).options.group.name;return!0===t||"string"==typeof t&&t===s||t.join&&t.indexOf(s)>-1}}var i={},o=t.group;o&&"object"==f(o)||(o={name:o}),i.name=o.name,i.checkPull=n(o.pull,!0),i.checkPut=n(o.put),i.revertClone=o.revertClone,t.group=i},Pt=function(){!Rt&&it&&D(it,"display","none")},Bt=function(){!Rt&&it&&D(it,"display","")};_t&&!E&&document.addEventListener("click",(function(t){if(kt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),kt=!1,!1}),!0);var Gt=function(t){if(tt){var n=(e=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,Mt.some((function(t){var n=t[Y].options.emptyInsertThreshold;if(n&&!H(t)){var i=N(t);return e>=i.left-n&&e<=i.right+n&&r>=i.top-n&&r<=i.bottom+n?a=t:void 0}})),a);if(n){var i={};for(var o in t)t.hasOwnProperty(o)&&(i[o]=t[o]);i.target=i.rootEl=n,i.preventDefault=void 0,i.stopPropagation=void 0,n[Y]._onDragOver(i)}}var e,r,a},Wt=function(t){tt&&tt.parentNode[Y]._isOutsideThisEl(t.target)};function Kt(t,n){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=n=v({},n),t[Y]=this;var i,o,e={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,n){t.setData("Text",n.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!==Kt.supportPointer&&"PointerEvent"in window&&!w,emptyInsertThreshold:5};for(var r in Z.initializePlugins(this,t,e),e)!(r in n)&&(n[r]=e[r]);for(var a in Ht(n),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!n.forceFallback&&Nt,this.nativeDraggable&&(this.options.touchStartThreshold=1),n.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)),Mt.push(this.el),n.store&&n.store.get&&this.sort(n.store.get(this)||[]),v(this,(o=[],{captureAnimationState:function(){o=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==D(t,"display")&&t!==Kt.ghost){o.push({target:t,rect:N(t)});var n=d({},o[o.length-1].rect);if(t.thisAnimationDuration){var i=_(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}}))},addAnimationState:function(t){o.push(t)},removeAnimationState:function(t){o.splice(function(t,n){for(var i in t)if(t.hasOwnProperty(i))for(var o in n)if(n.hasOwnProperty(o)&&n[o]===t[i][o])return Number(i);return-1}(o,{target:t}),1)},animateAll:function(t){var n=this;if(!this.options.animation)return clearTimeout(i),void("function"==typeof t&&t());var e=!1,r=0;o.forEach((function(t){var i=0,o=t.target,a=o.fromRect,s=N(o),u=o.prevFromRect,c=o.prevToRect,l=t.rect,h=_(o,!0);h&&(s.top-=h.f,s.left-=h.e),o.toRect=s,o.thisAnimationDuration&&W(u,s)&&!W(a,s)&&(l.top-s.top)/(l.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(i=function(t,n,i,o){return Math.sqrt(Math.pow(n.top-t.top,2)+Math.pow(n.left-t.left,2))/Math.sqrt(Math.pow(n.top-i.top,2)+Math.pow(n.left-i.left,2))*o.animation}(l,u,c,n.options)),W(s,a)||(o.prevFromRect=a,o.prevToRect=s,i||(i=n.options.animation),n.animate(o,l,s,i)),i&&(e=!0,r=Math.max(r,i),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),i),o.thisAnimationDuration=i)})),clearTimeout(i),e?i=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),o=[]},animate:function(t,n,i,o){if(o){D(t,"transition",""),D(t,"transform","");var e=_(this.el),r=(n.left-i.left)/(e&&e.a||1),a=(n.top-i.top)/(e&&e.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 "+o+"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}),o)}}}))}function Ut(t,n,i,o,e,r,a,s){var u,c,l=t[Y],h=l.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=n,u.from=t,u.dragged=i,u.draggedRect=o,u.related=e||n,u.relatedRect=r||N(n),u.willInsertAfter=s,u.originalEvent=a,t.dispatchEvent(u),h&&(c=h.call(l,u,a)),c}function Xt(t){t.draggable=!1}function Yt(){At=!1}function $t(t){for(var n=t.tagName+t.className+t.src+t.href+t.textContent,i=n.length,o=0;i--;)o+=n.charCodeAt(i);return o.toString(36)}function Vt(t){return setTimeout(t,0)}function Zt(t){return clearTimeout(t)}Kt.prototype={constructor:Kt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(yt=null)},_getDirection:function(t,n){return"function"==typeof this.options.direction?this.options.direction.call(this,t,n,tt):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,i=this.el,o=this.options,e=o.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,c=o.filter;if(function(t){Dt.length=0;for(var n=t.getElementsByTagName("input"),i=n.length;i--;){var o=n[i];o.checked&&Dt.push(o)}}(i),!tt&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||o.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!w||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=I(s,o.draggable,i,!1))&&s.animated||rt===s)){if(ut=P(s),lt=P(s,o.draggable),"function"==typeof c){if(c.call(this,t,s,this))return Q({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:i,fromEl:i}),J("filter",n,{evt:t}),void(e&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(o){if(o=I(u,o.trim(),i,!1))return Q({sortable:n,rootEl:o,name:"filter",targetEl:s,fromEl:i,toEl:i}),J("filter",n,{evt:t}),!0}))))return void(e&&t.cancelable&&t.preventDefault());o.handle&&!I(u,o.handle,i,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,n,i){var o,e=this,r=e.el,a=e.options,s=r.ownerDocument;if(i&&!tt&&i.parentNode===r){var u=N(i);if(ot=r,nt=(tt=i).parentNode,et=tt.nextSibling,rt=i,dt=a.group,Kt.dragged=tt,pt=(bt={target:tt,clientX:(n||t).clientX,clientY:(n||t).clientY}).clientX-u.left,xt=bt.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,tt.style["will-change"]="all",o=function(){J("delayEnded",e,{evt:t}),Kt.eventCanceled?e._onDrop():(e._disableDelayedDragEvents(),!x&&e.nativeDraggable&&(tt.draggable=!0),e._triggerDragStart(t,n),Q({sortable:e,name:"choose",originalEvent:t}),A(tt,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){z(tt,t.trim(),Xt)})),T(s,"dragover",Gt),T(s,"mousemove",Gt),T(s,"touchmove",Gt),T(s,"mouseup",e._onDrop),T(s,"touchend",e._onDrop),T(s,"touchcancel",e._onDrop),x&&this.nativeDraggable&&(this.options.touchStartThreshold=4,tt.draggable=!0),J("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!n||this.nativeDraggable&&(p||m))o();else{if(Kt.eventCanceled)return void this._onDrop();T(s,"mouseup",e._disableDelayedDrag),T(s,"touchend",e._disableDelayedDrag),T(s,"touchcancel",e._disableDelayedDrag),T(s,"mousemove",e._delayedDragTouchMoveHandler),T(s,"touchmove",e._delayedDragTouchMoveHandler),a.supportPointer&&T(s,"pointermove",e._delayedDragTouchMoveHandler),e._dragStartTimer=setTimeout(o,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){tt&&Xt(tt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||"touch"==t.pointerType&&t,!this.nativeDraggable||n?T(document,this.options.supportPointer?"pointermove":n?"touchmove":"mousemove",this._onTouchMove):(T(tt,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?Vt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,n){if(Ot=!1,ot&&tt){J("dragStarted",this,{evt:n}),this.nativeDraggable&&T(document,"dragover",Wt);var i=this.options;!t&&A(tt,i.dragClass,!1),A(tt,i.ghostClass,!0),Kt.active=this,t&&this._appendGhost(),Q({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(vt){this._lastX=vt.clientX,this._lastY=vt.clientY,Pt();for(var t=document.elementFromPoint(vt.clientX,vt.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(vt.clientX,vt.clientY))!==n;)n=t;if(tt.parentNode[Y]._isOutsideThisEl(t),n)do{if(n[Y]&&n[Y]._onDragOver({clientX:vt.clientX,clientY:vt.clientY,target:t,rootEl:n})&&!this.options.dragoverBubble)break;t=n}while(n=n.parentNode);Bt()}},_onTouchMove:function(t){if(bt){var n=this.options,i=n.fallbackTolerance,o=n.fallbackOffset,e=t.touches?t.touches[0]:t,r=it&&_(it,!0),a=it&&r&&r.a,s=it&&r&&r.d,u=zt&&Tt&&B(Tt),c=(e.clientX-bt.clientX+o.x)/(a||1)+(u?u[0]-jt[0]:0)/(a||1),l=(e.clientY-bt.clientY+o.y)/(s||1)+(u?u[1]-jt[1]:0)/(s||1);if(!Kt.active&&!Ot){if(i&&Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))<i)return;this._onDragStart(t,!0)}if(it){r?(r.e+=c-(gt||0),r.f+=l-(mt||0)):r={a:1,b:0,c:0,d:1,e:c,f:l};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(it,"webkitTransform",h),D(it,"mozTransform",h),D(it,"msTransform",h),D(it,"transform",h),gt=c,mt=l,vt=e}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!it){var t=this.options.fallbackOnBody?document.body:ot,n=N(tt,!0,zt,!0,t),i=this.options;if(zt){for(Tt=t;"static"===D(Tt,"position")&&"none"===D(Tt,"transform")&&Tt!==document;)Tt=Tt.parentNode;Tt!==document.body&&Tt!==document.documentElement?(Tt===document&&(Tt=L()),n.top+=Tt.scrollTop,n.left+=Tt.scrollLeft):Tt=L(),jt=B(Tt)}A(it=tt.cloneNode(!0),i.ghostClass,!1),A(it,i.fallbackClass,!0),A(it,i.dragClass,!0),D(it,"transition",""),D(it,"transform",""),D(it,"box-sizing","border-box"),D(it,"margin",0),D(it,"top",n.top),D(it,"left",n.left),D(it,"width",n.width),D(it,"height",n.height),D(it,"opacity","0.8"),D(it,"position",zt?"absolute":"fixed"),D(it,"zIndex","100000"),D(it,"pointerEvents","none"),Kt.ghost=it,t.appendChild(it),D(it,"transform-origin",pt/parseInt(it.style.width)*100+"% "+xt/parseInt(it.style.height)*100+"%")}},_onDragStart:function(t,n){var i=this,o=t.dataTransfer,e=i.options;J("dragStart",this,{evt:t}),Kt.eventCanceled?this._onDrop():(J("setupClone",this),Kt.eventCanceled||((at=X(tt)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),A(at,this.options.chosenClass,!1),Kt.clone=at),i.cloneId=Vt((function(){J("clone",i),Kt.eventCanceled||(i.options.removeCloneOnHide||ot.insertBefore(at,tt),i._hideClone(),Q({sortable:i,name:"clone"}))})),!n&&A(tt,e.dragClass,!0),n?(kt=!0,i._loopId=setInterval(i._emulateDragOver,50)):(O(document,"mouseup",i._onDrop),O(document,"touchend",i._onDrop),O(document,"touchcancel",i._onDrop),o&&(o.effectAllowed="move",e.setData&&e.setData.call(i,o,tt)),T(document,"drop",i),D(tt,"transform","translateZ(0)")),Ot=!0,i._dragStartId=Vt(i._dragStarted.bind(i,n,t)),T(document,"selectstart",i),wt=!0,w&&D(document.body,"user-select","none"))},_onDragOver:function(t){var n,i,o,e,r=this.el,a=t.target,s=this.options,u=s.group,c=Kt.active,l=dt===u,h=s.sort,f=ft||c,b=this,v=!1;if(!At){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=I(a,s.draggable,r,!0),_("dragOver"),Kt.eventCanceled)return v;if(tt.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||b._ignoreWhileAnimating===a)return L(!1);if(kt=!1,c&&!s.disabled&&(l?h||(o=nt!==ot):ft===this||(this.lastPutMode=dt.checkPull(this,c,tt,t))&&u.checkPut(this,c,tt,t))){if(e="vertical"===this._getDirection(t,a),n=N(tt),_("dragOverValid"),Kt.eventCanceled)return v;if(o)return nt=ot,z(),this._hideClone(),_("revert"),Kt.eventCanceled||(et?ot.insertBefore(tt,et):ot.appendChild(tt)),L(!0);var g=H(r,s.draggable);if(!g||function(t,n,i){var o=N(H(i.el,i.options.draggable));return n?t.clientX>o.right+10||t.clientX<=o.right&&t.clientY>o.bottom&&t.clientX>=o.left:t.clientX>o.right&&t.clientY>o.top||t.clientX<=o.right&&t.clientY>o.bottom+10}(t,e,this)&&!g.animated){if(g===tt)return L(!1);if(g&&r===t.target&&(a=g),a&&(i=N(a)),!1!==Ut(ot,r,tt,n,a,i,t,!!a))return z(),g&&g.nextSibling?r.insertBefore(tt,g.nextSibling):r.appendChild(tt),nt=r,B(),L(!0)}else if(g&&function(t,n,i){var o=N(F(i.el,0,i.options,!0));return n?t.clientX<o.left-10||t.clientY<o.top&&t.clientX<o.right:t.clientY<o.top-10||t.clientY<o.bottom&&t.clientX<o.left}(t,e,this)){var m=F(r,0,s,!0);if(m===tt)return L(!1);if(i=N(a=m),!1!==Ut(ot,r,tt,n,a,i,t,!1))return z(),r.insertBefore(tt,m),nt=r,B(),L(!0)}else if(a.parentNode===r){i=N(a);var p,x,w,y=tt.parentNode!==r,E=!function(t,n,i){var o=i?t.left:t.top,e=i?n.left:n.top;return o===e||(i?t.right:t.bottom)===(i?n.right:n.bottom)||o+(i?t.width:t.height)/2===e+(i?n.width:n.height)/2}(tt.animated&&tt.toRect||n,a.animated&&a.toRect||i,e),S=e?"top":"left",T=R(a,"top","top")||R(tt,"top","top"),O=T?T.scrollTop:void 0;if(yt!==a&&(x=i[S],It=!1,Ct=!E&&s.invertSwap||y),p=function(t,n,i,o,e,r,a,s){var u=o?t.clientY:t.clientX,c=o?i.height:i.width,l=o?i.top:i.left,h=o?i.bottom:i.right,d=!1;if(!a)if(s&&St<c*e){if(!It&&(1===Et?u>l+c*r/2:u<h-c*r/2)&&(It=!0),It)d=!0;else if(1===Et?u<l+St:u>h-St)return-Et}else if(u>l+c*(1-e)/2&&u<h-c*(1-e)/2)return function(t){return P(tt)<P(t)?1:-1}(n);return(d=d||a)&&(u<l+c*r/2||u>h-c*r/2)?u>l+c/2?1:-1:0}(t,a,i,e,E?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,Ct,yt===a),0!==p){var k=P(tt);do{w=nt.children[k-=p]}while(w&&("none"===D(w,"display")||w===it))}if(0===p||w===a)return L(!1);yt=a,Et=p;var M=a.nextElementSibling,C=!1,j=Ut(ot,r,tt,n,a,i,t,C=1===p);if(!1!==j)return 1!==j&&-1!==j||(C=1===j),At=!0,setTimeout(Yt,30),z(),C&&!M?r.appendChild(tt):a.parentNode.insertBefore(tt,C?M:a),T&&U(T,0,O-T.scrollTop),nt=tt.parentNode,void 0===x||Ct||(St=Math.abs(x-N(a)[S])),B(),L(!0)}if(r.contains(tt))return L(!1)}return!1}function _(s,u){J(s,b,d({evt:t,isOwner:l,axis:e?"vertical":"horizontal",revert:o,dragRect:n,targetRect:i,canSort:h,fromSortable:f,target:a,completed:L,onMove:function(i,o){return Ut(ot,r,tt,n,i,N(i),t,o)},changed:B},u))}function z(){_("dragOverAnimationCapture"),b.captureAnimationState(),b!==f&&f.captureAnimationState()}function L(n){return _("dragOverCompleted",{insertion:n}),n&&(l?c._hideClone():c._showClone(b),b!==f&&(A(tt,ft?ft.options.ghostClass:c.options.ghostClass,!1),A(tt,s.ghostClass,!0)),ft!==b&&b!==Kt.active?ft=b:b===Kt.active&&ft&&(ft=null),f===b&&(b._ignoreWhileAnimating=a),b.animateAll((function(){_("dragOverAnimationComplete"),b._ignoreWhileAnimating=null})),b!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===tt&&!tt.animated||a===r&&!a.animated)&&(yt=null),s.dragoverBubble||t.rootEl||a===document||(tt.parentNode[Y]._isOutsideThisEl(t.target),!n&&Gt(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),v=!0}function B(){ct=P(tt),ht=P(tt,s.draggable),Q({sortable:b,name:"change",toEl:r,newIndex:ct,newDraggableIndex:ht,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,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var n=this.el,i=this.options;ct=P(tt),ht=P(tt,i.draggable),J("drop",this,{evt:t}),nt=tt&&tt.parentNode,ct=P(tt),ht=P(tt,i.draggable),Kt.eventCanceled||(Ot=!1,Ct=!1,It=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Zt(this.cloneId),Zt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),w&&D(document.body,"user-select",""),D(tt,"transform",""),t&&(wt&&(t.cancelable&&t.preventDefault(),!i.dropBubble&&t.stopPropagation()),it&&it.parentNode&&it.parentNode.removeChild(it),(ot===nt||ft&&"clone"!==ft.lastPutMode)&&at&&at.parentNode&&at.parentNode.removeChild(at),tt&&(this.nativeDraggable&&O(tt,"dragend",this),Xt(tt),tt.style["will-change"]="",wt&&!Ot&&A(tt,ft?ft.options.ghostClass:this.options.ghostClass,!1),A(tt,this.options.chosenClass,!1),Q({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ct>=0&&(Q({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),Q({sortable:this,name:"remove",toEl:nt,originalEvent:t}),Q({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),Q({sortable:this,name:"sort",toEl:nt,originalEvent:t})),ft&&ft.save()):ct!==ut&&ct>=0&&(Q({sortable:this,name:"update",toEl:nt,originalEvent:t}),Q({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Kt.active&&(null!=ct&&-1!==ct||(ct=ut,ht=lt),Q({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){J("nulling",this),ot=tt=nt=it=et=at=rt=st=bt=vt=wt=ct=ht=ut=lt=yt=Et=ft=dt=Kt.dragged=Kt.ghost=Kt.clone=Kt.active=null,Dt.forEach((function(t){t.checked=!0})),Dt.length=gt=mt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":tt&&(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,n=[],i=this.el.children,o=0,e=i.length,r=this.options;o<e;o++)I(t=i[o],r.draggable,this.el,!1)&&n.push(t.getAttribute(r.dataIdAttr)||$t(t));return n},sort:function(t,n){var i={},o=this.el;this.toArray().forEach((function(t,n){var e=o.children[n];I(e,this.options.draggable,o,!1)&&(i[t]=e)}),this),n&&this.captureAnimationState(),t.forEach((function(t){i[t]&&(o.removeChild(i[t]),o.appendChild(i[t]))})),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return I(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var i=this.options;if(void 0===n)return i[t];var o=Z.modifyOption(this,t,n);i[t]=void 0!==o?o:n,"group"===t&&Ht(i)},destroy:function(){J("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(),Mt.splice(Mt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!st){if(J("hideClone",this),Kt.eventCanceled)return;D(at,"display","none"),this.options.removeCloneOnHide&&at.parentNode&&at.parentNode.removeChild(at),st=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(st){if(J("showClone",this),Kt.eventCanceled)return;tt.parentNode!=ot||this.options.group.revertClone?et?ot.insertBefore(at,et):ot.appendChild(at):ot.insertBefore(at,tt),this.options.group.revertClone&&this.animate(tt,at),D(at,"display",""),st=!1}}else this._hideClone()}},_t&&T(document,"touchmove",(function(t){(Kt.active||Ot)&&t.cancelable&&t.preventDefault()})),Kt.utils={on:T,off:O,css:D,find:z,is:function(t,n){return!!I(t,n,t,!1)},extend:function(t,n){if(t&&n)for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i]);return t},throttle:K,closest:I,toggleClass:A,clone:X,index:P,nextTick:Vt,cancelNextTick:Zt,detectDirection:Ft,getChild:F},Kt.get=function(t){return t[Y]},Kt.mount=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];n[0].constructor===Array&&(n=n[0]),n.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&&(Kt.utils=d(d({},Kt.utils),t.utils)),Z.mount(t)}))},Kt.create=function(t,n){return new Kt(t,n)},Kt.version="1.15.0";var qt,Jt,Qt,tn,nn,on,en=[],rn=!1;function an(){en.forEach((function(t){clearInterval(t.pid)})),en=[]}function sn(){clearInterval(on)}var un=K((function(t,n,i,o){if(n.scroll){var e,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=n.scrollSensitivity,u=n.scrollSpeed,c=L(),l=!1;Jt!==i&&(Jt=i,an(),e=n.scrollFn,!0===(qt=n.scroll)&&(qt=G(i,!0)));var h=0,d=qt;do{var f=d,b=N(f),v=b.top,g=b.bottom,m=b.left,p=b.right,x=b.width,w=b.height,y=void 0,E=void 0,S=f.scrollWidth,T=f.scrollHeight,O=D(f),k=f.scrollLeft,M=f.scrollTop;f===c?(y=x<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=w<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=x<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=w<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=s&&k+x<S)-(Math.abs(m-r)<=s&&!!k),C=E&&(Math.abs(g-a)<=s&&M+w<T)-(Math.abs(v-a)<=s&&!!M);if(!en[h])for(var j=0;j<=h;j++)en[j]||(en[j]={});en[h].vx==I&&en[h].vy==C&&en[h].el===f||(en[h].el=f,en[h].vx=I,en[h].vy=C,clearInterval(en[h].pid),0==I&&0==C||(l=!0,en[h].pid=setInterval(function(){o&&0===this.layer&&Kt.active._onTouchMove(nn);var n=en[this.layer].vy?en[this.layer].vy*u:0,i=en[this.layer].vx?en[this.layer].vx*u:0;"function"==typeof e&&"continue"!==e.call(Kt.dragged.parentNode[Y],i,n,t,nn,en[this.layer].el)||U(en[this.layer].el,i,n)}.bind({layer:h}),24))),h++}while(n.bubbleScroll&&d!==c&&(d=G(d,!1)));rn=l}}),30),cn=function(t){var n=t.originalEvent,i=t.putSortable,o=t.dragEl,e=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(n){var a=i||t.activeSortable;(0,t.hideGhostForTarget)();var s=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,u=document.elementFromPoint(s.clientX,s.clientY);r(),a&&!a.el.contains(u)&&(e("spill"),this.onSpill({dragEl:o,putSortable:i}))}};function ln(){}function hn(){}ln.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var n=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var o=F(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),i&&i.animateAll()},drop:cn},v(ln,{pluginName:"revertOnSpill"}),hn.prototype={onSpill:function(t){var n=t.dragEl,i=t.putSortable||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:cn},v(hn,{pluginName:"removeOnSpill"}),Kt.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 n=t.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):T(document,this.options.supportPointer?"pointermove":n.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;this.options.dragOverBubble||n.rootEl||this._handleAutoScroll(n)},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)),sn(),an(),clearTimeout(C),C=void 0},nulling:function(){nn=Jt=qt=rn=on=Qt=tn=null,en.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var i=this,o=(t.touches?t.touches[0]:t).clientX,e=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(o,e);if(nn=t,n||this.options.forceAutoScrollFallback||p||m||w){un(t,this.options,r,n);var a=G(r,!0);!rn||on&&o===Qt&&e===tn||(on&&sn(),on=setInterval((function(){var r=G(document.elementFromPoint(o,e),!0);r!==a&&(a=r,an()),un(t,i.options,r,n)}),10),Qt=o,tn=e)}else{if(!this.options.bubbleScroll||G(r,!0)===L())return void an();un(t,this.options,G(r,!1),!1)}}},v(t,{pluginName:"scroll",initializeByDefault:!0})}),Kt.mount(hn,ln);const dn=class{constructor(i){t(this,i),this.newTab=n(this,"newTab",7),this.sortChanged=n(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.tabTriggers=void 0,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.sortTarget=void 0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&s(".gux-scrollable-section",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-scrollable-section").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,n)=>{t.guxGetActive().then((i=>{i?this.focused=n:(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-scrollable-section"),n=t.querySelectorAll("gux-tab-advanced"),i=Array.prototype.indexOf.call(n,this.sortTarget);let o;o=i===n.length-1?n[0]:n[i+2],t.insertBefore(this.sortTarget,o),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),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-scrollable-section"),n=t.querySelectorAll("gux-tab-advanced"),i=Array.prototype.indexOf.call(n,this.sortTarget);t.insertBefore(this.sortTarget,n[i-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),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-scrollable-section").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),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,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),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,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.focused=n)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.parentNode.parentNode,this.tabTriggers.forEach(((t,n)=>{var i;t.tabId===(null===(i=this.sortTarget)||void 0===i?void 0:i.getAttribute("tab-id"))&&(this.initialSortIndex=n)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((n,i)=>{const o=n.tabId===t;n.guxSetActive(o),o&&(this.focused=i)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,n)=>{t.guxGetActive().then((i=>{this.focused===n||i||(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 Kt(this.root.querySelector(".gux-scrollable-section"),{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(){i((()=>{const t=this.root.querySelector(".gux-scrollable-section"),n=t.clientWidth<t.scrollWidth;n!==this.hasScrollbar&&(this.hasScrollbar=n)}))}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 c(this.root,l,"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(){o((()=>{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(){o((()=>{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");o((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");o((()=>{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[e("span",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):""),e("div",{class:"gux-tab-container"},e("div",{class:"action-button-container"},this.renderScrollButton("scrollLeft")),e("div",{role:"tablist",class:"gux-scrollable-section "+(this.keyboardSort?"gux-tab-sorting":""),"aria-owns":this.triggerIds},e("slot",null)),e("div",{class:"action-button-container"},this.renderScrollButton("scrollRight"),this.showNewTabButton?e((t=>e("button",{title:this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab"),class:"add-tab-button",onClick:()=>t.onClick(),disabled:this.disableAddTabButton},e("slot",{name:"add-tab"},e("gux-icon",{"icon-name":"add",decorative:!0})))),{onClick:()=>this.newTab.emit()}):null))]}renderScrollButton(t){return e("div",{class:"gux-scroll-button-container"},this.hasScrollbar?e("button",{tabindex:"-1",title:this.i18n(t),"aria-label":this.i18n(t),class:"gux-scroll-button",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},e("gux-icon",{"icon-name":this.getChevronIconName(t),decorative:!0})):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"chevron-left";case"scrollRight":return"chevron-right"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,n,i,o){var e,r=arguments.length,a=r<3?n:null===o?o=Object.getOwnPropertyDescriptor(n,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,n,i,o);else for(var s=t.length-1;s>=0;s--)(e=t[s])&&(a=(r<3?e(a):r>3?e(n,i,a):e(n,i))||a);r>3&&a&&Object.defineProperty(n,i,a)})([a({childList:!0,subtree:!0})],dn.prototype,"onMutation",null),dn.style="gux-tab-advanced-list .gux-tab-container{display:flex;align-items:flex-end;width:100%;height:50px;margin-bottom:16px;overflow-x:auto;overflow-y:hidden;background-color:#f6f7f9;border-bottom:1px solid #d7dce5;border-radius:4px 4px 0 0}gux-tab-advanced-list .gux-tab-container .action-button-container{display:flex;border-radius:4px}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button{min-width:35px;height:50px;padding:0;margin-left:2px;color:#2e394c;background-color:#e2e6ee;border:none;border-radius:4px;transition:color 0.25s}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button [slot='add-tab']{display:inline-flex;align-items:center;padding:0 12px;white-space:nowrap;font-size:12px;line-height:20px;font-family:sans-serif;font-weight:400;font-weight:700}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button [slot='add-tab'] gux-icon{padding-right:8px}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:disabled{opacity:0.5}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:hover{background-color:#d7dce5}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:active{background-color:#c8cfda}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:focus-visible{outline:none;box-shadow:inset 0 0 0 3px #aac9ff}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:focus-visible{border-radius:5px;outline:none;box-shadow:inset 0 0 0 3px #aac9ff}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button gux-icon{width:16px;height:16px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container{display:flex;border-radius:4px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button{display:flex;align-items:center;justify-content:center;width:28px;height:50px;padding:0;color:#2e394c;background-color:#e2e6ee;border:none;border-radius:4px;transition:color 0.25s}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{border:3px solid #aac9ff;border-radius:5px;outline:none}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button gux-icon{width:16px;height:16px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{border:3px solid #aac9ff;outline:none}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:hover{background-color:#d7dce5}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:active{background-color:#c8cfda}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}gux-tab-advanced-list .gux-tab-container .gux-scrollable-section{display:flex;align-items:flex-end;height:50px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}gux-tab-advanced-list .gux-tab-container .gux-scrollable-section::-webkit-scrollbar{height:0}gux-tab-advanced-list .gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{dn as gux_tab_advanced_list}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as o,f as e,h as t,g as i}from"./p-7d26b2e1.js";import{c as r,o as s}from"./p-3f5341ea.js";import{O as n}from"./p-f34ce7dc.js";import{o as l}from"./p-3701eff0.js";import{p as a}from"./p-c10e41a9.js";import{h as u}from"./p-08bc2e6b.js";import{h as f,d as g,G as c,a as d,g as h,v as m,b as p}from"./p-b3c9fd06.js";import{G as v,a as x}from"./p-a733f4ca.js";import{t as b}from"./p-7037907d.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const w=class{constructor(e){o(this,e),this.labelPosition=void 0,this.computedLabelPosition="above",this.clearable=!0,this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}async guxForceUpdate(){this.hasContent=f(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),e(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),b(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(x,{labelPosition:this.computedLabelPosition},t(v,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()})),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},t("gux-icon",{"icon-name":"search",decorative:!0}),t("slot",{name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{onClick:()=>g(this.input)}))),t(c,{show:this.hasError},t("slot",{name:"error"})),t(d,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${o}`}setInput(){this.input=h(this.root,'input[type="search"][slot="input"]'),this.hasContent=f(this.input),a(this.input),this.input.addEventListener("input",(()=>{this.hasContent=f(this.input)})),this.disabled=r(this.input),this.required=this.input.required,this.disabledObserver=s(this.input,(o=>{this.disabled=o})),this.requiredObserver=l(this.input,(o=>{this.required=o})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(this.label,this.labelPosition)}get root(){return i(this)}};(function(o,e,t,i){var r,s=arguments.length,n=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(o,e,t,i);else for(var l=o.length-1;l>=0;l--)(r=o[l])&&(n=(s<3?r(n):s>3?r(e,t,n):r(e,t))||n);s>3&&n&&Object.defineProperty(e,t,n)})([n({childList:!0,subtree:!0})],w.prototype,"onMutation",null),w.style='.gux-focus-ring-focused:focus{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-small-focused:focus{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-focused:focus{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-small-focused:focus{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-icon-anchor gux-icon{padding-right:var(--gse-ui-links-inLine-padding)}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content: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;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);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.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.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;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);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-text-fontFamily);line-height:var(--gse-ui-formControl-label-text-lineHeight);font-size:var(--gse-ui-formControl-label-text-fontSize);color:var(--gse-ui-formControl-label-labelColor);font-weight:var(--gse-ui-formControl-label-text-fontWeight)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline: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;align-content:stretch;align-items:center;align-self:auto;justify-content:center;gap:var(--gse-ui-formControl-input-gap);order:0;width:100%;height:var(--gse-ui-formControl-input-textfield-height);color:var(--gse-ui-formControl-input-populatedColor);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name=search]{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);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);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{w as gux_form_field_search}
|
@@ -0,0 +1 @@
|
|
1
|
+
const t=["top","right","bottom","left"],n=Math.min,e=Math.max,o={left:"right",right:"left",bottom:"top",top:"bottom"},r={start:"end",end:"start"};function i(t,o,r){return e(t,n(o,r))}function a(t,n){return"function"==typeof t?t(n):t}function c(t){return t.split("-")[0]}function l(t){return t.split("-")[1]}function s(t){return"x"===t?"y":"x"}function u(t){return"y"===t?"height":"width"}function f(t){return["top","bottom"].includes(c(t))?"y":"x"}function d(t){return s(f(t))}function m(t){return t.replace(/start|end/g,(t=>r[t]))}function y(t){return t.replace(/left|right|bottom|top/g,(t=>o[t]))}function p(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function h(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function g(t,n,e){let{reference:o,floating:r}=t;const i=f(n),a=d(n),s=u(a),m=c(n),y="y"===i,p=o.x+o.width/2-r.width/2,h=o.y+o.height/2-r.height/2,g=o[s]/2-r[s]/2;let x;switch(m){case"top":x={x:p,y:o.y-r.height};break;case"bottom":x={x:p,y:o.y+o.height};break;case"right":x={x:o.x+o.width,y:h};break;case"left":x={x:o.x-r.width,y:h};break;default:x={x:o.x,y:o.y}}switch(l(n)){case"start":x[a]-=g*(e&&y?-1:1);break;case"end":x[a]+=g*(e&&y?-1:1)}return x}async function x(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:c,elements:l,strategy:s}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:y=0}=a(n,t),g=p(y),x=l[m?"floating"===d?"reference":"floating":d],w=h(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:f,strategy:s})),v="floating"===d?{...c.floating,x:o,y:r}:c.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),A=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},R=h(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:b,strategy:s}):v);return{top:(w.top-R.top+g.top)/A.y,bottom:(R.bottom-w.bottom+g.bottom)/A.y,left:(w.left-R.left+g.left)/A.x,right:(R.right-w.right+g.right)/A.x}}const w=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:c,rects:s,platform:f,elements:m}=e,{element:y,padding:h=0}=a(t,e)||{};if(null==y)return{};const g=p(h),x={x:o,y:r},w=d(c),v=u(w),b=await f.getDimensions(y),A="y"===w,R=A?"top":"left",S=A?"bottom":"right",k=A?"clientHeight":"clientWidth",F=s.reference[v]+s.reference[w]-x[w]-s.floating[v],O=x[w]-s.reference[w],C=await(null==f.getOffsetParent?void 0:f.getOffsetParent(y));let M=C?C[k]:0;M&&await(null==f.isElement?void 0:f.isElement(C))||(M=m.floating[k]||s.floating[v]);const P=F/2-O/2,T=M/2-b[v]/2-1,z=n(g[R],T),B=n(g[S],T),D=z,H=M-b[v]-B,L=M/2-b[v]/2+P,E=i(D,L,H),I=null!=l(c)&&L!=E&&s.reference[v]/2-(L<D?z:B)-b[v]/2<0?L<D?D-L:H-L:0;return{[w]:x[w]-I,data:{[w]:E,centerOffset:L-E+I}}}}),v=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:i,initialPlacement:s,platform:f,elements:p}=n,{mainAxis:h=!0,crossAxis:g=!0,fallbackPlacements:w,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:A=!0,...R}=a(t,n),S=c(o),k=c(s)===s,F=await(null==f.isRTL?void 0:f.isRTL(p.floating)),O=w||(k||!A?[y(s)]:function(t){const n=y(t);return[m(t),n,m(n)]}(s));w||"none"===b||O.push(...function(t,n,e,o){const r=l(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(c(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(m)))),i}(s,A,b,F));const C=[s,...O],M=await x(n,R),P=[];let T=(null==(e=r.flip)?void 0:e.overflows)||[];if(h&&P.push(M[S]),g){const t=function(t,n,e){void 0===e&&(e=!1);const o=l(t),r=d(t),i=u(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=y(a)),[a,y(a)]}(o,i,F);P.push(M[t[0]],M[t[1]])}if(T=[...T,{placement:o,overflows:P}],!P.every((t=>t<=0))){var z,B;const t=((null==(z=r.flip)?void 0:z.index)||0)+1,n=C[t];if(n)return{data:{index:t,overflows:T},reset:{placement:n}};let e=null==(B=T.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:B.placement;if(!e)switch(v){case"bestFit":{var D;const t=null==(D=T.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:D[0];t&&(e=t);break}case"initialPlacement":e=s}if(o!==e)return{reset:{placement:e}}}return{}}}};function b(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function A(n){return t.some((t=>n[t]>=0))}const R=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=a(t,n);switch(o){case"referenceHidden":{const t=b(await x(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:A(t)}}}case"escaped":{const t=b(await x(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:A(t)}}}default:return{}}}}},S=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),s=c(e),u=l(e),d="y"===f(e),m=["left","top"].includes(s)?-1:1,y=i&&d?-1:1,p=a(n,t);let{mainAxis:h,crossAxis:g,alignmentAxis:x}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return u&&"number"==typeof x&&(g="end"===u?-1*x:x),d?{x:g*y,y:h*m}:{x:h*m,y:g*y}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}},k=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r}=n,{mainAxis:l=!0,crossAxis:u=!1,limiter:d={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...m}=a(t,n),y={x:e,y:o},p=await x(n,m),h=f(c(r)),g=s(h);let w=y[g],v=y[h];l&&(w=i(w+p["y"===g?"top":"left"],w,w-p["y"===g?"bottom":"right"])),u&&(v=i(v+p["y"===h?"top":"left"],v,v-p["y"===h?"bottom":"right"]));const b=d.fn({...n,[g]:w,[h]:v});return{...b,data:{x:b.x-e,y:b.y-o}}}}},F=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(o){const{placement:r,rects:i,platform:s,elements:u}=o,{apply:d=(()=>{}),...m}=a(t,o),y=await x(o,m),p=c(r),h=l(r),g="y"===f(r),{width:w,height:v}=i.floating;let b,A;"top"===p||"bottom"===p?(b=p,A=h===(await(null==s.isRTL?void 0:s.isRTL(u.floating))?"start":"end")?"left":"right"):(A=p,b="end"===h?"top":"bottom");const R=v-y[b],S=w-y[A],k=!o.middlewareData.shift;let F=R,O=S;if(g){const t=w-y.left-y.right;O=h||k?n(S,t):t}else{const t=v-y.top-y.bottom;F=h||k?n(R,t):t}if(k&&!h){const t=e(y.left,0),n=e(y.right,0),o=e(y.top,0),r=e(y.bottom,0);g?O=w-2*(0!==t||0!==n?t+n:e(y.left,y.right)):F=v-2*(0!==o||0!==r?o+r:e(y.top,y.bottom))}await d({...o,availableWidth:O,availableHeight:F});const C=await s.getDimensions(u.floating);return w!==C.width||v!==C.height?{reset:{rects:!0}}:{}}}};function O(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function C(t){return O(t).getComputedStyle(t)}function M(t){return t instanceof O(t).Node}function P(t){return M(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){return t instanceof O(t).HTMLElement}function z(t){return t instanceof O(t).Element}function B(t){return"undefined"!=typeof ShadowRoot&&(t instanceof O(t).ShadowRoot||t instanceof ShadowRoot)}function D(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=C(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function H(t){return["table","td","th"].includes(P(t))}function L(t){const n=E(),e=C(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function E(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function I(t){return["html","body","#document"].includes(P(t))}const q=Math.min,N=Math.max,W=Math.round,$=Math.floor,j=t=>({x:t,y:t});function V(t){const n=C(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=T(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=W(e)!==i||W(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function X(t){return z(t)?t:t.contextElement}function Y(t){const n=X(t);if(!T(n))return j(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=V(n);let a=(i?W(e.width):e.width)/o,c=(i?W(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const _=j(0);function G(t,n,e){var o,r;if(void 0===n&&(n=!0),!E())return _;const i=t?O(t):window;return!e||n&&e!==i?_:{x:(null==(o=i.visualViewport)?void 0:o.offsetLeft)||0,y:(null==(r=i.visualViewport)?void 0:r.offsetTop)||0}}function J(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=X(t);let a=j(1);n&&(o?z(o)&&(a=Y(o)):a=Y(t));const c=G(i,e,o);let l=(r.left+c.x)/a.x,s=(r.top+c.y)/a.y,u=r.width/a.x,f=r.height/a.y;if(i){const t=O(i),n=o&&z(o)?O(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Y(e),n=e.getBoundingClientRect(),o=getComputedStyle(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;l*=t.x,s*=t.y,u*=t.x,f*=t.y,l+=r,s+=i,e=O(e).frameElement}}return h({width:u,height:f,x:l,y:s})}function K(t){return((M(t)?t.ownerDocument:t.document)||window.document).documentElement}function Q(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function U(t){return J(K(t)).left+Q(t).scrollLeft}function Z(t){if("html"===P(t))return t;const n=t.assignedSlot||t.parentNode||B(t)&&t.host||K(t);return B(n)?n.host:n}function tt(t){const n=Z(t);return I(n)?t.ownerDocument?t.ownerDocument.body:t.body:T(n)&&D(n)?n:tt(n)}function nt(t,n){var e;void 0===n&&(n=[]);const o=tt(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=O(o);return r?n.concat(i,i.visualViewport||[],D(o)?o:[]):n.concat(o,nt(o))}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=O(t),o=K(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,c=0,l=0;if(r){i=r.width,a=r.height;const t=E();(!t||t&&"fixed"===n)&&(c=r.offsetLeft,l=r.offsetTop)}return{width:i,height:a,x:c,y:l}}(t,e);else if("document"===n)o=function(t){const n=K(t),e=Q(t),o=t.ownerDocument.body,r=N(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=N(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+U(t);const c=-e.scrollTop;return"rtl"===C(o).direction&&(a+=N(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:c}}(K(t));else if(z(n))o=function(t,n){const e=J(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=T(t)?Y(t):j(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=G(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return h(o)}function ot(t,n){const e=Z(t);return!(e===n||!z(e)||I(e))&&("fixed"===C(e).position||ot(e,n))}function rt(t,n){return T(t)&&"fixed"!==C(t).position?n?n(t):t.offsetParent:null}function it(t,n){const e=O(t);if(!T(t))return e;let o=rt(t,n);for(;o&&H(o)&&"static"===C(o).position;)o=rt(o,n);return o&&("html"===P(o)||"body"===P(o)&&"static"===C(o).position&&!L(o))?e:o||function(t){let n=Z(t);for(;T(n)&&!I(n);){if(L(n))return n;n=Z(n)}return null}(t)||e}function at(t,n,e){const o=T(n),r=K(n),i="fixed"===e,a=J(t,!0,i,n);let c={scrollLeft:0,scrollTop:0};const l=j(0);if(o||!o&&!i)if(("body"!==P(n)||D(r))&&(c=Q(n)),T(n)){const t=J(n,!0,i,n);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=U(r));return{x:a.left+c.scrollLeft-l.x,y:a.top+c.scrollTop-l.y,width:a.width,height:a.height}}const ct={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=nt(t).filter((t=>z(t)&&"body"!==P(t))),r=null;const i="fixed"===C(t).position;let a=i?Z(t):t;for(;z(a)&&!I(a);){const n=C(a),e=L(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||D(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=Z(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=et(n,e,r);return t.top=N(o.top,t.top),t.right=q(o.right,t.right),t.bottom=q(o.bottom,t.bottom),t.left=N(o.left,t.left),t}),et(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=T(e),i=K(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},c=j(1);const l=j(0);if((r||!r&&"fixed"!==o)&&(("body"!==P(e)||D(i))&&(a=Q(e)),T(e))){const t=J(e);c=Y(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+l.x,y:n.y*c.y-a.scrollTop*c.y+l.y}},isElement:z,getDimensions:function(t){return V(t)},getOffsetParent:it,getDocumentElement:K,getScale:Y,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||it,i=this.getDimensions;return{reference:at(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===C(t).direction};function lt(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,s=X(t),u=r||i?[...s?nt(s):[],...nt(n)]:[];u.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));const f=s&&c?function(t,n){let e,o=null;const r=K(t);function i(){clearTimeout(e),o&&o.disconnect(),o=null}return function a(c,l){void 0===c&&(c=!1),void 0===l&&(l=1),i();const{left:s,top:u,width:f,height:d}=t.getBoundingClientRect();if(c||n(),!f||!d)return;const m={rootMargin:-$(u)+"px "+-$(r.clientWidth-(s+f))+"px "+-$(r.clientHeight-(u+d))+"px "+-$(s)+"px",threshold:N(0,q(1,l))||1};let y=!0;function p(t){const n=t[0].intersectionRatio;if(n!==l){if(!y)return a();n?a(!1,n):e=setTimeout((()=>{a(!1,1e-7)}),100)}y=!1}try{o=new IntersectionObserver(p,{...m,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(p,m)}o.observe(t)}(!0),i}(s,e):null;let d,m=-1,y=null;a&&(y=new ResizeObserver((t=>{let[o]=t;o&&o.target===s&&y&&(y.unobserve(n),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{y&&y.observe(n)}))),e()})),s&&!l&&y.observe(s),y.observe(n));let p=l?J(t):null;return l&&function n(){const o=J(t);!p||o.x===p.x&&o.y===p.y&&o.width===p.width&&o.height===p.height||e(),p=o,d=requestAnimationFrame(n)}(),e(),()=>{u.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),f&&f(),y&&y.disconnect(),y=null,l&&cancelAnimationFrame(d)}}const st=(t,n,e)=>{const o=new Map,r={platform:ct,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,c=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=g(s,o,l),d=o,m={},y=0;for(let e=0;e<c.length;e++){const{name:i,fn:p}=c[e],{x:h,y:x,data:w,reset:v}=await p({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});u=null!=h?h:u,f=null!=x?x:f,m={...m,[i]:{...m[i],...w}},v&&y<=50&&(y++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:u,y:f}=g(s,d,l))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})};export{lt as a,w as b,st as c,F as d,v as f,R as h,S as o,k as s}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,c as s,h as e,g as o}from"./p-7d26b2e1.js";import{b as l}from"./p-deee079e.js";import{r as i}from"./p-cbcbd1bb.js";import{t as a}from"./p-1aa11396.js";import"./p-8a133b9b.js";const r=class{constructor(e){t(this,e),this.internalallrowselectchange=s(this,"internalallrowselectchange",7),this.id=i("gux-all-row-select"),this.selected=!1}onCheck(t){t.stopPropagation(),this.internalallrowselectchange.emit(this.inputElement.checked)}async setIndeterminate(t=!0){this.inputElement.indeterminate=t}async componentWillLoad(){this.i18n=await l(this.root,a,"gux-table")}render(){return e("gux-form-field-checkbox",null,e("input",{ref:t=>this.inputElement=t,slot:"input",id:this.id,type:"checkbox",checked:this.selected}),e("label",{slot:"label",htmlFor:this.id},"",e("span",{class:"gux-label-text"},this.i18n("selectAllTableRows"))))}get root(){return o(this)}};r.style=":host .gux-label-text{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{r as gux_all_row_select}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,c as s,h as t,H as o}from"./p-7d26b2e1.js";const i=class{constructor(t){e(this,t),this.guxactivepanelchange=s(this,"guxactivepanelchange",7),this.tabId=void 0,this.active=!1}async guxSetActive(e){this.active=e}watchActivePanel(){!0===this.active&&this.guxactivepanelchange.emit(this.tabId)}render(){return t(o,{id:`gux-${this.tabId}-panel`,role:"tabpanel","aria-labelledby":`gux-${this.tabId}-tab`,tabIndex:0,hidden:!this.active},t("slot",null))}static get watchers(){return{active:["watchActivePanel"]}}};i.style=".gux-focus-ring-focused:focus{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-small-focused:focus{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}:host{height:calc(100% - 57px)}:host(:not([hidden])){display:flex;flex-grow:1}:host(:focus){outline:none}:host(:focus-visible){outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}";export{i as gux_tab_panel}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as o,H as r,g as i}from"./p-7d26b2e1.js";import{a as e,c as a,o as s,f as l,s as d,b as g}from"./p-4e2b5bcf.js";import{r as n}from"./p-cbcbd1bb.js";import{t as u}from"./p-7037907d.js";import{f as h}from"./p-82ffe3cc.js";import{b as p}from"./p-091f51f6.js";const c=class{constructor(o){t(this,o),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.id=n("gux-tooltip"),this.for=void 0,this.placement="bottom-start",this.accent="light",this.anchor=!1,this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition=e(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[s(16),l(),d()];this.anchor&&t.push(g({element:this.arrowElement})),a(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:o,middlewareData:r,placement:i})=>{Object.assign(this.root.style,{left:`${t}px`,top:`${o}px`}),this.root.setAttribute("data-placement",this.placement);const e={top:"bottom",right:"left",bottom:"top",left:"right"}[i.split("-")[0]];if(r.arrow){const t=13,{x:o,y:i}=r.arrow;Object.assign(this.arrowElement.style,{left:null!=o?`${o}px`:"",top:null!=i?`${i}px`:"",right:"",bottom:"",[e]:-t/2+"px",transform:"rotate(45deg)"})}}))}show(){this.isShown=!0,p((()=>{this.runUpdatePosition()}))}hide(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}getForElement(){this.forElement=this.for?h(this.root,this.for):this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}renderAnchor(){if(this.anchor)return o("div",{ref:t=>this.arrowElement=t,class:"gux-arrow"})}connectedCallback(){this.getForElement(),this.forElement?(this.forElement.setAttribute("aria-describedby",this.id),this.forElement.addEventListener("pointerenter",this.pointerenterHandler),this.forElement.addEventListener("pointerleave",this.pointerleaveHandler),this.forElement.addEventListener("focusin",this.focusinHandler),this.forElement.addEventListener("focusout",this.focusoutHandler)):this.logForAttributeError()}componentWillLoad(){u(this.root,{variant:this.placement})}disconnectedCallback(){var t,o,r,i,e;this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),null===(t=this.forElement)||void 0===t||t.removeAttribute("aria-describedby"),null===(o=this.forElement)||void 0===o||o.removeEventListener("pointerenter",this.pointerenterHandler),null===(r=this.forElement)||void 0===r||r.removeEventListener("pointerleave",this.pointerleaveHandler),null===(i=this.forElement)||void 0===i||i.removeEventListener("focusin",this.focusinHandler),null===(e=this.forElement)||void 0===e||e.removeEventListener("focusout",this.focusoutHandler)}render(){return o(r,{id:this.id,class:{"gux-show":this.isShown},role:"tooltip"},o("div",{class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},o("slot",null),this.renderAnchor()))}get root(){return i(this)}};c.style=":host{position:fixed;z-index:var(--gux-zindex-tooltip, 1);display:none;width:max-content;max-width:250px;opacity:0;box-shadow:var(--gse-ui-tooltip-boxShadow-x) var(--gse-ui-tooltip-boxShadow-y) var(--gse-ui-tooltip-boxShadow-blur) var(--gse-ui-tooltip-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color)}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:1s;animation-fill-mode:forwards}.gux-container{display:flex;flex-direction:row;justify-content:flex-start;align-content:center;gap:var(--gse-ui-tooltip-gap);box-sizing:border-box;padding:var(--gse-ui-tooltip-padding);pointer-events:none;border-radius:var(--gse-ui-tooltip-borderRadius);font-family:var(--gse-ui-tooltip-text-fontFamily);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);font-size:var(--gse-ui-tooltip-text-fontSize);background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container[data-placement=bottom] .gux-arrow,.gux-container[data-placement=bottom-start] .gux-arrow,.gux-container[data-placement=bottom-end] .gux-arrow{border-top:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-left:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color)}.gux-container[data-placement=top] .gux-arrow,.gux-container[data-placement=top-start] .gux-arrow,.gux-container[data-placement=top-end] .gux-arrow{border-right:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-bottom:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color)}.gux-container[data-placement=left] .gux-arrow,.gux-container[data-placement=left-start] .gux-arrow,.gux-container[data-placement=left-end] .gux-arrow{border-top:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-right:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color)}.gux-container[data-placement=right] .gux-arrow,.gux-container[data-placement=right-start] .gux-arrow,.gux-container[data-placement=right-end] .gux-arrow{border-bottom:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-left:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color)}.gux-container .gux-arrow{position:absolute;width:13px;height:13px;border-radius:var(--gse-ui-tooltip-borderRadius);background:inherit}.gux-container ::slotted(gux-icon){width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-tooltip-light-iconColor);align-self:center}.gux-container.gux-dark{background-color:var(--gse-ui-tooltip-dark-backgroundColor);border-color:var(--gse-ui-tooltip-dark-border-color);color:var(--gse-ui-tooltip-dark-foregroundColor)}.gux-container.gux-dark[data-placement=bottom] .gux-arrow,.gux-container.gux-dark[data-placement=bottom-start] .gux-arrow,.gux-container.gux-dark[data-placement=bottom-end] .gux-arrow{border-top:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color);border-left:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark[data-placement=top] .gux-arrow,.gux-container.gux-dark[data-placement=top-start] .gux-arrow,.gux-container.gux-dark[data-placement=top-end] .gux-arrow{border-right:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color);border-bottom:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark[data-placement=left] .gux-arrow,.gux-container.gux-dark[data-placement=left-start] .gux-arrow,.gux-container.gux-dark[data-placement=left-end] .gux-arrow{border-top:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color);border-right:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark[data-placement=right] .gux-arrow,.gux-container.gux-dark[data-placement=right-start] .gux-arrow,.gux-container.gux-dark[data-placement=right-end] .gux-arrow{border-bottom:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color);border-left:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-tooltip-dark-iconColor);align-self:center}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{c as gux_tooltip}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,c as s,h as i,H as h,g as a}from"./p-7d26b2e1.js";import{t as e}from"./p-7037907d.js";const l=class{constructor(i){t(this,i),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.activeTab=void 0,this.orientation="horizontal",this.alignment="left",this.useFlexbox=!1,this.tabList=void 0,this.tabPanels=[]}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,i){this.activeTab=t||i[0].tabId,s.guxSetActive(this.activeTab),i.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){e(this.root)}render(){return i(h,{class:{"gux-flex":this.useFlexbox}},i("div",{class:`gux-tabs gux-${this.alignment} gux-${this.orientation}`},i("slot",{name:"tab-list"}),i("div",{class:`gux-${this.alignment} gux-${this.orientation} gux-panel-container`},i("slot",{onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return a(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};l.style=":host(.gux-flex){display:flex;flex-direction:column}:host(.gux-flex) .gux-tabs{display:flex;flex-direction:column;height:100%}:host(.gux-flex) .gux-panel-container{display:flex;flex-direction:column;height:100%}.gux-tabs.gux-vertical{display:flex;height:100%}";export{l as gux_tabs}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as o,h as t,g as e}from"./p-7d26b2e1.js";import{t as r}from"./p-7037907d.js";const n=class{constructor(t){o(this,t),this.type="button",this.guxTitle=void 0,this.disabled=!1,this.accent="secondary"}componentWillLoad(){r(this.root,{variant:this.accent}),this.makeSlotContentDisableable()}render(){return t("button",{type:this.type,title:this.guxTitle,disabled:this.disabled,class:`gux-${this.accent}`},t("slot",null))}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>{this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())})),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>{this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}))}))}static get delegatesFocus(){return!0}get root(){return e(this)}};n.style=".gux-focus-ring-focused:focus{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-small-focused:focus{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}:host{display:inline-block;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){width:var(--gse-ui-button-icon-size);height:var(--gse-ui-button-icon-size)}::slotted(*){padding-left:8px;vertical-align:middle}::slotted(*:first-child){padding:0}button{font-family:var(--gse-ui-button-text-fontFamily);font-weight:var(--gse-ui-button-text-fontWeight);font-size:var(--gse-ui-button-text-fontSize);line-height:var(--gse-ui-button-text-lineHeight);color:var(--gse-ui-button-secondary-default-foregroundColor);background-color:var(--gse-ui-button-secondary-default-backgroundColor);width:100%;min-width:var(--gse-ui-button-icon-only-width);height:var(--gse-ui-button-height);padding:var(--gse-ui-button-padding);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;border:none;border-radius:var(--gse-ui-button-borderRadius)}button[disabled]{opacity:var(--gse-ui-button-disabled-opacity);cursor:default}button:hover:enabled{color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}button:active:enabled{color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}button:focus-visible:enabled{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}button.gux-primary{color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}button.gux-primary:hover:enabled{color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}button.gux-primary:active:enabled{color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}button.gux-tertiary{color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-width:var(--gse-ui-button-tertiary-default-border-width);border-style:var(--gse-ui-button-tertiary-default-border-style);border-color:var(--gse-ui-button-tertiary-default-border-color)}button.gux-tertiary:hover:enabled{color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}button.gux-tertiary:active:enabled{color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}button.gux-ghost{color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}button.gux-ghost:hover:enabled{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button.gux-ghost:active:enabled{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button.gux-danger{color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}button.gux-danger:hover:enabled{color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}button.gux-danger:active:enabled{color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}button.gux-inline{min-width:initial;height:initial;padding:0;color:var(--gse-ui-link-default-color);background:none;border:none}button.gux-inline[disabled]{color:var(--gse-ui-link-disabled-color)}button.gux-inline:hover:enabled{text-decoration:underline;color:var(--gse-ui-link-hover-color);background:none}button.gux-inline:active:enabled{text-decoration:underline;color:var(--gse-ui-link-active-color);background:none}";export{n as gux_button}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,c as a,d as i,h as e,g as n}from"./p-7d26b2e1.js";import{a as s}from"./p-091f51f6.js";import{t as o}from"./p-7037907d.js";const r=class{constructor(i){t(this,i),this.guxpaginationchange=a(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.totalPages=void 0,this.displayedLayout=void 0}setPage(t){if(t<=0)return void this.setPage(1);const a=this.calculateTotalPages(this.totalItems,this.itemsPerPage);t>a?this.setPage(a):(this.currentPage=t,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(t){this.itemsPerPage=t.detail,this.setPage(1)}handleInternalcurrentpagechange(t){this.setPage(t.detail)}calculateTotalPages(t,a){return Math.max(1,Math.ceil(t/a))}calculateCurrentPage(t,a){return Math.max(t>0?1:0,Math.min(a,t))}checkPaginationContainerWidthForLayout(){i((()=>{const t=this.root.shadowRoot.querySelector(".gux-pagination-container"),a=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=t.clientWidth;a.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{class:"gux-pagination-container"},e("div",{class:"gux-pagination-info"},e("gux-pagination-item-counts",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-spacer"}),e("div",{class:"gux-pagination-change"},e("gux-pagination-buttons",{layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);justify-content:flex-start;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{r as gux_pagination}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as i,H as o}from"./p-7d26b2e1.js";const e=class{constructor(i){t(this,i)}render(){return i(o,{role:"listitem"},i("slot",null))}static get delegatesFocus(){return!0}};e.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit}::slotted(a){padding:12px;font-size:2rem;background-color:#fdfdfd;box-shadow:0 8px 24px
|
1
|
+
import{r as t,h as i,H as o}from"./p-7d26b2e1.js";const e=class{constructor(i){t(this,i)}render(){return i(o,{role:"listitem"},i("slot",null))}static get delegatesFocus(){return!0}};e.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit}::slotted(a){padding:12px;font-size:2rem;background-color:#fdfdfd;box-shadow:0 8px 24px fade(#202937, 40%), 0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff !important}";export{e as gux_skip_navigation_item}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as o,H as t,g as r}from"./p-7d26b2e1.js";import{c as i,o as l}from"./p-3f5341ea.js";import{O as a}from"./p-f34ce7dc.js";import{p as s}from"./p-c10e41a9.js";import{h as n}from"./p-08bc2e6b.js";import{G as d,a as g,g as u,v as p}from"./p-b3c9fd06.js";import{t as f}from"./p-7037907d.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const h=class{constructor(o){e(this,o),this.disabled=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help"),f(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},o("div",{class:"gux-form-field-container"},o("div",{class:"gux-input-label"},o("div",{class:"gux-input"},o("slot",{name:"input",onSlotchange:()=>this.setInput()})),o("div",{class:"gux-label"},o("slot",{name:"label"}),o(d,{show:this.hasError},o("slot",{name:"error"})),o(g,{show:!this.hasError&&this.hasHelp},o("slot",{name:"help"}))))))}setInput(){this.input=u(this.root,'input[type="radio"][slot="input"]'),s(this.input),this.disabled=i(this.input),this.disabledObserver=l(this.input,(e=>{this.disabled=e})),p(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var i,l=arguments.length,a=l<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,t,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(l<3?i(a):l>3?i(o,t,a):i(o,t))||a);l>3&&a&&Object.defineProperty(o,t,a)})([a({childList:!0,subtree:!0})],h.prototype,"onMutation",null),h.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content: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;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);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;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);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}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}:host(.gux-input-error) ::slotted(input[type=radio]:not(:checked))::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill='%23E22245'/%3E%3C/svg%3E\")}:host(.gux-input-error) ::slotted(input[type=radio]:checked)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' fill='%23E22245'/%3E%3C/svg%3E\")}:host(.gux-input-error) .gux-form-field-error{color:var(--gse-ui-radioButton-icon-error-foregroundColor);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily)}.gux-input-label{display:flex;flex-direction:row;padding-top:4px}.gux-input-label .gux-label{display:flex;flex-direction:column;line-height:var(--gse-ui-radioButton-label-text-lineHeight)}::slotted(input[type=radio]){display:inline-grid;width:var(--gse-ui-radioButton-icon-width);height:var(--gse-ui-radioButton-icon-height);margin:1px var(--gse-ui-radioButton-helper-gap) 0px 0px;text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor)}::slotted(input[type=radio])::before{grid-area:1/1;content:\"\";border-radius:50%}::slotted(input[type=radio]:focus-visible){border-radius:var(--gse-ui-radioButton-focus-borderRadius);outline:var(--gse-ui-radioButton-focus-border-width) var(--gse-ui-radioButton-focus-border-style) var(--gse-ui-radioButton-focus-border-color);outline-offset:1px}::slotted(input[type=radio]:not(:checked))::before{background-image:\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' fill='%23767C8D'/%3E%3C/svg%3E\"}::slotted(input[type=radio]:not(:checked):not(:disabled):hover)::before{background-image:\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' fill='%233742A2'/%3E%3C/svg%3E\"}::slotted(input[type=radio]:checked:not(:disabled):hover)::before{background-image:\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' fill='%233742A2'/%3E%3C/svg%3E\"}::slotted(input[type=radio]:checked)::before{background-image:\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' fill='%234856CB'/%3E%3C/svg%3E\"}::slotted(input[type=radio]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(label){display:inline-block;font-size:var(--gse-ui-formControl-label-text-fontSize);line-height:var(--gse-ui-radioButton-label-text-lineHeight);vertical-align:middle;font-weight:var(--gse-ui-radioButton-label-text-fontWeight);color:var(--gse-ui-radioButton-label-foregroundColor);font-family:var(--gse-ui-radioButton-label-text-fontFamily)}";export{h as gux_form_field_radio}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as o,h as a,g as i}from"./p-7d26b2e1.js";import{r as n}from"./p-cbcbd1bb.js";import{t as s}from"./p-
|
1
|
+
import{r as t,c as o,h as a,g as i}from"./p-7d26b2e1.js";import{r as n}from"./p-cbcbd1bb.js";import{t as s}from"./p-7037907d.js";const e=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0,this.initialFocus=void 0}handleKeyEvent(t){"Escape"===t.key&&this.onDismissHandler(t)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){s(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var t,o,a;const i=this.getInitialFocusElement();i?null===(t=i.focus)||void 0===t||t.call(i):this.dismissButton&&(null===(a=(o=this.dismissButton).focus)||void 0===a||a.call(o))}render(){const t=this.hasModalTitleSlot(),o=this.hasFooterButtons(),i=n();return a("div",{class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":t?i:null},a("div",{class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),t&&a("h1",{class:"gux-modal-header",id:i},a("slot",{name:"title"})),a("gux-dismiss-button",{onClick:this.onDismissHandler.bind(this),ref:t=>this.dismissButton=t}),a("div",{class:{"gux-modal-content":!0,"gux-no-buttons":!o}},a("p",null,a("slot",{name:"content"}))),o&&a("div",{class:"gux-button-footer"},a("div",{class:"gux-left-align-buttons"},a("slot",{name:"left-align-buttons"})),a("div",{class:"gux-right-align-buttons"},a("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return a("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(t){var o;t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return i(this)}};e.style=":host .gux-modal{position:fixed;inset:0;z-index:var(--gux-zindex-modal, 1);display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 8px 24px rgba(32, 41, 55, 0.4)}:host .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px;overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}:host .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}:host .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{e as gux_modal}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as o,g as e}from"./p-7d26b2e1.js";import{c as i}from"./p-251befef.js";import{t as s}from"./p-
|
1
|
+
import{r as t,h as o,g as e}from"./p-7d26b2e1.js";import{c as i}from"./p-251befef.js";import{t as s}from"./p-7037907d.js";import{b as r}from"./p-deee079e.js";import"./p-8a133b9b.js";const n={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"},a=class{constructor(o){t(this,o),this.action=void 0,this.accent="secondary",this.iconOnly=!1,this.disabled=!1}returnActionLocale(t){return this.i18n(`action${i(t)}`)}returnActionTypeIcon(t){return"revert"==t?"reset":t}async componentWillLoad(){s(this.root,{variant:this.action}),this.i18n=await r(this.root,n)}render(){return o("gux-table-toolbar-custom-action",{"icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},o("span",{slot:"text"},this.returnActionLocale(this.action)),o("gux-icon",{slot:"icon","icon-name":this.returnActionTypeIcon(this.action),decorative:!0}))}get root(){return e(this)}};a.style=":host([disabled]){pointer-events:none}";export{a as gux_table_toolbar_action}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,c as a,h as i,g as e}from"./p-7d26b2e1.js";import{b as n}from"./p-deee079e.js";import{t as o}from"./p-abb9b5f7.js";import{b as s}from"./p-091f51f6.js";import"./p-8a133b9b.js";class r{static displayAllPageButtons(t,a,i){switch(i){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const i=a+1;return{pageNumber:i,display:String(i),current:i===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const i=a+1;return{pageNumber:i,display:String(i),current:i===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const i=[...Array(5).keys()].map((i=>{const e=i+a-4;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...i]}const i=[...Array(3).keys()].map((a=>{const i=a+t-1;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...i,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const i=a+1;return{pageNumber:i,display:String(i),current:i===t}})):a>=4?[...[...Array(1).keys()].map((i=>{const e=i+t;return{pageNumber:e,display:String(e),current:e!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const g=class{constructor(i){t(this,i),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="advanced"}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),s((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,e){return r.displayAllPageButtons(t,a,e).reduce(((t,a)=>t.concat(a.current?i("button",{ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current"},a.display):"..."==a.display?i("gux-pagination-ellipsis-button",{totalPages:this.totalPages}):i("button",{class:"gux-pagination-buttons-list-target",onClick:()=>this.handlePageChange(a.pageNumber)},a.display))),[])}getPageNavigation(){return i("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return i("div",{class:`gux-pagination-buttons-container gux-${this.layout}`},i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot",{accent:"ghost"},i("button",{title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-left"}))),i("gux-button-slot",{accent:"ghost"},i("button",{title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})))),this.getPageNavigation(),i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot",{accent:"ghost"},i("button",{title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),i("gux-button-slot",{accent:"ghost"},i("button",{title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-right"})))))}get root(){return e(this)}};g.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);justify-content:flex-end;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-shrink:0;flex-wrap:nowrap;align-content:stretch;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-items:center;justify-content:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{min-width:28px;min-height:24px;padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);margin:0;background:inherit;border:none;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight)}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current:focus-visible,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:focus-visible{outline:var(--gse-semantic-focusRing-width) solid var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset);border-radius:calc(var(--gse-semantic-focusRing-cornerRadius) - var(--gse-semantic-focusRing-offset))}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{color:var(--gse-ui-button-ghost-default-foregroundColor);cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";const u={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},l=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,u)}getPaginationItemCountsRange(){if(this.totalItems)return i("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return i("div",{class:"gux-pagination-item-counts-container"},i("span",{class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),this.getPaginationItemCountsRange())}get root(){return e(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);white-space:nowrap;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight)}";const p={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},c=class{constructor(i){t(this,i),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,p)}getDropdown(){return i("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},i("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},i("gux-option",{value:"25"},"25"),i("gux-option",{value:"50"},"50"),i("gux-option",{value:"75"},"75"),i("gux-option",{value:"100"},"100")))}render(){return i("div",{class:"gux-pagination-items-per-page-container"},i("div",{class:"gux-pagination-items-per-page-picker"},this.getDropdown()),i("div",{class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return e(this)}};c.style="gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-items:center;justify-content: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;width:64px}gux-pagination-items-per-page .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{bottom: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);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight)}";export{g as gux_pagination_buttons,l as gux_pagination_item_counts,c as gux_pagination_items_per_page}
|
@@ -0,0 +1 @@
|
|
1
|
+
const t="4.0.0-beta.30",e=20,n=3e4,o=[function(t){const[e,n,...o]=t.split(".");return{name:"spark-library",metadata:{fullVersion:`${e}.${n}.${o.join(".")}`,majorVersion:e,minorVersion:`${e}.${n}`}}}(t)];function i(){const t=window.newrelic;if(t){for(let r=0;r<e;r++){if(0==o.length)return void setTimeout(i,n);const e=o.shift();t.addPageAction(e.name,Object.assign(Object.assign({},e.metadata),{queueDepth:o.length}))}setTimeout(i,n)}}let r=!1;function a(e,n){window.newrelic&&(r||(r=!0,i()),document.contains(e)&&o.push({name:"spark-component",metadata:Object.assign(Object.assign({},n),{component:e.tagName.toLowerCase(),version:t})}))}export{a as t}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as e,g as i}from"./p-7d26b2e1.js";import{t as s}from"./p-
|
1
|
+
import{r as t,h as e,g as i}from"./p-7d26b2e1.js";import{t as s}from"./p-7037907d.js";import{O as n}from"./p-9d18d475.js";import{b as r,g as o}from"./p-deee079e.js";import{s as a}from"./p-d176c2ae.js";import{b as h}from"./p-091f51f6.js";import{g as u,a as p,b as g}from"./p-955a1e6a.js";import"./p-8a133b9b.js";const l={toggleCalendar:"Toggle month calendar view",month:"Month",year:"Year",unset:"Unset"};const d={year:"numeric",month:"long"},x=["ar","he","ja","ko","zh-cn","zh-tw"],c=class{constructor(e){t(this,e),this.value=void 0,this.min=void 0,this.max=void 0,this.disabled=!1,this.expanded=!1,this.locale=void 0}onKeyDown(t){"Escape"===t.key&&(this.expanded=!1,this.calendarToggleButtonElement.focus())}onValueUpdate(t){this.value=this.isOutOfBounds(t)?this.isBeforeMin(t)?this.min:this.max:t,a(this.root,"input"),a(this.root,"change")}onClickOutside(){this.expanded=!1}async componentWillLoad(){s(this.root),this.i18n=await r(this.root,l),this.locale=o(this.root)}isOutOfBounds(t){return this.isBeforeMin(t)||this.isAfterMax(t)}isBeforeMin(t){return this.min&&this.min>t}isAfterMax(t){return this.max&&this.max<t}toggleCalendar(){this.expanded=!this.expanded,this.expanded&&h((()=>{this.monthCalendarElement.guxFocus(this.value)}))}onMonthCalendarInput(){this.value=this.monthCalendarElement.value,this.expanded=!1,this.calendarToggleButtonElement.focus()}incrementMonth(t){if(this.value){const{year:e,month:i}=u(this.value),s=((parseInt(i)+11+t)%12+1).toString().padStart(2,"0");this.value=p(e,s)}else this.value=g()}incrementYear(t){if(this.value){const{year:e,month:i}=u(this.value),s=Math.max(Number(e)+t,0).toString();this.value=p(s,i)}else this.value=g()}onSpinnerKeyDown(t,e,i){switch(t.key){case"ArrowDown":t.preventDefault(),e(-1);break;case"ArrowUp":t.preventDefault(),e(1);break;case"ArrowLeft":case"ArrowRight":t.preventDefault(),i.focus();break;case"Enter":t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)}));break;case" ":t.preventDefault()}}onSpinnerKeyUp(t){t.stopPropagation()," "===t.key&&(t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)})))}onSpinnerClick(){this.expanded=!0}getSpinnerLabel(t){if(this.value){const{year:e,month:i}=u(this.value);return new Date(Number(e),Number(i)-1).toLocaleDateString(this.locale,{[t]:d[t]})}return this.i18n(t)}getSpinnerValueNow(t){return this.value?u(this.value)[t]:"0"}getSpinnerValueText(){if(this.value){const{year:t,month:e}=u(this.value);return new Date(Number(t),Number(e)-1).toLocaleDateString(this.locale,{year:"numeric",month:"long"})}return this.i18n("unset")}renderMonthSpinnerButton(){return e("div",{role:"spinbutton",class:{"gux-spinner":!0,"gux-empty":Boolean(!this.value)},tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementMonth(t)),this.yearSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.monthSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("month"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"1","aria-valuemax":"12","aria-label":this.i18n("month")},this.getSpinnerLabel("month"))}renderYearSpinnerButton(){return e("div",{role:"spinbutton",class:{"gux-spinner":!0,"gux-empty":Boolean(!this.value)},tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementYear(t)),this.monthSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.yearSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("year"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"0","aria-label":this.i18n("year")},this.getSpinnerLabel("year"))}renderSpinnerButtons(){return x.includes(this.locale)?e("span",{class:"gux-display"},this.renderYearSpinnerButton(),this.renderMonthSpinnerButton()):e("span",{class:"gux-display"},this.renderMonthSpinnerButton(),this.renderYearSpinnerButton())}renderCalendarToggleButton(){return e("button",{class:{"gux-popup-toggle":!0,"gux-expanded":this.expanded},ref:t=>this.calendarToggleButtonElement=t,type:"button",onClick:()=>this.toggleCalendar(),disabled:this.disabled},e("gux-icon",{"icon-name":"calendar","screenreader-text":this.i18n("toggleCalendar")}))}renderTarget(){return e("div",{class:"gux-target",slot:"target"},this.renderSpinnerButtons(),this.renderCalendarToggleButton())}renderPopup(){return e("gux-month-calendar",{slot:"popup",ref:t=>this.monthCalendarElement=t,onInput:()=>this.onMonthCalendarInput(),value:this.value,min:this.min,max:this.max})}render(){return e("gux-popup",{expanded:this.expanded,disabled:this.disabled},this.renderTarget(),this.renderPopup())}get root(){return i(this)}static get watchers(){return{value:["onValueUpdate"]}}};(function(t,e,i,s){var n,r=arguments.length,o=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,s);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(r<3?n(o):r>3?n(e,i,o):n(e,i))||o);r>3&&o&&Object.defineProperty(e,i,o)})([n({triggerEvents:"mousedown"})],c.prototype,"onClickOutside",null),c.style=":host{display:inline-block}.gux-target{display:inline-flex;padding:4px 8px 4px 12px;cursor:pointer;background-color:#f6f7f9;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-target .gux-display{display:inline-flex;min-width:100px;padding-right:8px;color:#2e394c}.gux-target .gux-display .gux-spinner{outline:none}.gux-target .gux-display .gux-spinner:not(:first-child){margin-left:4px}.gux-target .gux-display .gux-spinner:focus-visible{background:#deeaff}.gux-target .gux-display .gux-spinner.gux-empty{color:#596373}.gux-target .gux-popup-toggle{justify-content:right;padding:2px;color:#596373;background:transparent;border:none;border-radius:4px}.gux-target .gux-popup-toggle:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-target .gux-popup-toggle:not(:disabled):focus,.gux-target .gux-popup-toggle:not(:disabled):hover{color:#2e394c;cursor:pointer}.gux-target .gux-popup-toggle gux-icon{width:16px;height:16px}.gux-target .gux-popup-toggle.gux-expanded{color:#2a60c8}.gux-target .gux-popup-toggle.gux-expanded:not(:disabled):focus-visible,.gux-target .gux-popup-toggle.gux-expanded:not(:disabled):hover{color:#2a60c8}";export{c as gux_month_picker_beta}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as s,g as i}from"./p-7d26b2e1.js";import{t as r}from"./p-7037907d.js";const n=/[ +]/g,e=new Map,h=new Map;function a(t){return t.replace(/[\^$*+?.(){}[\]\\]/g,"\\$&")}const o=class{constructor(s){t(this,s),this.text=void 0,this.highlight=void 0,this.strategy="start",this.dimmed=!1}componentWillLoad(){r(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),i=this.text.substring(this.highlight.length);return s("span",{class:{"gux-dimmed":this.dimmed}},s("mark",null,t),i)}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),i=t.remaining.substring(0,s),r=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=i+`<mark>${r}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+t.remaining})}renderFuzzy(){if(function(t,s){let i=e.get(t);return i||(i=function(t){const s=t.split(n).map(a);if(1===s.length)return new RegExp(s[0],"i");let i="(";return s.forEach(((t,r)=>{i+=t+").*",r!==s.length-1&&(i+="(")})),new RegExp(i+"$","i")}(t),e.set(t,i)),i.test(s)}(this.highlight,this.text)){const i=(t=this.highlight,t.split(n).map(a).map((t=>{let s=h.get(t);return s||(s=new RegExp(t,"i"),h.set(t,s)),s}))).reduce(((t,s)=>{const{0:i,index:r,input:n}=t.remaining.match(s),e=n.substring(0,r);return{highlighted:`${t.highlighted+e}<mark>${i}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:i.highlighted+i.remaining})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return i(this)}};o.style="mark{background-color:var(--gse-ui-search-match-firstLevel-backgroundColor)}.gux-dimmed mark{background-color:var(--gse-ui-search-match-subsequentLevel-backgroundColor)}";export{o as gux_text_highlight}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as o,H as s,g as e}from"./p-7d26b2e1.js";import{a as i}from"./p-091f51f6.js";import{t as r}from"./p-
|
1
|
+
import{r as t,h as o,H as s,g as e}from"./p-7d26b2e1.js";import{a as i}from"./p-091f51f6.js";import{t as r}from"./p-7037907d.js";import{h as n}from"./p-837e3eff.js";import{c as a}from"./p-e459974a.js";const u=class{constructor(o){t(this,o),this.isShown=!1}forceUpdate(t){t&&this.popperInstance&&this.popperInstance.update()}onKeydown(t){if(t.stopPropagation(),this.isShown)switch(t.key){case"Escape":case"ArrowLeft":case"ArrowUp":return void this.root.focus();case"ArrowDown":return t.preventDefault(),void this.focusOnMenu();case"Enter":return void(this.hideDelayTimeout=i((()=>{this.focusOnMenu()})))}}onKeyup(t){t.stopPropagation()," "!==t.key||(this.menuContentElement.contains(document.activeElement)?this.root.focus():this.hideDelayTimeout=i((()=>{this.focusOnMenu()})))}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(t){0!==t.detail&&this.hide(),this.root.focus()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),n))}runPopper(){this.popperInstance=a(this.targetElement,document.querySelector("gux-menu"),{modifiers:[{name:"offset",options:{offset:[0,16]}},{name:"arrow",options:{padding:16}}],placement:"bottom-start"})}destroyPopper(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}focusOnMenu(){if(this.menuContentElement.contains(document.activeElement))return;const t=this.root.querySelector("gux-menu");Array.from(t.children)[0].guxFocus()}componentWillLoad(){r(this.root)}componentDidLoad(){this.runPopper()}disconnectedCallback(){this.destroyPopper()}render(){return o(s,{tabIndex:0,"aria-haspopup":"true"},o("span",{ref:t=>this.targetElement=t},o("slot",{name:"target"})),o("div",{class:{"gux-flyout-menu-content":!0,"gux-shown":this.isShown},ref:t=>this.menuContentElement=t},o("slot",{name:"menu"})))}get root(){return e(this)}static get watchers(){return{isShown:["forceUpdate"]}}};u.style=":host{z-index:var(--gux-zindex-popover, 2);color:#2e394c;cursor:default}:host(:focus){outline:none}:host(:focus-visible){outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-flyout-menu-content{display:none;margin:0}.gux-flyout-menu-content.gux-shown{display:flex}.gux-arrow,.gux-arrow::before{position:absolute;top:-3px;width:10px;height:10px;background:inherit}.gux-arrow::before{visibility:visible;content:'';border-top:1px solid #b4bccb;border-left:1px solid #b4bccb;transform:rotate(45deg)}";export{u as gux_flyout_menu_beta}
|