genesys-spark-components 4.165.0 → 4.166.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
- package/dist/cjs/{get-valid-timezone-X4FU5iPT.js → get-valid-timezone-BiIuSzib.js} +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +6 -6
- package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
- package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
- package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
- 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 +5 -5
- package/dist/cjs/gux-blank-state.cjs.entry.js +4 -4
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
- package/dist/cjs/gux-button-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-button-slot.cjs.entry.js +3 -3
- package/dist/cjs/gux-button_2.cjs.entry.js +7 -7
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
- package/dist/cjs/gux-card.cjs.entry.js +4 -4
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
- package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
- package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
- package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
- package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +8 -8
- package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +5 -5
- 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 +8 -8
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-color.cjs.entry.js +8 -8
- package/dist/cjs/{gux-form-field-container-BuV5Bdg-.js → gux-form-field-container-jH9AONLV.js} +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
- package/dist/cjs/{gux-form-field-error-D2gsriJG.js → gux-form-field-error-C9nXlEsu.js} +1 -1
- package/dist/cjs/{gux-form-field-fieldset-container-CGFNOA3P.js → gux-form-field-fieldset-container-ByiTDN4Q.js} +1 -1
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +14 -14
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-range.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-search.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-select.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
- 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 +3 -3
- package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
- 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-link-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
- package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-modal.cjs.entry.js +3 -3
- 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-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
- 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 +5 -5
- package/dist/cjs/gux-popup.cjs.entry.js +4 -4
- package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +72 -0
- package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
- package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
- package/dist/cjs/gux-rating.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +9 -9
- package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +7 -7
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-row-select.cjs.entry.js +4 -4
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-select-all.cjs.entry.js +4 -4
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +3 -3
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
- package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-step-title.cjs.entry.js +3 -3
- package/dist/cjs/gux-step.cjs.entry.js +5 -5
- package/dist/cjs/gux-stepper-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
- package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
- package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
- package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +5 -5
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +4 -4
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
- package/dist/cjs/gux-table.cjs.entry.js +4 -4
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
- 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 +5 -5
- package/dist/cjs/gux-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-toast.cjs.entry.js +4 -4
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
- package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +9 -9
- package/dist/cjs/{index-Dm6j88gi.js → index-BObNldbR.js} +1 -1
- package/dist/cjs/index-DGPyMRSk.js +2703 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{on-click-outside-B3SDdOGP.js → on-click-outside-CISV2TFC.js} +1 -1
- package/dist/cjs/{on-mutation-JiNdh60d.js → on-mutation-BKdd0QK5.js} +1 -1
- package/dist/cjs/{on-resize-B7kgDKlB.js → on-resize-CvymNApz.js} +1 -1
- package/dist/cjs/{usage-taKJPEhl.js → usage-CySwRc8I.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.css +88 -0
- package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.js +126 -0
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +2 -2
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.js +2 -2
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.js +3 -3
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +1 -1
- package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
- package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
- package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
- package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
- package/dist/collection/components/beta/gux-status-indicator/gux-status-indicator.js +1 -1
- package/dist/collection/components/beta/gux-stepper/gux-step/gux-step-title/gux-step-title.js +1 -1
- package/dist/collection/components/beta/gux-stepper/gux-step/gux-step.js +3 -3
- package/dist/collection/components/beta/gux-stepper/gux-stepper.js +2 -2
- package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
- package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
- package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
- package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
- package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
- package/dist/collection/components/beta/gux-tooltip-pointer-beta/gux-tooltip-pointer.js +1 -1
- package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
- package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
- package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
- package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
- package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
- package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
- package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
- package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
- package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
- package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
- package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
- package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
- package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
- package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
- package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
- package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
- package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
- package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
- package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
- package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
- package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
- package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +2 -2
- package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
- package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
- package/dist/collection/components/stable/gux-modal/tests/gux-modal.common.js +113 -0
- package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
- package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
- package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
- package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
- package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
- package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +2 -2
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.css +1 -0
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.css +4 -0
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.common.js +37 -0
- package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
- package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
- package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
- package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
- package/dist/esm/genesys-webcomponents.js +3 -3
- package/dist/esm/{get-valid-timezone-D1FTR3kG.js → get-valid-timezone-qC4hONRK.js} +1 -1
- package/dist/esm/gux-accordion-section.entry.js +6 -6
- package/dist/esm/gux-accordion.entry.js +3 -3
- package/dist/esm/gux-action-button.entry.js +5 -5
- package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
- package/dist/esm/gux-all-row-select.entry.js +3 -3
- 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 +5 -5
- package/dist/esm/gux-blank-state.entry.js +4 -4
- package/dist/esm/gux-breadcrumb-item.entry.js +2 -2
- package/dist/esm/gux-breadcrumbs.entry.js +4 -4
- package/dist/esm/gux-button-multi.entry.js +4 -4
- package/dist/esm/gux-button-slot.entry.js +3 -3
- package/dist/esm/gux-button_2.entry.js +7 -7
- package/dist/esm/gux-calendar-beta.entry.js +2 -2
- package/dist/esm/gux-calendar.entry.js +4 -4
- package/dist/esm/gux-card.entry.js +4 -4
- package/dist/esm/gux-column-manager-item.entry.js +5 -5
- package/dist/esm/gux-column-manager.entry.js +4 -4
- package/dist/esm/gux-content-search.entry.js +5 -5
- package/dist/esm/gux-context-menu.entry.js +6 -6
- package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
- package/dist/esm/gux-create-option.entry.js +4 -4
- package/dist/esm/gux-cta-group.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +4 -4
- package/dist/esm/gux-date-time-beta.entry.js +4 -4
- package/dist/esm/gux-datepicker.entry.js +5 -5
- package/dist/esm/gux-day-beta.entry.js +2 -2
- package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
- package/dist/esm/gux-dismiss-button.entry.js +5 -5
- package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi.entry.js +6 -6
- package/dist/esm/gux-dropdown-option.entry.js +2 -2
- package/dist/esm/gux-dropdown_3.entry.js +8 -8
- package/dist/esm/gux-file-list-item.entry.js +5 -5
- package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
- package/dist/esm/gux-flyout-menu.entry.js +5 -5
- 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 +8 -8
- package/dist/esm/gux-form-field-checkbox.entry.js +6 -6
- package/dist/esm/gux-form-field-color.entry.js +8 -8
- package/dist/esm/{gux-form-field-container-BS6NSOl8.js → gux-form-field-container-DA4A7BXk.js} +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
- package/dist/esm/{gux-form-field-error-3eJqf3QT.js → gux-form-field-error-CkpGx_D3.js} +1 -1
- package/dist/esm/{gux-form-field-fieldset-container-BGrF8SSC.js → gux-form-field-fieldset-container-CmkMAJFA.js} +1 -1
- package/dist/esm/gux-form-field-file-beta.entry.js +7 -7
- package/dist/esm/gux-form-field-file.entry.js +6 -6
- package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
- package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
- package/dist/esm/gux-form-field-number_2.entry.js +14 -14
- package/dist/esm/gux-form-field-phone.entry.js +10 -10
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
- package/dist/esm/gux-form-field-radio.entry.js +6 -6
- package/dist/esm/gux-form-field-range.entry.js +8 -8
- package/dist/esm/gux-form-field-search.entry.js +8 -8
- package/dist/esm/gux-form-field-select.entry.js +8 -8
- package/dist/esm/gux-form-field-text-like.entry.js +8 -8
- package/dist/esm/gux-form-field-textarea.entry.js +7 -7
- package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
- 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 +3 -3
- package/dist/esm/gux-inline-alert.entry.js +5 -5
- 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-link-beta.entry.js +2 -2
- package/dist/esm/gux-list-divider.entry.js +2 -2
- package/dist/esm/gux-list-item.entry.js +2 -2
- package/dist/esm/gux-list.entry.js +3 -3
- package/dist/esm/gux-listbox-multi.entry.js +4 -4
- package/dist/esm/gux-loading-message.entry.js +3 -3
- package/dist/esm/gux-menu-option.entry.js +2 -2
- package/dist/esm/gux-menu.entry.js +2 -2
- package/dist/esm/gux-modal-legacy.entry.js +4 -4
- package/dist/esm/gux-modal-side-panel-beta.entry.js +3 -3
- package/dist/esm/gux-modal.entry.js +3 -3
- 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-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-option-group-beta.entry.js +2 -2
- package/dist/esm/gux-option-icon.entry.js +3 -3
- package/dist/esm/gux-option-multi.entry.js +4 -4
- package/dist/esm/gux-option-status-beta.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
- package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
- package/dist/esm/gux-pagination-cursor.entry.js +3 -3
- package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
- package/dist/esm/gux-pagination-legacy.entry.js +3 -3
- package/dist/esm/gux-pagination.entry.js +3 -3
- 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 +5 -5
- package/dist/esm/gux-popup.entry.js +4 -4
- package/dist/esm/gux-prompt-input-beta.entry.js +70 -0
- package/dist/esm/gux-radial-loading.entry.js +4 -4
- package/dist/esm/gux-radial-progress.entry.js +2 -2
- package/dist/esm/gux-rating.entry.js +3 -3
- package/dist/esm/gux-rich-highlight-list-item.entry.js +5 -5
- package/dist/esm/gux-rich-style-list-item_3.entry.js +9 -9
- package/dist/esm/gux-rich-text-editor-action-group.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-beta.entry.js +7 -7
- package/dist/esm/gux-rich-text-editor-list.entry.js +3 -3
- package/dist/esm/gux-row-select.entry.js +4 -4
- package/dist/esm/gux-screen-reader-beta.entry.js +3 -3
- package/dist/esm/gux-segmented-control-beta.entry.js +3 -3
- package/dist/esm/gux-segmented-control-item.entry.js +5 -5
- package/dist/esm/gux-select-all.entry.js +4 -4
- package/dist/esm/gux-selector-card-beta.entry.js +4 -4
- package/dist/esm/gux-selector-cards-beta.entry.js +3 -3
- package/dist/esm/gux-side-panel-beta.entry.js +4 -4
- package/dist/esm/gux-side-panel-heading.entry.js +3 -3
- package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
- package/dist/esm/gux-sort-control.entry.js +5 -5
- package/dist/esm/gux-status-indicator-beta.entry.js +3 -3
- package/dist/esm/gux-step-title.entry.js +3 -3
- package/dist/esm/gux-step.entry.js +5 -5
- package/dist/esm/gux-stepper-beta.entry.js +4 -4
- package/dist/esm/gux-submenu.entry.js +4 -4
- package/dist/esm/gux-switch-item.entry.js +2 -2
- package/dist/esm/gux-switch-legacy.entry.js +3 -3
- package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
- package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
- package/dist/esm/gux-tab-advanced.entry.js +4 -4
- package/dist/esm/gux-tab-list.entry.js +5 -5
- package/dist/esm/gux-tab-panel.entry.js +2 -2
- package/dist/esm/gux-tab.entry.js +3 -3
- package/dist/esm/gux-table-select-menu.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-action.entry.js +5 -5
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +4 -4
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
- package/dist/esm/gux-table-toolbar.entry.js +6 -6
- package/dist/esm/gux-table.entry.js +4 -4
- package/dist/esm/gux-tabs-advanced.entry.js +3 -3
- 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 +5 -5
- package/dist/esm/gux-time-picker.entry.js +5 -5
- package/dist/esm/gux-time-zone-beta.entry.js +4 -4
- package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
- package/dist/esm/gux-toast.entry.js +4 -4
- package/dist/esm/gux-toggle-slider.entry.js +3 -3
- package/dist/esm/gux-toggle.entry.js +5 -5
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +5 -5
- package/dist/esm/gux-tooltip-pointer-beta.entry.js +3 -3
- package/dist/esm/gux-tooltip-title.entry.js +5 -5
- package/dist/esm/gux-tooltip_2.entry.js +9 -9
- package/dist/esm/index-SFVKQR8_.js +2671 -0
- package/dist/esm/{index-CJKn2_MZ.js → index-lZz6lM8w.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{on-click-outside-DswqNKpw.js → on-click-outside-BghgM6g1.js} +1 -1
- package/dist/esm/{on-mutation-BA6Rw6BY.js → on-mutation-C-GKYwWq.js} +1 -1
- package/dist/esm/{on-resize-DdCBkpwI.js → on-resize-GzxQrjuJ.js} +1 -1
- package/dist/esm/{usage-DUZNJocv.js → usage-C8QjRvyk.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.css +3 -3
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
- package/dist/genesys-webcomponents/{p-1738e0f5.entry.js → p-014e4e1b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-02b257ec.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e97feb2a.entry.js → p-03b089ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-050950eb.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1313a327.entry.js → p-0595e722.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0684f897.entry.js +1 -0
- package/dist/genesys-webcomponents/p-0710dec1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-13d412cc.entry.js → p-09a72dd1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-176356aa.entry.js → p-0b707194.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-461dae99.entry.js → p-0c16b188.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d3396bab.entry.js → p-0d7cf9ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80209189.entry.js → p-0dd59a9b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0e27a3bd.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bb25c03c.entry.js → p-1478a968.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9b8afac2.entry.js → p-14e6192a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-16018d06.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c335c304.entry.js → p-1603c8aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c83da978.entry.js → p-176278cb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7a0e3d4f.entry.js → p-19149a83.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-19de0f4b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-538b086e.entry.js → p-1fca1b11.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-94ca250a.entry.js → p-21459e99.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-247a58ec.entry.js +1 -0
- package/dist/genesys-webcomponents/p-26c47269.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a8f98579.entry.js → p-273d974f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-76725b46.entry.js → p-274efed1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3777bbeb.entry.js → p-29cdf44a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-86aa026a.entry.js → p-2a1999c9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-86e83308.entry.js → p-2c545d87.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-09cc9191.entry.js → p-2d2f5aef.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2e2a2401.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e629771e.entry.js → p-2e482294.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eba3f0c4.entry.js → p-2f256dc3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-18a0956f.entry.js → p-34b2466d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-17a52a76.entry.js → p-362cf35e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-54488ef7.entry.js → p-37e429dd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0e7301ca.entry.js → p-39b90ed1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8ef5c77f.entry.js → p-3a2829ff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ccc76820.entry.js → p-3c18d6f1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3c59d8bc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d19b3a2e.entry.js → p-3e787ae3.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3f2f91fd.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-36e4bf00.entry.js → p-3f32d281.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-394db4a9.entry.js → p-40a29c6c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ebba9386.entry.js → p-41a75851.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-695cda83.entry.js → p-421a119b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-04dafe57.entry.js → p-42680ea7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-87570e5e.entry.js → p-42e6433e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f7f35007.entry.js → p-47131844.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-47260a9c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f9a96e72.entry.js → p-482b51d7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c3e4b216.entry.js → p-48326cbe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-db214e01.entry.js → p-4bcbe5cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4c89972b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-4cc39a8a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3aa834fb.entry.js → p-5269a542.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-69e2bc70.entry.js → p-529938bb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e29e7b9d.entry.js → p-533332d0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b9a349c8.entry.js → p-54dcb5de.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-59d1191d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-22061f1e.entry.js → p-5a166ee4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-61a0048b.entry.js → p-5abe4850.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-92b06974.entry.js → p-5accfbb1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-080bf7eb.entry.js → p-5d164294.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ab4b7648.entry.js → p-60b703d1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e3155b2.entry.js → p-610680e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4fdc458c.entry.js → p-61f82f46.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-da89668e.entry.js → p-637392b7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2764d43b.entry.js → p-63874a9a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-25aff229.entry.js → p-64a14cbf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-688df48a.entry.js → p-678c6d8a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b1131bf2.entry.js → p-6abfe50e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c1ba5fc9.entry.js → p-6af30bb6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ab894f35.entry.js → p-6be20590.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d51313d1.entry.js → p-6f6f7cf1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-70d64075.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-62de23db.entry.js → p-71cebc33.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-73e48df0.entry.js → p-72f0ed43.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-73b4a46b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-74e5bfa7.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-97df079a.entry.js → p-780e70e4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-090c55da.entry.js → p-79bae68a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dfcc31a6.entry.js → p-7accb323.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-78def61e.entry.js → p-7aef717e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8a0d3816.entry.js → p-7d5be44b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-74385f6c.entry.js → p-7eed605e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f119682f.entry.js → p-7f58d7b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-80f3f06a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fbfba0dc.entry.js → p-81ccbce5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cefb4f3e.entry.js → p-847e94eb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bc359ff9.entry.js → p-888dc032.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d9875f11.entry.js → p-8a9ae142.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1e89f3f8.entry.js → p-8afcc4fa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a9193dd7.entry.js → p-8e58c30c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7864cc66.entry.js → p-8e610b77.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-51c7658b.entry.js → p-8ef5a56f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8f5c7a59.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-908ffa8d.entry.js → p-90306be6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-12a4cc63.entry.js → p-92d35ab2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-71638d75.entry.js → p-930725e6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d273af5a.entry.js → p-9425dab8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-59f9fcc7.entry.js → p-9490098d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-785de2df.entry.js → p-95ac4d30.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-989df29f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f6284ce0.entry.js → p-9accda88.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-97f40715.entry.js → p-9c49a19e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3babc27a.entry.js → p-9dabb6f3.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9de44839.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-C6N_Xmkv.js → p-C7-BhPWq.js} +1 -1
- package/dist/genesys-webcomponents/{p-DUZNJocv.js → p-C8QjRvyk.js} +1 -1
- package/dist/genesys-webcomponents/p-CCiTbuB6.js +1 -0
- package/dist/genesys-webcomponents/{p-D-o4CNf3.js → p-Cv5xZJRG.js} +1 -1
- package/dist/genesys-webcomponents/{p-BP10a2Gg.js → p-CzRQ7PhU.js} +1 -1
- package/dist/genesys-webcomponents/{p-Diuba2vz.js → p-D7MMwxM2.js} +1 -1
- package/dist/genesys-webcomponents/{p-CiFEnauW.js → p-D7Sv07Vr.js} +1 -1
- package/dist/genesys-webcomponents/{p-BG1WbCv7.js → p-DAm7J30h.js} +1 -1
- package/dist/genesys-webcomponents/{p-DzASDf8o.js → p-DZ8OX8Ca.js} +1 -1
- package/dist/genesys-webcomponents/p-SFVKQR8_.js +2 -0
- package/dist/genesys-webcomponents/{p-853a7b5c.entry.js → p-a20809c3.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-a25b0e5e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-60764c86.entry.js → p-a62c852c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d4344483.entry.js → p-a66b8519.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e2d0bb9d.entry.js → p-a8c92a96.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-755ab53e.entry.js → p-ad2c3646.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80aab74e.entry.js → p-af334948.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-32aee3e2.entry.js → p-aff1c237.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dce602a9.entry.js → p-b12e1d77.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b2782063.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a5688d2c.entry.js → p-b46a8ce1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-17785dd4.entry.js → p-b61a304c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b811dd4e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d1584941.entry.js → p-b8902a30.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b9395adc.entry.js +1 -0
- package/dist/genesys-webcomponents/p-bb450bfd.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1c49a226.entry.js → p-be7908a3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3c514315.entry.js → p-c1c50436.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c796d7b6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d5b00a13.entry.js → p-c7aeb5be.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-62f4857b.entry.js → p-c8a0f448.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bdd873a5.entry.js → p-c98baebf.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cb0083f0.entry.js +1 -0
- package/dist/genesys-webcomponents/p-cd787672.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a25db0f6.entry.js → p-ce7143db.entry.js} +2 -2
- package/dist/genesys-webcomponents/{p-67aacf6e.entry.js → p-d0bce952.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bb58103c.entry.js → p-d183c31e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-30b338a7.entry.js → p-d31410de.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-74e4e38d.entry.js → p-d3c46bcb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3f50f0f4.entry.js → p-d5547e2a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ab584e0e.entry.js → p-d7310bd9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d8cc64c0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2233b13b.entry.js → p-d8d2bfb1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-db7abdef.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d3f80035.entry.js → p-ddc6ba79.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cfdf9f87.entry.js → p-dddf8914.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-74395d43.entry.js → p-dff034ff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e8ca7cd5.entry.js → p-e16f9119.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e1d37579.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d838cf2d.entry.js → p-e5ef268a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e804c26c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-817233d9.entry.js → p-e926cb33.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a8b033d5.entry.js → p-ea17c416.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ebb5981c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1c1bd066.entry.js → p-ec900b67.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f0761f95.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a5159f86.entry.js → p-f1fe373c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1ddf83f3.entry.js → p-f284197d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8dfc8ef2.entry.js → p-f29a68d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5342a1f1.entry.js → p-f3efdd16.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dc8cd5c3.entry.js → p-f47e4886.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-606c9d2c.entry.js → p-f80d8879.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f89baa4.entry.js → p-f859f372.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-04646f5e.entry.js → p-fe0703ac.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-fe21a747.entry.js +1 -0
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-prompt-input/gux-prompt-input-beta.d.ts +27 -0
- package/dist/types/components/stable/gux-modal/tests/gux-modal.common.d.ts +4 -0
- package/dist/types/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.common.d.ts +4 -0
- package/dist/types/components.d.ts +40 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-BKvQer5W.js +0 -2699
- package/dist/esm/index-3ovPLhTT.js +0 -2667
- package/dist/genesys-webcomponents/p-0a8d8106.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0ed234bf.entry.js +0 -1
- package/dist/genesys-webcomponents/p-11182707.entry.js +0 -1
- package/dist/genesys-webcomponents/p-12d204c1.entry.js +0 -1
- package/dist/genesys-webcomponents/p-13d3488d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1a31ac0c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1c0bb983.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1cc28ee3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2180eba7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-24b830f5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-27d90d6c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2be7cc78.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3ovPLhTT.js +0 -2
- package/dist/genesys-webcomponents/p-465e69c7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-524c1de1.entry.js +0 -1
- package/dist/genesys-webcomponents/p-62cb486c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-666a412e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6c7d9b9b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6c9eb1b6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6e79e83c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-71bb8c22.entry.js +0 -1
- package/dist/genesys-webcomponents/p-836e14ce.entry.js +0 -1
- package/dist/genesys-webcomponents/p-84f0fe73.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8c641a6f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8eb69e8d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8f9ea243.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9054da89.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9d4dca6c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9f4e1226.entry.js +0 -1
- package/dist/genesys-webcomponents/p-CxhO4HRl.js +0 -1
- package/dist/genesys-webcomponents/p-afba8d27.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c1238694.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c5f5a5c5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d31c98c3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e3ec881c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ee0760c7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f007fe13.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f54dfdd2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fe6a48d6.entry.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as i,a as t}from"./p-
|
1
|
+
import{r as e,h as i,a as t}from"./p-SFVKQR8_.js";import{b as o}from"./p-D7Sv07Vr.js";import{O as r}from"./p-CCiTbuB6.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as d}from"./p-D7MMwxM2.js";import{G as h,a as u,b as m}from"./p-Cv5xZJRG.js";import{v as p,a as c}from"./p-DHLxhscH.js";import{t as g}from"./p-C8QjRvyk.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-zone-picker-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(m,{key:"726425bc32cc39baf1d739f79ab074e2b29fb08b",labelPosition:this.computedLabelPosition},i(u,{key:"b149f8ef8e881dd6df1f0be71fabf7e89823b153"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(n(this.root,"error"),this.hasError),this.renderText(n(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"da42472d3cda2da9b21447a44fedc5af1aa8bac2",position:this.computedLabelPosition,required:this.required},i("slot",{key:"8455d935ce715d40b033bdfc25334682d49f89ff",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"4fb74fc00aed6164566475c041eb5a49d17db422",variant:this.indicatorMark,required:this.required}),i("slot",{key:"6dda1fcbdae530e6a553420cd6b161e928cb4881",name:"label-info"})),i("slot",{key:"0b149f7e35d9a6f60dcf1041f7dc75de97d44116",name:"label-info"}),i("div",{key:"4cbc9a5626de507424901d3177fbc63ee02fe58d",class:"gux-input-and-error-container"},i("div",{key:"f900ed9aab186a2f36c7b18b38480a3fd82fedba",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"58e80dfc69fc2c7e85bd63e4d3f308477ac95702"})),i(f,{key:"18a00d5e1a67f62a9d287b32b3a12717f2ac9284",show:this.hasError},i("slot",{key:"40808ed67cc4aac79f67da5b3ed486766ef45fd9",name:"error"})),i(d,{key:"4749aaa901390d2507b930206ee4d39b04414f39",show:!this.hasError&&this.hasHelp},i("slot",{key:"792fd06cb55fc431de9f853aa97beeddb57db927",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.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 1 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-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}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-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-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::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{x as gux_form_field_time_zone_picker}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as a,c as t,d as i,h as e,a as n}from"./p-
|
1
|
+
import{r as a,c as t,d as i,h as e,a as n}from"./p-SFVKQR8_.js";import{a as s}from"./p-Bg4q97BS.js";import{t as o}from"./p-C8QjRvyk.js";const r=class{constructor(i){a(this,i),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}calculateTotalPages(a,t){return Math.max(1,Math.ceil(a/t))}calculateCurrentPage(a,t){return Math.max(a>0?1:0,Math.min(t,a))}checkPaginationContainerWidthForLayout(){i((()=>{const a=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=a.clientWidth;t.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"2e568cb8c1eed21e69c340da413a957ad818ea22",class:"gux-pagination-container"},e("div",{key:"8b54f7801a2aa1e10c6747de6814127e2fbc688c",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"14771d5497d527d3fa1e92b7ffc9136a58876207","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"f2ff8681e823e6ba55b6aa530df83103f81d4348",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"247283d3040efb546c0745d5b24c1b32a2b41f60",class:"gux-pagination-spacer"}),e("div",{key:"7bdb9a45f658ed68e6a13627eb9611b2ebf2c49e",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"1795c6ccf211b087b68d78700d99bcfc4d2397f1",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}";export{r as gux_pagination}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,c as t,f as n,h as s,a}from"./p-SFVKQR8_.js";import{b as o}from"./p-D7Sv07Vr.js";import{t as c}from"./p-C8QjRvyk.js";import{g as i,s as r,a as h,b as d,c as l,d as u,e as m,f as p,h as g}from"./p-ygfGN0jf.js";import"./p-Cd4R0amv.js";import"./p-CcCycvZh.js";import"./p-BMRf5pjV.js";var b={search:"Search",searchResults:"search results",selectedColumnCount:"{count} / {total} Columns Selected",selectAllColumnsScreenReader:"{count} of {total} columns selected: check checkbox to select all {total} columns",unselectAllColumnsScreenReader:"{count} of {total} columns selected: uncheck checkbox to unselect all {total} columns",movePositionPrompt:"Press space or enter to move the {columnName} column to position {newPositionNumber} from position {oldPositionNumber}.",reorderingModeActive:"Reordering mode active. Reposition the {columnName} column using the up arrow key, the down arrow key, the home key and the end key. Press Escape to deactivate reordering mode."};const f=class{constructor(n){e(this,n),this.guxorderchange=t(this,"guxorderchange",7),this.highlightResults={matchCount:0,currentMatch:0},this.keyboardOrderChange=i()}watchKeyboardOrderChange(){r(this.root,this.keyboardOrderChange)}async componentWillLoad(){c(this.root),this.i18n=await o(this.root,b)}componentDidLoad(){h(this.root,this.mainCheckboxElement)}handleInternalorderchange(e){e.stopPropagation(),this.emitOrderChange(e.detail)}emitOrderChange(e){const{oldIndex:t,newIndex:n}=e;if(t!==n){const t=d(this.root,e);this.guxorderchange.emit(t)}}handleInternalkeyboardorderstart(e){e.stopPropagation();const t=e.detail,n=l(e.target);this.keyboardOrderChange={oldIndex:n,newIndex:n},this.announceElement.guxAnnounce(this.i18n("reorderingModeActive",{columnName:t}))}handleInternalkeyboardreordermove(e){e.stopPropagation();const{delta:t,column:n}=e.detail;this.keyboardOrderChange=u(this.root,this.keyboardOrderChange,t),this.announceElement.guxAnnounce(this.i18n("movePositionPrompt",{columnName:n,newPositionNumber:this.keyboardOrderChange.newIndex+1,oldPositionNumber:this.keyboardOrderChange.oldIndex+1}))}handleInternalkeyboarddoreorder(e){e.stopPropagation(),this.emitOrderChange(this.keyboardOrderChange),e.target.guxFocus()}handleInternalkeyboardorderfinish(e){e.stopPropagation(),this.keyboardOrderChange=i()}onSearchInput(){this.highlightResults=m(this.root,this.searchElement)}onGuxCurrentMatchChanged(e){this.highlightResults=m(this.root,this.searchElement,e.detail)}onMainCheckboxChange(){p(this.root,this.mainCheckboxElement.checked),n(this.root)}onListChange(){h(this.root,this.mainCheckboxElement),n(this.root)}onSlotChange(){this.onListChange()}renderSelectedColumnCount(){const{count:e,total:t}=g(this.root);return s("div",null,s("span",{"aria-hidden":"true"},this.i18n("selectedColumnCount",{count:e,total:t})),s("span",{class:"gux-sr-only"},s("span",null,": ",this.i18n(e===t?"unselectAllColumnsScreenReader":"selectAllColumnsScreenReader",{count:e,total:t}))))}render(){return s("div",{key:"f0dbc0f1b501b179dce025a887d6d9b88626ecb0",class:"gux-container"},s("div",{key:"f18fabb02accfbf94bb4b3e68486438110bdecb2",class:"gux-sr-only","aria-live":"polite"},`${this.highlightResults.matchCount} ${this.i18n("searchResults")}`),s("div",{key:"e51842e94b7dd07ae55c63c140a002173dec8973",class:"gux-search"},s("gux-content-search",{key:"308df505c26dd6f935b789ae6c1d7f9d79245520","match-count":this.highlightResults.matchCount,"current-match":this.highlightResults.currentMatch,onGuxcurrentmatchchanged:e=>this.onGuxCurrentMatchChanged(e)},s("input",{key:"c34f84f7480e17217cc6bc19e67286aae048cc13",type:"search",placeholder:this.i18n("search"),onInput:()=>this.onSearchInput(),ref:e=>this.searchElement=e}))),s("div",{key:"70aa5ef6e6b04af04da4be05e5fea43651aa7b91",class:"gux-select"},s("gux-form-field-checkbox",{key:"1c9349112407df086b246c1503f81cac2a298236"},s("input",{key:"993e4746508e8014826f877351d0ea5c5e1d2f07",slot:"input",type:"checkbox",ref:e=>this.mainCheckboxElement=e,onChange:()=>this.onMainCheckboxChange()}),s("label",{key:"2a8966ef7544794d026dce0d07468f90e06a2e29",slot:"label"},this.renderSelectedColumnCount()))),s("div",{key:"12795ce87acedd1c2f5a1c27618248b5737f7f8a",class:"gux-list",onChange:()=>this.onListChange()},s("slot",{key:"10fba008ea1af1c7d86f37e8845bfeec17a2fcd3",onSlotchange:()=>this.onSlotChange()})),s("gux-announce-beta",{key:"cdb1ed0ed77f19cbd3fda169f40c0009634c9ebb",ref:e=>this.announceElement=e}))}get root(){return a(this)}static get watchers(){return{keyboardOrderChange:["watchKeyboardOrderChange"]}}};f.style=".gux-container{inline-size:320px;min-inline-size:320px;padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding)}.gux-container .gux-search gux-content-search{inline-size:100%}.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-decoration,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-cancel-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-decoration{display:none;-webkit-appearance:none}.gux-container .gux-select{padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding);margin-inline-start:24px}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}";export{f as gux_column_manager}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as o,a as r}from"./p-
|
1
|
+
import{r as e,h as o,a as r}from"./p-SFVKQR8_.js";import{O as i}from"./p-CCiTbuB6.js";import{h as t}from"./p-qzV3vtOw.js";import{b as l}from"./p-D7Sv07Vr.js";import{a,G as s}from"./p-D7MMwxM2.js";import{G as f,a as n,b as d}from"./p-Cv5xZJRG.js";import{g as u}from"./p-MAoEg4ig.js";import{t as h}from"./p-C8QjRvyk.js";import"./p-Cd4R0amv.js";var g={required:"Required"};const p=class{constructor(o){e(this,o),this.required=!1,this.indicatorMark="required",this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-radio");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledRadio()}onMutation(){this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=t(this.root,"group-error"),this.hasGroupHelp=t(this.root,"group-help")}handleKeyup(e){var o,r;"Tab"===e.key?this.root.matches(":focus-within")&&(null===(o=this.groupLabelInfo)||void 0===o||o.showTooltip(),this.hideTooltipTimeout=setTimeout((()=>{var e;null===(e=this.groupLabelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.root.matches(":focus-within")&&(null===(r=this.groupLabelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideTooltipTimeout))}onFocusout(){var e;null===(e=this.groupLabelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideTooltipTimeout)}async componentWillLoad(){this.getI18nValue=await l(this.root,g),this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=t(this.root,"group-error"),this.hasGroupHelp=t(this.root,"group-help"),this.hasGroupLabelInfo=t(this.root,"group-label-info"),this.setLabel(),this.setDisabledRadio(),h(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}setDisabledRadio(){const e=this.root.querySelectorAll("gux-form-field-radio");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}renderText(e,o=!1){if(o)return" "+e}render(){var e;return o(d,{key:"91cdd27ad535e139b75572aae868b90f9fdcaaaa",labelPosition:"above",disabled:this.disabled},o(n,{key:"6d962d837d922d7f5b15275ffa0c8c967b37eec2"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"group-error"),this.hasGroupError),this.renderText(u(this.root,"group-help"),this.hasGroupHelp),this.renderText(u(this.root,"group-label-info"),this.hasGroupLabelInfo)),o(f,{key:"5b267666f09366d6ab89abbd9573b9914ce30741",position:"above",required:this.required},o("slot",{key:"8a9d800c170ff51571281fd277a92a85703bb340",name:"group-label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"df84cf925ecff32d5bc69020fc877d9f0ed13cc7",variant:this.indicatorMark,required:this.required}),o("slot",{key:"2c2347d3af70473e33ee18a2f16505969364280a",name:"group-label-info"})),o("slot",{key:"3dc1785c0d4d70fdae9fa9ce8460e3d2d3df5dbd"}),o(s,{key:"b3c745dfcd865d0e09af6491add6dee2d75771a0",show:this.hasGroupError},o("slot",{key:"f8a623e60295876e8953de61186f7f7d05c5201a",name:"group-error"})),o(a,{key:"fee571caab68e141352edfc4fc7ae6a10fe12db4",show:!this.hasGroupError&&this.hasGroupHelp},o("slot",{key:"89b9a2081f8f92f757d1b6ca4c869f9502f432ca",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return r(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,i){var t,l=arguments.length,a=l<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,i);else for(var s=e.length-1;s>=0;s--)(t=e[s])&&(a=(l<3?t(a):l>3?t(o,r,a):t(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.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 1 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-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}.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 1 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-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}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-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-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(gux-form-field-radio){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-radio:first-of-type){padding-block-start:0}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::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)}";export{p as gux_form_field_radio_group_beta}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as a,c as t,h as e,a as i}from"./p-
|
1
|
+
import{r as a,c as t,h as e,a as i}from"./p-SFVKQR8_.js";import{t as n}from"./p-C8QjRvyk.js";const s=class{constructor(e){a(this,e),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full"}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages();a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if("expanded"===a)return null;const t=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===a&&t.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},t)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"37591a531bb1a96437371d02454c868bedaa325d",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"54c36c03f01dc685fef79d7e32e3f880b63f03a8",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"ce21ae938020b86eb2052f3cb57a7f27a3a903b6",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as r}from"./p-
|
1
|
+
import{r as t,h as r}from"./p-SFVKQR8_.js";const e=class{constructor(r){t(this,r)}render(){return r("slot",{key:"856101faf04e13b5c812769e6332eeb073bc92bf"})}};e.style="::slotted(*){margin:0 !important;font-family:var(--gse-semantic-body-sm-regular-fontFamily) !important;font-size:var(--gse-semantic-body-sm-regular-fontSize) !important;font-weight:var(--gse-semantic-body-sm-regular-fontWeight) !important;line-height:var(--gse-semantic-body-sm-regular-lineHeight) !important;color:var(--gse-semantic-foreground-container-midEmphasis) !important}";export{e as gux_form_description}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as t,H as o,a as i}from"./p-SFVKQR8_.js";import{r as s}from"./p-D9jKBqIb.js";import{t as a}from"./p-C8QjRvyk.js";import{b as r}from"./p-D7Sv07Vr.js";import{O as n}from"./p-C7-BhPWq.js";import{b as c}from"./p-Bg4q97BS.js";import{w as u}from"./p-kLXvN2m9.js";import"./p-Cd4R0amv.js";var d={contextMenuScreenreaderText:"Context menu"};const b=class{constructor(t){e(this,t),this.buttonId=s(),this.compact=!1,this.disabled=!1,this.screenreaderText="",this.placement="bottom-start",this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeyDown(e){const t=e.composedPath().includes(this.listElement),o=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":o&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem());break;case"ArrowUp":o&&!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(){c((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){c((()=>{this.listElement.guxFocusLastItem()}))}onButtonClick(){this.isOpen=!this.isOpen,this.isOpen&&this.focusFirstListItem()}onListClick(e){u("gux-list-item",e,(()=>{this.isOpen=!1,this.button.focus()}))}async componentWillLoad(){a(this.root),this.i18n=await r(this.root,d)}render(){return t(o,{key:"f53ad00a61d8b69fec7d473414f9c9ee990d8b70"},t("gux-popup",{key:"de1134b6a02aac5bec5f3b22627e8f63883a2c8a",placement:this.placement,expanded:this.isOpen,offset:4,"exceed-target-width":!0},t("div",{key:"71a2bbca8e5aa94a6224185ca1b47245bbd5fdd4",slot:"target",class:"gux-button-container"},t("gux-button-slot",{key:"2bc54ea5297c49f9588ff785983f3edc430d1c61",accent:"ghost"},t("button",{key:"e21ce309516607acacdef676f17a42e697f6cc89",type:"button",onClick:()=>this.onButtonClick(),id:this.buttonId,class:{"gux-compact":this.compact},ref:e=>this.button=e,"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),disabled:this.disabled},t("gux-screen-reader-beta",{key:"99eb639663b91e3553abea8ae4ac2880664ccf3d"},this.screenreaderText||this.i18n("contextMenuScreenreaderText")),t("gux-icon",{key:"8e8675aa5d80674495565cc1c025d6bf5c26db36","icon-name":"fa/ellipsis-vertical-regular",size:"small",decorative:!0})))),t("div",{key:"24e4969f1deed9b56fe5c4370b953df5bb945e02",slot:"popup",class:"gux-list-container"},t("gux-list",{key:"7069c3e497b2f6665e660b99a7ab8767c43e25d4",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"7d987a1276a0f80459875f2e7508e4fc05513aa8"})))))}static get delegatesFocus(){return!0}get root(){return i(this)}};(function(e,t,o,i){var s,a=arguments.length,r=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var n=e.length-1;n>=0;n--)(s=e[n])&&(r=(a<3?s(r):a>3?s(t,o,r):s(t,o))||r);a>3&&r&&Object.defineProperty(t,o,r)})([n({triggerEvents:"click"})],b.prototype,"onClickOutside",null),b.style=":host{display:block;max-inline-size:fit-content;white-space:normal}gux-icon{color:var(--gse-ui-button-ghost-default-foregroundColor)}button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}button.gux-compact{min-inline-size:var(--gse-ui-contextMenu-button-compact);block-size:var(--gse-ui-button-compact-height);padding:var(--gse-ui-button-compact-paddingIconOnly)}button:hover:enabled{background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button:hover:enabled gux-icon{color:var(--gse-ui-button-ghost-hover-foregroundColor)}button:active:enabled{background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button:active:enabled gux-icon{color:var(--gse-ui-button-ghost-active-foregroundColor)}button[disabled]{opacity:var(--gse-ui-button-disabled-opacity)}.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)}";export{b as gux_context_menu}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,c as e,h as a,a as i}from"./p-SFVKQR8_.js";import{b as n}from"./p-D7Sv07Vr.js";import{t as s}from"./p-BFMPPR7N.js";import{b as r}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";class o{static displayAllPageButtons(t,e,a){switch(a){case"advanced":return function(t,e){if(e<=7)return[...Array(e).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}}));if(t<=3)return[...[...Array(5).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}];if(t>e-3){const a=[...Array(5).keys()].map((a=>{const i=a+e-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:e-6,display:"...",current:!1},...a]}const a=[...Array(3).keys()].map((e=>{const a=e+t-1;return{pageNumber:a,display:String(a),current:a===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...a,{pageNumber:t+3,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}]}(t,e);case"simple":return function(t,e){return e<=3?[...Array(e).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}})):e===t?[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:!0}]:e>=4?[...[...Array(1).keys()].map((a=>{const i=a+t;return{pageNumber:i,display:String(i),current:i!==e}})),{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:e==t}]:void 0}(t,e)}}}const u=class{constructor(a){t(this,a),this.internalcurrentpagechange=e(this,"internalcurrentpagechange",3),this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),r((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,e,i){return o.displayAllPageButtons(t,e,i).reduce(((t,e)=>t.concat(e.current?a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:e.pageNumber})},e.display)):"..."==e.display?a("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages}):a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(e.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:e.pageNumber})},e.display)))),[])}getPageNavigation(){return a("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return a("div",{key:"743612bb1ccb6173d6549d548fe0c616a5dd7542",class:`gux-pagination-buttons-container gux-${this.layout}`},a("div",{key:"d569698d018e4e06f708d065a24a380b0a16b1dd",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"5635a63d57b8f3fae4832f14da5b74fd188de79a",accent:"ghost","icon-only":!0},a("button",{key:"00e6644109e6d69e210a775dbc5726ceb4090f20",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},a("gux-icon",{key:"37f3b6d065d586de8a46d4d2e464bbed82495f6b",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),a("gux-button-slot",{key:"b7fdaf3aeb9a4e80c68b7f14e4528ea8c1bd78af",accent:"ghost","icon-only":!0},a("button",{key:"110a2198d9a4f53f253dcc296cb7a1deef0f44d1",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},a("gux-icon",{key:"77f4777e3157e27b12dd9685daeef793938be5e3",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),a("div",{key:"063b517677438aa6a0469988bb96d15cf1cacd13",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"076cc2b696f476f06f87bbbfe2ca5e82bf4c6e72",accent:"ghost","icon-only":!0},a("button",{key:"8aeb4ef63a90b99048c1c423af7d03cb7e3b0173",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},a("gux-icon",{key:"1a4db2b2db4433c8bb4d51fd56a46d5507ed0183",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("gux-button-slot",{key:"11e8bf84471234ce8df84adeb807032b50fefe1f",accent:"ghost","icon-only":!0},a("button",{key:"78584640facf333293bce0936143fdd7d42e0bfc",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},a("gux-icon",{key:"5e94c4d78366c7d858b9a94254687e887c024fb6",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};u.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";var g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"};const l=class{constructor(e){t(this,e),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,g)}getPaginationItemCountsRange(){if(this.totalItems)return a("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return a("div",{key:"31f7651f2f7f7abeab2ea19d91b89d25934f1f76",class:"gux-pagination-item-counts-container"},a("span",{key:"f52404a83f69d7fbefb56e825e48349cf9e791d7",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),a("span",{key:"a8b2e81dff27b386b31a75a7b9e62636ab324de6",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return i(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";export{u as gux_pagination_buttons,l as gux_pagination_item_counts}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as
|
1
|
+
import{r as t,c as i,h as e,a as s}from"./p-SFVKQR8_.js";import{r as o}from"./p-D9jKBqIb.js";import{t as r}from"./p-C8QjRvyk.js";import{b as a}from"./p-D7Sv07Vr.js";import"./p-Cd4R0amv.js";var n={defaultLabel:"Disclosure button"};const d=class{constructor(e){t(this,e),this.active=i(this,"active",7),this.panelId=o("gux-disclosure-button-panel"),this.position="left",this.isOpen=!1,this.icon="fa/caret-right-solid"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){this.icon="right"===this.position?this.isOpen?"fa/caret-right-solid":"fa/caret-left-solid":this.isOpen?"fa/caret-left-solid":"fa/caret-right-solid"}async componentWillLoad(){r(this.root,{variant:this.position}),this.i18n=await a(this.root,n),this.updateIcon()}render(){return e("div",{key:"4111dd3b43059be6a0ffed715aa2fee476bdd875",class:`gux-disclosure-button-container gux-${this.position}`},e("button",{key:"f2770836b77a6a1ba7db0e82c7dd4674870e4108",class:"gux-disclosure-button",onClick:()=>this.changeState(),"aria-controls":this.panelId,"aria-expanded":this.isOpen.toString(),"aria-label":this.label||this.i18n("defaultLabel"),"data-testid":"disclosure-button"},e("gux-icon",{key:"d87de125ed9716410b2de09d715e55481de92d73","icon-name":`${this.icon}`,decorative:!0})),e("div",{key:"0d1182b2d272a6a343b444b31c2f73ca194dccb7",id:this.panelId,class:{"gux-disclosure-panel":!0,"gux-active":this.isOpen},role:"region"},e("slot",{key:"b940282ff6f990fc9617492ca1c75ddd19ac1906",name:"panel-content"})))}get root(){return s(this)}static get watchers(){return{isOpen:["watchIsOpen"]}}};d.style=":host{height:100%;color:var(--gse-ui-tabs-item-icon-iconColor)}.gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}.gux-disclosure-button-container .gux-disclosure-button{width:16px;padding:0;margin:0;color:var(--gse-ui-tabs-item-icon-iconColor);background:transparent;border-top:none;border-right:1px solid var(--gse-ui-tabs-item-divider-dividerColor);border-bottom:none;border-left:1px solid var(--gse-ui-tabs-item-divider-dividerColor)}.gux-disclosure-button-container .gux-disclosure-button gux-icon{width:12px;height:12px}.gux-disclosure-button-container .gux-disclosure-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-disclosure-button-container .gux-disclosure-panel{display:none;order:-1;width:100%}.gux-disclosure-button-container .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-container.gux-right{justify-content:flex-end}.gux-disclosure-button-container.gux-right .gux-disclosure-panel{order:1}";export{d as gux_disclosure_button_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,f as t,h as a,a as s}from"./p-
|
1
|
+
import{r as e,f as t,h as a,a as s}from"./p-SFVKQR8_.js";import{q as n}from"./p-B10WAyAx.js";import{g as i,a as r,b as o}from"./p-D7Sv07Vr.js";import{a as d}from"./p-Bg4q97BS.js";import{a as u}from"./p-DxtJDeL9.js";import{s as h}from"./p-BMRf5pjV.js";import"./p-BFTU3MAI.js";import"./p-Cd4R0amv.js";function l(e,t){return e.toLocaleString(t,{year:"numeric",month:"long"})}class c{constructor(e){this.writeTarget=e.writeTo,this.mappings=e.mappings,this.observer=new MutationObserver((e=>{e.forEach((e=>{this.syncAttribute(e.attributeName)}))})),this.setSourceElement(e.readFrom)}setSourceElement(e){this.observer.disconnect(),this.sourceElement=e,this.syncAll(),this.observer.observe(e,{attributes:!0,attributeFilter:Object.keys(this.mappings)})}disconnect(){this.observer.disconnect()}syncAll(){Object.keys(this.mappings).forEach((e=>{this.writeTarget[e]=this.mappings[e](this.sourceElement[e])}))}syncAttribute(e){this.writeTarget[e]=this.mappings[e](this.sourceElement[e])}}var g={previousMonth:"Previous month: {localizedPreviousMonthAndYear}",nextMonth:"Next month: {localizedNextMonthAndYear}"};const x=class{constructor(t){e(this,t),this.focusDate=n.Now.plainDateISO(),this.disabled=!1,this.locale="en",this.MONTH_DATE_COUNT=42}async guxForceUpdate(){t(this.root)}get slottedInput(){return this.root.querySelector('input[type="date"]')}async componentWillLoad(){this.slottedInput||u(this.root,'You must slot a date input element like so: input[type="date"].'),this.locale=i(this.root),this.startDayOfWeek=this.startDayOfWeek||r(this.locale),this.i18n=await o(this.root,g);const e=this.getSelectedDate();e&&(this.focusDate=e),this.attributeSynchronizer=new c({readFrom:this.slottedInput,writeTo:this,mappings:{min:e=>e?n.PlainDate.from(e):void 0,max:e=>e?n.PlainDate.from(e):void 0,disabled:e=>e}})}onSlotChange(){this.attributeSynchronizer.setSourceElement(this.slottedInput)}async disconnectedCallback(){this.attributeSynchronizer.disconnect()}detectDayClick(e){if("GUX-DAY-BETA"!==e.target.tagName)return;const t=n.PlainDate.from(e.target.day);this.selectDate(t),e.stopPropagation()}getGuxDayForDate(e){return this.root.shadowRoot.querySelector(`.day-${e}`)}selectDate(e){if(this.isInvalidDate(e))return;const t=e.toString();this.slottedInput.value=t,this.focusDate=e,this.focusOnFocusDate(),h(this.root,"input"),h(this.root,"change")}shiftFocusDate(e){const t=n.Duration.from(e);let a=this.focusDate.add(t);this.min&&-1==n.PlainDate.compare(a,this.min)?a=this.min:this.max&&1==n.PlainDate.compare(a,this.max)&&(a=this.max),this.focusDate=a}focusOnFocusDate(){d((()=>{const e=this.focusDate.toString(),t=this.getGuxDayForDate(e);t&&t.focus()}))}onKeyDown(e){switch(e.key){case" ":break;case"ArrowDown":e.preventDefault(),this.shiftFocusDate({weeks:1}),this.focusOnFocusDate();break;case"ArrowUp":e.preventDefault(),this.shiftFocusDate({weeks:-1}),this.focusOnFocusDate();break;case"ArrowLeft":e.preventDefault(),this.shiftFocusDate({days:-1}),this.focusOnFocusDate();break;case"ArrowRight":e.preventDefault(),this.shiftFocusDate({days:1}),this.focusOnFocusDate();break;case"PageUp":e.preventDefault(),this.shiftFocusDate({months:1}),this.focusOnFocusDate();break;case"PageDown":e.preventDefault(),this.shiftFocusDate({months:-1}),this.focusOnFocusDate()}}isInvalidDate(e){return this.min&&-1==n.PlainDate.compare(e,this.min)||this.max&&1==n.PlainDate.compare(e,this.max)}getMonthDays(){const e=n.Now.plainDateISO(),t=(a=this.getFocusDate(),n.PlainDate.from({day:1,month:a.month,year:a.year}));var a;const s=[];let i={dates:[]},r=0;const o=t.month,d=this.getSelectedDate();let u=function(e,t){let a=t-e.dayOfWeek;return a>0&&(a-=7),e.add({days:a})}(t,this.startDayOfWeek);for(let t=0;t<this.MONTH_DATE_COUNT+1;t+=1)r>0&&r%7==0&&(s.push(i),i={dates:[]}),i.dates.push({date:n.PlainDate.from(u),disabled:this.isInvalidDate(u),inCurrentMonth:o===u.month,selected:null==d?void 0:d.equals(u),focused:this.getFocusDate().equals(u),isCurrentDate:u.equals(e)}),r+=1,u=u.add({days:1});return s}getFocusDate(){return this.focusDate}getSelectedDate(){return this.slottedInput.value?n.PlainDate.from(this.slottedInput.value):null}renderHeader(){return a("div",{class:"gux-header"},a("button",{type:"button",class:"gux-left","aria-label":this.i18n("previousMonth",{localizedPreviousMonthAndYear:l(this.getFocusDate().add({months:-1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:-1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),a("span",{class:"gux-header-month-and-year"},l(this.getFocusDate(),this.locale)),a("button",{type:"button",class:"gux-right","aria-label":this.i18n("nextMonth",{localizedNextMonthAndYear:l(this.getFocusDate().add({months:1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"})))}renderContent(){return a("div",{onKeyDown:e=>{this.onKeyDown(e)},onClick:e=>{this.detectDayClick(e)}},a("div",{class:"gux-content"},a("div",{class:"gux-week-days"},function(e,t){const a=[],s=new Date(1970,0,4);for(let t=0;t<7;t++){const t=s.toLocaleString(e,{weekday:"narrow"});a.push(t),s.setDate(s.getDate()+1)}return(n=a).concat(n.splice(0,t%n.length));var n}(this.locale,this.startDayOfWeek).map((e=>a("div",{class:"gux-week-day"},e)))),a("div",null,this.getMonthDays().map((e=>a("div",{class:"gux-content-week"},e.dates.map((e=>{const t=e.date.toString();return a("gux-day-beta",{day:t,"aria-current":e.selected?"true":"false",disabled:!!e.disabled,tabindex:e.selected||e.focused?"0":"-1",class:`\n ${!e.inCurrentMonth||e.disabled?"gux-muted":""}\n day-${t} \n `})}))))))))}render(){return a("div",{key:"1da41ece22aace32e14be09942b85ed17a92ee60",class:"gux-calendar-beta "+(this.disabled?"gux-disabled":"")},a("slot",{key:"6ab2911fc37e3157a24a4e1c746e8b5de0d2c769",onSlotchange:()=>{this.onSlotChange()}}),this.renderHeader(),this.renderContent())}get root(){return s(this)}};x.style=".gux-calendar-beta.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar-beta{box-sizing:border-box;display:inline-flex;flex-direction:column;font-family:var(--gse-ui-calendarMenu-month-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-defaultText-fontSize);background:var(--gse-ui-calendarMenu-backgroundColor);border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar-beta .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar-beta .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar-beta .gux-header .gux-left,.gux-calendar-beta .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar-beta .gux-header .gux-left:focus-visible,.gux-calendar-beta .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar-beta .gux-content{display:flex;flex-direction:column;gap:var(--gse-ui-calendarMenu-dateBody-gap);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar-beta .gux-week-days{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);text-align:center}.gux-calendar-beta .gux-week-days .gux-week-day{display:inline-block;inline-size:var(--gse-ui-calendarMenu-day-range-height);block-size:var(--gse-ui-calendarMenu-day-range-width)}";export{x as gux_calendar_beta}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,h as i,a as s}from"./p-
|
1
|
+
import{r as t,c as e,h as i,a as s}from"./p-SFVKQR8_.js";import{O as o}from"./p-C7-BhPWq.js";import{w as a}from"./p-kLXvN2m9.js";import{a as n}from"./p-Bg4q97BS.js";import{t as r}from"./p-C8QjRvyk.js";import{b as c}from"./p-D7Sv07Vr.js";import"./p-Cd4R0amv.js";var u={moreOptions:"More options"};const d=["primary","secondary","tertiary","danger"];function b(t){return d.find((e=>e===t))?t:"secondary"}const l=class{constructor(i){t(this,i),this.open=e(this,"open",7),this.close=e(this,"close",7),this.actionClick=e(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){n((()=>{var t;null===(t=this.listElement)||void 0===t||t.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){n((()=>{this.listElement.guxFocusLastItem()}))}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}onListClick(t){a("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}async componentWillLoad(){r(this.root,{variant:this.type}),this.i18n=await c(this.root,u)}render(){return i("div",{key:"5df60e7be8cbe5c1a71617e76b6d8e3aaa5154cc",class:"gux-action-button-container"},i("gux-popup",{key:"92188e4fb560de386ae430d7cd67975832f17e1f",expanded:this.isOpen,disabled:this.disabled,placement:"bottom-end","exceed-target-width":!0},i("div",{key:"d47c50a95814ac12d5e68334b17eee6ad007cf9c",slot:"target",class:"gux-action-button-container"},i("gux-button-slot",{key:"ef244b3415f9c87dd24ba4fef3f43a9f96be6e83",class:"gux-action-button",accent:b(this.accent)},i("button",{key:"9cd1542a97200997f60b2a28565e8741e81ac58b",type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick(),"data-testid":"action-button"},i("slot",{key:"036af66fabf480b82b3655fb20e7eea0c67e2a8e",name:"title"}))),i("gux-button-slot",{key:"81055f21f5d6d26c7945668c9ef0b61eb73492de",class:"gux-dropdown-button",accent:b(this.accent)},i("button",{key:"86c46e0289686bfe9d8587f5718c62e4196205e0",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("moreOptions"),"data-testid":"dropdown-button"},i("gux-icon",{key:"a7fef18f7fa68b5d13f19b2d3b14e0582ba59417",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),i("div",{key:"8fc84887b2f897bf90b76c8146d74099a20dfaa8",class:"gux-list-container",slot:"popup"},i("gux-list",{key:"1f092194e7744e9e5b66b8781e96509df4db2dce",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},i("slot",{key:"fcdcf808d519c4eaec9a2fb189c62b30ba347b28"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,i,s){var o,a=arguments.length,n=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);a>3&&n&&Object.defineProperty(e,i,n)})([o({triggerEvents:"click"})],l.prototype,"onClickOutside",null),l.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-action-button-container{min-inline-size:128px}.gux-action-button-container>*{vertical-align:middle}.gux-action-button-container .gux-action-button{inline-size:calc(100% - 33px);margin-inline-end:1px}.gux-action-button-container .gux-action-button button{inline-size:100%;max-inline-size:none;text-align:center;border-start-end-radius:0;border-end-end-radius:0}.gux-action-button-container .gux-action-button button:focus-visible:enabled{position:relative}.gux-action-button-container .gux-dropdown-button button{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);padding:0;border-start-start-radius:0;border-end-start-radius:0}.gux-action-button-container .gux-list-container{max-inline-size:220px;max-block-size:var(--gse-ui-menu-maxHeight);margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{l as gux_action_button}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as r,H as i}from"./p-
|
1
|
+
import{r as e,h as r,H as i}from"./p-SFVKQR8_.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"42f036425944032a5d60556e8678641811e84f2f",role:"presentation"})}};o.style=":host{position:relative;display:flex;inline-size:100%;block-size:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as i,a as t}from"./p-SFVKQR8_.js";import{b as o}from"./p-D7Sv07Vr.js";import{O as r}from"./p-CCiTbuB6.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{t as s}from"./p-C8QjRvyk.js";import{G as n,a as f}from"./p-D7MMwxM2.js";import{G as h,a as d,b as u}from"./p-Cv5xZJRG.js";import{h as p}from"./p-qzV3vtOw.js";import{g}from"./p-MAoEg4ig.js";import{v as m,a as c}from"./p-DHLxhscH.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.required=!1,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-phone-input-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info")}handleKeyup(e){var i,t;"Tab"===e.key?this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info"),s(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){var e;return i(u,{key:"aadbf8148763bf3ce3df41b830aa26775eb8eac1",labelPosition:this.computedLabelPosition},i(d,{key:"f809343a40702c5240a1adc9ae9ab1f3e6641834"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(g(this.root,"error"),this.hasError),this.renderText(g(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"ae4b540388b0d1746d7483e0df86927d73b92a17",position:this.computedLabelPosition,required:this.required},i("slot",{key:"83c20b8ae2c5dc944b70e431f4c82ca6d4cd40b8",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"793a05a460b0a1a09c324186084b38748338a76e",variant:this.indicatorMark,required:this.required}),i("slot",{key:"34584587e4d99c5cb7eba24b915776fd92505f2d",name:"label-info"})),i("div",{key:"6915ee8d23612880bda5fb08cc02bbcfa9a33bb6",class:"gux-input-and-error-container"},i("div",{key:"8fb01b0909d6011a78764f005ad2c5894da2995e",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"5dcd426c6449cdd22998e4968d5132e2909b498f",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"f6ef9943a678e76598864d38de05adefa37042b8"}))),i(n,{key:"d1918bd858f0114915ab6efbd30591e3f133841b",show:this.hasError},i("slot",{key:"7956d2ba03568291386000c9aa80c43ea897ba3d",name:"error"})),i(f,{key:"2da7d907e4ad76538877839926c6692b23c9f555",show:!this.hasError&&this.hasHelp},i("slot",{key:"048826b20010b3523d745d9ea71a91654e4864d9",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.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 1 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-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}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-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-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::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{x as gux_form_field_phone}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as n,a}from"./p-
|
1
|
+
import{r as e,h as n,a}from"./p-SFVKQR8_.js";import{t as i}from"./p-C8QjRvyk.js";const g=class{constructor(n){e(this,n)}componentWillLoad(){i(this.root)}render(){return n("div",{key:"1a9bcd59836f4528ad230582ee14e42317cd2b54",class:"gux-container",role:"alert","aria-live":"assertive"},n("div",{key:"666f264b028594be072adb8a122cdf78aa704892",class:"gux-progress"},n("slot",{key:"e86bc5e8e5d106467456512507d3f1b3e50598ef",name:"progress"})),n("div",{key:"c7c8c14b9f1512a1d2a45307be3a95d9c81d1c4d",class:"gux-primary-message"},n("slot",{key:"debb40f2dc91cda87d83b410ea0d3f5a10102ebe",name:"primary-message"})),n("div",{key:"600332b5fc766f8bdc92d21c24e4ebf152c4804c",class:"gux-additional-guidance"},n("slot",{key:"76fc95d39fa4527579ce1c77a4d4605ec4164c1a",name:"additional-guidance"})))}get root(){return a(this)}};g.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-inline-size: var(--gse-ui-progressAndLoading-loadingState-large-width);\n color: var(--gse-ui-progressAndLoading-textColor);\n text-align: center;\n}\n\n@container (width > 400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight);\n }\n}\n@container (width > 200px) and (width <=400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight);\n }\n}\n@container (width <=200px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight);\n }\n}";export{g as gux_loading_message}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,f as e,d as i,h as a,H as o,a as n}from"./p-
|
1
|
+
import{r as t,f as e,d as i,h as a,H as o,a as n}from"./p-SFVKQR8_.js";import{O as s}from"./p-DZ8OX8Ca.js";import{O as r}from"./p-CCiTbuB6.js";import{t as l}from"./p-C8QjRvyk.js";import{g as c}from"./p-BBpQG81s.js";import{a as d}from"./p-Bg4q97BS.js";import{l as u}from"./p-DxtJDeL9.js";function h(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function b(t,...e){e.flat().filter((t=>null!=t&&!(null==t?void 0:t.hasAttribute("icon-only")))).forEach((e=>e.iconOnly=t))}var p=function(t,e,i,a){var o,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(n<3?o(s):n>3?o(e,i,s):o(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const m=class{constructor(e){t(this,e),this.displayedLayout="full",this.hasContextDivider=!1,this.minimumSizes={full:0,iconOnly:0,condensed:0}}onMutation(){this.hasContextDivider=this.needsContextDivider(),e(this.root)}recordLayoutMinSize(){i((()=>{var t,e,i;const a=0|(null===(t=this.searchAndFilterContainer)||void 0===t?void 0:t.clientWidth),o=0|(null===(e=this.actionsContainer)||void 0===e?void 0:e.clientWidth),n=0|(null===(i=this.minControlSize)||void 0===i?void 0:i.clientWidth);this.minimumSizes[this.displayedLayout]=a+o+n}))}get minControlSize(){return this.root.shadowRoot.querySelector(".section-spacing")}get actionsContainer(){return this.root.shadowRoot.querySelector(".gux-contextual-permanent-primary")}get searchAndFilterContainer(){return this.root.shadowRoot.querySelector(".search-filter-container")}get filterSlot(){return c(this.root,"search-and-filter")}get menuActionSlot(){return c(this.root,"menu-actions")}get permanentSlot(){return c(this.root,"permanent-actions")||this.menuActionSlot&&c(this.menuActionSlot,"permanent-actions")}get contextualSlot(){return c(this.root,"contextual-actions")}get primaryAction(){var t;return null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-table-toolbar-custom-action[slot]")}get permanentActions(){var t,e;return(null===(t=this.permanentSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.permanentSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get menuActionsItems(){var t,e;if(null===(t=this.menuActionSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.menuActionSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get contextualActions(){var t,e;return(null===(t=this.contextualSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.contextualSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get filterActions(){var t,e;return(null===(t=this.filterSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.filterSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get allFilterContextual(){var t;return null===(t=this.filterActions)||void 0===t?void 0:t.concat(this.contextualActions)}needsContextDivider(){var t;return(null===(t=this.contextualActions)||void 0===t?void 0:t.length)&&this.contextualSlot!==this.root.lastElementChild}renderMenu(){var t;return Boolean((null===(t=this.menuActionsItems)||void 0===t?void 0:t.length)||"condensed"==this.displayedLayout)}renderFullLayout(){this.displayedLayout="full",b(!1,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleDown(){this.displayedLayout="iconOnly",b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleUp(){var t,e;this.displayedLayout="iconOnly",h(this.permanentActions,"secondary"),h(this.primaryAction,"primary"),b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions),this.permanentActions&&(null===(t=this.root)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.root)||void 0===e||e.appendChild(this.primaryAction))}renderCondensedLayout(){var t,e;this.displayedLayout="condensed",this.permanentActions&&(null===(t=this.menuActionSlot)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.menuActionSlot)||void 0===e||e.appendChild(this.primaryAction)),b(!0,...this.allFilterContextual),b(!1,...this.permanentActions),b(!1,this.primaryAction),h(this.menuActionsItems,"ghost")}validateSlot(t){this.root.querySelector(`[slot=${t}]`)||u(this.root,`gux-table-toolbar requires a ${t} slot`)}componentWillRender(){l(this.root),this.hasContextDivider=this.needsContextDivider()}componentWillLoad(){this.validateSlot("menu-actions")}componentDidLoad(){d((()=>{this.recordLayoutMinSize(),this.checkResponsiveLayout()})),h(this.menuActionsItems,"ghost")}componentDidUpdate(){this.recordLayoutMinSize(),this.checkResponsiveLayout()}checkResponsiveLayout(){i((()=>{const t=this.root.clientWidth;t<=this.minimumSizes.iconOnly?"iconOnly"==this.displayedLayout&&this.renderCondensedLayout():t<=this.minimumSizes.full?"full"==this.displayedLayout?this.renderIconOnlyLayoutScaleDown():"condensed"==this.displayedLayout&&this.renderIconOnlyLayoutScaleUp():this.minimumSizes.iconOnly>this.minimumSizes.full?this.renderIconOnlyLayoutScaleUp():this.renderFullLayout()}))}render(){return a(o,{key:"5f09f5362852940cc791dd98dc6824f503f72f2b",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"9c4681593f9cf8b279b0e7f3cf38ee7731d6b47b",class:"search-filter-container"},a("slot",{key:"a53a5592dc1bb2476ec0f9db8b370207cf0349da",name:"search-and-filter"})),a("div",{key:"f9aa25ae702a7ce78f5d1a95cba4105e4b9276bf",class:"section-spacing"}),a("div",{key:"3c77d513adf7804df2e413fc7bb7ba612d03af48",class:"gux-contextual-permanent-primary"},a("div",{key:"c8d45c43a9198cd73cedc2463fe24047c29ffdac",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"ba652670de5beb4568e8c1bdec1aabc86fd326b1",name:"contextual-actions"})),a("div",{key:"d7f58a382aa4e22fe60495766a81c56e25682b3f",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"d93544e9a0ba78c07d6d1784685692e39c3e5676",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"77346c026e36d647330a9235e5a98abaa20678ed","show-menu":this.renderMenu()},a("slot",{key:"21bea7261fda518cfc5bf564823a65f015ff4c88",name:"menu-actions"})),a("slot",{key:"939ad701719a32ce74badf8de8f6d31984f530c5",name:"primary-action"}))))}get root(){return n(this)}};p([r({childList:!0,subtree:!0})],m.prototype,"onMutation",null),p([s()],m.prototype,"checkResponsiveLayout",null),m.style=":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;inline-size:100%;max-block-size:var(--gse-ui-dataTableItems-tableToolbar-height);visibility:hidden;transition:visibility 0s 0.5s;}@keyframes show-toolbar{to{visibility:visible}}:host .search-filter-container{min-inline-size:260px;padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host slot[name=search-and-filter]::slotted(*){display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-start;align-items:center}:host .section-spacing{display:flex;flex-direction:row;min-inline-size:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host .gux-contextual-permanent-primary slot[name=permanent-actions]::slotted(*),:host .gux-contextual-permanent-primary slot[name=contextual-actions]::slotted(*){display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-end;align-items:center}:host .gux-contextual-permanent-primary .gux-contextual-wrapper{padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap);border-inline-end:var(--gse-ui-dataTableItems-tableToolbar-divider-width) solid var(--gse-ui-dataTableItems-tableToolbar-dividerColor)}:host .gux-contextual-permanent-primary .gux-permanent-menu-primary-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);margin-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}";export{m as gux_table_toolbar}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as r,a as i}from"./p-
|
1
|
+
import{r as t,h as r,a as i}from"./p-SFVKQR8_.js";import{t as o}from"./p-C8QjRvyk.js";import{b as e}from"./p-D7Sv07Vr.js";import{t as a}from"./p-DN3YAdAX.js";import{g as s}from"./p-Cd4R0amv.js";const u=class{constructor(r){t(this,r),this.disabled=!1,this.highlight="orange"}onMouseUp(){this.focusParentList()}onMouseOver(){this.focusParentList()}focusParentList(){const t=s("gux-rich-text-editor-list",this.root);t&&null===t.shadowRoot.activeElement&&(this.root.blur(),t.focus({preventScroll:!0}))}async componentWillLoad(){o(this.root,{variant:this.highlight}),this.i18n=await e(this.root,a)}renderTooltip(){if(!this.disabled&&"inherit"!==this.highlight)return r("gux-tooltip-beta",null,r("div",{slot:"content"},this.i18n(`${this.highlight}`)))}render(){return r("div",{key:"dbc471348f59ebf70f1c49bf694179f97b5dac8d",class:{"gux-highlight":!0,[`gux-${this.highlight}`]:!0},role:"listitem"},r("button",{key:"6e5131419c366e27ab4b768fdc769aa5a99999ae",type:"button","aria-label":this.i18n(`${this.highlight}`),tabIndex:-1,disabled:this.disabled}),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return i(this)}};u.style=":host{display:block;border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight{inline-size:var(--gse-ui-rte-colorSwatch-width);block-size:var(--gse-ui-rte-colorSwatch-height);border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight button{all:unset;inline-size:100%;block-size:100%;cursor:pointer}.gux-highlight button:focus-visible{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-highlight.gux-orange{background-color:var(--gse-ui-rte-colorSwatch-orange-default)}.gux-highlight.gux-coral{background-color:var(--gse-ui-rte-colorSwatch-coral-default)}.gux-highlight.gux-pear{background-color:var(--gse-ui-rte-colorSwatch-pear-default)}.gux-highlight.gux-raspberry{background-color:var(--gse-ui-rte-colorSwatch-raspberry-default)}.gux-highlight.gux-mango{background-color:var(--gse-ui-rte-colorSwatch-mango-default)}.gux-highlight.gux-blue{background-color:var(--gse-ui-rte-colorSwatch-azure-default)}.gux-highlight.gux-mineral{background-color:var(--gse-ui-rte-colorSwatch-mineral-default)}.gux-highlight.gux-island{background-color:var(--gse-ui-rte-colorSwatch-island-default)}.gux-highlight.gux-inherit{color:inherit;background-color:inherit}";export{u as gux_rich_highlight_list_item}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as o,H as t,a as r}from"./p-3ovPLhTT.js";import{c as s,o as i}from"./p-Cb3FOYGS.js";import{O as a}from"./p-CxhO4HRl.js";import{p as l}from"./p-PYfNAK8p.js";import{h as C}from"./p-qzV3vtOw.js";import{G as g,a as n}from"./p-Diuba2vz.js";import{t as c}from"./p-DUZNJocv.js";import{g as d,v as h}from"./p-DHLxhscH.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const u=class{constructor(o){e(this,o),this.labelPosition="beside",this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"8581778dc168bd68805734f4f1a1d96935327f4b",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"4c63f70ff1db923a238e21f456bab8f29a72781b",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},o("div",{key:"38e009c001bf831543477875ba840e8862c44f48",class:"gux-input-label"},o("div",{key:"f7f71142b086d18d54cac7bb6e4362b6d9ca2401",class:"gux-input"},o("slot",{key:"2e318e7cc9c99514508dae735501a5c3c541f5d9",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"6c65b22cb643656764009eb9dc70e9aefca1e208",class:`gux-label-${this.labelPosition}`,"aria-disabled":this.disabled?"true":"false"},o("slot",{key:"c5cd085547086688333042b5876f1a9401c012b9",name:"label"}))),o("div",{key:"ad15e5dce7b496eff018ed618c317aad85b1b6c0",class:"error-and-help-text"},o(g,{key:"7906a5bd3d48c8b48beedc24a1116564357cc847",show:this.hasError},o("slot",{key:"d7b98fe8e361f77bdaee472f8de50a252103bf41",name:"error"})),o(n,{key:"810453eeb0afef16b13d7af52232560678980523",show:!this.hasError&&this.hasHelp},o("slot",{key:"71d2c1db3e2b9c964b125bdb93992a485d86960c",name:"help"})))))}get variant(){return this.labelPosition.toLowerCase()}setInput(){this.input=d(this.root,'input[type="checkbox"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),l(this.input),this.disabled=s(this.input),this.disabledObserver=i(this.input,(e=>{this.disabled=e})),h(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var s,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(o,t,a):s(o,t))||a);i>3&&a&&Object.defineProperty(o,t,a)})([a({childList:!0,subtree:!0})],u.prototype,"onMutation",null),u.style=".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 1 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-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}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:inline-flex;flex-direction:row;gap:var(--gse-ui-checkbox-gap)}.gux-input-label .gux-label-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(input[type=checkbox]){display:inline-grid;inline-size:var(--gse-ui-checkbox-icon-width);block-size:var(--gse-ui-checkbox-icon-height);margin:0;vertical-align:middle;text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}::slotted(input[type=checkbox])::before{grid-area:1/1;content:\"\";border-radius:15%}::slotted(input[type=checkbox]:focus-visible){outline:var(--gse-ui-checkbox-focus-border-width) var(--gse-ui-checkbox-focus-border-style) var(--gse-ui-checkbox-focus-border-color);outline-offset:var(--gse-ui-checkbox-focus-offset);border-radius:var(--gse-ui-checkbox-focus-borderRadiusSmall)}::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-unselectedForegroundColor)}::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked:not(:disabled):hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:not(:disabled):indeterminate:hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-checkbox-label-text-fontFamily);font-size:12px;font-weight:var(--gse-ui-checkbox-label-text-fontWeight);line-height:var(--gse-ui-checkbox-label-text-lineHeight);vertical-align:middle;color:var(--gse-ui-checkbox-label-foregroundColor)}";export{u as gux_form_field_checkbox}
|
1
|
+
import{r as e,h as o,H as t,a as r}from"./p-SFVKQR8_.js";import{c as a,o as s}from"./p-Cb3FOYGS.js";import{O as i}from"./p-CCiTbuB6.js";import{p as l}from"./p-PYfNAK8p.js";import{h as C}from"./p-qzV3vtOw.js";import{G as g,a as c}from"./p-D7MMwxM2.js";import{t as n}from"./p-C8QjRvyk.js";import{g as d,v as h}from"./p-DHLxhscH.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const u=class{constructor(o){e(this,o),this.labelPosition="beside",this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help"),n(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"c00f001885ec8656276903332d04cc08eaef7541",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"1558a76367cb8bf4684cda3ede1cafaa32bf9c35",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},o("div",{key:"ca069c47033d3fd85c270141cd8bc72741ef5e68",class:"gux-input-label"},o("div",{key:"f2e8f012a2e2242fa866e95ebacce52a58ce6e0d",class:"gux-input"},o("slot",{key:"c2e52e50ec58c0e62d14482cf862387840dcc445",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"d3a75bce0f7fb239cdf1b3e5e63e084d233386e0",class:`gux-label-${this.labelPosition}`,"aria-disabled":this.disabled?"true":"false"},o("slot",{key:"d5a2de7f427be31f6007880b11a0c26c2a504f6d",name:"label"}))),o("div",{key:"136d9cc9b33021167a7e9dc5dd9df2f5446ead52",class:"error-and-help-text"},o(g,{key:"7565f75e3b73081d8f64bf4014a1ae3bb9ba6f84",show:this.hasError},o("slot",{key:"efbc268aa74fda1005db996fa40cc59efa5922d2",name:"error"})),o(c,{key:"29c36c7cb9eb274c83db496906050afa2192de2e",show:!this.hasError&&this.hasHelp},o("slot",{key:"87f513c4d208b08a8b5356884252cb7afad98e7d",name:"help"})))))}get variant(){return this.labelPosition.toLowerCase()}setInput(){this.input=d(this.root,'input[type="checkbox"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),l(this.input),this.disabled=a(this.input),this.disabledObserver=s(this.input,(e=>{this.disabled=e})),h(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var a,s=arguments.length,i=s<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(s<3?a(i):s>3?a(o,t,i):a(o,t))||i);s>3&&i&&Object.defineProperty(o,t,i)})([i({childList:!0,subtree:!0})],u.prototype,"onMutation",null),u.style=".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 1 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-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}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:inline-flex;flex-direction:row;gap:var(--gse-ui-checkbox-gap)}.gux-input-label .gux-label-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(input[type=checkbox]){display:inline-grid;inline-size:var(--gse-ui-checkbox-icon-width);block-size:var(--gse-ui-checkbox-icon-height);margin:0;vertical-align:middle;text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}::slotted(input[type=checkbox])::before{grid-area:1/1;content:\"\";border-radius:15%}::slotted(input[type=checkbox]:focus-visible){outline:var(--gse-ui-checkbox-focus-border-width) var(--gse-ui-checkbox-focus-border-style) var(--gse-ui-checkbox-focus-border-color);outline-offset:var(--gse-ui-checkbox-focus-offset);border-radius:var(--gse-ui-checkbox-focus-borderRadiusSmall)}::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-unselectedForegroundColor)}::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked:not(:disabled):hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:not(:disabled):indeterminate:hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-checkbox-label-text-fontFamily);font-size:12px;font-weight:var(--gse-ui-checkbox-label-text-fontWeight);line-height:var(--gse-ui-checkbox-label-text-lineHeight);vertical-align:middle;color:var(--gse-ui-checkbox-label-foregroundColor)}";export{u as gux_form_field_checkbox}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as o,h as t,a as e,c as r}from"./p-3ovPLhTT.js";import{t as i}from"./p-DUZNJocv.js";import{r as a}from"./p-D9jKBqIb.js";import{a as n,c as s,o as u,f as l,s as d,b as c}from"./p-CqNXdaSr.js";import{O as g}from"./p-C6N_Xmkv.js";import{g as b}from"./p-BBpQG81s.js";import{f as h}from"./p-Cr5bTKWF.js";const p=class{constructor(t){o(this,t),this.buttonId=a("button"),this.type="button",this.disabled=!1,this.accent="secondary",this.autofocus=!1}connectedCallback(){this.slotChanged()}componentWillLoad(){i(this.root,{variant:this.accent})}render(){return[t("button",{key:"134f5c031ca4eb4e87fb218a06214c8892fa1742",id:this.buttonId,type:this.type,disabled:this.disabled,class:{[`gux-${this.accent}`]:!0,"gux-icon-only":this.iconOnly},"aria-label":this.guxTitle,autofocus:this.autofocus},t("slot",{key:"a575a090724849aaa0b2ed74e71388243d3e5765",onSlotchange:this.slotChanged.bind(this)})),this.renderTooltip()]}renderTooltip(){return this.guxTitle?t("gux-tooltip-beta",{for:this.buttonId,visualOnly:!0},t("div",{slot:"content"},this.guxTitle)):""}stopEventIfDisabled(o){this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>this.stopEventIfDisabled(o))),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>this.stopEventIfDisabled(o)))}))}hasIconOnly(){const o=Array.from(this.root.children);if(1===o.length){if("GUX-ICON"===o[0].tagName)return!0}else if(2===o.length&&"GUX-ICON"===o[0].tagName&&["GUX-TOOLTIP","GUX-TOOLTIP-BETA"].includes(o[1].tagName))return!0;return!1}slotChanged(){this.makeSlotContentDisableable(),this.iconOnly=this.hasIconOnly()}static get delegatesFocus(){return!0}get root(){return e(this)}};p.style=":host{display:inline-block;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){inline-size:var(--gse-ui-button-icon-size);block-size:var(--gse-ui-button-icon-size)}::slotted(*){padding-inline-start:var(--gse-ui-button-gap);vertical-align:middle}::slotted(gux-tooltip),::slotted(gux-tooltip-beta){padding-inline-start:0}::slotted(*:first-child){padding:0}button{font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}button.gux-icon-only{display:inline-flex;padding:var(--gse-ui-button-default-paddingIconOnly)}button[disabled]{pointer-events:none;cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}button:hover:enabled{color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}button:active:enabled{color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}button:focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button.gux-primary{color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}button.gux-primary:hover:enabled{color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}button.gux-primary:active:enabled{color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}button.gux-tertiary{color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width);}button.gux-tertiary.gux-icon-only{padding:calc(var(--gse-ui-button-default-paddingIconOnly) - var(--gse-ui-button-tertiary-default-border-width))}button.gux-tertiary:hover:enabled{color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}button.gux-tertiary:active:enabled{color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}button.gux-ghost{color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}button.gux-ghost:hover:enabled{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button.gux-ghost:active:enabled{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button.gux-danger{color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}button.gux-danger:hover:enabled{color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}button.gux-danger:active:enabled{color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}button.gux-inline{min-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none;border-radius:0}button.gux-inline[disabled]{color:var(--gse-ui-links-disabled-foregroundColor)}button.gux-inline:hover:enabled{color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}button.gux-inline:active:enabled{color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";var v=function(o,t,e,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(o,t,e,r);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(n=(a<3?i(n):a>3?i(t,e,n):i(t,e))||n);return a>3&&n&&Object.defineProperty(t,e,n),n};const f=class{constructor(t){o(this,t),this.guxdismiss=r(this,"guxdismiss",7),this.position="bottom",this.displayDismissButton=!1,this.closeOnClickOutside=!1,this.isOpen=!1}onKeyDown(o){"Escape"===o.key&&this.dismiss()}onFocusout(o){!this.closeOnClickOutside&&this.displayDismissButton||o.relatedTarget&&!this.root.contains(o.relatedTarget)&&this.dismiss()}checkForClickOutside(o){const t=o.composedPath(),e=h(this.root,this.for),r=t.includes(e);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||r||this.dismiss()}get titleSlot(){return b(this.root,"title")}get footerSlot(){return b(this.root,"footer")}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=n(h(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const o=h(this.root,this.for);this.popupElement&&o&&s(o,this.popupElement,{placement:this.position,middleware:[u(7),l(),d(),c({element:this.arrowElement,padding:16})]}).then((({x:o,y:t,middlewareData:e,placement:r})=>{Object.assign(this.popupElement.style,{left:`${o}px`,top:`${t}px`});const i=r.split("-")[0],a={top:"bottom",right:"left",bottom:"top",left:"right"}[i],n={top:0,right:90,bottom:180,left:-90}[i],s="left"===i||"right"===i?15:12;if(e.arrow){let o=e.arrow.x;const t=e.arrow.y;"left"!==i&&"right"!==i||(o+=4),this.popupElement.setAttribute("data-placement",r),Object.assign(this.arrowElement.style,{left:null!=o?`${o}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[a]:-s+"px",transform:`rotate(${n}deg)`})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){i(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t("div",{key:"73d032ca490ec18c40417f0aabfbeee950a8a4cd",ref:o=>this.popupElement=o,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},t("div",{key:"2971f6f54b5ff42fc670be81a90e5b997b70bd83",ref:o=>this.arrowElement=o,class:"gux-arrow"},t("div",{key:"9ef748a7fcae9fd97c0ff74661d4e7f00255d6b1",class:"gux-arrow-caret"})),this.displayDismissButton&&t("gux-dismiss-button",{key:"b7ce3754b7634b08cececad6d23a81451a592240",onClick:this.dismiss.bind(this)}),t("div",{key:"b71372f2bab3df6279ad270b9593e5c4da572aed",class:{"gux-popover-header":Boolean(this.titleSlot)}},t("slot",{key:"0748ab1a54ff47d4c397bcd1c9724c312bdd2e96",name:"title"})),t("div",{key:"e6c8678109f58a1041c586bbe9676d6b839cb934",class:"gux-popover-content"},t("slot",{key:"feb24d3b32c59b6a0b18355e2559aa865f4dc9a2"})),t("div",{key:"ee2796ad7dc69234525adacdfa26898c1b1e83ec",class:{"gux-popover-footer":Boolean(this.footerSlot)}},t("slot",{key:"a704efb5db324f4d1ecb04537dfd16d520d4eed7",name:"footer"})))}get root(){return e(this)}};v([g({triggerEvents:"mousedown"})],f.prototype,"checkForClickOutside",null),v([function(){let o=!1,t=null;return(e,r,i)=>{const a=i.value;i.value=function(...e){o||(a.apply(this,e),o=!0,clearTimeout(t),t=setTimeout((()=>{o=!1}),100))}}}()],f.prototype,"dismiss",null),f.style=".gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding:var(--gse-ui-popover-padding);background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-popover-wrapper .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;filter:drop-shadow(0 0 4px var(--gse-semantic-effects-boxShadow))}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}.gux-popover-wrapper .gux-popover-footer{padding-block-start:var(--gse-ui-popover-gap)}";export{p as gux_button,f as gux_popover}
|
1
|
+
import{r as o,h as t,a as e,c as r}from"./p-SFVKQR8_.js";import{t as i}from"./p-C8QjRvyk.js";import{r as a}from"./p-D9jKBqIb.js";import{a as n,c as s,o as u,f as l,s as d,b as c}from"./p-CqNXdaSr.js";import{O as g}from"./p-C7-BhPWq.js";import{g as b}from"./p-BBpQG81s.js";import{f as h}from"./p-Cr5bTKWF.js";const p=class{constructor(t){o(this,t),this.buttonId=a("button"),this.type="button",this.disabled=!1,this.accent="secondary",this.autofocus=!1}connectedCallback(){this.slotChanged()}componentWillLoad(){i(this.root,{variant:this.accent})}render(){return[t("button",{key:"af4a9e9f92774b29a3fe122805ca24cb79c6d0ac",id:this.buttonId,type:this.type,disabled:this.disabled,class:{[`gux-${this.accent}`]:!0,"gux-icon-only":this.iconOnly},"aria-label":this.guxTitle,autofocus:this.autofocus},t("slot",{key:"4b0039c4c0d47018962d44faa89236377224aa42",onSlotchange:this.slotChanged.bind(this)})),this.renderTooltip()]}renderTooltip(){return this.guxTitle?t("gux-tooltip-beta",{for:this.buttonId,visualOnly:!0},t("div",{slot:"content"},this.guxTitle)):""}stopEventIfDisabled(o){this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>this.stopEventIfDisabled(o))),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>this.stopEventIfDisabled(o)))}))}hasIconOnly(){const o=Array.from(this.root.children);if(1===o.length){if("GUX-ICON"===o[0].tagName)return!0}else if(2===o.length&&"GUX-ICON"===o[0].tagName&&["GUX-TOOLTIP","GUX-TOOLTIP-BETA"].includes(o[1].tagName))return!0;return!1}slotChanged(){this.makeSlotContentDisableable(),this.iconOnly=this.hasIconOnly()}static get delegatesFocus(){return!0}get root(){return e(this)}};p.style=":host{display:inline-block;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){inline-size:var(--gse-ui-button-icon-size);block-size:var(--gse-ui-button-icon-size)}::slotted(*){padding-inline-start:var(--gse-ui-button-gap);vertical-align:middle}::slotted(gux-tooltip),::slotted(gux-tooltip-beta){padding-inline-start:0}::slotted(*:first-child){padding:0}button{font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}button.gux-icon-only{display:inline-flex;padding:var(--gse-ui-button-default-paddingIconOnly)}button[disabled]{pointer-events:none;cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}button:hover:enabled{color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}button:active:enabled{color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}button:focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button.gux-primary{color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}button.gux-primary:hover:enabled{color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}button.gux-primary:active:enabled{color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}button.gux-tertiary{color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width);}button.gux-tertiary.gux-icon-only{padding:calc(var(--gse-ui-button-default-paddingIconOnly) - var(--gse-ui-button-tertiary-default-border-width))}button.gux-tertiary:hover:enabled{color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}button.gux-tertiary:active:enabled{color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}button.gux-ghost{color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}button.gux-ghost:hover:enabled{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button.gux-ghost:active:enabled{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button.gux-danger{color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}button.gux-danger:hover:enabled{color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}button.gux-danger:active:enabled{color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}button.gux-inline{min-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none;border-radius:0}button.gux-inline[disabled]{color:var(--gse-ui-links-disabled-foregroundColor)}button.gux-inline:hover:enabled{color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}button.gux-inline:active:enabled{color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";var v=function(o,t,e,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(o,t,e,r);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(n=(a<3?i(n):a>3?i(t,e,n):i(t,e))||n);return a>3&&n&&Object.defineProperty(t,e,n),n};const f=class{constructor(t){o(this,t),this.guxdismiss=r(this,"guxdismiss",7),this.position="bottom",this.displayDismissButton=!1,this.closeOnClickOutside=!1,this.isOpen=!1}onKeyDown(o){"Escape"===o.key&&this.dismiss()}onFocusout(o){!this.closeOnClickOutside&&this.displayDismissButton||o.relatedTarget&&!this.root.contains(o.relatedTarget)&&this.dismiss()}checkForClickOutside(o){const t=o.composedPath(),e=h(this.root,this.for),r=t.includes(e);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||r||this.dismiss()}get titleSlot(){return b(this.root,"title")}get footerSlot(){return b(this.root,"footer")}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=n(h(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const o=h(this.root,this.for);this.popupElement&&o&&s(o,this.popupElement,{placement:this.position,middleware:[u(7),l(),d(),c({element:this.arrowElement,padding:16})]}).then((({x:o,y:t,middlewareData:e,placement:r})=>{Object.assign(this.popupElement.style,{left:`${o}px`,top:`${t}px`});const i=r.split("-")[0],a={top:"bottom",right:"left",bottom:"top",left:"right"}[i],n={top:0,right:90,bottom:180,left:-90}[i],s="left"===i||"right"===i?15:12;if(e.arrow){let o=e.arrow.x;const t=e.arrow.y;"left"!==i&&"right"!==i||(o+=4),this.popupElement.setAttribute("data-placement",r),Object.assign(this.arrowElement.style,{left:null!=o?`${o}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[a]:-s+"px",transform:`rotate(${n}deg)`})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){i(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t("div",{key:"4b52bb710a7152e41e23cdd4052d2008de9c33e8",ref:o=>this.popupElement=o,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},t("div",{key:"18ae23e87ed0db250ff9a4fc38e531c443966e0d",ref:o=>this.arrowElement=o,class:"gux-arrow"},t("div",{key:"8406b397532d06b491ed7dbf9bb3df86875c0eaa",class:"gux-arrow-caret"})),this.displayDismissButton&&t("gux-dismiss-button",{key:"e0cddf9dbc056ce1f6a2b795ab92544ee1f91b24",onClick:this.dismiss.bind(this)}),t("div",{key:"daefe6c5656751dff1d955cc4d5bc81f7b5a0f5b",class:{"gux-popover-header":Boolean(this.titleSlot)}},t("slot",{key:"203b0dafa313d737ed820dd25552793a90f5a28f",name:"title"})),t("div",{key:"a07b5ea5eacd219a4cda818ab40215a6034eaaac",class:"gux-popover-content"},t("slot",{key:"721c26ecb502021cf78ccd5535c30187ad2f2903"})),t("div",{key:"4cfc12e95f654dc75692af0473f5a7dab6c5c3b7",class:{"gux-popover-footer":Boolean(this.footerSlot)}},t("slot",{key:"8728eb765e27c77d5100a38ec5dc8ba8e137950c",name:"footer"})))}get root(){return e(this)}};v([g({triggerEvents:"mousedown"})],f.prototype,"checkForClickOutside",null),v([function(){let o=!1,t=null;return(e,r,i)=>{const a=i.value;i.value=function(...e){o||(a.apply(this,e),o=!0,clearTimeout(t),t=setTimeout((()=>{o=!1}),100))}}}()],f.prototype,"dismiss",null),f.style=".gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding:var(--gse-ui-popover-padding);background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-popover-wrapper .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;filter:drop-shadow(0 0 4px var(--gse-semantic-effects-boxShadow))}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}.gux-popover-wrapper .gux-popover-footer{padding-block-start:var(--gse-ui-popover-gap)}";export{p as gux_button,f as gux_popover}
|