genesys-spark-components 4.0.0-beta.35 → 4.0.0-beta.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/genesys-webcomponents.cjs.js +3 -6
- package/dist/cjs/{get-valid-timezone-39ba3e64.js → get-valid-timezone-5a9231d3.js} +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +4 -4
- package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-button.cjs.entry.js +8 -8
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +8 -8
- package/dist/cjs/gux-all-row-select.cjs.entry.js +5 -5
- package/dist/cjs/gux-announce-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-badge.cjs.entry.js +5 -5
- package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +5 -5
- package/dist/cjs/gux-button-multi.cjs.entry.js +6 -6
- package/dist/cjs/gux-button-slot.cjs.entry.js +4 -4
- package/dist/cjs/gux-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +9 -9
- package/dist/cjs/gux-calendar.cjs.entry.js +8 -8
- package/dist/cjs/gux-card.cjs.entry.js +2 -2
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +7 -7
- package/dist/cjs/gux-column-manager.cjs.entry.js +7 -7
- package/dist/cjs/{gux-column-manager.service-8a71e1f3.js → gux-column-manager.service-7f1cc862.js} +2 -2
- package/dist/cjs/gux-content-search.cjs.entry.js +7 -7
- package/dist/cjs/gux-context-menu.cjs.entry.js +9 -9
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +7 -7
- package/dist/cjs/gux-create-option.cjs.entry.js +5 -5
- package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-datepicker.cjs.entry.js +10 -10
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +4 -4
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +11 -11
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +15 -15
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/gux-form-field-color.cjs.entry.js +13 -13
- package/dist/cjs/{gux-form-field-container-64e8bc38.js → gux-form-field-container-48871f4b.js} +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +15 -15
- package/dist/cjs/{gux-form-field-fieldset-container-1abe7d3b.js → gux-form-field-fieldset-container-c0d39bed.js} +1 -1
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-number_3.cjs.entry.js +23 -23
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +14 -14
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +11 -11
- package/dist/cjs/gux-form-field-range.cjs.entry.js +13 -13
- package/dist/cjs/gux-form-field-search.cjs.entry.js +13 -13
- package/dist/cjs/gux-form-field-select.cjs.entry.js +13 -13
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +13 -13
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +13 -13
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +14 -14
- package/dist/cjs/{gux-form-field.service-dd469568.js → gux-form-field.service-704c78c2.js} +5 -5
- package/dist/cjs/gux-icon.cjs.entry.js +3 -3
- package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
- package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +9 -9
- package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
- package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +4 -4
- package/dist/cjs/gux-month-calendar.cjs.entry.js +7 -7
- package/dist/cjs/gux-month-list_2.cjs.entry.js +4 -4
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +9 -9
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-multi.cjs.entry.js +5 -5
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
- package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +8 -8
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +5 -5
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination.cjs.entry.js +4 -4
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +8 -8
- package/dist/cjs/gux-popover-list.cjs.entry.js +6 -6
- package/dist/cjs/gux-popup.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-loading.cjs.entry.js +5 -5
- package/dist/cjs/gux-radial-progress.cjs.entry.js +4 -4
- package/dist/cjs/gux-rating.cjs.entry.js +6 -6
- package/dist/cjs/gux-region-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-row-select.cjs.entry.js +5 -5
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-sort-control.cjs.entry.js +7 -7
- package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
- package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-advanced-legacy.cjs.entry.js +7 -7
- package/dist/cjs/gux-tab-advanced-list-legacy.cjs.entry.js +8 -8
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +8 -8
- package/dist/cjs/gux-tab-advanced-panel-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +7 -7
- package/dist/cjs/gux-tab-list.cjs.entry.js +6 -6
- package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +8 -8
- package/dist/cjs/gux-table-select-popover.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +5 -5
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +6 -6
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +5 -5
- package/dist/cjs/gux-table.cjs.entry.js +8 -8
- package/dist/cjs/gux-tabs-advanced-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gux-tag.cjs.entry.js +5 -5
- package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-time-picker.cjs.entry.js +8 -8
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-toast.cjs.entry.js +4 -4
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
- package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +4 -4
- package/dist/cjs/gux-tooltip.cjs.entry.js +7 -7
- package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
- package/dist/cjs/{index-0d0fdb85.js → index-39160f18.js} +155 -39
- package/dist/cjs/{index-9bbde1aa.js → index-ff762de3.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -12
- package/dist/cjs/{on-click-outside-428f8bbf.js → on-click-outside-a7d87c91.js} +1 -1
- package/dist/cjs/{on-mutation-247f99dd.js → on-mutation-f396cc0e.js} +1 -1
- package/dist/cjs/{on-resize-ee6a4b87.js → on-resize-b4982908.js} +1 -1
- package/dist/cjs/{usage-7e2e71dc.js → usage-d4216a6a.js} +5 -5
- package/dist/collection/collection-manifest.json +127 -127
- package/dist/collection/components/beta/gux-announce/gux-announce.js +7 -5
- package/dist/collection/components/beta/gux-announce/tests/gux-announce.e2e.js +18 -0
- package/dist/collection/components/beta/gux-announce/tests/gux-announce.spec.js +19 -0
- package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.css +14 -15
- package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.js +9 -9
- package/dist/collection/components/beta/gux-calendar-beta/services/calendar.service.js +1 -1
- package/dist/collection/components/beta/gux-calendar-beta/tests/gux-calendar.e2e.js +202 -0
- package/dist/collection/components/beta/gux-calendar-beta/tests/gux-calendar.spec.js +19 -0
- package/dist/collection/components/beta/gux-date/gux-date.js +9 -7
- package/dist/collection/components/beta/gux-date/tests/gux-date.e2e.js +30 -0
- package/dist/collection/components/beta/gux-date/tests/gux-date.spec.js +30 -0
- package/dist/collection/components/beta/gux-date-time/gux-date-time.js +9 -7
- package/dist/collection/components/beta/gux-date-time/tests/gux-date-time.e2e.js +30 -0
- package/dist/collection/components/beta/gux-date-time/tests/gux-date-time.spec.js +30 -0
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.css +7 -7
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +18 -12
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.css +3 -3
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +4 -3
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +4 -3
- package/dist/collection/components/beta/gux-month-picker/gux-month-picker.css +5 -5
- package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +14 -11
- package/dist/collection/components/beta/gux-month-picker/tests/gux-month-picker.e2e.js +18 -0
- package/dist/collection/components/beta/gux-month-picker/tests/gux-month-picker.spec.js +27 -0
- package/dist/collection/components/beta/gux-phone-input/components/gux-region-icon/gux-region-icon.js +3 -3
- package/dist/collection/components/beta/gux-phone-input/components/gux-region-icon/gux-region-select.service.js +1 -1
- package/dist/collection/components/beta/gux-phone-input/gux-phone-input.css +2 -45
- package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +12 -11
- package/dist/collection/components/beta/gux-phone-input/services/region-map.service.js +1 -1
- package/dist/collection/components/beta/gux-phone-input/tests/gux-phone-input.e2e.js +88 -0
- package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +2 -2
- package/dist/collection/components/beta/gux-screen-reader/tests/gux-screen-reader.e2e.js +16 -0
- package/dist/collection/components/beta/gux-screen-reader/tests/gux-screen-reader.spec.js +17 -0
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.css +18 -61
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +3 -3
- package/dist/collection/components/beta/gux-segmented-control/tests/gux-segmented-control.e2e.js +108 -0
- package/dist/collection/components/beta/gux-segmented-control/tests/gux-segmented-control.spec.js +126 -0
- package/dist/collection/components/beta/gux-time/gux-time.js +9 -7
- package/dist/collection/components/beta/gux-time/tests/gux-time.e2e.js +30 -0
- package/dist/collection/components/beta/gux-time/tests/gux-time.spec.js +30 -0
- package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +7 -7
- package/dist/collection/components/beta/gux-time-zone-picker/tests/gux-time-zone-picker.e2e.js +53 -0
- package/dist/collection/components/beta/gux-time-zone-picker/tests/gux-time-zone-picker.spec.js +15 -0
- package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.css +1 -44
- package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +2 -2
- package/dist/collection/components/legacy/gux-action-toast-legacy/tests/gux-action-toast.e2e.js +26 -0
- package/dist/collection/components/legacy/gux-action-toast-legacy/tests/gux-action-toast.spec.js +28 -0
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +5 -3
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/tests/gux-dropdown-option.spec.js +47 -0
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.css +1 -52
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +11 -9
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/tests/gux-advanced-dropdown.e2e.js +149 -0
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/tests/gux-advanced-dropdown.spec.js +17 -0
- package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +7 -6
- package/dist/collection/components/legacy/gux-disclosure-button-legacy/tests/gux-disclosure-button.e2e.js +80 -0
- package/dist/collection/components/legacy/gux-disclosure-button-legacy/tests/gux-disclosure-button.spec.js +82 -0
- package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.css +1 -44
- package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +4 -3
- package/dist/collection/components/legacy/gux-notification-toast-legacy/tests/gux-notification-toast.e2e.js +109 -0
- package/dist/collection/components/legacy/gux-notification-toast-legacy/tests/gux-notification-toast.spec.js +99 -0
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons-legacy.css +14 -14
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +6 -5
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/tests/gux-pagination-buttons.service.spec.js +138 -0
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/tests/gux-pagination-buttons.spec.js +39 -0
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts-legacy.css +3 -3
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +3 -3
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/tests/gux-pagination-item-counts.spec.js +30 -0
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page-legacy.css +3 -3
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +5 -4
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/tests/gux-pagination-items-per-page.spec.js +33 -0
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-legacy.css +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +8 -5
- package/dist/collection/components/legacy/gux-pagination-legacy/tests/gux-pagination.e2e.js +53 -0
- package/dist/collection/components/legacy/gux-pagination-legacy/tests/gux-pagination.spec.js +65 -0
- package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +4 -3
- package/dist/collection/components/legacy/gux-simple-toast-legacy/tests/gux-simple-toast.e2e.js +103 -0
- package/dist/collection/components/legacy/gux-simple-toast-legacy/tests/gux-simple-toast.spec.js +93 -0
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.css +0 -43
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +5 -4
- package/dist/collection/components/legacy/gux-switch-legacy/tests/gux-switch.e2e.js +87 -0
- package/dist/collection/components/legacy/gux-switch-legacy/tests/gux-switch.spec.js +116 -0
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced/gux-tab-advanced.js +12 -9
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-list/gux-tab-advanced-list.css +1 -85
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-list/gux-tab-advanced-list.js +9 -8
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-panel/gux-tab-advanced-panel.css +1 -42
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-panel/gux-tab-advanced-panel.js +3 -2
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tabs-advanced.js +4 -3
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/tests/gux-tabs-advanced.e2e.js +216 -0
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/tests/gux-tabs-advanced.spec.js +73 -0
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.css +4 -94
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +7 -5
- package/dist/collection/components/stable/gux-accordion/gux-accordion.js +2 -2
- package/dist/collection/components/stable/gux-accordion/tests/gux-accordion.e2e.js +46 -0
- package/dist/collection/components/stable/gux-accordion/tests/gux-accordion.spec.js +52 -0
- package/dist/collection/components/stable/gux-action-button/gux-action-button.css +1 -1
- package/dist/collection/components/stable/gux-action-button/gux-action-button.js +12 -10
- package/dist/collection/components/stable/gux-action-button/tests/gux-action-button.e2e.js +93 -0
- package/dist/collection/components/stable/gux-action-button/tests/gux-action-button.spec.js +96 -0
- package/dist/collection/components/stable/gux-alert/gux-inline-alert.css +2 -2
- package/dist/collection/components/stable/gux-alert/gux-inline-alert.js +6 -5
- package/dist/collection/components/stable/gux-alert/tests/gux-inline-alert.e2e.js +22 -0
- package/dist/collection/components/stable/gux-alert/tests/gux-inline-alert.spec.js +23 -0
- package/dist/collection/components/stable/gux-badge/gux-badge.css +3 -3
- package/dist/collection/components/stable/gux-badge/gux-badge.js +6 -5
- package/dist/collection/components/stable/gux-badge/tests/gux-badge.e2e.js +38 -0
- package/dist/collection/components/stable/gux-badge/tests/gux-badge.spec.js +39 -0
- package/dist/collection/components/stable/gux-blank-state/gux-blank-state.css +9 -9
- package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +2 -2
- package/dist/collection/components/stable/gux-blank-state/tests/gux-blank-state.e2e.js +19 -0
- package/dist/collection/components/stable/gux-blank-state/tests/gux-blank-state.spec.js +26 -0
- package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.css +5 -5
- package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +2 -2
- package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.css +3 -3
- package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +6 -5
- package/dist/collection/components/stable/gux-breadcrumbs/tests/gux-breadcrumbs.e2e.js +48 -0
- package/dist/collection/components/stable/gux-breadcrumbs/tests/gux-breadcrumbs.spec.js +91 -0
- package/dist/collection/components/stable/gux-button/gux-button.css +9 -50
- package/dist/collection/components/stable/gux-button/gux-button.js +6 -4
- package/dist/collection/components/stable/gux-button/tests/gux-button.e2e.js +131 -0
- package/dist/collection/components/stable/gux-button/tests/gux-button.spec.js +114 -0
- package/dist/collection/components/stable/gux-button-multi/gux-button-multi.css +1 -1
- package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +8 -7
- package/dist/collection/components/stable/gux-button-multi/tests/gux-button-multi.e2e.js +69 -0
- package/dist/collection/components/stable/gux-button-multi/tests/gux-button-multi.spec.js +16 -0
- package/dist/collection/components/stable/gux-button-slot/gux-button-slot.css +9 -50
- package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +5 -4
- package/dist/collection/components/stable/gux-button-slot/tests/gux-button-slot.e2e.js +206 -0
- package/dist/collection/components/stable/gux-button-slot/tests/gux-button-slot.spec.js +258 -0
- package/dist/collection/components/stable/gux-calendar/gux-calendar.css +13 -13
- package/dist/collection/components/stable/gux-calendar/gux-calendar.js +23 -15
- package/dist/collection/components/stable/gux-calendar/gux-calendar.service.js +1 -1
- package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.e2e.js +45 -0
- package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.methods.spec.js +233 -0
- package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.service.spec.js +160 -0
- package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.spec.js +31 -0
- package/dist/collection/components/stable/gux-card/gux-card.js +4 -3
- package/dist/collection/components/stable/gux-card/tests/gux-card.e2e.js +16 -0
- package/dist/collection/components/stable/gux-card/tests/gux-card.spec.js +17 -0
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +1 -54
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +13 -9
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/tests/gux-column-manager-item.service.spec.js +35 -0
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +7 -6
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager.service.js +2 -2
- package/dist/collection/components/stable/gux-content-search/gux-content-search.css +46 -91
- package/dist/collection/components/stable/gux-content-search/gux-content-search.js +8 -7
- package/dist/collection/components/stable/gux-content-search/tests/gux-content-search.e2e.js +542 -0
- package/dist/collection/components/stable/gux-content-search/tests/gux-content-search.spec.js +202 -0
- package/dist/collection/components/stable/gux-context-menu/gux-context-menu.css +2 -2
- package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +8 -8
- package/dist/collection/components/stable/gux-context-menu/tests/gux-context-menu.e2e.js +78 -0
- package/dist/collection/components/stable/gux-context-menu/tests/gux-context-menu.spec.js +44 -0
- package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.css +3 -3
- package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +6 -6
- package/dist/collection/components/stable/gux-copy-to-clipboard/tests/gux-copy-to-clipboard.e2e.js +23 -0
- package/dist/collection/components/stable/gux-copy-to-clipboard/tests/gux-copy-to-clipboard.spec.js +46 -0
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.css +3 -42
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +14 -12
- package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.e2e.js +112 -0
- package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.service.spec.js +237 -0
- package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.spec.js +36 -0
- package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.css +5 -5
- package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +6 -5
- package/dist/collection/components/stable/gux-dismiss-button/tests/gux-dismiss-button.e2e.js +20 -0
- package/dist/collection/components/stable/gux-dismiss-button/tests/gux-dismiss-button.spec.js +22 -0
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.css +3 -3
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +13 -12
- package/dist/collection/components/stable/gux-dropdown/tests/gux-dropdown.e2e.js +190 -0
- package/dist/collection/components/stable/gux-dropdown/tests/gux-dropdown.spec.js +65 -0
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.css +1 -42
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +3 -3
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.css +5 -48
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +14 -12
- package/dist/collection/components/stable/gux-dropdown-multi/tests/gux-dropdown-multi.e2e.js +309 -0
- package/dist/collection/components/stable/gux-dropdown-multi/tests/gux-dropdown-multi.spec.js +24 -0
- package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.css +2 -43
- package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +5 -5
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +4 -3
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +6 -5
- package/dist/collection/components/stable/gux-flyout-menu/tests/gux-flyout-menu.e2e.js +71 -0
- package/dist/collection/components/stable/gux-flyout-menu/tests/gux-flyout-menu.spec.js +52 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.css +1 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +9 -9
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/tests/gux-form-field-checkbox.e2e.js +93 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/tests/gux-form-field-checkbox.spec.js +64 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +4 -86
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +12 -11
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/tests/gux-form-field-color.e2e.js +83 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/tests/gux-form-field-color.spec.js +65 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +2 -45
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +14 -13
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/tests/gux-form-field-dropdown.e2e.js +196 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/tests/gux-form-field-dropdown.spec.js +188 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +5 -87
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +18 -16
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/tests/gux-form-field-number.e2e.js +110 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/tests/gux-form-field-number.spec.js +85 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.css +2 -45
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +15 -14
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.css +27 -16
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +9 -9
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/tests/gux-form-field-radio.e2e.js +101 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/tests/gux-form-field-radio.spec.js +62 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +16 -60
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +12 -11
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +6 -88
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +14 -12
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/tests/gux-form-field-search.e2e.js +83 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/tests/gux-form-field-search.spec.js +65 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +5 -48
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +12 -11
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/tests/gux-form-field-select.e2e.js +95 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/tests/gux-form-field-select.spec.js +80 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +9 -91
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +14 -12
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.e2e.js +171 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.spec.js +125 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +5 -87
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +14 -12
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/tests/gux-form-field-textarea.e2e.js +104 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/tests/gux-form-field-textarea.spec.js +79 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.css +2 -45
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +12 -11
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/tests/gux-form-field-time-picker.e2e.js +83 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/tests/gux-form-field-time-picker.spec.js +66 -0
- package/dist/collection/components/stable/gux-form-field/functional-components/functional-components.js +6 -6
- package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-container/gux-form-field-container.js +1 -1
- package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-error/gux-form-field-error.js +1 -1
- package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-fieldset-container/gux-form-field-fieldset-container.js +1 -1
- package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-help/gux-form-field-help.js +1 -1
- package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-label/gux-form-field-label.js +1 -1
- package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-legend-label/gux-form-field-legend-label.js +1 -1
- package/dist/collection/components/stable/gux-form-field/gux-form-field.service.js +4 -4
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.css +1 -40
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +4 -4
- package/dist/collection/components/stable/gux-form-field/tests/gux-form-field.service.spec.js +19 -0
- package/dist/collection/components/stable/gux-icon/gux-icon.js +6 -5
- package/dist/collection/components/stable/gux-icon/gux-icon.service.js +1 -1
- package/dist/collection/components/stable/gux-icon/tests/gux-icon.e2e.js +11 -0
- package/dist/collection/components/stable/gux-icon/tests/gux-icon.service.spec.js +22 -0
- package/dist/collection/components/stable/gux-icon/tests/gux-icon.spec.js +6 -0
- 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-divider/tests/gux-list-divider.spec.js +22 -0
- package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.css +9 -9
- package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +2 -2
- package/dist/collection/components/stable/gux-list/gux-list-item/tests/gux-list-item.spec.js +22 -0
- package/dist/collection/components/stable/gux-list/gux-list.js +11 -7
- package/dist/collection/components/stable/gux-list/tests/gux-list.e2e.js +20 -0
- package/dist/collection/components/stable/gux-list/tests/gux-list.spec.js +23 -0
- package/dist/collection/components/stable/gux-listbox/gux-listbox.css +2 -2
- package/dist/collection/components/stable/gux-listbox/gux-listbox.js +12 -10
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.css +7 -7
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +7 -7
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.css +8 -8
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +6 -5
- package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.css +1 -1
- package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +12 -10
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +4 -4
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +4 -4
- package/dist/collection/components/stable/gux-loading-message/gux-loading-message.css +6 -6
- package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +2 -2
- package/dist/collection/components/stable/gux-loading-message/tests/gux-loading-message.e2e.js +14 -0
- package/dist/collection/components/stable/gux-loading-message/tests/gux-loading-message.spec.js +27 -0
- package/dist/collection/components/stable/gux-modal/gux-modal.css +14 -57
- package/dist/collection/components/stable/gux-modal/gux-modal.js +5 -4
- package/dist/collection/components/stable/gux-modal/tests/gux-modal.e2e.js +300 -0
- package/dist/collection/components/stable/gux-modal/tests/gux-modal.spec.js +200 -0
- package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +2 -2
- package/dist/collection/components/stable/gux-page-loading-spinner/tests/gux-page-loading-spinner.e2e.js +33 -0
- package/dist/collection/components/stable/gux-page-loading-spinner/tests/gux-page-loading-spinner.spec.js +12 -0
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.css +8 -8
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +7 -6
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.css +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +6 -6
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/tests/gux-pagination-buttons.service.spec.js +129 -0
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/tests/gux-pagination-buttons.spec.js +32 -0
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.css +3 -3
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +3 -3
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/tests/gux-pagination-item-counts.spec.js +30 -0
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.css +3 -3
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +5 -4
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/tests/gux-pagination-items-per-page.spec.js +37 -0
- package/dist/collection/components/stable/gux-pagination/gux-pagination.css +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination.js +9 -6
- package/dist/collection/components/stable/gux-pagination/tests/gux-pagination.e2e.js +97 -0
- package/dist/collection/components/stable/gux-pagination/tests/gux-pagination.spec.js +116 -0
- package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.css +6 -6
- package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.js +8 -6
- package/dist/collection/components/stable/gux-pagination-cursor/tests/gux-pagination-cursor.e2e.js +66 -0
- package/dist/collection/components/stable/gux-pagination-cursor/tests/gux-pagination-cursor.spec.js +67 -0
- package/dist/collection/components/stable/gux-popover/gux-popover.css +6 -6
- package/dist/collection/components/stable/gux-popover/gux-popover.js +8 -7
- package/dist/collection/components/stable/gux-popover/tests/gux-popover.e2e.js +60 -0
- package/dist/collection/components/stable/gux-popover/tests/gux-popover.spec.js +54 -0
- package/dist/collection/components/stable/gux-popover-list/gux-popover-list.css +1 -1
- package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +7 -6
- package/dist/collection/components/stable/gux-popover-list/tests/gux-popover-list.e2e.js +59 -0
- package/dist/collection/components/stable/gux-popover-list/tests/gux-popover-list.spec.js +53 -0
- package/dist/collection/components/stable/gux-popup/gux-popup.css +1 -1
- package/dist/collection/components/stable/gux-popup/gux-popup.js +2 -2
- package/dist/collection/components/stable/gux-popup/tests/gux-popup.e2e.js +29 -0
- package/dist/collection/components/stable/gux-popup/tests/gux-popup.spec.js +41 -0
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.css +31 -31
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.functional.js +2 -2
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +7 -6
- package/dist/collection/components/stable/gux-radial-loading/tests/gux-radial-loading.e2e.js +33 -0
- package/dist/collection/components/stable/gux-radial-loading/tests/gux-radial-loading.spec.js +33 -0
- package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.css +3 -3
- package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.functional.js +2 -2
- package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.js +5 -5
- package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.e2e.js +58 -0
- package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.service.spec.js +36 -0
- package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.spec.js +61 -0
- package/dist/collection/components/stable/gux-rating/gux-rating.css +2 -2
- package/dist/collection/components/stable/gux-rating/gux-rating.js +5 -5
- package/dist/collection/components/stable/gux-rating/tests/gux-rating.e2e.js +208 -0
- package/dist/collection/components/stable/gux-rating/tests/gux-rating.spec.js +40 -0
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +4 -4
- package/dist/collection/components/stable/gux-skip-navigation-list/tests/gux-skip-navigation-list.e2e.js +24 -0
- package/dist/collection/components/stable/gux-skip-navigation-list/tests/gux-skip-navigation-list.spec.js +29 -0
- package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +6 -5
- package/dist/collection/components/stable/gux-table/gux-all-row-select/tests/gux-all-row-select.spec.js +11 -0
- package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +4 -4
- package/dist/collection/components/stable/gux-table/gux-row-select/tests/gux-row-select.spec.js +11 -0
- package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.css +1 -1
- package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +8 -7
- package/dist/collection/components/stable/gux-table/gux-sort-control/tests/gux-sort-control.e2e.js +56 -0
- package/dist/collection/components/stable/gux-table/gux-sort-control/tests/gux-sort-control.spec.js +48 -0
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.css +3 -42
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +6 -6
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-popover/gux-table-header-popover.js +4 -4
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/tests/gux-table-select-menu.spec.js +24 -0
- package/dist/collection/components/stable/gux-table/gux-table.css +1 -44
- package/dist/collection/components/stable/gux-table/gux-table.js +14 -10
- package/dist/collection/components/stable/gux-table/tests/gux-table.e2e.js +540 -0
- package/dist/collection/components/stable/gux-table/tests/gux-table.spec.js +32 -0
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +9 -7
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/tests/gux-table-toolbar-action.e2e.js +53 -0
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/tests/gux-table-toolbar-action.spec.js +54 -0
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +5 -4
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/tests/gux-table-toolbar-custom-action.e2e.js +33 -0
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/tests/gux-table-toolbar-custom-action.spec.js +34 -0
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +6 -6
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +7 -7
- package/dist/collection/components/stable/gux-table-toolbar/tests/gux-table-toolbar.e2e.js +46 -0
- package/dist/collection/components/stable/gux-table-toolbar/tests/gux-table-toolbar.spec.js +63 -0
- package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +7 -4
- package/dist/collection/components/stable/gux-tabs/gux-tab/tests/gux-tab.e2e.js +15 -0
- package/dist/collection/components/stable/gux-tabs/gux-tab/tests/gux-tab.spec.js +16 -0
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.css +0 -1
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +7 -6
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/tests/gux-tab-list.e2e.js +15 -0
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/tests/gux-tab-list.spec.js +16 -0
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.css +1 -42
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +3 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/tests/gux-tab-panel.e2e.js +15 -0
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/tests/gux-tab-panel.spec.js +16 -0
- package/dist/collection/components/stable/gux-tabs/gux-tabs.js +8 -5
- package/dist/collection/components/stable/gux-tabs/tests/gux-tabs.e2e.js +141 -0
- package/dist/collection/components/stable/gux-tabs/tests/gux-tabs.spec.js +57 -0
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +12 -9
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.css +1 -85
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +9 -8
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.css +1 -42
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +3 -2
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +4 -3
- package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.e2e.js +217 -0
- package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.spec.js +73 -0
- package/dist/collection/components/stable/gux-tag/gux-tag.css +22 -25
- package/dist/collection/components/stable/gux-tag/gux-tag.js +6 -5
- package/dist/collection/components/stable/gux-tag/tests/gux-tag.e2e.js +135 -0
- package/dist/collection/components/stable/gux-tag/tests/gux-tag.spec.js +130 -0
- package/dist/collection/components/stable/gux-text-highlight/gux-text-highlight.js +5 -4
- package/dist/collection/components/stable/gux-text-highlight/tests/gux-text-highlight.e2e.js +147 -0
- package/dist/collection/components/stable/gux-text-highlight/tests/gux-text-hightlight.spec.js +149 -0
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.css +7 -7
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +16 -12
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.service.js +1 -1
- package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.e2e.js +41 -0
- package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.service.spec.js +698 -0
- package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.spec.js +14 -0
- package/dist/collection/components/stable/gux-toast/gux-toast.css +5 -5
- package/dist/collection/components/stable/gux-toast/gux-toast.js +5 -4
- package/dist/collection/components/stable/gux-toast/tests/gux-toast.e2e.js +121 -0
- package/dist/collection/components/stable/gux-toast/tests/gux-toast.spec.js +111 -0
- package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.css +1 -42
- 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.js +7 -6
- package/dist/collection/components/stable/gux-toggle/tests/gux-toggle.e2e.js +147 -0
- package/dist/collection/components/stable/gux-toggle/tests/gux-toggle.spec.js +126 -0
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.css +12 -12
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +14 -10
- package/dist/collection/components/stable/gux-tooltip/tests/gux-tooltip.e2e.js +33 -0
- package/dist/collection/components/stable/gux-tooltip/tests/gux-tooltip.spec.js +55 -0
- package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +8 -6
- package/dist/collection/components/stable/gux-truncate/gux-truncate.js +8 -6
- package/dist/collection/components/stable/gux-truncate/tests/gux-truncate.e2e.js +32 -0
- package/dist/collection/components/stable/gux-truncate/tests/gux-truncate.spec.js +27 -0
- package/dist/collection/i18n/DateTimeFormatter.js +1 -1
- package/dist/collection/i18n/fetchResources.js +1 -1
- package/dist/collection/i18n/index.js +5 -5
- package/dist/collection/test/e2eTestUtils.js +2 -2
- package/dist/collection/test/specTestUtils.js +8 -0
- package/dist/collection/utils/date/from-iso-time-string.spec.js +13 -0
- package/dist/collection/utils/date/get-valid-timezone.js +1 -1
- package/dist/collection/utils/date/get-valid-timezone.spec.js +38 -0
- package/dist/collection/utils/date/iso-dates.spec.js +170 -0
- package/dist/collection/utils/date/year-month-values.spec.js +81 -0
- package/dist/collection/utils/decorator/on-click-outside.js +1 -1
- package/dist/collection/utils/decorator/on-mutation.js +1 -1
- package/dist/collection/utils/decorator/on-resize.js +1 -1
- package/dist/collection/utils/dom/event-is-from.spec.js +29 -0
- package/dist/collection/utils/dom/manipulate-elements-classes.spec.js +104 -0
- package/dist/collection/utils/dom/on-input-disabled-state-change.js +1 -1
- package/dist/collection/utils/dom/random-html-id.spec.js +14 -0
- package/dist/collection/utils/dom/set-input-value.js +1 -1
- package/dist/collection/utils/dom/when-event-is-from.spec.js +37 -0
- package/dist/collection/utils/string/search.spec.js +40 -0
- package/dist/collection/utils/tracking/usage.js +1 -1
- package/dist/collection/utils/tracking/usage.spec.js +121 -0
- package/dist/deploy-info.json +3 -3
- package/dist/esm/genesys-webcomponents.js +4 -7
- package/dist/esm/{get-valid-timezone-4b39f118.js → get-valid-timezone-3781bfa2.js} +1 -1
- package/dist/esm/gux-accordion-section.entry.js +4 -4
- package/dist/esm/gux-accordion.entry.js +2 -2
- package/dist/esm/gux-action-button.entry.js +8 -8
- package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +8 -8
- package/dist/esm/gux-all-row-select.entry.js +5 -5
- package/dist/esm/gux-announce-beta.entry.js +3 -3
- package/dist/esm/gux-badge.entry.js +5 -5
- package/dist/esm/gux-blank-state.entry.js +3 -3
- package/dist/esm/gux-breadcrumb-item.entry.js +3 -3
- package/dist/esm/gux-breadcrumbs.entry.js +5 -5
- package/dist/esm/gux-button-multi.entry.js +6 -6
- package/dist/esm/gux-button-slot.entry.js +4 -4
- package/dist/esm/gux-button.entry.js +3 -3
- package/dist/esm/gux-calendar-beta.entry.js +9 -9
- package/dist/esm/gux-calendar.entry.js +8 -8
- package/dist/esm/gux-card.entry.js +2 -2
- package/dist/esm/gux-column-manager-item.entry.js +7 -7
- package/dist/esm/gux-column-manager.entry.js +7 -7
- package/dist/esm/{gux-column-manager.service-a9ea5c54.js → gux-column-manager.service-4f5bf4c4.js} +2 -2
- package/dist/esm/gux-content-search.entry.js +7 -7
- package/dist/esm/gux-context-menu.entry.js +9 -9
- package/dist/esm/gux-copy-to-clipboard.entry.js +7 -7
- package/dist/esm/gux-create-option.entry.js +5 -5
- package/dist/esm/gux-date-beta.entry.js +5 -5
- package/dist/esm/gux-date-time-beta.entry.js +5 -5
- package/dist/esm/gux-datepicker.entry.js +10 -10
- package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
- package/dist/esm/gux-dismiss-button.entry.js +5 -5
- package/dist/esm/gux-dropdown-multi-tag.entry.js +4 -4
- package/dist/esm/gux-dropdown-multi.entry.js +11 -11
- package/dist/esm/gux-dropdown-option.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +15 -15
- package/dist/esm/gux-flyout-menu.entry.js +5 -5
- package/dist/esm/gux-form-field-checkbox.entry.js +10 -10
- package/dist/esm/gux-form-field-color.entry.js +13 -13
- package/dist/esm/{gux-form-field-container-0d93fc18.js → gux-form-field-container-0628b63c.js} +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +15 -15
- package/dist/esm/{gux-form-field-fieldset-container-02a0becc.js → gux-form-field-fieldset-container-863690e1.js} +1 -1
- package/dist/esm/gux-form-field-input-clear-button.entry.js +5 -5
- package/dist/esm/gux-form-field-number_3.entry.js +23 -23
- package/dist/esm/gux-form-field-phone.entry.js +14 -14
- package/dist/esm/gux-form-field-radio.entry.js +11 -11
- package/dist/esm/gux-form-field-range.entry.js +13 -13
- package/dist/esm/gux-form-field-search.entry.js +13 -13
- package/dist/esm/gux-form-field-select.entry.js +13 -13
- package/dist/esm/gux-form-field-text-like.entry.js +13 -13
- package/dist/esm/gux-form-field-textarea.entry.js +13 -13
- package/dist/esm/gux-form-field-time-picker.entry.js +14 -14
- package/dist/esm/{gux-form-field.service-5f03e905.js → gux-form-field.service-1b918b11.js} +5 -5
- package/dist/esm/gux-icon.entry.js +3 -3
- package/dist/esm/gux-inline-alert.entry.js +5 -5
- package/dist/esm/gux-list-divider.entry.js +1 -1
- package/dist/esm/gux-list-item.entry.js +3 -3
- package/dist/esm/gux-list.entry.js +3 -3
- package/dist/esm/gux-listbox-multi.entry.js +9 -9
- package/dist/esm/gux-loading-message.entry.js +3 -3
- package/dist/esm/gux-menu-option.entry.js +2 -2
- package/dist/esm/gux-menu.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +4 -4
- package/dist/esm/gux-month-calendar.entry.js +7 -7
- package/dist/esm/gux-month-list_2.entry.js +4 -4
- package/dist/esm/gux-month-picker-beta.entry.js +9 -9
- package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-option-icon.entry.js +3 -3
- package/dist/esm/gux-option-multi.entry.js +5 -5
- package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
- package/dist/esm/gux-pagination-buttons_3.entry.js +8 -8
- package/dist/esm/gux-pagination-cursor.entry.js +5 -5
- package/dist/esm/gux-pagination-legacy.entry.js +3 -3
- package/dist/esm/gux-pagination.entry.js +4 -4
- package/dist/esm/gux-phone-input-beta.entry.js +8 -8
- package/dist/esm/gux-popover-list.entry.js +6 -6
- package/dist/esm/gux-popup.entry.js +3 -3
- package/dist/esm/gux-radial-loading.entry.js +5 -5
- package/dist/esm/gux-radial-progress.entry.js +4 -4
- package/dist/esm/gux-rating.entry.js +6 -6
- package/dist/esm/gux-region-icon.entry.js +2 -2
- package/dist/esm/gux-row-select.entry.js +5 -5
- package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-beta.entry.js +3 -3
- package/dist/esm/gux-segmented-control-item.entry.js +5 -5
- package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
- package/dist/esm/gux-sort-control.entry.js +7 -7
- package/dist/esm/gux-submenu.entry.js +4 -4
- package/dist/esm/gux-switch-item.entry.js +2 -2
- package/dist/esm/gux-switch-legacy.entry.js +3 -3
- package/dist/esm/gux-tab-advanced-legacy.entry.js +7 -7
- package/dist/esm/gux-tab-advanced-list-legacy.entry.js +8 -8
- package/dist/esm/gux-tab-advanced-list.entry.js +8 -8
- package/dist/esm/gux-tab-advanced-panel-legacy.entry.js +2 -2
- package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
- package/dist/esm/gux-tab-advanced.entry.js +7 -7
- package/dist/esm/gux-tab-list.entry.js +6 -6
- package/dist/esm/gux-tab-panel.entry.js +2 -2
- package/dist/esm/gux-tab.entry.js +1 -1
- package/dist/esm/gux-table-select-menu.entry.js +8 -8
- package/dist/esm/gux-table-select-popover.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-action.entry.js +5 -5
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +6 -6
- package/dist/esm/gux-table-toolbar.entry.js +5 -5
- package/dist/esm/gux-table.entry.js +8 -8
- package/dist/esm/gux-tabs-advanced-legacy.entry.js +2 -2
- package/dist/esm/gux-tabs-advanced.entry.js +2 -2
- package/dist/esm/gux-tabs.entry.js +2 -2
- package/dist/esm/gux-tag.entry.js +5 -5
- package/dist/esm/gux-text-highlight.entry.js +2 -2
- package/dist/esm/gux-time-beta.entry.js +5 -5
- package/dist/esm/gux-time-picker.entry.js +8 -8
- package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
- package/dist/esm/gux-toast.entry.js +4 -4
- package/dist/esm/gux-toggle-slider.entry.js +2 -2
- package/dist/esm/gux-toggle.entry.js +5 -5
- package/dist/esm/gux-tooltip-title.entry.js +4 -4
- package/dist/esm/gux-tooltip.entry.js +7 -7
- package/dist/esm/gux-truncate.entry.js +3 -3
- package/dist/esm/{index-0b66fe2c.js → index-a0eec33a.js} +155 -39
- package/dist/esm/{index-694d55cf.js → index-e5ccc024.js} +2 -2
- package/dist/esm/loader.js +4 -13
- package/dist/esm/{on-click-outside-bc432a79.js → on-click-outside-e696f632.js} +1 -1
- package/dist/esm/{on-mutation-8c8b2331.js → on-mutation-c1be3c74.js} +1 -1
- package/dist/esm/{on-resize-7177429a.js → on-resize-c9e31879.js} +1 -1
- package/dist/esm/{usage-cd252d08.js → usage-b9bc2c35.js} +5 -5
- package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-a2cc1e97.entry.js → p-001a4f6c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fbc9566f.entry.js → p-004bad0d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-41617814.entry.js → p-0209a2e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8f781185.entry.js → p-04882cf9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2176b2e3.entry.js → p-050b14b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-05102bf4.entry.js +1 -0
- package/dist/genesys-webcomponents/p-06186f07.entry.js +1 -0
- package/dist/genesys-webcomponents/p-0a7237d9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8e9bfb5c.entry.js → p-0e1a0eef.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0f57803f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-280ec994.entry.js → p-0fd727e4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5bbffb5a.entry.js → p-11a4917d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-121117b7.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-98f69d35.entry.js → p-127514f4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d9a38f04.entry.js → p-13bd1ddb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c985b725.entry.js → p-15e52200.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1b04a4a3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e511fb43.entry.js → p-1c00c8b9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dfb9c511.entry.js → p-25d372af.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-29e65ca5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-45baa064.entry.js → p-2a3350f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c743441a.entry.js → p-3006f950.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-32a36f06.entry.js +1 -0
- package/dist/genesys-webcomponents/p-35fff0fe.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e078f4fa.entry.js → p-3669d1d6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-377f63a0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c686d5f6.entry.js → p-38c797a5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3d3fea51.entry.js → p-3b48aaaa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-13dd4c6b.js → p-3d745319.js} +1 -1
- package/dist/genesys-webcomponents/p-3deec8d5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c3d5a975.entry.js → p-3fe16f20.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7c826e42.entry.js → p-4338a137.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4426b584.entry.js +1 -0
- package/dist/genesys-webcomponents/p-457dce75.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3fc64f89.entry.js → p-48d465fe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6bff9eb3.entry.js → p-4a579180.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e1030da3.entry.js → p-4d14a590.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4dc4930c.entry.js +1 -0
- package/dist/genesys-webcomponents/p-511eb62e.entry.js +1 -0
- package/dist/genesys-webcomponents/p-51df1ede.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-deee079e.js → p-52e27c60.js} +1 -1
- package/dist/genesys-webcomponents/p-541c3c6b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1fd76470.entry.js → p-5463e134.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-06a92400.entry.js → p-550c0768.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ebede868.entry.js → p-5524298d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-23ef4850.entry.js → p-59206607.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-29bb65b6.entry.js → p-5a9d8cb2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5d15381f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ebfa2805.entry.js → p-5ea0d07e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6a08f78f.entry.js → p-644b750b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-66290fc5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0ca229eb.entry.js → p-67036f76.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-69d045af.entry.js +1 -0
- package/dist/genesys-webcomponents/p-6bee8d41.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-16570da1.entry.js → p-6c72ef03.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6ce1bf55.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b1c23548.entry.js → p-6d7122bc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-77db656b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f242ce05.entry.js → p-7943f46d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8920a5e5.js → p-7a100b8c.js} +1 -1
- package/dist/genesys-webcomponents/{p-67652427.entry.js → p-7bff5f15.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-44835bc5.entry.js → p-7e22896f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-57c82db9.entry.js → p-7e245e45.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f34ce7dc.js → p-8801741a.js} +1 -1
- package/dist/genesys-webcomponents/{p-359d6b16.entry.js → p-8953cea0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d18d475.js → p-8c362857.js} +1 -1
- package/dist/genesys-webcomponents/p-8c3c2fd5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2b46c949.entry.js → p-8d3fb4b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8e22729c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fab9ff54.entry.js → p-9026cf7e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-903a7fff.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e401da19.entry.js → p-906bffcd.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-920b9a0d.entry.js +1 -0
- package/dist/genesys-webcomponents/p-92536df7.entry.js +1 -0
- package/dist/genesys-webcomponents/p-9279fb28.entry.js +1 -0
- package/dist/genesys-webcomponents/p-932fdd60.entry.js +1 -0
- package/dist/genesys-webcomponents/p-937ec398.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a733f4ca.js → p-9383fa8e.js} +1 -1
- package/dist/genesys-webcomponents/{p-d01970f7.entry.js → p-93d5c18d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b6ec024f.entry.js → p-9595c4f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2c9c3cea.entry.js → p-984fb2ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-831456f4.entry.js → p-9894c33e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-992542c8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bf36d208.entry.js → p-993b63db.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9cc0c717.entry.js +1 -0
- package/dist/genesys-webcomponents/p-a1151219.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4a6ae41e.js → p-a285abaf.js} +1 -1
- package/dist/genesys-webcomponents/{p-b3c9fd06.js → p-a3bc3236.js} +1 -1
- package/dist/genesys-webcomponents/p-a934d5b1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-334e3b2c.entry.js → p-a96bc06c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d3a38337.entry.js → p-b09ed8fd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-197d4153.entry.js → p-b0cc1af2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a9b8c730.entry.js → p-b3fd4623.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b56fd34a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-39e12286.entry.js → p-b80c59ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bc151fdb.entry.js +1 -0
- package/dist/genesys-webcomponents/p-be68b1e8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-782c1b84.entry.js → p-c05cacb2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75146c5b.entry.js → p-c07ab095.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9be45fa0.entry.js → p-c183e212.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c4a77eda.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c609ed18.entry.js → p-c4f9d3c7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-605734cc.js → p-c57cd1d8.js} +1 -1
- package/dist/genesys-webcomponents/{p-f6f9039b.entry.js → p-c7a90b16.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7a24829d.entry.js → p-c9788b0b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1e4c80e5.entry.js → p-cf094b0a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-078d3c75.entry.js → p-d0aefa7e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d25d679d.entry.js +1 -0
- package/dist/genesys-webcomponents/p-d5d7cf8d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c6d8e1d8.entry.js → p-d8e0caa9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9571e673.entry.js → p-d96bce57.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2012304.entry.js → p-ddfc136f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5229c638.entry.js → p-e121f417.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f6913d5e.entry.js → p-e2d75be4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c94a287d.entry.js → p-e653b8d2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-97d57a71.entry.js → p-ea777be1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ed724d66.js +2 -0
- package/dist/genesys-webcomponents/{p-5a94a9bf.entry.js → p-edf8e30c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ee2ab42a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-39151f6f.entry.js → p-ee662eda.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5f96b474.entry.js → p-f19e1b38.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-83f26f44.entry.js → p-f34da37c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f6bcc7b4.entry.js +1 -0
- package/dist/genesys-webcomponents/p-f7c491f0.entry.js +1 -0
- package/dist/genesys-webcomponents/p-f86080b6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c27e3e55.entry.js → p-fb9b79ce.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-211cc1db.js → p-fd5e59f5.js} +1 -1
- package/dist/genesys-webcomponents/scss/style-reset-focusable.scss +44 -5
- package/dist/genesys-webcomponents/scss/style-reset-typography.scss +12 -7
- package/dist/loader/index.d.ts +1 -1
- package/dist/stencil-wrapper.js +4 -4
- package/dist/types/stencil-public-runtime.d.ts +19 -5
- package/dist/types/stencil-wrapper.d.ts +2 -2
- package/dist/types/test/specTestUtils.d.ts +2 -0
- package/package.json +5 -5
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/genesys-webcomponents/p-0249b669.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0d276dc9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2795474f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3031a578.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3493b6c1.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3d15a15a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3d6b25da.entry.js +0 -1
- package/dist/genesys-webcomponents/p-409a2aed.entry.js +0 -1
- package/dist/genesys-webcomponents/p-45bcb54b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-53c4a7f7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5676eed0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-572aec19.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6081375f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-62456443.entry.js +0 -1
- package/dist/genesys-webcomponents/p-66cc767b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6a62e7d1.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6b0dc655.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7adb14d8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7b3f06e0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7c5d3642.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7cecc169.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7d26b2e1.js +0 -2
- package/dist/genesys-webcomponents/p-7fa0ebcf.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8691acc1.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8cfed8ab.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8ef5755c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-906dfed6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9381f1a8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-94f2e2a4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-95a4e80e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-95fcbe0c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-993b03b1.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a871a9cd.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a95fbd3b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ac40bdc8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ad9c8e01.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b5ee1c41.entry.js +0 -1
- package/dist/genesys-webcomponents/p-baffeea7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-cae7ee62.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d3c907fc.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d5e44599.entry.js +0 -1
- package/dist/genesys-webcomponents/p-dab7466b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e4d54add.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e7cab774.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ef910e9b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f246861a.entry.js +0 -1
- package/dist/genesys-webcomponents/scss/focus.scss +0 -48
- package/dist/genesys-webcomponents/scss/typography.scss +0 -127
- /package/dist/cjs/{after-next-render-a09f528a.js → after-next-render-a023ef47.js} +0 -0
- /package/dist/cjs/{capitalize-first-letter-8e2f04e5.js → capitalize-first-letter-251c82ed.js} +0 -0
- /package/dist/cjs/{clamp-1bb96117.js → clamp-a9926a57.js} +0 -0
- /package/dist/cjs/{en-14558544.js → en-5507bf0d.js} +0 -0
- /package/dist/cjs/{en-d1b32383.js → en-807a354e.js} +0 -0
- /package/dist/cjs/{en-eb56dc17.js → en-85604f0f.js} +0 -0
- /package/dist/cjs/{en-2a12d7c4.js → en-f88c1935.js} +0 -0
- /package/dist/cjs/{event-is-from-ad1044f2.js → event-is-from-f3f1cfde.js} +0 -0
- /package/dist/cjs/{find-element-by-id-ecf0efa3.js → find-element-by-id-9c3e0b1b.js} +0 -0
- /package/dist/cjs/{floating-ui.dom.esm-2ed3685b.js → floating-ui.dom.esm-793074c6.js} +0 -0
- /package/dist/cjs/{get-closest-element-ab4b2eee.js → get-closest-element-26894e5a.js} +0 -0
- /package/dist/cjs/{get-slot-097ade01.js → get-slot-395a67ef.js} +0 -0
- /package/dist/cjs/{get-slot-text-content-30aa5492.js → get-slot-text-content-c4306c7a.js} +0 -0
- /package/dist/cjs/{gux-list.service-763539a2.js → gux-list.service-4beaa394.js} +0 -0
- /package/dist/cjs/{gux-listbox.service-93102b5b.js → gux-listbox.service-b1068596.js} +0 -0
- /package/dist/cjs/{gux-menu.common-cf9d53f7.js → gux-menu.common-d41b2fac.js} +0 -0
- /package/dist/cjs/{has-slot-2e73d6e7.js → has-slot-429f8b9e.js} +0 -0
- /package/dist/cjs/{iso-dates-f78ffb80.js → iso-dates-d0cd4802.js} +0 -0
- /package/dist/cjs/{log-error-d46c02b7.js → log-error-8a92241e.js} +0 -0
- /package/dist/cjs/{on-attribute-change-37556263.js → on-attribute-change-4db59350.js} +0 -0
- /package/dist/cjs/{on-input-disabled-state-change-d66fb86b.js → on-input-disabled-state-change-005e5b3e.js} +0 -0
- /package/dist/cjs/{on-mutation-8f8a4460.js → on-mutation-ef917473.js} +0 -0
- /package/dist/cjs/{prevent-browser-validation-styling-d21b1a56.js → prevent-browser-validation-styling-15142963.js} +0 -0
- /package/dist/cjs/{random-html-id-b86b61c0.js → random-html-id-32ef8847.js} +0 -0
- /package/dist/cjs/{simulate-native-event-fe3e62da.js → simulate-native-event-8209a457.js} +0 -0
- /package/dist/cjs/{when-event-is-from-69b5ca13.js → when-event-is-from-20e89254.js} +0 -0
- /package/dist/cjs/{year-month-values-f387f8d8.js → year-month-values-6028ce26.js} +0 -0
- /package/dist/collection/components/beta/gux-phone-input/components/gux-region-icon/sprite-utils/{generate-sprites.js → sprites.generated.js} +0 -0
- /package/dist/esm/{after-next-render-ed0f7dcd.js → after-next-render-84ec18ad.js} +0 -0
- /package/dist/esm/{capitalize-first-letter-d2512ec0.js → capitalize-first-letter-45fad3db.js} +0 -0
- /package/dist/esm/{clamp-6bdb0367.js → clamp-51db64df.js} +0 -0
- /package/dist/esm/{en-5ed282a0.js → en-1f9d79e6.js} +0 -0
- /package/dist/esm/{en-6c4aef39.js → en-98371f99.js} +0 -0
- /package/dist/esm/{en-46223eb1.js → en-b0526f2a.js} +0 -0
- /package/dist/esm/{en-5b8ff4c7.js → en-bf740e9b.js} +0 -0
- /package/dist/esm/{event-is-from-90b69768.js → event-is-from-e25c5a22.js} +0 -0
- /package/dist/esm/{find-element-by-id-7c5f4fbf.js → find-element-by-id-a3c82a2d.js} +0 -0
- /package/dist/esm/{floating-ui.dom.esm-c86d3efa.js → floating-ui.dom.esm-813bb04f.js} +0 -0
- /package/dist/esm/{get-closest-element-1597503c.js → get-closest-element-66f63212.js} +0 -0
- /package/dist/esm/{get-slot-52d073f3.js → get-slot-55aade31.js} +0 -0
- /package/dist/esm/{get-slot-text-content-2e086993.js → get-slot-text-content-189d6edf.js} +0 -0
- /package/dist/esm/{gux-list.service-a878b7e3.js → gux-list.service-693f4ba7.js} +0 -0
- /package/dist/esm/{gux-listbox.service-a8319b51.js → gux-listbox.service-f2b6e01a.js} +0 -0
- /package/dist/esm/{gux-menu.common-a8b63e91.js → gux-menu.common-e59a1b12.js} +0 -0
- /package/dist/esm/{has-slot-062ae63a.js → has-slot-d06c74d9.js} +0 -0
- /package/dist/esm/{iso-dates-a7c704a4.js → iso-dates-5bcd3209.js} +0 -0
- /package/dist/esm/{log-error-e0bbd04a.js → log-error-0b15023e.js} +0 -0
- /package/dist/esm/{on-attribute-change-5fd8da7c.js → on-attribute-change-b91132e6.js} +0 -0
- /package/dist/esm/{on-input-disabled-state-change-3ea76372.js → on-input-disabled-state-change-e6bc912f.js} +0 -0
- /package/dist/esm/{on-mutation-d500715c.js → on-mutation-a2b7cdad.js} +0 -0
- /package/dist/esm/{prevent-browser-validation-styling-d16c3f4c.js → prevent-browser-validation-styling-8c459589.js} +0 -0
- /package/dist/esm/{random-html-id-8e3f658c.js → random-html-id-3354d85c.js} +0 -0
- /package/dist/esm/{simulate-native-event-ac69961f.js → simulate-native-event-bca7a1c9.js} +0 -0
- /package/dist/esm/{when-event-is-from-18667084.js → when-event-is-from-6154bd60.js} +0 -0
- /package/dist/esm/{year-month-values-1b64c204.js → year-month-values-6ffe871f.js} +0 -0
- /package/dist/genesys-webcomponents/{p-955a1e6a.js → p-08874a83.js} +0 -0
- /package/dist/genesys-webcomponents/{p-8a133b9b.js → p-0962dd7a.js} +0 -0
- /package/dist/genesys-webcomponents/{p-3f5341ea.js → p-16f3da0d.js} +0 -0
- /package/dist/genesys-webcomponents/{p-c10e41a9.js → p-28f55159.js} +0 -0
- /package/dist/genesys-webcomponents/{p-93904222.js → p-31cd1b9a.js} +0 -0
- /package/dist/genesys-webcomponents/{p-08bc2e6b.js → p-324b23f3.js} +0 -0
- /package/dist/genesys-webcomponents/{p-2c3d934a.js → p-363466e3.js} +0 -0
- /package/dist/genesys-webcomponents/{p-d176c2ae.js → p-373c5d93.js} +0 -0
- /package/dist/genesys-webcomponents/{p-cbcbd1bb.js → p-3ea0d493.js} +0 -0
- /package/dist/genesys-webcomponents/{p-1aa11396.js → p-408d5857.js} +0 -0
- /package/dist/genesys-webcomponents/{p-3701eff0.js → p-4e030b49.js} +0 -0
- /package/dist/genesys-webcomponents/{p-4f26144b.js → p-533d7842.js} +0 -0
- /package/dist/genesys-webcomponents/{p-6a8e1026.js → p-5844e8c2.js} +0 -0
- /package/dist/genesys-webcomponents/{p-82ffe3cc.js → p-5d7d5695.js} +0 -0
- /package/dist/genesys-webcomponents/{p-3e6097e5.js → p-693c1709.js} +0 -0
- /package/dist/genesys-webcomponents/{p-2bc35259.js → p-705311af.js} +0 -0
- /package/dist/genesys-webcomponents/{p-55cf6d81.js → p-71e00140.js} +0 -0
- /package/dist/genesys-webcomponents/{p-9dd4b14a.js → p-7b08c759.js} +0 -0
- /package/dist/genesys-webcomponents/{p-76ff3e75.js → p-8b703092.js} +0 -0
- /package/dist/genesys-webcomponents/{p-251befef.js → p-9125cc36.js} +0 -0
- /package/dist/genesys-webcomponents/{p-d0805f56.js → p-9d734bbd.js} +0 -0
- /package/dist/genesys-webcomponents/{p-4e2b5bcf.js → p-a5937ee9.js} +0 -0
- /package/dist/genesys-webcomponents/{p-417354e9.js → p-aa9ff6ba.js} +0 -0
- /package/dist/genesys-webcomponents/{p-abb9b5f7.js → p-c7328d42.js} +0 -0
- /package/dist/genesys-webcomponents/{p-29e8b184.js → p-dbb0ac25.js} +0 -0
- /package/dist/genesys-webcomponents/{p-aa2f9991.js → p-dd53013c.js} +0 -0
- /package/dist/genesys-webcomponents/{p-091f51f6.js → p-ffaadf62.js} +0 -0
- /package/dist/types/components/beta/gux-phone-input/components/gux-region-icon/sprite-utils/{generate-sprites.d.ts → sprites.generated.d.ts} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,c as i,d as o,w as a,h as s,g as n}from"./p-ed724d66.js";import{S as e}from"./p-1486d7ea.js";import{O as r}from"./p-8801741a.js";import{e as c}from"./p-dbb0ac25.js";import{a as l}from"./p-ffaadf62.js";import{b as d}from"./p-52e27c60.js";import{t as h}from"./p-363466e3.js";import"./p-0962dd7a.js";const u=class{constructor(o){t(this,o),this.newTab=i(this,"newTab",7),this.sortChanged=i(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.tabTriggers=void 0,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.sortTarget=void 0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&c(".gux-scrollable-section",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-scrollable-section").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((o=>{o?this.focused=i:(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))}))}watchAllowSort(t){t?this.validateSortableInstance():this.destroySortable()}onMutation(){this.setTabTriggers()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":if(t.preventDefault(),this.keyboardSort&&!c(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-scrollable-section"),i=t.querySelectorAll("gux-tab-advanced"),o=Array.prototype.indexOf.call(i,this.sortTarget);let a;a=o===i.length-1?i[0]:i[o+2],t.insertBefore(this.sortTarget,a),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var o;t.tabId===(null===(o=this.sortTarget)||void 0===o?void 0:o.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else c(".gux-tab-options-button",t)||c(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!c(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-scrollable-section"),i=t.querySelectorAll("gux-tab-advanced"),o=Array.prototype.indexOf.call(i,this.sortTarget);t.insertBefore(this.sortTarget,i[o-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var o;t.tabId===(null===(o=this.sortTarget)||void 0===o?void 0:o.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else c(".gux-tab-options-button",t)||c(".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,i)=>{var o;t.tabId===(null===(o=this.sortTarget)||void 0===o?void 0:o.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.initialSortIndex),l((()=>{this.focusTab(this.initialSortIndex)}));break;case"Enter":this.keyboardSort&&(t.preventDefault(),this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var o;t.tabId===(null===(o=this.sortTarget)||void 0===o?void 0:o.getAttribute("tab-id"))&&(this.focused=i)})),this.emitSortChanged());break;case"Tab":this.keyboardSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled");break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onKeyup(t){" "===t.key&&c(".gux-tab",t)&&!c(".gux-tab-options-button",t)&&!c("gux-popover-list",t)&&this.allowSort&&(t.preventDefault(),!0===this.keyboardSort?(this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var o;t.tabId===(null===(o=this.sortTarget)||void 0===o?void 0:o.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.parentNode.parentNode,this.tabTriggers.forEach(((t,i)=>{var o;t.tabId===(null===(o=this.sortTarget)||void 0===o?void 0:o.getAttribute("tab-id"))&&(this.initialSortIndex=i)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((i,o)=>{const a=i.tabId===t;i.guxSetActive(a),a&&(this.focused=o)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((o=>{this.focused===i||o||(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 e(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(){o((()=>{const t=this.root.querySelector(".gux-scrollable-section"),i=t.clientWidth<t.scrollWidth;i!==this.hasScrollbar&&(this.hasScrollbar=i)}))}handleKeyboardScroll(t){"forward"===t?this.focused<this.tabTriggers.length-1?(this.hasScrollbar&&this.scrollRight(),this.focusTab(this.focused+1)):(this.hasScrollbar&&this.scrollToStart(),this.focusTab(0)):"backward"===t&&(this.focused>0?(this.hasScrollbar&&this.scrollLeft(),this.focusTab(this.focused-1)):(this.hasScrollbar&&this.scrollToEnd(),this.focusTab(this.tabTriggers.length-1)))}disconnectedCallback(){this.sortableInstance&&this.destroySortable(),this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}async componentWillLoad(){this.setTabTriggers(),this.i18n=await d(this.root,h,"gux-tabs-advanced")}validateSortableInstance(){this.allowSort&&!this.sortableInstance&&this.createSortable()}componentDidLoad(){this.validateSortableInstance(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkForScrollbarHideOrShow()))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver((()=>this.checkForScrollbarHideOrShow()))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),l((()=>{this.checkForScrollbarHideOrShow()}),500)}scrollLeft(){a((()=>{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(){a((()=>{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");a((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");a((()=>{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[s("span",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):""),s("div",{class:"gux-tab-container"},s("div",{class:"action-button-container"},this.renderScrollButton("scrollLeft")),s("div",{role:"tablist",class:"gux-scrollable-section "+(this.keyboardSort?"gux-tab-sorting":""),"aria-owns":this.triggerIds},s("slot",null)),s("div",{class:"action-button-container"},this.renderScrollButton("scrollRight"),this.showNewTabButton?s((t=>s("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},s("slot",{name:"add-tab"},s("gux-icon",{"icon-name":"add",decorative:!0})))),{onClick:()=>this.newTab.emit()}):null))]}renderScrollButton(t){return s("div",{class:"gux-scroll-button-container"},this.hasScrollbar?s("button",{tabindex:"-1",title:this.i18n(t),"aria-label":this.i18n(t),class:"gux-scroll-button",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},s("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 n(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,i,o,a){var s,n=arguments.length,e=n<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,i,o,a);else for(var r=t.length-1;r>=0;r--)(s=t[r])&&(e=(n<3?s(e):n>3?s(i,o,e):s(i,o))||e);n>3&&e&&Object.defineProperty(i,o,e)})([r({childList:!0,subtree:!0})],u.prototype,"onMutation",null),u.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-family:var(--gse-core-fontFamily-body), sans-serif;font-weight:var(--gse-core-fontWeight-bold)}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:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}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{u as gux_tab_advanced_list}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as t,H as s,g as i}from"./p-ed724d66.js";import{a as o}from"./p-ffaadf62.js";import{e as n}from"./p-dbb0ac25.js";import{r as a}from"./p-3ea0d493.js";import{b as r}from"./p-52e27c60.js";import{t as u}from"./p-408d5857.js";import"./p-0962dd7a.js";const l=class{constructor(t){e(this,t),this.dropdownOptionsButtonId=a("gux-table-select-menu"),this.hasSelectMenuOptions=!1,this.dropdownDisabled=!1,this.popoverHidden=!0}focusFirstItemInPopupList(){const e=this.root.querySelector("gux-list");o((()=>{null==e||e.guxFocusFirstItem()}))}async componentWillLoad(){this.hasSelectMenuOptions=!!this.root.querySelector('[slot="select-menu-options"]'),this.i18n=await r(this.root,u,"gux-table")}onKeydown(e){var t;switch(e.key){case"ArrowDown":n(".gux-select-menu-button",e)&&(this.toggleOptions(),this.focusFirstItemInPopupList());break;case"Enter":n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList();break;case"Escape":n("gux-list",e)&&(e.stopPropagation(),this.popoverHidden=!0,null===(t=this.tableSelectMenuButtonElement)||void 0===t||t.focus());break;case"Tab":this.popoverHidden=!0}}onKeyup(e){" "===e.key&&n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList()}toggleOptions(){this.popoverHidden=!this.popoverHidden}renderSelectDropdown(){if(this.hasSelectMenuOptions)return[t("button",{id:this.dropdownOptionsButtonId,"aria-haspopup":"listbox","aria-expanded":(!this.popoverHidden).toString(),type:"button",class:"gux-select-menu-button",ref:e=>this.tableSelectMenuButtonElement=e,onClick:()=>this.toggleOptions(),disabled:this.dropdownDisabled},t("gux-icon",{"icon-name":"chevron-small-down","screenreader-text":this.i18n("tableOptions")})),t("gux-table-select-popover",{for:this.dropdownOptionsButtonId,hidden:this.popoverHidden,closeOnClickOutside:!0,onGuxdismiss:()=>this.popoverHidden=!0},t("div",null,t("slot",{name:"select-menu-options"})))]}render(){return t(s,null,t("slot",null),this.renderSelectDropdown())}get root(){return i(this)}};l.style="gux-table-select-menu{display:inline-flex;font-family:var(--gse-ui-popover-body-text-fontFamily);font-size:var(--gse-ui-popover-body-text-fontSize);font-weight:var(--gse-ui-popover-body-text-fontWeight);line-height:var(--gse-ui-popover-body-text-lineHeight)}gux-table-select-menu .gux-select-menu-button{padding:0;margin-left:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-cell-chevron-foregroundColor);background-color:inherit;border:none;outline:none}gux-table-select-menu .gux-select-menu-button:focus-visible gux-icon{border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-semantic-focusRing-width) solid var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset)}gux-table-select-menu .gux-select-menu-button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}";export{l as gux_table_select_menu}
|
@@ -1 +1 @@
|
|
1
|
-
import{c as n}from"./p-
|
1
|
+
import{c as n}from"./p-7b08c759.js";import{s as t}from"./p-373c5d93.js";function r(n,{oldIndex:t,newIndex:r}){const o=Array.from(n.children).map((n=>n.orderId)),[e]=o.splice(t,1);return o.splice(r,0,e),o}function o(n,{oldIndex:t,newIndex:r}){l(n).forEach(((n,o)=>{o!==r?n.removeAttribute("gs-reorder-indicator"):n.setAttribute("gs-reorder-indicator",r<t?"above":"below")}))}function e(t,r,o){const e=n(r.newIndex+o,0,Array.from(t.children).length-1);return Object.assign({},r,{newIndex:e})}function c(){return{oldIndex:null,newIndex:null}}function u(n){return Array.from(n.parentNode.children).indexOf(n)}function a(n,r){f(n).forEach((n=>{n.checked!==r&&(n.checked=r,t(n,"input"),t(n,"change"))}))}function s(n,t){const{count:r,total:o}=i(n);0===r?(t.indeterminate=!1,t.checked=!1):r===o?(t.indeterminate=!1,t.checked=!0):t.indeterminate=!0}function i(n){const t=f(n).length,r=function(n){return f(n).filter((n=>n.checked))}(n).length;return{count:r,total:t}}function d(n,t,r=1){return l(n).reduce(((n,o)=>{const e=t.value.toLowerCase();if(e&&o.textContent.toLowerCase().includes(e)){const e=n.matchCount+1;return o.guxSetHighlight(t.value,e===r),{matchCount:e,currentMatch:r}}return o.guxSetHighlight(),n}),{matchCount:0,currentMatch:0})}function f(n){return Array.from(n.querySelectorAll("input[type=checkbox]"))}function l(n){return Array.from(n.querySelectorAll("gux-column-manager-item"))}export{s as a,r as b,u as c,e as d,d as e,a as f,c as g,i as h,o as s}
|
@@ -1 +1 @@
|
|
1
|
-
import{h as e}from"./p-
|
1
|
+
import{h as e}from"./p-ed724d66.js";import{r as i}from"./p-3ea0d493.js";import{l as o}from"./p-9d734bbd.js";import{s as r}from"./p-373c5d93.js";import{h as a}from"./p-324b23f3.js";const t=({show:i},o)=>e("div",{class:{"gux-form-field-help":!0,"gux-show":i}},e("div",{class:"gux-message"},o)),s=({show:i},o)=>e("div",{class:{"gux-form-field-error":!0,"gux-show":i}},e("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),e("div",{class:"gux-message"},o));function l(e,i,o){e.value=i,r(e,"input"),r(e,"change"),o&&e.focus()}function n(e){l(e,"",!0)}function d(e){return Boolean(null==e?void 0:e.value)}function f(e,i){if(e)return["above","beside","screenreader"].includes(i)?i:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}function u(e,r){var t,s,l,n;if(function(e){return Boolean(e.querySelector('label[slot="label"]'))}(e)){const a=e.querySelector('label[slot="label"]'),t=Boolean(r.hasAttribute("id")),s=Boolean(a.hasAttribute("for"));if(!t&&s)o(e,'A "for" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the "for" attribute from the label. If there is no input id and no "for" attribute provided, the component will automatically generate an id and link it to the "for" attribute.');else if(t)if(t&&!s){const e=r.getAttribute("id");a.setAttribute("for",e)}else t&&s&&r.getAttribute("id")!==a.getAttribute("for")&&o(e,"The input id and label for attribute should match.");else{const e=i("gux-form-field-input");r.setAttribute("id",e),a.setAttribute("for",e)}}else o(e,'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to "screenreader" to visually hide the label.');if(a(e,"error")){const o=e.querySelector('[slot="error"]'),a=i("gux-form-field-error"),s=(null===(t=r.getAttribute("aria-describedby"))||void 0===t?void 0:t.split(" ").filter((e=>!e.startsWith("gux-form-field-error"))))||[];o.setAttribute("id",a),s.push(a),s&&r.setAttribute("aria-describedby",s.join(" "))}else if(r.getAttribute("aria-describedby")){const e=(null===(s=r.getAttribute("aria-describedby"))||void 0===s?void 0:s.split(" ").filter((e=>!e.startsWith("gux-form-field-error"))))||[];r.setAttribute("aria-describedby",e.join(" "))}if(a(e,"help")){const o=e.querySelector('[slot="help"]'),a=i("gux-form-field-help"),t=(null===(l=r.getAttribute("aria-describedby"))||void 0===l?void 0:l.split(" ").filter((e=>!e.startsWith("gux-form-field-help"))))||[];o.setAttribute("id",a),t.push(a),t&&r.setAttribute("aria-describedby",t.join(" "))}else if(r.getAttribute("aria-describedby")){const e=(null===(n=r.getAttribute("aria-describedby"))||void 0===n?void 0:n.split(" ").filter((e=>!e.startsWith("gux-form-field-help"))))||[];r.setAttribute("aria-describedby",e.join(" "))}}function c(e,o,r,t){var s;if(a(e,t)){const a=e.querySelector(`[slot=${t}]`),l=i(`gux-${t}`),n=(null===(s=r.getAttribute(o))||void 0===s?void 0:s.split(" ").filter((e=>!e.startsWith(`gux-${t}`))))||[];a.setAttribute("id",l),null==n||n.push(l),n&&r.setAttribute(o,n.join(" "))}}function b(e,i,o){c(e,"aria-labelledby",i,o)}function h(e,i,o){c(e,"aria-describedby",i,o)}function p(e,i){const r=e.querySelector(i);return r||o(e,`This component requires an input element that matches the following selector: ${i}`),r}export{s as G,t as a,f as b,h as c,n as d,l as e,p as g,d as h,b as s,u as v}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as o,H as e,g as s}from"./p-ed724d66.js";import{a as i}from"./p-ffaadf62.js";import{t as r}from"./p-c57cd1d8.js";import{h as n}from"./p-705311af.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(e,{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 s(this)}static get watchers(){return{isShown:["forceUpdate"]}}};u.style=':host{z-index:var(--gux-zindex-popover, 2);color:var(--gse-ui-menu-option-label-foregroundColor);cursor:default}:host(:focus){outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-flyout-menu-content{display:none}.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}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,f as e,h as i,g as o}from"./p-
|
1
|
+
import{r as t,f as e,h as i,g as o}from"./p-ed724d66.js";import{O as n}from"./p-8801741a.js";import{O as l}from"./p-3d745319.js";function r(t){return t.reduce(((t,e)=>{if("SLOT"===e.nodeName){const i=e.assignedNodes();return t.concat(r(i))}return t.concat(e.textContent)}),[]).map((t=>t.trim())).join(" ")}var a=function(t,e,i,o){var n,l=arguments.length,r=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(r=(l<3?n(r):l>3?n(e,i,r):n(e,i))||r);return l>3&&r&&Object.defineProperty(e,i,r),r};const s=class{constructor(e){t(this,e),this.maxLines=void 0}async setShowTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.showTooltip())}async setHideTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.hideTooltip())}onMutation(){e(this.root)}onResize(){e(this.root)}getTooltipContent(){return r(Array.from(this.root.childNodes))||""}needsTruncation(){const t=this.root.shadowRoot.querySelector(".gux-truncate-slot-container");return(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)||(null==t?void 0:t.scrollHeight)>(null==t?void 0:t.offsetHeight)}renderTooltip(){return this.needsTruncation()?i("gux-tooltip",{"aria-hidden":"true",ref:t=>this.tooltipElement=t},this.getTooltipContent()):null}render(){var t;return i("div",{class:{"gux-truncate-multi-line":Boolean(this.maxLines)}},i("span",{class:"gux-truncate-slot-container",style:{webkitLineClamp:null===(t=this.maxLines)||void 0===t?void 0:t.toString()}},i("slot",null)),this.renderTooltip())}get root(){return o(this)}};a([n({childList:!0,subtree:!0,characterData:!0})],s.prototype,"onMutation",null),a([l()],s.prototype,"onResize",null),s.style=":host{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:inherit}::slotted(*){display:inline}.gux-truncate-multi-line{white-space:normal}.gux-truncate-multi-line .gux-truncate-slot-container{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}gux-tooltip{font-weight:normal;line-height:normal;text-align:left;overflow-wrap:break-word;white-space:normal}.gux-truncate-slot-container>*{display:inline}.gux-truncate-slot-container{display:block;overflow:hidden;text-overflow:ellipsis}";export{s as gux_truncate}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,d as s,w as i,h as o,g as l}from"./p-
|
1
|
+
import{r as t,d as s,w as i,h as o,g as l}from"./p-ed724d66.js";import{a as e}from"./p-ffaadf62.js";import{b as r}from"./p-52e27c60.js";import{O as a}from"./p-8801741a.js";import"./p-0962dd7a.js";const c={scrollLeft:"Scroll Left",scrollRight:"Scroll Right",scrollUp:"Scroll Up",scrollDown:"Scroll Down"};const n=class{constructor(s){t(this,s),this.currentScrollIndex=0,this.focused=0,this.tabTriggers=void 0,this.hasHorizontalScrollbar=!1,this.hasVerticalScrollbar=!1,this.isScrolledToBeginning=!1,this.isScrolledToEnd=!1}onFocusout(t){this.root.contains(t.relatedTarget)||this.tabTriggers.forEach(((t,s)=>{t.guxGetActive().then((i=>{i?this.focused=s:t.querySelector("button").setAttribute("tabindex","-1")}))}))}onHasVerticalScrollBar(){this.checkDisabledScrollButtons()}onScroll(){this.checkDisabledScrollButtons()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":t.preventDefault(),this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":t.preventDefault(),this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.focusTab(this.focused);break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onMutation(){this.setTabTriggers()}async guxSetActive(t){this.tabTriggers.forEach(((s,i)=>{const o=s.tabId===t;s.guxSetActive(o),o&&(this.focused=i)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,s)=>{t.guxGetActive().then((i=>{this.focused===s||i||t.querySelector("button").setAttribute("tabindex","-1")}))})),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}setTabTriggers(){this.tabTriggers=this.root.querySelectorAll("gux-tab"),this.triggerIds=this.tabTriggers?Array.from(this.tabTriggers).map((t=>`gux-${t.getAttribute("tab-id")}-tab`)).join(" "):""}checkForScrollbarHideOrShow(){s((()=>{const t=this.root.querySelector(".gux-scrollable-section"),s=t.clientWidth<t.scrollWidth,i=t.clientHeight<t.scrollHeight;s!==this.hasHorizontalScrollbar&&(this.hasHorizontalScrollbar=s),i!==this.hasVerticalScrollbar&&(this.hasVerticalScrollbar=i),this.checkDisabledScrollButtons()}))}handleKeyboardScroll(t){const s=this.root.querySelector(".gux-scrollable-section");"forward"===t?this.focused<this.tabTriggers.length-1?(i((()=>{this.hasHorizontalScrollbar?this.scrollRight():this.scrollDown()})),this.focusTab(this.focused+1)):(i((()=>{this.hasHorizontalScrollbar?s.scrollBy(-s.scrollWidth,0):s.scrollBy(0,-s.scrollHeight)})),this.focusTab(0)):"backward"===t&&(this.focused>0?(i((()=>{this.hasHorizontalScrollbar?this.scrollLeft():this.scrollUp()})),this.focusTab(this.focused-1)):(i((()=>{this.hasHorizontalScrollbar?s.scrollBy(s.scrollWidth,0):s.scrollBy(0,s.scrollHeight)})),this.focusTab(this.tabTriggers.length-1)))}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}async componentWillLoad(){this.setTabTriggers(),this.i18n=await r(this.root,c,"gux-tabs")}componentDidLoad(){!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}),e((()=>{this.checkForScrollbarHideOrShow()}),500)}checkDisabledScrollButtons(){const t=this.root.querySelector(".gux-scrollable-section");if(this.hasHorizontalScrollbar){const s=t.scrollLeft,i=t.scrollWidth-t.clientWidth;this.isScrolledToBeginning=0===s,this.isScrolledToEnd=i-s==0}else{const s=t.scrollTop,i=t.scrollHeight-t.clientHeight;this.isScrolledToBeginning=0===s,this.isScrolledToEnd=i-s==0}}getTabLength(){var t;return null===(t=this.tabTriggers[this.currentScrollIndex])||void 0===t?void 0:t.scrollWidth}scrollLeft(){i((()=>{this.currentScrollIndex=this.isScrolledToEnd?this.tabTriggers.length-1:this.currentScrollIndex-1,this.root.querySelector(".gux-scrollable-section").scrollBy(-this.getTabLength(),0)}))}scrollRight(){i((()=>{this.isScrolledToBeginning&&(this.currentScrollIndex=0),this.root.querySelector(".gux-scrollable-section").scrollBy(this.getTabLength(),0),this.currentScrollIndex=this.currentScrollIndex+1}))}scrollUp(){i((()=>{this.root.querySelector(".gux-scrollable-section").scrollBy(0,-this.tabTriggers[this.focused].clientHeight)}))}scrollDown(){i((()=>{this.root.querySelector(".gux-scrollable-section").scrollBy(0,this.tabTriggers[this.focused].clientHeight)}))}render(){return o("div",{class:"gux-tab-container"},this.renderScrollButton(this.hasHorizontalScrollbar?"scrollLeft":"scrollUp"),o("div",{role:"tablist",class:"gux-scrollable-section","aria-owns":this.triggerIds},o("slot",null)),this.renderScrollButton(this.hasHorizontalScrollbar?"scrollRight":"scrollDown"))}renderScrollButton(t){return o("div",{class:"gux-scroll-button-container"},this.hasHorizontalScrollbar||this.hasVerticalScrollbar?o("button",{disabled:this.getButtonDisabled(t),tabindex:"-1",title:this.i18n(t),"aria-label":this.i18n(t),class:"gux-scroll-button",onClick:()=>this.getScrollDirection(t)},o("gux-icon",{"icon-name":this.getChevronIconName(t),decorative:!0})):null)}getButtonDisabled(t){switch(t){case"scrollLeft":case"scrollUp":return this.isScrolledToBeginning;case"scrollRight":case"scrollDown":return this.isScrolledToEnd}}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight();break;case"scrollUp":this.scrollUp();break;case"scrollDown":this.scrollDown()}}getChevronIconName(t){switch(t){case"scrollLeft":return"chevron-small-left";case"scrollRight":return"chevron-small-right";case"scrollUp":return"chevron-small-up";case"scrollDown":return"chevron-small-down"}}get root(){return l(this)}};(function(t,s,i,o){var l,e=arguments.length,r=e<3?s:null===o?o=Object.getOwnPropertyDescriptor(s,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,i,o);else for(var a=t.length-1;a>=0;a--)(l=t[a])&&(r=(e<3?l(r):e>3?l(s,i,r):l(s,i))||r);e>3&&r&&Object.defineProperty(s,i,r)})([a({childList:!0,subtree:!0})],n.prototype,"onMutation",null),n.style="gux-tabs[orientation=vertical]{height:100%}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container{display:flex;flex-direction:column;width:160px;max-width:160px;height:100%;margin-right:16px;border-right:1px solid #d7dce5}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container .gux-scroll-button-container{width:100%}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container .gux-scroll-button-container button{width:100%}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container .gux-scrollable-section{flex-direction:column;height:100%;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container .gux-scrollable-section::-webkit-scrollbar{width:0;height:0}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab-container{height:40px;margin-bottom:16px;border-bottom:1px solid #d7dce5}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-scrollable-section{overflow-x:auto}gux-tabs .gux-tab-container{box-sizing:content-box;display:flex;width:100%;overflow-x:hidden;overflow-y:hidden;background-color:#fff}gux-tabs .gux-scrollable-section{display:flex;flex:1 1 auto;scroll-behavior:smooth;scrollbar-width:none}gux-tabs .gux-scrollable-section::-webkit-scrollbar{height:0}gux-tabs .gux-scroll-button-container{display:flex;border-radius:4px}gux-tabs .gux-scroll-button-container .gux-scroll-button{display:flex;align-items:center;justify-content:center;width:28px;height:40px;color:#202937;cursor:pointer;background-color:#e2e6ee;border:none;border-radius:4px}gux-tabs .gux-scroll-button-container .gux-scroll-button gux-icon{width:16px;height:16px}gux-tabs .gux-scroll-button-container .gux-scroll-button:hover:not(:disabled){background-color:#d7dce5}gux-tabs .gux-scroll-button-container .gux-scroll-button:active:not(:disabled){background-color:#d2d8e5}gux-tabs .gux-scroll-button-container .gux-scroll-button:disabled{cursor:default;opacity:0.5}";export{n as gux_tab_list}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as o,g as s}from"./p-
|
1
|
+
import{r as t,h as o,g as s}from"./p-ed724d66.js";import{t as r}from"./p-c57cd1d8.js";const n=class{constructor(o){t(this,o),this.singleOpenSection=!1}handleInternalsectionopened(t){t.stopImmediatePropagation(),this.singleOpenSection&&this.getAccordionSections().forEach((o=>{o!==t.target&&this.closeSection(o)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((t,o)=>(t&&this.closeSection(o),t||o.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(t){t.disabled||(t.open=!1)}render(){return o("slot",null)}get root(){return s(this)}};n.style="gux-accordion{-custom-noop:noop}";export{n as gux_accordion}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as t,H as s,g as i}from"./p-
|
1
|
+
import{r as e,h as t,H as s,g as i}from"./p-ed724d66.js";import{a as u,c as o}from"./p-a5937ee9.js";import{a as n}from"./p-ffaadf62.js";import{m as r,h as a}from"./p-705311af.js";const h=class{constructor(t){e(this,t),this.label=void 0,this.isShown=!1}async guxFocus(){this.buttonElement.focus()}onKeydown(e){switch(r(e,this.root),e.key){case"Enter":e.stopPropagation(),this.hideDelayTimeout=n((()=>{this.focusOnSubmenu()})),this.guxFocus();break;case"ArrowRight":e.stopPropagation(),this.show(),this.hideDelayTimeout=n((()=>{this.focusOnSubmenu()}));break;case"ArrowLeft":case"Escape":this.submenuContentElement.contains(e.target)&&e.stopPropagation(),this.guxFocus()}}onKeyup(e){" "===e.key&&(e.stopPropagation(),this.submenuContentElement.contains(document.activeElement)?this.root.focus():this.hideDelayTimeout=n((()=>{this.focusOnSubmenu()})))}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(e){this.submenuContentElement.contains(e.target)?this.hide():e.stopPropagation()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),a))}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=u(this.buttonElement,this.submenuElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.submenuElement&&o(this.buttonElement,this.submenuElement,{placement:"right-start",middleware:[]}).then((({x:e,y:t})=>{Object.assign(this.submenuElement.style,{left:`${e}px`,top:`${t}px`})}))}focusOnSubmenu(){this.submenuContentElement.contains(document.activeElement)||Array.from(this.submenuContentElement.children)[0].guxFocus()}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t(s,null,t("button",{type:"button",class:"gux-submenu-button",role:"menuitem",tabIndex:-1,ref:e=>this.buttonElement=e,"aria-haspopup":"true","aria-expanded":this.isShown.toString()},t("span",{class:"gux-submenu-button-text"},this.label),t("gux-icon",{class:"gux-submenu-open-icon","icon-name":"chevron-small-right",decorative:!0})),t("div",{ref:e=>this.submenuElement=e,class:{"gux-submenu-wrapper":!0,"gux-shown":this.isShown}},t("div",{role:"menu",class:"gux-submenu-content",ref:e=>this.submenuContentElement=e},t("slot",null))))}get root(){return i(this)}};h.style="gux-submenu{display:block;flex:1 1 auto;align-self:auto}gux-submenu .gux-submenu-button{all:unset;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;width:var(--gse-ui-flyoutMenu-width);height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:#fdfdfd}gux-submenu .gux-submenu-button:focus-within,gux-submenu .gux-submenu-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}gux-submenu .gux-submenu-button .gux-submenu-button-text{flex:1 1 auto;align-self:auto;order:0;margin-right:var(--gse-ui-menu-option-gap);overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}gux-submenu .gux-submenu-button .gux-submenu-open-icon{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-menu-option-startIcon-width);height:var(--gse-ui-menu-option-startIcon-height)}gux-submenu .gux-submenu-wrapper{position:absolute;top:0;left:0;flex-direction:column;padding:var(--gse-ui-menu-padding);margin:0;visibility:hidden;background-color:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}gux-submenu .gux-submenu-wrapper.gux-shown{visibility:visible}";export{h as gux_submenu}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as e,H as i}from"./p-ed724d66.js";const s=class{constructor(e){t(this,e),this.value=void 0,this.selected=!1,this.disabled=!1}onClick(t){this.disabled&&t.stopPropagation()}render(){return e(i,{class:{"gux-selected":this.selected}},e("button",{type:"button",class:"gux-switch-item",disabled:this.disabled},e("slot",null)))}};s.style="gux-switch-item>.gux-switch-item{font-family:var(--gse-core-fontFamily-body), sans-serif;font-weight:var(--gse-core-fontWeight-regular);font-size:var(--gse-core-fontSize-xs);line-height:var(--gse-core-lineHeight-xs);font:unset;color:#2e394c;text-align:center;background:none;border:none;outline:none}gux-switch-item>.gux-switch-item>gux-icon svg{fill:#99a4b8}gux-switch-item[disabled]{pointer-events:none;opacity:0.5}gux-switch-item.gux-selected{font-family:var(--gse-core-fontFamily-body), sans-serif;font-weight:var(--gse-core-fontWeight-bold)}gux-switch-legacy>gux-switch-item .gux-switch-item{padding:0 8px 4px;border-bottom:1px solid #e2e6ee}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy>gux-switch-item .gux-switch-item:hover{padding:0 8px 1px;border-bottom:4px solid #2a60c8;outline:none}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible>gux-icon svg,gux-switch-legacy>gux-switch-item .gux-switch-item:hover>gux-icon svg{fill:#2e394c}gux-switch-legacy>gux-switch-item .gux-switch-item>gux-icon{width:32px;height:32px}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item{padding:0 8px 1px;border-bottom:4px solid #2a60c8}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item>gux-icon svg{fill:#2e394c}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item{font-family:var(--gse-core-fontFamily-body), sans-serif;font-weight:var(--gse-core-fontWeight-regular);font-size:var(--gse-core-fontSize-xs);line-height:var(--gse-core-lineHeight-xs);padding:0 4px;border-bottom:1px solid #e2e6ee}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:hover{border-bottom-color:#2e394c}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item>gux-icon{width:24px;height:24px}gux-switch-legacy.gux-small>gux-switch-item.gux-selected .gux-switch-item{border-bottom-color:#2e394c}";export{s as gux_switch_item}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,c as t,h as o,H as i,g as s}from"./p-
|
1
|
+
import{r as e,c as t,h as o,H as i,g as s}from"./p-ed724d66.js";import{r as n}from"./p-3ea0d493.js";import{b as r}from"./p-52e27c60.js";import"./p-0962dd7a.js";const u={removeCustomElementInstructions:", unselecting this custom option will remove it from the list"},a=class{constructor(o){e(this,o),this.guxremovecustomoption=t(this,"guxremovecustomoption",7),this.internalselectcustomoption=t(this,"internalselectcustomoption",7),this.value=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1,this.custom=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}emitRemoveCustomOption(){!this.selected&&this.custom&&this.guxremovecustomoption.emit()}handleActive(e){var t,o;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(o=this.truncateElement)||void 0===o||o.setHideTooltip()}async componentWillLoad(){this.i18n=await r(this.root,u),this.root.id=this.root.id||n("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value)}renderSVGCheckbox(){return o("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"1 1 13 13"},o("path",this.selected?{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z"}:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}))}renderCustomOptionInstructions(){if(this.custom)return o("span",{class:"gux-screenreader"},this.i18n("removeCustomElementInstructions"))}render(){return o(i,{role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected},"aria-selected":this.selected.toString(),"aria-disabled":this.disabled.toString()},this.renderSVGCheckbox(),o("gux-truncate",{"gux-slot-container":!0,ref:e=>this.truncateElement=e},o("slot",null)),this.renderCustomOptionInstructions())}get root(){return s(this)}static get watchers(){return{selected:["emitRemoveCustomOption"],active:["handleActive"]}}};a.style=':host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);align-content:stretch;align-items:center;min-height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host .gux-checkbox-container{position:relative;display:inline-block;width:var(--gse-ui-menu-option-startIcon-width);height:var(--gse-ui-menu-option-startIcon-height);content:""}:host .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}:host:host(.gux-disabled){opacity:var(--gse-ui-menu-option-disabled-opacity);pointer-events:none;cursor:default}:host:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host:host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-default-foregroundColor)}:host:host(.gux-active){border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color)}:host:host(.gux-hovered:not([disabled])){background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(.gux-hovered:not([disabled])):host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-hover-foregroundColor)}:host:host(.gux-hovered:not([disabled])):host(:not(.gux-selected)) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-hover-foregroundColor)}:host:host(.gux-filtered){display:none}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}';export{a as gux_option_multi}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,c as e,h as s,H as i}from"./p-ed724d66.js";const a=class{constructor(s){t(this,s),this.guxactivepanelchange=e(this,"guxactivepanelchange",7),this.tabId=void 0,this.active=!1}async guxSetActive(t){this.active=t}watchActivePanel(){!0===this.active&&this.guxactivepanelchange.emit(this.tabId)}render(){return s(i,{id:`gux-${this.tabId}-panel`,role:"tabpanel","aria-labelledby":`gux-${this.tabId}-tab`,tabIndex:0,hidden:!this.active},s("slot",null))}static get watchers(){return{active:["watchActivePanel"]}}};a.style=":host{height:calc(100% - 57px)}:host(:not([hidden])){display:flex;flex-grow:1}:host(:focus){outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}";export{a as gux_tab_panel}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r,h as o,g as e}from"./p-ed724d66.js";import{c as t,o as i}from"./p-16f3da0d.js";import{O as n}from"./p-8801741a.js";import{o as a}from"./p-4e030b49.js";import{p as l}from"./p-28f55159.js";import{h as s}from"./p-324b23f3.js";import{G as u,a as d,v as g,b as f}from"./p-a3bc3236.js";import{G as p,a as h}from"./p-9383fa8e.js";import{t as m}from"./p-c57cd1d8.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const x=class{constructor(o){r(this,o),this.resize=void 0,this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=!0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),m(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(h,{labelPosition:this.computedLabelPosition},o(p,{position:this.computedLabelPosition,required:this.required},o("slot",{name:"label",onSlotchange:()=>this.setLabel()})),o("div",{class:"gux-input-and-error-container"},o("div",{ref:r=>this.textareaContainerElement=r,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},o("slot",{name:"input"})),o(u,{show:this.hasError},o("slot",{name:"error"})),o(d,{show:!this.hasError&&this.hasHelp},o("slot",{name:"help"}))))}get variant(){const r=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${r}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),l(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(r=>{this.disabled=r})),this.requiredObserver=a(this.input,(r=>{this.required=r})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=f(this.label,this.labelPosition)}updateHeight(r,o,e){"auto"===e&&r&&(r.dataset.replicatedValue=o.value,r.style.maxHeight=o.style.maxHeight)}get root(){return e(this)}};(function(r,o,e,t){var i,n=arguments.length,a=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,e):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(r,o,e,t);else for(var l=r.length-1;l>=0;l--)(i=r[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);n>3&&a&&Object.defineProperty(o,e,a)})([n({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style='.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);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);resize:vertical;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none;padding:var(--gse-ui-formControl-textarea-padding);margin:0}::slotted(textarea)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}::slotted(textarea)[disabled]{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:flex;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);outline:none}.gux-input-and-error-container .gux-input:focus-within{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);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)}.gux-input-and-error-container .gux-input:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-input-and-error-container .gux-input.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) " ";padding:var(--gse-ui-formControl-textarea-padding);margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}';export{x as gux_form_field_textarea}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,h as a,g as i}from"./p-
|
1
|
+
import{r as t,c as e,h as a,g as i}from"./p-ed724d66.js";import{t as n}from"./p-c57cd1d8.js";import{b as o}from"./p-52e27c60.js";import"./p-0962dd7a.js";const s={previous:"Previous",next:"Next"},r=class{constructor(a){t(this,a),this.guxPaginationCursorchange=e(this,"guxPaginationCursorchange",7),this.guxitemsperpagechange=e(this,"guxitemsperpagechange",7),this.hasPrevious=!1,this.hasNext=!1,this.itemsPerPage=void 0,this.layout="simple"}handleInternalitemsperpagechange(t){this.guxitemsperpagechange.emit(t.detail)}onButtonClick(t){("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){n(this.root),this.i18n=await o(this.root,s)}renderSimpleLayout(){return[a("div",{role:"navigation",class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("gux-icon",{iconName:"chevron-small-left","screenreader-text":this.i18n("previous")}))),a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("gux-icon",{iconName:"chevron-small-right","screenreader-text":this.i18n("next")}))))]}renderAdvancedLayout(){return[a("div",{role:"navigation",class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("div",{class:"gux-button-align-content"},a("gux-icon",{decorative:!0,iconName:"chevron-small-left"}),a("span",null,this.i18n("previous"))))),a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("div",{class:"gux-button-align-content"},a("span",null,this.i18n("next")),a("gux-icon",{decorative:!0,iconName:"chevron-small-right"}))))),this.renderItemsPerPage()]}renderItemsPerPage(){return this.itemsPerPage&&a("gux-pagination-items-per-page-beta",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})}render(){return"advanced"===this.layout?this.renderAdvancedLayout():this.renderSimpleLayout()}get root(){return i(this)}};r.style=":host{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:space-between;padding:var(--gse-ui-dataTableItems-tablePagination-padding);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor);border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}:host .gux-pagination-button-container{display:flex;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:center}:host .gux-button-align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);align-content:center;align-items:center}:host .gux-button-align-content>*{flex:0 1 auto;align-self:auto;order:0}:host gux-icon{width:var(--gse-ui-button-icon-size);height:var(--gse-ui-button-icon-size)}";export{r as gux_pagination_cursor}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as s,h as i,H as h,g as a}from"./p-
|
1
|
+
import{r as t,c as s,h as i,H as h,g as a}from"./p-ed724d66.js";import{t as e}from"./p-c57cd1d8.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}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as a,h as e,g as i}from"./p-7d26b2e1.js";import{b as n}from"./p-deee079e.js";import"./p-8a133b9b.js";const o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"};class s{static getPageList(t,a){if(a<=10)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=5)return[...[...Array(6).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-5){const e=[...Array(6).keys()].map((e=>{const i=e+a-5;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(5).keys()].map((a=>{const e=a+t-2;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="full"}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)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}setPageFromInput(t){const a=parseInt(t,10);!a||isNaN(a)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(a)}getPageListEnteries(t,a){return s.getPageList(t,a).reduce(((t,a)=>t.concat(e("button",a.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(a.pageNumber)},a.display))),[])}getSmallPagePicker(){return e("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return e("div",{class:"gux-pagination-buttons-input-container"},e("div",null,this.i18n("page")),e("div",{class:"gux-pagination-buttons-input"},e("gux-form-field-text-like",{"label-position":"screenreader"},e("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),e("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),e("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return e("div",{class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{class:"gux-pagination-buttons-group"},e("gux-button-slot",{accent:"ghost"},e("button",{title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{decorative:!0,"icon-name":"chevron-double-left"}))),e("gux-button-slot",{accent:"ghost"},e("button",{title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})))),this.getPagePicker(this.layout),e("div",{class:"gux-pagination-buttons-group"},e("gux-button-slot",{accent:"ghost"},e("button",{title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),e("gux-button-slot",{accent:"ghost"},e("button",{title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{decorative:!0,"icon-name":"chevron-double-right"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons-legacy .gux-pagination-buttons-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:flex-end;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons-legacy .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:inherit;text-align:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-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:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);padding-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);background:inherit;border:none}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button: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-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);color:var(--gse-ui-button-ghost-default-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-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);color:var(--gse-ui-button-ghost-default-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);cursor:pointer}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-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)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:var(--gse-ui-dataTableItems-tablePagination-padding)}";const r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},u=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,r)}render(){return e("div",{class:"gux-pagination-item-counts-container"},e("span",{class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",null,this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return i(this)}};u.style="gux-pagination-item-counts-legacy .gux-pagination-item-counts-container{display:flex;flex-direction:row;white-space:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);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 l={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},p=class{constructor(e){t(this,e),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,l)}getDropdown(){return e("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},e("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},e("gux-option",{value:"25"},"25"),e("gux-option",{value:"50"},"50"),e("gux-option",{value:"75"},"75"),e("gux-option",{value:"100"},"100")))}render(){return e("div",{class:"gux-pagination-items-per-page-container"},e("div",{class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};p.style="gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}gux-pagination-items-per-page-legacy .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_legacy,u as gux_pagination_item_counts_legacy,p as gux_pagination_items_per_page_legacy}
|
1
|
+
import{r as t,c as a,h as e,g as i}from"./p-ed724d66.js";import{b as n}from"./p-52e27c60.js";import"./p-0962dd7a.js";const o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"};class s{static getPageList(t,a){if(a<=10)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=5)return[...[...Array(6).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-5){const e=[...Array(6).keys()].map((e=>{const i=e+a-5;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(5).keys()].map((a=>{const e=a+t-2;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="full"}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)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}setPageFromInput(t){const a=parseInt(t,10);!a||isNaN(a)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(a)}getPageListEnteries(t,a){return s.getPageList(t,a).reduce(((t,a)=>t.concat(e("button",a.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(a.pageNumber)},a.display))),[])}getSmallPagePicker(){return e("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return e("div",{class:"gux-pagination-buttons-input-container"},e("div",null,this.i18n("page")),e("div",{class:"gux-pagination-buttons-input"},e("gux-form-field-text-like",{"label-position":"screenreader"},e("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),e("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),e("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return e("div",{class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{class:"gux-pagination-buttons-group"},e("gux-button-slot",{accent:"ghost"},e("button",{title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{decorative:!0,"icon-name":"chevron-double-left"}))),e("gux-button-slot",{accent:"ghost"},e("button",{title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})))),this.getPagePicker(this.layout),e("div",{class:"gux-pagination-buttons-group"},e("gux-button-slot",{accent:"ghost"},e("button",{title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),e("gux-button-slot",{accent:"ghost"},e("button",{title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{decorative:!0,"icon-name":"chevron-double-right"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons-legacy .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:stretch;align-items:center;justify-content:flex-end;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons-legacy .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:stretch;align-items:center;justify-content:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:inherit;text-align:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:stretch;align-items:center;justify-content:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);padding-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);background:inherit;border:none}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{border-radius:calc(var(--gse-semantic-focusRing-cornerRadius) - var(--gse-semantic-focusRing-offset));outline:var(--gse-semantic-focusRing-width) solid var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);cursor:pointer;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-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)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:var(--gse-ui-dataTableItems-tablePagination-padding)}";const r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},u=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,r)}render(){return e("div",{class:"gux-pagination-item-counts-container"},e("span",{class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",null,this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return i(this)}};u.style="gux-pagination-item-counts-legacy .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";const l={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},p=class{constructor(e){t(this,e),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,l)}getDropdown(){return e("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},e("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},e("gux-option",{value:"25"},"25"),e("gux-option",{value:"50"},"50"),e("gux-option",{value:"75"},"75"),e("gux-option",{value:"100"},"100")))}render(){return e("div",{class:"gux-pagination-items-per-page-container"},e("div",{class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};p.style="gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:stretch;align-items:center;justify-content:center}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{g as gux_pagination_buttons_legacy,u as gux_pagination_item_counts_legacy,p as gux_pagination_items_per_page_legacy}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,c as a,h as t}from"./p-ed724d66.js";const s=class{constructor(t){e(this,t),this.guxactivepanelchange=a(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("div",{id:`gux-${this.tabId}-panel`,role:"tabpanel","aria-labelledby":`gux-${this.tabId}-tab`,tabIndex:0,hidden:!this.active,"aria-live":"assertive"},t("slot",null))}static get watchers(){return{active:["watchActivePanel"]}}};s.style="gux-tab-advanced-panel-legacy div[role=tabpanel]:focus{outline:none}gux-tab-advanced-panel-legacy div[role=tabpanel]:focus-visible{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}";export{s as gux_tab_advanced_panel_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as i,h as o,g as s,H as e}from"./p-
|
1
|
+
import{r as t,c as i,h as o,g as s,H as e}from"./p-ed724d66.js";const n=/[-/\\^$*+?.()|[\]{}]/g,d=class{constructor(o){t(this,o),this.selectedChanged=i(this,"selectedChanged",7),this.value=void 0,this.disabled=void 0,this.filtered=void 0,this.selected=void 0,this.text=void 0,this.highlight=void 0}getDisplayedValue(){return Promise.resolve(this.text)}shouldFilter(t){if(this.highlight=t,this.highlightIndex=-1,!t)return Promise.resolve(!1);const i=new RegExp(t.replace(n,"\\$&"),"gi").exec(this.text),o=null===i;return o||(this.highlightIndex=i.index),Promise.resolve(o)}componentDidLoad(){this.root.onclick=()=>{this.onItemClicked()},this.root.onkeydown=t=>{switch(t.key){case" ":case"Enter":this.selected=!0,this.selectedChanged.emit(this.value)}}}hostData(){return{tabindex:"0"}}__stencil_render(){return o("div",{class:"gux-dropdown-option",title:this.text},this.textWithHighlights())}textWithHighlights(){if(!this.highlight||!this.text)return o("span",null,this.text);if(this.highlightIndex<0)return o("span",null,this.text);const t=this.text.substring(0,this.highlightIndex),i=this.text.substring(this.highlightIndex,this.highlightIndex+this.highlight.length),s=this.text.substring(t.length+this.highlight.length);return o("span",null,t,o("strong",null,i),s)}onItemClicked(){this.selected=!0,this.selectedChanged.emit(this.value)}get root(){return s(this)}render(){return o(e,this.hostData(),this.__stencil_render())}};d.style="gux-dropdown-option{position:relative;display:flex;height:var(--option-height);padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-option div.gux-dropdown-option{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-option div.gux-dropdown-option .gux-ghost{position:absolute}gux-dropdown-option[filtered]{display:none}gux-dropdown-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-option[disabled=false]{pointer-events:auto;cursor:pointer;opacity:1}gux-dropdown-option:not(:disabled)[selected]{color:#2e394c;background:#deeaff}gux-dropdown-option:not(:disabled):hover,gux-dropdown-option:not(:disabled):focus-visible{color:#fdfdfd;background:#2a60c8}";export{d as gux_dropdown_option}
|
@@ -1 +1 @@
|
|
1
|
-
const t="4.0.0-beta.
|
1
|
+
const t="4.0.0-beta.36",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,c as o,w as a,h as i,g as n}from"./p-
|
1
|
+
import{r as t,c as o,w as a,h as i,g as n}from"./p-ed724d66.js";import{e as s}from"./p-dbb0ac25.js";import{r as e}from"./p-3ea0d493.js";import{a as d}from"./p-ffaadf62.js";import{b as u}from"./p-52e27c60.js";import{t as g}from"./p-5844e8c2.js";import"./p-0962dd7a.js";const x=class{constructor(a){t(this,a),this.internalactivatetabpanel=o(this,"internalactivatetabpanel",7),this.dropdownOptionsButtonId=e(),this.tabTitle="",this.focusinFromClick=!1,this.tabId=void 0,this.active=!1,this.guxDisabled=!1,this.popoverHidden=!0,this.hasAnimated=!1}onFocusin(t){!this.focusinFromClick&&t.target.classList.contains("gux-tab-button")&&this.tooltipTitleElement.setShowTooltip()}onFocusout(t){this.root.querySelector(".gux-tab").contains(t.relatedTarget)||(this.popoverHidden=!0),t.target.classList.contains("gux-tab-button")&&this.tooltipTitleElement.setHideTooltip(),this.focusinFromClick=!1}onKeydown(t){switch(t.key){case"ArrowDown":case"Enter":s(".gux-tab-options-button",t)&&(t.preventDefault(),this.popoverHidden=!1,this.focusFirstItemInPopupList());break;case"Escape":s('gux-list[slot="dropdown-options"]',t)&&(t.stopPropagation(),this.popoverHidden=!0,d((()=>{var t;null===(t=this.tabOptionsButtonElement)||void 0===t||t.focus()})))}}onKeyup(t){" "===t.key&&s(".gux-tab-options-button",t)&&this.focusFirstItemInPopupList()}onClick(t){s(".gux-tab-options-button",t)||this.active||this.guxDisabled||this.internalactivatetabpanel.emit(this.tabId)}onMouseDown(){this.focusinFromClick=!0}async guxSetActive(t){this.active=t}async guxGetActive(){return this.active}async guxFocus(){this.buttonElement.focus()}get hasDropdownOptions(){return Boolean(this.root.querySelector('gux-list[slot="dropdown-options"]'))}focusFirstItemInPopupList(){const t=this.root.querySelector('gux-list[slot="dropdown-options"]');d((()=>{null==t||t.guxFocusFirstItem()}))}toggleOptions(){this.popoverHidden=!this.popoverHidden}onSelectDropdownOption(t){this.popoverHidden=!0,t.stopPropagation(),d((()=>{this.tabOptionsButtonElement.focus()}))}async componentWillLoad(){this.i18n=await u(this.root,g,"gux-tabs-advanced")}componentDidLoad(){this.tabTitle=this.root.querySelector("gux-tooltip-title").textContent.trim(),this.hasAnimated||a((()=>{this.root.querySelector(".gux-tab").classList.add("gux-show"),this.hasAnimated=!0}))}popoverOnClick(t){t.stopPropagation()}getDropdownOptions(){return this.hasDropdownOptions?[i("button",{id:this.dropdownOptionsButtonId,"aria-expanded":(!this.popoverHidden).toString(),type:"button",class:"gux-tab-options-button",ref:t=>this.tabOptionsButtonElement=t,onClick:()=>this.toggleOptions(),tabIndex:this.active?0:-1,disabled:this.guxDisabled},i("gux-icon",{"icon-name":"menu-kebab-vertical","screenreader-text":this.i18n("options",{tabTitle:this.tabTitle})})),i("gux-popover-list",{position:"top-end",for:this.dropdownOptionsButtonId,displayDismissButton:!1,hidden:this.popoverHidden,closeOnClickOutside:!0,onGuxdismiss:()=>this.popoverHidden=!0,onClick:t=>this.popoverOnClick(t),onFocusout:t=>t.stopImmediatePropagation()},i("div",{class:"gux-dropdown-option-container",onClick:t=>this.onSelectDropdownOption(t)},i("slot",{name:"dropdown-options"})))]:null}render(){return[i("div",{class:{"gux-tab":!0,"gux-selected":this.active,"gux-dropdown-options":this.hasDropdownOptions,"gux-disabled":this.guxDisabled}},i("button",{class:"gux-tab-button",type:"button",role:"tab","aria-selected":this.active.toString(),"aria-disabled":this.guxDisabled.toString(),"aria-controls":`gux-${this.tabId}-panel`,ref:t=>this.buttonElement=t,tabIndex:this.active?0:-1,id:`gux-${this.tabId}-tab`},i("gux-tooltip-title",{ref:t=>this.tooltipTitleElement=t},i("span",null,i("slot",null)))),this.getDropdownOptions())]}get root(){return n(this)}};x.style=".gux-tab-sorting :focus-within{margin-bottom:4px}gux-tab-advanced-legacy:not(:last-child) .gux-tab:not(.gux-dropdown-options) .gux-tab-button{border-right:1px solid #d7dce5}gux-tab-advanced-legacy:not(:last-child) .gux-dropdown-options .gux-tab-options-button{border-right:1px solid #d7dce5}gux-tab-advanced-legacy .gux-tab{display:flex;align-items:center;width:126px;height:50px;padding-bottom:2px;overflow:hidden;border-radius:4px 4px 0 0;transition:width 0.4s ease-out}gux-tab-advanced-legacy .gux-tab .gux-tab-button{display:flex;align-items:center;width:100%;width:125px;height:50px;padding-right:0;padding-left:16px;color:#000;background-color:#f6f7f9;border:none}gux-tab-advanced-legacy .gux-tab .gux-tab-button:focus-visible{height:90%;border:3px solid #aac9ff;border-radius:5px;outline:none}gux-tab-advanced-legacy .gux-tab.gux-show{width:160px}gux-tab-advanced-legacy .gux-tab.gux-show.gux-disabled .gux-tab-button{color:rgba(0, 0, 0, 0.5)}gux-tab-advanced-legacy .gux-tab.gux-show.gux-disabled .gux-tab-options-button{color:rgba(46, 57, 76, 0.5);pointer-events:none;cursor:default}gux-tab-advanced-legacy .gux-tab .gux-tab-options-button{z-index:1;align-items:center;justify-content:center;width:35px;height:30px;padding:0;cursor:pointer;background-color:#f6f7f9;border:none}gux-tab-advanced-legacy .gux-tab .gux-tab-options-button:focus-visible{outline:none}gux-tab-advanced-legacy .gux-tab .gux-tab-options-button:focus-visible gux-icon{padding-right:0;padding-left:0;border:3px solid #aac9ff;border-radius:5px}gux-tab-advanced-legacy .gux-tab .gux-tab-options-button gux-icon{width:16px;height:16px;padding-right:16px;padding-left:8px;transition:color 0.25s}gux-tab-advanced-legacy .gux-tab:not(.gux-dropdown-options) .gux-tab-button{width:160px;height:30px;padding-right:16px}gux-tab-advanced-legacy .gux-tab:not(.gux-dropdown-options) .gux-tab-button:focus-visible{height:90%;border:3px solid #aac9ff;border-radius:5px;outline:none}gux-tab-advanced-legacy .gux-tab .tab-icon-container{display:flex;flex:0 0 16px;align-items:center;justify-content:center;height:14px;margin-right:8px}gux-tab-advanced-legacy .gux-tab .tab-icon-container gux-icon{width:100%}gux-tab-advanced-legacy .gux-tab.gux-selected{padding-bottom:0;background-color:#fdfdfd;border-bottom:2px solid #2a60c8}gux-tab-advanced-legacy .gux-tab.gux-selected .gux-tab-button{background-color:#fdfdfd}gux-tab-advanced-legacy .gux-tab.gux-selected .gux-tab-options-button{background-color:#fdfdfd}gux-tab-advanced-legacy .gux-tab:hover:not(.gux-selected):not(.gux-disabled){padding-bottom:0;border-bottom:2px solid #8a97ad}gux-tab-advanced-legacy .gux-tab gux-tooltip-title{font-size:14px;white-space:nowrap}";export{x as gux_tab_advanced_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,h as o,H as i,g as s}from"./p-
|
1
|
+
import{r as t,c as e,h as o,H as i,g as s}from"./p-ed724d66.js";import{r as n}from"./p-3ea0d493.js";import{b as r}from"./p-52e27c60.js";import"./p-0962dd7a.js";const a={createCustomOptionInstructions:", select to create a new custom option",createOption:'Add "{optionValue}"'},u=class{constructor(o){t(this,o),this.internalcreatenewoption=e(this,"internalcreatenewoption",7),this.value=void 0,this.active=!1,this.hidden=!0,this.filtered=!0,this.hovered=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}async guxEmitInternalCreateNewOption(){this.internalcreatenewoption.emit()}handleClick(){this.internalcreatenewoption.emit(this.value)}async componentWillLoad(){this.i18n=await r(this.root,a),this.root.id=this.root.id||n("gux-option-multi")}renderCustomOptionInstructions(){return o("span",{class:"gux-screenreader"},this.i18n("createCustomOptionInstructions"))}render(){return o(i,{role:"option","aria-selected":!1,class:{"gux-active":this.active,"gux-hovered":this.hovered,"gux-filtered":this.filtered}},o("div",{class:"gux-option"},o("gux-icon",{decorative:!0,iconName:"add"}),o("div",{class:"gux-create-text"},this.i18n("createOption",{optionValue:this.value})),this.renderCustomOptionInstructions()))}get root(){return s(this)}};u.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;min-height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host:host(.gux-active){border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color)}:host:host(.gux-hovered:not([disabled])){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(.gux-filtered){display:none}:host gux-icon{width:var(--gse-ui-menu-option-startIcon-width);height:var(--gse-ui-menu-option-startIcon-height);padding-right:var(--gse-ui-menu-option-gap)}:host .gux-option{display:inline-flex}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{u as gux_create_option}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as s,h as i,H as a,g as h}from"./p-
|
1
|
+
import{r as t,c as s,h as i,H as a,g as h}from"./p-ed724d66.js";import{t as c}from"./p-c57cd1d8.js";const o=class{constructor(i){t(this,i),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.tabList=void 0,this.tabPanels=[],this.activeTab=void 0}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){var a;this.activeTab=t||(null===(a=null==s?void 0:s.querySelector("gux-tab-advanced-legacy"))||void 0===a?void 0:a.getAttribute("tab-id")),s.guxSetActive(this.activeTab),i.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){c(this.root)}render(){return i(a,null,i("div",{class:"gux-tabs"},i("slot",{name:"tab-list"}),i("div",null,i("slot",{onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return h(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};o.style="gux-tabs-advanced-legacy{-custom-noop:noop}";export{o as gux_tabs_advanced_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as o,h as s,g as a}from"./p-
|
1
|
+
import{r as t,c as o,h as s,g as a}from"./p-ed724d66.js";import{t as i}from"./p-c57cd1d8.js";import{h as e}from"./p-324b23f3.js";const r=class{constructor(s){t(this,s),this.guxdismiss=o(this,"guxdismiss",7),this.toastType="success",this.hasLink=!1,this.hasPrimaryButton=!1,this.hasSecondaryButton=!1}componentWillLoad(){i(this.root,{variant:this.toastType}),this.hasPrimaryButton=e(this.root,"primary-button"),this.hasSecondaryButton=e(this.root,"secondary-button"),this.hasLink=e(this.root,"link")}renderToastIcon(){switch(this.toastType){case"success":return s("gux-icon",{"icon-name":"fa/circle-check-solid",decorative:!0});case"warning":return s("gux-icon",{"icon-name":"fa/triangle-exclamation-solid",decorative:!0});case"error":return s("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0});case"info":return s("gux-icon",{"icon-name":"fa/circle-info-solid",decorative:!0});case"action":return s("slot",{name:"icon"})}}renderLink(){return s("div",{class:"gux-buttons-bar"},s("slot",{name:"link"}))}renderActions(){return s("div",{class:"gux-buttons-bar"},this.hasSecondaryButton&&s("gux-button-slot",null,s("slot",{name:"secondary-button"})),s("gux-button-slot",{accent:this.hasSecondaryButton?"primary":"tertiary"},s("slot",{name:"primary-button"})))}render(){return s("div",{class:`gux-toast gux-toast-${this.toastType}`},s("div",{class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),s("div",{class:"gux-content"},s("div",{class:"gux-message"},s("gux-truncate",{class:"gux-message-title","max-lines":1},s("slot",{name:"title"})),s("gux-truncate",{class:"gux-message-body","max-lines":2},s("slot",{name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),s("gux-dismiss-button",{position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return a(this)}};r.style=".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);align-content:stretch;align-items:flex-start;justify-content:flex-start;width:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-bottom:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow-x) var(--gse-ui-toast-boxShadow-y) var(--gse-ui-toast-boxShadow-blur) var(--gse-ui-toast-boxShadow-spread) var(--gse-ui-toast-boxShadow-color)}.gux-toast .gux-icon ::slotted(gux-icon){width:var(--gse-ui-toast-icon) !important;height:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{width:var(--gse-ui-toast-icon) !important;height:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);align-content:stretch;align-items:flex-start;align-self:auto;justify-content:flex-start;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight)}.gux-toast .gux-content .gux-buttons-bar{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-buttonBar-gap);justify-content:flex-start}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-message{color:var(--gse-ui-toast-action-foregroundColor)}";export{r as gux_toast}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as s,H as o,g as r}from"./p-ed724d66.js";import{t as i}from"./p-c57cd1d8.js";import{D as e,g as a}from"./p-7a100b8c.js";import{g as h}from"./p-52e27c60.js";import"./p-0962dd7a.js";const n=class{constructor(s){t(this,s),this.datetime=(new Date).toISOString(),this.format="short",this.timeZone=void 0}componentWillLoad(){i(this.root),this.formatter=new e(h(this.root))}render(){return s(o,null,this.formatter.formatDate(new Date(this.datetime),this.format,{timeZone:a(this.timeZone)}))}get root(){return r(this)}};export{n as gux_date_beta}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as t,H as i,g as r}from"./p-ed724d66.js";import{c as o,o as n}from"./p-16f3da0d.js";import{O as a}from"./p-8801741a.js";import{o as s}from"./p-4e030b49.js";import{p as l}from"./p-28f55159.js";import{h as g}from"./p-324b23f3.js";import{G as u,a as h,g as d,v as p,b as x}from"./p-a3bc3236.js";import{a as f,G as c}from"./p-9383fa8e.js";import{t as m}from"./p-c57cd1d8.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const b=class{constructor(t){e(this,t),this.displayUnits=void 0,this.valueInTooltip=void 0,this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1,this.value=void 0,this.active=void 0,this.valueWatcherId=void 0}onInput(e){this.updateValue(e.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.hasError=g(this.root,"error"),this.hasHelp=g(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=g(this.root,"error"),this.hasHelp=g(this.root,"help"),m(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition()}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return t(i,{class:{"gux-active":this.active}},t(f,{labelPosition:this.computedLabelPosition},t(c,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()})),t("div",{class:"gux-input-and-error-container"},this.renderRangeInput(),t(u,{show:this.hasError},t("slot",{name:"error"})),t(h,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=d(this.root,'input[type="range"][slot="input"]'),l(this.input),this.disabled=o(this.input),this.required=this.input.required,this.value=this.input.value,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled}},t("div",{class:"gux-range"},t("div",{class:"gux-track"},t("div",{class:"gux-progress",ref:e=>this.progressElement=e})),t("slot",{name:"input"}),t("div",{class:{"gux-range-tooltip-container":!0,"gux-hidden":!this.valueInTooltip},ref:e=>this.sliderTooltipContainer=e},t("div",{class:"gux-range-tooltip",ref:e=>this.sliderTooltip=e},this.getDisplayValue()))),t("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){const e=Number(this.input.value||0),t=Number(this.input.min||0),i=(e-t)/(Number(this.input.max||100)-t)*100;this.sliderTooltip&&(this.sliderTooltip.style.left=i-i/8/this.sliderTooltipContainer.offsetWidth*100+"%"),this.progressElement.style.width=`${i}%`}getDisplayValue(){return this.displayUnits?`${this.value}${this.displayUnits}`:this.value}get root(){return r(this)}};(function(e,t,i,r){var o,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(n<3?o(a):n>3?o(t,i,a):o(t,i))||a);n>3&&a&&Object.defineProperty(t,i,a)})([a({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style='.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);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input[type=range]){position:absolute;width:100%;width:100%;height:var(--gse-ui-slider-bar-height);margin:calc(var(--gse-ui-slider-handle-width) / 2) 0;margin-top:calc(-1 * (var(--gse-ui-slider-handle-width) / 2 + var(--gse-ui-slider-bar-height)));-webkit-appearance:none;background:transparent}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;height:32px;font-size:var(--gse-ui-slider-label-text-fontSize)}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:var(--gse-ui-slider-disabled-opacity)}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{width:100%;height:var(--gse-ui-slider-bar-height);margin:6px 0;background:var(--gse-ui-slider-bar-default-backgroundColor)}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{height:var(--gse-ui-slider-bar-height);background-color:var(--gse-ui-slider-bar-selected-backgroundColor)}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;margin:0 0 0 var(--gux-spacing-medium);font-family:var(--gse-ui-slider-label-text-fontFamily);font-size:var(--gse-ui-slider-label-text-fontSize);font-weight:var(--gse-ui-slider-label-text-fontWeight);line-height:var(--gse-ui-slider-label-text-lineHeight);text-align:right}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container{position:absolute;top:-50px;width:100%;height:32px;pointer-events:none}.gux-input-and-error-container .gux-range-tooltip-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip{font-family:var(--gse-core-fontFamily-body), sans-serif;font-weight:var(--gse-core-fontWeight-regular);font-size:var(--gse-core-fontSize-xs);line-height:var(--gse-core-lineHeight-xs);position:absolute;z-index:var(--gux-zindex-tooltip, 1);display:flex;align-items:center;justify-content:center;width:50px;height:32px;margin-left:-20px;visibility:hidden;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius);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)}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after,.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{position:absolute;top:100%;left:50%;width:0;height:0;pointer-events:none;content:" ";border:solid transparent}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after{margin-left:-4px;border-width:4px;border-top-color:var(--gse-ui-tooltip-light-backgroundColor)}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:var(--gse-ui-tooltip-light-backgroundColor)}';export{b as gux_form_field_range}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as a,d as i,h as e,g as n}from"./p-
|
1
|
+
import{r as t,c as a,d as i,h as e,g as n}from"./p-ed724d66.js";import{a as s}from"./p-ffaadf62.js";import{t as o}from"./p-c57cd1d8.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;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:stretch;align-items:center;align-self:auto;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,g as o}from"./p-
|
1
|
+
import{r as t,h as i,g as o}from"./p-ed724d66.js";import{b as n}from"./p-52e27c60.js";import{t as a}from"./p-c57cd1d8.js";import"./p-0962dd7a.js";const s={navigationName:"Skip links navigation"},e=class{constructor(i){t(this,i)}async componentWillLoad(){a(this.root),this.i18n=await n(this.root,s)}render(){return i("div",{class:"gux-container"},i("nav",{"aria-label":this.i18n("navigationName")},i("ul",{role:"list"},i("slot",null))))}static get delegatesFocus(){return!0}get root(){return o(this)}};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;position:absolute;inset:0}.gux-container nav{width:fit-content;margin:40px auto}.gux-container nav ul{padding:0;margin:0}";export{e as gux_skip_navigation_list}
|