genesys-spark-components 4.0.0-beta.54 → 4.0.0-beta.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/{get-valid-timezone-7bb7bdc6.js → get-valid-timezone-6bacb49d.js} +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
- package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-badge.cjs.entry.js +2 -2
- package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
- package/dist/cjs/gux-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
- package/dist/cjs/gux-card.cjs.entry.js +1 -1
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
- package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
- package/dist/cjs/gux-context-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
- package/dist/cjs/gux-create-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-datepicker.cjs.entry.js +3 -3
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-color.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-number_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-range.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-search.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +3 -3
- package/dist/cjs/gux-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-inline-alert.cjs.entry.js +2 -2
- package/dist/cjs/gux-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +3 -3
- package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +1 -1
- package/dist/cjs/gux-region-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-row-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
- package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +24 -19
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +36 -20
- package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/gux-table.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -5
- package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gux-tag.cjs.entry.js +3 -3
- package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +21 -21
- package/dist/cjs/gux-toast.cjs.entry.js +2 -2
- package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip.cjs.entry.js +4 -33
- package/dist/cjs/{index-788d733b.js → index-dee802be.js} +74 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-350f2a28.js → usage-93fb6f10.js} +12 -12
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/beta/gux-phone-input/gux-phone-input.css +3 -6
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.css +1 -2
- package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.css +5 -10
- package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.css +2 -4
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons-legacy.css +3 -6
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page-legacy.css +1 -2
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-legacy.css +2 -4
- package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.css +1 -2
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.css +1 -2
- package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.css +9 -6
- package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.css +1 -2
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +1 -2
- package/dist/collection/components/stable/gux-content-search/gux-content-search.css +1 -2
- package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.css +1 -0
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.css +2 -4
- package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.css +1 -2
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.css +2 -4
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.css +2 -4
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.css +2 -4
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.css +1 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.css +2 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +3 -6
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +3 -5
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +3 -6
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.css +2 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.css +2 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +3 -6
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +3 -6
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +3 -6
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +3 -6
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +2 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.css +3 -5
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.css +3 -5
- package/dist/collection/components/stable/{gux-alert → gux-inline-alert}/gux-inline-alert.js +1 -1
- package/dist/collection/components/stable/gux-inline-alert/tests/gux-inline-alert.e2e.js +18 -0
- package/dist/collection/components/stable/{gux-alert → gux-inline-alert}/tests/gux-inline-alert.spec.js +5 -9
- package/dist/collection/components/stable/gux-list/gux-list.css +1 -2
- package/dist/collection/components/stable/gux-listbox/gux-listbox.css +2 -4
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.css +1 -2
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +1 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.css +1 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.css +2 -4
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.css +1 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination.css +2 -4
- package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.css +1 -2
- package/dist/collection/components/stable/gux-popover/gux-popover.css +1 -2
- package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.css +1 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.css +1 -2
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.css +47 -102
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +36 -21
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.css +22 -102
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +22 -17
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.css +2 -2
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -11
- package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.e2e.js +6 -6
- package/dist/collection/components/stable/gux-tag/gux-tag.css +2 -4
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.css +1 -2
- package/dist/collection/components/stable/gux-toast/gux-toast.css +2 -4
- package/dist/collection/components/stable/gux-toggle/gux-toggle.css +3 -6
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.css +1 -41
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +3 -50
- package/dist/component-specs.json +12 -13
- package/dist/deploy-info.json +3 -3
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/{get-valid-timezone-1cf3a777.js → get-valid-timezone-b9060a4c.js} +1 -1
- package/dist/esm/gux-accordion-section.entry.js +1 -1
- package/dist/esm/gux-accordion.entry.js +1 -1
- package/dist/esm/gux-action-button.entry.js +2 -2
- package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +2 -2
- package/dist/esm/gux-all-row-select.entry.js +1 -1
- package/dist/esm/gux-announce-beta.entry.js +1 -1
- package/dist/esm/gux-badge.entry.js +2 -2
- package/dist/esm/gux-blank-state.entry.js +1 -1
- package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +3 -3
- package/dist/esm/gux-button-multi.entry.js +1 -1
- package/dist/esm/gux-button-slot.entry.js +1 -1
- package/dist/esm/gux-button.entry.js +1 -1
- package/dist/esm/gux-calendar-beta.entry.js +1 -1
- package/dist/esm/gux-calendar.entry.js +2 -2
- package/dist/esm/gux-card.entry.js +1 -1
- package/dist/esm/gux-column-manager-item.entry.js +2 -2
- package/dist/esm/gux-column-manager.entry.js +2 -2
- package/dist/esm/gux-content-search.entry.js +3 -3
- package/dist/esm/gux-context-menu.entry.js +2 -2
- package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
- package/dist/esm/gux-create-option.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +3 -3
- package/dist/esm/gux-date-time-beta.entry.js +3 -3
- package/dist/esm/gux-datepicker.entry.js +3 -3
- package/dist/esm/gux-disclosure-button-legacy.entry.js +2 -2
- package/dist/esm/gux-dismiss-button.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
- package/dist/esm/gux-dropdown-multi.entry.js +3 -3
- package/dist/esm/gux-dropdown_3.entry.js +5 -5
- package/dist/esm/gux-flyout-menu.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox.entry.js +2 -2
- package/dist/esm/gux-form-field-color.entry.js +2 -2
- package/dist/esm/gux-form-field-dropdown.entry.js +3 -3
- package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
- package/dist/esm/gux-form-field-number_3.entry.js +4 -4
- package/dist/esm/gux-form-field-phone.entry.js +3 -3
- package/dist/esm/gux-form-field-radio.entry.js +2 -2
- package/dist/esm/gux-form-field-range.entry.js +2 -2
- package/dist/esm/gux-form-field-search.entry.js +2 -2
- package/dist/esm/gux-form-field-select.entry.js +2 -2
- package/dist/esm/gux-form-field-text-like.entry.js +2 -2
- package/dist/esm/gux-form-field-textarea.entry.js +2 -2
- package/dist/esm/gux-form-field-time-picker.entry.js +3 -3
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +3 -3
- package/dist/esm/gux-icon.entry.js +1 -1
- package/dist/esm/gux-inline-alert.entry.js +2 -2
- package/dist/esm/gux-list.entry.js +2 -2
- package/dist/esm/gux-listbox-multi.entry.js +3 -3
- package/dist/esm/gux-loading-message.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +1 -1
- package/dist/esm/gux-month-calendar.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +2 -2
- package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-option-icon.entry.js +1 -1
- package/dist/esm/gux-option-multi.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +3 -3
- package/dist/esm/gux-pagination-buttons_3.entry.js +3 -3
- package/dist/esm/gux-pagination-cursor.entry.js +3 -3
- package/dist/esm/gux-pagination-legacy.entry.js +2 -2
- package/dist/esm/gux-pagination.entry.js +2 -2
- package/dist/esm/gux-phone-input-beta.entry.js +3 -3
- package/dist/esm/gux-popover-list.entry.js +1 -1
- package/dist/esm/gux-radial-loading.entry.js +2 -2
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +1 -1
- package/dist/esm/gux-region-icon.entry.js +1 -1
- package/dist/esm/gux-row-select.entry.js +1 -1
- package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
- package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
- package/dist/esm/gux-segmented-control-item.entry.js +1 -1
- package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
- package/dist/esm/gux-sort-control.entry.js +3 -3
- package/dist/esm/gux-submenu.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +1 -1
- package/dist/esm/gux-tab-advanced-list.entry.js +24 -19
- package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
- package/dist/esm/gux-tab-advanced.entry.js +37 -21
- package/dist/esm/gux-tab-list.entry.js +2 -2
- package/dist/esm/gux-table-select-menu.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
- package/dist/esm/gux-table-toolbar.entry.js +1 -1
- package/dist/esm/gux-table.entry.js +2 -2
- package/dist/esm/gux-tabs-advanced.entry.js +2 -5
- package/dist/esm/gux-tabs.entry.js +1 -1
- package/dist/esm/gux-tag.entry.js +3 -3
- package/dist/esm/gux-text-highlight.entry.js +1 -1
- package/dist/esm/gux-time-beta.entry.js +3 -3
- package/dist/esm/gux-time-picker.entry.js +3 -3
- package/dist/esm/gux-time-zone-picker-beta.entry.js +21 -21
- package/dist/esm/gux-toast.entry.js +2 -2
- package/dist/esm/gux-toggle.entry.js +3 -3
- package/dist/esm/gux-tooltip.entry.js +5 -34
- package/dist/esm/{index-df729b6a.js → index-39266f37.js} +74 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-1d47b899.js → usage-25ad0e05.js} +12 -12
- package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
- package/dist/genesys-webcomponents/{p-c40401c9.entry.js → p-05cf477e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6c7a5b9c.entry.js → p-0949d793.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0b6ca6a3.entry.js +1 -0
- package/dist/genesys-webcomponents/p-0cf1420d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-429b3a1f.entry.js → p-0dbcb834.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d0acf18d.entry.js → p-0efd4184.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1353d8b9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a8f4797d.entry.js → p-14c5b529.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-500d2ff0.entry.js → p-16efe865.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-185d3a8c.entry.js +1 -0
- package/dist/genesys-webcomponents/p-1997df50.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7a094747.entry.js → p-1faa8c4a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-750759f4.entry.js → p-20ea10f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-21a98b33.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ed0ea687.entry.js → p-22fbdd62.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-08a0c7d2.entry.js → p-23d337a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2619893f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fb25f78d.entry.js → p-26f0a512.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b9bc0119.entry.js → p-2a04c911.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-55ee3905.entry.js → p-30d1a9e4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ea55b70b.entry.js → p-36b75440.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-36c64208.entry.js +1 -0
- package/dist/genesys-webcomponents/p-38effa65.entry.js +1 -0
- package/dist/genesys-webcomponents/p-3b3e4c5d.entry.js +1 -0
- package/dist/genesys-webcomponents/p-3b8ede0f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-33927ff7.entry.js → p-3bf5bc3d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-551c5f35.js → p-3dc4aa8e.js} +1 -1
- package/dist/genesys-webcomponents/p-46e4970e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f73e25f6.entry.js → p-48338425.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-499fe630.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-15a162ee.entry.js → p-517973ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-54bbb104.entry.js +7 -0
- package/dist/genesys-webcomponents/{p-166f2576.entry.js → p-5f12418d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f390abc9.entry.js → p-5f746805.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5bb954a6.entry.js → p-61c0784d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d28a97a4.entry.js → p-6292e5ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c14d0b75.entry.js → p-67901b42.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e4892ec7.entry.js → p-6c91bd4b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-068e8737.entry.js → p-7583cf3c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ecb3a120.entry.js → p-7a6f7000.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7bf47f91.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5b58d5dd.entry.js → p-7f997821.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f2f666dc.entry.js → p-813f829d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-07582b62.entry.js → p-82e1514c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e27ae755.entry.js → p-83afdd02.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-baa79e26.entry.js → p-8496091c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dee4d302.entry.js → p-88d49855.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-26c1b634.entry.js → p-8cce63c6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8fc08d3c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ab4a9571.entry.js → p-905d7130.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9108c339.entry.js +1 -0
- package/dist/genesys-webcomponents/p-914319f8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-65a6e106.entry.js → p-93e60785.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-64c8c4d9.entry.js → p-9716f5e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9a4842ed.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ac8a5767.entry.js → p-9d642773.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c716d426.entry.js → p-a07188ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-a1f9d8f7.entry.js +1 -0
- package/dist/genesys-webcomponents/p-a383dc4b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-a5c82a4d.entry.js +1 -0
- package/dist/genesys-webcomponents/p-a7e4e19c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-433b4556.entry.js → p-aa1a1d9d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-52b8d127.entry.js → p-ab1aae8f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3c35f220.entry.js → p-aee137e6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8fee8c26.entry.js → p-b3bdffdc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b5a006fb.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-46b366f3.entry.js → p-b7a3543c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a6a73a36.entry.js → p-b80e5b86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-30d94914.entry.js → p-b8b64f63.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b269fa15.entry.js → p-bd8156de.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-405258c4.entry.js → p-bed96e98.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-95eee549.entry.js → p-c07d1c6d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c22245b9.entry.js +1 -0
- package/dist/genesys-webcomponents/p-c24424d9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-194cc7d2.entry.js → p-c37c28b9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c6eee5ae.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-78db27b4.entry.js → p-c963f4f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ceae04a6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-26bd7ca7.entry.js → p-d75d5bd8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d77171b9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-efc5f619.entry.js → p-d9ded811.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-dad13a8d.entry.js +1 -0
- package/dist/genesys-webcomponents/p-dafdc915.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f4655e75.entry.js → p-db136063.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f41e3c3a.entry.js → p-dc703c25.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e10cb032.js +1 -0
- package/dist/genesys-webcomponents/{p-38a0c73a.entry.js → p-e2689c06.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e50be340.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7228450f.entry.js → p-e5431907.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e612a7c0.entry.js +1 -0
- package/dist/genesys-webcomponents/p-eb095687.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-090639e6.entry.js → p-ed304c3c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2c49587a.entry.js → p-ed52b4ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ef5f63a4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f9c65a99.js → p-f19850ba.js} +1 -1
- package/dist/genesys-webcomponents/p-f2a4ea61.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-40838c70.entry.js → p-f522add7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f81e2422.entry.js +1 -0
- package/dist/genesys-webcomponents/p-f9814c62.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bac463ec.entry.js → p-fc625a20.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6ffb0709.entry.js → p-fdbcd119.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-29b91f3c.entry.js → p-fddbad81.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.d.ts +2 -2
- package/dist/types/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.d.ts +2 -0
- package/dist/types/components/stable/gux-tooltip/gux-tooltip.d.ts +0 -3
- package/dist/types/components.d.ts +2 -4
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +12 -12
- package/dist/collection/components/stable/gux-alert/tests/gux-inline-alert.e2e.js +0 -22
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.css +0 -3
- package/dist/genesys-webcomponents/p-004dd71b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0d821dba.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0eef1761.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1f22913a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-25618f91.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2ba7be7a.js +0 -1
- package/dist/genesys-webcomponents/p-2d34f76f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-377898d7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-383cde7e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4387f5e7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-44aca6cf.entry.js +0 -1
- package/dist/genesys-webcomponents/p-46d5baad.entry.js +0 -1
- package/dist/genesys-webcomponents/p-47e6cf16.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4ae9a41c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4b288deb.entry.js +0 -1
- package/dist/genesys-webcomponents/p-541d1d9e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5f047ecf.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6b7a4062.entry.js +0 -7
- package/dist/genesys-webcomponents/p-71802b6c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-771469d7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-780496f2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7afa4d3d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7de6ca24.entry.js +0 -1
- package/dist/genesys-webcomponents/p-82f4cff8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-90ae4c4d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-96ffca95.entry.js +0 -1
- package/dist/genesys-webcomponents/p-acaf927b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ad8b6807.entry.js +0 -1
- package/dist/genesys-webcomponents/p-af30bcdf.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b0d4b282.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b1ebae13.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d220b571.entry.js +0 -1
- package/dist/genesys-webcomponents/p-de1afc3a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e1b979e2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e1db43e6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e707b9c6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f00aae03.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fb738dce.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fd1fb570.entry.js +0 -1
- /package/dist/collection/components/stable/{gux-alert → gux-inline-alert}/gux-inline-alert.css +0 -0
- /package/dist/collection/components/stable/{gux-alert → gux-inline-alert}/gux-inline-alert.types.js +0 -0
- /package/dist/types/components/stable/{gux-alert → gux-inline-alert}/gux-inline-alert.d.ts +0 -0
- /package/dist/types/components/stable/{gux-alert → gux-inline-alert}/gux-inline-alert.types.d.ts +0 -0
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as s,h as i,H as a,g as h}from"./p-deca7631.js";import{t as
|
1
|
+
import{r as t,c as s,h as i,H as a,g as h}from"./p-deca7631.js";import{t as e}from"./p-3dc4aa8e.js";const o=class{constructor(i){t(this,i),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.tabList=void 0,this.tabPanels=[],this.activeTab=void 0}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,i){var a;this.activeTab=t||(null===(a=null==s?void 0:s.querySelector("gux-tab-advanced"))||void 0===a?void 0:a.getAttribute("tab-id")),s.guxSetActive(this.activeTab),i.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){e(this.root)}render(){return i(a,null,i("slot",{name:"tab-list"}),i("slot",{onSlotchange:this.onSlotchange.bind(this)}))}get root(){return h(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};export{o as gux_tabs_advanced}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as t,H as o,g as a}from"./p-deca7631.js";import{t as r}from"./p-3dc4aa8e.js";const i=class{constructor(t){e(this,t)}componentWillLoad(){r(this.root)}render(){return t(o,null,t("div",{class:"gux-header"},t("div",{class:"gux-icon"},t("slot",{name:"icon"})),t("div",{class:"gux-title"},t("slot",{name:"title"}))),t("div",{class:"gux-message"},t("slot",{name:"message"})),t("div",{class:"gux-action-buttons"},t("div",{class:"gux-positive-button"},t("slot",{name:"positive-button"})),t("div",{class:"gux-negative-button"},t("slot",{name:"negative-button"}))))}get root(){return a(this)}};i.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch;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;place-content:stretch flex-start;align-items:center;align-self:auto;order:0;font-family:var(--gse-core-typography-heading-lg-fontFamily), var(--gse-core-fontFamily-heading), sans-serif;font-size:var(--gse-core-typography-heading-lg-fontSize);line-height:var(--gse-core-typography-heading-lg-lineHeight);font-weight:var(--gse-core-fontWeight-bold)}.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-typography-body-sm-fontFamily), var(--gse-core-fontFamily-body), sans-serif;font-size:var(--gse-core-typography-body-sm-fontSize);line-height:var(--gse-core-typography-body-sm-lineHeight);font-weight:var(--gse-core-fontWeight-regular)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;place-content:stretch flex-start;align-items:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;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;place-content:stretch space-between;align-items:flex-start;align-self:auto;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{r as t,c as s,h as i,H as
|
1
|
+
import{r as t,c as s,h as i,H as a,g as h}from"./p-deca7631.js";import{t as e}from"./p-3dc4aa8e.js";const o=class{constructor(i){t(this,i),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.activeTab=void 0,this.orientation="horizontal",this.alignment="left",this.tabList=void 0,this.tabPanels=[]}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,i){this.activeTab=t||i[0].tabId,s.guxSetActive(this.activeTab),i.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){e(this.root)}render(){return i(a,null,i("div",{class:`gux-tabs gux-${this.alignment} gux-${this.orientation}`},i("slot",{name:"tab-list"}),i("div",{class:`gux-${this.alignment} gux-${this.orientation} gux-panel-container`},i("slot",{onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return h(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};o.style=":host{display:flex;flex-direction:column}:host .gux-tabs{display:flex;height:100%}:host .gux-tabs:not(.gux-vertical){flex-direction:column}:host .gux-panel-container{display:flex;flex-direction:column;height:100%}";export{o as gux_tabs}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as t,H as i,g as r}from"./p-deca7631.js";import{c as o,o as a}from"./p-16f3da0d.js";import{O as n}from"./p-d6edbaeb.js";import{o as s}from"./p-37bfd195.js";import{p as l}from"./p-28f55159.js";import{h as g}from"./p-324b23f3.js";import{G as u,a as h,g as d,v as p,b as x}from"./p-e5766b80.js";import{a as f,G as c}from"./p-2b468e4b.js";import{t as b}from"./p-3dc4aa8e.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const m=class{constructor(t){e(this,t),this.displayUnits=void 0,this.valueInTooltip=void 0,this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1,this.value=void 0,this.active=void 0,this.valueWatcherId=void 0}onInput(e){this.updateValue(e.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.hasError=g(this.root,"error"),this.hasHelp=g(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=g(this.root,"error"),this.hasHelp=g(this.root,"help"),b(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition()}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return t(i,{class:{"gux-active":this.active}},t(f,{labelPosition:this.computedLabelPosition},t(c,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()})),t("div",{class:"gux-input-and-error-container"},this.renderRangeInput(),t(u,{show:this.hasError},t("slot",{name:"error"})),t(h,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=d(this.root,'input[type="range"][slot="input"]'),l(this.input),this.disabled=o(this.input),this.required=this.input.required,this.value=this.input.value,this.disabledObserver=a(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled}},t("div",{class:"gux-range"},t("div",{class:"gux-track"},t("div",{class:"gux-progress",ref:e=>this.progressElement=e})),t("slot",{name:"input"}),t("div",{class:{"gux-range-tooltip-container":!0,"gux-hidden":!this.valueInTooltip},ref:e=>this.sliderTooltipContainer=e},t("div",{class:"gux-range-tooltip",ref:e=>this.sliderTooltip=e},this.getDisplayValue()))),t("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){const e=Number(this.input.value||0),t=Number(this.input.min||0),i=(e-t)/(Number(this.input.max||100)-t)*100;this.sliderTooltip&&(this.sliderTooltip.style.left=i-i/8/this.sliderTooltipContainer.offsetWidth*100+"%"),this.progressElement.style.width=`${i}%`}getDisplayValue(){return this.displayUnits?`${this.value}${this.displayUnits}`:this.value}get root(){return r(this)}};(function(e,t,i,r){var o,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,i,n):o(t,i))||n);a>3&&n&&Object.defineProperty(t,i,n)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input[type=range]){position:absolute;width:100%;width:100%;height:var(--gse-ui-slider-bar-height);margin:calc(var(--gse-ui-slider-handle-width) / 2) 0;margin-top:calc(-1 * (var(--gse-ui-slider-handle-width) / 2 + var(--gse-ui-slider-bar-height)));-webkit-appearance:none;background:transparent}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-slider-gap);place-content:stretch flex-start;align-items:center;height:32px;font-size:var(--gse-ui-slider-label-text-fontSize)}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:var(--gse-ui-slider-disabled-opacity)}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{width:100%;height:var(--gse-ui-slider-bar-height);margin:6px 0;background:var(--gse-ui-slider-bar-default-backgroundColor);border-radius:20px}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{height:var(--gse-ui-slider-bar-height);background-color:var(--gse-ui-slider-bar-selected-backgroundColor);border-radius:20px}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;margin:0 0 0 var(--gux-spacing-medium);font-family:var(--gse-ui-slider-label-text-fontFamily);font-size:var(--gse-ui-slider-label-text-fontSize);font-weight:var(--gse-ui-slider-label-text-fontWeight);line-height:var(--gse-ui-slider-label-text-lineHeight);text-align:right}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container{position:absolute;top:-50px;width:100%;height:32px;pointer-events:none}.gux-input-and-error-container .gux-range-tooltip-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip{font-family:var(--gse-core-typography-body-sm-fontFamily), var(--gse-core-fontFamily-body), sans-serif;font-size:var(--gse-core-typography-body-sm-fontSize);line-height:var(--gse-core-typography-body-sm-lineHeight);font-weight:var(--gse-core-fontWeight-regular);position:absolute;z-index:var(--gux-zindex-tooltip, 1);display:flex;align-items:center;justify-content:center;width:50px;height:32px;margin-left:-20px;visibility:hidden;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow-x) var(--gse-ui-tooltip-boxShadow-y) var(--gse-ui-tooltip-boxShadow-blur) var(--gse-ui-tooltip-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color)}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after,.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{position:absolute;top:100%;left:50%;width:0;height:0;pointer-events:none;content:" ";border:solid transparent}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after{margin-left:-4px;border-width:4px;border-top-color:var(--gse-ui-tooltip-light-backgroundColor)}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:var(--gse-ui-tooltip-light-backgroundColor)}';export{m as gux_form_field_range}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as i,H as a,g as s}from"./p-deca7631.js";import{s as r}from"./p-373c5d93.js";import{c as e}from"./p-7b08c759.js";import{t as o}from"./p-
|
1
|
+
import{r as t,h as i,H as a,g as s}from"./p-deca7631.js";import{s as r}from"./p-373c5d93.js";import{c as e}from"./p-7b08c759.js";import{t as o}from"./p-3dc4aa8e.js";import{a as n}from"./p-9d734bbd.js";const h=class{constructor(i){t(this,i),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[i]=t.composedPath(),a=i.getRootNode(),s=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===a))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)&&this.updateRatingValue(s-.5)}onKeyDown(t){if(t.stopPropagation(),!this.disabled&&!this.readonly)switch(t.key){case"ArrowUp":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-.5);break;case"ArrowDown":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+.5);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const i=e(t,0,Array.from(this.starContainer.children).length);this.value!==i&&(this.value=i,r(this.root,"input"),r(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,i)=>t.concat(i+.5===this.value?"rating-partial":i+1<=this.value?"rating-active":"rating")),[]).map((t=>i("gux-icon",{"icon-name":t,decorative:!0})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){o(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||n(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return i(a,{role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},i("div",{ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return s(this)}};h.style=":host{display:inline-flex;user-select:none}:host(:host:focus-visible){outline:var(--gse-ui-focus-width) var(--gse-ui-focus-style) var(--gse-ui-focus-color);outline-offset:1px;box-shadow:0 0 0 1px var(--gse-ui-focus-style)}.gux-rating-star-container{color:var(--gse-ui-rating-default-color)}.gux-rating-star-container.gux-disabled{color:var(--gse-ui-rating-disabled-color);pointer-events:none;opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{width:var(--gse-ui-rating-size);height:var(--gse-ui-rating-size);color:var(--gse-ui-rating-default-color)}.gux-rating-star-container gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color)}";export{h as gux_rating}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as s,c as i,h as t,H as o,g as a}from"./p-deca7631.js";import{t as e}from"./p-3dc4aa8e.js";const r=class{constructor(t){s(this,t),this.guxdismiss=i(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){e(this.root,{variant:this.accent})}render(){return t(o,null,t("div",{class:`gux-icon gux-${this.accent}`},t("slot",{name:"icon"})),t("gux-truncate",{class:"gux-message","max-lines":2},t("slot",{name:"message"})),t("gux-dismiss-button",{class:"gux-dismiss",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(s){s.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return a(this)}};r.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:286px;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-icon{flex:0 1 auto;align-self:auto;order:0;padding:8px 12px 8px 16px;margin:2px 0}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-icon ::slotted(gux-icon){width:16px;height:16px}.gux-message{flex:1 1 auto;align-self:center;order:0;margin:8px 0}.gux-dismiss{margin:4px 0}";export{r as gux_simple_toast_legacy}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,f as r,h as a,g as s}from"./p-deca7631.js";import{b as e}from"./p-e10cb032.js";import{t as i}from"./p-3dc4aa8e.js";import"./p-0962dd7a.js";const o={breadcrumbs:"Breadcrumbs"},n=class{constructor(r){t(this,r),this.accent="primary"}componentWillLoad(){i(this.root,{variant:this.accent})}async componentWillRender(){this.i18n=await e(this.root,o)}onSlotChange(){Array.from(this.root.children).forEach((t=>r(t)))}render(){return a("nav",{"aria-label":this.i18n("breadcrumbs")},a("ol",null,a("slot",{onSlotchange:this.onSlotChange.bind(this)})))}get root(){return s(this)}};n.style="ol{display:flex;flex-direction:row;flex-wrap:wrap;place-content:flex-start flex-start;align-items:center;padding:0;margin:0;list-style:none}";export{n as gux_breadcrumbs}
|
@@ -1 +1 @@
|
|
1
|
-
import{h as r,r as a,g as e}from"./p-deca7631.js";import{b as s}from"./p-
|
1
|
+
import{h as r,r as a,g as e}from"./p-deca7631.js";import{b as s}from"./p-e10cb032.js";import{t}from"./p-3dc4aa8e.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 e,h as o,g as t}from"./p-deca7631.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);
|
1
|
+
import{r as e,h as o,g as t}from"./p-deca7631.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);place-content:stretch flex-start;align-items:center;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}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{a as t}from"./p-deca7631.js";import{g as r}from"./p-0962dd7a.js";var h=function(t,r){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var h in r)Object.prototype.hasOwnProperty.call(r,h)&&(t[h]=r[h])},h(t,r)};function e(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function e(){this.constructor=t}h(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}var n,i,s,a=function(){return a=Object.assign||function(t){for(var r,h=1,e=arguments.length;h<e;h++)for(var n in r=arguments[h])Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t},a.apply(this,arguments)};function o(t,r,h){if(h||2===arguments.length)for(var e,n=0,i=r.length;n<i;n++)!e&&n in r||(e||(e=Array.prototype.slice.call(r,0,n)),e[n]=r[n]);return t.concat(e||Array.prototype.slice.call(r))}function u(t){return t.type===i.literal}function c(t){return t.type===i.argument}function f(t){return t.type===i.number}function l(t){return t.type===i.date}function H(t){return t.type===i.time}function B(t){return t.type===i.select}function b(t){return t.type===i.plural}function v(t){return t.type===i.pound}function p(t){return t.type===i.tag}function E(t){return!(!t||"object"!=typeof t||t.type!==s.number)}function d(t){return!(!t||"object"!=typeof t||t.type!==s.dateTime)}"function"==typeof SuppressedError&&SuppressedError,function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(n||(n={})),function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(i||(i={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(s||(s={}));var g=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,y=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function m(t){var r={};return t.replace(y,(function(t){var h=t.length;switch(t[0]){case"G":r.era=4===h?"long":5===h?"narrow":"short";break;case"y":r.year=2===h?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][h-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][h-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4===h?"short":5===h?"narrow":"short";break;case"e":if(h<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][h-4];break;case"c":if(h<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][h-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][h-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][h-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][h-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][h-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][h-1];break;case"s":r.second=["numeric","2-digit"][h-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=h<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),r}var w=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,T=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,A=/^(@+)?(\+|#+)?[rs]?$/g,S=/(\*)(0+)|(#+)(0+)|(0+)/g,_=/^(0+)$/;function N(t){var r={};return"r"===t[t.length-1]?r.roundingPriority="morePrecision":"s"===t[t.length-1]&&(r.roundingPriority="lessPrecision"),t.replace(A,(function(t,h,e){return"string"!=typeof e?(r.minimumSignificantDigits=h.length,r.maximumSignificantDigits=h.length):"+"===e?r.minimumSignificantDigits=h.length:"#"===h[0]?r.maximumSignificantDigits=h.length:(r.minimumSignificantDigits=h.length,r.maximumSignificantDigits=h.length+("string"==typeof e?e.length:0)),""})),r}function I(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function M(t){var r;if("E"===t[0]&&"E"===t[1]?(r={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(r={notation:"scientific"},t=t.slice(1)),r){var h=t.slice(0,2);if("+!"===h?(r.signDisplay="always",t=t.slice(2)):"+?"===h&&(r.signDisplay="exceptZero",t=t.slice(2)),!_.test(t))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=t.length}return r}function R(t){return I(t)||{}}function L(t){for(var r={},h=0,e=t;h<e.length;h++){var n=e[h];switch(n.stem){case"percent":case"%":r.style="percent";continue;case"%x100":r.style="percent",r.scale=100;continue;case"currency":r.style="currency",r.currency=n.options[0];continue;case"group-off":case",_":r.useGrouping=!1;continue;case"precision-integer":case".":r.maximumFractionDigits=0;continue;case"measure-unit":case"unit":r.style="unit",r.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":r.notation="compact",r.compactDisplay="short";continue;case"compact-long":case"KK":r.notation="compact",r.compactDisplay="long";continue;case"scientific":r=a(a(a({},r),{notation:"scientific"}),n.options.reduce((function(t,r){return a(a({},t),R(r))}),{}));continue;case"engineering":r=a(a(a({},r),{notation:"engineering"}),n.options.reduce((function(t,r){return a(a({},t),R(r))}),{}));continue;case"notation-simple":r.notation="standard";continue;case"unit-width-narrow":r.currencyDisplay="narrowSymbol",r.unitDisplay="narrow";continue;case"unit-width-short":r.currencyDisplay="code",r.unitDisplay="short";continue;case"unit-width-full-name":r.currencyDisplay="name",r.unitDisplay="long";continue;case"unit-width-iso-code":r.currencyDisplay="symbol";continue;case"scale":r.scale=parseFloat(n.options[0]);continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(S,(function(t,h,e,n,i,s){if(h)r.minimumIntegerDigits=e.length;else{if(n&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(_.test(n.stem))r.minimumIntegerDigits=n.stem.length;else if(T.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(T,(function(t,h,e,n,i,s){return"*"===e?r.minimumFractionDigits=h.length:n&&"#"===n[0]?r.maximumFractionDigits=n.length:i&&s?(r.minimumFractionDigits=i.length,r.maximumFractionDigits=i.length+s.length):(r.minimumFractionDigits=h.length,r.maximumFractionDigits=h.length),""}));var i=n.options[0];"w"===i?r=a(a({},r),{trailingZeroDisplay:"stripIfInteger"}):i&&(r=a(a({},r),N(i)))}else if(A.test(n.stem))r=a(a({},r),N(n.stem));else{var s=I(n.stem);s&&(r=a(a({},r),s));var o=M(n.stem);o&&(r=a(a({},r),o))}}return r}var C,O={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function G(t){var r=t.hourCycle;if(void 0===r&&t.hourCycles&&t.hourCycles.length&&(r=t.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var h,e=t.language;return"root"!==e&&(h=t.maximize().region),(O[h||""]||O[e||""]||O["".concat(e,"-001")]||O["001"])[0]}var U=new RegExp("^".concat(g.source,"*")),P=new RegExp("".concat(g.source,"*$"));function k(t,r){return{start:t,end:r}}var D=!!String.prototype.startsWith&&"_a".startsWith("a",1),F=!!String.fromCodePoint,j=!!Object.fromEntries,K=!!String.prototype.codePointAt,V=!!String.prototype.trimStart,Z=!!String.prototype.trimEnd,x=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},W=!0;try{W="a"===(null===(C=tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===C?void 0:C[0])}catch(t){W=!1}var X,Y=D?function(t,r,h){return t.startsWith(r,h)}:function(t,r,h){return t.slice(h,h+r.length)===r},J=F?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var h,e="",n=t.length,i=0;n>i;){if((h=t[i++])>1114111)throw RangeError(h+" is not a valid code point");e+=h<65536?String.fromCharCode(h):String.fromCharCode(55296+((h-=65536)>>10),h%1024+56320)}return e},z=j?Object.fromEntries:function(t){for(var r={},h=0,e=t;h<e.length;h++){var n=e[h];r[n[0]]=n[1]}return r},Q=K?function(t,r){return t.codePointAt(r)}:function(t,r){var h=t.length;if(!(r<0||r>=h)){var e,n=t.charCodeAt(r);return n<55296||n>56319||r+1===h||(e=t.charCodeAt(r+1))<56320||e>57343?n:e-56320+(n-55296<<10)+65536}},$=V?function(t){return t.trimStart()}:function(t){return t.replace(U,"")},q=Z?function(t){return t.trimEnd()}:function(t){return t.replace(P,"")};function tt(t,r){return new RegExp(t,r)}if(W){var rt=tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");X=function(t,r){var h;return rt.lastIndex=r,null!==(h=rt.exec(t)[1])&&void 0!==h?h:""}}else X=function(t,r){for(var h=[];;){var e=Q(t,r);if(void 0===e||nt(e)||it(e))break;h.push(e),r+=e>=65536?2:1}return J.apply(void 0,h)};var ht=function(){function t(t,r){void 0===r&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,r,h){for(var e=[];!this.isEOF();){var s=this.char();if(123===s){if((a=this.parseArgument(t,h)).err)return a;e.push(a.val)}else{if(125===s&&t>0)break;if(35!==s||"plural"!==r&&"selectordinal"!==r){if(60===s&&!this.ignoreTag&&47===this.peek()){if(h)break;return this.error(n.UNMATCHED_CLOSING_TAG,k(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&et(this.peek()||0)){if((a=this.parseTag(t,r)).err)return a;e.push(a.val)}else{var a;if((a=this.parseLiteral(t,r)).err)return a;e.push(a.val)}}else{var o=this.clonePosition();this.bump(),e.push({type:i.pound,location:k(o,this.clonePosition())})}}}return{val:e,err:null}},t.prototype.parseTag=function(t,r){var h=this.clonePosition();this.bump();var e=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:i.literal,value:"<".concat(e,"/>"),location:k(h,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var a=s.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!et(this.char()))return this.error(n.INVALID_TAG,k(o,this.clonePosition()));var u=this.clonePosition();return e!==this.parseTagName()?this.error(n.UNMATCHED_CLOSING_TAG,k(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:i.tag,value:e,children:a,location:k(h,this.clonePosition())},err:null}:this.error(n.INVALID_TAG,k(o,this.clonePosition())))}return this.error(n.UNCLOSED_TAG,k(h,this.clonePosition()))}return this.error(n.INVALID_TAG,k(h,this.clonePosition()))},t.prototype.parseTagName=function(){var t,r=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(r,this.offset())},t.prototype.parseLiteral=function(t,r){for(var h=this.clonePosition(),e="";;){var n=this.tryParseQuote(r);if(n)e+=n;else{var s=this.tryParseUnquoted(t,r);if(s)e+=s;else{var a=this.tryParseLeftAngleBracket();if(!a)break;e+=a}}}var o=k(h,this.clonePosition());return{val:{type:i.literal,value:e,location:o},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(et(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var h=this.char();if(39===h){if(39!==this.peek()){this.bump();break}r.push(39),this.bump()}else r.push(h);this.bump()}return J.apply(void 0,r)},t.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var h=this.char();return 60===h||123===h||35===h&&("plural"===r||"selectordinal"===r)||125===h&&t>0?null:(this.bump(),J(h))},t.prototype.parseArgument=function(t,r){var h=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,k(h,this.clonePosition()));if(125===this.char())return this.bump(),this.error(n.EMPTY_ARGUMENT,k(h,this.clonePosition()));var e=this.parseIdentifierIfPossible().value;if(!e)return this.error(n.MALFORMED_ARGUMENT,k(h,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,k(h,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:i.argument,value:e,location:k(h,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,k(h,this.clonePosition())):this.parseArgumentOptions(t,r,e,h);default:return this.error(n.MALFORMED_ARGUMENT,k(h,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),h=X(this.message,r);return this.bumpTo(r+h.length),{value:h,location:k(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,r,h,e){var o,u=this.clonePosition(),c=this.parseIdentifierIfPossible().value,f=this.clonePosition();switch(c){case"":return this.error(n.EXPECT_ARGUMENT_TYPE,k(u,f));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var H=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(p=q(y.val)).length)return this.error(n.EXPECT_ARGUMENT_STYLE,k(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:k(H,this.clonePosition())}}if((w=this.tryParseArgumentClose(e)).err)return w;var B=k(e,this.clonePosition());if(l&&Y(null==l?void 0:l.style,"::",0)){var b=$(l.style.slice(2));if("number"===c)return(y=this.parseNumberSkeletonFromString(b,l.styleLocation)).err?y:{val:{type:i.number,value:h,location:B,style:y.val},err:null};if(0===b.length)return this.error(n.EXPECT_DATE_TIME_SKELETON,B);var v=b;this.locale&&(v=function(t,r){for(var h="",e=0;e<t.length;e++){var n=t.charAt(e);if("j"===n){for(var i=0;e+1<t.length&&t.charAt(e+1)===n;)i++,e++;var s=1+(1&i),a=i<2?1:3+(i>>1),o=G(r);for("H"!=o&&"k"!=o||(a=0);a-- >0;)h+="a";for(;s-- >0;)h=o+h}else h+="J"===n?"H":n}return h}(b,this.locale));var p={type:s.dateTime,pattern:v,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?m(v):{}};return{val:{type:"date"===c?i.date:i.time,value:h,location:B,style:p},err:null}}return{val:{type:"number"===c?i.number:"date"===c?i.date:i.time,value:h,location:B,style:null!==(o=null==l?void 0:l.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(n.EXPECT_SELECT_ARGUMENT_OPTIONS,k(E,a({},E)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),g=0;if("select"!==c&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=y.val}var w,T=this.tryParsePluralOrSelectOptions(t,c,r,d);if(T.err)return T;if((w=this.tryParseArgumentClose(e)).err)return w;var A=k(e,this.clonePosition());return"select"===c?{val:{type:i.select,value:h,options:z(T.val),location:A},err:null}:{val:{type:i.plural,value:h,options:z(T.val),offset:g,pluralType:"plural"===c?"cardinal":"ordinal",location:A},err:null};default:return this.error(n.INVALID_ARGUMENT_TYPE,k(u,f))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,k(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var h=this.clonePosition();if(!this.bumpUntil("'"))return this.error(n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,k(h,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(r.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(r.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,r){var h=[];try{h=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var r=[],h=0,e=t.split(w).filter((function(t){return t.length>0}));h<e.length;h++){var n=e[h].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var i=n[0],s=n.slice(1),a=0,o=s;a<o.length;a++)if(0===o[a].length)throw new Error("Invalid number skeleton");r.push({stem:i,options:s})}return r}(t)}catch(t){return this.error(n.INVALID_NUMBER_SKELETON,r)}return{val:{type:s.number,tokens:h,location:r,parsedOptions:this.shouldParseSkeletons?L(h):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,r,h,e){for(var i,s=!1,a=[],o=new Set,u=e.value,c=e.location;;){if(0===u.length){var f=this.clonePosition();if("select"===r||!this.bumpIf("="))break;var l=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_SELECTOR,n.INVALID_PLURAL_ARGUMENT_SELECTOR);if(l.err)return l;c=k(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}if(o.has(u))return this.error("select"===r?n.DUPLICATE_SELECT_ARGUMENT_SELECTOR:n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(s=!0),this.bumpSpace();var H=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===r?n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,k(this.clonePosition(),this.clonePosition()));var B=this.parseMessage(t+1,r,h);if(B.err)return B;var b=this.tryParseArgumentClose(H);if(b.err)return b;a.push([u,{value:B.val,location:k(H,this.clonePosition())}]),o.add(u),this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===a.length?this.error("select"===r?n.EXPECT_SELECT_ARGUMENT_SELECTOR:n.EXPECT_PLURAL_ARGUMENT_SELECTOR,k(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(n.MISSING_OTHER_CLAUSE,k(this.clonePosition(),this.clonePosition())):{val:a,err:null}},t.prototype.tryParseDecimalInteger=function(t,r){var h=1,e=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(h=-1);for(var n=!1,i=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;n=!0,i=10*i+(s-48),this.bump()}var a=k(e,this.clonePosition());return n?x(i*=h)?{val:i,err:null}:this.error(r,a):this.error(t,a)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Q(this.message,t);if(void 0===r)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},t.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(Y(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(t){var r=this.offset(),h=this.message.indexOf(t,r);return h>=0?(this.bumpTo(h),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&nt(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),h=this.message.charCodeAt(r+(t>=65536?2:1));return null!=h?h:null},t}();function et(t){return t>=97&&t<=122||t>=65&&t<=90}function nt(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function it(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function st(t){t.forEach((function(t){if(delete t.location,B(t)||b(t))for(var r in t.options)delete t.options[r].location,st(t.options[r].value);else f(t)&&E(t.style)||(l(t)||H(t))&&d(t.style)?delete t.style.location:p(t)&&st(t.children)}))}function at(t,r){void 0===r&&(r={}),r=a({shouldParseSkeletons:!0,requiresOtherClause:!0},r);var h=new ht(t,r).parse();if(h.err){var e=SyntaxError(n[h.err.kind]);throw e.location=h.err.location,e.originalMessage=h.err.message,e}return(null==r?void 0:r.captureLocation)||st(h.val),h.val}function ot(t,r){return(r&&r.strategy?r.strategy:lt)(t,{cache:r&&r.cache?r.cache:vt,serializer:r&&r.serializer?r.serializer:Ht})}function ut(t,r,h,e){var n,i=null==(n=e)||"number"==typeof n||"boolean"==typeof n?e:h(e),s=r.get(i);return void 0===s&&(s=t.call(this,e),r.set(i,s)),s}function ct(t,r,h){var e=Array.prototype.slice.call(arguments,3),n=h(e),i=r.get(n);return void 0===i&&(i=t.apply(this,e),r.set(n,i)),i}function ft(t,r,h,e,n){return h.bind(r,t,e,n)}function lt(t,r){return ft(t,this,1===t.length?ut:ct,r.cache.create(),r.serializer)}var Ht=function(){return JSON.stringify(arguments)};function Bt(){this.cache=Object.create(null)}Bt.prototype.get=function(t){return this.cache[t]},Bt.prototype.set=function(t,r){this.cache[t]=r};var bt,vt={create:function(){return new Bt}},pt={variadic:function(t,r){return ft(t,this,ct,r.cache.create(),r.serializer)},monadic:function(t,r){return ft(t,this,ut,r.cache.create(),r.serializer)}};!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(bt||(bt={}));var Et,dt=function(t){function r(r,h,e){var n=t.call(this,r)||this;return n.code=h,n.originalMessage=e,n}return e(r,t),r.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},r}(Error),gt=function(t){function r(r,h,e,n){return t.call(this,'Invalid values for "'.concat(r,'": "').concat(h,'". Options are "').concat(Object.keys(e).join('", "'),'"'),bt.INVALID_VALUE,n)||this}return e(r,t),r}(dt),yt=function(t){function r(r,h,e){return t.call(this,'Value for "'.concat(r,'" must be of type ').concat(h),bt.INVALID_VALUE,e)||this}return e(r,t),r}(dt),mt=function(t){function r(r,h){return t.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(h,'"'),bt.MISSING_VALUE,h)||this}return e(r,t),r}(dt);function wt(t){return"function"==typeof t}function Tt(t,r,h,e,n,i,s){if(1===t.length&&u(t[0]))return[{type:Et.literal,value:t[0].value}];for(var a=[],o=0,g=t;o<g.length;o++){var y=g[o];if(u(y))a.push({type:Et.literal,value:y.value});else if(v(y))"number"==typeof i&&a.push({type:Et.literal,value:h.getNumberFormat(r).format(i)});else{var m=y.value;if(!n||!(m in n))throw new mt(m,s);var w=n[m];if(c(y))w&&"string"!=typeof w&&"number"!=typeof w||(w="string"==typeof w||"number"==typeof w?String(w):""),a.push({type:"string"==typeof w?Et.literal:Et.object,value:w});else if(l(y)){var T="string"==typeof y.style?e.date[y.style]:d(y.style)?y.style.parsedOptions:void 0;a.push({type:Et.literal,value:h.getDateTimeFormat(r,T).format(w)})}else if(H(y))T="string"==typeof y.style?e.time[y.style]:d(y.style)?y.style.parsedOptions:e.time.medium,a.push({type:Et.literal,value:h.getDateTimeFormat(r,T).format(w)});else if(f(y))(T="string"==typeof y.style?e.number[y.style]:E(y.style)?y.style.parsedOptions:void 0)&&T.scale&&(w*=T.scale||1),a.push({type:Et.literal,value:h.getNumberFormat(r,T).format(w)});else{if(p(y)){var A=y.children,S=y.value,_=n[S];if(!wt(_))throw new yt(S,"function",s);var N=_(Tt(A,r,h,e,n,i).map((function(t){return t.value})));Array.isArray(N)||(N=[N]),a.push.apply(a,N.map((function(t){return{type:"string"==typeof t?Et.literal:Et.object,value:t}})))}if(B(y)){if(!(I=y.options[w]||y.options.other))throw new gt(y.value,w,Object.keys(y.options),s);a.push.apply(a,Tt(I.value,r,h,e,n))}else if(b(y)){var I;if(!(I=y.options["=".concat(w)])){if(!Intl.PluralRules)throw new dt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',bt.MISSING_INTL_API,s);var M=h.getPluralRules(r,{type:y.pluralType}).select(w-(y.offset||0));I=y.options[M]||y.options.other}if(!I)throw new gt(y.value,w,Object.keys(y.options),s);a.push.apply(a,Tt(I.value,r,h,e,n,w-(y.offset||0)))}}}}return(R=a).length<2?R:R.reduce((function(t,r){var h=t[t.length-1];return h&&h.type===Et.literal&&r.type===Et.literal?h.value+=r.value:t.push(r),t}),[]);var R}function At(t){return{create:function(){return{get:function(r){return t[r]},set:function(r,h){t[r]=h}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(Et||(Et={}));var St=function(){function t(r,h,e,n){void 0===h&&(h=t.defaultLocale);var i,s,u,c=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var r=c.formatToParts(t);if(1===r.length)return r[0].value;var h=r.reduce((function(t,r){return t.length&&r.type===Et.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=r.value:t.push(r.value),t}),[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(t){return Tt(c.ast,c.locales,c.formatters,c.formats,t,void 0,c.message)},this.resolvedOptions=function(){var t;return{locale:(null===(t=c.resolvedLocale)||void 0===t?void 0:t.toString())||Intl.NumberFormat.supportedLocalesOf(c.locales)[0]}},this.getAst=function(){return c.ast},this.locales=h,this.resolvedLocale=t.resolveLocale(h),"string"==typeof r){if(this.message=r,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var f=function(t,r){var h={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0&&(h[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(e=Object.getOwnPropertySymbols(t);n<e.length;n++)r.indexOf(e[n])<0&&Object.prototype.propertyIsEnumerable.call(t,e[n])&&(h[e[n]]=t[e[n]])}return h}(n||{},["formatters"]);this.ast=t.__parse(r,a(a({},f),{locale:this.resolvedLocale}))}else this.ast=r;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(s=t.formats,(u=e)?Object.keys(s).reduce((function(t,r){var h,e;return t[r]=(h=s[r],(e=u[r])?a(a(a({},h||{}),e||{}),Object.keys(h).reduce((function(t,r){return t[r]=a(a({},h[r]),e[r]||{}),t}),{})):h),t}),a({},s)):s),this.formatters=n&&n.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ot((function(){for(var t,r=[],h=0;h<arguments.length;h++)r[h]=arguments[h];return new((t=Intl.NumberFormat).bind.apply(t,o([void 0],r,!1)))}),{cache:At(i.number),strategy:pt.variadic}),getDateTimeFormat:ot((function(){for(var t,r=[],h=0;h<arguments.length;h++)r[h]=arguments[h];return new((t=Intl.DateTimeFormat).bind.apply(t,o([void 0],r,!1)))}),{cache:At(i.dateTime),strategy:pt.variadic}),getPluralRules:ot((function(){for(var t,r=[],h=0;h<arguments.length;h++)r[h]=arguments[h];return new((t=Intl.PluralRules).bind.apply(t,o([void 0],r,!1)))}),{cache:At(i.pluralRules),strategy:pt.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){if(void 0!==Intl.Locale){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale("string"==typeof t?t:t[0])}},t.__parse=at,t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}();const _t={},Nt=["ar","cs","da","de","en","es-es","es","fi","fr-ca","fr","he","it","ja","ko","nl","no","pl","pt-br","pt-pt","ru","sv","th","tr","uk","zh-cn","zh-tw"],It={ar:6,cs:1,da:1,de:1,en:0,"es-es":1,es:1,fi:1,"fr-ca":0,fr:1,he:0,it:1,ja:0,ko:0,nl:1,no:1,pl:1,"pt-br":0,"pt-pt":0,ru:1,sv:1,th:0,tr:1,uk:1,"zh-cn":1,"zh-tw":0},Mt="en";async function Rt(r,h,e){let n=h,i="en";void 0!==r&&(i=Lt(r),n=await async function(r,h,e,n){const i=n||r.tagName.toLocaleLowerCase().replace(/-beta$/,"");let s;if(r["i18n-resources"])s=r["i18n-resources"];else if(e!==Mt)try{s=await(async(r,h)=>{if(!_t[h]){const r=((r="en")=>t(`i18n/genesys-webcomponents.i18n.${r}.json`))(h),e=await fetch(r),n=await e.json();_t[h]=n}return _t[h][r]})(i,e)}catch(t){s=null}return s||(s=h),s}(r,h,i,e));const s=Object.entries(n).reduce(((t,[r,h])=>(t.set(r,new St(h,i)),t)),new Map),a=Object.entries(h).reduce(((t,[r,h])=>(t.set(r,new St(h,Mt)),t)),new Map);return(t,r)=>{var h,e;let n=null===(h=s.get(t))||void 0===h?void 0:h.format(r);return n||(n=null===(e=a.get(t))||void 0===e?void 0:e.format(r),console.warn(`No localized string available for "${t}-${n}" for "${i}" locale. Falling back to English translation.`)),n}}function Lt(t){const h=function(t){const h=r("[lang]",t);return h&&h.lang?h.lang.toLowerCase():Mt}(t),e=h.split(/[_-]/)[0];return Nt.indexOf(h)>=0?h:Nt.indexOf(e)>=0?e:Mt}function Ct(t=Mt){return It[t]?It[t]:It[Mt]}export{Ct as a,Rt as b,Lt as g,Nt as l}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as t,g as r}from"./p-deca7631.js";import{b as
|
1
|
+
import{r as e,h as t,g as r}from"./p-deca7631.js";import{b as o}from"./p-e10cb032.js";import{c as i,o as s}from"./p-16f3da0d.js";import{O as l}from"./p-d6edbaeb.js";import{o as a}from"./p-37bfd195.js";import{h as n}from"./p-324b23f3.js";import{G as h,a as f,s as d,c as p,b as u}from"./p-e5766b80.js";import{G as g,a as m}from"./p-8324a0ac.js";import{g as x}from"./p-dd53013c.js";import{t as c}from"./p-3dc4aa8e.js";import"./p-0962dd7a.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const b={required:"Required"};const v=class{constructor(t){e(this,t),this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}watchValue(e){const t=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");t&&(t.hasError=e)}onMutation(){this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help")}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}renderScreenReaderText(e,r=!1){if(r)return t("gux-screen-reader-beta",null,e)}render(){return t(m,{labelPosition:this.computedLabelPosition},t(g,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()}),this.renderScreenReaderText(this.getI18nValue("required"),this.required),this.renderScreenReaderText(x(this.root,"error"),this.hasError),this.renderScreenReaderText(x(this.root,"help"),this.hasHelp)),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("slot",null)),t(h,{show:this.hasError},t("slot",{name:"error"})),t(f,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.disabled=i(this.dropdownElement),this.required=this.dropdownElement.required,this.disabledObserver=s(this.dropdownElement,(e=>{this.disabled=e})),this.requiredObserver=a(this.dropdownElement,(e=>{this.required=e})),d(this.root,this.listboxElement,"label"),p(this.root,this.listboxElement,"error"),p(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=u(this.label,this.labelPosition)}get root(){return r(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,t,r,o){var i,s=arguments.length,l=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(s<3?i(l):s>3?i(t,r,l):i(t,r))||l);s>3&&l&&Object.defineProperty(t,r,l)})([l({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style='.gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-legend-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);float:left;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-legend-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1;width:100%}.gux-input-and-error-container .gux-input.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}';export{v as gux_form_field_dropdown}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,f as o,h as r,g as e}from"./p-deca7631.js";import{c as i,o as n}from"./p-16f3da0d.js";import{O as l}from"./p-d6edbaeb.js";import{o as s}from"./p-37bfd195.js";import{p as a}from"./p-28f55159.js";import{h as u}from"./p-324b23f3.js";import{h as f,c as p,d as h,G as g,a as d,g as x,v as m,b as c}from"./p-e5766b80.js";import{G as v,a as b}from"./p-2b468e4b.js";import{t as C}from"./p-3dc4aa8e.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const w=class{constructor(o){t(this,o),this.clearable=void 0,this.labelPosition=void 0,this.hasPrefix=void 0,this.hasSuffix=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}async guxForceUpdate(){this.hasContent=f(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&p(this.root,this.input,"prefix"),this.hasSuffix&&p(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(b,{labelPosition:this.computedLabelPosition},r(v,{position:this.computedLabelPosition,required:this.required},r("slot",{name:"label",onSlotchange:()=>this.setLabel()})),r("div",{class:"gux-input-and-error-container"},r("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix}},r("slot",{name:"prefix"}),r("slot",{name:"input"}),r("slot",{name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&r("gux-form-field-input-clear-button",{onClick:()=>h(this.input)}))),r(g,{show:this.hasError},r("slot",{name:"error"})),r(d,{show:!this.hasError&&this.hasHelp},r("slot",{name:"help"}))))}get variant(){const t=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${t}`}setInput(){this.input=x(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=f(this.input),a(this.input),this.input.addEventListener("input",(()=>{this.hasContent=f(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(t=>{this.disabled=t})),this.requiredObserver=s(this.input,(t=>{this.required=t})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}get root(){return e(this)}};(function(t,o,r,e){var i,n=arguments.length,l=n<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,o,r,e);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([l({childList:!0,subtree:!0})],w.prototype,"onMutation",null),w.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;text-decoration:none;white-space:nowrap}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items: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);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:right}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{w as gux_form_field_text_like}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,h as a,g as i}from"./p-deca7631.js";import{t as n}from"./p-
|
1
|
+
import{r as t,c as e,h as a,g as i}from"./p-deca7631.js";import{t as n}from"./p-3dc4aa8e.js";import{b as o}from"./p-e10cb032.js";import"./p-0962dd7a.js";const s={previous:"Previous",next:"Next"},r=class{constructor(a){t(this,a),this.guxPaginationCursorchange=e(this,"guxPaginationCursorchange",7),this.guxitemsperpagechange=e(this,"guxitemsperpagechange",7),this.hasPrevious=!1,this.hasNext=!1,this.itemsPerPage=void 0,this.layout="simple"}handleInternalitemsperpagechange(t){this.guxitemsperpagechange.emit(t.detail)}onButtonClick(t){("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){n(this.root),this.i18n=await o(this.root,s)}renderSimpleLayout(){return[a("div",{role:"navigation",class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("gux-icon",{iconName:"chevron-small-left","screenreader-text":this.i18n("previous")}))),a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("gux-icon",{iconName:"chevron-small-right","screenreader-text":this.i18n("next")}))))]}renderAdvancedLayout(){return[a("div",{role:"navigation",class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("div",{class:"gux-button-align-content"},a("gux-icon",{decorative:!0,iconName:"chevron-small-left"}),a("span",null,this.i18n("previous"))))),a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("div",{class:"gux-button-align-content"},a("span",null,this.i18n("next")),a("gux-icon",{decorative:!0,iconName:"chevron-small-right"}))))),this.renderItemsPerPage()]}renderItemsPerPage(){return this.itemsPerPage&&a("gux-pagination-items-per-page-beta",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})}render(){return"advanced"===this.layout?this.renderAdvancedLayout():this.renderSimpleLayout()}get root(){return i(this)}};r.style=":host{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;padding:var(--gse-ui-dataTableItems-tablePagination-padding);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor);border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}:host .gux-pagination-button-container{display:flex;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:center}:host .gux-button-align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);align-content:center;align-items:center}:host .gux-button-align-content>*{flex:0 1 auto;align-self:auto;order:0}:host gux-icon{width:var(--gse-ui-button-icon-size);height:var(--gse-ui-button-icon-size)}";export{r as gux_pagination_cursor}
|