genesys-spark-components 4.271.0 → 4.273.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/{en-DN1pCytp.js → en-CvDSV6Ye.js} +1 -1
- package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
- package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
- package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-actionable-inline-alert-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
- package/dist/cjs/gux-ai-indicator-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-ai-powered-badge-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-ai-powered-button-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-ai-spinner-loader-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-badge.cjs.entry.js +4 -4
- package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
- package/dist/cjs/gux-branch-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-branch.cjs.entry.js +3 -3
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +3 -3
- 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 +6 -12
- 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-cta-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
- package/dist/cjs/gux-day-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
- 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 +5 -5
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
- package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
- package/dist/cjs/{gux-form-field-container-Df7ErN8p.js → gux-form-field-container-mzRMoN3v.js} +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
- package/dist/cjs/{gux-form-field-error-BV-YhltF.js → gux-form-field-error-ZRgtA5j3.js} +1 -1
- package/dist/cjs/{gux-form-field-fieldset-container-DAFI_dCK.js → gux-form-field-fieldset-container-DQ2YW2GR.js} +1 -1
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
- 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 +3 -3
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-heading.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 +2 -2
- package/dist/cjs/gux-illustration-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
- package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-leaf-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-leaf.cjs.entry.js +2 -2
- package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
- package/dist/cjs/gux-logo-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-logomark-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal.cjs.entry.js +2 -2
- 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 +4 -4
- package/dist/cjs/gux-notification-indicator-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-group-beta.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-option-status-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination.cjs.entry.js +22 -7
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-popup.cjs.entry.js +29 -6
- package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
- package/dist/cjs/gux-rating.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-header-mini.cjs.entry.js +3 -3
- package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
- package/dist/cjs/gux-sparkle-indicator-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
- package/dist/cjs/gux-step.cjs.entry.js +2 -2
- package/dist/cjs/gux-stepper-beta.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 +2 -2
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-advanced-panel.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 +3 -3
- package/dist/cjs/gux-tab-panel.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 +3 -3
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
- package/dist/cjs/gux-table.cjs.entry.js +4 -4
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
- package/dist/cjs/gux-tag.cjs.entry.js +4 -4
- package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-time-picker.cjs.entry.js +54 -15
- 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 +2 -2
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
- package/dist/cjs/gux-tree-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-tree-dropdown-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +3 -3
- package/dist/cjs/{gux-tree-multi.service-Cf1QWPRR.js → gux-tree-multi.service-BoX8sXKh.js} +1 -1
- package/dist/cjs/{gux-tree.service-Bsz25aeG.js → gux-tree.service-CJ_AiGsu.js} +1 -1
- package/dist/cjs/index-CEacuHki.js +3073 -0
- package/dist/cjs/{index-BS2NEMD2.js → index-fQQErx8s.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{on-click-outside-BxpUTvTv.js → on-click-outside-CjhJwL_D.js} +1 -1
- package/dist/cjs/{on-mutation-Bap4O8Wo.js → on-mutation-OJll1Zzv.js} +1 -1
- package/dist/cjs/{on-resize-DYldVWaN.js → on-resize-DF6ZN-8x.js} +1 -1
- package/dist/cjs/parse-px-value-CV1H0T1q.js +10 -0
- package/dist/cjs/{usage-CvDqsSJu.js → usage-BPGr0M6s.js} +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination.js +9 -4
- package/dist/collection/components/stable/gux-popup/gux-popup.css +6 -0
- package/dist/collection/components/stable/gux-popup/gux-popup.js +23 -4
- package/dist/collection/components/stable/gux-table/gux-table.css +2 -0
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +14 -7
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.service.js +39 -6
- package/dist/collection/utils/number/finite-or.js +10 -0
- package/dist/esm/{en-DcP38KKo.js → en-CIk-P55j.js} +1 -1
- package/dist/esm/genesys-webcomponents.js +3 -3
- package/dist/esm/gux-accordion-section.entry.js +1 -1
- package/dist/esm/gux-accordion.entry.js +2 -2
- package/dist/esm/gux-action-button.entry.js +4 -4
- package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-actionable-inline-alert-beta.entry.js +2 -2
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
- package/dist/esm/gux-ai-indicator-beta.entry.js +3 -3
- package/dist/esm/gux-ai-powered-badge-beta.entry.js +3 -3
- package/dist/esm/gux-ai-powered-button-beta.entry.js +2 -2
- package/dist/esm/gux-ai-spinner-loader-beta.entry.js +3 -3
- package/dist/esm/gux-all-row-select.entry.js +2 -2
- package/dist/esm/gux-announce-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-beta.entry.js +3 -3
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
- package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
- package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
- package/dist/esm/gux-badge.entry.js +4 -4
- package/dist/esm/gux-blank-state-beta.entry.js +3 -3
- package/dist/esm/gux-blank-state.entry.js +3 -3
- package/dist/esm/gux-branch-multi.entry.js +2 -2
- package/dist/esm/gux-branch.entry.js +3 -3
- package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +3 -3
- package/dist/esm/gux-button-multi.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/gux-cloud-logo-beta.entry.js +3 -3
- package/dist/esm/gux-cloud-logomark-beta.entry.js +3 -3
- 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 +5 -11
- 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-cta-group.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +3 -3
- package/dist/esm/gux-date-time-beta.entry.js +3 -3
- package/dist/esm/gux-datepicker.entry.js +4 -4
- package/dist/esm/gux-day-beta.entry.js +1 -1
- package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
- 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 +5 -5
- package/dist/esm/gux-dropdown-option.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +5 -5
- package/dist/esm/gux-file-list-item.entry.js +3 -3
- package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
- package/dist/esm/gux-flyout-menu.entry.js +3 -3
- package/dist/esm/gux-form-beta.entry.js +1 -1
- package/dist/esm/gux-form-description.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
- package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
- package/dist/esm/gux-form-field-color.entry.js +5 -5
- package/dist/esm/{gux-form-field-container-CZzFhrGS.js → gux-form-field-container-CQW8E7lZ.js} +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
- package/dist/esm/{gux-form-field-error-_Lc3fH9k.js → gux-form-field-error-CcQL7oib.js} +1 -1
- package/dist/esm/{gux-form-field-fieldset-container-DESEkvIo.js → gux-form-field-fieldset-container-CdNsimj8.js} +1 -1
- package/dist/esm/gux-form-field-file-beta.entry.js +6 -6
- package/dist/esm/gux-form-field-file.entry.js +5 -5
- package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
- package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
- package/dist/esm/gux-form-field-number_2.entry.js +7 -7
- package/dist/esm/gux-form-field-phone.entry.js +6 -6
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
- package/dist/esm/gux-form-field-radio.entry.js +4 -4
- package/dist/esm/gux-form-field-range.entry.js +6 -6
- package/dist/esm/gux-form-field-search.entry.js +5 -5
- package/dist/esm/gux-form-field-select.entry.js +5 -5
- package/dist/esm/gux-form-field-text-like.entry.js +7 -7
- package/dist/esm/gux-form-field-textarea.entry.js +7 -7
- package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
- package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
- package/dist/esm/gux-form-footer.entry.js +2 -2
- package/dist/esm/gux-form-heading.entry.js +1 -1
- package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
- package/dist/esm/gux-icon.entry.js +2 -2
- package/dist/esm/gux-illustration-beta.entry.js +3 -3
- package/dist/esm/gux-inline-alert.entry.js +3 -3
- package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
- package/dist/esm/gux-label-info-beta.entry.js +2 -2
- package/dist/esm/gux-leaf-multi.entry.js +2 -2
- package/dist/esm/gux-leaf.entry.js +2 -2
- package/dist/esm/gux-link-beta.entry.js +2 -2
- package/dist/esm/gux-list-divider.entry.js +1 -1
- package/dist/esm/gux-list-item.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +2 -2
- package/dist/esm/gux-listbox-multi.entry.js +4 -4
- package/dist/esm/gux-loading-message.entry.js +2 -2
- package/dist/esm/gux-logo-beta.entry.js +3 -3
- package/dist/esm/gux-logomark-beta.entry.js +3 -3
- package/dist/esm/gux-menu-option.entry.js +1 -1
- package/dist/esm/gux-menu.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +2 -2
- package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
- package/dist/esm/gux-modal.entry.js +2 -2
- 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 +4 -4
- package/dist/esm/gux-notification-indicator-beta.entry.js +2 -2
- package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-option-group-beta.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-option-status-beta.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
- package/dist/esm/gux-pagination-cursor.entry.js +3 -3
- package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
- package/dist/esm/gux-pagination-legacy.entry.js +2 -2
- package/dist/esm/gux-pagination.entry.js +22 -7
- package/dist/esm/gux-phone-input-beta.entry.js +4 -4
- package/dist/esm/gux-popover-beta.entry.js +3 -3
- package/dist/esm/gux-popover-list-beta.entry.js +3 -3
- package/dist/esm/gux-popover-list.entry.js +3 -3
- package/dist/esm/gux-popup.entry.js +29 -6
- package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
- package/dist/esm/gux-radial-loading.entry.js +3 -3
- package/dist/esm/gux-radial-progress.entry.js +2 -2
- package/dist/esm/gux-rating.entry.js +4 -4
- package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
- package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
- package/dist/esm/gux-row-select.entry.js +2 -2
- package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
- package/dist/esm/gux-segmented-control-item.entry.js +1 -1
- package/dist/esm/gux-select-all.entry.js +2 -2
- package/dist/esm/gux-selector-card-beta.entry.js +2 -2
- package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
- package/dist/esm/gux-side-panel-beta.entry.js +2 -2
- package/dist/esm/gux-side-panel-header-mini.entry.js +3 -3
- package/dist/esm/gux-side-panel-header.entry.js +2 -2
- package/dist/esm/gux-side-panel-heading.entry.js +2 -2
- package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
- package/dist/esm/gux-sort-control.entry.js +3 -3
- package/dist/esm/gux-sparkle-indicator-beta.entry.js +3 -3
- package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
- package/dist/esm/gux-step-title.entry.js +2 -2
- package/dist/esm/gux-step.entry.js +2 -2
- package/dist/esm/gux-stepper-beta.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 +2 -2
- package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
- package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
- package/dist/esm/gux-tab-advanced.entry.js +2 -2
- package/dist/esm/gux-tab-list.entry.js +3 -3
- package/dist/esm/gux-tab-panel.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 +3 -3
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
- package/dist/esm/gux-table-toolbar.entry.js +4 -4
- package/dist/esm/gux-table.entry.js +4 -4
- package/dist/esm/gux-tabs-advanced.entry.js +2 -2
- package/dist/esm/gux-tabs.entry.js +3 -3
- package/dist/esm/gux-tag.entry.js +4 -4
- package/dist/esm/gux-text-highlight.entry.js +2 -2
- package/dist/esm/gux-time-beta.entry.js +3 -3
- package/dist/esm/gux-time-picker.entry.js +55 -16
- 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 +2 -2
- package/dist/esm/gux-toggle-slider.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +3 -3
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
- package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
- package/dist/esm/gux-tooltip-title.entry.js +3 -3
- package/dist/esm/gux-tooltip_2.entry.js +4 -4
- package/dist/esm/gux-tree-beta.entry.js +3 -3
- package/dist/esm/gux-tree-dropdown-beta.entry.js +5 -5
- package/dist/esm/gux-tree-multi-beta.entry.js +3 -3
- package/dist/esm/{gux-tree-multi.service-BwmOAwnt.js → gux-tree-multi.service-BJCgDTDY.js} +1 -1
- package/dist/esm/{gux-tree.service-C-2472Nh.js → gux-tree.service-7PQm5Cyh.js} +1 -1
- package/dist/esm/{index-6v3eWxU0.js → index-D8jdxDXJ.js} +1 -1
- package/dist/esm/index-kwjCRlfg.js +3040 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{on-click-outside-DkhIUXH0.js → on-click-outside-CCaICJ_s.js} +1 -1
- package/dist/esm/{on-mutation-DtqGmAzd.js → on-mutation-D8736pk0.js} +1 -1
- package/dist/esm/{on-resize-DWGKEopy.js → on-resize-CfpT6WMK.js} +1 -1
- package/dist/esm/parse-px-value-BFP33Wy_.js +8 -0
- package/dist/esm/{usage-D4xQaSSz.js → usage-SfRYD6hj.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.css +14 -14
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-d9719b43.entry.js → p-00f8f024.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-01614943.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f72369d3.entry.js → p-018ccafb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-30be4bf2.entry.js → p-033cf00a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6aade216.entry.js → p-03e08708.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a79e694b.entry.js → p-04b16593.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-043aae10.entry.js → p-055ae22d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-644af979.entry.js → p-0671931a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-482f9fa8.entry.js → p-06f6e09f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5d7fc759.entry.js → p-0bbbca8e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-524e4201.entry.js → p-0c573228.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-05746c94.entry.js → p-0c9706e6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f1682ffc.entry.js → p-0e02c8e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b640fe91.entry.js → p-1058d6c3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e2b613c1.entry.js → p-108dd672.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e58b4e80.entry.js → p-11e330f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c4a6f226.entry.js → p-1400cb5d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-143a267d.entry.js +1 -0
- package/dist/genesys-webcomponents/p-146449df.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ae201d11.entry.js → p-186da6a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-59200395.entry.js → p-1bb737b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4879e800.entry.js → p-1eb25afa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d92c7837.entry.js → p-1ec8873a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1f5dbf70.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6bd4b987.entry.js → p-201205a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-061b3c08.entry.js → p-20b1885e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-641c0889.entry.js → p-2184908c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-22f4aa07.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bf969266.entry.js → p-237e349f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d2c721f.entry.js → p-239b50b1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-db3751ca.entry.js → p-2662ec77.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-34f127ca.entry.js → p-28940d8b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1c838328.entry.js → p-28dff566.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3fd1fc99.entry.js → p-2b3ed28a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7b1a7a77.entry.js → p-2e73a7f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4f0a0587.entry.js → p-2e73f97e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-28a35dbe.entry.js → p-31d47a20.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ea46a74e.entry.js → p-3201fb7e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-33176e9f.entry.js +1 -0
- package/dist/genesys-webcomponents/p-331965ae.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b21c2bce.entry.js → p-33524af5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7efdeca1.entry.js → p-34fa787b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-35dd0017.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1c8f6099.entry.js → p-38b2ec88.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8bffcb9d.entry.js → p-391b1119.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14d11a8b.entry.js → p-3982996c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1e0b01fc.entry.js → p-3a4921b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0fc02c62.entry.js → p-3ad46804.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6ae06fe4.entry.js → p-3d6c5a10.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-af6965ce.entry.js → p-3dadf172.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e3c31e03.entry.js → p-41285908.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-63f68a79.entry.js → p-42aefbef.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f868ea34.entry.js → p-44adc57c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fcfad0eb.entry.js → p-45bb4e9d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8fee0401.entry.js → p-45e9a4e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-66c9aae7.entry.js → p-46c97f90.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-489ad16b.entry.js → p-46fad001.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c2ee9824.entry.js → p-4808dd0f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cd778760.entry.js → p-4a0936d3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5a6506b6.entry.js → p-4f9e18a2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d4398052.entry.js → p-51e77bbb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6954b584.entry.js → p-5362f57c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e684a9ef.entry.js → p-55981d99.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1027cb12.entry.js → p-5756c7e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f0220721.entry.js → p-575f40fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb1e6164.entry.js → p-57dcbaa3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a8bd243d.entry.js → p-5afca7c5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9f8602d8.entry.js → p-5b4476ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a8aa2040.entry.js → p-5b46a7a2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5d3ad442.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-437a4a2d.entry.js → p-604efd4b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6e31eb6c.entry.js → p-60cc08e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a238271b.entry.js → p-61e042a3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f9738b15.entry.js → p-628573c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6421f969.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4861c7e0.entry.js → p-65184511.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50279493.entry.js → p-68b86515.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7fb06349.entry.js → p-6a4f27ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8e92db3a.entry.js → p-6be6357c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d10c3424.entry.js → p-7a792e96.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fc2dd0c4.entry.js → p-7a91eff7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-13f671ec.entry.js → p-7d462096.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-40b05b1b.entry.js → p-7d58ffc9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c08e0f2c.entry.js → p-7dc3d8e3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f4e41179.entry.js → p-7e4618db.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b3755667.entry.js → p-7e64e716.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7364cd57.entry.js → p-847ffc53.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ed0fc75d.entry.js → p-84d13c73.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-04f3b2bf.entry.js → p-84eb7ec2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-933135d4.entry.js → p-85484ddb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4721bafb.entry.js → p-85814120.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-44699192.entry.js → p-882d1132.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7b602022.entry.js → p-886f44a6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1ad0b1ca.entry.js → p-88724c91.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9b2155e6.entry.js → p-8b732c4d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b01bdae5.entry.js → p-8b7ca252.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0e18812a.entry.js → p-8bd0fddb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5c06ecfe.entry.js → p-8d436dfe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-67107385.entry.js → p-8e61d909.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-946aaad5.entry.js → p-8e839d14.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-11926147.entry.js → p-8fd1902b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a70bceb0.entry.js → p-90256f1d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8c1e52fd.entry.js → p-90985ca0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a84b0790.entry.js → p-90ad8389.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b352475f.entry.js → p-91988537.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3ea44969.entry.js → p-92377a9d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fa7de3a9.entry.js → p-925f67f5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0186f6e5.entry.js → p-92eb3ce3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e68c378.entry.js → p-92f6f207.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-de38e814.entry.js → p-95cd9b4d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5d4ab609.entry.js → p-97cbc0a1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-98701b25.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-abd12313.entry.js → p-98890f83.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4ae6afaf.entry.js → p-98ee3444.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-49687715.entry.js → p-9909e87f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-321d940d.entry.js → p-997765a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9cf701c1.entry.js +1 -0
- package/dist/genesys-webcomponents/p-9db148a5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-96456618.entry.js → p-9dd14fca.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-46452f9f.entry.js → p-9e67c8ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-BFP33Wy_.js +1 -0
- package/dist/genesys-webcomponents/{p-Uxk68r1P.js → p-Br9hR27G.js} +1 -1
- package/dist/genesys-webcomponents/{p-BXU7YHMz.js → p-CU6H_yhX.js} +1 -1
- package/dist/genesys-webcomponents/{p-CIB2iF29.js → p-CyKt8d35.js} +1 -1
- package/dist/genesys-webcomponents/{p-5A19izkz.js → p-D22nBXS3.js} +1 -1
- package/dist/genesys-webcomponents/{p-C8_8hwEr.js → p-DbP6U8MZ.js} +1 -1
- package/dist/genesys-webcomponents/{p-C3YVpHpH.js → p-DruyT7wT.js} +1 -1
- package/dist/genesys-webcomponents/p-DsSpCzqR.js +1 -0
- package/dist/genesys-webcomponents/{p-D4xQaSSz.js → p-SfRYD6hj.js} +1 -1
- package/dist/genesys-webcomponents/p-VP2iw7c8.js +1 -0
- package/dist/genesys-webcomponents/{p-f4e083bf.entry.js → p-a030820d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-36b750e4.entry.js → p-a15f2437.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-605b74d5.entry.js → p-a1e7a2b1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c2f8f41d.entry.js → p-a30a9a2e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-01a1e537.entry.js → p-a3fd4a42.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-88add191.entry.js → p-a9292bc7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3680ee12.entry.js → p-acaccd49.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c087eb2e.entry.js → p-ad38ac7d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-92b877db.entry.js → p-adc0a742.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-73792c69.entry.js → p-ae56e90e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5beafe3f.entry.js → p-afdd1255.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24db8358.entry.js → p-b241ec3e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1fb78d2e.entry.js → p-b374a123.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-90d8574e.entry.js → p-b53c4049.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-51fdd70e.entry.js → p-b63d97a1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c085b937.entry.js → p-b672e9c4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1ea53aa3.entry.js → p-b6860f65.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c2cc7652.entry.js → p-b77f8fd3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f1afe56f.entry.js → p-b7eb03f4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ca7bb690.entry.js → p-b9b39f64.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7db9f8d0.entry.js → p-bc14ada0.entry.js} +2 -2
- package/dist/genesys-webcomponents/{p-9d4646ac.entry.js → p-bd9ab797.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bd6d6ccd.entry.js → p-be22d717.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14383a81.entry.js → p-be95e160.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-102d2c62.entry.js → p-c0869ae2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-823bbddb.entry.js → p-c0cadfd2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ae8ec10b.entry.js → p-c2c47de3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6cc8c8dd.entry.js → p-c47b0d69.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-60cd5106.entry.js → p-c5d0ac93.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1b8e400f.entry.js → p-c72dbafe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-82235fe9.entry.js → p-c9ea1caf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-de12c36c.entry.js → p-cec91148.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d11439fe.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4c9e3b0c.entry.js → p-d7184a42.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-46f5378a.entry.js → p-d804f0e1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-353d7f76.entry.js → p-d8219d13.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8e8631da.entry.js → p-d89b6dd4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b6164590.entry.js → p-da5125fe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-49ba3541.entry.js → p-db9dad18.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-af02af95.entry.js → p-dc143c77.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-74385835.entry.js → p-dd4a7026.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-439f8c37.entry.js → p-dd86af9b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7514ea26.entry.js → p-dec73927.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b564b7b1.entry.js → p-dfd1b774.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8034f7b7.entry.js → p-dfe9e0c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-db56773a.entry.js → p-e3db9981.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d9fadcce.entry.js → p-e6cee868.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e872c3a2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0335cdf5.entry.js → p-e9c968fe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c04c6e0f.entry.js → p-eab6aeeb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c49c6b9e.entry.js → p-ebce7943.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cbc7a351.entry.js → p-ebe1f447.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-13d926a1.entry.js → p-ef8ba7e1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-056ba8c6.entry.js → p-efcb5005.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-72a6c3ee.entry.js → p-f09cc809.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-63033009.entry.js → p-f09dda54.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bca6044c.entry.js → p-f214d05c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-39415e4e.entry.js → p-f278e21a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e73916b7.entry.js → p-f51ae370.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-74b20d70.entry.js → p-f6023436.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9c8bf127.entry.js → p-f6f2971f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5c579e32.entry.js → p-f703e32e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c9c13b63.entry.js → p-f9fde075.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75be095d.entry.js → p-fbe0c9ee.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-fc0fd6c7.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-102a0707.entry.js → p-fd2b6be7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-kwjCRlfg.js +3 -0
- package/dist/genesys-webcomponents/{p-CXZfxQxz.js → p-n5Z2vc_L.js} +1 -1
- package/dist/genesys-webcomponents/{p-Bd_itgGZ.js → p-rOoAbZJ_.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/stable/gux-pagination/gux-pagination.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-time-picker/gux-time-picker.service.d.ts +13 -2
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/dist/types/utils/number/finite-or.d.ts +8 -0
- package/package.json +6 -7
- package/dist/cjs/index-B8blkDn_.js +0 -3073
- package/dist/esm/index-DuKsR5Vf.js +0 -3040
- package/dist/genesys-webcomponents/p-0cb0bc5d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-162a629d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-20325dcd.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2bc1a5f7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3cb25cb9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4630bb0f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-61d040be.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6b95f215.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6d297dfa.entry.js +0 -1
- package/dist/genesys-webcomponents/p-701ce813.entry.js +0 -1
- package/dist/genesys-webcomponents/p-79da136b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7b963c46.entry.js +0 -1
- package/dist/genesys-webcomponents/p-86b97186.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9tDzlfD1.js +0 -1
- package/dist/genesys-webcomponents/p-CcIqpJ6G.js +0 -1
- package/dist/genesys-webcomponents/p-DuKsR5Vf.js +0 -3
- package/dist/genesys-webcomponents/p-baf29c06.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c94e70b8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ee0a3f35.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as t}from"./p-DuKsR5Vf.js";import{g as e}from"./p-Bwt-u0lF.js";function h(t,e){return(e&&e.strategy?e.strategy:s)(t,{cache:e&&e.cache?e.cache:a,serializer:e&&e.serializer?e.serializer:o})}function n(t,e,h,n){const r=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:h(n);var i;let s=e.get(r);return void 0===s&&(s=t.call(this,n),e.set(r,s)),s}function r(t,e,h){const n=Array.prototype.slice.call(arguments,3),r=h(n);let i=e.get(r);return void 0===i&&(i=t.apply(this,n),e.set(r,i)),i}function i(t,e,h,n,r){return h.bind(e,t,n,r)}function s(t,e){return i(t,this,1===t.length?n:r,e.cache.create(),e.serializer)}const o=function(){return JSON.stringify(arguments)};var c=class{constructor(){this.cache=Object.create(null)}get(t){return this.cache[t]}set(t,e){this.cache[t]=e}};const a={create:function(){return new c}},u={variadic:function(t,e){return i(t,this,r,e.cache.create(),e.serializer)}},l=/(?:[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 H(t){const e={};return t.replace(l,(t=>{const h=t.length;switch(t[0]){case"G":e.era=4===h?"long":5===h?"narrow":"short";break;case"y":e.year=2===h?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][h-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][h-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=4===h?"long":5===h?"narrow":"short";break;case"e":if(h<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][h-3];break;case"c":if(h<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][h-3];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][h-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][h-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][h-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][h-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][h-1];break;case"s":e.second=["numeric","2-digit"][h-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=h<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),e}const f=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,B=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,b=/^(@+)?(\+|#+)?[rs]?$/g,p=/(\*)(0+)|(#+)(0+)|(0+)/g,E=/^(0+)$/;function g(t){const e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(b,(function(t,h,n){return"string"!=typeof n?(e.minimumSignificantDigits=h.length,e.maximumSignificantDigits=h.length):"+"===n?e.minimumSignificantDigits=h.length:"#"===h[0]?e.maximumSignificantDigits=h.length:(e.minimumSignificantDigits=h.length,e.maximumSignificantDigits=h.length+("string"==typeof n?n.length:0)),""})),e}function d(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function m(t){let e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){const h=t.slice(0,2);if("+!"===h?(e.signDisplay="always",t=t.slice(2)):"+?"===h&&(e.signDisplay="exceptZero",t=t.slice(2)),!E.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function y(t){return d(t)||{}}function w(t){let e={};for(const h of t){switch(h.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=h.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=h.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e={...e,notation:"scientific",...h.options.reduce(((t,e)=>({...t,...y(e)})),{})};continue;case"engineering":e={...e,notation:"engineering",...h.options.reduce(((t,e)=>({...t,...y(e)})),{})};continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(h.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(h.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");h.options[0].replace(p,(function(t,h,n,r,i,s){if(h)e.minimumIntegerDigits=n.length;else{if(r&&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(E.test(h.stem)){e.minimumIntegerDigits=h.stem.length;continue}if(B.test(h.stem)){if(h.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");h.stem.replace(B,(function(t,h,n,r,i,s){return"*"===n?e.minimumFractionDigits=h.length:r&&"#"===r[0]?e.maximumFractionDigits=r.length:i&&s?(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length+s.length):(e.minimumFractionDigits=h.length,e.maximumFractionDigits=h.length),""}));const t=h.options[0];"w"===t?e={...e,trailingZeroDisplay:"stripIfInteger"}:t&&(e={...e,...g(t)});continue}if(b.test(h.stem)){e={...e,...g(h.stem)};continue}const t=d(h.stem);t&&(e={...e,...t});const n=m(h.stem);n&&(e={...e,...n})}return e}let T=function(t){return 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",t}({});function A(t){return 0===t.type}function v(t){return 1===t.type}function S(t){return 2===t.type}function I(t){return 3===t.type}function N(t){return 4===t.type}function L(t){return 5===t.type}function M(t){return 6===t.type}function _(t){return 7===t.type}function R(t){return 8===t.type}function C(t){return!(!t||"object"!=typeof t||0!==t.type)}function G(t){return!(!t||"object"!=typeof t||1!==t.type)}const O=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,P={"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"],GS:["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"],"ku-SY":["H","hB"],"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 U(t){let e=t.hourCycle;if(void 0===e){const h=t;e=h.getHourCycles?.()[0]??h.hourCycles?.[0]}if(e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}const h=t.language;let n;return"root"!==h&&(n=t.maximize().region),(P[`${h}-${n}`]||P[n||""]||P[h||""]||P[`${h}-001`]||P["001"])[0].charAt(0)}const k=new RegExp(`^${O.source}*`),D=new RegExp(`${O.source}*$`);function F(t,e){return{start:t,end:e}}const K=Object.fromEntries?Object.fromEntries:function(t){const e={};for(const[h,n]of t)e[h]=n;return e},$=String.prototype.trimStart?function(t){return t.trimStart()}:function(t){return t.replace(k,"")},V=String.prototype.trimEnd?function(t){return t.trimEnd()}:function(t){return t.replace(D,"")},x=new RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var j=class{constructor(t,e={}){this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){const t=this.message.charCodeAt(0);if(35!==t&&39!==t&&60!==t&&123!==t&&125!==t){const t=function(t){if(0===t.length)return null;let e=1,h=1;for(let n=0;n<t.length;){const r=t.charCodeAt(n);switch(r){case 35:case 39:case 60:case 123:case 125:return null}if(10===r)e++,h=1,n++;else if(h++,r>=55296&&r<=56319&&n+1<t.length){const e=t.charCodeAt(n+1);n+=e>=56320&&e<=57343?2:1}else n++}return{offset:t.length,line:e,column:h}}(this.message);if(t){const e=this.clonePosition();return this.position=t,{val:[{type:0,value:this.message,location:F(e,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(t,e,h){let n=[];for(;!this.isEOF();){const r=this.char();if(123===r){const e=this.parseArgument(t,h);if(e.err)return e;n.push(e.val)}else{if(125===r&&t>0)break;if(35!==r||"plural"!==e&&"selectordinal"!==e){if(60===r&&!this.ignoreTag&&47===this.peek()){if(h)break;return this.error(26,F(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&Z(this.peek()||0)){const h=this.parseTag(t,e);if(h.err)return h;n.push(h.val)}else{const h=this.parseLiteral(t,e);if(h.err)return h;n.push(h.val)}}else{const t=this.clonePosition();this.bump(),n.push({type:7,location:F(t,this.clonePosition())})}}}return{val:n,err:null}}parseTag(t,e){const h=this.clonePosition();this.bump();const n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${n}/>`,location:F(h,this.clonePosition())},err:null};if(this.bumpIf(">")){const r=this.parseMessage(t+1,e,!0);if(r.err)return r;const i=r.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Z(this.char()))return this.error(23,F(s,this.clonePosition()));const t=this.clonePosition();return n!==this.parseTagName()?this.error(26,F(t,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:8,value:n,children:i,location:F(h,this.clonePosition())},err:null}:this.error(23,F(s,this.clonePosition())))}return this.error(27,F(h,this.clonePosition()))}return this.error(23,F(h,this.clonePosition()))}parseTagName(){const t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();var e;return this.message.slice(t,this.offset())}parseLiteral(t,e){const h=this.clonePosition();let n="";for(;;){const h=this.tryParseQuote(e);if(h){n+=h;continue}const r=this.tryParseUnquoted(t,e);if(r){n+=r;continue}const i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}return{val:{type:0,value:n,location:F(h,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Z(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t}tryParseQuote(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();const e=[this.char()];for(this.bump();!this.isEOF();){const t=this.char();if(39===t){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(t);this.bump()}return String.fromCodePoint(...e)}tryParseUnquoted(t,e){if(this.isEOF())return null;const h=this.char();return 60===h||123===h||35===h&&("plural"===e||"selectordinal"===e)||125===h&&t>0?null:(this.bump(),String.fromCodePoint(h))}parseArgument(t,e){const h=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,F(h,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,F(h,this.clonePosition()));let n=this.parseIdentifierIfPossible().value;if(!n)return this.error(3,F(h,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,F(h,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:n,location:F(h,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(1,F(h,this.clonePosition())):this.parseArgumentOptions(t,e,n,h);default:return this.error(3,F(h,this.clonePosition()))}}parseIdentifierIfPossible(){const t=this.clonePosition(),e=this.offset(),h=(n=this.message,x.lastIndex=e,x.exec(n)[1]??"");var n;return this.bumpTo(e+h.length),{value:h,location:F(t,this.clonePosition())}}parseArgumentOptions(t,e,h,n){let r=this.clonePosition(),i=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(i){case"":return this.error(4,F(r,s));case"number":case"date":case"time":{this.bumpSpace();let t=null;if(this.bumpIf(",")){this.bumpSpace();const e=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;const n=V(h.val);if(0===n.length)return this.error(6,F(this.clonePosition(),this.clonePosition()));t={style:n,styleLocation:F(e,this.clonePosition())}}const e=this.tryParseArgumentClose(n);if(e.err)return e;const r=F(n,this.clonePosition());if(t&&t.style.startsWith("::")){let e=$(t.style.slice(2));if("number"===i){const n=this.parseNumberSkeletonFromString(e,t.styleLocation);return n.err?n:{val:{type:2,value:h,location:r,style:n.val},err:null}}{if(0===e.length)return this.error(10,r);let n=e;return this.locale&&(n=function(t,e){let h="";for(let n=0;n<t.length;n++){const r=t.charAt(n);if("j"===r){let i=0;for(;n+1<t.length&&t.charAt(n+1)===r;)i++,n++;let s=1+(1&i),o=i<2?1:3+(i>>1),c="a",a=U(e);for("H"!=a&&"k"!=a||(o=0);o-- >0;)h+=c;for(;s-- >0;)h=a+h}else h+="J"===r?"H":r}return h}(e,this.locale)),{val:{type:"date"===i?3:4,value:h,location:r,style:{type:1,pattern:n,location:t.styleLocation,parsedOptions:this.shouldParseSkeletons?H(n):{}}},err:null}}}return{val:{type:"number"===i?2:"date"===i?3:4,value:h,location:r,style:t?.style??null},err:null}}case"plural":case"selectordinal":case"select":{const r=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,F(r,{...r}));this.bumpSpace();let s=this.parseIdentifierIfPossible(),o=0;if("select"!==i&&"offset"===s.value){if(!this.bumpIf(":"))return this.error(13,F(this.clonePosition(),this.clonePosition()));this.bumpSpace();const t=this.tryParseDecimalInteger(13,14);if(t.err)return t;this.bumpSpace(),s=this.parseIdentifierIfPossible(),o=t.val}const c=this.tryParsePluralOrSelectOptions(t,i,e,s);if(c.err)return c;const a=this.tryParseArgumentClose(n);if(a.err)return a;const u=F(n,this.clonePosition());return"select"===i?{val:{type:5,value:h,options:K(c.val),location:u},err:null}:{val:{type:6,value:h,options:K(c.val),offset:o,pluralType:"plural"===i?"cardinal":"ordinal",location:u},err:null}}default:return this.error(5,F(r,s))}}tryParseArgumentClose(t){return this.isEOF()||125!==this.char()?this.error(1,F(t,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let t=0;const e=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,F(t,this.clonePosition()));this.bump();break}case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}}parseNumberSkeletonFromString(t,e){let h=[];try{h=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");const e=t.split(f).filter((t=>t.length>0)),h=[];for(const t of e){let e=t.split("/");if(0===e.length)throw new Error("Invalid number skeleton");const[n,...r]=e;for(const t of r)if(0===t.length)throw new Error("Invalid number skeleton");h.push({stem:n,options:r})}return h}(t)}catch{return this.error(7,e)}return{val:{type:0,tokens:h,location:e,parsedOptions:this.shouldParseSkeletons?w(h):{}},err:null}}tryParsePluralOrSelectOptions(t,e,h,n){let r=!1;const i=[],s=new Set;let{value:o,location:c}=n;for(;;){if(0===o.length){const t=this.clonePosition();if("select"===e||!this.bumpIf("="))break;{const e=this.tryParseDecimalInteger(16,19);if(e.err)return e;c=F(t,this.clonePosition()),o=this.message.slice(t.offset,this.offset())}}if(s.has(o))return this.error("select"===e?21:20,c);"other"===o&&(r=!0),this.bumpSpace();const n=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?17:18,F(this.clonePosition(),this.clonePosition()));const a=this.parseMessage(t+1,e,h);if(a.err)return a;const u=this.tryParseArgumentClose(n);if(u.err)return u;i.push([o,{value:a.val,location:F(n,this.clonePosition())}]),s.add(o),this.bumpSpace(),({value:o,location:c}=this.parseIdentifierIfPossible())}return 0===i.length?this.error("select"===e?15:16,F(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(22,F(this.clonePosition(),this.clonePosition())):{val:i,err:null}}tryParseDecimalInteger(t,e){let h=1;const n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(h=-1);let r=!1,i=0;for(;!this.isEOF();){const t=this.char();if(!(t>=48&&t<=57))break;r=!0,i=10*i+(t-48),this.bump()}const s=F(n,this.clonePosition());return r?(i*=h,Number.isSafeInteger(i)?{val:i,err:null}:this.error(e,s)):this.error(t,s)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){const t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");const e=this.message.codePointAt(t);if(void 0===e)throw Error(`Offset ${t} is at invalid UTF-16 code unit boundary`);return e}error(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}}bump(){if(this.isEOF())return;const 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)}bumpIf(t){if(this.message.startsWith(t,this.offset())){for(let e=0;e<t.length;e++)this.bump();return!0}return!1}bumpUntil(t){const e=this.offset(),h=this.message.indexOf(t,e);return h>=0?(this.bumpTo(h),!0):(this.bumpTo(this.message.length),!1)}bumpTo(t){if(this.offset()>t)throw Error(`targetOffset ${t} must be greater than or equal to the current offset ${this.offset()}`);for(t=Math.min(t,this.message.length);;){const e=this.offset();if(e===t)break;if(e>t)throw Error(`targetOffset ${t} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&((t=this.char())>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t);)this.bump();var t}peek(){if(this.isEOF())return null;const t=this.char(),e=this.offset();return this.message.charCodeAt(e+(t>=65536?2:1))??null}};function Z(t){return t>=97&&t<=122||t>=65&&t<=90}function Y(t){t.forEach((t=>{if(delete t.location,L(t)||M(t))for(const e in t.options)delete t.options[e].location,Y(t.options[e].value);else S(t)&&C(t.style)||(I(t)||N(t))&&G(t.style)?delete t.style.location:R(t)&&Y(t.children)}))}function X(t,e={}){e={shouldParseSkeletons:!0,requiresOtherClause:!0,...e};const h=new j(t,e).parse();if(h.err){const t=SyntaxError(T[h.err.kind]);throw t.location=h.err.location,t.originalMessage=h.err.message,t}return e?.captureLocation||Y(h.val),h.val}var W=class extends Error{constructor(t,e,h){super(t),this.code=e,this.originalMessage=h}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},J=class extends W{constructor(t,e,h,n){super(`Invalid values for "${t}": "${e}". Options are "${Object.keys(h).join('", "')}"`,"INVALID_VALUE",n)}},z=class extends W{constructor(t,e,h){super(`Value for "${t}" must be of type ${e}`,"INVALID_VALUE",h)}},Q=class extends W{constructor(t,e){super(`The intl string context variable "${t}" was not provided to the string "${e}"`,"MISSING_VALUE",e)}};function q(t){return"function"==typeof t}function tt(t,e,h,n,r,i,s){if(1===t.length&&A(t[0]))return[{type:0,value:t[0].value}];const o=[];for(const c of t){if(A(c)){o.push({type:0,value:c.value});continue}if(_(c)){"number"==typeof i&&o.push({type:0,value:h.getNumberFormat(e).format(i)});continue}const{value:t}=c;if(!r||!(t in r))throw new Q(t,s);let a=r[t];if(v(c))a&&"string"!=typeof a&&"number"!=typeof a&&"bigint"!=typeof a||(a="string"==typeof a||"number"==typeof a||"bigint"==typeof a?String(a):""),o.push({type:"string"==typeof a?0:1,value:a});else if(I(c)){const t="string"==typeof c.style?n.date[c.style]:G(c.style)?c.style.parsedOptions:void 0;o.push({type:0,value:h.getDateTimeFormat(e,t).format(a)})}else if(N(c)){const t="string"==typeof c.style?n.time[c.style]:G(c.style)?c.style.parsedOptions:n.time.medium;o.push({type:0,value:h.getDateTimeFormat(e,t).format(a)})}else if(S(c)){const t="string"==typeof c.style?n.number[c.style]:C(c.style)?c.style.parsedOptions:void 0;if(t&&t.scale){const e=t.scale||1;if("bigint"==typeof a){if(!Number.isInteger(e))throw new TypeError(`Cannot apply fractional scale ${e} to bigint value. Scale must be an integer when formatting bigint.`);a*=BigInt(e)}else a*=e}o.push({type:0,value:h.getNumberFormat(e,t).format(a)})}else{if(R(c)){const{children:t,value:a}=c,u=r[a];if(!q(u))throw new z(a,"function",s);let l=u(tt(t,e,h,n,r,i).map((t=>t.value)));Array.isArray(l)||(l=[l]),o.push(...l.map((t=>({type:"string"==typeof t?0:1,value:t}))))}if(L(c)){const t=a,i=(Object.prototype.hasOwnProperty.call(c.options,t)?c.options[t]:void 0)||c.options.other;if(!i)throw new J(c.value,a,Object.keys(c.options),s);o.push(...tt(i.value,e,h,n,r))}else if(M(c)){const t=`=${a}`;let i=Object.prototype.hasOwnProperty.call(c.options,t)?c.options[t]:void 0;if(!i){if(!Intl.PluralRules)throw new W('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",s);const t="bigint"==typeof a?Number(a):a,n=h.getPluralRules(e,{type:c.pluralType}).select(t-(c.offset||0));i=(Object.prototype.hasOwnProperty.call(c.options,n)?c.options[n]:void 0)||c.options.other}if(!i)throw new J(c.value,a,Object.keys(c.options),s);const u="bigint"==typeof a?Number(a):a;o.push(...tt(i.value,e,h,n,r,u-(c.offset||0)))}}}return(c=o).length<2?c:c.reduce(((t,e)=>{const h=t[t.length-1];return h&&0===h.type&&0===e.type?h.value+=e.value:t.push(e),t}),[]);var c}function et(t){return{create:()=>({get:e=>t[e],set(e,h){t[e]=h}})}}var ht=class t{constructor(e,n=t.defaultLocale,r,i){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=t=>{const e=this.formatToParts(t);if(1===e.length)return e[0].value;const h=e.reduce(((t,e)=>(t.length&&0===e.type&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t)),[]);return h.length<=1?h[0]||"":h},this.formatToParts=t=>tt(this.ast,this.locales,this.formatters,this.formats,t,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=n,this.resolvedLocale=t.resolveLocale(n),"string"==typeof e){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...h}=i||{};this.ast=t.__parse(e,{...h,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");var s,o;this.formats=(s=t.formats,(o=r)?Object.keys(s).reduce(((t,e)=>{var h,n;return t[e]=(h=s[e],(n=o[e])?{...h,...n,...Object.keys(h).reduce(((t,e)=>(t[e]={...h[e],...n[e]},t)),{})}:h),t}),{...s}):s),this.formatters=i&&i.formatters||function(t={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:h(((...t)=>new Intl.NumberFormat(...t)),{cache:et(t.number),strategy:u.variadic}),getDateTimeFormat:h(((...t)=>new Intl.DateTimeFormat(...t)),{cache:et(t.dateTime),strategy:u.variadic}),getPluralRules:h(((...t)=>new Intl.PluralRules(...t)),{cache:et(t.pluralRules),strategy:u.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale}static{this.resolveLocale=t=>{if(void 0===Intl.Locale)return;const e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])}}static{this.__parse=X}static{this.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"}}}}},nt=ht;const rt={};var it=["ar","cs","da","de","en","es-es","es","fi","fr-ca","fr","he","hi","hu","it","ja","ko","nl","no","pl","pt-br","pt-pt","ru","sv","th","tr","uk","zh-cn","zh-tw"],st={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,hu:1,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};const ot="en";async function ct(e,h,n){let r=h,i="en";void 0!==e&&(i=at(e),r=await async function(e,h,n,r){const i=r||e.tagName.toLocaleLowerCase().replace(/-beta$/,"");let s;if(e["i18n-resources"])s=e["i18n-resources"];else if(n!==ot)try{s=await(async(e,h)=>{if(!rt[h]){const e=((e="en")=>t(`i18n/genesys-webcomponents.i18n.${e}.json`))(h),n=await fetch(e),r=await n.json();rt[h]=r}return rt[h][e]})(i,n)}catch(t){s=null}return s||(s=h),s}(e,h,i,n));const s=Object.entries(r).reduce(((t,[e,h])=>(t.set(e,new nt(h,i)),t)),new Map),o=Object.entries(h).reduce(((t,[e,h])=>(t.set(e,new nt(h,ot)),t)),new Map);return(t,e)=>{var h,n;let r=null===(h=s.get(t))||void 0===h?void 0:h.format(e);return r||(r=null===(n=o.get(t))||void 0===n?void 0:n.format(e),console.warn(`No localized string available for "${t}-${r}" for "${i}" locale. Falling back to English translation.`)),r}}function at(t){const h=function(t){const h=e("[lang]",t);return h&&h.lang?h.lang.toLowerCase():ot}(t),n=h.split(/[_-]/)[0];return it.indexOf(h)>=0?h:it.indexOf(n)>=0?n:ot}function ut(t=ot){return st[t]?st[t]:st[ot]}function lt(t=ot){return((ut(t)-1)%7+7)%7+1}export{at as a,ct as b,ut as c,lt as g}
|
|
1
|
+
import{e as t}from"./p-kwjCRlfg.js";import{g as e}from"./p-Bwt-u0lF.js";function h(t,e){return(e&&e.strategy?e.strategy:s)(t,{cache:e&&e.cache?e.cache:a,serializer:e&&e.serializer?e.serializer:o})}function n(t,e,h,n){const r=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:h(n);var i;let s=e.get(r);return void 0===s&&(s=t.call(this,n),e.set(r,s)),s}function r(t,e,h){const n=Array.prototype.slice.call(arguments,3),r=h(n);let i=e.get(r);return void 0===i&&(i=t.apply(this,n),e.set(r,i)),i}function i(t,e,h,n,r){return h.bind(e,t,n,r)}function s(t,e){return i(t,this,1===t.length?n:r,e.cache.create(),e.serializer)}const o=function(){return JSON.stringify(arguments)};var c=class{constructor(){this.cache=Object.create(null)}get(t){return this.cache[t]}set(t,e){this.cache[t]=e}};const a={create:function(){return new c}},u={variadic:function(t,e){return i(t,this,r,e.cache.create(),e.serializer)}},l=/(?:[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 H(t){const e={};return t.replace(l,(t=>{const h=t.length;switch(t[0]){case"G":e.era=4===h?"long":5===h?"narrow":"short";break;case"y":e.year=2===h?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][h-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][h-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=4===h?"long":5===h?"narrow":"short";break;case"e":if(h<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][h-3];break;case"c":if(h<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][h-3];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][h-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][h-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][h-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][h-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][h-1];break;case"s":e.second=["numeric","2-digit"][h-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=h<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),e}const f=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,B=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,b=/^(@+)?(\+|#+)?[rs]?$/g,p=/(\*)(0+)|(#+)(0+)|(0+)/g,E=/^(0+)$/;function g(t){const e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(b,(function(t,h,n){return"string"!=typeof n?(e.minimumSignificantDigits=h.length,e.maximumSignificantDigits=h.length):"+"===n?e.minimumSignificantDigits=h.length:"#"===h[0]?e.maximumSignificantDigits=h.length:(e.minimumSignificantDigits=h.length,e.maximumSignificantDigits=h.length+("string"==typeof n?n.length:0)),""})),e}function d(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function m(t){let e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){const h=t.slice(0,2);if("+!"===h?(e.signDisplay="always",t=t.slice(2)):"+?"===h&&(e.signDisplay="exceptZero",t=t.slice(2)),!E.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function y(t){return d(t)||{}}function w(t){let e={};for(const h of t){switch(h.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=h.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=h.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e={...e,notation:"scientific",...h.options.reduce(((t,e)=>({...t,...y(e)})),{})};continue;case"engineering":e={...e,notation:"engineering",...h.options.reduce(((t,e)=>({...t,...y(e)})),{})};continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(h.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(h.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");h.options[0].replace(p,(function(t,h,n,r,i,s){if(h)e.minimumIntegerDigits=n.length;else{if(r&&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(E.test(h.stem)){e.minimumIntegerDigits=h.stem.length;continue}if(B.test(h.stem)){if(h.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");h.stem.replace(B,(function(t,h,n,r,i,s){return"*"===n?e.minimumFractionDigits=h.length:r&&"#"===r[0]?e.maximumFractionDigits=r.length:i&&s?(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length+s.length):(e.minimumFractionDigits=h.length,e.maximumFractionDigits=h.length),""}));const t=h.options[0];"w"===t?e={...e,trailingZeroDisplay:"stripIfInteger"}:t&&(e={...e,...g(t)});continue}if(b.test(h.stem)){e={...e,...g(h.stem)};continue}const t=d(h.stem);t&&(e={...e,...t});const n=m(h.stem);n&&(e={...e,...n})}return e}let T=function(t){return 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",t}({});function A(t){return 0===t.type}function v(t){return 1===t.type}function S(t){return 2===t.type}function I(t){return 3===t.type}function N(t){return 4===t.type}function L(t){return 5===t.type}function M(t){return 6===t.type}function _(t){return 7===t.type}function R(t){return 8===t.type}function C(t){return!(!t||"object"!=typeof t||0!==t.type)}function G(t){return!(!t||"object"!=typeof t||1!==t.type)}const O=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,P={"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"],GS:["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"],"ku-SY":["H","hB"],"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 U(t){let e=t.hourCycle;if(void 0===e){const h=t;e=h.getHourCycles?.()[0]??h.hourCycles?.[0]}if(e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}const h=t.language;let n;return"root"!==h&&(n=t.maximize().region),(P[`${h}-${n}`]||P[n||""]||P[h||""]||P[`${h}-001`]||P["001"])[0].charAt(0)}const k=new RegExp(`^${O.source}*`),D=new RegExp(`${O.source}*$`);function F(t,e){return{start:t,end:e}}const K=Object.fromEntries?Object.fromEntries:function(t){const e={};for(const[h,n]of t)e[h]=n;return e},$=String.prototype.trimStart?function(t){return t.trimStart()}:function(t){return t.replace(k,"")},V=String.prototype.trimEnd?function(t){return t.trimEnd()}:function(t){return t.replace(D,"")},x=new RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var j=class{constructor(t,e={}){this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){const t=this.message.charCodeAt(0);if(35!==t&&39!==t&&60!==t&&123!==t&&125!==t){const t=function(t){if(0===t.length)return null;let e=1,h=1;for(let n=0;n<t.length;){const r=t.charCodeAt(n);switch(r){case 35:case 39:case 60:case 123:case 125:return null}if(10===r)e++,h=1,n++;else if(h++,r>=55296&&r<=56319&&n+1<t.length){const e=t.charCodeAt(n+1);n+=e>=56320&&e<=57343?2:1}else n++}return{offset:t.length,line:e,column:h}}(this.message);if(t){const e=this.clonePosition();return this.position=t,{val:[{type:0,value:this.message,location:F(e,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(t,e,h){let n=[];for(;!this.isEOF();){const r=this.char();if(123===r){const e=this.parseArgument(t,h);if(e.err)return e;n.push(e.val)}else{if(125===r&&t>0)break;if(35!==r||"plural"!==e&&"selectordinal"!==e){if(60===r&&!this.ignoreTag&&47===this.peek()){if(h)break;return this.error(26,F(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&Z(this.peek()||0)){const h=this.parseTag(t,e);if(h.err)return h;n.push(h.val)}else{const h=this.parseLiteral(t,e);if(h.err)return h;n.push(h.val)}}else{const t=this.clonePosition();this.bump(),n.push({type:7,location:F(t,this.clonePosition())})}}}return{val:n,err:null}}parseTag(t,e){const h=this.clonePosition();this.bump();const n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${n}/>`,location:F(h,this.clonePosition())},err:null};if(this.bumpIf(">")){const r=this.parseMessage(t+1,e,!0);if(r.err)return r;const i=r.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Z(this.char()))return this.error(23,F(s,this.clonePosition()));const t=this.clonePosition();return n!==this.parseTagName()?this.error(26,F(t,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:8,value:n,children:i,location:F(h,this.clonePosition())},err:null}:this.error(23,F(s,this.clonePosition())))}return this.error(27,F(h,this.clonePosition()))}return this.error(23,F(h,this.clonePosition()))}parseTagName(){const t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();var e;return this.message.slice(t,this.offset())}parseLiteral(t,e){const h=this.clonePosition();let n="";for(;;){const h=this.tryParseQuote(e);if(h){n+=h;continue}const r=this.tryParseUnquoted(t,e);if(r){n+=r;continue}const i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}return{val:{type:0,value:n,location:F(h,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Z(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t}tryParseQuote(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();const e=[this.char()];for(this.bump();!this.isEOF();){const t=this.char();if(39===t){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(t);this.bump()}return String.fromCodePoint(...e)}tryParseUnquoted(t,e){if(this.isEOF())return null;const h=this.char();return 60===h||123===h||35===h&&("plural"===e||"selectordinal"===e)||125===h&&t>0?null:(this.bump(),String.fromCodePoint(h))}parseArgument(t,e){const h=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,F(h,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,F(h,this.clonePosition()));let n=this.parseIdentifierIfPossible().value;if(!n)return this.error(3,F(h,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,F(h,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:n,location:F(h,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(1,F(h,this.clonePosition())):this.parseArgumentOptions(t,e,n,h);default:return this.error(3,F(h,this.clonePosition()))}}parseIdentifierIfPossible(){const t=this.clonePosition(),e=this.offset(),h=(n=this.message,x.lastIndex=e,x.exec(n)[1]??"");var n;return this.bumpTo(e+h.length),{value:h,location:F(t,this.clonePosition())}}parseArgumentOptions(t,e,h,n){let r=this.clonePosition(),i=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(i){case"":return this.error(4,F(r,s));case"number":case"date":case"time":{this.bumpSpace();let t=null;if(this.bumpIf(",")){this.bumpSpace();const e=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;const n=V(h.val);if(0===n.length)return this.error(6,F(this.clonePosition(),this.clonePosition()));t={style:n,styleLocation:F(e,this.clonePosition())}}const e=this.tryParseArgumentClose(n);if(e.err)return e;const r=F(n,this.clonePosition());if(t&&t.style.startsWith("::")){let e=$(t.style.slice(2));if("number"===i){const n=this.parseNumberSkeletonFromString(e,t.styleLocation);return n.err?n:{val:{type:2,value:h,location:r,style:n.val},err:null}}{if(0===e.length)return this.error(10,r);let n=e;return this.locale&&(n=function(t,e){let h="";for(let n=0;n<t.length;n++){const r=t.charAt(n);if("j"===r){let i=0;for(;n+1<t.length&&t.charAt(n+1)===r;)i++,n++;let s=1+(1&i),o=i<2?1:3+(i>>1),c="a",a=U(e);for("H"!=a&&"k"!=a||(o=0);o-- >0;)h+=c;for(;s-- >0;)h=a+h}else h+="J"===r?"H":r}return h}(e,this.locale)),{val:{type:"date"===i?3:4,value:h,location:r,style:{type:1,pattern:n,location:t.styleLocation,parsedOptions:this.shouldParseSkeletons?H(n):{}}},err:null}}}return{val:{type:"number"===i?2:"date"===i?3:4,value:h,location:r,style:t?.style??null},err:null}}case"plural":case"selectordinal":case"select":{const r=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,F(r,{...r}));this.bumpSpace();let s=this.parseIdentifierIfPossible(),o=0;if("select"!==i&&"offset"===s.value){if(!this.bumpIf(":"))return this.error(13,F(this.clonePosition(),this.clonePosition()));this.bumpSpace();const t=this.tryParseDecimalInteger(13,14);if(t.err)return t;this.bumpSpace(),s=this.parseIdentifierIfPossible(),o=t.val}const c=this.tryParsePluralOrSelectOptions(t,i,e,s);if(c.err)return c;const a=this.tryParseArgumentClose(n);if(a.err)return a;const u=F(n,this.clonePosition());return"select"===i?{val:{type:5,value:h,options:K(c.val),location:u},err:null}:{val:{type:6,value:h,options:K(c.val),offset:o,pluralType:"plural"===i?"cardinal":"ordinal",location:u},err:null}}default:return this.error(5,F(r,s))}}tryParseArgumentClose(t){return this.isEOF()||125!==this.char()?this.error(1,F(t,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let t=0;const e=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,F(t,this.clonePosition()));this.bump();break}case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}}parseNumberSkeletonFromString(t,e){let h=[];try{h=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");const e=t.split(f).filter((t=>t.length>0)),h=[];for(const t of e){let e=t.split("/");if(0===e.length)throw new Error("Invalid number skeleton");const[n,...r]=e;for(const t of r)if(0===t.length)throw new Error("Invalid number skeleton");h.push({stem:n,options:r})}return h}(t)}catch{return this.error(7,e)}return{val:{type:0,tokens:h,location:e,parsedOptions:this.shouldParseSkeletons?w(h):{}},err:null}}tryParsePluralOrSelectOptions(t,e,h,n){let r=!1;const i=[],s=new Set;let{value:o,location:c}=n;for(;;){if(0===o.length){const t=this.clonePosition();if("select"===e||!this.bumpIf("="))break;{const e=this.tryParseDecimalInteger(16,19);if(e.err)return e;c=F(t,this.clonePosition()),o=this.message.slice(t.offset,this.offset())}}if(s.has(o))return this.error("select"===e?21:20,c);"other"===o&&(r=!0),this.bumpSpace();const n=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?17:18,F(this.clonePosition(),this.clonePosition()));const a=this.parseMessage(t+1,e,h);if(a.err)return a;const u=this.tryParseArgumentClose(n);if(u.err)return u;i.push([o,{value:a.val,location:F(n,this.clonePosition())}]),s.add(o),this.bumpSpace(),({value:o,location:c}=this.parseIdentifierIfPossible())}return 0===i.length?this.error("select"===e?15:16,F(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(22,F(this.clonePosition(),this.clonePosition())):{val:i,err:null}}tryParseDecimalInteger(t,e){let h=1;const n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(h=-1);let r=!1,i=0;for(;!this.isEOF();){const t=this.char();if(!(t>=48&&t<=57))break;r=!0,i=10*i+(t-48),this.bump()}const s=F(n,this.clonePosition());return r?(i*=h,Number.isSafeInteger(i)?{val:i,err:null}:this.error(e,s)):this.error(t,s)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){const t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");const e=this.message.codePointAt(t);if(void 0===e)throw Error(`Offset ${t} is at invalid UTF-16 code unit boundary`);return e}error(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}}bump(){if(this.isEOF())return;const 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)}bumpIf(t){if(this.message.startsWith(t,this.offset())){for(let e=0;e<t.length;e++)this.bump();return!0}return!1}bumpUntil(t){const e=this.offset(),h=this.message.indexOf(t,e);return h>=0?(this.bumpTo(h),!0):(this.bumpTo(this.message.length),!1)}bumpTo(t){if(this.offset()>t)throw Error(`targetOffset ${t} must be greater than or equal to the current offset ${this.offset()}`);for(t=Math.min(t,this.message.length);;){const e=this.offset();if(e===t)break;if(e>t)throw Error(`targetOffset ${t} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&((t=this.char())>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t);)this.bump();var t}peek(){if(this.isEOF())return null;const t=this.char(),e=this.offset();return this.message.charCodeAt(e+(t>=65536?2:1))??null}};function Z(t){return t>=97&&t<=122||t>=65&&t<=90}function Y(t){t.forEach((t=>{if(delete t.location,L(t)||M(t))for(const e in t.options)delete t.options[e].location,Y(t.options[e].value);else S(t)&&C(t.style)||(I(t)||N(t))&&G(t.style)?delete t.style.location:R(t)&&Y(t.children)}))}function X(t,e={}){e={shouldParseSkeletons:!0,requiresOtherClause:!0,...e};const h=new j(t,e).parse();if(h.err){const t=SyntaxError(T[h.err.kind]);throw t.location=h.err.location,t.originalMessage=h.err.message,t}return e?.captureLocation||Y(h.val),h.val}var W=class extends Error{constructor(t,e,h){super(t),this.code=e,this.originalMessage=h}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},J=class extends W{constructor(t,e,h,n){super(`Invalid values for "${t}": "${e}". Options are "${Object.keys(h).join('", "')}"`,"INVALID_VALUE",n)}},z=class extends W{constructor(t,e,h){super(`Value for "${t}" must be of type ${e}`,"INVALID_VALUE",h)}},Q=class extends W{constructor(t,e){super(`The intl string context variable "${t}" was not provided to the string "${e}"`,"MISSING_VALUE",e)}};function q(t){return"function"==typeof t}function tt(t,e,h,n,r,i,s){if(1===t.length&&A(t[0]))return[{type:0,value:t[0].value}];const o=[];for(const c of t){if(A(c)){o.push({type:0,value:c.value});continue}if(_(c)){"number"==typeof i&&o.push({type:0,value:h.getNumberFormat(e).format(i)});continue}const{value:t}=c;if(!r||!(t in r))throw new Q(t,s);let a=r[t];if(v(c))a&&"string"!=typeof a&&"number"!=typeof a&&"bigint"!=typeof a||(a="string"==typeof a||"number"==typeof a||"bigint"==typeof a?String(a):""),o.push({type:"string"==typeof a?0:1,value:a});else if(I(c)){const t="string"==typeof c.style?n.date[c.style]:G(c.style)?c.style.parsedOptions:void 0;o.push({type:0,value:h.getDateTimeFormat(e,t).format(a)})}else if(N(c)){const t="string"==typeof c.style?n.time[c.style]:G(c.style)?c.style.parsedOptions:n.time.medium;o.push({type:0,value:h.getDateTimeFormat(e,t).format(a)})}else if(S(c)){const t="string"==typeof c.style?n.number[c.style]:C(c.style)?c.style.parsedOptions:void 0;if(t&&t.scale){const e=t.scale||1;if("bigint"==typeof a){if(!Number.isInteger(e))throw new TypeError(`Cannot apply fractional scale ${e} to bigint value. Scale must be an integer when formatting bigint.`);a*=BigInt(e)}else a*=e}o.push({type:0,value:h.getNumberFormat(e,t).format(a)})}else{if(R(c)){const{children:t,value:a}=c,u=r[a];if(!q(u))throw new z(a,"function",s);let l=u(tt(t,e,h,n,r,i).map((t=>t.value)));Array.isArray(l)||(l=[l]),o.push(...l.map((t=>({type:"string"==typeof t?0:1,value:t}))))}if(L(c)){const t=a,i=(Object.prototype.hasOwnProperty.call(c.options,t)?c.options[t]:void 0)||c.options.other;if(!i)throw new J(c.value,a,Object.keys(c.options),s);o.push(...tt(i.value,e,h,n,r))}else if(M(c)){const t=`=${a}`;let i=Object.prototype.hasOwnProperty.call(c.options,t)?c.options[t]:void 0;if(!i){if(!Intl.PluralRules)throw new W('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",s);const t="bigint"==typeof a?Number(a):a,n=h.getPluralRules(e,{type:c.pluralType}).select(t-(c.offset||0));i=(Object.prototype.hasOwnProperty.call(c.options,n)?c.options[n]:void 0)||c.options.other}if(!i)throw new J(c.value,a,Object.keys(c.options),s);const u="bigint"==typeof a?Number(a):a;o.push(...tt(i.value,e,h,n,r,u-(c.offset||0)))}}}return(c=o).length<2?c:c.reduce(((t,e)=>{const h=t[t.length-1];return h&&0===h.type&&0===e.type?h.value+=e.value:t.push(e),t}),[]);var c}function et(t){return{create:()=>({get:e=>t[e],set(e,h){t[e]=h}})}}var ht=class t{constructor(e,n=t.defaultLocale,r,i){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=t=>{const e=this.formatToParts(t);if(1===e.length)return e[0].value;const h=e.reduce(((t,e)=>(t.length&&0===e.type&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t)),[]);return h.length<=1?h[0]||"":h},this.formatToParts=t=>tt(this.ast,this.locales,this.formatters,this.formats,t,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=n,this.resolvedLocale=t.resolveLocale(n),"string"==typeof e){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...h}=i||{};this.ast=t.__parse(e,{...h,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");var s,o;this.formats=(s=t.formats,(o=r)?Object.keys(s).reduce(((t,e)=>{var h,n;return t[e]=(h=s[e],(n=o[e])?{...h,...n,...Object.keys(h).reduce(((t,e)=>(t[e]={...h[e],...n[e]},t)),{})}:h),t}),{...s}):s),this.formatters=i&&i.formatters||function(t={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:h(((...t)=>new Intl.NumberFormat(...t)),{cache:et(t.number),strategy:u.variadic}),getDateTimeFormat:h(((...t)=>new Intl.DateTimeFormat(...t)),{cache:et(t.dateTime),strategy:u.variadic}),getPluralRules:h(((...t)=>new Intl.PluralRules(...t)),{cache:et(t.pluralRules),strategy:u.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale}static{this.resolveLocale=t=>{if(void 0===Intl.Locale)return;const e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])}}static{this.__parse=X}static{this.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"}}}}},nt=ht;const rt={};var it=["ar","cs","da","de","en","es-es","es","fi","fr-ca","fr","he","hi","hu","it","ja","ko","nl","no","pl","pt-br","pt-pt","ru","sv","th","tr","uk","zh-cn","zh-tw"],st={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,hu:1,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};const ot="en";async function ct(e,h,n){let r=h,i="en";void 0!==e&&(i=at(e),r=await async function(e,h,n,r){const i=r||e.tagName.toLocaleLowerCase().replace(/-beta$/,"");let s;if(e["i18n-resources"])s=e["i18n-resources"];else if(n!==ot)try{s=await(async(e,h)=>{if(!rt[h]){const e=((e="en")=>t(`i18n/genesys-webcomponents.i18n.${e}.json`))(h),n=await fetch(e),r=await n.json();rt[h]=r}return rt[h][e]})(i,n)}catch(t){s=null}return s||(s=h),s}(e,h,i,n));const s=Object.entries(r).reduce(((t,[e,h])=>(t.set(e,new nt(h,i)),t)),new Map),o=Object.entries(h).reduce(((t,[e,h])=>(t.set(e,new nt(h,ot)),t)),new Map);return(t,e)=>{var h,n;let r=null===(h=s.get(t))||void 0===h?void 0:h.format(e);return r||(r=null===(n=o.get(t))||void 0===n?void 0:n.format(e),console.warn(`No localized string available for "${t}-${r}" for "${i}" locale. Falling back to English translation.`)),r}}function at(t){const h=function(t){const h=e("[lang]",t);return h&&h.lang?h.lang.toLowerCase():ot}(t),n=h.split(/[_-]/)[0];return it.indexOf(h)>=0?h:it.indexOf(n)>=0?n:ot}function ut(t=ot){return st[t]?st[t]:st[ot]}function lt(t=ot){return((ut(t)-1)%7+7)%7+1}export{at as a,ct as b,ut as c,lt as g}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as r}from"./p-
|
|
1
|
+
import{h as r}from"./p-kwjCRlfg.js";const i=({position:i,required:e},a)=>r("div",{class:{"gux-form-field-label":!0,[`gux-${i}`]:!0,"gux-required":e}},a),e=({labelPosition:i,characterLimit:e},a)=>r("div",{class:{"gux-form-field-container":!0,[`gux-${i}`]:!0,"gux-character-counter":e>0}},a);export{i as G,e as a}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as n}from"./p-
|
|
1
|
+
import{f as n}from"./p-kwjCRlfg.js";import{w as t}from"./p-kLXvN2m9.js";function u(n){return n.closest("gux-tree-multi-beta")}function o(n){return["GUX-LEAF-MULTI","GUX-BRANCH-MULTI"].includes(n.tagName)}function r(n){return"GUX-BRANCH-MULTI"===n.tagName}function c(n){return Boolean(a(n))}function i(n){const t=[];return function n(u){for(const c of Array.from(u.children))o(c)&&t.push(c),r(c)&&n(c)}(n),t}function f(n){const t=[];return function n(u){for(const c of Array.from(u.children))o(c)&&t.push(c),"GUX-BRANCH-MULTI"===(r=c).tagName&&r.expanded&&n(c);var r}(n),t}function e(n){return f(n).filter((n=>!n.disabled&&!n.filtered))}function a(n){return f(n).find((n=>n.active))}function s(n){return e(n)[0]}function l(n){const t=e(n);return t[t.length-1]}function m(n,t){n.disabled?b(n):t&&(f(n).forEach((u=>{const o=!u.disabled&&!u.filtered&&u===t;u.active=o,o&&n.setAttribute("aria-activedescendant",u.id)})),t.scrollIntoView({block:"nearest"}))}function b(n){i(n).forEach((n=>{n.active=!1})),n.removeAttribute("aria-activedescendant")}function g(n){const t=function(n){const t=[];return function n(u){for(const o of Array.from(u.children))"GUX-LEAF-MULTI"===o.tagName&&t.push(o),r(o)&&n(o)}(n),t}(n),u=t.filter((n=>n.selected));0===u.length?(n.selected=!1,n.indeterminate=!1):u.length===t.length?(n.selected=!0,n.indeterminate=!1):(n.selected=!1,n.indeterminate=!0)}function x(n,t){for(const u of Array.from(n.children)){if(o(u)){const n=u;n.disabled||n.filtered||(n.selected=t,n.indeterminate=!1)}r(u)&&x(u,t)}}function d(n){m(n,function(n){return f(n).find((n=>n.selected&&!n.disabled&&!n.filtered))}(n)||s(n))}function v(n){m(n,s(n))}function h(n){m(n,l(n))}function U(n){m(n,function(n){if(c(n)&&a(n)!==l(n)){const t=e(n),u=a(n),o=t.indexOf(u);return t[o+1]}return s(n)}(n))}function A(n){m(n,function(n){if(c(n)){const t=e(n),u=t.indexOf(a(n));return a(n)===s(n)?l(n):t[u-1]}return s(n)}(n))}function L(n){m(n,a(n).parentElement.closest("gux-branch-multi"))}function X(n){const t=a(n),u=e(n).filter((n=>t.contains(n)));u[0]&&m(n,u[0])}function k(n){return i(n).some((n=>n.selected))}function p(n){let t=n.parentElement.closest("gux-branch-multi, gux-tree-multi-beta, fieldset");for(;t;){if(t.disabled)return!0;t=t.parentElement.closest("gux-branch-multi, gux-tree-multi-beta, fieldset")}return!1}function B(t){i(t).forEach((t=>{n(t)}))}function G(n,t){const u=!t.selected;t.selected=u,t.indeterminate=!1,r(t)&&x(t,u),function(n){let t=n.parentElement.closest("gux-branch-multi");for(;t;)g(t),t=t.parentElement.closest("gux-branch-multi")}(t),function(n){const t=i(n).filter((n=>n.selected&&n.value));n.value=t.map((n=>n.value)).join(",")}(n),t.scrollIntoView({block:"nearest"})}function I(n,t){const u=t.split(",").map((n=>n.trim())),o=i(n);o.forEach((n=>{n.selected=u.includes(n.value),n.indeterminate=!1})),o.filter((n=>r(n))).forEach((n=>{g(n)}))}function M(n,t){I(n,t),function(n){i(n).forEach((n=>{n.selected&&function(n){let t=n.parentElement.closest("gux-branch-multi");for(;t;)t.expanded=!0,t=t.parentElement.closest("gux-branch-multi")}(n)}))}(n)}function T(n){var t;return null===(t=u(n))||void 0===t?void 0:t.size}function j(n){var t;return null===(t=u(n))||void 0===t?void 0:t.alignment}function y({event:n,onLeaf:u,onBranch:o}){let r=!1;t("gux-leaf-multi",n,(n=>{n.value&&(u(n),r=!0)})),r||t("gux-branch-multi",n,(n=>{o(n)}))}export{j as a,k as b,b as c,d,y as e,B as f,T as g,p as h,h as i,v as j,A as k,U as l,M as m,L as n,X as o,I as s,G as t}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as s}from"./p-
|
|
1
|
+
import{h as s}from"./p-kwjCRlfg.js";const o=({show:o},a)=>s("div",{class:{"gux-form-field-help":!0,"gux-show":o}},s("div",{class:"gux-message"},a)),a=({show:o},a)=>s("div",{class:{"gux-form-field-error":!0,"gux-show":o},role:"alert"},s("gux-icon",{decorative:!0,"icon-name":"fa/hexagon-exclamation-solid",size:"small"}),s("div",{class:"gux-message"},a));export{a as G,o as a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./p-kwjCRlfg.js";function t(t){return(i,c)=>{const{connectedCallback:o,disconnectedCallback:s}=i,e=new Map;i.connectedCallback=function(){const i=new MutationObserver(this[c].bind(this));return function(t,i,c,o){t.has(i)&&t.get(i).disconnect(),t.set(i,c),c.observe(n(i),o)}(e,this,i,t),o&&o.call(this)},i.disconnectedCallback=function(){return function(n,t){n.has(t)&&n.get(t).disconnect(),n.delete(t)}(e,this),s&&s.call(this)}}}export{t as O}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var t="4.
|
|
1
|
+
var t="4.273.0";const e=[function(t){const[e,n,...o]=t.split(".");return{name:"spark-library",metadata:{fullVersion:`${e}.${n}.${o.join(".")}`,majorVersion:e,minorVersion:`${e}.${n}`}}}(t)];function n(){const t=window.newrelic;if(t){for(let o=0;o<20;o++){if(0==e.length)return void setTimeout(n,3e4);const o=e.shift();t.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:e.length}))}setTimeout(n,3e4)}}const o=new Set;let r="",i=!1;function c(c,a){if(!window.newrelic)return;if(Math.random()>.1)return;if(i||(i=!0,n()),!document.contains(c))return;window.location.pathname!==r&&(o.clear(),r=window.location.pathname);const s=c.tagName.toLowerCase();let u=s;(null==a?void 0:a.variant)&&(u=`${s}-${a.variant}`),o.has(u)||(o.add(u),e.push({name:"spark-component",metadata:Object.assign(Object.assign({},a),{component:s,version:t})}))}export{c as t}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as n}from"./p-kwjCRlfg.js";import{w as t}from"./p-kLXvN2m9.js";function r(n){return n.closest("gux-tree-beta")}function o(n){return["GUX-LEAF","GUX-BRANCH"].includes(n.tagName)}function u(n){return Boolean(i(n))}function c(n){const t=[];return function n(r){for(const u of Array.from(r.children))o(u)&&t.push(u),"GUX-BRANCH"===u.tagName&&n(u)}(n),t}function e(n){const t=[];return function n(r){for(const c of Array.from(r.children))o(c)&&t.push(c),"GUX-BRANCH"===(u=c).tagName&&u.expanded&&n(c);var u}(n),t}function f(n){return e(n).filter((n=>!n.disabled&&!n.filtered))}function i(n){return e(n).find((n=>n.active))}function a(n){return f(n)[0]}function s(n){const t=f(n);return t[t.length-1]}function l(n,t){n.disabled?b(n):t&&(e(n).forEach((r=>{const o=!r.disabled&&!r.filtered&&r===t;r.active=o,o&&n.setAttribute("aria-activedescendant",r.id)})),t.scrollIntoView({block:"nearest"}))}function b(n){c(n).forEach((n=>{n.active=!1})),n.removeAttribute("aria-activedescendant")}function d(n){l(n,function(n){return e(n).find((n=>n.selected&&!n.disabled&&!n.filtered))}(n)||a(n))}function g(n){l(n,a(n))}function v(n){l(n,s(n))}function x(n){l(n,function(n){if(u(n)&&i(n)!==s(n)){const t=f(n),r=i(n),o=t.indexOf(r);return t[o+1]}return a(n)}(n))}function h(n){l(n,function(n){if(u(n)){const t=f(n),r=t.indexOf(i(n));return i(n)===a(n)?s(n):t[r-1]}return a(n)}(n))}function m(n){l(n,i(n).parentElement.closest("gux-branch"))}function A(n,t){const r=f(i(t));r[0]&&l(n,r[0])}function k(n,t){(null==t?void 0:t.value)&&(c(n).forEach((n=>{n.selected=n===t})),n.value=t.value,t.scrollIntoView({block:"nearest"}))}function p(n,t){const r=function(n,t){return c(n).find((n=>n.value===t))}(n,t);r?(function(n){let t=n.parentElement.closest("gux-branch");for(;t;)t.expanded=!0,t=t.parentElement.closest("gux-branch")}(r),k(n,r)):function(n){c(n).forEach((n=>{n.selected=!1}))}(n)}function B(n){return c(n).some((n=>n.selected))}function X(n){let t=n.parentElement.closest("gux-branch, gux-tree-beta, fieldset");for(;t;){if(t.disabled)return!0;t=t.parentElement.closest("gux-branch, gux-tree-beta, fieldset")}return!1}function j(t){c(t).forEach((t=>{n(t)}))}function C(n){var t;return null===(t=r(n))||void 0===t?void 0:t.size}function G(n){var t;return null===(t=r(n))||void 0===t?void 0:t.alignment}function N({event:n,onLeaf:r,onBranch:o}){let u=!1;t("gux-leaf",n,(n=>{n.value&&(r(n),u=!0)})),u||t("gux-branch",n,(n=>{o(n)}))}export{G as a,d as b,b as c,N as d,v as e,j as f,C as g,X as h,g as i,h as j,x as k,k as l,m,A as n,B as o,p as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as t,h as a,a as r}from"./p-
|
|
1
|
+
import{r as e,c as t,h as a,a as r}from"./p-kwjCRlfg.js";import{b as s}from"./p-CyKt8d35.js";import{r as i}from"./p-D9jKBqIb.js";import{l as o}from"./p-DxtJDeL9.js";import{t as n}from"./p-Cd9djU-I.js";import"./p-Bwt-u0lF.js";const c=class{constructor(a){e(this,a),this.internalrowselectchange=t(this,"internalrowselectchange",7),this.id=i("gux-row-select"),this.selected=!1}onSelectedChange(e){this.internalrowselectchange.emit(e)}onCheck(e){e.stopPropagation(),this.selected=this.inputElement.checked}async componentWillLoad(){this.i18n=await s(this.root,n,"gux-table")}componentDidLoad(){this.label||o(this.root,'label prop is required for accessibility. Provide a content-derived, row-specific label (for example, "Select order #4471") so screen reader users can tell what the checkbox selects.')}getSafariWorkaroundClass(){if(function(){try{return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}catch(e){return!1}}())return this.selected?"gux-safari-bug-workaround-1":"gux-safari-bug-workaround-2"}render(){return a("gux-form-field-checkbox",{key:"f9df7aadee206b0b0d1ce618a0fbc0b014646883","label-position":"screenreader"},a("input",{key:"10c4640745efa067fa5a4a63067e4f64b25ce74e",checked:this.selected,class:this.getSafariWorkaroundClass(),disabled:this.disabled,id:this.id,ref:e=>this.inputElement=e,slot:"input",type:"checkbox"}),a("label",{key:"dcf5688a2e0241964c0347a7f3cca68f333d2a9a",htmlFor:this.id,slot:"label"},"",a("span",{key:"8a38428a079a27f3e25d3a8818ad678524aa346e"},this.label?this.label:this.i18n("selectTableRow"))))}get root(){return r(this)}static get watchers(){return{selected:[{onSelectedChange:0}]}}};c.style=":host{display:flex;flex-direction:row;justify-content:center}input.gux-safari-bug-workaround-1,input.gux-safari-bug-workaround-2{animation:repaint 1ms}@keyframes repaint{from{inline-size:99.999%}to{inline-size:100%}}";export{c as gux_row_select}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,f as t,h as o,a as i,c as r}from"./p-DuKsR5Vf.js";import{b as n}from"./p-CIB2iF29.js";import{c as s,o as a}from"./p-Cb3FOYGS.js";import{O as l}from"./p-9tDzlfD1.js";import{o as u}from"./p-De1NnCmO.js";import{p as c}from"./p-PYfNAK8p.js";import{s as f}from"./p-BMRf5pjV.js";import{h as d}from"./p-qzV3vtOw.js";import{G as p,a as g}from"./p-C3YVpHpH.js";import{G as h,a as b}from"./p-5A19izkz.js";import{h as m,c as x,a as v,v as C,g as y}from"./p-D8ztWCZ3.js";import{t as w}from"./p-D4xQaSSz.js";import{f as k}from"./p-JHLuJ8Pb.js";import{a as j}from"./p-DSMRdS3g.js";import{t as z}from"./p-BFMPPR7N.js";import{O as T}from"./p-Uxk68r1P.js";import{b as D}from"./p-Bg4q97BS.js";import"./p-Bwt-u0lF.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";var F={increment:"Increment",decrement:"Decrement"};const S=class{constructor(t){e(this,t),this.indicatorMark="required",this.textAlign="end",this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help")}handleKeyup(e){var t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=m(this.input),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help"),t(this.root)}async componentWillLoad(){this.getI18nValue=await n(this.root,F),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help"),w(this.root,{variant:this.variant})}connectedCallback(){this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help")}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){const e=this.clearable&&this.hasContent&&!this.disabled;return o(b,{key:"473de57e1b8e72a956897831cd8637ebb77d3816",labelPosition:this.computedLabelPosition},o(h,{key:"e6166d741132a48bf588c6ef8450efa5f0a9cfe4",position:this.computedLabelPosition,required:this.required},o("slot",{key:"f76b337f33d2d1898278bb5c9b7116e798bcf6fe",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"4c43917b823893b277b6e62d1b9b681b4773fb63",required:this.required,variant:this.indicatorMark}),o("slot",{key:"ebea6a8af04e4c8887205cfe0e5e48356c2087cc",name:"label-info"})),o("div",{key:"89562059e7b825c66fd24e36e05bdfa33ef867bc",class:"gux-input-and-error-container"},o("div",{key:"9c2c9a996e0d59b74a3d49e1e7ef44db5dd0879e",class:{"gux-input":!0,"gux-input-error":this.hasError},part:"input-section"},o("div",{key:"415d2a28ffb41935bc4bf2eeb39ecb761f8a513c",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-clear":e},onClick:()=>k(this.input),style:{"--gux-text-align":this.textAlign}},o("slot",{key:"71764f0258dd0c2c1568f43233be1f4303af28c6",name:"input",onSlotchange:()=>this.setInput()}),e&&o("gux-form-field-input-clear-button",{key:"a488dcad5e446f425594c92f528634e48da5dc9c",onClick:()=>x(this.input)})),this.renderStepButtons(this.input,this.getI18nValue,this.disabled)),o(p,{key:"3e6cf3c83f57e5674c299a571d5187e5b3c0d7fc",show:this.hasError},o("slot",{key:"41c3b717c5d5694c03bc461c3b50bc1be34ecc54",name:"error"})),o(g,{key:"192670cc9c5d9035310790cfd3a1d0f7e9c8ffd2",show:!this.hasError&&this.hasHelp},o("slot",{key:"e5ec95068289f413a8a560ef134e370f0ef39e6b",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=v(this.root,'input[type="number"][slot="input"]'),this.hasContent=m(this.input),c(this.input),this.input.addEventListener("input",(()=>{this.hasContent=m(this.input)})),this.disabled=s(this.input),this.required=this.input.required,this.disabledObserver=a(this.input,(e=>{this.disabled=e})),this.requiredObserver=u(this.input,(e=>{this.required=e})),C(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=y(this.label,this.labelPosition)}renderStepButtons(e,t,i){return o("div",{class:"gux-step-buttons-container"},o("button",{class:"gux-step-button",disabled:i,onClick:()=>this.stepUp(e),tabIndex:-1,title:t("increment"),type:"button"},o("gux-icon",{decorative:!0,"icon-name":"custom/chevron-up-small-regular"})),o("button",{class:"gux-step-button",disabled:i,onClick:()=>this.stepDown(e),tabIndex:-1,title:t("decrement"),type:"button"},o("gux-icon",{decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))}stepDown(e){this.step(e,"stepDown")}stepUp(e){this.step(e,"stepUp")}step(e,t){const o=""===e.value?0:parseFloat(e.value),i=parseFloat(e.max),r=parseFloat(e.min);"stepUp"===t&&!isNaN(i)&&o>=i||"stepDown"===t&&!isNaN(r)&&o<=r||(e[t](),this.simulateNativeInputAndChangeEvents(e))}simulateNativeInputAndChangeEvents(e){f(e,"input"),f(e,"change")}static get delegatesFocus(){return!0}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(n<3?r(s):n>3?r(t,o,s):r(t,o))||s);n>3&&s&&Object.defineProperty(t,o,s)})([l({childList:!0,subtree:!0})],S.prototype,"onMutation",null),S.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;inset-inline-start:-10000px;top:0;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;flex:1 1 auto;min-inline-size:0}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;padding-block-end:0;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);text-align:var(--gux-text-align, end);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;inline-size:100%}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-step-buttons-container{flex:0 1 14px;align-self:auto;order:0;margin-inline-start:var(--gse-ui-formControl-spinButton-gap)}.gux-step-buttons-container .gux-step-button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor);background:transparent;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) transparent}.gux-step-buttons-container .gux-step-button:not(:disabled):focus-visible,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{cursor:pointer;border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-step-buttons-container .gux-step-button:disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-step-buttons-container .gux-step-button gux-icon{flex:0 0 auto;inline-size:14px;block-size:14px}";const B=class{constructor(t){e(this,t),this.goToPage=r(this,"goToPage",7),this.isOpen=!1,this.disabled=!1,this.tooltipContrast="default"}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.isOpen=!1,this.ellipsisButton.focus();break;case"Tab":this.isOpen=!1;break;case"ArrowDown":t.includes(this.ellipsisButton)&&(e.preventDefault(),this.isOpen=!0,this.focusInputElement())}}watchIsDisabled(e){e&&(this.isOpen=!1)}toggle(){this.isOpen=!this.isOpen,this.isOpen&&this.focusInputElement()}onClickOutside(){this.isOpen=!1}focusInputElement(){D((()=>{this.inputElement.focus()}))}applyInputListener(){var e,t;null===(e=this.inputElement)||void 0===e||e.addEventListener("keydown",(e=>{"Enter"==e.key&&(""==e.target.value.trim()?e.preventDefault():(e.preventDefault(),this.goToPage.emit(e.target.value),this.isOpen=!1))," "==e.key&&e.preventDefault()})),null===(t=this.inputElement)||void 0===t||t.addEventListener("keyup",(e=>{" "==e.key&&""!==e.target.value.trim()&&(this.goToPage.emit(e.target.value),this.isOpen=!1)}))}async componentWillLoad(){this.i18n=await n(this.root,z,"gux-pagination-buttons"),w(this.root)}componentDidLoad(){this.applyInputListener()}render(){return[o("gux-button",{key:"6396f2baab72d71e8b86681b529c179ab57b3167",accent:"ghost","aria-expanded":j(this.isOpen),"aria-haspopup":"true",disabled:this.disabled,id:"popover-target",onClick:()=>this.toggle(),ref:e=>this.ellipsisButton=e,type:"button"},o("gux-icon",{key:"95a18970f8d97187b2fd8613f64a491d1ad3d0db","icon-name":"fa/ellipsis-regular",screenreaderText:this.i18n("goToPage"),size:"small"})),o("gux-tooltip",{key:"8b9114f4e00d220083319d1b8a82ec18f96dcef4",contrast:this.tooltipContrast,for:"popover-target"},o("div",{key:"5904c82c6583632745873ee2cc84e1f5e5d44640",slot:"content"},this.i18n("goToPage"))),o("gux-popover",{key:"edc53b1fe5f6250f7bb628c7a9fe0ac399c711cf",for:"popover-target","is-open":this.isOpen},o("span",{key:"aa9ad27a53ed242711295e6adfbbfbbd41ff1d4a",slot:"title"},this.i18n("goToPage")),o("gux-form-field-number",{key:"83f137aee359ff1fe69d92101f56528dff9e4cec"},o("input",{key:"7bfdcef1e501374f67ad02e070bade968053c333",max:this.totalPages,min:"1",onKeyDown:e=>["e","E","+","-","."].includes(e.key)&&e.preventDefault(),ref:e=>this.inputElement=e,slot:"input",type:"number",value:"1"}),o("label",{key:"400e7de46bb055b9f150d45b24268a3a73a02bae",slot:"label"})))]}get root(){return i(this)}static get watchers(){return{disabled:[{watchIsDisabled:0}]}}};(function(e,t,o,i){var r,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(n<3?r(s):n>3?r(t,o,s):r(t,o))||s);n>3&&s&&Object.defineProperty(t,o,s)})([T()],B.prototype,"onClickOutside",null),B.style="gux-button gux-icon{padding-block-start:4px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield}";export{S as gux_form_field_number,B as gux_pagination_ellipsis_button}
|
|
1
|
+
import{r as e,f as t,h as o,a as i,c as r}from"./p-kwjCRlfg.js";import{b as n}from"./p-CyKt8d35.js";import{c as s,o as a}from"./p-Cb3FOYGS.js";import{O as l}from"./p-DsSpCzqR.js";import{o as u}from"./p-De1NnCmO.js";import{p as c}from"./p-PYfNAK8p.js";import{s as f}from"./p-BMRf5pjV.js";import{h as d}from"./p-qzV3vtOw.js";import{G as p,a as g}from"./p-DruyT7wT.js";import{G as h,a as b}from"./p-D22nBXS3.js";import{h as m,c as x,a as v,v as C,g as y}from"./p-D8ztWCZ3.js";import{t as w}from"./p-SfRYD6hj.js";import{f as k}from"./p-JHLuJ8Pb.js";import{a as j}from"./p-DSMRdS3g.js";import{t as z}from"./p-BFMPPR7N.js";import{O as T}from"./p-Br9hR27G.js";import{b as D}from"./p-Bg4q97BS.js";import"./p-Bwt-u0lF.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";var F={increment:"Increment",decrement:"Decrement"};const R=class{constructor(t){e(this,t),this.indicatorMark="required",this.textAlign="end",this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help")}handleKeyup(e){var t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=m(this.input),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help"),t(this.root)}async componentWillLoad(){this.getI18nValue=await n(this.root,F),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help"),w(this.root,{variant:this.variant})}connectedCallback(){this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help")}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){const e=this.clearable&&this.hasContent&&!this.disabled;return o(b,{key:"473de57e1b8e72a956897831cd8637ebb77d3816",labelPosition:this.computedLabelPosition},o(h,{key:"e6166d741132a48bf588c6ef8450efa5f0a9cfe4",position:this.computedLabelPosition,required:this.required},o("slot",{key:"f76b337f33d2d1898278bb5c9b7116e798bcf6fe",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"4c43917b823893b277b6e62d1b9b681b4773fb63",required:this.required,variant:this.indicatorMark}),o("slot",{key:"ebea6a8af04e4c8887205cfe0e5e48356c2087cc",name:"label-info"})),o("div",{key:"89562059e7b825c66fd24e36e05bdfa33ef867bc",class:"gux-input-and-error-container"},o("div",{key:"9c2c9a996e0d59b74a3d49e1e7ef44db5dd0879e",class:{"gux-input":!0,"gux-input-error":this.hasError},part:"input-section"},o("div",{key:"415d2a28ffb41935bc4bf2eeb39ecb761f8a513c",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-clear":e},onClick:()=>k(this.input),style:{"--gux-text-align":this.textAlign}},o("slot",{key:"71764f0258dd0c2c1568f43233be1f4303af28c6",name:"input",onSlotchange:()=>this.setInput()}),e&&o("gux-form-field-input-clear-button",{key:"a488dcad5e446f425594c92f528634e48da5dc9c",onClick:()=>x(this.input)})),this.renderStepButtons(this.input,this.getI18nValue,this.disabled)),o(p,{key:"3e6cf3c83f57e5674c299a571d5187e5b3c0d7fc",show:this.hasError},o("slot",{key:"41c3b717c5d5694c03bc461c3b50bc1be34ecc54",name:"error"})),o(g,{key:"192670cc9c5d9035310790cfd3a1d0f7e9c8ffd2",show:!this.hasError&&this.hasHelp},o("slot",{key:"e5ec95068289f413a8a560ef134e370f0ef39e6b",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=v(this.root,'input[type="number"][slot="input"]'),this.hasContent=m(this.input),c(this.input),this.input.addEventListener("input",(()=>{this.hasContent=m(this.input)})),this.disabled=s(this.input),this.required=this.input.required,this.disabledObserver=a(this.input,(e=>{this.disabled=e})),this.requiredObserver=u(this.input,(e=>{this.required=e})),C(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=y(this.label,this.labelPosition)}renderStepButtons(e,t,i){return o("div",{class:"gux-step-buttons-container"},o("button",{class:"gux-step-button",disabled:i,onClick:()=>this.stepUp(e),tabIndex:-1,title:t("increment"),type:"button"},o("gux-icon",{decorative:!0,"icon-name":"custom/chevron-up-small-regular"})),o("button",{class:"gux-step-button",disabled:i,onClick:()=>this.stepDown(e),tabIndex:-1,title:t("decrement"),type:"button"},o("gux-icon",{decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))}stepDown(e){this.step(e,"stepDown")}stepUp(e){this.step(e,"stepUp")}step(e,t){const o=""===e.value?0:parseFloat(e.value),i=parseFloat(e.max),r=parseFloat(e.min);"stepUp"===t&&!isNaN(i)&&o>=i||"stepDown"===t&&!isNaN(r)&&o<=r||(e[t](),this.simulateNativeInputAndChangeEvents(e))}simulateNativeInputAndChangeEvents(e){f(e,"input"),f(e,"change")}static get delegatesFocus(){return!0}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(n<3?r(s):n>3?r(t,o,s):r(t,o))||s);n>3&&s&&Object.defineProperty(t,o,s)})([l({childList:!0,subtree:!0})],R.prototype,"onMutation",null),R.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;inset-inline-start:-10000px;top:0;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;flex:1 1 auto;min-inline-size:0}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;padding-block-end:0;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);text-align:var(--gux-text-align, end);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;inline-size:100%}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-step-buttons-container{flex:0 1 14px;align-self:auto;order:0;margin-inline-start:var(--gse-ui-formControl-spinButton-gap)}.gux-step-buttons-container .gux-step-button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor);background:transparent;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) transparent}.gux-step-buttons-container .gux-step-button:not(:disabled):focus-visible,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{cursor:pointer;border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-step-buttons-container .gux-step-button:disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-step-buttons-container .gux-step-button gux-icon{flex:0 0 auto;inline-size:14px;block-size:14px}";const S=class{constructor(t){e(this,t),this.goToPage=r(this,"goToPage",7),this.isOpen=!1,this.disabled=!1,this.tooltipContrast="default"}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.isOpen=!1,this.ellipsisButton.focus();break;case"Tab":this.isOpen=!1;break;case"ArrowDown":t.includes(this.ellipsisButton)&&(e.preventDefault(),this.isOpen=!0,this.focusInputElement())}}watchIsDisabled(e){e&&(this.isOpen=!1)}toggle(){this.isOpen=!this.isOpen,this.isOpen&&this.focusInputElement()}onClickOutside(){this.isOpen=!1}focusInputElement(){D((()=>{this.inputElement.focus()}))}applyInputListener(){var e,t;null===(e=this.inputElement)||void 0===e||e.addEventListener("keydown",(e=>{"Enter"==e.key&&(""==e.target.value.trim()?e.preventDefault():(e.preventDefault(),this.goToPage.emit(e.target.value),this.isOpen=!1))," "==e.key&&e.preventDefault()})),null===(t=this.inputElement)||void 0===t||t.addEventListener("keyup",(e=>{" "==e.key&&""!==e.target.value.trim()&&(this.goToPage.emit(e.target.value),this.isOpen=!1)}))}async componentWillLoad(){this.i18n=await n(this.root,z,"gux-pagination-buttons"),w(this.root)}componentDidLoad(){this.applyInputListener()}render(){return[o("gux-button",{key:"6396f2baab72d71e8b86681b529c179ab57b3167",accent:"ghost","aria-expanded":j(this.isOpen),"aria-haspopup":"true",disabled:this.disabled,id:"popover-target",onClick:()=>this.toggle(),ref:e=>this.ellipsisButton=e,type:"button"},o("gux-icon",{key:"95a18970f8d97187b2fd8613f64a491d1ad3d0db","icon-name":"fa/ellipsis-regular",screenreaderText:this.i18n("goToPage"),size:"small"})),o("gux-tooltip",{key:"8b9114f4e00d220083319d1b8a82ec18f96dcef4",contrast:this.tooltipContrast,for:"popover-target"},o("div",{key:"5904c82c6583632745873ee2cc84e1f5e5d44640",slot:"content"},this.i18n("goToPage"))),o("gux-popover",{key:"edc53b1fe5f6250f7bb628c7a9fe0ac399c711cf",for:"popover-target","is-open":this.isOpen},o("span",{key:"aa9ad27a53ed242711295e6adfbbfbbd41ff1d4a",slot:"title"},this.i18n("goToPage")),o("gux-form-field-number",{key:"83f137aee359ff1fe69d92101f56528dff9e4cec"},o("input",{key:"7bfdcef1e501374f67ad02e070bade968053c333",max:this.totalPages,min:"1",onKeyDown:e=>["e","E","+","-","."].includes(e.key)&&e.preventDefault(),ref:e=>this.inputElement=e,slot:"input",type:"number",value:"1"}),o("label",{key:"400e7de46bb055b9f150d45b24268a3a73a02bae",slot:"label"})))]}get root(){return i(this)}static get watchers(){return{disabled:[{watchIsDisabled:0}]}}};(function(e,t,o,i){var r,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(n<3?r(s):n>3?r(t,o,s):r(t,o))||s);n>3&&s&&Object.defineProperty(t,o,s)})([T()],S.prototype,"onClickOutside",null),S.style="gux-button gux-icon{padding-block-start:4px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield}";export{R as gux_form_field_number,S as gux_pagination_ellipsis_button}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,a as r}from"./p-
|
|
1
|
+
import{r as e,h as t,a as r}from"./p-kwjCRlfg.js";import{O as i}from"./p-DsSpCzqR.js";import{h as o}from"./p-qzV3vtOw.js";import{t as l}from"./p-SfRYD6hj.js";import{G as a,a as n}from"./p-DruyT7wT.js";import{G as s,a as f}from"./p-D22nBXS3.js";import{g as d,a as h,v as c}from"./p-D8ztWCZ3.js";import{p as u}from"./p-PYfNAK8p.js";import{o as g}from"./p-De1NnCmO.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const m=class{constructor(t){e(this,t),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=o(this.root,"error"),this.hasHelp=o(this.root,"help")}handleKeyup(e){var t,r;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=o(this.root,"error"),this.hasHelp=o(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}connectedCallback(){this.hasError=o(this.root,"error"),this.hasHelp=o(this.root,"help")}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=d(this.label,this.labelPosition)}setInput(){this.input=h(this.root,'input[type="file"][slot="input"]'),u(this.input),this.required=this.input.required,this.requiredObserver=g(this.input,(e=>{this.required=e})),c(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return t(f,{key:"2bce02765871b921925008dcc158bec1249232cd",labelPosition:this.computedLabelPosition},t(s,{key:"c83cd2f0a4ddeb6d1f0e1058fe0ca530bef04185",position:this.computedLabelPosition,required:this.required},t("slot",{key:"f6c16b4d88ddc99a6591fac85e813be5c61491e0",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"f5f3ec4ee292855d3357885cf2c15861cb34e5e0",required:this.required,variant:this.indicatorMark}),t("slot",{key:"e721ae8a85d77dfb4b45d15444aa987d9b33c125",name:"label-info"})),t("div",{key:"5bce19736d48988f1074b17ededd9da25787f6b6",class:"gux-input-and-error-container"},t("slot",{key:"0dc6763db5e7dc95715126427f2fe11fe7e347ec",name:"input",onSlotchange:()=>this.setInput()}),t(a,{key:"bb660144c86e9ab5d415d5d091a9f9d8337a4e6c",show:this.hasError},t("slot",{key:"4072cf2d1c82b2043ab5df258ebee03aaf5c7654",name:"error"})),t(n,{key:"64ad5d77bfcc4b88417b8ef2d272fce51f65f51d",show:!this.hasError&&this.hasHelp},t("slot",{key:"68bb9f9463f033cfb9b6e518b970459ad23bc9e4",name:"help"}))))}get root(){return r(this)}};(function(e,t,r,i){var o,l=arguments.length,a=l<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,i);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(a=(l<3?o(a):l>3?o(t,r,a):o(t,r))||a);l>3&&a&&Object.defineProperty(t,r,a)})([i({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;inset-inline-start:-10000px;top:0;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;flex:1 1 auto;min-inline-size:0}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{m as gux_form_field_file}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as i,h as a,a as l}from"./p-
|
|
1
|
+
import{r as e,c as i,h as a,a as l}from"./p-kwjCRlfg.js";import{b as r}from"./p-CyKt8d35.js";import{t}from"./p-SfRYD6hj.js";import"./p-Bwt-u0lF.js";var o={removeFile:"Remove {filename} file",uploadingFile:"Uploading {filename} file",success:"{filename} file uploaded successfully",error:"{filename} file has an error"};const s=class{constructor(a){e(this,a),this.guxremovefile=i(this,"guxremovefile",7),this.disabled=!1}async componentWillLoad(){this.getI18nValue=await r(this.root,o),t(this.root)}render(){return a("div",{key:"7e20c7275184e2826d19eebbe0fd9677f96133d8","aria-disabled":this.disabled?"true":null,class:{"gux-file-list-item":!0,[`gux-${this.status}`]:!!this.status,"gux-disabled":this.disabled}},a("div",{key:"1aec5f8e2f083585f6c0cbc6fb214209de25a63c",class:"gux-info"},a("gux-truncate",{key:"4594a51a8e760085d4bab9af43d525467929d4ea"},a("span",{key:"8f2082fe11bf813e41c1e0cd540e522d994ed73c",class:"gux-file-name"},this.name)),this.renderStatusIndicator(),this.renderFileRemoveButton()),this.renderAdditionalInfo())}renderStatusIndicator(){switch(this.status){case"loading":return a("gux-radial-loading",{context:"input","screenreader-text":this.getI18nValue("uploadingFile",{filename:this.name})});case"success":return[a("gux-icon-tooltip-beta",{class:"gux-indicator","icon-name":"fa/circle-check-solid","visual-only":!0},a("span",{slot:"content"},this.getI18nValue("success",{filename:this.name}))),a("gux-screen-reader-beta",null,this.getI18nValue("success",{filename:this.name}))];case"error":return[a("gux-icon-tooltip-beta",{class:"gux-indicator","icon-name":"fa/hexagon-exclamation-solid","visual-only":!0},a("span",{slot:"content"},this.getI18nValue("error",{filename:this.name}))),a("gux-screen-reader-beta",null,this.getI18nValue("error",{filename:this.name}))];default:return null}}renderFileRemoveButton(){return this.disabled?null:a("gux-button-slot",{accent:"subtle","icon-only":!0},a("button",{onClick:()=>this.guxremovefile.emit(this.index),type:"button"},a("gux-icon",{decorative:!0,"icon-name":"fa/xmark-large-regular",size:"small"}),a("gux-screen-reader-beta",null,this.getI18nValue("removeFile",{filename:this.name}))))}renderAdditionalInfo(){return"error"===this.status?a("div",{class:"gux-additional-info"},a("div",{class:"gux-additional-info-header"},a("slot",{name:"additional-info-header"})),a("div",{class:"gux-additional-info-content"},a("slot",{name:"additional-info-content"}))):null}get root(){return l(this)}};s.style=':host{display:block}.gux-file-list-item{display:flex;flex-direction:column;align-items:flex-start;background-color:var(--gse-ui-fileUpload-fileCard-foregroundColor);border:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color);border-radius:var(--gse-ui-fileUpload-fileCard-borderRadius);box-shadow:var(--gse-ui-fileUpload-fileCard-boxShadow)}.gux-file-list-item.gux-disabled{opacity:0.5}.gux-file-list-item.gux-error{padding-block-start:0;border:var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-color)}.gux-file-list-item .gux-info{box-sizing:border-box;display:flex;gap:var(--gse-ui-fileUpload-fileCard-card-gap);align-items:center;inline-size:100%;block-size:32px;padding:var(--gse-ui-fileUpload-fileCard-card-padding)}.gux-file-list-item .gux-info .gux-file-name{font-family:var(--gse-ui-fileUpload-fileCard-fileName-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-fileName-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-fileName-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-fileName-text-lineHeight);color:var(--gse-ui-fileUpload-fileCard-fileName-default)}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/circle-check-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:var(--gse-ui-fileUpload-fileCard-statusIcon-success)}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/hexagon-exclamation-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:var(--gse-ui-fileUpload-fileCard-statusIcon-error)}.gux-file-list-item .gux-info gux-button-slot{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-info gux-button-slot button{--gse-ui-button-default-paddingIconOnly:4px;inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height);min-block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-additional-info{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-card-errorCard-errorTextSection-gap);inline-size:100%;padding:var(--gse-ui-fileUpload-fileCard-card-errorCard-mainContainer-padding);font-family:var(--gse-ui-fileUpload-fileCard-error-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-error-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-error-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-error-text-lineHeight);border-block-start:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color)}.gux-file-list-item .gux-additional-info .gux-additional-info-header{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorMessage)}.gux-file-list-item .gux-additional-info .gux-additional-info-content{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorHelper)}';export{s as gux_file_list_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as g}from"./p-
|
|
1
|
+
import{r as e,h as g}from"./p-kwjCRlfg.js";import{b as r,a as o}from"./p-DSMRdS3g.js";const l=class{constructor(g){e(this,g),this.checked=!1,this.disabled=!1,this.guxAriaLabel="",this.labelId="",this.errorId=""}watchGuxAriaLabel(e){var g;e&&(null===(g=this.checkboxElement)||void 0===g||g.setAttribute("aria-label",e))}componentDidLoad(){var e,g;null===(e=this.checkboxElement)||void 0===e||e.setAttribute("aria-label",this.guxAriaLabel),this.errorId&&(null===(g=this.checkboxElement)||void 0===g||g.setAttribute("aria-describedby",this.errorId))}render(){const e=this.errorId.length>0;return g("div",{key:"325d8010b2e669aa1b27fa92ad6943f6c6e0b739","aria-checked":o(this.checked),"aria-disabled":r(this.disabled),class:{"gux-toggle-slider":!0,"gux-checked":this.checked,"gux-disabled":this.disabled,"gux-error":e},ref:e=>this.checkboxElement=e,role:"checkbox",tabindex:this.disabled?"":"0"},g("div",{key:"6ad88d51a24a3d19c90627d373aead025a0ac129",class:"gux-slider"},g("div",{key:"b2ddf910c9f71f9be53054637b36cc3c981b32b5",class:"gux-switch"},!e&&g("gux-icon",{key:"f1e4173923051709de3919ee9ad90f402d0888b9",decorative:!0,"icon-name":"fa/check-solid"}))))}static get watchers(){return{guxAriaLabel:[{watchGuxAriaLabel:0}]}}};l.style='gux-toggle-slider{display:flex;align-items:center;padding:2px;outline:none}gux-toggle-slider .gux-toggle-slider{position:relative;display:inline-block;flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-toggle-track-width);block-size:var(--gse-ui-toggle-track-height);cursor:pointer;border-radius:var(--gse-ui-toggle-track-borderRadius)}gux-toggle-slider .gux-toggle-slider.gux-disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-toggle-disabled-opacity)}gux-toggle-slider .gux-toggle-slider:focus-visible{outline:var(--gse-ui-toggle-focus-border-width) var(--gse-ui-toggle-focus-border-style) var(--gse-ui-toggle-focus-border-color);outline-offset:var(--gse-ui-toggle-focus-offset);border-radius:var(--gse-ui-toggle-focus-borderRadius)}gux-toggle-slider .gux-toggle-slider .gux-slider{position:absolute;inset:0;outline:var(--gse-ui-toggle-track-enabled-border-width) var(--gse-ui-toggle-track-enabled-border-style) var(--gse-ui-toggle-track-enabled-off-foregroundColor);outline-offset:calc(-1 * var(--gse-ui-toggle-focus-offset));background-color:var(--gse-ui-toggle-track-enabled-off-backgroundColor);border-radius:calc(var(--gse-ui-toggle-track-height) / 2);transition:background-color 0.2s ease}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch{position:absolute;inset-block-end:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);inset-inline-start:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-toggle-handle-width);block-size:var(--gse-ui-toggle-handle-height);color:var(--gse-ui-toggle-handle-foregroundColor);content:"";background-color:var(--gse-ui-toggle-handle-off-enabled);border-radius:var(--gse-ui-toggle-handle-borderRadius);transition:0.2s}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch gux-icon{inline-size:var(--gse-ui-toggle-handle-width);block-size:var(--gse-ui-toggle-handle-width);color:var(--gse-ui-toggle-handle-off-enabled);opacity:0;transition:opacity 0.2s linear}gux-toggle-slider .gux-toggle-slider:not(.gux-checked):not(.gux-disabled):not(.gux-error) .gux-slider:hover{outline-color:var(--gse-ui-toggle-track-hover-off-foregroundColor);background-color:var(--gse-ui-toggle-track-hover-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider:not(.gux-checked):not(.gux-disabled):not(.gux-error) .gux-slider:hover .gux-switch{background-color:var(--gse-ui-toggle-handle-off-hover)}gux-toggle-slider .gux-toggle-slider.gux-disabled:not(.gux-checked):not(.gux-error) .gux-slider{background-color:var(--gse-ui-toggle-track-disabled-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-disabled:not(.gux-checked):not(.gux-error) .gux-slider .gux-switch{background-color:var(--gse-ui-toggle-handle-off-disabled)}gux-toggle-slider .gux-toggle-slider.gux-error:not(.gux-checked) .gux-slider{outline:var(--gse-ui-toggle-track-error-border-width) var(--gse-ui-toggle-track-error-border-style) var(--gse-ui-toggle-track-error-border-color);outline-offset:calc(-1 * var(--gse-ui-toggle-focus-offset));background-color:var(--gse-ui-toggle-track-error-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-error:not(.gux-checked) .gux-slider .gux-switch{background-color:var(--gse-ui-toggle-handle-off-error)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider{outline:none;background-color:var(--gse-ui-toggle-track-enabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch{background-color:var(--gse-ui-toggle-handle-backgroundColor);transform:translateX(calc(var(--gse-ui-toggle-track-width) - var(--gse-ui-toggle-track-height)))}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch:dir(rtl){transform:translateX(calc(-1 * calc(var(--gse-ui-toggle-track-width) - var(--gse-ui-toggle-track-height))))}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch gux-icon{color:var(--gse-ui-toggle-handle-foregroundColor);opacity:1;transition:opacity 0.1s linear;transition-delay:0.1s}gux-toggle-slider .gux-toggle-slider.gux-checked:not(.gux-disabled):not(.gux-error) .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked.gux-disabled:not(.gux-error) .gux-slider{background-color:var(--gse-ui-toggle-track-disabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked.gux-error .gux-slider{outline:none;background-color:var(--gse-ui-toggle-track-error-on-backgroundColor)}';export{l as gux_toggle_slider}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as i,a as o}from"./p-DuKsR5Vf.js";import{t as s}from"./p-D4xQaSSz.js";import{a}from"./p-DSMRdS3g.js";import{b as n}from"./p-CIB2iF29.js";import{t as r,h as u}from"./p-ddfteogt.js";import{O as l}from"./p-Uxk68r1P.js";import{b as d}from"./p-Bg4q97BS.js";import{w as c}from"./p-kLXvN2m9.js";import{r as b}from"./p-D9jKBqIb.js";import{a as h,c as g,o as f,f as p,b as m}from"./p-CRgGGzzI.js";import{n as v,p as x}from"./p-BebXX5IS.js";import"./p-Bwt-u0lF.js";import"./p-DCZG2J0G.js";const k=class{constructor(t){e(this,t),this.disabled=!1}componentWillLoad(){s(this.root)}render(){return t(i,{key:"7072841ca2314d3354a65cc1f4596b9e23720d5e",role:"listitem"},t("button",{key:"48432cd1496e529b8b0f7e4262ff91a4be4bf6e9",disabled:this.disabled,tabIndex:-1,type:"button"},t("gux-truncate",{key:"3aa95352a83b3be84dfd3a8ec27785cca29b8e71","max-lines":1},t("slot",{key:"7da67979ab679f0fe38c1a6e5afafd053fcace37"}))))}static get delegatesFocus(){return!0}get root(){return o(this)}};k.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}::slotted(*){margin:0}";const y=class{constructor(t){e(this,t),this.buttonId=b("gux-rich-text-editor-menu"),this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeyDown(e){const t=e.composedPath().includes(this.listElement),i=e.composedPath().includes(this.button);switch(e.key){case"Escape":t&&(e.preventDefault(),this.isOpen=!1,this.button.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":i&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem());break;case"ArrowUp":i&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusLastListItem())}}handleKeyup(e){" "===e.key&&e.composedPath().includes(this.button)&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem())}focusFirstListItem(){d((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){d((()=>{this.listElement.guxFocusLastItem()}))}onActionClick(){this.isOpen=!this.isOpen,this.isOpen&&this.focusFirstListItem()}onListClick(e){c("gux-rich-style-list-item",e,(()=>{this.isOpen=!1,this.button.focus()}))}renderTooltip(){return t("gux-tooltip-beta",{for:this.buttonId},t("div",{slot:"content"},this.i18n("additionalActions")))}async componentWillLoad(){s(this.root),this.i18n=await n(this.root,r)}render(){return t(i,{key:"84373c4cfd616e1b7481901395d1c924d28d9d09"},t("gux-popup",{key:"958dc85495bba3812427f7a7f9ee39e988886a19","exceed-target-width":!0,expanded:this.isOpen,offset:4},t("div",{key:"08bd7d7827391589b82b04e8497dd749358f2fca",slot:"target"},t("gux-button-slot",{key:"db55b04f28a3d8e3c4530db7d470a921804ada16",accent:"ghost"},t("button",{key:"9d064f98af41d7435961bc7b42b942784aae9dbb","aria-expanded":a(this.isOpen),"aria-haspopup":"true",disabled:u(this.root),id:this.buttonId,onClick:()=>this.onActionClick(),ref:e=>this.button=e,type:"button"},t("gux-icon",{key:"5fe006621d5cb874e7ed5403ebe201c2f845a04d",decorative:!0,"icon-name":"fa/ellipsis-vertical-regular",size:"small"}),t("gux-screen-reader-beta",{key:"89e7b49c48f8d9568df3c7da94b91f5ac49c79a7"},this.i18n("additionalActions")))),this.renderTooltip()),t("div",{key:"5e4717bab21c507d40d033f494337e9e59b6aaf7",class:"gux-list-container",slot:"popup"},t("gux-rich-text-editor-list",{key:"5e1e28306e8fdcddc525949a69c37c4074fcda59",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"fb6aa2e9f3b0529ade5b2cc21400e0dbd3969636"})))))}static get delegatesFocus(){return!0}get root(){return o(this)}};(function(e,t,i,o){var s,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(n=(a<3?s(n):a>3?s(t,i,n):s(t,i))||n);a>3&&n&&Object.defineProperty(t,i,n)})([l()],y.prototype,"onClickOutside",null),y.style=":host{display:block;max-inline-size:fit-content;white-space:normal}button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-list-container{inline-size:var(--gse-ui-contextMenu-menu-width);max-block-size:var(--gse-ui-contextMenu-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)}";const w=class{constructor(t){e(this,t),this.disabled=!1,this.isShown=!1}onKeydown(e){switch(e.key){case"Enter":e.stopPropagation(),this.focusOnSubList();break;case"ArrowUp":this.root!==e.target&&(e.preventDefault(),e.stopPropagation(),x(this.root,["gux-rich-style-list-item"]));break;case"ArrowDown":this.root!==e.target&&(e.preventDefault(),e.stopPropagation(),v(this.root,["gux-rich-style-list-item"]));break;case"ArrowRight":e.stopPropagation(),this.show(),this.focusOnSubList();break;case"ArrowLeft":case"Escape":this.root!==e.target&&e.stopPropagation(),this.buttonElement.focus()}}onMouseEnter(){this.show()}onMouseLeave(){this.hide()}onClick(e){"GUX-RICH-STYLE-LIST-ITEM"!==e.target.nodeName||this.hide()}onFocusIn(){this.show()}onFocusOut(){this.hide()}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}focusOnSubList(){this.subListContentElement.contains(document.activeElement)||Array.from(this.root.children)[0].focus()}show(){clearTimeout(this.hideTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideTimeout=setTimeout((()=>{this.isShown=!1}),350))}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=h(this.buttonElement,this.subListElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.subListElement&&g(this.buttonElement,this.subListElement,{placement:"right-start",strategy:"fixed",middleware:[f(4),p(),m()]}).then((({x:e,y:t})=>{Object.assign(this.subListElement.style,{left:`${e}px`,top:`${t}px`})}))}render(){return t(i,{key:"897446a2a70335e93ee92c6f60bdf64d7b1c7470"},t("button",{key:"26f61d06f86e46124cfeee388b5bfd823175f95d","aria-expanded":a(this.isShown),"aria-haspopup":"true",class:{"gux-sub-list-button":!0,"gux-sub-list-button-active":this.isShown},disabled:this.disabled,ref:e=>this.buttonElement=e,role:"listitem",tabIndex:-1,type:"button"},t("span",{key:"12ea30166516fa6dc3db71088999b51040c4bedd",class:"gux-sub-list-button-text"},this.label),t("gux-icon",{key:"82900896af5eb279da479fecc724bdfcfaa912c5",decorative:!0,"icon-name":"custom/chevron-right-small-regular",size:"small"})),t("div",{key:"4d7982f87b885182d79fabaaa4b3a58e1591a448",class:{"gux-sub-list-wrapper":!0,"gux-shown":this.isShown},ref:e=>this.subListElement=e},t("div",{key:"8ca1b08251d3d3faa8120542a0ceb3728a6237c1",class:"gux-sub-list-content",ref:e=>this.subListContentElement=e,role:"list"},t("slot",{key:"697e67b08a7541865b2a2b1210500e0cf187152f"}))))}static get delegatesFocus(){return!0}get root(){return o(this)}};w.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}::slotted(*){margin:0}button.gux-sub-list-button{display:flex;flex-direction:row;align-items:center;justify-content:space-between}button gux-icon{align-self:center;color:var(--gse-ui-menu-option-parentIcon-selected-foregroundColor)}.gux-sub-list-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;display:none;flex-direction:column;inline-size:130px;padding:var(--gse-ui-menu-padding);margin:0;background-color:var(--gse-ui-menu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow);opacity:0}.gux-sub-list-wrapper.gux-shown{display:flex;animation-name:fade-in;animation-duration:100ms;animation-delay:350ms;animation-fill-mode:forwards}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{k as gux_rich_style_list_item,y as gux_rich_text_editor_menu,w as gux_rich_text_editor_sub_list}
|
|
1
|
+
import{r as e,h as t,H as i,a as o}from"./p-kwjCRlfg.js";import{t as s}from"./p-SfRYD6hj.js";import{a}from"./p-DSMRdS3g.js";import{b as n}from"./p-CyKt8d35.js";import{t as r,h as u}from"./p-ddfteogt.js";import{O as l}from"./p-Br9hR27G.js";import{b as d}from"./p-Bg4q97BS.js";import{w as c}from"./p-kLXvN2m9.js";import{r as b}from"./p-D9jKBqIb.js";import{a as h,c as g,o as f,f as p,b as m}from"./p-CRgGGzzI.js";import{n as v,p as x}from"./p-BebXX5IS.js";import"./p-Bwt-u0lF.js";import"./p-DCZG2J0G.js";const y=class{constructor(t){e(this,t),this.disabled=!1}componentWillLoad(){s(this.root)}render(){return t(i,{key:"7072841ca2314d3354a65cc1f4596b9e23720d5e",role:"listitem"},t("button",{key:"48432cd1496e529b8b0f7e4262ff91a4be4bf6e9",disabled:this.disabled,tabIndex:-1,type:"button"},t("gux-truncate",{key:"3aa95352a83b3be84dfd3a8ec27785cca29b8e71","max-lines":1},t("slot",{key:"7da67979ab679f0fe38c1a6e5afafd053fcace37"}))))}static get delegatesFocus(){return!0}get root(){return o(this)}};y.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}::slotted(*){margin:0}";const k=class{constructor(t){e(this,t),this.buttonId=b("gux-rich-text-editor-menu"),this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeyDown(e){const t=e.composedPath().includes(this.listElement),i=e.composedPath().includes(this.button);switch(e.key){case"Escape":t&&(e.preventDefault(),this.isOpen=!1,this.button.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":i&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem());break;case"ArrowUp":i&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusLastListItem())}}handleKeyup(e){" "===e.key&&e.composedPath().includes(this.button)&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem())}focusFirstListItem(){d((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){d((()=>{this.listElement.guxFocusLastItem()}))}onActionClick(){this.isOpen=!this.isOpen,this.isOpen&&this.focusFirstListItem()}onListClick(e){c("gux-rich-style-list-item",e,(()=>{this.isOpen=!1,this.button.focus()}))}renderTooltip(){return t("gux-tooltip-beta",{for:this.buttonId},t("div",{slot:"content"},this.i18n("additionalActions")))}async componentWillLoad(){s(this.root),this.i18n=await n(this.root,r)}render(){return t(i,{key:"84373c4cfd616e1b7481901395d1c924d28d9d09"},t("gux-popup",{key:"958dc85495bba3812427f7a7f9ee39e988886a19","exceed-target-width":!0,expanded:this.isOpen,offset:4},t("div",{key:"08bd7d7827391589b82b04e8497dd749358f2fca",slot:"target"},t("gux-button-slot",{key:"db55b04f28a3d8e3c4530db7d470a921804ada16",accent:"ghost"},t("button",{key:"9d064f98af41d7435961bc7b42b942784aae9dbb","aria-expanded":a(this.isOpen),"aria-haspopup":"true",disabled:u(this.root),id:this.buttonId,onClick:()=>this.onActionClick(),ref:e=>this.button=e,type:"button"},t("gux-icon",{key:"5fe006621d5cb874e7ed5403ebe201c2f845a04d",decorative:!0,"icon-name":"fa/ellipsis-vertical-regular",size:"small"}),t("gux-screen-reader-beta",{key:"89e7b49c48f8d9568df3c7da94b91f5ac49c79a7"},this.i18n("additionalActions")))),this.renderTooltip()),t("div",{key:"5e4717bab21c507d40d033f494337e9e59b6aaf7",class:"gux-list-container",slot:"popup"},t("gux-rich-text-editor-list",{key:"5e1e28306e8fdcddc525949a69c37c4074fcda59",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"fb6aa2e9f3b0529ade5b2cc21400e0dbd3969636"})))))}static get delegatesFocus(){return!0}get root(){return o(this)}};(function(e,t,i,o){var s,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(n=(a<3?s(n):a>3?s(t,i,n):s(t,i))||n);a>3&&n&&Object.defineProperty(t,i,n)})([l()],k.prototype,"onClickOutside",null),k.style=":host{display:block;max-inline-size:fit-content;white-space:normal}button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-list-container{inline-size:var(--gse-ui-contextMenu-menu-width);max-block-size:var(--gse-ui-contextMenu-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)}";const w=class{constructor(t){e(this,t),this.disabled=!1,this.isShown=!1}onKeydown(e){switch(e.key){case"Enter":e.stopPropagation(),this.focusOnSubList();break;case"ArrowUp":this.root!==e.target&&(e.preventDefault(),e.stopPropagation(),x(this.root,["gux-rich-style-list-item"]));break;case"ArrowDown":this.root!==e.target&&(e.preventDefault(),e.stopPropagation(),v(this.root,["gux-rich-style-list-item"]));break;case"ArrowRight":e.stopPropagation(),this.show(),this.focusOnSubList();break;case"ArrowLeft":case"Escape":this.root!==e.target&&e.stopPropagation(),this.buttonElement.focus()}}onMouseEnter(){this.show()}onMouseLeave(){this.hide()}onClick(e){"GUX-RICH-STYLE-LIST-ITEM"!==e.target.nodeName||this.hide()}onFocusIn(){this.show()}onFocusOut(){this.hide()}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}focusOnSubList(){this.subListContentElement.contains(document.activeElement)||Array.from(this.root.children)[0].focus()}show(){clearTimeout(this.hideTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideTimeout=setTimeout((()=>{this.isShown=!1}),350))}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=h(this.buttonElement,this.subListElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.subListElement&&g(this.buttonElement,this.subListElement,{placement:"right-start",strategy:"fixed",middleware:[f(4),p(),m()]}).then((({x:e,y:t})=>{Object.assign(this.subListElement.style,{left:`${e}px`,top:`${t}px`})}))}render(){return t(i,{key:"897446a2a70335e93ee92c6f60bdf64d7b1c7470"},t("button",{key:"26f61d06f86e46124cfeee388b5bfd823175f95d","aria-expanded":a(this.isShown),"aria-haspopup":"true",class:{"gux-sub-list-button":!0,"gux-sub-list-button-active":this.isShown},disabled:this.disabled,ref:e=>this.buttonElement=e,role:"listitem",tabIndex:-1,type:"button"},t("span",{key:"12ea30166516fa6dc3db71088999b51040c4bedd",class:"gux-sub-list-button-text"},this.label),t("gux-icon",{key:"82900896af5eb279da479fecc724bdfcfaa912c5",decorative:!0,"icon-name":"custom/chevron-right-small-regular",size:"small"})),t("div",{key:"4d7982f87b885182d79fabaaa4b3a58e1591a448",class:{"gux-sub-list-wrapper":!0,"gux-shown":this.isShown},ref:e=>this.subListElement=e},t("div",{key:"8ca1b08251d3d3faa8120542a0ceb3728a6237c1",class:"gux-sub-list-content",ref:e=>this.subListContentElement=e,role:"list"},t("slot",{key:"697e67b08a7541865b2a2b1210500e0cf187152f"}))))}static get delegatesFocus(){return!0}get root(){return o(this)}};w.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}::slotted(*){margin:0}button.gux-sub-list-button{display:flex;flex-direction:row;align-items:center;justify-content:space-between}button gux-icon{align-self:center;color:var(--gse-ui-menu-option-parentIcon-selected-foregroundColor)}.gux-sub-list-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;display:none;flex-direction:column;inline-size:130px;padding:var(--gse-ui-menu-padding);margin:0;background-color:var(--gse-ui-menu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow);opacity:0}.gux-sub-list-wrapper.gux-shown{display:flex;animation-name:fade-in;animation-duration:100ms;animation-delay:350ms;animation-fill-mode:forwards}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{y as gux_rich_style_list_item,k as gux_rich_text_editor_menu,w as gux_rich_text_editor_sub_list}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e,r,a as s}from"./p-
|
|
1
|
+
import{h as e,r,a as s}from"./p-kwjCRlfg.js";import{t as i}from"./p-SfRYD6hj.js";import{l as n}from"./p-DxtJDeL9.js";const t=2*Math.PI*22;function a(e,r){return!(isNaN(e)||isNaN(r)||e>r||e<0||0===r)}const o=({value:r,max:s,screenreaderText:i})=>e("div",{"aria-label":i,"aria-valuemax":s,"aria-valuemin":"0","aria-valuenow":r,role:"progressbar"},e("svg",{class:"gux-svg-container",role:"presentation",viewBox:"0 0 48 48"},e("circle",{class:"gux-static-circle",cx:"50%",cy:"50%",r:22}),e("circle",{class:"gux-dynamic-circle",cx:"50%",cy:"50%",r:22,"stroke-dasharray":t,"stroke-dashoffset":t*(1-r/s),"stroke-linecap":"round"}),e("text",{class:"gux-percentage","dominant-baseline":"central",x:"50%",y:"50%"},function(e,r){return`${Math.round((e+Number.EPSILON)/r*100)}%`}(r,s)))),g=({screenreaderText:r})=>e("gux-radial-loading",{context:"modal","screenreader-text":r}),l=class{constructor(e){r(this,e),this.max=100,this.screenreaderText=""}componentWillLoad(){i(this.root)}componentDidLoad(){!this.screenreaderText&&a(this.value,this.max)&&n(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the component.")}render(){return a(this.value,this.max)?e(o,{max:this.max,screenreaderText:this.screenreaderText,value:this.value}):e(g,{screenreaderText:this.screenreaderText})}get root(){return s(this)}};l.style=":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{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:4;transform:rotate(-90deg);transform-origin:50% 50%}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-svg-container .gux-percentage{font-family:var(--gse-ui-progressAndLoading-spinner-text-fontFamily);font-size:var(--gse-ui-progressAndLoading-spinner-text-fontSize);font-weight:var(--gse-ui-progressAndLoading-spinner-text-fontWeight);line-height:var(--gse-ui-progressAndLoading-spinner-text-lineHeight);text-anchor:middle;fill:var(--gse-ui-progressAndLoading-textColor)}";export{l as gux_radial_progress}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as e,a as r}from"./p-
|
|
1
|
+
import{r as t,c as s,h as i,H as e,a as r}from"./p-kwjCRlfg.js";import{t as a}from"./p-SfRYD6hj.js";import{n as h,p as o,l as c,f as n}from"./p-BebXX5IS.js";const l=["gux-rich-style-list-item","gux-rich-highlight-list-item","gux-rich-text-editor-sub-list"],g=class{constructor(i){t(this,i),this.internallistitemsupdated=s(this,"internallistitemsupdated",7),this.listItems=[]}get listItemsSlot(){return this.root.querySelector("slot")}get listItemElements(){var t;const s=null===(t=this.listItemsSlot)||void 0===t?void 0:t.assignedElements();return s?Array.from(s):[]}handleHighlighItemsNavigation(){if(this.listItemsSlot){const t=this.listItemsSlot.assignedElements().find((t=>"gux-rich-highlight-list-item"===t.tagName.toLowerCase()));if(t){const s=t.shadowRoot.querySelector("button");s&&(s.tabIndex=0)}}}setListItems(){this.listItems=this.listItemElements,this.internallistitemsupdated.emit()}async componentWillLoad(){a(this.root),this.setListItems(),this.handleHighlighItemsNavigation()}onKeyDown(t){const s=t.target;if(!s)return;const i=s.matches("gux-rich-highlight-list-item");switch(t.key){case"ArrowUp":t.preventDefault(),o(this.root,l);break;case"ArrowDown":t.preventDefault(),h(this.root,l);break;case"Home":t.preventDefault(),n(this.root,l);break;case"End":t.preventDefault(),c(this.root,l);break;case"ArrowLeft":i&&(t.preventDefault(),o(this.root,l));break;case"ArrowRight":i&&(t.preventDefault(),h(this.root,l))}}async guxFocusFirstItem(){n(this.root,l)}async guxFocusLastItem(){c(this.root,l)}render(){return i(e,{key:"ef246f31f1bf143cd98ad2622acd4d9e4360996f",role:"list"},i("slot",{key:"c80edbc8c07ef73e3946e337ed7399720fa0a387",onSlotchange:()=>this.setListItems()}))}static get delegatesFocus(){return!0}get root(){return r(this)}};g.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{g as gux_rich_text_editor_list}
|