genesys-spark-components 4.0.0-beta.35 → 4.0.0-beta.37
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/README.md +5 -3
- 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-dea328c9.js} +6 -6
- 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 +13 -11
- 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-9db89e81.js} +6 -6
- package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/p-03c3a43a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a2cc1e97.entry.js → p-0443695b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b1c23548.entry.js → p-04e7b0a5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-05102bf4.entry.js +1 -0
- package/dist/genesys-webcomponents/p-07abb8df.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8e9bfb5c.entry.js → p-0e1a0eef.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fab9ff54.entry.js → p-0e9b22e4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-97d57a71.entry.js → p-0fb8a131.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c985b725.entry.js → p-15e52200.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-16101c87.entry.js +1 -0
- package/dist/genesys-webcomponents/p-170e10d8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-dfb9c511.entry.js → p-18901baf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e1030da3.entry.js → p-20e0415d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e401da19.entry.js → p-2187b61f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5bbffb5a.entry.js → p-22590862.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2339dbe7.entry.js +1 -0
- package/dist/genesys-webcomponents/p-23e0e71f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bf36d208.entry.js → p-23fdc919.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-67652427.entry.js → p-24aaca86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9571e673.entry.js → p-275190eb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-23ef4850.entry.js → p-290db8e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2c9c3cea.entry.js → p-2c325bd9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2d2f6a98.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-197d4153.entry.js → p-2e88df19.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-32a36f06.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3d3fea51.entry.js → p-354af9aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c686d5f6.entry.js → p-38c797a5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3aa647fd.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-605734cc.js → p-3c614740.js} +1 -1
- package/dist/genesys-webcomponents/p-3c951a20.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-13dd4c6b.js → p-3d745319.js} +1 -1
- package/dist/genesys-webcomponents/{p-c3d5a975.entry.js → p-3fe16f20.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2b46c949.entry.js → p-4303e91c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7c826e42.entry.js → p-4338a137.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-457dce75.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c743441a.entry.js → p-47417e1a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-478e3b1c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ebfa2805.entry.js → p-48d0d172.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-39151f6f.entry.js → p-49fa664f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6bff9eb3.entry.js → p-4a579180.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4ef7f5b0.entry.js +1 -0
- package/dist/genesys-webcomponents/p-511eb62e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-deee079e.js → p-52e27c60.js} +1 -1
- package/dist/genesys-webcomponents/p-53a1d44e.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-57c82db9.entry.js → p-581afbbd.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5d15381f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6a08f78f.entry.js → p-644b750b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75146c5b.entry.js → p-645bf22d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-45baa064.entry.js → p-64f97f86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5a94a9bf.entry.js → p-67bf8797.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-69d045af.entry.js +1 -0
- package/dist/genesys-webcomponents/p-6c5bcc19.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-16570da1.entry.js → p-6c72ef03.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8f781185.entry.js → p-6eaaa7d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-71ea12be.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ebede868.entry.js → p-7293caff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1e4c80e5.entry.js → p-741109b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-98f69d35.entry.js → p-74330868.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2176b2e3.entry.js → p-75c18eb2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-29bb65b6.entry.js → p-77b466cc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-77db656b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8920a5e5.js → p-7a100b8c.js} +1 -1
- package/dist/genesys-webcomponents/{p-c6d8e1d8.entry.js → p-7c4e5b42.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f242ce05.entry.js → p-7e0bec76.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-44835bc5.entry.js → p-7e22896f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-801d58d0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5f96b474.entry.js → p-80e52443.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e078f4fa.entry.js → p-82ff960a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f34ce7dc.js → p-8801741a.js} +1 -1
- package/dist/genesys-webcomponents/p-8897f0c8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-359d6b16.entry.js → p-88ebf763.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d18d475.js → p-8c362857.js} +1 -1
- package/dist/genesys-webcomponents/{p-e511fb43.entry.js → p-8e2f5120.entry.js} +1 -1
- 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-078d3c75.entry.js → p-947008c7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-96a2defd.entry.js +1 -0
- 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-0ca229eb.entry.js → p-9b14db2e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9c69a37d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fbc9566f.entry.js → p-9c7f235d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9cc0c717.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b6ec024f.entry.js → p-a110a467.entry.js} +1 -1
- 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-280ec994.entry.js → p-a6dbce60.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-334e3b2c.entry.js → p-a96bc06c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-aa66df62.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d9a38f04.entry.js → p-adecb65e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d3a38337.entry.js → p-b09ed8fd.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b14af97c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a9b8c730.entry.js → p-b3fd4623.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-782c1b84.entry.js → p-b4a578d1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b4e0bdda.entry.js +1 -0
- 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-bb8382c8.entry.js +1 -0
- package/dist/genesys-webcomponents/p-bc151fdb.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d2012304.entry.js → p-bf3640cf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c27e3e55.entry.js → p-c1253f5b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9be45fa0.entry.js → p-c183e212.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c2352a62.entry.js +1 -0
- 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-f6f9039b.entry.js → p-c7a90b16.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c88906c4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7a24829d.entry.js → p-c9788b0b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ca39b814.entry.js +1 -0
- package/dist/genesys-webcomponents/p-cae769d3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f6913d5e.entry.js → p-cefecb77.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5229c638.entry.js → p-e121f417.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c94a287d.entry.js → p-e653b8d2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-41617814.entry.js → p-e93b4a73.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e9803c6d.entry.js +1 -0
- package/dist/genesys-webcomponents/p-ea3298b3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3fc64f89.entry.js → p-eba5e8e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ed724d66.js +2 -0
- package/dist/genesys-webcomponents/p-ee2ab42a.entry.js +1 -0
- package/dist/genesys-webcomponents/p-f0ad551b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-f1d85fd3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-83f26f44.entry.js → p-f34da37c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f3ac7576.entry.js +1 -0
- 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 +6 -6
- 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 +6 -6
- 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
@@ -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-3c614740.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}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as o,h as s,g as i}from"./p-
|
1
|
+
import{r as t,c as o,h as s,g as i}from"./p-ed724d66.js";import{a as e,c as r,o as a,f as p,s as h,b as n}from"./p-a5937ee9.js";import{O as d}from"./p-8c362857.js";import{t as c}from"./p-3c614740.js";import{f as l}from"./p-5d7d5695.js";const u=class{constructor(s){t(this,s),this.guxdismiss=o(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.isOpen=!1}checkForClickOutside(t){const o=t.composedPath(),s=l(this.root,this.for),i=o.includes(s);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||i||this.dismiss()}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=e(l(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=l(this.root,this.for);this.popupElement&&r(t,this.popupElement,{placement:this.position,middleware:[a(7),p(),h(),n({element:this.arrowElement,padding:16})]}).then((({x:t,y:o,middlewareData:s,placement:i})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${o}px`});const e={top:"bottom",right:"left",bottom:"top",left:"right"}[i.split("-")[0]];if(s.arrow){const{x:t,y:o}=s.arrow;this.popupElement.setAttribute("data-placement",i),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=o?`${o}px`:"",right:"",bottom:"",[e]:"-6.5px",transform:"rotate(45deg)"})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){c(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return s("div",{ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},s("div",{ref:t=>this.arrowElement=t,class:"gux-arrow"}),this.displayDismissButton&&s("gux-dismiss-button",{onClick:this.dismiss.bind(this)}),s("div",{class:"gux-popover-content"},s("slot",null)))}get root(){return i(this)}};(function(t,o,s,i){var e,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,o,s,i);else for(var p=t.length-1;p>=0;p--)(e=t[p])&&(a=(r<3?e(a):r>3?e(o,s,a):e(o,s))||a);r>3&&a&&Object.defineProperty(o,s,a)})([d({triggerEvents:"mousedown"})],u.prototype,"checkForClickOutside",null),u.style=".gux-popover-wrapper{position:absolute;top:0;left:0;z-index:var(--gux-zindex-popover, 2);display:inline-block;padding:8px 0;background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow-x) var(--gse-ui-popover-boxShadow-y) var(--gse-ui-popover-boxShadow-blur) var(--gse-ui-popover-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;width:var(--gse-ui-popover-anchor-width);height:var(--gse-ui-popover-anchor-width);background:var(--gse-ui-popover-backgroundColor)}";export{u as gux_popover_list}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as i,h as o,g as s}from"./p-
|
1
|
+
import{r as t,c as i,h as o,g as s}from"./p-ed724d66.js";import{O as n}from"./p-8c362857.js";import{w as e}from"./p-8b703092.js";import{a}from"./p-ffaadf62.js";import{t as r}from"./p-3c614740.js";import{b as c}from"./p-52e27c60.js";import"./p-0962dd7a.js";const u={moreOptions:"More options"},h=["primary","secondary","tertiary","danger"];function d(t){return h.find((i=>i===t))?t:"secondary"}const l=class{constructor(o){t(this,o),this.open=i(this,"open",7),this.close=i(this,"close",7),this.actionClick=i(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const i=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,i.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":i.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():this.close.emit()}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){a((()=>{this.listElement.focus&&this.listElement.focus()}))}focusFirstItemInPopupList(){a((()=>{this.listElement.guxFocusFirstItem()}))}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}onListClick(t){e("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}async componentWillLoad(){r(this.root,{variant:this.type}),this.i18n=await c(this.root,u)}render(){return o("div",{class:"gux-action-button-container"},o("gux-popup",{expanded:this.isOpen,disabled:this.disabled,"exceed-target-width":!0},o("div",{slot:"target",class:"gux-action-button-container"},o("gux-button-slot",{class:"gux-action-button",accent:d(this.accent)},o("button",{type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick()},o("slot",{name:"title"}))),o("gux-button-slot",{class:"gux-dropdown-button",accent:d(this.accent)},o("button",{type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("moreOptions")},o("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),o("div",{class:"gux-list-container",slot:"popup"},o("gux-list",{onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},o("slot",null)))))}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,i,o,s){var n,e=arguments.length,a=e<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,o,s);else for(var r=t.length-1;r>=0;r--)(n=t[r])&&(a=(e<3?n(a):e>3?n(i,o,a):n(i,o))||a);e>3&&a&&Object.defineProperty(i,o,a)})([n({triggerEvents:"click"})],l.prototype,"onClickOutside",null),l.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-action-button-container{min-width:128px}.gux-action-button-container>*{vertical-align:middle}.gux-action-button-container .gux-action-button{width:calc(100% - 33px);margin-right:1px}.gux-action-button-container .gux-action-button button{width:100%;max-width:none;text-align:center;border-top-right-radius:0;border-bottom-right-radius:0}.gux-action-button-container .gux-dropdown-button button{width:32px;padding:0;border-top-left-radius:0;border-bottom-left-radius:0}.gux-action-button-container .gux-dropdown-button button gux-icon{width:16px;height:16px}.gux-action-button-container .gux-list-container{max-width:220px;padding:var(--gux-spacing-xs) 0;margin:0;list-style:none;background-color:var(--gse-ui-menu-wrapper-backgroundColor);border:1px solid var(--gse-ui-menu-wrapper-border);border-radius:4px;box-shadow:0 4px 6px 1px rgba(35, 57, 92, 0.12)}";export{l as gux_action_button}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as o,h as i,g as e}from"./p-ed724d66.js";import{t as r}from"./p-3c614740.js";import{b as t}from"./p-52e27c60.js";import"./p-0962dd7a.js";const c={clickToCopy:"Click to Copy",enterToCopy:"Press Enter to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},a=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}onFocus(){this.copyButton.matches(":focus-visible")&&(this.tooltipContent="enterToCopy")}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"badge-x";case"copySuccess":return"badge-check"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){r(this.root),this.i18n=await t(this.root,c)}render(){return i("button",{class:"gux-copy-to-clipboard-wrapper",ref:o=>this.copyButton=o,onClick:this.onCopyToClipboard.bind(this)},i("div",{class:"gux-copy-content"},i("slot",{name:"content"}),i("gux-icon",{"icon-name":"copy",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};a.style="button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;align-items:inherit;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name=copy]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name=copy]{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding);margin-left:var(--gse-ui-copyToClipboard-contentContainer-gap);visibility:hidden;background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name=copy]{visibility:visible}.gux-copy-to-clipboard-wrapper gux-tooltip{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper gux-tooltip .gux-tooltip-content>*{vertical-align:middle}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name=badge-check]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name=badge-x]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}";export{a as gux_copy_to_clipboard}
|
@@ -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-3c614740.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}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as o,g as t}from"./p-ed724d66.js";import{g as r}from"./p-0962dd7a.js";import{g as n}from"./p-dd53013c.js";import{h as i}from"./p-324b23f3.js";const s=class{constructor(o){e(this,o),this.value=void 0,this.selected=!1,this.disabled=!1,this.iconOnly=!1,this.position=void 0}onClick(e){this.disabled&&e.stopPropagation()}isInStartPosition(e){const o=r("gux-segmented-control-beta",e);return 0===Array.from(o.children).findIndex((o=>o===e))}isInEndPosition(e){const o=r("gux-segmented-control-beta",e),t=Array.from(o.children);return t.findIndex((o=>o===e))===t.length-1}renderTooltip(){if(this.iconOnly)return o("gux-tooltip",null,n(this.root,"text"))}renderIconSlot(){if(i(this.root,"icon"))return o("div",{class:{"gux-icon":!0,"gux-icon-only":this.iconOnly}},o("slot",{name:"icon"}))}render(){return o("div",{class:{"gux-container":!0,"gux-start":this.isInStartPosition(this.root),"gux-end":this.isInEndPosition(this.root)}},o("button",{class:{"gux-segmented-control-item":!0,"gux-icon-only":this.iconOnly,"gux-selected":this.selected},type:"button",disabled:this.disabled},this.renderIconSlot(),o("div",{class:{"gux-text":!0,"gux-icon-only":this.iconOnly}},o("slot",{name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return t(this)}};s.style="button{all:unset}.gux-container{height:var(--gse-ui-segmentedControl-height);border-color:#a3a7b0;border-style:var(--gse-ui-segmentedControl-border-style);border-width:var(--gse-ui-segmentedControl-border-width);border-right:none;border-left-color:var(--gse-ui-segmentedControl-button-active-backgroundColor);border-radius:var(--gse-ui-segmentedControl-button-middle-borderRadius)}.gux-container.gux-start{border-left-color:#a3a7b0;border-radius:var(--gse-ui-segmentedControl-button-start-borderRadius)}.gux-container.gux-end{border-right:var(--gse-ui-segmentedControl-border-width) var(--gse-ui-segmentedControl-border-style) #a3a7b0;border-radius:var(--gse-ui-segmentedControl-button-end-borderRadius)}.gux-container.gux-start.gux-end{border-radius:4px}.gux-container .gux-segmented-control-item{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-segmentedControl-button-gap);align-content:stretch;align-items:center;justify-content:flex-start;height:100%;padding:var(--gse-ui-segmentedControl-button-padding);color:var(--gse-ui-segmentedControl-button-default-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-default-backgroundColor)}.gux-container .gux-segmented-control-item.gux-icon-only{padding:0 8px}.gux-container .gux-segmented-control-item.gux-icon-only .gux-text.gux-icon-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-container .gux-segmented-control-item:hover{color:var(--gse-ui-segmentedControl-button-hover-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-hover-backgroundColor)}.gux-container .gux-segmented-control-item[disabled]{color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor);pointer-events:none;background-color:var(--gse-ui-segmentedControl-button-disabled-backgroundColor);opacity:var(--gse-ui-segmentedControl-button-disabled-opacity)}.gux-container .gux-segmented-control-item.gux-selected{color:var(--gse-ui-segmentedControl-button-active-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-active-backgroundColor);border-color:var(--gse-ui-segmentedControl-button-active-backgroundColor)}.gux-container .gux-segmented-control-item:focus-visible{position:relative;z-index:1;border-radius:var(--gse-ui-segmentedControl-borderRadius);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);outline-offset:0}.gux-container .gux-segmented-control-item .gux-icon slot[name=icon]::slotted(gux-icon){width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}";export{s as gux_segmented_control_item}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,c as t,f as n,h as s,g as o}from"./p-
|
1
|
+
import{r as e,c as t,f as n,h as s,g as o}from"./p-ed724d66.js";import{b as r}from"./p-52e27c60.js";import{t as a}from"./p-3c614740.js";import{g as c,s as i,a as h,b as l,c as u,d,e as p,f as m,h as g}from"./p-a285abaf.js";import"./p-0962dd7a.js";import"./p-7b08c759.js";import"./p-373c5d93.js";const x={search:"Search column",searchResults:"search results",selectedColumnCount:"{count}/{total} Columns Selected",selectAllColumnsScreenReader:"{count} of {total} columns selected: check checkbox to select all {total} columns",unselectAllColumnsScreenReader:"{count} of {total} columns selected: uncheck checkbox to unselect all {total} columns",movePositionPrompt:"Press space or enter to move the {columnName} column to position {newPositionNumber} from position {oldPositionNumber}.",reorderingModeActive:"Reordering mode active. Reposition the {columnName} column using the up arrow key, the down arrow key, the home key and the end key. Press Escape to deactivate reordering mode."},b=class{constructor(n){e(this,n),this.guxorderchange=t(this,"guxorderchange",7),this.highlightResults={matchCount:0,currentMatch:0},this.keyboardOrderChange=c()}watchKeyboardOrderChange(){i(this.root,this.keyboardOrderChange)}async componentWillLoad(){a(this.root),this.i18n=await r(this.root,x)}componentDidLoad(){h(this.root,this.mainCheckboxElement)}handleInternalorderchange(e){e.stopPropagation(),this.emitOrderChange(e.detail)}emitOrderChange(e){const{oldIndex:t,newIndex:n}=e;if(t!==n){const t=l(this.root,e);this.guxorderchange.emit(t)}}handleInternalkeyboardorderstart(e){e.stopPropagation();const t=e.detail,n=u(e.target);this.keyboardOrderChange={oldIndex:n,newIndex:n},this.announceElement.guxAnnounce(this.i18n("reorderingModeActive",{columnName:t}))}handleInternalkeyboardreordermove(e){e.stopPropagation();const{delta:t,column:n}=e.detail;this.keyboardOrderChange=d(this.root,this.keyboardOrderChange,t),this.announceElement.guxAnnounce(this.i18n("movePositionPrompt",{columnName:n,newPositionNumber:this.keyboardOrderChange.newIndex+1,oldPositionNumber:this.keyboardOrderChange.oldIndex+1}))}handleInternalkeyboarddoreorder(e){e.stopPropagation(),this.emitOrderChange(this.keyboardOrderChange),e.target.guxFocus()}handleInternalkeyboardorderfinish(e){e.stopPropagation(),this.keyboardOrderChange=c()}onSearchInput(){this.highlightResults=p(this.root,this.searchElement)}onGuxCurrentMatchChanged(e){this.highlightResults=p(this.root,this.searchElement,e.detail)}onMainCheckboxChange(){m(this.root,this.mainCheckboxElement.checked),n(this.root)}onListChange(){h(this.root,this.mainCheckboxElement),n(this.root)}onSlotChange(){this.onListChange()}renderSelectedColumnCount(){const{count:e,total:t}=g(this.root);return s("div",null,s("span",{"aria-hidden":"true"},this.i18n("selectedColumnCount",{count:e,total:t})),s("span",{class:"gux-sr-only"},s("span",null,": ",this.i18n(e===t?"unselectAllColumnsScreenReader":"selectAllColumnsScreenReader",{count:e,total:t}))))}render(){return s("div",{class:"gux-container"},s("div",{class:"gux-sr-only","aria-live":"polite"},`${this.highlightResults.matchCount} ${this.i18n("searchResults")}`),s("div",{class:"gux-search"},s("gux-content-search",{"match-count":this.highlightResults.matchCount,"current-match":this.highlightResults.currentMatch,onGuxcurrentmatchchanged:e=>this.onGuxCurrentMatchChanged(e)},s("input",{type:"search",placeholder:this.i18n("search"),onInput:()=>this.onSearchInput(),ref:e=>this.searchElement=e}))),s("div",{class:"gux-select"},s("gux-form-field-checkbox",null,s("input",{slot:"input",type:"checkbox",ref:e=>this.mainCheckboxElement=e,onChange:()=>this.onMainCheckboxChange()}),s("label",{slot:"label"},this.renderSelectedColumnCount()))),s("div",{class:"gux-list",onChange:()=>this.onListChange()},s("slot",{onSlotchange:()=>this.onSlotChange()})),s("gux-announce-beta",{ref:e=>this.announceElement=e}))}get root(){return o(this)}static get watchers(){return{keyboardOrderChange:["watchKeyboardOrderChange"]}}};b.style=".gux-container{width:320px;min-width:320px}.gux-container .gux-search gux-content-search{width:100%}.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-decoration,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-cancel-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-decoration{display:none;-webkit-appearance:none}.gux-container .gux-select{padding:8px 0 8px 16px;margin:4px 0;color:#596373;background-color:#f6f7f9;border-radius:4px}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{b as gux_column_manager}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as o,h as r,H as e}from"./p-
|
1
|
+
import{r as o,h as r,H as e}from"./p-ed724d66.js";const u=class{constructor(r){o(this,r)}render(){return r(e,{role:"menu"},r("slot",null),r("div",{class:"gux-arrow","data-popper-arrow":!0}))}};u.style='gux-menu{flex-direction:column;width:fit-content;padding:var(--gse-ui-flyoutMenu-padding);background-color:var(--gse-ui-flyoutMenu-backgroundColor);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-menu .gux-arrow,gux-menu .gux-arrow::before{position:absolute;top:-3px;width:10px;height:10px;background:inherit}gux-menu .gux-arrow::before{visibility:visible;content:"";border-top:1px solid #b4bccb;border-left:1px solid #b4bccb;transform:rotate(45deg)}';export{u as gux_menu}
|
@@ -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-3c614740.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}
|
@@ -1 +1 @@
|
|
1
|
-
const t="4.0.0-beta.
|
1
|
+
const t="4.0.0-beta.37",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}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as e,H as o,g as a}from"./p-ed724d66.js";import{t as n}from"./p-3c614740.js";const i=class{constructor(e){t(this,e)}componentWillLoad(){n(this.root)}render(){return e(o,null,e("div",{class:"gux-header"},e("div",{class:"gux-icon"},e("slot",{name:"icon"})),e("div",{class:"gux-title"},e("slot",{name:"title"}))),e("div",{class:"gux-message"},e("slot",{name:"message"})),e("div",{class:"gux-action-buttons"},e("div",{class:"gux-positive-button"},e("slot",{name:"positive-button"})),e("div",{class:"gux-negative-button"},e("slot",{name:"negative-button"}))))}get root(){return a(this)}};i.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start;width:270px;padding:20px 24px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0;font-family:var(--gse-core-fontFamily-heading), var(--gse-core-fontFamily-body), sans-serif;font-size:var(--gse-core-fontSize-lg);font-weight:var(--gse-core-fontWeight-semiBold);line-height:var(--gse-lineHeight-md)}.gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:#1da8b3}.gux-header .gux-icon ::slotted(gux-icon){width:32px !important;height:32px !important}.gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}.gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;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)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:space-between;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:space-between;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}";export{i as gux_action_toast_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{g as n}from"./p-
|
1
|
+
import{g as n}from"./p-ed724d66.js";function t(){return(t,e)=>{const{connectedCallback:i,disconnectedCallback:s}=t,c=new Map;t.connectedCallback=function(){const t=new ResizeObserver(this[e].bind(this));return function(t,e,i){t.has(e)&&t.get(e).disconnect(),t.set(e,i),i.observe(n(e))}(c,this,t),i&&i.call(this)},t.disconnectedCallback=function(){return function(n,t){n.has(t)&&n.get(t).disconnect(),n.delete(t)}(c,this),s&&s.call(this)}}}export{t as O}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as e,g as i}from"./p-
|
1
|
+
import{r as t,h as e,g as i}from"./p-ed724d66.js";import{a as o}from"./p-9d734bbd.js";import{O as s}from"./p-8801741a.js";import{a as n}from"./p-ffaadf62.js";const r=class{constructor(e){t(this,e),this.hasTooltip=!1,this.showTooltip=!1,this.iconOnly=!1,this.titleName=""}onmouseenter(t){t.buttons||(this.showTooltip=!0)}onmouseleave(){this.showTooltip=!1}onmousedown(){this.showTooltip=!1}async setShowTooltip(){this.tooltipElement&&(this.showTooltip=!0,await this.tooltipElement.showTooltip())}async setHideTooltip(){this.tooltipElement&&(this.showTooltip=!1,await this.tooltipElement.hideTooltip())}onMutation(){this.titleName=this.setTooltipTitleText(),this.checkForTooltipHideOrShow(),n((()=>{this.checkForTooltipHideOrShow()}),500)}componentWillLoad(){this.titleName=this.setTooltipTitleText()}componentDidLoad(){this.logWarnNoIconSrText()}logWarnNoIconSrText(){this.iconOnly&&!this.titleName&&o(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip.")}addIconDecorative(){this.root.classList.add("gux-tooltip-icon-decorative")}getTitleElements(){var t;const e=this.root.querySelector("slot"),i=null===(t=this.root.querySelector(".gux-title-container span"))||void 0===t?void 0:t.children;return e?e.assignedElements():i?Array.from(i):[]}getTitleTextContent(){return this.root.querySelector("slot")?this.root.querySelector("slot").assignedNodes().map((t=>t.textContent)).join("").trim():this.root.querySelector(".gux-title-container")?this.root.querySelector(".gux-title-container").textContent.trim():""}setTooltipTitleText(){let t=this.getTitleTextContent();return this.getTitleElements().forEach((e=>{"GUX-ICON"!==e.tagName||this.getTitleTextContent()?"GUX-ICON"===e.tagName&&this.getTitleTextContent()&&this.addIconDecorative():(this.iconOnly=!0,t=e.getAttribute("screenreader-text"))})),t}checkForTooltipHideOrShow(){const t=this.root.querySelector(".gux-title-container");this.root.classList.remove("gux-overflow-hidden"),this.iconOnly&&this.titleName?this.hasTooltip=!0:(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)?(this.root.classList.add("gux-overflow-hidden"),this.hasTooltip=!0):this.hasTooltip=!1}render(){return[e("span",{class:"gux-title-container"},e("slot",null)),this.renderTooltip()]}renderTooltip(){if(this.hasTooltip)return e("gux-tooltip",{"aria-hidden":"true",ref:t=>this.tooltipElement=t,hidden:!this.showTooltip},this.titleName)}get root(){return i(this)}};(function(t,e,i,o){var s,n=arguments.length,r=n<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 l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)})([s({childList:!0,subtree:!0,characterData:!0})],r.prototype,"onMutation",null),r.style="gux-tooltip-title{overflow:hidden}gux-tooltip{font-weight:normal;line-height:normal;text-align:left;overflow-wrap:break-word;white-space:normal}.gux-overflow-hidden .gux-title-container ::slotted(span){overflow:hidden;text-overflow:ellipsis}.gux-overflow-hidden .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}.gux-title-container{display:flex;pointer-events:none}.gux-tooltip-icon-decorative .gux-title-container{position:relative;margin-left:20px}.gux-tooltip-icon-decorative .gux-title-container gux-icon,.gux-tooltip-icon-decorative .gux-title-container ::slotted(gux-icon){position:absolute;left:-20px;flex-shrink:0;width:16px}";export{r as gux_tooltip_title}
|
@@ -1 +1 @@
|
|
1
|
-
import{r,h as e,g as i}from"./p-
|
1
|
+
import{r,h as e,g as i}from"./p-ed724d66.js";import{b as o}from"./p-52e27c60.js";import{t as a}from"./p-3c614740.js";import"./p-0962dd7a.js";const t={info:"Information alert with message",success:"Success alert with message",warning:"Warning alert with message",error:"Error alert with message"},s=class{constructor(e){r(this,e),this.accent="info"}getIcon(r){switch(r){case"info":default:return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid"}}async componentWillLoad(){a(this.root,{variant:this.accent}),this.i18n=await o(this.root,t)}render(){return e("div",{class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("gux-icon",{"icon-name":this.getIcon(this.accent),decorative:!0}),e("div",{class:"gux-message-wrapper"},e("div",{class:"gux-sr-only"},this.i18n(this.accent)),e("slot",null)))}get root(){return i(this)}};s.style=":host{display:block}.gux-inline-alert{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-alert-gap);align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);margin-top:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;gap:var(--gse-ui-alert-gap);align-items:center;justify-content:flex-start;font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}";export{s as gux_inline_alert}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as i,h as e}from"./p-
|
1
|
+
import{r as t,c as i,h as e}from"./p-ed724d66.js";import{a as s,c as n,o as a,f as o,d as p,s as d,h as r}from"./p-a5937ee9.js";const h=class{constructor(e){t(this,e),this.internalexpanded=i(this,"internalexpanded",7),this.internalcollapsed=i(this,"internalcollapsed",7),this.expanded=!1,this.disabled=!1,this.exceedTargetWidth=!1}runUpdatePosition(){this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const t=this.exceedTargetWidth;n(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:"bottom-start",middleware:[a(2),o(),p({apply({rects:i,elements:e}){Object.assign(e.floating.style,t?{minWidth:`${i.reference.width}px`}:{width:`${i.reference.width}px`,overflow:"hidden"})}}),d(),r()]}).then((({x:t,y:i,middlewareData:e})=>{const{referenceHidden:s}=e.hide;Object.assign(this.popupElementContainer.style,{left:`${t}px`,top:`${i}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(t){t?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return e("div",{class:{"gux-target-container":!0,"gux-disabled":this.disabled},ref:t=>this.targetElementContainer=t},e("slot",{name:"target"}),e("div",{class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:t=>this.popupElementContainer=t},e("slot",{name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};h.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gux-zindex-popup, 1);width:max-content;visibility:hidden;background-color:white}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{h as gux_popup}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,c as o,h as e,H as r,g as i}from"./p-ed724d66.js";import{b as n}from"./p-52e27c60.js";import{c as s}from"./p-a285abaf.js";import"./p-0962dd7a.js";import"./p-7b08c759.js";import"./p-373c5d93.js";const a={activateReordering:"Activate reordering mode for {columnName} column"},c=class{constructor(e){t(this,e),this.internal_order_change=o(this,"internal_order_change",7),this.internal_keyboard_reorder_start=o(this,"internal_keyboard_reorder_start",7),this.internal_keyboard_reorder_move=o(this,"internal_keyboard_reorder_move",7),this.internal_keyboard_reorder_emit=o(this,"internal_keyboard_reorder_emit",7),this.internal_keyboard_reorder_finish=o(this,"internal_keyboard_reorder_finish",7),this.orderId=void 0,this.highlightActive=void 0,this.highlight=void 0,this.text=void 0,this.pendingReorder="none",this.isDragging=!1,this.isReordering=!1}async guxSetHighlight(t="",o=!1){this.highlight=t,this.highlightActive=o}async guxFocus(){this.reorderButtonElement.focus()}onBlur(){this.setReorderMode(!1)}onDragStart(t){this.isDragging=!0;const o=s(this.root);t.dataTransfer.setData("oldIndex",String(o)),t.dataTransfer.effectAllowed="move"}onDragEnter(t){t.dataTransfer.dropEffect="move",this.pendingReorder=this.mouseOnTopHalf(t)?"above":"below"}onDragOver(t){t.preventDefault(),this.pendingReorder=this.mouseOnTopHalf(t)?"above":"below"}onDragLeave(){this.pendingReorder="none"}onDragEnd(){this.isDragging=!1}onDrop(t){const o=Number(t.dataTransfer.getData("oldIndex")),e=s(this.root);t.stopPropagation(),t.stopImmediatePropagation(),this.pendingReorder="none";const r=function(t,o,e){return t<o?e?o-1:o:e?o:o+1}(o,e,this.mouseOnTopHalf(t));return this.internal_order_change.emit({oldIndex:o,newIndex:r}),!1}mouseOnTopHalf(t){const o=this.root.getBoundingClientRect();return t.clientY-o.top<=(o.bottom-o.top)/2}onSlotChange(){this.text=this.root.querySelector("gux-form-field-checkbox label").textContent}setReorderMode(t,o=!1){this.isReordering!==t&&(this.isReordering=t,t?this.internal_keyboard_reorder_start.emit(this.text):(o&&this.internal_keyboard_reorder_emit.emit(),this.internal_keyboard_reorder_finish.emit()))}toggleReorderMode(){this.setReorderMode(!this.isReordering,!0)}keyboardReorder(t){if(this.isReordering)switch(t.key){case"ArrowUp":t.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1,column:this.text});break;case"ArrowDown":t.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1,column:this.text});break;case"Home":t.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1/0,column:this.text});break;case"End":t.preventDefault(),console.log("End"),this.internal_keyboard_reorder_move.emit({delta:1/0,column:this.text});break;case"Escape":t.preventDefault(),this.setReorderMode(!1)}}async componentWillLoad(){this.i18n=await n(this.root,a)}render(){return e(r,{draggable:"true"},e("div",{class:{"gux-container":!0,[`gux-drop-${this.pendingReorder}`]:!0,"gux-dragging":this.isDragging}},e("button",{class:{"gux-reorder":!0,"gux-reordering":this.isReordering},type:"button",onClick:()=>this.toggleReorderMode(),onKeyDown:t=>this.keyboardReorder(t),ref:t=>this.reorderButtonElement=t},e("gux-icon",{"icon-name":"grab-vertical",decorative:!0}),e("span",{class:"gux-sr-only"},this.i18n("activateReordering",{columnName:this.text}))),e("div",{class:"gux-select"},e("slot",{onSlotchange:()=>this.onSlotChange()}),e("gux-text-highlight",{highlight:this.highlight,text:this.text,strategy:"contains",dimmed:!this.highlightActive}))))}get root(){return i(this)}};c.style=":host([gs-reorder-indicator=above]) .gux-container{border-top-color:#aac9ff}:host([gs-reorder-indicator=below]) .gux-container{border-bottom-color:#aac9ff}.gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;margin-bottom:-2px;border-top:2px solid transparent;border-bottom:2px solid transparent}.gux-container.gux-drop-above{border-top-color:#aac9ff}.gux-container.gux-drop-below{border-bottom-color:#aac9ff}.gux-container.gux-dragging{border-top-color:transparent;border-bottom-color:transparent;opacity:0.4}.gux-container .gux-reorder{all:unset;flex:0 1 auto;align-self:auto;order:0;margin-right:4px;color:#596373;cursor:grab;border-radius:4px}.gux-container .gux-reorder.gux-reordering:focus-visible gux-icon{color:#2a60c8}.gux-container .gux-reorder:active{pointer-events:none;cursor:grabbing !important}.gux-container .gux-reorder:hover,.gux-container .gux-reorder:focus-visible{outline:var(--gse-semantic-focusRing-small-border-color) var(--gse-semantic-focusRing-small-border-style) var(--gse-semantic-focusRing-small-border-width)}.gux-container .gux-reorder:hover gux-icon,.gux-container .gux-reorder:focus-visible gux-icon{color:#2a60c8}.gux-container .gux-select{position:relative;flex:1 1 auto;align-self:auto;order:1}.gux-container .gux-select gux-text-highlight{position:absolute;top:2px;left:24px;pointer-events:none}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{c as gux_column_manager_item}
|
@@ -1 +1 @@
|
|
1
|
-
import{a as t,r as i,h as e,g as s}from"./p-
|
1
|
+
import{a as t,r as i,h as e,g as s}from"./p-ed724d66.js";import{t as r}from"./p-3c614740.js";import{l as n}from"./p-9d734bbd.js";const a=new Map;async function o(i="unknown"){const e=function(t){return t.replace("/","-")}(i);if(a.has(e))return a.get(e);const s=async function(i){const e=await fetch(t(`./icons/${i}.svg`));if(200===e.status)return e.text();throw new Error(`[gux-icon] fetching failed for icon "${i}" with status "${e.statusText} (${e.status})".`)}(i).then((t=>t)).catch((t=>(setTimeout((()=>{throw t}),0),o("unknown"))));return a.set(e,s),s}const h=class{constructor(t){i(this,t),this.iconName=void 0,this.decorative=!1,this.screenreaderText="",this.svgHtml=void 0}async prepIcon(t){this.baseSvgHtml=await o(t),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}watchDecorative(t){this.validateProps(t,this.screenreaderText),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}watchScreenreaderText(t){this.validateProps(this.decorative,t),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}async componentWillLoad(){r(this.root,{variant:this.iconName}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(t,i){this.root.isConnected&&(t||i||n(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(t){const i=(new DOMParser).parseFromString(t,"image/svg+xml").firstChild;return i.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?i.setAttribute("aria-label",this.screenreaderText):i.removeAttribute("aria-label"),i.outerHTML}render(){return this.svgHtml&&e("div",{class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return s(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};h.style=":host{display:inline-flex;width:1em;height:1em}.gux-icon-container{display:flex;align-items:center;justify-content:center;width:100%}.gux-icon-container svg{width:100%;max-width:100%;height:100%;max-height:100%;fill:currentcolor}";export{h as gux_icon}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{h as r,r as a,g as e}from"./p-ed724d66.js";import{b as s}from"./p-52e27c60.js";import{t}from"./p-3c614740.js";import"./p-0962dd7a.js";const o=({context:a="modal",screenreaderText:e})=>{let s=48,t=22;return"input"===a&&(s=16,t=7),r("div",{class:`gux-${a}`,role:"progressbar","aria-label":e},r("svg",{class:"gux-svg-container",viewBox:`0 0 ${s} ${s}`,role:"presentation"},r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-static-circle"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle","stroke-linecap":"round"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle-mask","stroke-linecap":"round"})))},n={loading:"Loading"},i=class{constructor(r){a(this,r),this.context="modal",this.screenreaderText=""}async componentWillLoad(){t(this.root,{variant:this.context}),this.getI18nValue=await s(this.root,n)}render(){return r(o,{context:this.context,screenreaderText:this.screenreaderText||this.getI18nValue("loading")})}get root(){return e(this)}};i.style="@keyframes largeSpin{0%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}7.5%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}20%{stroke-dasharray:1 68.115038379;transform:rotate(90deg)}30%{stroke-dasharray:34.5575191895;transform:rotate(180deg)}40%{stroke-dasharray:34.5575191895}50%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}57.5%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}70%{stroke-dasharray:34.5575191895;transform:rotate(540deg)}80%{stroke-dasharray:34.5575191895;transform:rotate(630deg)}90%{stroke-dasharray:34.5575191895}100%{stroke-dasharray:1 68.115038379;transform:rotate(900deg)}}@keyframes smallSpin{0%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}7.5%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}20%{stroke-dasharray:1 20.9911485751;transform:rotate(90deg)}30%{stroke-dasharray:10.9955742876;transform:rotate(180deg)}40%{stroke-dasharray:10.9955742876}50%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}57.5%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}70%{stroke-dasharray:10.9955742876;transform:rotate(540deg)}80%{stroke-dasharray:10.9955742876;transform:rotate(630deg)}90%{stroke-dasharray:10.9955742876}100%{stroke-dasharray:1 20.9911485751;transform:rotate(900deg)}}@keyframes largeThinSpin{0%{stroke-dasharray:1 72.8274273594;transform:rotate(0deg)}7.5%{stroke-dasharray:1 72.8274273594;transform:rotate(0deg)}20%{stroke-dasharray:1 72.8274273594;transform:rotate(90deg)}30%{stroke-dasharray:36.9137136797;transform:rotate(180deg)}40%{stroke-dasharray:36.9137136797}50%{stroke-dasharray:1 72.8274273594;transform:rotate(450deg)}57.5%{stroke-dasharray:1 72.8274273594;transform:rotate(450deg)}70%{stroke-dasharray:36.9137136797;transform:rotate(540deg)}80%{stroke-dasharray:36.9137136797;transform:rotate(630deg)}90%{stroke-dasharray:36.9137136797}100%{stroke-dasharray:1 72.8274273594;transform:rotate(900deg)}}:host{display:inline-block}div[role=progressbar] .gux-svg-container{display:block;width:var(--gse-ui-progressAndLoading-spinner-large);height:var(--gse-ui-progressAndLoading-spinner-large)}div[role=progressbar] .gux-svg-container .gux-dynamic-circle,div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:4;transform-origin:50% 50%;animation-name:largeSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{display:none;stroke:white;stroke-width:3}div[role=progressbar] .gux-svg-container .gux-static-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:4}div[role=progressbar].gux-full-page .gux-svg-container .gux-dynamic-circle-mask{display:initial}div[role=progressbar].gux-full-page .gux-svg-container .gux-static-circle{display:none}div[role=progressbar].gux-input .gux-svg-container{width:var(--gse-ui-progressAndLoading-spinner-small);height:var(--gse-ui-progressAndLoading-spinner-small)}div[role=progressbar].gux-input .gux-svg-container .gux-dynamic-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:2;transform-origin:50% 50%;animation-name:smallSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar].gux-input .gux-svg-container .gux-static-circle{stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:2}";export{i as gux_radial_loading}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as s,H as i,g as o}from"./p-
|
1
|
+
import{r as t,h as s,H as i,g as o}from"./p-ed724d66.js";import{s as h}from"./p-373c5d93.js";import{t as r}from"./p-3c614740.js";const e=class{constructor(s){t(this,s),this.value=void 0,this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,h(this.root,"input"),h(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){r(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{role:"group",class:`gux-${this.layout}`},s("slot",{onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}};e.style=":host{display:flex;align-items:flex-end}";export{e as gux_switch_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as n,g as a}from"./p-
|
1
|
+
import{r as e,h as n,g as a}from"./p-ed724d66.js";import{t as g}from"./p-3c614740.js";const i=class{constructor(n){e(this,n)}componentWillLoad(){g(this.root)}render(){return n("div",{class:"gux-container",role:"alert","aria-live":"assertive"},n("div",{class:"gux-progress"},n("slot",{name:"progress"})),n("div",{class:"gux-primary-message"},n("slot",{name:"primary-message"})),n("div",{class:"gux-additional-guidance"},n("slot",{name:"additional-guidance"})))}get root(){return a(this)}};i.style="/**\n * @prop --gse-progressAndLoading-loadingState-large-header-fontFamily\n * @prop --gse-progressAndLoading-loadingState-large-header-fontWeight\n * @prop --gse-progressAndLoading-loadingState-large-header-lineHeight\n * @prop --gse-progressAndLoading-loadingState-large-header-fontSize\n * @prop --gse-progressAndLoading-loadingState-large-subheader-fontFamily\n * @prop --gse-progressAndLoading-loadingState-large-subheader-fontWeight\n * @prop --gse-progressAndLoading-loadingState-large-subheader-lineHeight\n * @prop --gse-progressAndLoading-loadingState-large-subheader-fontSize\n * @prop --gse-progressAndLoading-loadingState-large-width : TODO https://inindca.atlassian.net/browse/COMUI-2264\n * @prop --gse-progressAndLoading-loadingState-medium-header-fontFamily\n * @prop --gse-progressAndLoading-loadingState-medium-header-fontWeight\n * @prop --gse-progressAndLoading-loadingState-medium-header-lineHeight\n * @prop --gse-progressAndLoading-loadingState-medium-header-fontSize\n * @prop --gse-progressAndLoading-loadingState-medium-subheader-fontFamily\n * @prop --gse-progressAndLoading-loadingState-medium-subheader-fontWeight\n * @prop --gse-progressAndLoading-loadingState-medium-subheader-lineHeight\n * @prop --gse-progressAndLoading-loadingState-medium-subheader-fontSize\n * @prop --gse-progressAndLoading-loadingState-medium-width\n * @prop --gse-progressAndLoading-loadingState-small-header-fontFamily\n * @prop --gse-progressAndLoading-loadingState-small-header-fontWeight\n * @prop --gse-progressAndLoading-loadingState-small-header-lineHeight\n * @prop --gse-progressAndLoading-loadingState-small-header-fontSize\n * @prop --gse-progressAndLoading-loadingState-small-subheader-fontFamily\n * @prop --gse-progressAndLoading-loadingState-small-subheader-fontWeight\n * @prop --gse-progressAndLoading-loadingState-small-subheader-lineHeight\n * @prop --gse-progressAndLoading-loadingState-small-subheader-fontSize\n * @prop --gse-progressAndLoading-loadingState-small-width\n * @prop --gse-progressAndLoading-large-gap\n * @prop --gse-progressAndLoading-large-gapText\n * @prop --gse-progressAndLoading-pageLoading-gap\n * @prop --gse-progressAndLoading-medium-gap\n * @prop --gse-progressAndLoading-medium-gapText\n * @prop --gse-progressAndLoading-small-gap\n * @prop --gse-progressAndLoading-small-gapText\n * @prop --gse-ui-progressAndLoading-textColor\n */\n:host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n color: var(--gse-ui-progressAndLoading-textColor);\n text-align: center;\n}\n\n@container (width > 400px) {\n .gux-container .gux-primary-message {\n margin-top: var(--gse-ui-progressAndLoading-large-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-top: var(--gse-ui-progressAndLoading-large-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight);\n }\n}\n@container (width > 200px) and (width <=400px) {\n .gux-container .gux-primary-message {\n margin-top: var(--gse-ui-progressAndLoading-medium-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-top: var(--gse-ui-progressAndLoading-medium-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight);\n }\n}\n@container (width <=200px) {\n .gux-container .gux-primary-message {\n margin-top: var(--gse-ui-progressAndLoading-small-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-top: var(--gse-ui-progressAndLoading-small-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight);\n }\n}";export{i as gux_loading_message}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as a,h as i,g as e}from"./p-7d26b2e1.js";import{b as n}from"./p-deee079e.js";import{t as o}from"./p-abb9b5f7.js";import{b as s}from"./p-091f51f6.js";import"./p-8a133b9b.js";class r{static displayAllPageButtons(t,a,i){switch(i){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const i=a+1;return{pageNumber:i,display:String(i),current:i===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const i=a+1;return{pageNumber:i,display:String(i),current:i===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const i=[...Array(5).keys()].map((i=>{const e=i+a-4;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...i]}const i=[...Array(3).keys()].map((a=>{const i=a+t-1;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...i,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const i=a+1;return{pageNumber:i,display:String(i),current:i===t}})):a>=4?[...[...Array(1).keys()].map((i=>{const e=i+t;return{pageNumber:e,display:String(e),current:e!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const g=class{constructor(i){t(this,i),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="advanced"}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),s((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,e){return r.displayAllPageButtons(t,a,e).reduce(((t,a)=>t.concat(a.current?i("button",{ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current"},a.display):"..."==a.display?i("gux-pagination-ellipsis-button",{totalPages:this.totalPages}):i("button",{class:"gux-pagination-buttons-list-target",onClick:()=>this.handlePageChange(a.pageNumber)},a.display))),[])}getPageNavigation(){return i("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return i("div",{class:`gux-pagination-buttons-container gux-${this.layout}`},i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot",{accent:"ghost"},i("button",{title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-left"}))),i("gux-button-slot",{accent:"ghost"},i("button",{title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})))),this.getPageNavigation(),i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot",{accent:"ghost"},i("button",{title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),i("gux-button-slot",{accent:"ghost"},i("button",{title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-right"})))))}get root(){return e(this)}};g.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);justify-content:flex-end;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-shrink:0;flex-wrap:nowrap;align-content:stretch;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-items:center;justify-content:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{min-width:28px;min-height:24px;padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);margin:0;background:inherit;border:none;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight)}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current:focus-visible,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:focus-visible{outline:var(--gse-semantic-focusRing-width) solid var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset);border-radius:calc(var(--gse-semantic-focusRing-cornerRadius) - var(--gse-semantic-focusRing-offset))}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{color:var(--gse-ui-button-ghost-default-foregroundColor);cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";const u={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},l=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,u)}getPaginationItemCountsRange(){if(this.totalItems)return i("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return i("div",{class:"gux-pagination-item-counts-container"},i("span",{class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),this.getPaginationItemCountsRange())}get root(){return e(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);white-space:nowrap;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight)}";const p={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},c=class{constructor(i){t(this,i),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,p)}getDropdown(){return i("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},i("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},i("gux-option",{value:"25"},"25"),i("gux-option",{value:"50"},"50"),i("gux-option",{value:"75"},"75"),i("gux-option",{value:"100"},"100")))}render(){return i("div",{class:"gux-pagination-items-per-page-container"},i("div",{class:"gux-pagination-items-per-page-picker"},this.getDropdown()),i("div",{class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return e(this)}};c.style="gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-items:center;justify-content:center}gux-pagination-items-per-page .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}gux-pagination-items-per-page .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{bottom:100%;display:flex;flex-direction:column-reverse}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight)}";export{g as gux_pagination_buttons,l as gux_pagination_item_counts,c as gux_pagination_items_per_page}
|
1
|
+
import{r as t,c as a,h as i,g as e}from"./p-ed724d66.js";import{b as n}from"./p-52e27c60.js";import{t as o}from"./p-c7328d42.js";import{b as s}from"./p-ffaadf62.js";import"./p-0962dd7a.js";class r{static displayAllPageButtons(t,a,i){switch(i){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const i=a+1;return{pageNumber:i,display:String(i),current:i===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const i=a+1;return{pageNumber:i,display:String(i),current:i===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const i=[...Array(5).keys()].map((i=>{const e=i+a-4;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...i]}const i=[...Array(3).keys()].map((a=>{const i=a+t-1;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...i,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const i=a+1;return{pageNumber:i,display:String(i),current:i===t}})):a>=4?[...[...Array(1).keys()].map((i=>{const e=i+t;return{pageNumber:e,display:String(e),current:e!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const g=class{constructor(i){t(this,i),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="advanced"}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),s((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,e){return r.displayAllPageButtons(t,a,e).reduce(((t,a)=>t.concat(a.current?i("button",{ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current"},a.display):"..."==a.display?i("gux-pagination-ellipsis-button",{totalPages:this.totalPages}):i("button",{class:"gux-pagination-buttons-list-target",onClick:()=>this.handlePageChange(a.pageNumber)},a.display))),[])}getPageNavigation(){return i("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return i("div",{class:`gux-pagination-buttons-container gux-${this.layout}`},i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot",{accent:"ghost"},i("button",{title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-left"}))),i("gux-button-slot",{accent:"ghost"},i("button",{title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})))),this.getPageNavigation(),i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot",{accent:"ghost"},i("button",{title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),i("gux-button-slot",{accent:"ghost"},i("button",{title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-right"})))))}get root(){return e(this)}};g.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;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 .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-shrink:0;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:stretch;align-items:center;justify-content:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{min-width:28px;min-height:24px;padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);margin:0;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);background:inherit;border:none}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current:focus-visible,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:focus-visible{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 .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{color:var(--gse-ui-button-ghost-default-foregroundColor);cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";const u={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},l=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,u)}getPaginationItemCountsRange(){if(this.totalItems)return i("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return i("div",{class:"gux-pagination-item-counts-container"},i("span",{class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),this.getPaginationItemCountsRange())}get root(){return e(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);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 p={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},c=class{constructor(i){t(this,i),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,p)}getDropdown(){return i("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},i("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},i("gux-option",{value:"25"},"25"),i("gux-option",{value:"50"},"50"),i("gux-option",{value:"75"},"75"),i("gux-option",{value:"100"},"100")))}render(){return i("div",{class:"gux-pagination-items-per-page-container"},i("div",{class:"gux-pagination-items-per-page-picker"},this.getDropdown()),i("div",{class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return e(this)}};c.style="gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:stretch;align-items:center;justify-content:center}gux-pagination-items-per-page .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}gux-pagination-items-per-page .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{bottom:100%;display:flex;flex-direction:column-reverse}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);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,l as gux_pagination_item_counts,c as gux_pagination_items_per_page}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,c as e,h as i,g as r}from"./p-ed724d66.js";import{a as s,c as a,o as n,f as o}from"./p-a5937ee9.js";import{r as u}from"./p-3ea0d493.js";import{a as d}from"./p-ffaadf62.js";import{f as c,a as l,b as h,c as p}from"./p-533d7842.js";import{O as g}from"./p-8c362857.js";import{t as f}from"./p-3c614740.js";import{b as x}from"./p-52e27c60.js";import"./p-0962dd7a.js";const k={start:"Start",end:"End",date:"Date",toggleCalendar:"Toggle calendar view"};function b(t,e){let i=new Date(e.getTime());return i.setDate(i.getDate()+t),t<0?i.getDate()>e.getDate()&&(i=new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0)):i.getDate()<e.getDate()&&i.setMonth(i.getMonth()-1),i}function m(t,e){const i=new Date(e.valueOf()),r=function(t){let e=t;for(;e<0;)e+=12;return e%=12,e}(i.getMonth()+t);return i.setMonth(r),i.setFullYear(e.getFullYear()),i.getMonth()!==r?m(t,b(-1,e)):i}function v(t,e){const i=t[e];return i&&"/"!==i?i:t[e-1]}function y(t){return t.match(/\W/)[0]}function w(t){const e=y(t);return t.split(e).reduce(((t,e)=>t.concat(e[0])),[])}function C(t,e){return{selectionStart:t.indexOf(e),selectionEnd:t.lastIndexOf(e)+1}}const D=class{constructor(i){t(this,i),this.input=e(this,"input",7),this.yearFormat="yyyy",this.isSelectingRangeWithMouse=!1,this.lastYear=(new Date).getFullYear(),this.startInputId=u("gux-datepicker"),this.endInputId=u("gux-datepicker"),this.value=void 0,this.label="",this.numberOfMonths=1,this.startDayOfWeek=void 0,this.minDate="",this.maxDate="",this.mode="single",this.format="mm/dd/yyyy",this.disabled=!1,this.labelPosition="beside",this.formattedValue="",this.minDateDate=void 0,this.maxDateDate=void 0,this.toFormattedValue="",this.active=!1}watchValue(){this.updateDate()}watchMinDate(t){this.minDateDate=t?c(t):null}watchMaxDate(t){this.maxDateDate=t?c(t):null}watchFormat(t){t.includes("yyyy")||(this.yearFormat="yy"),this.intervalOrder=w(t),this.lastIntervalRange=this.initialIntervalRange}watchActiveCalendar(t){if(!0===t){const t=c(this.value.split("/")[0]);this.calendarElement.resetCalendarView(t)}}onKeyDown(t){if(this.isInputFieldEvent(t))switch(this.focusedField=this.getInputFieldFromEvent(t),t.key){case"Enter":case"Escape":this.focusedField.blur(),this.active=!1;break;case"Tab":break;case"ArrowDown":t.preventDefault(),this.increment(-1),this.setCursorRange();break;case"ArrowUp":t.preventDefault(),this.increment(1),this.setCursorRange();break;case"ArrowLeft":{t.preventDefault();const e=function(t,e){const i=w(t),r=v(t,e.selectionStart),s=i.indexOf(r);return C(t,i[(s+i.length-1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange();break}case"ArrowRight":{t.preventDefault();const e=function(t,e){const i=w(t),r=v(t,e.selectionStart),s=i.indexOf(r);return C(t,i[(s+1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange();break}default:t.preventDefault(),this.isSelectingRangeWithMouse||(this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.updateIntervalValue(t),this.setCursorRange())}else switch(t.key){case"Enter":case"Escape":case" ":{this.active=!1;const t=this.root.shadowRoot.querySelector(".gux-calendar-toggle-button");d((()=>{t.focus()}));break}case"Tab":this.active&&(this.active=!1)}}onMouseDown(t){this.isInputFieldEvent(t)&&(this.isSelectingRangeWithMouse=!0);const e=t.composedPath(),i=e.includes(this.datepickerElement);Array.from(this.root.shadowRoot.querySelectorAll(".gux-calendar-toggle-button")).every((t=>!e.includes(t)))&&(this.active=i)}onClickOutside(){this.active=!1}onInputFocusIn(t){this.focusedField=this.getInputFieldFromEvent(t),this.isSelectingRangeWithMouse||d((()=>this.setRange()))}onInputFocusOut(){this.lastIntervalRange=this.initialIntervalRange}onInputMouseUp(t){t.preventDefault(),this.lastIntervalRange=C(this.format,v(this.format,this.focusedField.selectionStart)),this.setRange(),this.isSelectingRangeWithMouse=!1}isInputFieldEvent(t){const e=t.composedPath();return e.includes(this.inputElement)||e.includes(this.toInputElement)}get initialIntervalRange(){return C(this.format,v(this.format,0))}getInputFieldFromEvent(t){return t.composedPath()[0]}updateIntervalValue(t){const e=parseInt(t.key,10);if(!isNaN(e)){const i=this.focusedField.value.slice(this.focusedField.selectionStart,this.focusedField.selectionEnd);"y"===v(this.format,this.focusedField.selectionStart)&&"yyyy"===this.yearFormat?this.typeYearValue(i,t.key):this.canSetDate(e)?(this.updateSelection(this.focusedField,`${i[1]}${t.key}`),this.setValue()):(this.updateSelection(this.focusedField,`0${t.key}`.replace("00","01")),this.setValue())}}updateSelection(t,e){t.value=t.value.substr(0,this.intervalRange.selectionStart)+e+t.value.substr(this.intervalRange.selectionEnd)}getCalendarLabels(){return function(t,e,i){const r=t.split(",").map((t=>t.trim()));return"range"===e?[r[0]||i[0],r[1]||i[1]]:"range"===e||r[0]?[r[0]]:[i[2]]}(this.label,this.mode,[this.i18n("start"),this.i18n("end"),this.i18n("date")])}stringToDate(t){const e=y(this.format),i=this.format.toLowerCase().split(e),r=t.split(e),s=parseInt(r[i.indexOf(this.yearFormat)],10),a=parseInt(r[i.indexOf("mm")],10)-1,n=parseInt(r[i.indexOf("dd")],10),o=new Date(s,a,n);return"yy"===this.yearFormat&&o.getFullYear()<1970&&this.lastYear>1970&&o.setFullYear(o.getFullYear()+100),o}onCalendarSelect(t){this.value=t.target.value,t.stopPropagation(),this.input.emit(this.value),this.updateDate(),this.inputElement.value=this.formattedValue,"range"===this.mode&&(this.toInputElement.value=this.toFormattedValue),document.activeElement===this.inputElement&&document.activeElement===this.toInputElement||(this.active=!1)}setValue(){if("range"===this.mode){const t=this.stringToDate(this.inputElement.value),e=this.stringToDate(this.toInputElement.value);this.value=l(t,e),this.updateDate(),this.calendarElement.setValue([t,e])}else{const t=this.stringToDate(this.inputElement.value);this.value=h(t),this.updateDate(),this.calendarElement.setValue(t)}this.input.emit(this.value)}setRange(){this.setIntervalRange(this.lastIntervalRange),this.setCursorRange()}typeYearValue(t,e){" "!==t[0]?this.updateSelection(this.focusedField,` ${e}`):(this.updateSelection(this.focusedField,`${t.substr(1)}${e}`),(t.substr(1)+e).includes(" ")||this.setValue())}canSetDate(t){const e=parseInt([this.focusedField.value[this.intervalRange.selectionEnd-1].toString(),t].join(""),10);if(e)switch(v(this.format,this.focusedField.selectionStart)){case"d":{const t=c(this.value);if(e<=new Date(t.getFullYear(),t.getMonth()+1,0).getDate())return!0;break}case"m":if(e<=12)return!0;break;case"y":return!0}return!1}getMapAndRegexFromField(t){const e={dd:`0${t.getDate()}`.slice(-2),mm:`0${t.getMonth()+1}`.slice(-2)};return"yyyy"===this.yearFormat?e.yyyy=t.getFullYear().toString():e.yy=t.getFullYear().toString().slice(-2),{map:e,regexp:new RegExp(Object.keys(e).join("|"),"gi")}}updateDate(){if("range"===this.mode){const[t,e]=p(this.value),{map:i,regexp:r}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(r,(t=>i[t]));const{map:s,regexp:a}=this.getMapAndRegexFromField(e);this.toFormattedValue=this.format.replace(a,(t=>s[t]))}else{const t=c(this.value),{map:e,regexp:i}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(i,(t=>e[t]))}}setCursorRange(){this.intervalRange&&(this.focusedField.setSelectionRange(0,100),this.focusedField.setSelectionRange(this.intervalRange.selectionStart,this.intervalRange.selectionEnd))}toggleCalendar(){this.active=!this.active,this.active&&d((()=>{this.calendarElement.focusPreviewDate()}))}setIntervalRange(t){this.intervalRange=t}getCombinedFocusedDateValue(){return"range"===this.mode?this.getRangeFocusedDateValue():this.getFocusedDateValue()}getFocusedDateValue(){return c(this.value)}getRangeFocusedDateValue(){const[t,e]=p(this.value);return this.focusedField===this.inputElement?t:e}increment(t){const e=v(this.format,this.focusedField.selectionStart),i=this.getCombinedFocusedDateValue();let r;switch(e){case"d":r=b(t,i);break;case"m":r=m(t,i);break;case"y":r=function(t,e){const i=new Date(e.valueOf());return i.setFullYear(e.getFullYear()+t),i}(t,i)}var s,a,n;s=r,a=this.minDateDate,((n=this.maxDateDate)&&n<s||a&&a>s)&&(r=i),this.lastYear=r.getFullYear(),this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.focusedField.value=function(t,e){const i=y(e),r=e.split(i).map((e=>{switch(e[0]){case"d":return function(t){return`0${t.getDate().toString()}`.slice(-2)}(t);case"m":return function(t){return`0${(t.getMonth()+1).toString()}`.slice(-2)}(t);case"y":return function(t,e){return"yyyy"===e?t.getFullYear().toString():t.getFullYear().toString().slice(-2)}(t,e)}})).join(i);return r}(r,this.format),this.setValue()}async componentWillLoad(){if(f(this.root,{variant:this.mode}),this.i18n=await x(this.root,k),this.watchMinDate(this.minDate),this.watchMaxDate(this.maxDate),this.watchFormat(this.format),!this.value){const t=new Date;t.setHours(0,0,0,0),this.value="range"===this.mode?l(t,t):h(t),"range"===this.mode&&this.numberOfMonths<2&&(this.numberOfMonths=2)}this.updateDate()}runUpdatePosition(){this.cleanupUpdatePosition=s(this.datepickerElement,this.calendarElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){a(this.datepickerElement,this.calendarElement,{strategy:"fixed",placement:"bottom-start",middleware:[n({crossAxis:-3}),o({fallbackStrategy:"initialPlacement"})]}).then((({x:t,y:e})=>{Object.assign(this.calendarElement.style,{left:`${t}px`,top:`${e}px`})}))}componentDidUpdate(){this.active?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}renderCalendarToggleButton(){return i("button",{class:"gux-calendar-toggle-button",type:"button",onClick:()=>this.toggleCalendar(),"aria-expanded":this.active.toString(),"aria-label":this.i18n("toggleCalendar"),disabled:this.disabled},i("gux-icon",{decorative:!0,"icon-name":"calendar"}))}renderCalendar(){return i("gux-calendar",{tabIndex:-1,ref:t=>this.calendarElement=t,value:this.value,mode:this.mode,onCalendarSelect:t=>this.onCalendarSelect(t),minDate:this.minDate,maxDate:this.maxDate,numberOfMonths:this.numberOfMonths,startDayOfWeek:this.startDayOfWeek})}renderStartDateField(){return i("div",{class:{"gux-datepicker-field":!0,"gux-above":"above"===this.labelPosition}},i("label",{htmlFor:this.startInputId,class:{"gux-datepicker-field-label":!0,"gux-sr-only":"single"===this.mode&&!this.label}},this.getCalendarLabels()[0]),i("div",{class:"gux-datepicker-field-input"},i("div",{class:"gux-datepicker-field-text-input"},i("input",{id:this.startInputId,type:"text",onClick:t=>this.onInputMouseUp(t),onFocusin:t=>this.onInputFocusIn(t),onFocusout:()=>this.onInputFocusOut(),ref:t=>this.inputElement=t,value:this.formattedValue,disabled:this.disabled}),this.renderCalendarToggleButton()),this.renderCalendar()))}renderEndDateField(){return"single"===this.mode?null:i("div",{class:{"gux-datepicker-field":!0,"gux-above":"above"===this.labelPosition}},i("label",{htmlFor:this.endInputId,class:"gux-datepicker-field-label"},this.getCalendarLabels()[1]),i("div",{class:"gux-datepicker-field-input"},i("div",{class:"gux-datepicker-field-text-input"},i("input",{id:this.endInputId,type:"text",ref:t=>this.toInputElement=t,onMouseUp:t=>this.onInputMouseUp(t),onFocusin:t=>this.onInputFocusIn(t),onFocusout:()=>this.onInputFocusOut(),value:this.toFormattedValue,disabled:this.disabled}),this.renderCalendarToggleButton())))}render(){return i("div",{class:{"gux-datepicker":!0,"gux-active":this.active,"gux-disabled":this.disabled},ref:t=>this.datepickerElement=t},this.renderStartDateField(),this.renderEndDateField())}get root(){return r(this)}static get watchers(){return{value:["watchValue"],minDate:["watchMinDate"],maxDate:["watchMaxDate"],format:["watchFormat"],active:["watchActiveCalendar"]}}};(function(t,e,i,r){var s,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,r);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(n=(a<3?s(n):a>3?s(e,i,n):s(e,i))||n);a>3&&n&&Object.defineProperty(e,i,n)})([g({triggerEvents:"mousedown"})],D.prototype,"onClickOutside",null),D.style=":host{display:block}.gux-datepicker{display:inline-block}.gux-datepicker.gux-disabled{pointer-events:none;cursor:default}.gux-datepicker.gux-disabled .gux-datepicker-field .gux-datepicker-field-input{opacity:var(--gse-ui-datePicker-disabled-opacity)}.gux-datepicker .gux-datepicker-field{display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-content:flex-start;align-items:center;justify-content:flex-start}.gux-datepicker .gux-datepicker-field~.gux-datepicker-field{margin-left:20px}.gux-datepicker .gux-datepicker-field.gux-above{flex-direction:column;align-items:self-start}.gux-datepicker .gux-datepicker-field.gux-above .gux-datepicker-field-input{margin-top:0}.gux-datepicker .gux-datepicker-field.gux-above .gux-datepicker-field-label{margin-right:0}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-label{flex:0 1 auto;align-self:auto;order:0;margin-right:var(--gse-ui-formControl-label-gap);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);align-content:stretch;align-items:center;justify-content:center;width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-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-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input{flex:1 1 auto;align-self:auto;order:0;width:var(--gse-ui-calendarMenu-day-input-width);overflow:hidden;color:var(--gse-ui-formControl-input-populatedColor);border:none;outline:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-cancel-button,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-results-button,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);background:transparent;border:none;border-radius:var(--gse-ui-actionButton-borderRadius);outline:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button: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-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus-visible,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input gux-calendar{position:fixed;z-index:var(--gux-zindex-popup, 1);display:none}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus-visible,.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input gux-calendar{display:block}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{D as gux_datepicker}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as t,g as a}from"./p-ed724d66.js";import{f as n}from"./p-533d7842.js";import{c as r}from"./p-9125cc36.js";import{g as o,a as i,b as d}from"./p-52e27c60.js";import{a as s}from"./p-ffaadf62.js";import{l as u}from"./p-9d734bbd.js";import{s as l}from"./p-373c5d93.js";import"./p-0962dd7a.js";function c(e,t){return r(e.toLocaleDateString(t,{year:"numeric",month:"long"}))}const g={previousMonth:"Previous month: {localizedPreviousMonthAndYear}",nextMonth:"Next month: {localizedNextMonthAndYear}"},h=class{constructor(t){e(this,t),this.locale="en",this.MONTH_DATE_COUNT=42,this.focusedValue=void 0,this.minValue=void 0,this.maxValue=void 0}get slottedInput(){return this.root.querySelector('input[type="date"]')}async componentWillLoad(){this.slottedInput||u(this.root,'You must slot a date input element like so: input[type="date"].'),this.locale=o(this.root);const e=this.slottedInput.getAttribute("start-day-of-week");(null==e?void 0:e.length)&&(this.startDayOfWeek=parseInt(e,10)),this.startDayOfWeek=this.startDayOfWeek||i(this.locale),this.i18n=await d(this.root,g),this.slottedInput.value&&(this.focusedValue=n(this.slottedInput.value)),this.slottedInput.min&&(this.minValue=new Date(this.slottedInput.min),this.minValue.setHours(0,0,0,0)),this.slottedInput.max&&(this.maxValue=new Date(this.slottedInput.max),this.maxValue.setHours(0,0,0,0))}onDateClick(e){this.focusedValue=new Date(e.getTime()),this.slottedInput.value=e.toISOString().substring(0,10),l(this.root,"input")}setDateAfterArrowKeyPress(e,t){e.preventDefault(),this.focusedValue=new Date(this.getFocusedValue().getFullYear(),this.getFocusedValue().getMonth(),this.getFocusedValue().getDate()+t,0,0,0),s((()=>{this.focusDate()}))}focusDate(){const e=this.root.shadowRoot.querySelector(`.gux-content-date[data-date="${this.focusedValue.getTime()}"]`);e&&e.focus()}onKeyDown(e){switch(e.key){case" ":break;case"Enter":e.preventDefault(),this.onDateClick(this.getFocusedValue()),s((()=>{this.focusDate()}));break;case"ArrowDown":this.setDateAfterArrowKeyPress(e,7);break;case"ArrowUp":this.setDateAfterArrowKeyPress(e,-7);break;case"ArrowLeft":this.setDateAfterArrowKeyPress(e,-1);break;case"ArrowRight":this.setDateAfterArrowKeyPress(e,1);break;case"PageUp":e.preventDefault(),this.setNewFocusedMonth(1),s((()=>{this.focusDate()}));break;case"PageDown":e.preventDefault(),this.setNewFocusedMonth(-1),s((()=>{this.focusDate()}))}}getMonthDays(){var e,t;const a=(n=this.getFocusedValue(),new Date(n.getFullYear(),n.getMonth(),1,0,0,0));var n;const r=[];let o={dates:[]},i=0;const d=a.getMonth(),s=this.getSelectedValue(),u=function(e,t,a){const n=new Date(t,e,1,0,0,0,0),r=-1*(a-n.getDay()-7)%7;return new Date(n.getTime()-864e5*r)}(d,new Date(a.getTime()).getFullYear(),this.startDayOfWeek);for(let a=0;a<this.MONTH_DATE_COUNT+1;a+=1){const a=s.getTime()===u.getTime()&&void 0!==this.focusedValue;i>0&&i%7==0&&(r.push(o),o={dates:[]});const n=this.minValue&&u.getTime()<=this.minValue.getTime()||this.maxValue&&u.getTime()>this.maxValue.getTime(),l=(null===(e=this.getFocusedValue())||void 0===e?void 0:e.getTime())===u.getTime()&&(null===(t=this.getFocusedValue())||void 0===t?void 0:t.getTime())!==s.getTime(),c=new Date;o.dates.push({date:new Date(u),disabled:n,inCurrentMonth:d===u.getMonth()&&!n,selected:a&&s,focused:l,isCurrentDate:u.getDate()===c.getDate()&&u.getMonth()===c.getMonth()&&u.getFullYear()===c.getFullYear()}),i+=1,u.setDate(u.getDate()+1)}return r}getFocusedValue(){return this.focusedValue?this.focusedValue:this.getSelectedValue()}changeMonth(e){return new Date(this.getFocusedValue().getFullYear(),this.getFocusedValue().getMonth()+e,1,0,0,0)}setNewFocusedMonth(e){this.focusedValue=this.changeMonth(e)}getSelectedValue(){if(this.slottedInput.value)return n(this.slottedInput.value);const e=new Date;return e.setHours(0,0,0,0),e}renderHeader(){return t("div",{class:"gux-header"},t("button",{type:"button",class:"gux-left","aria-label":this.i18n("previousMonth",{localizedPreviousMonthAndYear:c(this.changeMonth(-1),this.locale)}),onClick:()=>this.setNewFocusedMonth(-1)},t("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})),t("span",{class:"gux-header-month-and-year"},c(this.getFocusedValue(),this.locale)),t("button",{type:"button",class:"gux-right","aria-label":this.i18n("nextMonth",{localizedNextMonthAndYear:c(this.changeMonth(1),this.locale)}),onClick:()=>this.setNewFocusedMonth(1)},t("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"})))}renderContent(){return t("div",null,t("div",{class:"gux-week-days"},function(e,t){const a=[],n=new Date(1970,0,4);for(let t=0;t<7;t++){const t=n.toLocaleString(e,{weekday:"narrow"});a.push(t),n.setDate(n.getDate()+1)}return(r=a).concat(r.splice(0,t%r.length));var r}(this.locale,this.startDayOfWeek).map((e=>t("div",{class:"gux-week-day"},e)))),t("div",{class:"gux-content"},this.getMonthDays().map((e=>t("div",{class:"gux-content-week"},e.dates.map((e=>t("div",{"data-date":e.date.getTime(),onClick:()=>this.onDateClick(e.date),role:"button","aria-current":e.selected?"true":"false",tabindex:e.selected||e.focused?"0":"-1",onKeyDown:e=>{this.onKeyDown(e)},"aria-disabled":e.disabled?"true":"false",class:{"gux-content-date":!0,"gux-disabled":e.disabled,"gux-current-month":e.inCurrentMonth,"gux-selected":e.selected,"gux-current-date":e.isCurrentDate}},t("span",{class:"gux-non-sr","aria-hidden":"true"},e.date.getDate()),t("span",{class:"gux-sr-only"},t("gux-date-beta",{datetime:e.date.toISOString(),format:"long"}))))))))))}render(){return t("div",{class:"gux-calendar-beta"},t("slot",null),this.renderHeader(),this.renderContent())}get root(){return a(this)}};h.style=".gux-calendar-beta{box-sizing:border-box;display:inline-flex;flex-direction:column;font-family:var(--gse-ui-calendarMenu-month-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-defaultText-fontSize);background:var(--gse-ui-calendarMenu-date-selected-foregroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius);box-shadow:rgba(34, 37, 41, 0.24) 0 2px 4px}.gux-calendar-beta .gux-header{display:flex;align-items:center;justify-content:space-between;height:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar-beta .gux-header .gux-header-month-and-year{width:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar-beta .gux-header .gux-left,.gux-calendar-beta .gux-header .gux-right{color:var(--gse-ui-calendarMenu-month-monthHeader-foregroundColor);cursor:pointer;background:none;border:none;outline:none}.gux-calendar-beta .gux-header .gux-left:focus-visible,.gux-calendar-beta .gux-header .gux-right:focus-visible{outline:2px solid #aac9ff;outline-offset:1px}.gux-calendar-beta .gux-header .gux-left gux-icon,.gux-calendar-beta .gux-header .gux-right gux-icon{width:16px;height:16px}.gux-calendar-beta .gux-week-days{padding-top:24px;padding-right:24px;padding-left:24px;font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);color:var(--gse-ui-calendarMenu-day-dayHeader-foregroundColor);text-align:center}.gux-calendar-beta .gux-week-days .gux-week-day{display:inline-block;width:var(--gse-ui-calendarMenu-day-date-size);height:16px;font-weight:var(--gse-ui-calendarMenu-day-header-fontWeight)}.gux-calendar-beta .gux-content{padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-core-color-cornflower-900);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar-beta .gux-content-week .gux-content-date{display:inline-block;width:var(--gse-ui-calendarMenu-day-date-size);height:var(--gse-ui-calendarMenu-day-input-height);font-family:var(--gse-ui-calendarMenu-date-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-defaultText-fontSize);font-style:normal;font-weight:var(--gse-ui-calendarMenu-date-defaultText-fontWeight);line-height:32px;color:var(--gse-core-color-cornflower-600);text-align:center;vertical-align:middle;border:none;outline:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar-beta .gux-content-week .gux-content-date.gux-current-month{color:var(--gse-ui-calendarMenu-month-default-foregroundColor);opacity:1}.gux-calendar-beta .gux-content-week .gux-content-date.gux-hidden{display:none}.gux-calendar-beta .gux-content-week .gux-content-date.gux-disabled{pointer-events:none}.gux-calendar-beta .gux-content-week .gux-content-date.gux-selected{color:var(--gse-ui-calendarMenu-date-selected-foregroundColor);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border:none;border-radius:var(--gse-ui-calendarMenu-month-borderRadius);outline:none}.gux-calendar-beta .gux-content-week .gux-content-date.gux-selected:hover{background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar-beta .gux-content-week .gux-content-date:hover{cursor:pointer;background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar-beta .gux-content-week .gux-content-date:focus-visible{border-radius:var(--gse-ui-calendarMenu-month-focusBorderRadius);outline:1px solid #7b61ff}.gux-calendar-beta .gux-content-week .gux-content-date .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-calendar-beta .gux-content-week .gux-content-date.gux-current-date{font-family:var(--gse-ui-calendarMenu-month-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-currentText-fontWeight)}";export{h as gux_calendar_beta}
|