genesys-spark-components 4.117.1 → 4.119.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/{get-valid-timezone-eb9723e2.js → get-valid-timezone-a3319313.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 +1 -1
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
- 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-avatar-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-overflow-beta_2.cjs.entry.js +3 -3
- package/dist/cjs/gux-badge.cjs.entry.js +3 -3
- package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
- package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
- 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 +3 -3
- 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 +2 -2
- 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 +36 -16
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +11 -9
- package/dist/cjs/gux-file-list-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-icon.cjs.entry.js +3 -2
- package/dist/cjs/gux-inline-alert.cjs.entry.js +2 -2
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +9 -12
- package/dist/cjs/{gux-listbox.service-a91f8bd2.js → gux-listbox.service-01e82389.js} +9 -6
- 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-side-panel-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-popup.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-rich-highlight-list-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-style-list-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-list.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 +2 -2
- 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-selector-card-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-sort-control.cjs.entry.js +2 -2
- package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-item.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 +1 -1
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
- 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 +1 -1
- 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 +20 -6
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +17 -8
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +17 -8
- package/dist/cjs/{index-220b0ad3.js → index-8194d25c.js} +46 -38
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{time-zone-7ad4a25c.js → time-zone-57632efb.js} +28 -28
- package/dist/cjs/{usage-ca5986d6.js → usage-d81f425f.js} +7 -8
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.css +3 -3
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.css +1 -1
- package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.css +5 -5
- package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.css +1 -1
- package/dist/collection/components/beta/gux-label-info/gux-label-info.css +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.css +2 -2
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.css +2 -2
- package/dist/collection/components/beta/gux-month-picker/gux-month-picker.css +3 -3
- package/dist/collection/components/beta/gux-phone-input/gux-phone-input.css +3 -3
- package/dist/collection/components/beta/gux-popover-beta/gux-popover.css +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.css +3 -3
- package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.css +1 -1
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.css +2 -2
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.css +2 -2
- package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.css +1 -2
- package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +27 -6
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.css +2 -2
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons-legacy.css +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.css +1 -1
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.css +2 -2
- package/dist/collection/components/stable/gux-badge/gux-badge.css +1 -1
- package/dist/collection/components/stable/gux-button/gux-button.css +1 -1
- package/dist/collection/components/stable/gux-button-slot/gux-button-slot.css +1 -1
- package/dist/collection/components/stable/gux-calendar/gux-calendar.css +3 -3
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +1 -1
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager.css +1 -1
- package/dist/collection/components/stable/gux-content-search/gux-content-search.css +6 -6
- package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.css +1 -1
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.css +9 -9
- package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.css +1 -0
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.css +2 -2
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +5 -3
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.css +1 -1
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.css +6 -3
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +33 -13
- package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.css +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.css +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.css +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.css +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +5 -5
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +6 -6
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.css +1 -1
- package/dist/collection/components/stable/gux-icon/gux-icon.js +2 -1
- package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.css +3 -3
- package/dist/collection/components/stable/gux-listbox/gux-listbox.css +1 -1
- package/dist/collection/components/stable/gux-listbox/gux-listbox.js +1 -1
- package/dist/collection/components/stable/gux-listbox/gux-listbox.service.js +8 -6
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.css +1 -1
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +1 -1
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.css +1 -1
- package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.css +1 -1
- package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +6 -9
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +1 -1
- package/dist/collection/components/stable/gux-popover/gux-popover.css +1 -1
- package/dist/collection/components/stable/gux-popup/gux-popup.css +2 -2
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.css +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.css +1 -1
- package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.css +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.css +1 -1
- package/dist/collection/components/stable/gux-tag/gux-tag.css +2 -2
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.css +3 -3
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +17 -3
- package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.css +1 -1
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.css +1 -2
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +27 -6
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/{get-valid-timezone-f5a3567c.js → get-valid-timezone-8f24f07d.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 +1 -1
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
- 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-avatar-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-overflow-beta_2.entry.js +3 -3
- package/dist/esm/gux-badge.entry.js +3 -3
- package/dist/esm/gux-blank-state.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +2 -2
- package/dist/esm/gux-button-multi.entry.js +1 -1
- package/dist/esm/gux-button-slot.entry.js +2 -2
- package/dist/esm/gux-button_2.entry.js +3 -3
- package/dist/esm/gux-calendar-beta.entry.js +2 -2
- package/dist/esm/gux-calendar.entry.js +3 -3
- 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 +3 -3
- 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 +2 -2
- 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 +36 -16
- package/dist/esm/gux-dropdown_3.entry.js +11 -9
- package/dist/esm/gux-file-list-item.entry.js +2 -2
- package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
- package/dist/esm/gux-flyout-menu.entry.js +2 -2
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/gux-form-field-file-beta.entry.js +2 -2
- package/dist/esm/gux-form-field-file.entry.js +1 -1
- package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
- package/dist/esm/gux-form-field-label-indicator.entry.js +2 -2
- package/dist/esm/gux-form-field-number_2.entry.js +3 -3
- package/dist/esm/gux-form-field-phone.entry.js +2 -2
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +2 -2
- package/dist/esm/gux-form-field-radio.entry.js +2 -2
- package/dist/esm/gux-form-field-range.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +2 -2
- package/dist/esm/gux-form-footer.entry.js +1 -1
- package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
- package/dist/esm/gux-icon.entry.js +3 -2
- package/dist/esm/gux-inline-alert.entry.js +2 -2
- package/dist/esm/gux-label-info-beta.entry.js +2 -2
- package/dist/esm/gux-link-beta.entry.js +1 -1
- package/dist/esm/gux-list-item.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +1 -1
- package/dist/esm/gux-listbox-multi.entry.js +9 -12
- package/dist/esm/{gux-listbox.service-28ef1770.js → gux-listbox.service-503fe0e2.js} +9 -7
- 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-side-panel-beta.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +1 -1
- package/dist/esm/gux-month-calendar.entry.js +2 -2
- package/dist/esm/gux-month-list_2.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +3 -3
- package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-option-icon.entry.js +1 -1
- package/dist/esm/gux-option-multi.entry.js +2 -2
- package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons_2.entry.js +1 -1
- package/dist/esm/gux-pagination-cursor.entry.js +2 -2
- package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +1 -1
- package/dist/esm/gux-pagination.entry.js +1 -1
- package/dist/esm/gux-phone-input-beta.entry.js +3 -3
- package/dist/esm/gux-popover-beta.entry.js +2 -2
- package/dist/esm/gux-popover-list-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +1 -1
- package/dist/esm/gux-popup.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-rich-highlight-list-item.entry.js +2 -2
- package/dist/esm/gux-rich-style-list-item.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-action.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
- package/dist/esm/gux-row-select.entry.js +1 -1
- package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
- 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-selector-card-beta.entry.js +2 -2
- package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
- package/dist/esm/gux-side-panel-beta.entry.js +1 -1
- package/dist/esm/gux-side-panel-heading.entry.js +1 -1
- package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
- package/dist/esm/gux-sort-control.entry.js +2 -2
- package/dist/esm/gux-submenu.entry.js +1 -1
- package/dist/esm/gux-switch-item.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +1 -1
- package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
- package/dist/esm/gux-tab-advanced.entry.js +2 -2
- package/dist/esm/gux-tab-list.entry.js +1 -1
- package/dist/esm/gux-tab.entry.js +1 -1
- package/dist/esm/gux-table-select-menu.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
- 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 +1 -1
- 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 +20 -6
- package/dist/esm/gux-time-zone-beta.entry.js +3 -3
- package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
- package/dist/esm/gux-toast.entry.js +1 -1
- package/dist/esm/gux-toggle-slider.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +2 -2
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +17 -8
- package/dist/esm/gux-tooltip_2.entry.js +17 -8
- package/dist/esm/{index-2b763ad6.js → index-5a5cba3c.js} +46 -38
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{time-zone-c027255e.js → time-zone-b2752992.js} +28 -28
- package/dist/esm/{usage-e8976a15.js → usage-617fb7c6.js} +7 -8
- package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-f2b3df76.entry.js → p-00045e83.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-802c2b4c.entry.js → p-01234f9a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8d0d9ff2.entry.js → p-0131d66d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3c252cef.entry.js → p-02c27785.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50a90009.entry.js → p-03d35288.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4bea462c.entry.js → p-06a1bae8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-77c9dd08.entry.js → p-07286288.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c0945b1c.entry.js → p-0728f892.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6ece1f71.entry.js → p-07b68ed1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-911ffdce.entry.js → p-087b58ee.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b21fd159.entry.js → p-08cbe8fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2ad11801.entry.js → p-0b867a83.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f8834ce7.entry.js → p-0c5f9f4f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b4189ca0.entry.js → p-0cae5bfd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8b40c6da.entry.js → p-0d580699.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-461e6b77.entry.js → p-0d934a3d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d562b786.entry.js → p-0eb351d0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2c392c7b.entry.js → p-0fb6d461.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6da82dff.entry.js → p-135fb4e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-49983f66.entry.js → p-1380d5b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8021a71b.entry.js → p-18789e75.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a05ea3e0.entry.js → p-1a015288.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1a4920de.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8151cf48.entry.js → p-1b2d2eed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8e267d19.entry.js → p-1d4b126d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-967dc012.entry.js → p-1d956af6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d81e7c2.entry.js → p-1f5ba159.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1f5e3298.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-495559c4.entry.js → p-1f7b6359.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a5c5c091.entry.js → p-24740f58.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ec8865bd.entry.js → p-2503e59c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4c09e3cd.js → p-258c7d6d.js} +1 -1
- package/dist/genesys-webcomponents/p-298963ef.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-dbab684a.entry.js → p-29ad4ea5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-394aeb0c.entry.js → p-29e37058.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cf9219d6.entry.js → p-2becddd0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e1c7853.entry.js → p-2d363bcd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f9eb4c6b.entry.js → p-2da88b24.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-310496d8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8c1e1ff9.entry.js → p-31a07a05.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-151dc2a8.entry.js → p-3230d42c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-34cb9660.entry.js → p-33a42484.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d49baa9e.entry.js → p-33aab5f6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-54c5412e.entry.js → p-34996701.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f1360ae0.entry.js → p-35cfef17.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fdb24fc1.entry.js → p-376672c7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ad8f1cb8.entry.js → p-3f871045.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-403cab4f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-83eecbbf.entry.js → p-423ff2fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6a18f946.entry.js → p-4453a5f8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d89f45b7.entry.js → p-468c8f02.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e7dabdda.entry.js → p-46cd70db.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3aed72b9.entry.js → p-4910c889.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b62af6cb.entry.js → p-496ded7f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-87c1462a.entry.js → p-4c555aed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b74c847f.entry.js → p-4d7f8b4c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-abbc5521.entry.js → p-4f1e32ce.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-505e4374.entry.js → p-4ff051ed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b31f2f0.entry.js → p-56a4fab5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3e46b885.entry.js → p-56ef3deb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d15e56ab.entry.js → p-57206e4b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d787977.entry.js → p-57f18525.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24cf2d55.entry.js → p-5d93ef15.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-28e0a88d.entry.js → p-5dd04ed8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f88baf03.entry.js → p-5f21d480.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-54fabb39.entry.js → p-6341e3be.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ae3a3897.entry.js → p-63672d73.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4c7697f1.entry.js → p-657fa051.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7ce9947c.entry.js → p-65fb4722.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5675aafc.entry.js → p-674a0da8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-92fd14f2.entry.js → p-6824e64a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-170a0447.entry.js → p-6b062987.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b3be92e.entry.js → p-6b70a0c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ddadda8a.entry.js → p-7294f3db.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-33d96212.entry.js → p-732e652b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4cb43a74.js → p-73e1f574.js} +1 -1
- package/dist/genesys-webcomponents/{p-c1cbff41.entry.js → p-75157743.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3cccde7d.entry.js → p-75cc895d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b0473145.entry.js → p-76c54dc2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-051d678f.entry.js → p-77cbafc3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eb411e9d.entry.js → p-7e41ecb6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-acad3cce.entry.js → p-82d45aa6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ecd05c82.entry.js → p-82f15046.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e636a76.entry.js → p-8304d883.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-870844dc.js +1 -0
- package/dist/genesys-webcomponents/{p-1af305d6.entry.js → p-88ff270e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-db9ef81a.entry.js → p-8a16e8d3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e432873c.entry.js → p-8cb06422.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b26f8d50.entry.js → p-8dfe9b70.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3cd9f2e4.entry.js → p-8f740fdd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d9b6a92.entry.js → p-962f5977.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-df249b90.entry.js → p-98b4f987.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7f8cfbc1.entry.js → p-99307967.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4de5136a.entry.js → p-9c850ac9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-92a351fe.entry.js → p-9dd9ba83.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-02e35ffd.entry.js → p-a804b191.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0c7ebabe.entry.js → p-ad1d5433.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1e9f7a81.entry.js → p-ae466b9b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cbdb1b93.entry.js → p-b219aa3a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e09c81dc.entry.js → p-b2d35493.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e3c058e.entry.js → p-b518cf10.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0cbfc146.entry.js → p-b5cf5e85.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-29f74158.entry.js → p-b6e2cd11.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-78ba8696.entry.js → p-b9a8d8ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-78af46c6.entry.js → p-bcdfd45d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f02f48a2.entry.js → p-bcf3c2c8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c22a39b0.entry.js → p-bd41883f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b18096eb.js → p-bd48b8c8.js} +1 -1
- package/dist/genesys-webcomponents/{p-362dae47.entry.js → p-becf7b38.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bb7663e1.entry.js → p-c4ac5f76.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6da9c241.entry.js → p-c566abc4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4be14ef7.entry.js → p-c63fbfc8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d06fa0fa.entry.js → p-c7e70a1e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aa821870.entry.js → p-c9392107.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1cfff78a.entry.js → p-cb8a0a99.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70cbae65.entry.js → p-cd84603e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d037e1e9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-98717a5f.entry.js → p-d0a152e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d15985f1.js +1 -0
- package/dist/genesys-webcomponents/{p-39b41b4b.entry.js → p-d183c456.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f8909bfc.entry.js → p-d1c716ff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f3d0161c.entry.js → p-d909769f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b0b47a99.entry.js → p-de63aa28.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b307cbd2.entry.js → p-df189d25.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1a4484a2.entry.js → p-e53278db.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-62f2d75a.entry.js → p-e7ecef97.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3e738819.entry.js → p-e8ddf319.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e8e35031.entry.js +1 -0
- package/dist/genesys-webcomponents/p-e9b10c08.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-264ef997.entry.js → p-ecbb9027.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ed21a470.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-883eeedb.entry.js → p-ee68f5b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-772e752d.entry.js → p-efb233cc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ffc937e3.entry.js → p-f31c5f70.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f8cb007.entry.js → p-f382d13f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f8f6b03.entry.js → p-f4be9856.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8b750f9a.entry.js → p-f5d5dc00.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8f1cd797.entry.js → p-f61bca0c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-87f6c76f.entry.js → p-f898dd52.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-08f0fadb.entry.js → p-fec67d3b.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-tooltip-base/gux-tooltip-base.d.ts +3 -0
- package/dist/types/components/stable/gux-dropdown-multi/gux-dropdown-multi.d.ts +2 -0
- package/dist/types/components/stable/gux-listbox/gux-listbox.service.d.ts +1 -0
- package/dist/types/components/stable/gux-time-picker/gux-time-picker.d.ts +2 -0
- package/dist/types/components/stable/gux-tooltip/gux-tooltip.d.ts +4 -1
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/dist/types/utils/tracking/usage.d.ts +6 -2
- package/package.json +7 -8
- package/dist/genesys-webcomponents/p-1f0748ff.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3750de68.entry.js +0 -1
- package/dist/genesys-webcomponents/p-40c156e4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-787c5373.js +0 -1
- package/dist/genesys-webcomponents/p-7ff98330.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9034cd30.entry.js +0 -1
- package/dist/genesys-webcomponents/p-97c7e77e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-aa79d816.js +0 -1
- package/dist/genesys-webcomponents/p-d762d23a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ecd34ce4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f487bf60.entry.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
import{r as t,f as s,h as e,g as i}from"./p-086c5088.js";import{t as r}from"./p-
|
1
|
+
import{r as t,f as s,h as e,g as i}from"./p-086c5088.js";import{t as r}from"./p-258c7d6d.js";import{h as o}from"./p-274517cc.js";import{O as a}from"./p-9e1bda51.js";import{b as n}from"./p-cf0e7d3b.js";import{b as h}from"./p-d15985f1.js";import{t as l}from"./p-864d63fe.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const u=class{constructor(s){t(this,s),this.value=void 0,this.expanded=!1,this.disabled=!1}onClickOutside(){this.expanded=!1}watchValue(t){this.validateValue(t,this.listElement)}watchDisabled(t){t&&(this.expanded=!1)}onInternallistitemsupdated(t){t.stopPropagation(),s(this.root)}handleKeydown(t){const s=t.composedPath().includes(this.actionButton),e=t.composedPath().includes(this.listElement);switch(t.key){case"Escape":e&&(t.preventDefault(),this.expanded=!1,this.actionButton.focus());break;case"ArrowDown":case"Enter":s&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem());break;case"Tab":this.expanded=!1;break;case"ArrowUp":s&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusLastListItem())}}handleKeyup(t){" "===t.key&&t.composedPath().includes(this.actionButton)&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem())}focusFirstListItem(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){n((()=>{this.listElement.guxFocusLastItem()}))}async componentWillLoad(){r(this.root),this.i18n=await h(this.root,l)}componentWillRender(){(null==this?void 0:this.listElement)&&this.validateValue(this.value,this.listElement)}validateValue(t,s){void 0!==t?this.getListItemElementByValue(t)&&(s.value=t):s.value=t}get listItemElements(){const t=this.listElement.querySelector("slot");if(t)return Array.from(t.assignedElements())}getListItemElementByValue(t){return this.listItemElements.find((s=>s.value===t))}renderTargetDisplay(){if(null==this?void 0:this.listElement){const t=this.getListItemElementByValue(this.value);if(t)return e("span",null,this.renderListItem(t))}}renderListItem(t){return e("gux-truncate",{"max-lines":1},t.textContent)}renderTooltip(){if(!this.disabled&&!this.expanded)return e("gux-tooltip-beta",null,e("div",{slot:"content"},this.i18n("richStyle")))}onActionButtonClick(){this.expanded=!this.expanded,this.expanded&&this.focusFirstListItem()}updateValue(t){this.value!==t&&(this.value=t)}onListClick(t){const s=t.target.closest("gux-rich-style-list-item");s&&(this.expanded=!1,this.updateValue(s.value),this.actionButton.focus())}renderPopup(){return e("div",{class:"gux-list-container",slot:"popup"},e("gux-rich-text-editor-list",{ref:t=>this.listElement=t,onClick:t=>this.onListClick(t)},e("slot",null)))}renderTarget(){return e("gux-button-slot",{accent:"ghost",slot:"target"},e("button",{type:"button",ref:t=>this.actionButton=t,class:{"gux-is-pressed":this.expanded},onClick:()=>this.onActionButtonClick(),disabled:this.disabled||o(this.root),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},this.renderTargetDisplay(),e("gux-icon",{size:"small","icon-name":this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular","screenreader-text":this.i18n("richStyleDropdown")})),this.renderTooltip())}render(){return e("gux-popup",{key:"40e3c24df747dea627240ba4604c7d7c595a83b5",expanded:this.expanded,exceedTargetWidth:!0,placement:"bottom-start"},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};(function(t,s,e,i){var r,o=arguments.length,a=o<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,e,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(o<3?r(a):o>3?r(s,e,a):r(s,e))||a);o>3&&a&&Object.defineProperty(s,e,a)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:block}gux-button-slot button{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:center}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}.gux-list-container{inline-size:214px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_rich_text_editor_action_rich_style}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as i,h as e,g as s}from"./p-086c5088.js";import{r as o}from"./p-0934300e.js";import{t as r}from"./p-
|
1
|
+
import{r as t,c as i,h as e,g as s}from"./p-086c5088.js";import{r as o}from"./p-0934300e.js";import{t as r}from"./p-258c7d6d.js";import{b as a}from"./p-d15985f1.js";import"./p-4202e9f2.js";const n={defaultLabel:"Disclosure button"},c=class{constructor(e){t(this,e),this.active=i(this,"active",7),this.panelId=o("gux-disclosure-button-panel"),this.position="left",this.label=void 0,this.isOpen=!1,this.icon="fa/caret-right-solid"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){this.icon="right"===this.position?this.isOpen?"fa/caret-right-solid":"fa/caret-left-solid":this.isOpen?"fa/caret-left-solid":"fa/caret-right-solid"}async componentWillLoad(){r(this.root,{variant:this.position}),this.i18n=await a(this.root,n),this.updateIcon()}render(){return e("div",{key:"12d9ad893e1226b25102bbdd4430452f86459685",class:`gux-disclosure-button-container gux-${this.position}`},e("button",{key:"6c24ca871d720b53cd976e90191f30da78b520d1",class:"gux-disclosure-button",onClick:()=>this.changeState(),"aria-controls":this.panelId,"aria-expanded":this.isOpen.toString(),"aria-label":this.label||this.i18n("defaultLabel")},e("gux-icon",{key:"aa90e57056dbd73625defccb9d9043a8765be18b","icon-name":`${this.icon}`,decorative:!0})),e("div",{key:"5d1ee4d76e30bd3f1d501bef468976c28d904453",id:this.panelId,class:{"gux-disclosure-panel":!0,"gux-active":this.isOpen},role:"region"},e("slot",{key:"1f1b49bba27c0cf9d7e69a21c6febbb5a869b90d",name:"panel-content"})))}get root(){return s(this)}static get watchers(){return{isOpen:["watchIsOpen"]}}};c.style=":host{height:100%;color:var(--gse-ui-tabs-item-icon-iconColor)}.gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}.gux-disclosure-button-container .gux-disclosure-button{width:16px;padding:0;margin:0;color:var(--gse-ui-tabs-item-icon-iconColor);background:transparent;border-top:none;border-right:1px solid var(--gse-ui-tabs-item-divider-dividerColor);border-bottom:none;border-left:1px solid var(--gse-ui-tabs-item-divider-dividerColor)}.gux-disclosure-button-container .gux-disclosure-button gux-icon{width:12px;height:12px}.gux-disclosure-button-container .gux-disclosure-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-disclosure-button-container .gux-disclosure-panel{display:none;order:-1;width:100%}.gux-disclosure-button-container .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-container.gux-right{justify-content:flex-end}.gux-disclosure-button-container.gux-right .gux-disclosure-panel{order:1}";export{c as gux_disclosure_button_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,h as i,g as s}from"./p-086c5088.js";import{O as a}from"./p-9e1bda51.js";import{w as n}from"./p-e97879b4.js";import{a as o}from"./p-cf0e7d3b.js";import{t as r}from"./p-
|
1
|
+
import{r as t,c as e,h as i,g as s}from"./p-086c5088.js";import{O as a}from"./p-9e1bda51.js";import{w as n}from"./p-e97879b4.js";import{a as o}from"./p-cf0e7d3b.js";import{t as r}from"./p-258c7d6d.js";import{b as c}from"./p-d15985f1.js";import"./p-4202e9f2.js";const d={moreOptions:"More options"},u=["primary","secondary","tertiary","danger"];function l(t){return u.find((e=>e===t))?t:"secondary"}const b=class{constructor(i){t(this,i),this.open=e(this,"open",7),this.close=e(this,"close",7),this.actionClick=e(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){o((()=>{var t;null===(t=this.listElement)||void 0===t||t.focus()}))}focusFirstItemInPopupList(){o((()=>{this.listElement.guxFocusFirstItem()}))}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}onListClick(t){n("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}async componentWillLoad(){r(this.root,{variant:this.type}),this.i18n=await c(this.root,d)}render(){return i("div",{key:"01844aea07004b55a12d1e722300049f8108d6d9",class:"gux-action-button-container"},i("gux-popup",{key:"339ec282d5b932c9086d90592a401f9dceaed8d4",expanded:this.isOpen,disabled:this.disabled,placement:"bottom-end","exceed-target-width":!0},i("div",{key:"d2b8baa66af0545779ca753efdf99aef16dfaa0a",slot:"target",class:"gux-action-button-container"},i("gux-button-slot",{key:"3949872f533e25ddd64347d6f2ce8cfff34c66c7",class:"gux-action-button",accent:l(this.accent)},i("button",{key:"44a9f5d9a758c42d383a475d950624c13476b292",type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick()},i("slot",{key:"dca6257158a8a6c57284839e0294c6fd4065667d",name:"title"}))),i("gux-button-slot",{key:"93e5b097582eeeed9cd5389e38abd4a45803fd37",class:"gux-dropdown-button",accent:l(this.accent)},i("button",{key:"56227811b8f541048d8510ae6862887aa18c92a2",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("moreOptions")},i("gux-icon",{key:"127864b062cbcb777a85dfb15bea33c94ad33779",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),i("div",{key:"e07f57ddf92bb76ecd88eab8306000817b5d88d6",class:"gux-list-container",slot:"popup"},i("gux-list",{key:"567cef20863d6fd4a6d56a01419609bacb68e877",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},i("slot",{key:"9faf3538d626d574e5090251afd6883e2e880428"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,i,s){var a,n=arguments.length,o=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(o=(n<3?a(o):n>3?a(e,i,o):a(e,i))||o);n>3&&o&&Object.defineProperty(e,i,o)})([a({triggerEvents:"click"})],b.prototype,"onClickOutside",null),b.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-action-button-container{min-inline-size:128px}.gux-action-button-container>*{vertical-align:middle}.gux-action-button-container .gux-action-button{inline-size:calc(100% - 33px);margin-inline-end:1px}.gux-action-button-container .gux-action-button button{inline-size:100%;max-inline-size:none;text-align:center;border-start-end-radius:0;border-end-end-radius:0}.gux-action-button-container .gux-dropdown-button button{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);padding:0;border-start-start-radius:0;border-end-start-radius:0}.gux-action-button-container .gux-list-container{max-inline-size:220px;max-block-size:var(--gse-ui-menu-maxHeight);margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{b as gux_action_button}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,c as t,h as s,g as a}from"./p-086c5088.js";import{O as i}from"./p-9e1bda51.js";import{w as o}from"./p-e97879b4.js";import{a as r}from"./p-cf0e7d3b.js";import{t as n}from"./p-
|
1
|
+
import{r as e,c as t,h as s,g as a}from"./p-086c5088.js";import{O as i}from"./p-9e1bda51.js";import{w as o}from"./p-e97879b4.js";import{a as r}from"./p-cf0e7d3b.js";import{t as n}from"./p-258c7d6d.js";const c=["primary","secondary","tertiary"];const u=class{constructor(s){e(this,s),this.open=t(this,"open",7),this.close=t(this,"close",7),this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(e){const t=e.composedPath();switch(e.key){case"Escape":this.isOpen=!1,t.includes(this.listElement)&&(e.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(e){e&&(this.isOpen=!1)}watchValue(e){e?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){r((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){r((()=>{this.listElement.guxFocusFirstItem()}))}onListClick(e){o("gux-list-item",e,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return s("gux-popup",{key:"5ec1e75fc273a9e1116c94bfd8effb3af3491896",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"12949104e609ff33d8f8521708d62394a2467455",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"a47f20a6b55ce7ea75eafc1e1a45ee5a62c1a0a2",class:"gux-dropdown-button",accent:(e=this.accent,c.find((t=>t===e))?e:"secondary")},s("button",{key:"e04fd6896eca10c48d5e7f5377cae9a140f2e7ee",type:"button",disabled:this.disabled,ref:e=>this.dropdownButton=e,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},s("slot",{key:"fe65c3c7276ccd4c2b5d970890f2f923152d9a00",name:"title"}),s("gux-icon",{key:"0c8faab4dd21b420b9405c7796c944af361895b1",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"86efbaef84b9c9c07cbebb288afa0686f74ab360",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"b1a0670087e7d02a7573ab87a2568b04c8e4eaba",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},s("slot",{key:"72fc4897ab34980e0a19d0a0e2af24aaca47ba24"}))));var e}static get delegatesFocus(){return!0}get root(){return a(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(e,t,s,a){var i,o=arguments.length,r=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,s):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,a);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(r=(o<3?i(r):o>3?i(t,s,r):i(t,s))||r);o>3&&r&&Object.defineProperty(t,s,r)})([i({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{margin-inline-start:var(--gse-ui-button-gap)}.gux-list-container{max-inline-size:220px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_button_multi}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import{r as t,c as i,d as n,w as e,h as o,g as r}from"./p-086c5088.js";import{O as s}from"./p-e07238b5.js";import{e as a}from"./p-ea5e1b2f.js";import{a as u}from"./p-cf0e7d3b.js";import{b as l}from"./p-
|
1
|
+
import{r as t,c as i,d as n,w as e,h as o,g as r}from"./p-086c5088.js";import{O as s}from"./p-e07238b5.js";import{e as a}from"./p-ea5e1b2f.js";import{a as u}from"./p-cf0e7d3b.js";import{b as l}from"./p-d15985f1.js";import{t as c}from"./p-363466e3.js";import"./p-4202e9f2.js";
|
2
2
|
/**!
|
3
3
|
* Sortable 1.15.6
|
4
4
|
* @author RubaXa <trash@rubaxa.org>
|
@@ -1 +1 @@
|
|
1
|
-
import{h as r,r as a,g as e}from"./p-086c5088.js";import{b as s}from"./p-
|
1
|
+
import{h as r,r as a,g as e}from"./p-086c5088.js";import{b as s}from"./p-d15985f1.js";import{t}from"./p-258c7d6d.js";import"./p-4202e9f2.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,{key:"5050acbcec37447b77f8f28a2adb5338f53f852c",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 71.2566310326;transform:rotate(0deg)}7.5%{stroke-dasharray:1 71.2566310326;transform:rotate(0deg)}20%{stroke-dasharray:1 71.2566310326;transform:rotate(90deg)}30%{stroke-dasharray:36.1283155163;transform:rotate(180deg)}40%{stroke-dasharray:36.1283155163}50%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}57.5%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}70%{stroke-dasharray:36.1283155163;transform:rotate(540deg)}80%{stroke-dasharray:36.1283155163;transform:rotate(630deg)}90%{stroke-dasharray:36.1283155163}100%{stroke-dasharray:1 71.2566310326;transform:rotate(900deg)}}:host{display:inline-block}div[role=progressbar] .gux-svg-container{display:block;inline-size:var(--gse-ui-progressAndLoading-spinner-large);block-size: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:2}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{inline-size:var(--gse-ui-progressAndLoading-spinner-small);block-size: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,c as t,h as i,H as s,g as o}from"./p-086c5088.js";import{O as a}from"./p-9e1bda51.js";import{t as r}from"./p-
|
1
|
+
import{r as e,c as t,h as i,H as s,g as o}from"./p-086c5088.js";import{O as a}from"./p-9e1bda51.js";import{t as r}from"./p-258c7d6d.js";import{b as n}from"./p-d15985f1.js";import{t as c}from"./p-864d63fe.js";import{b as l}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const d=class{constructor(i){e(this,i),this.linkOptions=t(this,"linkOptions",7),this.disabled=!1,this.isActive=!1,this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeydown(e){const t=e.composedPath();switch(e.key){case"Escape":this.isOpen=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":t.includes(this.actionButton)&&(e.preventDefault(),this.isOpen=!0,this.focusTextToDisplayInputElement())}}async componentWillLoad(){r(this.root),this.i18n=await n(this.root,c)}emitLinkOptions(){this.linkOptions.emit({textToDisplay:this.textToDisplayInputElement.value,href:this.linkAddressInputElement.value}),this.textToDisplayInputElement.value=null,this.linkAddressInputElement.value=null,this.isOpen=!1}togglePopover(){this.isOpen=!this.isOpen,this.isOpen?this.focusTextToDisplayInputElement():this.actionButton.focus()}focusTextToDisplayInputElement(){l((()=>{this.textToDisplayInputElement.focus()}))}renderTooltip(){if(!this.disabled)return i("gux-tooltip-beta",null,i("div",{slot:"content"},this.i18n("link")))}render(){return i(s,{key:"c51c67c1063f35575b11db91781763b1a54f9bb1"},i("gux-button-slot",{key:"921372b56a841e108352fe26722d3455e3fcf799",accent:"ghost","icon-only":!0},i("button",{key:"1fad4601444c237ae0931950b0bbe031ed265d7f",id:"popover-target",class:{"gux-is-pressed":this.isActive||this.isOpen},onClick:()=>this.togglePopover(),ref:e=>this.actionButton=e,type:"button",disabled:this.disabled,"aria-label":this.i18n("link"),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-pressed":this.isActive.toString()},i("gux-icon",{key:"aed90b615e1e1c4ff08113cfa08a08ee2289f663",size:"small","icon-name":"fa/link-simple-regular",decorative:!0})),this.renderTooltip()),i("gux-popover",{key:"4bf2e0f0c8d8e4b55b814fb45f654cc3a4aea66d","is-open":this.isOpen,for:"popover-target"},i("div",{key:"1238ca6fe3ca06e12d822a4d4e83e91181e8a44a",class:"gux-popover-content-wrapper"},i("gux-form-field-text-like",{key:"bd7adba7b234b2ee11fd48429757c5e4b8e4cbac"},i("input",{key:"4e04b841b194fb92674af30148c9e6d843caaf56",id:"textToDisplay",ref:e=>this.textToDisplayInputElement=e,slot:"input",type:"text"}),i("label",{key:"239b6f659d59a85db2137691c9a4d7a05c003b83",slot:"label"},this.i18n("textToDisplay"))),i("gux-form-field-text-like",{key:"fe15940a60b7e196f24d578d101f1ef5caf0650c"},i("input",{key:"ad8a588ed0433b112929bbac1ee3a9371a467671",ref:e=>this.linkAddressInputElement=e,slot:"input",type:"text"}),i("label",{key:"ed65192ef701827a4ed60579c51164aa1e4f15dd",slot:"label"},this.i18n("linkAddress"))),i("gux-cta-group",{key:"6369a6d6bd4a5268c955d12a81b05de28a974f63",align:"end"},i("gux-button",{key:"468ccc4f482e7a622d2ca3b4fee2b1aae413d831",onClick:()=>this.emitLinkOptions(),slot:"primary"},this.i18n("insert")),i("gux-button",{key:"8f46d9f041a70f747a56f398eaa62d346b86559f",onClick:()=>this.togglePopover(),slot:"dismiss"},this.i18n("cancel"))))))}get root(){return o(this)}};(function(e,t,i,s){var o,a=arguments.length,r=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);a>3&&r&&Object.defineProperty(t,i,r)})([a({triggerEvents:"mousedown"})],d.prototype,"onClickOutside",null),d.style=":host{display:block}gux-popover div.gux-popover-content-wrapper{display:flex;flex-direction:column;gap:var(--gse-ui-popover-gap)}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{d as gux_rich_text_editor_action_link}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as a,h as e,g as i}from"./p-086c5088.js";import{b as n}from"./p-aa79d816.js";import"./p-4202e9f2.js";const o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"};class s{static getPageList(t,a){if(a<=10)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=5)return[...[...Array(6).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-5){const e=[...Array(6).keys()].map((e=>{const i=e+a-5;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(5).keys()].map((a=>{const e=a+t-2;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="full"}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}setPageFromInput(t){const a=parseInt(t,10);!a||isNaN(a)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(a)}getPageListEnteries(t,a){return s.getPageList(t,a).reduce(((t,a)=>t.concat(e("button",a.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(a.pageNumber)},a.display))),[])}getSmallPagePicker(){return e("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return e("div",{class:"gux-pagination-buttons-input-container"},e("div",null,this.i18n("page")),e("div",{class:"gux-pagination-buttons-input"},e("gux-form-field-text-like",{"label-position":"screenreader"},e("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),e("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),e("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return e("div",{key:"557e3312c0152bd3654b28e6574fb741015e382c",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"fd835e1137e8736f609c8164d697b63ded852897",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"061444e9654c31aa2a012e03465500f03a3b1ca1",accent:"ghost"},e("button",{key:"2da2393ea5079c930b7318d8c66ae9e4443ab15f",title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"38e7d295fa218fe90b787fc46b644671d3993065",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"717e500afcb575faa741b65ee215a6817392326f",accent:"ghost"},e("button",{key:"57de16c874a2ff91c9a0fc3f6b162c27665532da",title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"99fe82ca76d03a9b67e1307b2915808ab48b1507",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPagePicker(this.layout),e("div",{key:"da2fc88c6ecfeecf6707a2f13836d07abaf80afc",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"88bbffdb9c5f1f513191949b7d26dfa1b9eccbb9",accent:"ghost"},e("button",{key:"ecdae67eb330e77188c2cc9db64698003e0ec801",title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"b6d2c5f2732a16e036bb8924a64bc957cb3e4e3c",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"f47c7603b8d18724d2c7135ceed76d52d5db1913",accent:"ghost"},e("button",{key:"d096eedbb9620f27bee548deee00ddfb7a703957",title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"b4c87b2bd8075540f3032acea4895f11dfb04bf2",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons-legacy .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons-legacy .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:60px;text-align:center;background-color:transparent}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);padding-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);background:inherit;border:none}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset));outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);cursor:pointer;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:var(--gse-ui-dataTableItems-tablePagination-padding)}";const r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},u=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,r)}render(){return e("div",{key:"b1aa6d30e61142f6272a3e03b7659b90e33ef0c8",class:"gux-pagination-item-counts-container"},e("span",{key:"3dca5b0d3e857662c0ffaa0d6e8ec92f20289107",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"cd33418cd86dd09a03834b988dc74ac6807f0db5"},this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return i(this)}};u.style="gux-pagination-item-counts-legacy .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";const l={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},c=class{constructor(e){t(this,e),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,l)}getDropdown(){return e("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},e("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},e("gux-option",{value:"25"},"25"),e("gux-option",{value:"50"},"50"),e("gux-option",{value:"75"},"75"),e("gux-option",{value:"100"},"100")))}render(){return e("div",{key:"7c562c72c13371778551e6bfd16b9931dc614926",class:"gux-pagination-items-per-page-container"},e("div",{key:"944d0f6d03ebc6f8dafd0702731510ebb0bdcca6",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{key:"96c6dab81456fcfa6c04b32be732a47134aa7d52",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};c.style="gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{g as gux_pagination_buttons_legacy,u as gux_pagination_item_counts_legacy,c as gux_pagination_items_per_page_legacy}
|
1
|
+
import{r as t,c as a,h as e,g as i}from"./p-086c5088.js";import{b as n}from"./p-d15985f1.js";import"./p-4202e9f2.js";const o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"};class s{static getPageList(t,a){if(a<=10)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=5)return[...[...Array(6).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-5){const e=[...Array(6).keys()].map((e=>{const i=e+a-5;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(5).keys()].map((a=>{const e=a+t-2;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="full"}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}setPageFromInput(t){const a=parseInt(t,10);!a||isNaN(a)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(a)}getPageListEnteries(t,a){return s.getPageList(t,a).reduce(((t,a)=>t.concat(e("button",a.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(a.pageNumber)},a.display))),[])}getSmallPagePicker(){return e("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return e("div",{class:"gux-pagination-buttons-input-container"},e("div",null,this.i18n("page")),e("div",{class:"gux-pagination-buttons-input"},e("gux-form-field-text-like",{"label-position":"screenreader"},e("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),e("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),e("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return e("div",{key:"557e3312c0152bd3654b28e6574fb741015e382c",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"fd835e1137e8736f609c8164d697b63ded852897",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"061444e9654c31aa2a012e03465500f03a3b1ca1",accent:"ghost"},e("button",{key:"2da2393ea5079c930b7318d8c66ae9e4443ab15f",title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"38e7d295fa218fe90b787fc46b644671d3993065",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"717e500afcb575faa741b65ee215a6817392326f",accent:"ghost"},e("button",{key:"57de16c874a2ff91c9a0fc3f6b162c27665532da",title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"99fe82ca76d03a9b67e1307b2915808ab48b1507",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPagePicker(this.layout),e("div",{key:"da2fc88c6ecfeecf6707a2f13836d07abaf80afc",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"88bbffdb9c5f1f513191949b7d26dfa1b9eccbb9",accent:"ghost"},e("button",{key:"ecdae67eb330e77188c2cc9db64698003e0ec801",title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"b6d2c5f2732a16e036bb8924a64bc957cb3e4e3c",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"f47c7603b8d18724d2c7135ceed76d52d5db1913",accent:"ghost"},e("button",{key:"d096eedbb9620f27bee548deee00ddfb7a703957",title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"b4c87b2bd8075540f3032acea4895f11dfb04bf2",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons-legacy .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons-legacy .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:60px;text-align:center;background-color:transparent}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);padding-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);background:inherit;border:none}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset))}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);cursor:pointer;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:var(--gse-ui-dataTableItems-tablePagination-padding)}";const r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},u=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,r)}render(){return e("div",{key:"b1aa6d30e61142f6272a3e03b7659b90e33ef0c8",class:"gux-pagination-item-counts-container"},e("span",{key:"3dca5b0d3e857662c0ffaa0d6e8ec92f20289107",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"cd33418cd86dd09a03834b988dc74ac6807f0db5"},this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return i(this)}};u.style="gux-pagination-item-counts-legacy .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";const l={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},c=class{constructor(e){t(this,e),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,l)}getDropdown(){return e("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},e("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},e("gux-option",{value:"25"},"25"),e("gux-option",{value:"50"},"50"),e("gux-option",{value:"75"},"75"),e("gux-option",{value:"100"},"100")))}render(){return e("div",{key:"7c562c72c13371778551e6bfd16b9931dc614926",class:"gux-pagination-items-per-page-container"},e("div",{key:"944d0f6d03ebc6f8dafd0702731510ebb0bdcca6",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{key:"96c6dab81456fcfa6c04b32be732a47134aa7d52",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};c.style="gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{g as gux_pagination_buttons_legacy,u as gux_pagination_item_counts_legacy,c as gux_pagination_items_per_page_legacy}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as i,H as e,g as o}from"./p-086c5088.js";import{a as s,o as a,f as r,s as n,h as l,c as h}from"./p-a2f2c0a9.js";import{r as d}from"./p-0934300e.js";import{t as c}from"./p-258c7d6d.js";import{b as p}from"./p-cf0e7d3b.js";import{o as u}from"./p-2ddeb267.js";import{f as g}from"./p-9b0d3713.js";const b=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=d("gux-tooltip-base"),this.tooltipId=void 0,this.forElement=void 0,this.placement="bottom-start",this.offsetX=0,this.offsetY=0,this.accent="light",this.visualOnly=!1,this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}handlePointerenter(){this.show()}handlePointerleave(){this.hide()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition=s(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[a(16),r(),n(),l(),u()];h(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:e})=>{var o;Object.assign(this.root.style,{left:`${t+this.offsetX}px`,top:i-this.offsetY+"px",visibility:(null===(o=e.hide)||void 0===o?void 0:o.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0,p((()=>{this.runUpdatePosition()}))}hide(){this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1,this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}),350)}setForElement(){this.forElement&&(this.visualOnly||this.forElement.setAttribute("aria-describedby",this.tooltipId?this.tooltipId:this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t))))}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(e,{key:"bd1de270635ad0b5a20313f821d28c86020ec7ca",id:this.tooltipId?void 0:this.id,role:this.tooltipId&&!this.isShown?void 0:"tooltip",class:{"gux-show":this.isShown},"aria-hidden":this.visualOnly},i("div",{key:"925d6d504101a29991630ac8f02b9c179c258079",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"14ce53ff67fe39be22f8a0d042657ee864d5be76",name:"content"})))}get root(){return o(this)}static get watchers(){return{offsetX:["runUpdatePosition"],offsetY:["runUpdatePosition"],forElement:["updateForElement"]}}};b.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:250px;border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);pointer-events:none;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)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";const f=class{constructor(i){t(this,i),this.id=d("gux-tooltip"),this.forElement=void 0,this.role=void 0,this.for=void 0,this.placement="bottom-start",this.accent="light",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=g(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}render(){return i(e,{key:"30b4306234011996e56e73179df457cab4580097",id:this.id,role:this.role},i("gux-tooltip-base-beta",{key:"7cd729fe08ae89b339e709f166383591b715683e",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t},i("span",{key:"4a4f61468ea54050213898d8b29f2ac1f4be4f2f",slot:"content"},i("slot",{key:"c593d4f870a671e61de732d8c6467ac4f5036032",name:"content"},i("slot",{key:"a0415bb667e0a8e45844f8e9d6edbbed1ad6f78d"})))))}get root(){return o(this)}static get watchers(){return{for:["updateForElement"]}}};export{b as gux_tooltip_base_beta,f as gux_tooltip_beta}
|
@@ -1 +1 @@
|
|
1
|
-
import{h as a,r as e,g as i}from"./p-086c5088.js";import{t}from"./p-4c09e3cd.js";import{a as r}from"./p-8eaf8caf.js";import{b as g}from"./p-aa79d816.js";import{g as n,a as o}from"./p-5fcdcbfd.js";import"./p-4202e9f2.js";const u={notifications:"Notifications"},s=class{constructor(a){e(this,a),this.size="large",this.name=void 0,this.accent="default",this.presence="none",this.label=void 0,this.ring=!1,this.badge=!1,this.notifications=!1,this.ucIntegration="none"}validatingInputs(){const a=this.root.querySelector("img");this.name||r(this.root,"Name prop is required for accessibility"),a&&!a.getAttribute("alt")&&r(this.root,"Alt attribute is required for slotted image."),"none"!==this.ucIntegration&&"large"!==this.size&&r(this.root,"UC Integration app logo can only be shown on large avatar")}renderBadge(){return this.notifications?this.renderNotificationsBadge():this.badge&&!["idle","none"].includes(this.presence)?a("div",{class:{"gux-avatar-badge":!0,[`gux-${this.presence}`]:!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":this.getPresenceIcon(this.presence),decorative:!0})):void 0}renderNotificationsBadge(){return a("div",{class:{"gux-avatar-badge gux-notifications":!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":"fa/bell-regular",decorative:!0}))}getPresenceIcon(a){switch(a){case"available":return"fa/circle-check-solid";case"busy":case"meeting":return"fa/ban-outline";case"away":case"break":case"meal":case"training":return"fa/clock-outline";case"on-queue":return"fa/headset-solid";case"offline":default:return"fa/circle-xmark-regular";case"out-of-office":return"fa/subtract-circle"}}renderUcIntegrationsIcon(e){switch(e){case"teams":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("g",{"clip-path":"url(#clip0_17811_243865)"},a("path",{d:"M22.3205 12.0769H30.5862C31.3671 12.0769 32.0002 12.7051 32.0002 13.48V20.951C32.0002 23.799 29.6735 26.1077 26.8035 26.1077H26.7789C23.9089 26.1081 21.582 23.7997 21.5815 20.9517C21.5815 20.9515 21.5815 20.9512 21.5815 20.951V12.8102C21.5816 12.4052 21.9124 12.0769 22.3205 12.0769Z",fill:"#5059C9"}),a("path",{d:"M27.9069 10.6C29.7565 10.6 31.2558 9.11222 31.2558 7.27694C31.2558 5.44165 29.7565 3.95386 27.9069 3.95386C26.0574 3.95386 24.5581 5.44165 24.5581 7.27694C24.5581 9.11222 26.0574 10.6 27.9069 10.6Z",fill:"#5059C9"}),a("path",{d:"M17.4886 10.6C20.1601 10.6 22.3258 8.45098 22.3258 5.80001C22.3258 3.14904 20.1601 1 17.4886 1C14.8171 1 12.6514 3.14904 12.6514 5.80001C12.6514 8.45098 14.8171 10.6 17.4886 10.6Z",fill:"#7B83EB"}),a("path",{d:"M23.9381 12.0769H10.2941C9.52253 12.0959 8.91215 12.7313 8.93005 13.497V22.0181C8.8223 26.613 12.4857 30.426 17.1161 30.5385C21.7465 30.426 25.4099 26.613 25.3022 22.0181V13.497C25.32 12.7313 24.7097 12.0959 23.9381 12.0769Z",fill:"#7B83EB"}),a("path",{opacity:"0.1",d:"M17.8603 12.0769V24.0178C17.8566 24.5654 17.5222 25.0573 17.0119 25.2658C16.8495 25.334 16.6749 25.3692 16.4985 25.3692H9.58496C9.48822 25.1255 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.8603Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V24.7563C17.1161 24.9313 17.0807 25.1046 17.0119 25.2658C16.8018 25.7722 16.3061 26.104 15.7543 26.1077H9.93474C9.80822 25.864 9.68915 25.6203 9.58496 25.3692C9.48077 25.1181 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V23.2794C17.1105 24.0234 16.504 24.6251 15.7543 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3719 12.0769V23.2794C16.3663 24.0234 15.7598 24.6251 15.0101 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H16.3719Z",fill:"black"}),a("path",{opacity:"0.1",d:"M17.8605 8.25909V10.5852C17.734 10.5926 17.6149 10.6 17.4884 10.6C17.3619 10.6 17.2428 10.5926 17.1163 10.5852C16.8651 10.5687 16.616 10.5291 16.3721 10.4671C14.8652 10.113 13.6201 9.06422 13.0233 7.64617C12.9206 7.40804 12.8409 7.16077 12.7852 6.90771H16.4986C17.2496 6.91054 17.8577 7.5139 17.8605 8.25909Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3723 8.9975V10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.0104C15.7614 7.64895 16.3694 8.25234 16.3723 8.9975Z",fill:"black"}),a("path",{d:"M1.36409 7.64612H15.008C15.7614 7.64612 16.3721 8.25215 16.3721 8.99971V22.5387C16.3721 23.2862 15.7613 23.8923 15.008 23.8923H1.36409C0.610716 23.8923 0 23.2862 0 22.5387V8.99971C0 8.25215 0.61073 7.64612 1.36409 7.64612Z",fill:"url(#paint0_linear_17811_243865)"}),a("path",{d:"M11.7761 12.7992H9.04865V20.169H7.31098V12.7992H4.59619V11.3695H11.7761V12.7992Z",fill:"white"})),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243865",x1:"2.84416",y1:"6.58844",x2:"13.4047",y2:"25.0206",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#5A62C3"}),a("stop",{offset:"0.5","stop-color":"#4D55BD"}),a("stop",{offset:"1","stop-color":"#3940AB"})),a("clipPath",{id:"clip0_17811_243865"},a("rect",{width:"32",height:"29.5385",fill:"white",transform:"translate(0 1)"}))));case"zoom":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M0 14C0 6.26801 6.26801 0 14 0H18C25.732 0 32 6.26801 32 14V18C32 25.732 25.732 32 18 32H14C6.26801 32 0 25.732 0 18V14Z",fill:"url(#paint0_linear_17811_243867)"}),a("path",{d:"M9.03495 17.9231H4.76573C4.48252 17.9231 4.22028 17.7885 4.08392 17.5577C3.93706 17.2885 3.98951 16.9712 4.22028 16.7692L7.1888 14.0481H5.05944C4.47203 14.0481 4 13.6058 4 13.0769H7.93355C8.21677 13.0769 8.479 13.2115 8.61537 13.4423C8.76222 13.7115 8.70977 14.0288 8.479 14.2308L5.51048 16.9519H7.97551C8.56292 16.9519 9.03495 17.3942 9.03495 17.9231ZM25.944 13C25.3356 13 24.7796 13.2404 24.402 13.6346C24.0244 13.25 23.4685 13 22.8601 13C21.7272 13 20.7936 13.8846 20.7936 14.9231V17.9231C21.3811 17.9231 21.8531 17.4904 21.8531 16.9519V14.9135C21.8531 14.4135 22.2727 13.9904 22.8181 13.9712C23.395 13.9519 23.8671 14.375 23.8671 14.8942V16.9519C23.8671 17.4904 24.3391 17.9231 24.9265 17.9231V14.9135C24.9265 14.4135 25.3461 13.9904 25.8915 13.9712C26.4684 13.9519 26.9405 14.375 26.9405 14.8942V16.9519C26.9405 17.4904 27.4125 17.9231 27.9999 17.9231V14.9231C28.0104 13.8846 27.0768 13 25.944 13ZM14.3846 15.5C14.3846 16.875 13.1573 18 11.6573 18C10.1468 18 8.93005 16.875 8.93005 15.5C8.93005 14.125 10.1573 13 11.6573 13C13.1573 13 14.3846 14.125 14.3846 15.5ZM13.3251 15.5C13.3251 14.6538 12.5804 13.9712 11.6573 13.9712C10.7342 13.9712 9.98949 14.6538 9.98949 15.5C9.98949 16.3462 10.7342 17.0288 11.6573 17.0288C12.5804 17.0288 13.3251 16.3462 13.3251 15.5ZM20.2692 15.5C20.2692 16.875 19.0419 18 17.5419 18C16.0314 18 14.8146 16.875 14.8146 15.5C14.8146 14.125 16.0419 13 17.5419 13C19.0419 13 20.2692 14.125 20.2692 15.5ZM19.2097 15.5C19.2097 14.6538 18.465 13.9712 17.5419 13.9712C16.6188 13.9712 15.8741 14.6538 15.8741 15.5C15.8741 16.3462 16.6188 17.0288 17.5419 17.0288C18.465 17.0288 19.2097 16.3462 19.2097 15.5Z",fill:"white"}),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243867",x1:"6",y1:"29",x2:"26",y2:"2.5",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#084ACD"}),a("stop",{offset:"0.505","stop-color":"#0B5CFF"}),a("stop",{offset:"1","stop-color":"#236EF9"}))));case"8x8":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("rect",{width:"32",height:"32",fill:"#CB2233"}),a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.4298 14.2388H16.8341L16.2371 15.4154C16.1751 15.5507 16.1037 15.6811 16.0236 15.8055H15.9988C15.9988 15.8055 15.8808 15.5988 15.7841 15.4154L15.1965 14.2302H12.6127L14.6479 17.5052L12.621 20.7815H15.1611L15.8454 19.4129C15.9061 19.2937 15.9589 19.1704 16.0035 19.0437H16.0283C16.0283 19.0437 16.1227 19.2898 16.1864 19.4129L16.886 20.7815H19.4298L17.4028 17.5052L19.4298 14.2388ZM7.95949 19.1225C7.79341 19.1261 7.62828 19.0954 7.47357 19.0323C7.31886 18.9692 7.17761 18.8748 7.05792 18.7547C6.93823 18.6345 6.84245 18.4909 6.77608 18.332C6.7097 18.1732 6.67404 18.0022 6.67112 17.8289C6.68897 17.3197 6.89037 16.8362 7.23508 16.4751C8.28512 16.9674 9.24078 17.3465 9.24078 17.9852C9.24668 18.7163 8.75352 19.1225 7.95949 19.1225ZM8.03028 12.3975C8.72992 12.3975 9.15112 12.8037 9.15112 13.4252C9.14236 13.9074 9.0139 14.3789 8.77829 14.7938C7.83443 14.3705 7.06047 13.9975 7.06047 13.2677C7.05575 12.7877 7.3625 12.3975 8.03028 12.3975ZM10.6613 15.7625C10.7651 15.6308 11.7113 14.4283 11.7113 13.2258C11.7113 11.152 10.082 10 8.09399 10C5.59748 10 4.5085 11.5914 4.5085 13.2086C4.5085 14.1625 4.91436 14.8258 5.47832 15.3403C5.15269 15.6148 4 16.624 4 18.0615C4 19.8363 5.35916 21.52 7.95949 21.52C10.6058 21.52 11.9178 19.8191 11.9178 18.1194C11.9178 16.9994 11.3774 16.2782 10.6613 15.7625ZM24.0452 19.1225C23.8792 19.1259 23.7142 19.0951 23.5597 19.0319C23.4051 18.9688 23.264 18.8744 23.1444 18.7542C23.0249 18.6341 22.9292 18.4905 22.8629 18.3317C22.7966 18.1729 22.761 18.0021 22.758 17.8289C22.7759 17.3197 22.9773 16.8362 23.322 16.4751C24.372 16.9674 25.3277 17.3465 25.3277 17.9852C25.3277 18.7237 24.8345 19.1286 24.0476 19.1286L24.0452 19.1225ZM24.1172 12.3975C24.8168 12.3975 25.238 12.8037 25.238 13.4252C25.2296 13.9076 25.1007 14.3794 24.864 14.7938C23.9202 14.3705 23.1474 13.9975 23.1474 13.2677C23.1474 12.7877 23.4494 12.3975 24.1172 12.3975ZM26.7435 15.7625C26.8473 15.6222 27.7935 14.4197 27.7935 13.2258C27.7935 11.152 26.163 10 24.1762 10C21.6797 10 20.5907 11.5914 20.5907 13.2086C20.5907 14.1625 20.9966 14.8258 21.5605 15.3403C21.2349 15.6049 20.0822 16.6166 20.0822 18.048C20.0822 19.8228 21.4414 21.5065 24.0405 21.5065C26.688 21.5065 28 19.8068 28 18.1058C28 16.9994 27.4596 16.2782 26.7435 15.7625Z",fill:"white"}));default:return null}}getUcIntegrationText(a){switch(a){case"teams":return"Microsoft Teams";case"zoom":return"Zoom";case"8x8":return"8 by 8";default:return null}}renderUcIntegrationBadge(){if(["zoom","teams","8x8"].includes(this.ucIntegration)&&"large"===this.size)return a("div",{class:"gux-avatar-integration-badge"},this.renderUcIntegrationsIcon(this.ucIntegration),a("gux-screen-reader-beta",null,this.getUcIntegrationText(this.ucIntegration)))}renderTooltip(){return["A","BUTTON"].includes(this.parentElement.tagName)?a("gux-tooltip-beta",{placement:"top",ref:a=>this.tooltip=a},a("div",{slot:"content"},this.getDescriptionText())):null}getDescriptionText(){return this.notifications?`${this.name} (${this.i18n("notifications")})`:this.label&&"none"!==this.presence?`${this.name} (${this.label})`:`${this.name}`}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}async componentWillLoad(){this.parentElement=this.root.parentElement,t(this.root,{variant:this.size}),this.i18n=await g(this.root,u)}componentDidLoad(){this.validatingInputs()}render(){return[a("div",{key:"cef226c15517c37cc2729cecf7bb1e06166d4fa9",class:{"gux-avatar":!0,[`gux-${this.presence}`]:this.ring||this.badge,[`gux-${this.size}`]:!0,"gux-ring":this.ring,[o(this.accent,this.name)]:!0}},a("div",{key:"9cc33a7794aaf2f1853f6f7569a7c5af5d063340",class:"gux-content"},a("slot",{key:"b95fd0f65798bf47c959cfdaecea586e8635dbb0",name:"image"},a("abbr",{key:"ee135fd29f555c8bf808c69fb33a8d5c224999a7","aria-label":this.getDescriptionText()},n(this.name)))),this.renderTooltip()),this.renderBadge(),this.renderUcIntegrationBadge()]}get root(){return i(this)}};s.style=":host{position:relative;display:inline-block}:host abbr{text-decoration:none}::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}.gux-avatar{position:relative;inline-size:var(--gse-ui-avatar-large-size);block-size:var(--gse-ui-avatar-large-size);overflow:hidden;border-radius:50%}.gux-avatar .gux-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);margin:var(--gse-ui-avatar-large-presenceRing-width);overflow:hidden;font-family:var(--gse-ui-avatar-large-initials-fontFamily);font-size:var(--gse-ui-avatar-large-initials-fontSize);font-weight:var(--gse-ui-avatar-large-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);color:var(--gse-ui-avatar-media-initialsForeground-inverse);text-transform:uppercase;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:var(--gse-ui-avatar-content-large-border-width) var(--gse-ui-avatar-content-default-border-style) var(--gse-ui-avatar-content-default-border-color);border-radius:50%}.gux-avatar.gux-medium{inline-size:var(--gse-ui-avatar-medium-size);block-size:var(--gse-ui-avatar-medium-size)}.gux-avatar.gux-medium .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);margin:var(--gse-ui-avatar-medium-presenceRing-width);font-size:var(--gse-ui-avatar-medium-initials-fontSize);font-weight:var(--gse-ui-avatar-medium-initials-fontWeight)}.gux-avatar.gux-medium .gux-content,.gux-avatar.gux-small .gux-content,.gux-avatar.gux-xsmall .gux-content{border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar.gux-small{inline-size:var(--gse-ui-avatar-small-size);block-size:var(--gse-ui-avatar-small-size)}.gux-avatar.gux-small .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);margin:var(--gse-ui-avatar-small-presenceRing-width);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight)}.gux-avatar.gux-xsmall{inline-size:var(--gse-ui-avatar-xsmall-size);block-size:var(--gse-ui-avatar-xsmall-size)}.gux-avatar.gux-xsmall .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);margin:var(--gse-ui-avatar-xsmall-presenceRing-width);font-size:var(--gse-ui-avatar-xsmall-initials-fontSize);font-weight:var(--gse-ui-avatar-xsmall-initials-fontWeight)}.gux-avatar.gux-accent-1 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}.gux-avatar.gux-accent-2 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}.gux-avatar.gux-accent-3 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}.gux-avatar.gux-accent-4 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}.gux-avatar.gux-accent-5 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}.gux-avatar.gux-accent-6 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}.gux-avatar.gux-accent-7 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}.gux-avatar.gux-accent-8 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}.gux-avatar.gux-accent-9 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}.gux-avatar.gux-accent-10 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}.gux-avatar.gux-accent-11 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}.gux-avatar.gux-accent-12 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}.gux-avatar.gux-accent-inherit .gux-content{color:inherit;background-color:inherit}.gux-avatar.gux-ring.gux-available{background:var(--gse-ui-avatar-presenceRing-available)}.gux-avatar.gux-ring.gux-away,.gux-avatar.gux-ring.gux-break,.gux-avatar.gux-ring.gux-meal,.gux-avatar.gux-ring.gux-training{background:var(--gse-ui-avatar-presenceRing-away)}.gux-avatar.gux-ring.gux-busy,.gux-avatar.gux-ring.gux-meeting{background:var(--gse-ui-avatar-presenceRing-busy)}.gux-avatar.gux-ring.gux-offline{background:var(--gse-ui-avatar-presenceRing-offline)}.gux-avatar.gux-ring.gux-out-of-office{background:var(--gse-ui-avatar-presenceRing-outOfOffice)}.gux-avatar.gux-ring.gux-on-queue{background:var(--gse-ui-avatar-presenceRing-onQueue)}.gux-avatar-integration-badge{position:absolute;inset-block-end:0;inset-inline-end:0;z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center}.gux-avatar-badge{position:absolute;inset-block-start:calc(var(--gse-ui-avatar-content-large-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-large-border-width) * -1);z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-large-badge-size);block-size:var(--gse-ui-avatar-large-badge-size);border-color:var(--gse-ui-avatar-content-default-border-color);border-style:var(--gse-ui-avatar-content-default-border-style);border-width:var(--gse-ui-avatar-content-large-border-width);border-radius:50%}.gux-avatar-badge.gux-medium{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-medium-badge-size);block-size:var(--gse-ui-avatar-medium-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small,.gux-avatar-badge.gux-xsmall{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-small-badge-size);block-size:var(--gse-ui-avatar-small-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small gux-icon,.gux-avatar-badge.gux-xsmall gux-icon{display:none}.gux-avatar-badge.gux-available{background-color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-available.gux-small,.gux-avatar-badge.gux-available.gux-xsmall{background-color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-available gux-icon{color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-away,.gux-avatar-badge.gux-break,.gux-avatar-badge.gux-meal,.gux-avatar-badge.gux-training{background-color:var(--gse-ui-avatar-badge-away-color)}.gux-avatar-badge.gux-away gux-icon,.gux-avatar-badge.gux-break gux-icon,.gux-avatar-badge.gux-meal gux-icon,.gux-avatar-badge.gux-training gux-icon{margin:var(--gse-ui-avatar-badge-away-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDark-color)}.gux-avatar-badge.gux-busy,.gux-avatar-badge.gux-meeting{background-color:var(--gse-ui-avatar-badge-busy-color)}.gux-avatar-badge.gux-busy gux-icon,.gux-avatar-badge.gux-meeting gux-icon{margin:var(--gse-ui-avatar-badge-busy-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-notifications{background-color:var(--gse-ui-avatar-badge-notification-color)}.gux-avatar-badge.gux-notifications gux-icon{margin:var(--gse-ui-avatar-badge-notifications-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-offline{background-color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-offline.gux-small,.gux-avatar-badge.gux-offline.gux-xsmall{background-color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-offline gux-icon{color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-out-of-office{background-color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-out-of-office.gux-small,.gux-avatar-badge.gux-out-of-office.gux-xsmall{background-color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-out-of-office gux-icon{color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-on-queue{background-color:var(--gse-ui-avatar-badge-onQueue-color)}.gux-avatar-badge.gux-on-queue gux-icon{margin:var(--gse-ui-avatar-badge-queue-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge gux-icon{inline-size:100%;block-size:100%}";export{s as gux_avatar_beta}
|
1
|
+
import{h as a,r as e,g as i}from"./p-086c5088.js";import{t}from"./p-258c7d6d.js";import{a as r}from"./p-8eaf8caf.js";import{b as g}from"./p-d15985f1.js";import{g as n,a as o}from"./p-5fcdcbfd.js";import"./p-4202e9f2.js";const u={notifications:"Notifications"},s=class{constructor(a){e(this,a),this.size="large",this.name=void 0,this.accent="default",this.presence="none",this.label=void 0,this.ring=!1,this.badge=!1,this.notifications=!1,this.ucIntegration="none"}validatingInputs(){const a=this.root.querySelector("img");this.name||r(this.root,"Name prop is required for accessibility"),a&&!a.getAttribute("alt")&&r(this.root,"Alt attribute is required for slotted image."),"none"!==this.ucIntegration&&"large"!==this.size&&r(this.root,"UC Integration app logo can only be shown on large avatar")}renderBadge(){return this.notifications?this.renderNotificationsBadge():this.badge&&!["idle","none"].includes(this.presence)?a("div",{class:{"gux-avatar-badge":!0,[`gux-${this.presence}`]:!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":this.getPresenceIcon(this.presence),decorative:!0})):void 0}renderNotificationsBadge(){return a("div",{class:{"gux-avatar-badge gux-notifications":!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":"fa/bell-regular",decorative:!0}))}getPresenceIcon(a){switch(a){case"available":return"fa/circle-check-solid";case"busy":case"meeting":return"fa/ban-outline";case"away":case"break":case"meal":case"training":return"fa/clock-outline";case"on-queue":return"fa/headset-solid";case"offline":default:return"fa/circle-xmark-regular";case"out-of-office":return"fa/subtract-circle"}}renderUcIntegrationsIcon(e){switch(e){case"teams":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("g",{"clip-path":"url(#clip0_17811_243865)"},a("path",{d:"M22.3205 12.0769H30.5862C31.3671 12.0769 32.0002 12.7051 32.0002 13.48V20.951C32.0002 23.799 29.6735 26.1077 26.8035 26.1077H26.7789C23.9089 26.1081 21.582 23.7997 21.5815 20.9517C21.5815 20.9515 21.5815 20.9512 21.5815 20.951V12.8102C21.5816 12.4052 21.9124 12.0769 22.3205 12.0769Z",fill:"#5059C9"}),a("path",{d:"M27.9069 10.6C29.7565 10.6 31.2558 9.11222 31.2558 7.27694C31.2558 5.44165 29.7565 3.95386 27.9069 3.95386C26.0574 3.95386 24.5581 5.44165 24.5581 7.27694C24.5581 9.11222 26.0574 10.6 27.9069 10.6Z",fill:"#5059C9"}),a("path",{d:"M17.4886 10.6C20.1601 10.6 22.3258 8.45098 22.3258 5.80001C22.3258 3.14904 20.1601 1 17.4886 1C14.8171 1 12.6514 3.14904 12.6514 5.80001C12.6514 8.45098 14.8171 10.6 17.4886 10.6Z",fill:"#7B83EB"}),a("path",{d:"M23.9381 12.0769H10.2941C9.52253 12.0959 8.91215 12.7313 8.93005 13.497V22.0181C8.8223 26.613 12.4857 30.426 17.1161 30.5385C21.7465 30.426 25.4099 26.613 25.3022 22.0181V13.497C25.32 12.7313 24.7097 12.0959 23.9381 12.0769Z",fill:"#7B83EB"}),a("path",{opacity:"0.1",d:"M17.8603 12.0769V24.0178C17.8566 24.5654 17.5222 25.0573 17.0119 25.2658C16.8495 25.334 16.6749 25.3692 16.4985 25.3692H9.58496C9.48822 25.1255 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.8603Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V24.7563C17.1161 24.9313 17.0807 25.1046 17.0119 25.2658C16.8018 25.7722 16.3061 26.104 15.7543 26.1077H9.93474C9.80822 25.864 9.68915 25.6203 9.58496 25.3692C9.48077 25.1181 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V23.2794C17.1105 24.0234 16.504 24.6251 15.7543 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3719 12.0769V23.2794C16.3663 24.0234 15.7598 24.6251 15.0101 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H16.3719Z",fill:"black"}),a("path",{opacity:"0.1",d:"M17.8605 8.25909V10.5852C17.734 10.5926 17.6149 10.6 17.4884 10.6C17.3619 10.6 17.2428 10.5926 17.1163 10.5852C16.8651 10.5687 16.616 10.5291 16.3721 10.4671C14.8652 10.113 13.6201 9.06422 13.0233 7.64617C12.9206 7.40804 12.8409 7.16077 12.7852 6.90771H16.4986C17.2496 6.91054 17.8577 7.5139 17.8605 8.25909Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3723 8.9975V10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.0104C15.7614 7.64895 16.3694 8.25234 16.3723 8.9975Z",fill:"black"}),a("path",{d:"M1.36409 7.64612H15.008C15.7614 7.64612 16.3721 8.25215 16.3721 8.99971V22.5387C16.3721 23.2862 15.7613 23.8923 15.008 23.8923H1.36409C0.610716 23.8923 0 23.2862 0 22.5387V8.99971C0 8.25215 0.61073 7.64612 1.36409 7.64612Z",fill:"url(#paint0_linear_17811_243865)"}),a("path",{d:"M11.7761 12.7992H9.04865V20.169H7.31098V12.7992H4.59619V11.3695H11.7761V12.7992Z",fill:"white"})),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243865",x1:"2.84416",y1:"6.58844",x2:"13.4047",y2:"25.0206",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#5A62C3"}),a("stop",{offset:"0.5","stop-color":"#4D55BD"}),a("stop",{offset:"1","stop-color":"#3940AB"})),a("clipPath",{id:"clip0_17811_243865"},a("rect",{width:"32",height:"29.5385",fill:"white",transform:"translate(0 1)"}))));case"zoom":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M0 14C0 6.26801 6.26801 0 14 0H18C25.732 0 32 6.26801 32 14V18C32 25.732 25.732 32 18 32H14C6.26801 32 0 25.732 0 18V14Z",fill:"url(#paint0_linear_17811_243867)"}),a("path",{d:"M9.03495 17.9231H4.76573C4.48252 17.9231 4.22028 17.7885 4.08392 17.5577C3.93706 17.2885 3.98951 16.9712 4.22028 16.7692L7.1888 14.0481H5.05944C4.47203 14.0481 4 13.6058 4 13.0769H7.93355C8.21677 13.0769 8.479 13.2115 8.61537 13.4423C8.76222 13.7115 8.70977 14.0288 8.479 14.2308L5.51048 16.9519H7.97551C8.56292 16.9519 9.03495 17.3942 9.03495 17.9231ZM25.944 13C25.3356 13 24.7796 13.2404 24.402 13.6346C24.0244 13.25 23.4685 13 22.8601 13C21.7272 13 20.7936 13.8846 20.7936 14.9231V17.9231C21.3811 17.9231 21.8531 17.4904 21.8531 16.9519V14.9135C21.8531 14.4135 22.2727 13.9904 22.8181 13.9712C23.395 13.9519 23.8671 14.375 23.8671 14.8942V16.9519C23.8671 17.4904 24.3391 17.9231 24.9265 17.9231V14.9135C24.9265 14.4135 25.3461 13.9904 25.8915 13.9712C26.4684 13.9519 26.9405 14.375 26.9405 14.8942V16.9519C26.9405 17.4904 27.4125 17.9231 27.9999 17.9231V14.9231C28.0104 13.8846 27.0768 13 25.944 13ZM14.3846 15.5C14.3846 16.875 13.1573 18 11.6573 18C10.1468 18 8.93005 16.875 8.93005 15.5C8.93005 14.125 10.1573 13 11.6573 13C13.1573 13 14.3846 14.125 14.3846 15.5ZM13.3251 15.5C13.3251 14.6538 12.5804 13.9712 11.6573 13.9712C10.7342 13.9712 9.98949 14.6538 9.98949 15.5C9.98949 16.3462 10.7342 17.0288 11.6573 17.0288C12.5804 17.0288 13.3251 16.3462 13.3251 15.5ZM20.2692 15.5C20.2692 16.875 19.0419 18 17.5419 18C16.0314 18 14.8146 16.875 14.8146 15.5C14.8146 14.125 16.0419 13 17.5419 13C19.0419 13 20.2692 14.125 20.2692 15.5ZM19.2097 15.5C19.2097 14.6538 18.465 13.9712 17.5419 13.9712C16.6188 13.9712 15.8741 14.6538 15.8741 15.5C15.8741 16.3462 16.6188 17.0288 17.5419 17.0288C18.465 17.0288 19.2097 16.3462 19.2097 15.5Z",fill:"white"}),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243867",x1:"6",y1:"29",x2:"26",y2:"2.5",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#084ACD"}),a("stop",{offset:"0.505","stop-color":"#0B5CFF"}),a("stop",{offset:"1","stop-color":"#236EF9"}))));case"8x8":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("rect",{width:"32",height:"32",fill:"#CB2233"}),a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.4298 14.2388H16.8341L16.2371 15.4154C16.1751 15.5507 16.1037 15.6811 16.0236 15.8055H15.9988C15.9988 15.8055 15.8808 15.5988 15.7841 15.4154L15.1965 14.2302H12.6127L14.6479 17.5052L12.621 20.7815H15.1611L15.8454 19.4129C15.9061 19.2937 15.9589 19.1704 16.0035 19.0437H16.0283C16.0283 19.0437 16.1227 19.2898 16.1864 19.4129L16.886 20.7815H19.4298L17.4028 17.5052L19.4298 14.2388ZM7.95949 19.1225C7.79341 19.1261 7.62828 19.0954 7.47357 19.0323C7.31886 18.9692 7.17761 18.8748 7.05792 18.7547C6.93823 18.6345 6.84245 18.4909 6.77608 18.332C6.7097 18.1732 6.67404 18.0022 6.67112 17.8289C6.68897 17.3197 6.89037 16.8362 7.23508 16.4751C8.28512 16.9674 9.24078 17.3465 9.24078 17.9852C9.24668 18.7163 8.75352 19.1225 7.95949 19.1225ZM8.03028 12.3975C8.72992 12.3975 9.15112 12.8037 9.15112 13.4252C9.14236 13.9074 9.0139 14.3789 8.77829 14.7938C7.83443 14.3705 7.06047 13.9975 7.06047 13.2677C7.05575 12.7877 7.3625 12.3975 8.03028 12.3975ZM10.6613 15.7625C10.7651 15.6308 11.7113 14.4283 11.7113 13.2258C11.7113 11.152 10.082 10 8.09399 10C5.59748 10 4.5085 11.5914 4.5085 13.2086C4.5085 14.1625 4.91436 14.8258 5.47832 15.3403C5.15269 15.6148 4 16.624 4 18.0615C4 19.8363 5.35916 21.52 7.95949 21.52C10.6058 21.52 11.9178 19.8191 11.9178 18.1194C11.9178 16.9994 11.3774 16.2782 10.6613 15.7625ZM24.0452 19.1225C23.8792 19.1259 23.7142 19.0951 23.5597 19.0319C23.4051 18.9688 23.264 18.8744 23.1444 18.7542C23.0249 18.6341 22.9292 18.4905 22.8629 18.3317C22.7966 18.1729 22.761 18.0021 22.758 17.8289C22.7759 17.3197 22.9773 16.8362 23.322 16.4751C24.372 16.9674 25.3277 17.3465 25.3277 17.9852C25.3277 18.7237 24.8345 19.1286 24.0476 19.1286L24.0452 19.1225ZM24.1172 12.3975C24.8168 12.3975 25.238 12.8037 25.238 13.4252C25.2296 13.9076 25.1007 14.3794 24.864 14.7938C23.9202 14.3705 23.1474 13.9975 23.1474 13.2677C23.1474 12.7877 23.4494 12.3975 24.1172 12.3975ZM26.7435 15.7625C26.8473 15.6222 27.7935 14.4197 27.7935 13.2258C27.7935 11.152 26.163 10 24.1762 10C21.6797 10 20.5907 11.5914 20.5907 13.2086C20.5907 14.1625 20.9966 14.8258 21.5605 15.3403C21.2349 15.6049 20.0822 16.6166 20.0822 18.048C20.0822 19.8228 21.4414 21.5065 24.0405 21.5065C26.688 21.5065 28 19.8068 28 18.1058C28 16.9994 27.4596 16.2782 26.7435 15.7625Z",fill:"white"}));default:return null}}getUcIntegrationText(a){switch(a){case"teams":return"Microsoft Teams";case"zoom":return"Zoom";case"8x8":return"8 by 8";default:return null}}renderUcIntegrationBadge(){if(["zoom","teams","8x8"].includes(this.ucIntegration)&&"large"===this.size)return a("div",{class:"gux-avatar-integration-badge"},this.renderUcIntegrationsIcon(this.ucIntegration),a("gux-screen-reader-beta",null,this.getUcIntegrationText(this.ucIntegration)))}renderTooltip(){return["A","BUTTON"].includes(this.parentElement.tagName)?a("gux-tooltip-beta",{placement:"top",ref:a=>this.tooltip=a},a("div",{slot:"content"},this.getDescriptionText())):null}getDescriptionText(){return this.notifications?`${this.name} (${this.i18n("notifications")})`:this.label&&"none"!==this.presence?`${this.name} (${this.label})`:`${this.name}`}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}async componentWillLoad(){this.parentElement=this.root.parentElement,t(this.root,{variant:this.size}),this.i18n=await g(this.root,u)}componentDidLoad(){this.validatingInputs()}render(){return[a("div",{key:"cef226c15517c37cc2729cecf7bb1e06166d4fa9",class:{"gux-avatar":!0,[`gux-${this.presence}`]:this.ring||this.badge,[`gux-${this.size}`]:!0,"gux-ring":this.ring,[o(this.accent,this.name)]:!0}},a("div",{key:"9cc33a7794aaf2f1853f6f7569a7c5af5d063340",class:"gux-content"},a("slot",{key:"b95fd0f65798bf47c959cfdaecea586e8635dbb0",name:"image"},a("abbr",{key:"ee135fd29f555c8bf808c69fb33a8d5c224999a7","aria-label":this.getDescriptionText()},n(this.name)))),this.renderTooltip()),this.renderBadge(),this.renderUcIntegrationBadge()]}get root(){return i(this)}};s.style=":host{position:relative;display:inline-block}:host abbr{text-decoration:none}::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}.gux-avatar{position:relative;inline-size:var(--gse-ui-avatar-large-size);block-size:var(--gse-ui-avatar-large-size);overflow:hidden;border-radius:50%}.gux-avatar .gux-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);margin:var(--gse-ui-avatar-large-presenceRing-width);overflow:hidden;font-family:var(--gse-ui-avatar-large-initials-fontFamily);font-size:var(--gse-ui-avatar-large-initials-fontSize);font-weight:var(--gse-ui-avatar-large-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);color:var(--gse-ui-avatar-media-initialsForeground-inverse);text-transform:uppercase;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:var(--gse-ui-avatar-content-large-border-width) var(--gse-ui-avatar-content-default-border-style) var(--gse-ui-avatar-content-default-border-color);border-radius:50%}.gux-avatar.gux-medium{inline-size:var(--gse-ui-avatar-medium-size);block-size:var(--gse-ui-avatar-medium-size)}.gux-avatar.gux-medium .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);margin:var(--gse-ui-avatar-medium-presenceRing-width);font-size:var(--gse-ui-avatar-medium-initials-fontSize);font-weight:var(--gse-ui-avatar-medium-initials-fontWeight)}.gux-avatar.gux-medium .gux-content,.gux-avatar.gux-small .gux-content,.gux-avatar.gux-xsmall .gux-content{border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar.gux-small{inline-size:var(--gse-ui-avatar-small-size);block-size:var(--gse-ui-avatar-small-size)}.gux-avatar.gux-small .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);margin:var(--gse-ui-avatar-small-presenceRing-width);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight)}.gux-avatar.gux-xsmall{inline-size:var(--gse-ui-avatar-xsmall-size);block-size:var(--gse-ui-avatar-xsmall-size)}.gux-avatar.gux-xsmall .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);margin:var(--gse-ui-avatar-xsmall-presenceRing-width);font-size:var(--gse-ui-avatar-xsmall-initials-fontSize);font-weight:var(--gse-ui-avatar-xsmall-initials-fontWeight)}.gux-avatar.gux-accent-1 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}.gux-avatar.gux-accent-2 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}.gux-avatar.gux-accent-3 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}.gux-avatar.gux-accent-4 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}.gux-avatar.gux-accent-5 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}.gux-avatar.gux-accent-6 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}.gux-avatar.gux-accent-7 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}.gux-avatar.gux-accent-8 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}.gux-avatar.gux-accent-9 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}.gux-avatar.gux-accent-10 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}.gux-avatar.gux-accent-11 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}.gux-avatar.gux-accent-12 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}.gux-avatar.gux-accent-inherit .gux-content{color:inherit;background-color:inherit}.gux-avatar.gux-ring.gux-available{background:var(--gse-ui-avatar-presenceRing-available)}.gux-avatar.gux-ring.gux-away,.gux-avatar.gux-ring.gux-break,.gux-avatar.gux-ring.gux-meal,.gux-avatar.gux-ring.gux-training{background:var(--gse-ui-avatar-presenceRing-away)}.gux-avatar.gux-ring.gux-busy,.gux-avatar.gux-ring.gux-meeting{background:var(--gse-ui-avatar-presenceRing-busy)}.gux-avatar.gux-ring.gux-offline{background:var(--gse-ui-avatar-presenceRing-offline)}.gux-avatar.gux-ring.gux-out-of-office{background:var(--gse-ui-avatar-presenceRing-outOfOffice)}.gux-avatar.gux-ring.gux-on-queue{background:var(--gse-ui-avatar-presenceRing-onQueue)}.gux-avatar-integration-badge{position:absolute;inset-block-end:0;inset-inline-end:0;z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center}.gux-avatar-badge{position:absolute;inset-block-start:calc(var(--gse-ui-avatar-content-large-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-large-border-width) * -1);z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-large-badge-size);block-size:var(--gse-ui-avatar-large-badge-size);border-color:var(--gse-ui-avatar-content-default-border-color);border-style:var(--gse-ui-avatar-content-default-border-style);border-width:var(--gse-ui-avatar-content-large-border-width);border-radius:50%}.gux-avatar-badge.gux-medium{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-medium-badge-size);block-size:var(--gse-ui-avatar-medium-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small,.gux-avatar-badge.gux-xsmall{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-small-badge-size);block-size:var(--gse-ui-avatar-small-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small gux-icon,.gux-avatar-badge.gux-xsmall gux-icon{display:none}.gux-avatar-badge.gux-available{background-color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-available.gux-small,.gux-avatar-badge.gux-available.gux-xsmall{background-color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-available gux-icon{color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-away,.gux-avatar-badge.gux-break,.gux-avatar-badge.gux-meal,.gux-avatar-badge.gux-training{background-color:var(--gse-ui-avatar-badge-away-color)}.gux-avatar-badge.gux-away gux-icon,.gux-avatar-badge.gux-break gux-icon,.gux-avatar-badge.gux-meal gux-icon,.gux-avatar-badge.gux-training gux-icon{margin:var(--gse-ui-avatar-badge-away-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDark-color)}.gux-avatar-badge.gux-busy,.gux-avatar-badge.gux-meeting{background-color:var(--gse-ui-avatar-badge-busy-color)}.gux-avatar-badge.gux-busy gux-icon,.gux-avatar-badge.gux-meeting gux-icon{margin:var(--gse-ui-avatar-badge-busy-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-notifications{background-color:var(--gse-ui-avatar-badge-notification-color)}.gux-avatar-badge.gux-notifications gux-icon{margin:var(--gse-ui-avatar-badge-notifications-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-offline{background-color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-offline.gux-small,.gux-avatar-badge.gux-offline.gux-xsmall{background-color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-offline gux-icon{color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-out-of-office{background-color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-out-of-office.gux-small,.gux-avatar-badge.gux-out-of-office.gux-xsmall{background-color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-out-of-office gux-icon{color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-on-queue{background-color:var(--gse-ui-avatar-badge-onQueue-color)}.gux-avatar-badge.gux-on-queue gux-icon{margin:var(--gse-ui-avatar-badge-queue-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge gux-icon{inline-size:100%;block-size:100%}";export{s as gux_avatar_beta}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{a as t}from"./p-086c5088.js";import{g as r}from"./p-4202e9f2.js";var n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},n(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}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}var h=function(){return h=Object.assign||function(t){for(var r,n=1,e=arguments.length;n<e;n++)for(var h in r=arguments[n])Object.prototype.hasOwnProperty.call(r,h)&&(t[h]=r[h]);return t},h.apply(this,arguments)};function i(t,r,n){if(n||2===arguments.length)for(var e,h=0,i=r.length;h<i;h++)!e&&h in r||(e||(e=Array.prototype.slice.call(r,0,h)),e[h]=r[h]);return t.concat(e||Array.prototype.slice.call(r))}function s(t,r){return(r&&r.strategy?r.strategy:c)(t,{cache:r&&r.cache?r.cache:v,serializer:r&&r.serializer?r.serializer:B})}function o(t,r,n,e){var h,i=null==(h=e)||"number"==typeof h||"boolean"==typeof h?e:n(e),s=r.get(i);return void 0===s&&(s=t.call(this,e),r.set(i,s)),s}function a(t,r,n){var e=Array.prototype.slice.call(arguments,3),h=n(e),i=r.get(h);return void 0===i&&(i=t.apply(this,e),r.set(h,i)),i}function u(t,r,n,e,h){return n.bind(r,t,e,h)}function c(t,r){return u(t,this,1===t.length?o:a,r.cache.create(),r.serializer)}"function"==typeof SuppressedError&&SuppressedError;var f,l,H,B=function(){return JSON.stringify(arguments)},b=function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(t){return this.cache[t]},t.prototype.set=function(t,r){this.cache[t]=r},t}(),v={create:function(){return new b}},p={variadic:function(t,r){return u(t,this,a,r.cache.create(),r.serializer)},monadic:function(t,r){return u(t,this,o,r.cache.create(),r.serializer)}};function E(t){return t.type===l.literal}function d(t){return t.type===l.argument}function g(t){return t.type===l.number}function m(t){return t.type===l.date}function y(t){return t.type===l.time}function w(t){return t.type===l.select}function T(t){return t.type===l.plural}function A(t){return t.type===l.pound}function S(t){return t.type===l.tag}function _(t){return!(!t||"object"!=typeof t||t.type!==H.number)}function N(t){return!(!t||"object"!=typeof t||t.type!==H.dateTime)}!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"}(f||(f={})),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"}(l||(l={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(H||(H={}));var I=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,M=/(?:[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 R(t){var r={};return t.replace(M,(function(t){var n=t.length;switch(t[0]){case"G":r.era=4===n?"long":5===n?"narrow":"short";break;case"y":r.year=2===n?"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"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][n-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===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-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"][n-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][n-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][n-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][n-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"][n-1];break;case"s":r.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=n<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 L=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,C=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,O=/^(@+)?(\+|#+)?[rs]?$/g,G=/(\*)(0+)|(#+)(0+)|(0+)/g,U=/^(0+)$/;function P(t){var r={};return"r"===t[t.length-1]?r.roundingPriority="morePrecision":"s"===t[t.length-1]&&(r.roundingPriority="lessPrecision"),t.replace(O,(function(t,n,e){return"string"!=typeof e?(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length):"+"===e?r.minimumSignificantDigits=n.length:"#"===n[0]?r.maximumSignificantDigits=n.length:(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length+("string"==typeof e?e.length:0)),""})),r}function k(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 D(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 n=t.slice(0,2);if("+!"===n?(r.signDisplay="always",t=t.slice(2)):"+?"===n&&(r.signDisplay="exceptZero",t=t.slice(2)),!U.test(t))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=t.length}return r}function F(t){return k(t)||{}}function j(t){for(var r={},n=0,e=t;n<e.length;n++){var i=e[n];switch(i.stem){case"percent":case"%":r.style="percent";continue;case"%x100":r.style="percent",r.scale=100;continue;case"currency":r.style="currency",r.currency=i.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=i.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=h(h(h({},r),{notation:"scientific"}),i.options.reduce((function(t,r){return h(h({},t),F(r))}),{}));continue;case"engineering":r=h(h(h({},r),{notation:"engineering"}),i.options.reduce((function(t,r){return h(h({},t),F(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(i.options[0]);continue;case"rounding-mode-floor":r.roundingMode="floor";continue;case"rounding-mode-ceiling":r.roundingMode="ceil";continue;case"rounding-mode-down":r.roundingMode="trunc";continue;case"rounding-mode-up":r.roundingMode="expand";continue;case"rounding-mode-half-even":r.roundingMode="halfEven";continue;case"rounding-mode-half-down":r.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":r.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(G,(function(t,n,e,h,i,s){if(n)r.minimumIntegerDigits=e.length;else{if(h&&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(U.test(i.stem))r.minimumIntegerDigits=i.stem.length;else if(C.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(C,(function(t,n,e,h,i,s){return"*"===e?r.minimumFractionDigits=n.length:h&&"#"===h[0]?r.maximumFractionDigits=h.length:i&&s?(r.minimumFractionDigits=i.length,r.maximumFractionDigits=i.length+s.length):(r.minimumFractionDigits=n.length,r.maximumFractionDigits=n.length),""}));var s=i.options[0];"w"===s?r=h(h({},r),{trailingZeroDisplay:"stripIfInteger"}):s&&(r=h(h({},r),P(s)))}else if(O.test(i.stem))r=h(h({},r),P(i.stem));else{var o=k(i.stem);o&&(r=h(h({},r),o));var a=D(i.stem);a&&(r=h(h({},r),a))}}return r}var K,V={"001":["H","h"],419:["h","H","hB","hb"],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","H","hB","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","H","hB","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","H","hB","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"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["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 x(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 n,e=t.language;return"root"!==e&&(n=t.maximize().region),(V[n||""]||V[e||""]||V["".concat(e,"-001")]||V["001"])[0]}var Z=new RegExp("^".concat(I.source,"*")),Y=new RegExp("".concat(I.source,"*$"));function W(t,r){return{start:t,end:r}}var X=!!String.prototype.startsWith&&"_a".startsWith("a",1),J=!!String.fromCodePoint,z=!!Object.fromEntries,Q=!!String.prototype.codePointAt,$=!!String.prototype.trimStart,q=!!String.prototype.trimEnd,tt=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},rt=!0;try{rt="a"===(null===(K=ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===K?void 0:K[0])}catch(t){rt=!1}var nt,et=X?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},ht=J?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n,e="",h=t.length,i=0;h>i;){if((n=t[i++])>1114111)throw RangeError(n+" is not a valid code point");e+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return e},it=z?Object.fromEntries:function(t){for(var r={},n=0,e=t;n<e.length;n++){var h=e[n];r[h[0]]=h[1]}return r},st=Q?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var e,h=t.charCodeAt(r);return h<55296||h>56319||r+1===n||(e=t.charCodeAt(r+1))<56320||e>57343?h:e-56320+(h-55296<<10)+65536}},ot=$?function(t){return t.trimStart()}:function(t){return t.replace(Z,"")},at=q?function(t){return t.trimEnd()}:function(t){return t.replace(Y,"")};function ut(t,r){return new RegExp(t,r)}if(rt){var ct=ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");nt=function(t,r){var n;return ct.lastIndex=r,null!==(n=ct.exec(t)[1])&&void 0!==n?n:""}}else nt=function(t,r){for(var n=[];;){var e=st(t,r);if(void 0===e||Bt(e)||bt(e))break;n.push(e),r+=e>=65536?2:1}return ht.apply(void 0,n)};var ft,lt=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,n){for(var e=[];!this.isEOF();){var h=this.char();if(123===h){if((i=this.parseArgument(t,n)).err)return i;e.push(i.val)}else{if(125===h&&t>0)break;if(35!==h||"plural"!==r&&"selectordinal"!==r){if(60===h&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(f.UNMATCHED_CLOSING_TAG,W(this.clonePosition(),this.clonePosition()))}if(60===h&&!this.ignoreTag&&Ht(this.peek()||0)){if((i=this.parseTag(t,r)).err)return i;e.push(i.val)}else{var i;if((i=this.parseLiteral(t,r)).err)return i;e.push(i.val)}}else{var s=this.clonePosition();this.bump(),e.push({type:l.pound,location:W(s,this.clonePosition())})}}}return{val:e,err:null}},t.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var e=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:l.literal,value:"<".concat(e,"/>"),location:W(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var h=this.parseMessage(t+1,r,!0);if(h.err)return h;var i=h.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ht(this.char()))return this.error(f.INVALID_TAG,W(s,this.clonePosition()));var o=this.clonePosition();return e!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,W(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:l.tag,value:e,children:i,location:W(n,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,W(s,this.clonePosition())))}return this.error(f.UNCLOSED_TAG,W(n,this.clonePosition()))}return this.error(f.INVALID_TAG,W(n,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 n=this.clonePosition(),e="";;){var h=this.tryParseQuote(r);if(h)e+=h;else{var i=this.tryParseUnquoted(t,r);if(i)e+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;e+=s}}}var o=W(n,this.clonePosition());return{val:{type:l.literal,value:e,location:o},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ht(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 n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}r.push(39),this.bump()}else r.push(n);this.bump()}return ht.apply(void 0,r)},t.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===r||"selectordinal"===r)||125===n&&t>0?null:(this.bump(),ht(n))},t.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,W(n,this.clonePosition()));var e=this.parseIdentifierIfPossible().value;if(!e)return this.error(f.MALFORMED_ARGUMENT,W(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:l.argument,value:e,location:W(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition())):this.parseArgumentOptions(t,r,e,n);default:return this.error(f.MALFORMED_ARGUMENT,W(n,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=nt(this.message,r);return this.bumpTo(r+n.length),{value:n,location:W(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,r,n,e){var i,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,W(s,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(p=at(m.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,W(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:W(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(e)).err)return y;var B=W(e,this.clonePosition());if(u&&et(null==u?void 0:u.style,"::",0)){var b=ot(u.style.slice(2));if("number"===o)return(m=this.parseNumberSkeletonFromString(b,u.styleLocation)).err?m:{val:{type:l.number,value:n,location:B,style:m.val},err:null};if(0===b.length)return this.error(f.EXPECT_DATE_TIME_SKELETON,B);var v=b;this.locale&&(v=function(t,r){for(var n="",e=0;e<t.length;e++){var h=t.charAt(e);if("j"===h){for(var i=0;e+1<t.length&&t.charAt(e+1)===h;)i++,e++;var s=1+(1&i),o=i<2?1:3+(i>>1),a=x(r);for("H"!=a&&"k"!=a||(o=0);o-- >0;)n+="a";for(;s-- >0;)n=a+n}else n+="J"===h?"H":h}return n}(b,this.locale));var p={type:H.dateTime,pattern:v,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?R(v):{}};return{val:{type:"date"===o?l.date:l.time,value:n,location:B,style:p},err:null}}return{val:{type:"number"===o?l.number:"date"===o?l.date:l.time,value:n,location:B,style:null!==(i=null==u?void 0:u.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,W(E,h({},E)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W(this.clonePosition(),this.clonePosition()));var m;if(this.bumpSpace(),(m=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=m.val}var y,w=this.tryParsePluralOrSelectOptions(t,o,r,d);if(w.err)return w;if((y=this.tryParseArgumentClose(e)).err)return y;var T=W(e,this.clonePosition());return"select"===o?{val:{type:l.select,value:n,options:it(w.val),location:T},err:null}:{val:{type:l.plural,value:n,options:it(w.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:T},err:null};default:return this.error(f.INVALID_ARGUMENT_TYPE,W(s,a))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(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 n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,W(n,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 n=[];try{n=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var r=[],n=0,e=t.split(L).filter((function(t){return t.length>0}));n<e.length;n++){var h=e[n].split("/");if(0===h.length)throw new Error("Invalid number skeleton");for(var i=h[0],s=h.slice(1),o=0,a=s;o<a.length;o++)if(0===a[o].length)throw new Error("Invalid number skeleton");r.push({stem:i,options:s})}return r}(t)}catch(t){return this.error(f.INVALID_NUMBER_SKELETON,r)}return{val:{type:H.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?j(n):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,r,n,e){for(var h,i=!1,s=[],o=new Set,a=e.value,u=e.location;;){if(0===a.length){var c=this.clonePosition();if("select"===r||!this.bumpIf("="))break;var l=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(l.err)return l;u=W(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(o.has(a))return this.error("select"===r?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(i=!0),this.bumpSpace();var H=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===r?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,W(this.clonePosition(),this.clonePosition()));var B=this.parseMessage(t+1,r,n);if(B.err)return B;var b=this.tryParseArgumentClose(H);if(b.err)return b;s.push([a,{value:B.val,location:W(H,this.clonePosition())}]),o.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,u=h.location}return 0===s.length?this.error("select"===r?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,W(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(f.MISSING_OTHER_CLAUSE,W(this.clonePosition(),this.clonePosition())):{val:s,err:null}},t.prototype.tryParseDecimalInteger=function(t,r){var n=1,e=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var h=!1,i=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;h=!0,i=10*i+(s-48),this.bump()}var o=W(e,this.clonePosition());return h?tt(i*=n)?{val:i,err:null}:this.error(r,o):this.error(t,o)},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=st(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(et(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(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!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()&&Bt(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return null!=n?n:null},t}();function Ht(t){return t>=97&&t<=122||t>=65&&t<=90}function Bt(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function bt(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 vt(t){t.forEach((function(t){if(delete t.location,w(t)||T(t))for(var r in t.options)delete t.options[r].location,vt(t.options[r].value);else g(t)&&_(t.style)||(m(t)||y(t))&&N(t.style)?delete t.style.location:S(t)&&vt(t.children)}))}function pt(t,r){void 0===r&&(r={}),r=h({shouldParseSkeletons:!0,requiresOtherClause:!0},r);var n=new lt(t,r).parse();if(n.err){var e=SyntaxError(f[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return(null==r?void 0:r.captureLocation)||vt(n.val),n.val}!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(ft||(ft={}));var Et,dt=function(t){function r(r,n,e){var h=t.call(this,r)||this;return h.code=n,h.originalMessage=e,h}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,n,e,h){return t.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(e).join('", "'),'"'),ft.INVALID_VALUE,h)||this}return e(r,t),r}(dt),mt=function(t){function r(r,n,e){return t.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ft.INVALID_VALUE,e)||this}return e(r,t),r}(dt),yt=function(t){function r(r,n){return t.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),ft.MISSING_VALUE,n)||this}return e(r,t),r}(dt);function wt(t){return"function"==typeof t}function Tt(t,r,n,e,h,i,s){if(1===t.length&&E(t[0]))return[{type:Et.literal,value:t[0].value}];for(var o=[],a=0,u=t;a<u.length;a++){var c=u[a];if(E(c))o.push({type:Et.literal,value:c.value});else if(A(c))"number"==typeof i&&o.push({type:Et.literal,value:n.getNumberFormat(r).format(i)});else{var f=c.value;if(!h||!(f in h))throw new yt(f,s);var l=h[f];if(d(c))l&&"string"!=typeof l&&"number"!=typeof l||(l="string"==typeof l||"number"==typeof l?String(l):""),o.push({type:"string"==typeof l?Et.literal:Et.object,value:l});else if(m(c)){var H="string"==typeof c.style?e.date[c.style]:N(c.style)?c.style.parsedOptions:void 0;o.push({type:Et.literal,value:n.getDateTimeFormat(r,H).format(l)})}else if(y(c))H="string"==typeof c.style?e.time[c.style]:N(c.style)?c.style.parsedOptions:e.time.medium,o.push({type:Et.literal,value:n.getDateTimeFormat(r,H).format(l)});else if(g(c))(H="string"==typeof c.style?e.number[c.style]:_(c.style)?c.style.parsedOptions:void 0)&&H.scale&&(l*=H.scale||1),o.push({type:Et.literal,value:n.getNumberFormat(r,H).format(l)});else{if(S(c)){var B=c.children,b=c.value,v=h[b];if(!wt(v))throw new mt(b,"function",s);var p=v(Tt(B,r,n,e,h,i).map((function(t){return t.value})));Array.isArray(p)||(p=[p]),o.push.apply(o,p.map((function(t){return{type:"string"==typeof t?Et.literal:Et.object,value:t}})))}if(w(c)){if(!(I=c.options[l]||c.options.other))throw new gt(c.value,l,Object.keys(c.options),s);o.push.apply(o,Tt(I.value,r,n,e,h))}else if(T(c)){var I;if(!(I=c.options["=".concat(l)])){if(!Intl.PluralRules)throw new dt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ft.MISSING_INTL_API,s);var M=n.getPluralRules(r,{type:c.pluralType}).select(l-(c.offset||0));I=c.options[M]||c.options.other}if(!I)throw new gt(c.value,l,Object.keys(c.options),s);o.push.apply(o,Tt(I.value,r,n,e,h,l-(c.offset||0)))}}}}return(R=o).length<2?R:R.reduce((function(t,r){var n=t[t.length-1];return n&&n.type===Et.literal&&r.type===Et.literal?n.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,n){t[r]=n}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(Et||(Et={}));var St=function(){function t(r,n,e,o){void 0===n&&(n=t.defaultLocale);var a,u,c,f=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var r=f.formatToParts(t);if(1===r.length)return r[0].value;var n=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 n.length<=1?n[0]||"":n},this.formatToParts=function(t){return Tt(f.ast,f.locales,f.formatters,f.formats,t,void 0,f.message)},this.resolvedOptions=function(){var t;return{locale:(null===(t=f.resolvedLocale)||void 0===t?void 0:t.toString())||Intl.NumberFormat.supportedLocalesOf(f.locales)[0]}},this.getAst=function(){return f.ast},this.locales=n,this.resolvedLocale=t.resolveLocale(n),"string"==typeof r){if(this.message=r,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var l=function(t,r){var n={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0&&(n[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var h=0;for(e=Object.getOwnPropertySymbols(t);h<e.length;h++)r.indexOf(e[h])<0&&Object.prototype.propertyIsEnumerable.call(t,e[h])&&(n[e[h]]=t[e[h]])}return n}(o||{},["formatters"]);this.ast=t.__parse(r,h(h({},l),{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=(u=t.formats,(c=e)?Object.keys(u).reduce((function(t,r){var n,e;return t[r]=(n=u[r],(e=c[r])?h(h(h({},n||{}),e||{}),Object.keys(n).reduce((function(t,r){return t[r]=h(h({},n[r]),e[r]||{}),t}),{})):n),t}),h({},u)):u),this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.number),strategy:p.variadic}),getDateTimeFormat:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.dateTime),strategy:p.variadic}),getPluralRules:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.pluralRules),strategy:p.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=pt,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=St,Nt={},It=["ar","cs","da","de","en","es-es","es","fi","fr-ca","fr","he","hi","it","ja","ko","nl","no","pl","pt-br","pt-pt","ru","sv","th","tr","uk","zh-cn","zh-tw"],Mt={ar:6,cs:1,da:1,de:1,en:0,"es-es":1,es:1,fi:1,"fr-ca":0,fr:1,he:0,hi: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},Rt="en";async function Lt(r,n,e){let h=n,i="en";void 0!==r&&(i=Ct(r),h=await async function(r,n,e,h){const i=h||r.tagName.toLocaleLowerCase().replace(/-beta$/,"");let s;if(r["i18n-resources"])s=r["i18n-resources"];else if(e!==Rt)try{s=await(async(r,n)=>{if(!Nt[n]){const r=((r="en")=>t(`i18n/genesys-webcomponents.i18n.${r}.json`))(n),e=await fetch(r),h=await e.json();Nt[n]=h}return Nt[n][r]})(i,e)}catch(t){s=null}return s||(s=n),s}(r,n,i,e));const s=Object.entries(h).reduce(((t,[r,n])=>(t.set(r,new _t(n,i)),t)),new Map),o=Object.entries(n).reduce(((t,[r,n])=>(t.set(r,new _t(n,Rt)),t)),new Map);return(t,r)=>{var n,e;let h=null===(n=s.get(t))||void 0===n?void 0:n.format(r);return h||(h=null===(e=o.get(t))||void 0===e?void 0:e.format(r),console.warn(`No localized string available for "${t}-${h}" for "${i}" locale. Falling back to English translation.`)),h}}function Ct(t){const n=function(t){const n=r("[lang]",t);return n&&n.lang?n.lang.toLowerCase():Rt}(t),e=n.split(/[_-]/)[0];return It.indexOf(n)>=0?n:It.indexOf(e)>=0?e:Rt}function Ot(t=Rt){return Mt[t]?Mt[t]:Mt[Rt]}export{Ot as a,Lt as b,Ct as g,It as l}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,c as t,h as s,g as
|
1
|
+
import{r as e,c as t,h as s,g as i}from"./p-086c5088.js";import{b as a}from"./p-d15985f1.js";import{r as o}from"./p-0934300e.js";import{t as r}from"./p-408d5857.js";import"./p-4202e9f2.js";const c=class{constructor(s){e(this,s),this.internalallrowselectchange=t(this,"internalallrowselectchange",7),this.id=o("gux-all-row-select"),this.selected=!1,this.disabled=void 0}onCheck(e){e.stopPropagation(),this.selected=this.inputElement.checked,this.internalallrowselectchange.emit(this.selected)}async setIndeterminate(e=!0){this.inputElement.indeterminate=e}async componentWillLoad(){this.i18n=await a(this.root,r,"gux-table")}render(){return s("gux-form-field-checkbox",{key:"ddc6f10f9625bddae53b80e1013fa0d53c042b34","label-position":"screenreader"},s("input",{key:"3a42b86e47020120e9bed8b96c6d48e9d0adb168",ref:e=>this.inputElement=e,slot:"input",id:this.id,type:"checkbox",checked:this.selected,disabled:this.disabled}),s("label",{key:"1c3ba17d1be816a0a94dbc0737b4e8f5a1bc79d5",slot:"label",htmlFor:this.id},"",s("span",{key:"b9607daaf870ff6b8159c8ce657fde02262a002d"},this.i18n("selectAllTableRows"))))}get root(){return i(this)}};c.style=":host{display:flex;flex-direction:row;justify-content:center}";export{c as gux_all_row_select}
|