genesys-spark-components 4.186.1 → 4.187.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
- package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-badge.cjs.entry.js +2 -2
- package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
- package/dist/cjs/gux-branch-multi.cjs.entry.js +3 -3
- package/dist/cjs/gux-branch.cjs.entry.js +2 -2
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
- package/dist/cjs/gux-button_2.cjs.entry.js +5 -5
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +143 -165
- package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
- package/dist/cjs/gux-card.cjs.entry.js +3 -3
- package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
- package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
- package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
- package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/gux-day-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-footer.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-illustration-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
- package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-leaf-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-leaf.cjs.entry.js +2 -2
- package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
- package/dist/cjs/gux-logo-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-logomark-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-list_2.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-status-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-popup.cjs.entry.js +3 -3
- package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +6 -6
- package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +4 -4
- package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
- package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
- package/dist/cjs/gux-step.cjs.entry.js +4 -4
- package/dist/cjs/gux-stepper-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
- package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/gux-table.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gux-tag.cjs.entry.js +2 -2
- package/dist/cjs/gux-text-highlight.cjs.entry.js +6 -4
- package/dist/cjs/gux-time-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-picker.cjs.entry.js +4 -2
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-toast.cjs.entry.js +3 -3
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
- package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +4 -4
- package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/gux-tree-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-o6I3mOuO.js → usage-AjULwro2.js} +1 -1
- package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.css +8 -4
- package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.js +251 -142
- package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.service.js +55 -0
- package/dist/collection/components/beta/gux-calendar-beta/tests/gux-calendar.common.js +40 -0
- package/dist/collection/components/beta/gux-calendar-beta/tests/tests.service.playwright.js +5 -5
- package/dist/collection/components/beta/gux-cloud-logo/gux-cloud-logo.js +1 -1
- package/dist/collection/components/beta/gux-cloud-logomark/gux-cloud-logomark.js +1 -1
- package/dist/collection/components/beta/gux-cta-group/gux-cta-group.js +1 -1
- package/dist/collection/components/beta/gux-date/gux-date.js +1 -1
- package/dist/collection/components/beta/gux-date-time/gux-date-time.js +1 -1
- package/dist/collection/components/beta/gux-day/gux-day.js +1 -1
- package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/gux-form-fieldset-heading.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.js +2 -2
- package/dist/collection/components/beta/gux-form/gux-form-heading/gux-form-heading.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form.js +1 -1
- package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
- package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.js +1 -1
- package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
- package/dist/collection/components/beta/gux-link/gux-link.js +1 -1
- package/dist/collection/components/beta/gux-logo/gux-logo.js +3 -3
- package/dist/collection/components/beta/gux-logomark/gux-logomark.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
- package/dist/collection/components/beta/gux-option-status/gux-option-status.js +2 -2
- package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +1 -1
- package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +2 -2
- package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +2 -2
- package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.js +2 -2
- 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-divider/gux-segmented-control-divider.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-header/gux-side-panel-header.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/beta/gux-tree/gux-branch/gux-branch.js +2 -2
- package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.js +2 -2
- package/dist/collection/components/beta/gux-tree/gux-tree.js +2 -2
- package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.js +3 -3
- package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.js +2 -2
- package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +2 -2
- 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-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.js +1 -1
- 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-tag/gux-tag.js +1 -1
- package/dist/collection/components/stable/gux-text-highlight/gux-text-highlight.js +3 -1
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.service.js +2 -0
- 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/collection/utils/string/search.js +2 -2
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/gux-accordion-section.entry.js +5 -5
- package/dist/esm/gux-accordion.entry.js +2 -2
- package/dist/esm/gux-action-button.entry.js +2 -2
- package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
- package/dist/esm/gux-all-row-select.entry.js +1 -1
- package/dist/esm/gux-announce-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
- package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
- package/dist/esm/gux-badge.entry.js +2 -2
- package/dist/esm/gux-blank-state-beta.entry.js +1 -1
- package/dist/esm/gux-blank-state.entry.js +2 -2
- package/dist/esm/gux-branch-multi.entry.js +3 -3
- package/dist/esm/gux-branch.entry.js +2 -2
- package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +2 -2
- package/dist/esm/gux-button-multi.entry.js +2 -2
- package/dist/esm/gux-button-slot.entry.js +2 -2
- package/dist/esm/gux-button_2.entry.js +5 -5
- package/dist/esm/gux-calendar-beta.entry.js +144 -166
- package/dist/esm/gux-calendar.entry.js +2 -2
- package/dist/esm/gux-card.entry.js +3 -3
- package/dist/esm/gux-cloud-logo-beta.entry.js +2 -2
- package/dist/esm/gux-cloud-logomark-beta.entry.js +2 -2
- package/dist/esm/gux-column-manager-item.entry.js +3 -3
- package/dist/esm/gux-column-manager.entry.js +2 -2
- package/dist/esm/gux-content-search.entry.js +3 -3
- package/dist/esm/gux-context-menu.entry.js +3 -3
- package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
- package/dist/esm/gux-create-option.entry.js +2 -2
- package/dist/esm/gux-cta-group.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +2 -2
- package/dist/esm/gux-date-time-beta.entry.js +2 -2
- package/dist/esm/gux-datepicker.entry.js +2 -2
- package/dist/esm/gux-day-beta.entry.js +1 -1
- package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
- package/dist/esm/gux-dismiss-button.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
- package/dist/esm/gux-dropdown-multi.entry.js +2 -2
- package/dist/esm/gux-dropdown-option.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +4 -4
- package/dist/esm/gux-file-list-item.entry.js +3 -3
- package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
- package/dist/esm/gux-flyout-menu.entry.js +3 -3
- package/dist/esm/gux-form-beta.entry.js +1 -1
- package/dist/esm/gux-form-description.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
- package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
- package/dist/esm/gux-form-field-color.entry.js +4 -4
- package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
- package/dist/esm/gux-form-field-file-beta.entry.js +2 -2
- package/dist/esm/gux-form-field-file.entry.js +2 -2
- package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
- package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
- package/dist/esm/gux-form-field-number_2.entry.js +8 -8
- package/dist/esm/gux-form-field-phone.entry.js +5 -5
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
- package/dist/esm/gux-form-field-radio.entry.js +3 -3
- package/dist/esm/gux-form-field-range.entry.js +3 -3
- package/dist/esm/gux-form-field-search.entry.js +4 -4
- package/dist/esm/gux-form-field-select.entry.js +4 -4
- package/dist/esm/gux-form-field-text-like.entry.js +4 -4
- package/dist/esm/gux-form-field-textarea.entry.js +3 -3
- package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
- package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
- package/dist/esm/gux-form-footer.entry.js +3 -3
- package/dist/esm/gux-form-heading.entry.js +1 -1
- package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
- package/dist/esm/gux-icon.entry.js +2 -2
- package/dist/esm/gux-illustration-beta.entry.js +1 -1
- package/dist/esm/gux-inline-alert.entry.js +3 -3
- package/dist/esm/gux-inline-dropdown-beta.entry.js +2 -2
- package/dist/esm/gux-label-info-beta.entry.js +2 -2
- package/dist/esm/gux-leaf-multi.entry.js +2 -2
- package/dist/esm/gux-leaf.entry.js +2 -2
- package/dist/esm/gux-link-beta.entry.js +2 -2
- package/dist/esm/gux-list-divider.entry.js +1 -1
- package/dist/esm/gux-list-item.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +2 -2
- package/dist/esm/gux-listbox-multi.entry.js +1 -1
- package/dist/esm/gux-loading-message.entry.js +2 -2
- package/dist/esm/gux-logo-beta.entry.js +4 -4
- package/dist/esm/gux-logomark-beta.entry.js +2 -2
- package/dist/esm/gux-menu-option.entry.js +1 -1
- package/dist/esm/gux-menu.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +3 -3
- package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
- package/dist/esm/gux-modal.entry.js +2 -2
- package/dist/esm/gux-month-calendar.entry.js +1 -1
- package/dist/esm/gux-month-list_2.entry.js +2 -2
- package/dist/esm/gux-month-picker-beta.entry.js +2 -2
- package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-option-group-beta.entry.js +1 -1
- package/dist/esm/gux-option-icon.entry.js +2 -2
- package/dist/esm/gux-option-multi.entry.js +2 -2
- package/dist/esm/gux-option-status-beta.entry.js +2 -2
- package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
- package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +2 -2
- package/dist/esm/gux-pagination.entry.js +2 -2
- package/dist/esm/gux-phone-input-beta.entry.js +2 -2
- package/dist/esm/gux-popover-beta.entry.js +3 -3
- package/dist/esm/gux-popover-list-beta.entry.js +3 -3
- package/dist/esm/gux-popover-list.entry.js +3 -3
- package/dist/esm/gux-popup.entry.js +3 -3
- package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
- package/dist/esm/gux-radial-loading.entry.js +2 -2
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +2 -2
- package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
- package/dist/esm/gux-rich-style-list-item_3.entry.js +6 -6
- package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-beta.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
- package/dist/esm/gux-row-select.entry.js +2 -2
- package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
- package/dist/esm/gux-segmented-control-item.entry.js +4 -4
- package/dist/esm/gux-select-all.entry.js +2 -2
- package/dist/esm/gux-selector-card-beta.entry.js +3 -3
- package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
- package/dist/esm/gux-side-panel-beta.entry.js +3 -3
- package/dist/esm/gux-side-panel-header.entry.js +2 -2
- package/dist/esm/gux-side-panel-heading.entry.js +2 -2
- package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
- package/dist/esm/gux-sort-control.entry.js +3 -3
- package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
- package/dist/esm/gux-step-title.entry.js +2 -2
- package/dist/esm/gux-step.entry.js +4 -4
- package/dist/esm/gux-stepper-beta.entry.js +3 -3
- package/dist/esm/gux-submenu.entry.js +3 -3
- package/dist/esm/gux-switch-item.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +2 -2
- package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
- package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
- package/dist/esm/gux-tab-advanced.entry.js +2 -2
- package/dist/esm/gux-tab-list.entry.js +2 -2
- package/dist/esm/gux-tab-panel.entry.js +1 -1
- package/dist/esm/gux-tab.entry.js +2 -2
- package/dist/esm/gux-table-select-menu.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
- package/dist/esm/gux-table-toolbar.entry.js +3 -3
- package/dist/esm/gux-table.entry.js +2 -2
- package/dist/esm/gux-tabs-advanced.entry.js +2 -2
- package/dist/esm/gux-tabs.entry.js +2 -2
- package/dist/esm/gux-tag.entry.js +2 -2
- package/dist/esm/gux-text-highlight.entry.js +6 -4
- package/dist/esm/gux-time-beta.entry.js +2 -2
- package/dist/esm/gux-time-picker.entry.js +4 -2
- package/dist/esm/gux-time-zone-beta.entry.js +2 -2
- package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
- package/dist/esm/gux-toast.entry.js +3 -3
- package/dist/esm/gux-toggle-slider.entry.js +2 -2
- package/dist/esm/gux-toggle.entry.js +3 -3
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +4 -4
- package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
- package/dist/esm/gux-tooltip-title.entry.js +2 -2
- package/dist/esm/gux-tooltip_2.entry.js +6 -6
- package/dist/esm/gux-tree-beta.entry.js +3 -3
- package/dist/esm/gux-tree-multi-beta.entry.js +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-m3Lae7sj.js → usage-Rs2JRIbr.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/p-0138cf91.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-994e4f51.entry.js → p-02c0c8bd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4f2bbd47.entry.js → p-0689c05f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-09559c89.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6a47bd85.entry.js → p-0b8dda78.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-13ac38be.entry.js → p-1143e67a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-083804b1.entry.js → p-116b0969.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70999d68.entry.js → p-11ed456c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-324d6857.entry.js → p-13ad07ed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-25fd3256.entry.js → p-14c696cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-14e0a23c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-467b440a.entry.js → p-19e601ac.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-49ee0c6f.entry.js → p-1b629207.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-52373db0.entry.js → p-1e7418da.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5cf1b2ba.entry.js → p-210c186b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a3086e6.entry.js → p-211b4081.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2d4c4294.entry.js → p-21751fc9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e84d3b25.entry.js → p-22829ab6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-25f680c1.entry.js +1 -0
- package/dist/genesys-webcomponents/p-2719b581.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ed882ba0.entry.js → p-2751551a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eeaf3569.entry.js → p-2c696396.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a352dd2e.entry.js → p-2ca39314.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2d995ba2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c961265f.entry.js → p-31849628.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-34b4b88f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3cd17631.entry.js → p-388c0bf5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0b24178e.entry.js → p-394673f5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-91abcf19.entry.js → p-3de77c0a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3f0ee34a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-9579eeaa.entry.js → p-3fb0d661.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-68dec694.entry.js → p-404dc0eb.entry.js} +2 -2
- package/dist/genesys-webcomponents/{p-514148f5.entry.js → p-4109c6f3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4a7ea7e8.entry.js → p-41f2f980.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8f4e6f19.entry.js → p-42b34fb6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-444f40f2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bd8741a3.entry.js → p-455e5b12.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cd9a57b8.entry.js → p-4583ad97.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ec5d01d6.entry.js → p-460bccb8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4824adb4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-9f983574.entry.js → p-4c173cf5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-53e22ff1.entry.js → p-4d4a75d3.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4e78c189.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bf044a81.entry.js → p-4e7ebeb5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e77358d8.entry.js → p-4f987d3f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d83742a.entry.js → p-511680eb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7ee9b69d.entry.js → p-51363810.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-529d0936.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-139620e1.entry.js → p-53d57143.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-39260f95.entry.js → p-542efa61.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-563631e1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-285ee4a0.entry.js → p-56600163.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-541fb3fb.entry.js → p-56914068.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-584f4cab.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-32e6acb8.entry.js → p-594ea8d2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb37efda.entry.js → p-5966f299.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-26ae37e2.entry.js → p-5ad94ac4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e1b2080a.entry.js → p-5b476ecb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6f9cfe1b.entry.js → p-5bf1dc65.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5d97fc6f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-aaae46b8.entry.js → p-5f8eab1d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-19aae774.entry.js → p-5f8fb9e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9445c461.entry.js → p-5feccc59.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-26332854.entry.js → p-604b2744.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f39ca032.entry.js → p-6072777e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e9973aeb.entry.js → p-6143f5e6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d5c18713.entry.js → p-654484f4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1fa2732f.entry.js → p-6673b677.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-da5bf7b1.entry.js → p-68e1a751.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f46d7dc9.entry.js → p-69f74026.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6a52bb89.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-099f666a.entry.js → p-6af9c429.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b0d02114.entry.js → p-6b60a5ab.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-556113ac.entry.js → p-6b824fd9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ceb683a7.entry.js → p-6b9009ab.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aede3166.entry.js → p-6ced25e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3da05df8.entry.js → p-6dbe33e3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0d4c3b8f.entry.js → p-735e8911.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2afa3fa3.entry.js → p-76413a19.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7f602357.entry.js → p-793f4896.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b90aef76.entry.js → p-7aa3759d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dfca7776.entry.js → p-7c0e93f8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6041e65b.entry.js → p-7c2f239e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6143b5da.entry.js → p-7c30b05d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c905638c.entry.js → p-7d44c65c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d4cf29da.entry.js → p-804b04f3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5b40c6e6.entry.js → p-80796be1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-80c1b60d.entry.js +1 -0
- package/dist/genesys-webcomponents/p-81326113.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c8c0a498.entry.js → p-817e1c7c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-59895996.entry.js → p-82b24a37.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-351b23d4.entry.js → p-82b687a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d895c2d4.entry.js → p-85ac0d64.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-88ab5dbc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e4a44c7d.entry.js → p-88c3eac2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1f64bf9d.entry.js → p-8928dc71.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-017cb9d5.entry.js → p-89ea2249.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-150a39e6.entry.js → p-8a7d7ab8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-be9f6a45.entry.js → p-915f735e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b45cd72.entry.js → p-9194b48f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-91e7a597.entry.js +1 -0
- package/dist/genesys-webcomponents/p-95fe5745.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-135367e9.entry.js → p-97f44251.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e7841f8f.entry.js → p-9876b783.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9aba9db8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fa3dd755.entry.js → p-9d5748bc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a466db49.entry.js → p-9e128581.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-m3Lae7sj.js → p-Rs2JRIbr.js} +1 -1
- package/dist/genesys-webcomponents/{p-ef9c62f0.entry.js → p-a19435f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e96fa35a.entry.js → p-a1fd1b76.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a8143e2c.entry.js → p-a47e8d79.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1d3c2d91.entry.js → p-a4a9aee6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3eba96cc.entry.js → p-a5b09cd4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-73082b46.entry.js → p-a602ddd7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bf7dad16.entry.js → p-a64eb544.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fcd6e603.entry.js → p-a92ac07f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-abaf39a1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-96154710.entry.js → p-abd41a0a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7122ffc2.entry.js → p-ada55ecc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-aebc7595.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-daff771e.entry.js → p-af889d1b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-38f5b4f6.entry.js → p-b10829bc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-941d403f.entry.js → p-b2fe2d58.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8e9f07a4.entry.js → p-b72a5a0e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8a13909f.entry.js → p-b9687ebc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8033fd0b.entry.js → p-ba3376c4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cae633ff.entry.js → p-ba4a9c32.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bbdee0aa.entry.js +1 -0
- package/dist/genesys-webcomponents/p-c1e6e606.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e0314387.entry.js → p-c24d26bd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3e99d726.entry.js → p-c2ba0289.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f59113f5.entry.js → p-c4aa7007.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c4ad9367.entry.js +1 -0
- package/dist/genesys-webcomponents/p-c4f46959.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5800a64c.entry.js → p-c65a772e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c6b1df0a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5ac0a470.entry.js → p-c730f729.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c7c698a3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-863302cc.entry.js → p-c7da3b17.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b5a01b48.entry.js → p-c8780166.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-16b176e0.entry.js → p-ca5895ae.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5cf81958.entry.js → p-cb7016bc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cf52b41d.entry.js +1 -0
- package/dist/genesys-webcomponents/p-d044fae7.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-57f2d1dc.entry.js → p-d3c8b3f6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dad081b0.entry.js → p-d481cd97.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d4b9fb68.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-28bb190c.entry.js → p-d6bab5ee.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0b052d60.entry.js → p-d76e2e8b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-60011440.entry.js → p-d7a86919.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d0d3fa8.entry.js → p-d7c19e09.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7467d78b.entry.js → p-da6fd610.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-42a37e44.entry.js → p-daeb7b3d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-27917cd5.entry.js → p-dd86e60a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-dea58474.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b5b441a3.entry.js → p-df07b95c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e05cf7c9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-45586ff0.entry.js → p-e0d0f67d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a02a5f08.entry.js → p-e13a8c22.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a619a0ff.entry.js → p-e188a089.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8b78c6e6.entry.js → p-e2a61aa7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e8541175.entry.js → p-e3392f3b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-21d62416.entry.js → p-e6c4c61a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-48ca42f5.entry.js → p-e79a1499.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5725af26.entry.js → p-e8b1acf8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b823a092.entry.js → p-ecf7e943.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d22b1ee.entry.js → p-ee016e6f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7091f5b2.entry.js → p-eee9623f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-84f88012.entry.js → p-f0adb667.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b21ed8c2.entry.js → p-f251e963.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f2f5743f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0cd588f1.entry.js → p-f40ced8a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4ad8978f.entry.js → p-f61405e3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-154def26.entry.js → p-f798847a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-46a34101.entry.js → p-f8b08e9b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f21766df.entry.js → p-fba7d262.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9fa06bad.entry.js → p-fd62e802.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-calendar-beta/gux-calendar.d.ts +23 -18
- package/dist/types/components/beta/gux-calendar-beta/gux-calendar.service.d.ts +18 -0
- package/dist/types/components/beta/gux-calendar-beta/gux-calendar.types.d.ts +5 -0
- package/dist/types/components/beta/gux-calendar-beta/tests/gux-calendar.common.d.ts +4 -0
- package/dist/types/components.d.ts +24 -3
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/genesys-webcomponents/p-056a7c6b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-11837668.entry.js +0 -1
- package/dist/genesys-webcomponents/p-23ae550d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-25b9ab49.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2eeb7b23.entry.js +0 -1
- package/dist/genesys-webcomponents/p-34fdea73.entry.js +0 -1
- package/dist/genesys-webcomponents/p-35a486e5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-48de3ff3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5942b0f1.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5e48e9fb.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7869bfd9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7b70f2df.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8ff107e5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-908be904.entry.js +0 -1
- package/dist/genesys-webcomponents/p-908ebad2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-95aa1974.entry.js +0 -1
- package/dist/genesys-webcomponents/p-95f7a089.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9a59a9ca.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9a739818.entry.js +0 -1
- package/dist/genesys-webcomponents/p-aab878b2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b12a8508.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b2334e35.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b6f2fc11.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c05f9f33.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c1eb882e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-cbfda3ac.entry.js +0 -1
- package/dist/genesys-webcomponents/p-cf412061.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d5e4a275.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d8cbd44a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e181a441.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e1fe1a06.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f19811e6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f480585b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f68b47d9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f6ecef3e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fcdc8ed7.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,f as t,h as o,a as i}from"./p-CjVJoR6g.js";import{c as r,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-DaK6PJIg.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as p}from"./p-kyGdOoF4.js";import{G as d,a as h}from"./p-CuKTBQuB.js";import{h as g,s as c,c as x,g as m,v as b,a as v}from"./p-DHLxhscH.js";import{t as C}from"./p-m3Lae7sj.js";import{f as y}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const k=class{constructor(t){e(this,t),this.loading=!1,this.indicatorMark="required",this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=g(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),t(this.root)}renderRadialLoading(){if(this.loading)return o("div",{role:"status"},o("gux-radial-loading",{context:"input"}))}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&c(this.root,this.input,"prefix"),this.hasSuffix&&c(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(h,{key:"3c62db2addf2fb4d2d5be8dc3e51d4385a618b4c",labelPosition:this.computedLabelPosition},o(d,{key:"997b62cf46227fa695e8a93af07e6f3d3b510680",required:this.required,position:this.computedLabelPosition},o("slot",{key:"1bb7da1969e42ec527c5895e97581308dc25e3e4",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"645502cbb48a7c5127ac0e0575631a30a456bb45",variant:this.indicatorMark,required:this.required}),o("slot",{key:"9b96929ef963b2b965d1c4e0905b914fc56f241f",name:"label-info"})),o("div",{key:"e30f3b623011037ee9fe78c41a8ff178a112470f",class:"gux-input-and-error-container"},o("div",{key:"0f37f77962bcaf5ecdda78a98a9d3d0d2354307a",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"83e415a576eefdc52ea982168b0ba4bb525a2640",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix},onClick:()=>y(this.input)},o("slot",{key:"b5b3e7ed43c62346d62fae820488bbd220f21c78",name:"prefix"}),o("slot",{key:"b863ade92899094495a12faa0cb978e5e82aa629",name:"input"}),this.renderRadialLoading(),o("slot",{key:"7381412da44e249055eb87962e8df615ef8a2f9d",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{key:"43310be87e705154229229ba19587faa4705a1ce",onClick:()=>x(this.input)}))),o(f,{key:"d92e5a18ab41c974eda35a40351e7b93a91bc226",show:this.hasError},o("slot",{key:"698ea30abfd156114594669cbf62aac2f0dc7b14",name:"error"})),o(p,{key:"b9b4a0deefe1c4cdb056fc713fb873577e487636",show:!this.hasError&&this.hasHelp},o("slot",{key:"e710981660c84dda0a1a99b13943f15817175dc6",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=m(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(this.input)})),this.disabled=r(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=v(this.label,this.labelPosition)}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,l=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(l=(n<3?r(l):n>3?r(t,o,l):r(t,o))||l);n>3&&l&&Object.defineProperty(t,o,l)})([l({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;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}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;white-space:nowrap;text-decoration:none}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:end}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{k as gux_form_field_text_like}
|
|
1
|
+
import{r as e,f as t,h as o,a as i}from"./p-CjVJoR6g.js";import{c as r,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-DaK6PJIg.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as p}from"./p-kyGdOoF4.js";import{G as d,a as h}from"./p-CuKTBQuB.js";import{h as g,s as c,c as x,g as m,v as b,a as v}from"./p-DHLxhscH.js";import{t as C}from"./p-Rs2JRIbr.js";import{f as y}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const k=class{constructor(t){e(this,t),this.loading=!1,this.indicatorMark="required",this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=g(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),t(this.root)}renderRadialLoading(){if(this.loading)return o("div",{role:"status"},o("gux-radial-loading",{context:"input"}))}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&c(this.root,this.input,"prefix"),this.hasSuffix&&c(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(h,{key:"3aae89e5a9e34e64fdaf202ca32750974b70f25b",labelPosition:this.computedLabelPosition},o(d,{key:"cab23d517a69ae2708d3893429c34b4bb09f4a62",required:this.required,position:this.computedLabelPosition},o("slot",{key:"368437105310fa272294d0df9eb9b9d741b44003",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"aab5d0450aada4a9727653bbcca84251f8d06b36",variant:this.indicatorMark,required:this.required}),o("slot",{key:"999514abce677aaa46c3361ff14c4881d72ae2ac",name:"label-info"})),o("div",{key:"a36229ad90648c4dcaee9c8f32d7c0e286a8fb81",class:"gux-input-and-error-container"},o("div",{key:"dac2dd9e5b3837723ee488585da2e62265a67c1e",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"513e5efef0697c77660342ebaa5381b014558f20",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix},onClick:()=>y(this.input)},o("slot",{key:"6fa9abcd69b8e834f338c424e0a5295400718e88",name:"prefix"}),o("slot",{key:"b9ea3983bfb38b05fc0274aa8c1042c7d117a550",name:"input"}),this.renderRadialLoading(),o("slot",{key:"f0da41ca1dbca2296834c84104e60ac2d54914fe",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{key:"6d39235478e7282efa3753e1eabdad8bae160337",onClick:()=>x(this.input)}))),o(f,{key:"b47c0a8d858e5e9596c83202cbde4082c244f72d",show:this.hasError},o("slot",{key:"c93308a6bc3fb318fc909ad284692912cd224586",name:"error"})),o(p,{key:"e9b5190399bbb70517d3c70b9165c42bef7db285",show:!this.hasError&&this.hasHelp},o("slot",{key:"67035512f0b6e178eb4c50f754bd0e51090a9cc0",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=m(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(this.input)})),this.disabled=r(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=v(this.label,this.labelPosition)}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,l=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(l=(n<3?r(l):n>3?r(t,o,l):r(t,o))||l);n>3&&l&&Object.defineProperty(t,o,l)})([l({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;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}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;white-space:nowrap;text-decoration:none}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:end}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{k as gux_form_field_text_like}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as i}from"./p-CjVJoR6g.js";const s=class{constructor(t){e(this,t),this.selected=!1,this.disabled=!1}onClick(e){this.disabled&&e.stopPropagation()}render(){return t(i,{key:"
|
|
1
|
+
import{r as e,h as t,H as i}from"./p-CjVJoR6g.js";const s=class{constructor(t){e(this,t),this.selected=!1,this.disabled=!1}onClick(e){this.disabled&&e.stopPropagation()}render(){return t(i,{key:"b0d511710c019c0d4f301441badd3d0efe135d09",class:{"gux-selected":this.selected}},t("button",{key:"c6ff5212f59e245d3a52f721dc653b36a6145419","aria-current":this.selected.toString(),type:"button",class:"gux-switch-item",disabled:this.disabled},t("slot",{key:"9fd47e740e607b3452b7714fae8d2dac5779bebe"})))}};s.style="gux-switch-item>.gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);font:unset;color:var(--gse-semantic-foreground-container-highEmphasis);text-align:center;outline:none;background:none;border:none}gux-switch-item>.gux-switch-item>gux-icon svg{fill:#99a4b8}gux-switch-item[disabled]{pointer-events:none;opacity:0.5}gux-switch-item.gux-selected{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-bold-fontWeight)}gux-switch-legacy>gux-switch-item .gux-switch-item{padding:0 8px 4px;border-bottom:1px solid var(--gse-ui-segmentedControl-button-active-backgroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy>gux-switch-item .gux-switch-item:hover{padding:0 8px 1px;border-bottom:4px solid var(--gse-ui-segmentedControl-button-default-foregroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible>gux-icon svg,gux-switch-legacy>gux-switch-item .gux-switch-item:hover>gux-icon svg{fill:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:2px}gux-switch-legacy>gux-switch-item .gux-switch-item>gux-icon{width:32px;height:32px}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item{padding:0 8px 1px;border-bottom:4px solid var(--gse-ui-segmentedControl-button-default-foregroundColor)}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item>gux-icon svg{fill:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);padding:0 4px;border-bottom:1px solid var(--gse-ui-segmentedControl-button-active-backgroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:hover{border-bottom-color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item>gux-icon{width:24px;height:24px}gux-switch-legacy.gux-small>gux-switch-item.gux-selected .gux-switch-item{border-bottom-color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}";export{s as gux_switch_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o,h as i,a as s,H as e}from"./p-CjVJoR6g.js";import{s as n}from"./p-D8NvUiBF.js";const r=class{constructor(i){t(this,i),this.selectedChanged=o(this,"selectedChanged",7)}getDisplayedValue(){return Promise.resolve(this.text)}shouldFilter(t){if(this.highlight=t,this.highlightIndex=-1,!t)return Promise.resolve(!1);const o=new RegExp(n(t),"gi").exec(this.text),i=null===o;return i||(this.highlightIndex=o.index),Promise.resolve(i)}componentDidLoad(){this.root.onclick=()=>{this.onItemClicked()},this.root.onkeydown=t=>{switch(t.key){case" ":case"Enter":this.selected=!0,this.selectedChanged.emit(this.value)}}}hostData(){return{tabindex:"0"}}__stencil_render(){return i("div",{key:"
|
|
1
|
+
import{r as t,c as o,h as i,a as s,H as e}from"./p-CjVJoR6g.js";import{s as n}from"./p-D8NvUiBF.js";const r=class{constructor(i){t(this,i),this.selectedChanged=o(this,"selectedChanged",7)}getDisplayedValue(){return Promise.resolve(this.text)}shouldFilter(t){if(this.highlight=t,this.highlightIndex=-1,!t)return Promise.resolve(!1);const o=new RegExp(n(t),"gi").exec(this.text),i=null===o;return i||(this.highlightIndex=o.index),Promise.resolve(i)}componentDidLoad(){this.root.onclick=()=>{this.onItemClicked()},this.root.onkeydown=t=>{switch(t.key){case" ":case"Enter":this.selected=!0,this.selectedChanged.emit(this.value)}}}hostData(){return{tabindex:"0"}}__stencil_render(){return i("div",{key:"9604ae8bdae08b96511463f5eec869b1c86ba892",class:"gux-dropdown-option",title:this.text},this.textWithHighlights())}textWithHighlights(){if(!this.highlight||!this.text)return i("span",null,this.text);if(this.highlightIndex<0)return i("span",null,this.text);const t=this.text.substring(0,this.highlightIndex),o=this.text.substring(this.highlightIndex,this.highlightIndex+this.highlight.length),s=this.text.substring(t.length+this.highlight.length);return i("span",null,t,i("strong",null,o),s)}onItemClicked(){this.selected=!0,this.selectedChanged.emit(this.value)}get root(){return s(this)}render(){return i(e,this.hostData(),this.__stencil_render())}};r.style="gux-dropdown-option{position:relative;display:flex;height:var(--option-height);padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-option div.gux-dropdown-option{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-option div.gux-dropdown-option .gux-ghost{position:absolute}gux-dropdown-option[filtered]{display:none}gux-dropdown-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-option[disabled=false]{pointer-events:auto;cursor:pointer;opacity:1}gux-dropdown-option:not(:disabled)[selected]{color:#2e394c;background:#deeaff}gux-dropdown-option:not(:disabled):hover,gux-dropdown-option:not(:disabled):focus-visible{color:#fdfdfd;background:#2a60c8}";export{r as gux_dropdown_option}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,c as o,h as e,H as a,a as i}from"./p-CjVJoR6g.js";import{t as r}from"./p-
|
|
1
|
+
import{r as s,c as o,h as e,H as a,a as i}from"./p-CjVJoR6g.js";import{t as r}from"./p-Rs2JRIbr.js";const t=class{constructor(e){s(this,e),this.guxdismiss=o(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){r(this.root,{variant:this.accent})}render(){return e(a,{key:"72cd1e408d8eb9d9e41ae41a7e326e5780a9f605"},e("div",{key:"e9fc40e2d8d63761cc6bf9f64011a20482d916fa",class:`gux-icon gux-${this.accent}`},e("slot",{key:"30553267731d6cc8b33e36f27bc3187926393e78",name:"icon"})),e("gux-truncate",{key:"6ddefb0e3f05e36dbdbc04caac8b52ead0a955c3",class:"gux-message","max-lines":2},e("slot",{key:"1b15ff48c4c9b42b6c6fc50f4c82f3e019292a0a",name:"message"})),e("gux-dismiss-button",{key:"da4535b6aeeaf19171a172d4f464074e5603eb33",class:"gux-dismiss",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(s){s.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return i(this)}};t.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:286px;margin-bottom:4px;color:var(--gse-ui-toast-success-foregroundColor);background:var(--gse-ui-toast-success-backgroundColor);border:1px solid var(--gse-ui-card-default-border-color);border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;padding:8px 12px 8px 16px;margin:2px 0}.gux-icon.gux-alert{color:var(--gse-ui-toast-error-iconColor)}.gux-icon.gux-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-icon.gux-positive{color:var(--gse-ui-toast-success-iconColor)}.gux-icon.gux-neutral{color:var(--gse-ui-toast-info-iconColor)}.gux-icon ::slotted(gux-icon){width:16px;height:16px}.gux-message{flex:1 1 auto;align-self:center;order:0;margin:8px 0}.gux-dismiss{margin:4px 0}";export{t as gux_simple_toast_legacy}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c as e,h as a,a as l}from"./p-CjVJoR6g.js";import{b as r}from"./p-D1QZQXQN.js";import{t as o}from"./p-
|
|
1
|
+
import{r as i,c as e,h as a,a as l}from"./p-CjVJoR6g.js";import{b as r}from"./p-D1QZQXQN.js";import{t as o}from"./p-Rs2JRIbr.js";import"./p-Cd4R0amv.js";var t={removeFile:"Remove {filename} file",uploadingFile:"Uploading {filename} file",success:"{filename} file uploaded successfully",error:"{filename} file has an error"};const n=class{constructor(a){i(this,a),this.guxremovefile=e(this,"guxremovefile",7),this.disabled=!1}async componentWillLoad(){this.getI18nValue=await r(this.root,t),o(this.root)}render(){return a("div",{key:"b47aba3e75a09821c83dcc3499298ab6a98b38ed",class:{"gux-file-list-item":!0,[`gux-${this.status}`]:!0,"gux-disabled":this.disabled}},a("div",{key:"b36058c180ead4995b4bc14ac607f59b979cf75d",class:"gux-info"},a("gux-truncate",{key:"d8683f76ea7ec4f85f81b5e369bf344ef4c112a6"},a("span",{key:"080063807fb5d76643be9d75614fcff140183695",class:"gux-file-name"},this.name)),this.renderStatusIndicator(),this.renderFileRemoveButton()),this.renderAdditionalInfo())}renderStatusIndicator(){switch(this.status){case"loading":return a("gux-radial-loading",{context:"input","screenreader-text":this.getI18nValue("uploadingFile",{filename:this.name})});case"success":return a("gux-icon-tooltip-beta",{"icon-name":"fa/circle-check-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("success",{filename:this.name})));case"error":return a("gux-icon-tooltip-beta",{"icon-name":"fa/hexagon-exclamation-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("error",{filename:this.name})));default:return null}}renderFileRemoveButton(){return this.disabled?null:a("gux-button-slot",{accent:"ghost","icon-only":!0},a("button",{type:"button",onClick:()=>this.guxremovefile.emit(this.index)},a("gux-icon",{"icon-name":"fa/xmark-large-regular",size:"small",decorative:!0}),a("gux-screen-reader-beta",null,this.getI18nValue("removeFile",{filename:this.name}))))}renderAdditionalInfo(){return"error"===this.status?a("div",{class:"gux-additional-info"},a("div",{class:"gux-additional-info-header"},a("slot",{name:"additional-info-header"})),a("div",{class:"gux-additional-info-content"},a("slot",{name:"additional-info-content"}))):null}get root(){return l(this)}};n.style=':host{display:block}.gux-file-list-item{display:flex;flex-direction:column;align-items:flex-start;background-color:var(--gse-ui-fileUpload-fileCard-foregroundColor);border:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color);border-radius:var(--gse-ui-fileUpload-fileCard-borderRadius);box-shadow:var(--gse-ui-fileUpload-fileCard-boxShadow)}.gux-file-list-item.gux-disabled{opacity:0.5}.gux-file-list-item.gux-error{padding-block-start:0;border:var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-color)}.gux-file-list-item .gux-info{box-sizing:border-box;display:flex;gap:var(--gse-ui-fileUpload-fileCard-card-gap);align-items:center;inline-size:100%;block-size:32px;padding:var(--gse-ui-fileUpload-fileCard-card-padding)}.gux-file-list-item .gux-info .gux-file-name{font-family:var(--gse-ui-fileUpload-fileCard-fileName-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-fileName-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-fileName-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-fileName-text-lineHeight);color:var(--gse-ui-fileUpload-fileCard-fileName-default)}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/circle-check-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:var(--gse-ui-fileUpload-fileCard-statusIcon-success)}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/hexagon-exclamation-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:var(--gse-ui-fileUpload-fileCard-statusIcon-error)}.gux-file-list-item .gux-info gux-button-slot{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-info gux-button-slot button{--gse-ui-button-default-paddingIconOnly:4px;inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-additional-info{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-card-errorCard-errorTextSection-gap);inline-size:100%;padding:var(--gse-ui-fileUpload-fileCard-card-errorCard-mainContainer-padding);font-family:var(--gse-ui-fileUpload-fileCard-error-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-error-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-error-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-error-text-lineHeight);border-block-start:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color)}.gux-file-list-item .gux-additional-info .gux-additional-info-header{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorMessage)}.gux-file-list-item .gux-additional-info .gux-additional-info-content{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorHelper)}';export{n as gux_file_list_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as i,a as o}from"./p-CjVJoR6g.js";import{b as s}from"./p-CK42c8Uy.js";import{g as n}from"./p-Cd4R0amv.js";import{h as a}from"./p-qzV3vtOw.js";import{r}from"./p-D9jKBqIb.js";const l=class{constructor(t){e(this,t),this.iconPosition="start",this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1,this.hasSubtext=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||r("gux-option-icon"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=a(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const e=n("gux-listbox",this.root);return null==e?void 0:e.disabled}renderMaybeIcon(e){if(e!==this.iconPosition)return null;let i=null;return null===this.iconColor||this.hovered||this.active||(i={color:this.iconColor}),t("gux-icon",{decorative:null==this.iconSrText,"screenreader-text":this.iconSrText,"icon-name":this.iconName,style:i,size:"small"})}render(){return t(i,{key:"
|
|
1
|
+
import{r as e,h as t,H as i,a as o}from"./p-CjVJoR6g.js";import{b as s}from"./p-CK42c8Uy.js";import{g as n}from"./p-Cd4R0amv.js";import{h as a}from"./p-qzV3vtOw.js";import{r}from"./p-D9jKBqIb.js";const l=class{constructor(t){e(this,t),this.iconPosition="start",this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1,this.hasSubtext=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||r("gux-option-icon"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=a(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const e=n("gux-listbox",this.root);return null==e?void 0:e.disabled}renderMaybeIcon(e){if(e!==this.iconPosition)return null;let i=null;return null===this.iconColor||this.hovered||this.active||(i={color:this.iconColor}),t("gux-icon",{decorative:null==this.iconSrText,"screenreader-text":this.iconSrText,"icon-name":this.iconName,style:i,size:"small"})}render(){return t(i,{key:"ca198d8c122c9d9ee5fe0dce4987dd3175fd86b8",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":s(this.disabled||this.hasDisabledParent())},this.renderMaybeIcon("start"),t("div",{key:"c70d615c64c0bf3217e9cc9d5f0e3b3fe18779c9",class:"gux-option-wrapper"},t("gux-truncate",{key:"d39442f8b4c51d75b82eb7a0ce9aa6ed641f844b","tooltip-placement":"right",ref:e=>this.truncateElement=e},t("slot",{key:"cc353195cf978b0c095267ca591ab87df4765e83"})),t("slot",{key:"aa33fcf61ee602912956b6d433eed2123605da87",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderMaybeIcon("end"))}get root(){return o(this)}static get watchers(){return{active:["handleActive"]}}};l.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host gux-icon{flex-shrink:0}:host .gux-option-wrapper{min-inline-size:0}";export{l as gux_option_icon}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,a as e}from"./p-CjVJoR6g.js";import{a as o,c as a,o as r,f as h,s as n,h as p,b as c}from"./p-C8aV-TzO.js";import{a as d}from"./p-Bg4q97BS.js";import{O as l}from"./p-BvVMx5eW.js";import{t as u}from"./p-
|
|
1
|
+
import{r as t,c as s,h as i,a as e}from"./p-CjVJoR6g.js";import{a as o,c as a,o as r,f as h,s as n,h as p,b as c}from"./p-C8aV-TzO.js";import{a as d}from"./p-Bg4q97BS.js";import{O as l}from"./p-BvVMx5eW.js";import{t as u}from"./p-Rs2JRIbr.js";import{f as b}from"./p-Cr5bTKWF.js";const f=class{constructor(i){t(this,i),this.guxdismiss=s(this,"guxdismiss",7),this.position="bottom",this.closeOnClickOutside=!1,this.isOpen=!1,this.disconnect=void 0}onKeyDown(t){switch(t.key){case"Tab":this.dismiss();break;case"Escape":this.dismiss(),this.forElement.focus()}}checkForClickOutside(t){const s=t.composedPath(),i=b(this.root,this.for),e=s.includes(i);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||e||this.dismiss()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=o(b(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=b(this.root,this.for);this.popupElement&&a(t,this.popupElement,{strategy:"fixed",placement:this.position,middleware:[r(2),h(),n(),p(),c({element:this.arrowElement,padding:16})]}).then((({x:t,y:s,middlewareData:i,placement:e})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${s}px`});const o={top:"bottom",right:"left",bottom:"top",left:"right"}[e.split("-")[0]];if(i.arrow){const{x:t,y:s}=i.arrow;this.popupElement.setAttribute("data-placement",e),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=s?`${s}px`:"",right:"",bottom:"",[o]:"-6.5px",transform:"rotate(45deg)"})}i.hide&&Object.assign(this.popupElement.style,{visibility:i.hide.referenceHidden?"hidden":"visible"})}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1,this.popupElement.togglePopover())}focusFirstItemInPopupList(){d((()=>{this.listElement.guxFocusFirstItem()}))}onKeydown(t){switch(t.key){case"Enter":case" ":this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition(),this.focusFirstItemInPopupList()}}onMouseup(){this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition()}connectedCallback(){u(this.root,{variant:this.position}),this.listElement=this.root.querySelector("gux-list"),this.forElement=b(this.root,this.for),this.forElement.setAttribute("aria-haspopup","true");const t=this.onKeydown.bind(this);this.forElement.addEventListener("keydown",t);const s=this.onMouseup.bind(this);this.forElement.addEventListener("mouseup",s),this.disconnect=()=>{this.forElement.removeEventListener("keydown",t),this.forElement.removeEventListener("mouseup",s)}}componentDidLoad(){this.isOpen&&(this.popupElement.togglePopover(),this.runUpdatePosition())}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnect()}render(){return i("div",{key:"c57b21a0226ad99ead4a98296d7f756ee6045a65",ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0,popover:"manual"},i("div",{key:"8e7f224839d83cd36d944450c3843830e989d7a8",ref:t=>this.arrowElement=t,class:"gux-arrow"}),this.displayDismissButton&&i("gux-dismiss-button",{key:"2b5371d15d66ef6f9ae21436135556e9e41418b7",onClick:this.dismiss.bind(this)}),i("div",{key:"a3664db775aeedc6190c0b9496cf7a71359f8a8c",class:"gux-popover-content"},i("slot",{key:"ee1b2be5ae905ca48498e33dfbfbb5f975effccd"})))}get root(){return e(this)}};(function(t,s,i,e){var o,a=arguments.length,r=a<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,i,e);else for(var h=t.length-1;h>=0;h--)(o=t[h])&&(r=(a<3?o(r):a>3?o(s,i,r):o(s,i))||r);a>3&&r&&Object.defineProperty(s,i,r)})([l({triggerEvents:"mousedown"})],f.prototype,"checkForClickOutside",null),f.style=":popover-open{position:absolute;inset:unset}.gux-popover-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding-block:8px;padding-inline:0;overflow-y:hidden;background-color:var(--gse-ui-popover-backgroundColor);border:none;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-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-width);background:var(--gse-ui-popover-backgroundColor)}";export{f as gux_popover_list_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as o,H as t,a as r}from"./p-CjVJoR6g.js";import{c as s,o as a}from"./p-Cb3FOYGS.js";import{O as i}from"./p-DaK6PJIg.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-kyGdOoF4.js";import{t as c}from"./p-m3Lae7sj.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:"ac4c350f3740263e087855405893c8591473a343",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"9023cfe2c3a229ee02eb17400be384f4cbf3233b",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},o("div",{key:"50a2e44fa492a7ec498a9bdba632b6218a7417c1",class:"gux-input-label"},o("div",{key:"b05f4cff4e554ec83c54e25bffde8069d78e5415",class:"gux-input"},o("slot",{key:"56084fd218eb3abd754c5895651f6810d6896d21",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"3ece0f8d2c67e58e4bc94f712feb99078169387c",class:`gux-label-${this.labelPosition}`,"aria-disabled":this.disabled?"true":"false"},o("slot",{key:"c3aef0651560c3e59249f858151b0853471f631f",name:"label"}))),o("div",{key:"a18261d9885b2d5c47446e1622e7d900763c2d71",class:"error-and-help-text"},o(g,{key:"24254244b3e22931e9ea21f018427edfc4abb9df",show:this.hasError},o("slot",{key:"ec6bc633e1b9ee7fbd8c4f93291a6ac8ab3021a3",name:"error"})),o(n,{key:"db3d45cde0904532a1e1167005ede49b34037836",show:!this.hasError&&this.hasHelp},o("slot",{key:"593347068a3eea028e92ad19d29f82c0e0bf872e",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=a(this.input,(e=>{this.disabled=e})),h(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var s,a=arguments.length,i=a<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--)(s=e[l])&&(i=(a<3?s(i):a>3?s(o,t,i):s(o,t))||i);a>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 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-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-CjVJoR6g.js";import{c as s,o as i}from"./p-Cb3FOYGS.js";import{O as a}from"./p-DaK6PJIg.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-kyGdOoF4.js";import{t as c}from"./p-Rs2JRIbr.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:"4d9630ede06fb0989481b0f589def995c272d4a4",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"092cf0d03dcfec769c442a2ae0ae839fd51e23a0",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},o("div",{key:"a70e4938842857fa1197e0e27fde900531931c53",class:"gux-input-label"},o("div",{key:"56a26456c1874e6b95e8a9bcebd24ad00c81cba3",class:"gux-input"},o("slot",{key:"1977afce7fe112fa5fd9fffdd932b0e9726463d7",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"a2c123ddbe72a247009b57f3165db8b5999a8df4",class:`gux-label-${this.labelPosition}`,"aria-disabled":this.disabled?"true":"false"},o("slot",{key:"7953cee6f008f3b4e7d5b26efe0055447c21d48d",name:"label"}))),o("div",{key:"fc6601d65352a4c5b3c51cb868f38272950808e2",class:"error-and-help-text"},o(g,{key:"3a41894d1e687f8349caf6ce97e5db98dc85156a",show:this.hasError},o("slot",{key:"c7c0c4b9c87e86ccf49c1f0f88e53b7f7bb3ddf8",name:"error"})),o(n,{key:"40d43775a46cbc809b4f9ec1cee434a3f033924b",show:!this.hasError&&this.hasHelp},o("slot",{key:"7285032fe39638e54f10166670f0262103b41866",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 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-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 e,h as t,H as i,a as n}from"./p-CjVJoR6g.js";import{t as s}from"./p-
|
|
1
|
+
import{r as e,h as t,H as i,a as n}from"./p-CjVJoR6g.js";import{t as s}from"./p-Rs2JRIbr.js";import{g as a}from"./p-Cd4R0amv.js";const o=class{constructor(t){e(this,t),this.size="medium",this.standalone=!1}componentWillLoad(){s(this.root,{variant:this.size+(this.standalone?"-standalone":"")})}checkBreadcrumbParent(){return!!a(".gux-breadcrumb-generation",this.root)}render(){return t(i,{key:"15825482afcb55e096d0e2d7b3d9d84c97fd8e01",size:this.size,standalone:this.standalone,class:{"gux-breadcrumb-link":this.checkBreadcrumbParent()}},t("slot",{key:"e8a3962cde3dbc3594eb747b21e55bc19ef6b336"}))}get root(){return n(this)}};o.style=":host{padding-block:var(--gse-ui-links-inLine-padding)}:host ::slotted(a){inline-size:fit-content;font-family:var(--gse-ui-links-inLine-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);color:var(--gse-ui-links-default-foregroundColor) !important;border-radius:var(--gse-ui-links-focusOutline-borderRadius) !important}:host ::slotted(a:hover){color:var(--gse-ui-links-hover-foregroundColor) !important}:host ::slotted(a:active){color:var(--gse-ui-links-active-foregroundColor) !important}:host ::slotted(a:visited){color:var(--gse-ui-links-visited-foregroundColor) !important}:host ::slotted(a:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host([size=small]) ::slotted(a){font-family:var(--gse-ui-links-inLine-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight)}:host([standalone]){display:block;padding-block:var(--gse-ui-links-standalone-padding)}:host([standalone]) ::slotted(a){display:flex;gap:var(--gse-ui-links-standalone-gap);align-items:center;inline-size:fit-content;font-family:var(--gse-ui-links-standalone-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-text-fontSize);font-weight:var(--gse-ui-links-standalone-medium-text-fontWeight);line-height:var(--gse-ui-links-standalone-medium-text-lineHeight);text-decoration:none !important}:host([standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-medium-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-medium-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-medium-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-medium-underlinedText-textDecoration) !important}:host([standalone]) ::slotted(a:active){text-decoration:none !important}:host([size=small][standalone]) ::slotted(a){font-family:var(--gse-ui-links-standalone-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-text-fontSize);font-weight:var(--gse-ui-links-standalone-small-text-fontWeight);line-height:var(--gse-ui-links-standalone-small-text-lineHeight)}:host([size=small][standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-small-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-small-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-small-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-small-underlinedText-textDecoration) !important}:host([standalone][class=gux-breadcrumb-link]){padding:0}";export{o as gux_link_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as e,a as r}from"./p-CjVJoR6g.js";import{t as a}from"./p-
|
|
1
|
+
import{r as t,c as s,h as i,H as e,a as r}from"./p-CjVJoR6g.js";import{t as a}from"./p-Rs2JRIbr.js";import{n as o,p as h,l as c,f as n}from"./p-BebXX5IS.js";const l=["gux-rich-style-list-item","gux-rich-highlight-list-item","gux-rich-text-editor-sub-list"],g=class{constructor(i){t(this,i),this.internallistitemsupdated=s(this,"internallistitemsupdated",7),this.listItems=[]}get listItemsSlot(){return this.root.querySelector("slot")}get listItemElements(){var t;const s=null===(t=this.listItemsSlot)||void 0===t?void 0:t.assignedElements();return s?Array.from(s):[]}handleHighlighItemsNavigation(){if(this.listItemsSlot){const t=this.listItemsSlot.assignedElements().find((t=>"gux-rich-highlight-list-item"===t.tagName.toLowerCase()));if(t){const s=t.shadowRoot.querySelector("button");s&&(s.tabIndex=0)}}}setListItems(){this.listItems=this.listItemElements,this.internallistitemsupdated.emit()}async componentWillLoad(){a(this.root),this.setListItems(),this.handleHighlighItemsNavigation()}onKeyDown(t){const s=t.target;if(!s)return;const i=s.matches("gux-rich-highlight-list-item");switch(t.key){case"ArrowUp":t.preventDefault(),h(this.root,l);break;case"ArrowDown":t.preventDefault(),o(this.root,l);break;case"Home":t.preventDefault(),n(this.root,l);break;case"End":t.preventDefault(),c(this.root,l);break;case"ArrowLeft":i&&(t.preventDefault(),h(this.root,l));break;case"ArrowRight":i&&(t.preventDefault(),o(this.root,l))}}async guxFocusFirstItem(){n(this.root,l)}async guxFocusLastItem(){c(this.root,l)}render(){return i(e,{key:"a4a3e97b3c87ce3b3a7097c7a615ce3fe2035267",role:"list"},i("slot",{key:"ab4767819665cdc49dfbbc430578a585071cfc96",onSlotchange:()=>this.setListItems()}))}static get delegatesFocus(){return!0}get root(){return r(this)}};g.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{g as gux_rich_text_editor_list}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i,H as s,a as o}from"./p-CjVJoR6g.js";import{O as a}from"./p-BvVMx5eW.js";import{t as r}from"./p-Rs2JRIbr.js";import{b as c}from"./p-D1QZQXQN.js";import{t as n}from"./p-DN3YAdAX.js";import{b as l}from"./p-Bg4q97BS.js";import{h as b}from"./p-wqCHc7t7.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";const d=class{constructor(i){t(this,i),this.linkOptions=e(this,"linkOptions",7),this.disabled=!1,this.isActive=!1,this.isOpen=!1}onClickOutside(){this.isOpen=!1}onFocusOut(t){this.root.contains(t.relatedTarget)||(this.isOpen=!1)}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.isOpen=!0,this.focusTextToDisplayInputElement())}}async componentWillLoad(){r(this.root),this.i18n=await c(this.root,n)}emitLinkOptions(){this.linkOptions.emit({textToDisplay:this.textToDisplayInputElement.value,href:this.linkAddressInputElement.value}),this.textToDisplayInputElement.value=null,this.linkAddressInputElement.value=null,this.isOpen=!1}togglePopover(){this.isOpen=!this.isOpen,this.isOpen?this.focusTextToDisplayInputElement():this.actionButton.focus()}focusTextToDisplayInputElement(){l((()=>{this.textToDisplayInputElement.focus()}))}renderTooltip(){if(!this.disabled)return i("gux-tooltip-beta",null,i("div",{slot:"content"},this.i18n("link")))}render(){return i(s,{key:"02dc3c062ba2b20d3ff4973f9d82017876ba30e4"},i("gux-button-slot",{key:"950ba266d18b688bbd3b4121c99d469cedb3d8d9",accent:"ghost","icon-only":!0},i("button",{key:"898f27e65cf43dc024d661d6b9104b058562717b",id:"popover-target",class:{"gux-is-pressed":this.isActive||this.isOpen},onClick:()=>this.togglePopover(),ref:t=>this.actionButton=t,type:"button",disabled:this.disabled||b(this.root),"aria-label":this.i18n("link"),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-pressed":this.isActive.toString()},i("gux-icon",{key:"13c249e5f5bd34c4c93b484c8c99d093ba5e31e3",size:"small","icon-name":"fa/link-simple-regular",decorative:!0})),this.renderTooltip()),i("gux-popover",{key:"d13e97e9420927f3aa4554e0783ab09abd7b9a5e","is-open":this.isOpen,for:"popover-target"},i("div",{key:"d462d1baed3840781ece48ba68b04ee2981ab016",class:"gux-popover-content-wrapper"},i("gux-form-field-text-like",{key:"c4ad5765e1cb4f1a1807d32e941ec2086c3960d1"},i("input",{key:"255e1bdb29bc6d1b285e3f37f83099b7ea70f4dc",id:"textToDisplay",ref:t=>this.textToDisplayInputElement=t,slot:"input",type:"text"}),i("label",{key:"6baa4b6b04d721947c35fb48f2e06a5f48820286",slot:"label"},this.i18n("textToDisplay"))),i("gux-form-field-text-like",{key:"990bd165a11d98fc87a5910c337e4675bee20ea5"},i("input",{key:"424161875997abb7eb0a16a912f72fd24e4383ff",ref:t=>this.linkAddressInputElement=t,slot:"input",type:"text"}),i("label",{key:"3fa43f725ebd33c3b63d1243b71bb051182aeeee",slot:"label"},this.i18n("linkAddress"))),i("gux-cta-group",{key:"39773db2ef14b501e5b4fd727f3ce5035162cae4",align:"end"},i("gux-button",{key:"ef61842b00f97a21f1b84ca767f40c3361796d39",onClick:()=>this.emitLinkOptions(),slot:"primary"},this.i18n("insert")),i("gux-button",{key:"23c513ba2c29048c70e618dc6bcbcadc156e959d",onClick:()=>this.togglePopover(),slot:"dismiss"},this.i18n("cancel"))))))}get root(){return o(this)}};(function(t,e,i,s){var o,a=arguments.length,r=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);a>3&&r&&Object.defineProperty(e,i,r)})([a({triggerEvents:"mousedown"})],d.prototype,"onClickOutside",null),d.style=":host{display:block}gux-popover div.gux-popover-content-wrapper{display:flex;flex-direction:column;gap:var(--gse-ui-popover-gap)}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{d as gux_rich_text_editor_action_link}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as
|
|
1
|
+
import{r as e,h as t,H as o,a as s}from"./p-CjVJoR6g.js";import{a as i,c as a,o as r,f as n,s as u,b as d}from"./p-C8aV-TzO.js";import{a as h}from"./p-Bg4q97BS.js";import{t as c}from"./p-Rs2JRIbr.js";import{h as l}from"./p-QGDBFOq1.js";import{b as f}from"./p-D1QZQXQN.js";import"./p-Cd4R0amv.js";var m={onMenuFocus:"Use the right arrow to enter the submenu, and the left arrow to return to the previous menu",onTargetFocus:"A popup has appeared. Press the down arrow to enter the menu"};const p=class{constructor(t){e(this,t),this.isShown=!1}onKeydown(e){if(e.stopPropagation(),this.isShown)switch(e.key){case"Escape":case"ArrowLeft":case"ArrowUp":return void this.root.focus();case"ArrowDown":return e.preventDefault(),void this.focusOnMenu();case"Enter":return void(this.hideDelayTimeout=h((()=>{this.focusOnMenu()})))}}onKeyup(e){e.stopPropagation()," "!==e.key||(this.root===e.target?this.focusOnMenu():this.hideDelayTimeout=h((()=>{this.root.focus()})))}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(e){0!==e.detail&&this.hide(),this.root.focus()}onFocusin(){this.isShown||this.announceElement.guxAnnounce(this.i18n("onTargetFocus")),this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),l))}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=i(this.targetElement,this.menuContentElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.root&&a(this.targetElement,this.menuContentElement,{placement:"bottom-start",strategy:"fixed",middleware:[r(16),n(),u(),d({element:this.arrowElement,padding:16})]}).then((({x:e,y:t,middlewareData:o,placement:s})=>{var i;Object.assign(this.menuContentElement.style,{left:`${e}px`,top:`${t}px`});const a=s.split("-")[0],r={top:"bottom",right:"left",bottom:"top",left:"right"}[a],n={top:0,right:90,bottom:180,left:-90}[a];if(o.arrow){const{x:e,y:t}=o.arrow;Object.assign(null===(i=this.arrowElement)||void 0===i?void 0:i.style,{left:null!=e?`${e}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[r]:"-12px",transform:`rotate(${n}deg)`})}}))}focusOnMenu(){if(this.menuContentElement.contains(document.activeElement))return;this.hideDelayTimeout=h((()=>{this.announceElement.guxAnnounce(this.i18n("onMenuFocus"))}));const e=this.root.querySelector("gux-menu");Array.from(e.children)[0].guxFocus()}async componentWillLoad(){c(this.root),this.i18n=await f(this.root,m)}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t(o,{key:"f44087172d523b19565862d887af62c87703d195",tabIndex:0,"aria-haspopup":"true"},t("gux-announce-beta",{key:"3c7a54c210b50b5d865ae63ce946ad1cea19f4d8",ref:e=>this.announceElement=e}),t("span",{key:"5b993a7d3d0b5ecb0de0c7775a102a5ff48e4f13",ref:e=>this.targetElement=e},t("slot",{key:"fd2317898eeace1aace1e1100d7c4cb62cccaf08",name:"target"})),t("div",{key:"33fef6a19029d6f52e0b751bae14001ab43ea3ac",class:{"gux-flyout-menu-content":!0,"gux-shown":this.isShown},ref:e=>this.menuContentElement=e},t("div",{key:"9124f04d2e45a8def507545d4d85c923ad63851e",ref:e=>this.arrowElement=e,class:"gux-arrow"},t("div",{key:"0ec8d0aa4c296241ca7849f787b39de7988c6e58",class:"gux-arrow-caret"})),t("slot",{key:"88c0caad6367e10633cb003f2e6f2c974e88a77a",name:"menu"})))}get root(){return s(this)}};p.style=":host{z-index:var(--gse-semantic-zIndex-popover);color:var(--gse-ui-menu-option-label-foregroundColor);cursor:default}:host(:focus){outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-flyout-menu-content{position:fixed;display:none;border:none;border-radius:var(--gse-ui-flyoutMenu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow);opacity:0}.gux-flyout-menu-content.gux-shown{display:flex;animation-name:fade-in;animation-duration:100ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-flyout-menu-content .gux-arrow{position:absolute;inline-size:var(--gse-ui-flyoutMenu-anchor-width);block-size:var(--gse-ui-flyoutMenu-anchor-height);padding-block-end:4px;overflow:hidden}.gux-flyout-menu-content .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:var(--gse-ui-flyoutMenu-anchor-borderWidth) solid var(--gse-ui-flyoutMenu-backgroundColor);border-inline-start:var(--gse-ui-flyoutMenu-anchor-borderWidth) solid transparent;border-inline-end:var(--gse-ui-flyoutMenu-anchor-borderWidth) solid transparent;filter:drop-shadow(0 0 4px var(--gse-ui-flyoutMenu-anchor-shadowColor))}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{p as gux_flyout_menu}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as i,a as s}from"./p-CjVJoR6g.js";import{t as o}from"./p-
|
|
1
|
+
import{r as t,h as e,H as i,a as s}from"./p-CjVJoR6g.js";import{t as o}from"./p-Rs2JRIbr.js";import{f as r}from"./p-Cr5bTKWF.js";import{r as a}from"./p-D9jKBqIb.js";const n=class{constructor(e){t(this,e),this.id=a("gux-tooltip-pointer"),this.accent="light",this.placement="bottom-start",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){o(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=r(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip-pointer: invalid element supplied to 'for': "${this.for}"`)}render(){return e(i,{key:"f3f39b62500b86f8a6b2ae8ae9431ec6cd8ed33f",id:this.id,role:this.role},e("gux-tooltip-base-beta",{key:"1fbe0555fb0830aac6b65826212c0df83d5c925f",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t,followMouse:!0},e("span",{key:"d9a08ddeb731ba24776e9298117d3c7a743a6eaf",slot:"content"},e("slot",{key:"883ddc3258fb1be1fd9c8a49f6eec75e77ce4c14",name:"content"},e("slot",{key:"408dea99dfdfe76cd918c733f8b188052e72387a"})))))}get root(){return s(this)}static get watchers(){return{for:["updateForElement"]}}};export{n as gux_tooltip_pointer_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as t,h as n,H as i,a}from"./p-CjVJoR6g.js";import{t as r}from"./p-
|
|
1
|
+
import{r as e,c as t,h as n,H as i,a}from"./p-CjVJoR6g.js";import{t as r}from"./p-Rs2JRIbr.js";import{b as o}from"./p-D1QZQXQN.js";import"./p-Cd4R0amv.js";var s={inputPlaceholder:"Ask Genesys AI",generateGenesysAIText:"Generate Genesys AI text"};const d=class{constructor(n){e(this,n),this.onpromptinputgenerate=t(this,"onpromptinputgenerate",7),this.isGenerating=!1,this.hasInputText=!1}onKeyDown(e){this.inputElement.value&&"Enter"===e.key&&this.submit()}async componentWillLoad(){r(this.root),this.i18n=await o(this.root,s)}submit(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!0}),this.isGenerating=!0}stopGeneration(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!1}),this.isGenerating=!1}handleInput(){var e;this.hasInputText=(null===(e=this.inputElement.value)||void 0===e?void 0:e.length)>0,this.inputElement.parentElement.dataset.replicatedValue=this.inputElement.value}renderSubmitButton(){return n("gux-button-slot",{accent:"primary"},n("button",{type:"button",class:"gux-generate"+(this.hasInputText?"-active":""),onClick:()=>this.submit(),disabled:!this.hasInputText,title:this.i18n("generateGenesysAIText"),"data-testid":"generate-button"},n("gux-icon",{"icon-name":"fa/arrow-up-regular",size:"small",decorative:!0})))}renderStopButton(){return n("gux-button-slot",{accent:"danger"},n("button",{type:"button",class:"gux-generate-cancel",onClick:()=>this.stopGeneration(),"data-testid":"stop-generation"},n("gux-icon",{"icon-name":"fa/square-regular",size:"small",decorative:!0})))}render(){return n(i,{key:"8fa5511a660fd1611549f0d81297bdae37f67d9f"},n("div",{key:"8ccc77be89b54868c7f09abbb26690b275522831",class:"gux-input-container"},n("div",{key:"fe78b53da0f422c6a0c0e5863339da7d8a0175e2",class:"gux-grow-wrap"},n("textarea",{key:"0b6baada0d0d4cd526031b4d62b8ea8a668a1b48",rows:1,class:"gux-input",ref:e=>this.inputElement=e,placeholder:this.placeholder||this.i18n("inputPlaceholder"),onInput:this.handleInput.bind(this),"data-testid":"prompt-input"})),this.isGenerating?this.renderStopButton():this.renderSubmitButton()),n("div",{key:"3094cf911e36147145df8ced21f3ca6f8d75548f",class:"caution-message"},n("slot",{key:"dd124a9ffb1d4db388e53268fc569ead37057dfd",name:"caution-message"})))}static get delegatesFocus(){return!0}get root(){return a(this)}};d.style='.gux-input-container{display:flex;flex-shrink:0;gap:var(--gse-ui-rte-innerContainer-gap);align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;background:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-border-container-edges-dataTable-default);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-input-container:focus-within{border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-foreground-interactive-secondary-active)}.gux-input-container gux-button-slot{align-self:flex-end}.gux-input-container .gux-grow-wrap{display:grid;inline-size:100%;min-block-size:0;max-block-size:var(--gse-ui-promptInput-simple-label-maxHeight);padding:var(--gse-ui-promptInput-complex-labelContainer-scrollEnabled-padding);overflow:hidden auto}.gux-input-container .gux-grow-wrap::after{visibility:hidden;grid-area:1/1/2/2;padding:0;margin:0;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-sm);font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-sm);color:var(--gse-semantic-foreground-formControl-textInput-placeholder);word-break:normal;overflow-wrap:anywhere;white-space:pre-wrap;content:attr(data-replicated-value) " ";border:0}.gux-input-container .gux-grow-wrap>textarea{grid-area:1/1/2/2;overflow:hidden;word-break:normal;overflow-wrap:anywhere;resize:none}.gux-input-container .gux-input{inline-size:100%;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-sm);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-sm);color:var(--gse-semantic-foreground-formControl-textInput-placeholder);outline:none;border:none}.gux-input-container .gux-generate{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);opacity:var(--gse-ui-button-disabled-opacity)}.gux-input-container .gux-generate-active{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}.gux-input-container .gux-generate-cancel{display:flex;gap:var(--gse-ui-segmentedControl-button-padding);align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:8px}.gux-input-container .gux-generate-cancel gux-icon{background:var(--gse-ui-formControl-input-backgroundColor)}.caution-message{align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-2xs);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-3xs);color:var(--gse-semantic-foreground-container-midEmphasis);text-decoration-thickness:auto;text-decoration-style:solid;text-decoration-skip-ink:auto;text-underline-position:from-font;text-underline-offset:auto}';export{d as gux_prompt_input_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,c as e,h as o,a as t}from"./p-CjVJoR6g.js";import{l as r}from"./p-DxtJDeL9.js";import{b as s}from"./p-D1QZQXQN.js";import{t as i}from"./p-
|
|
1
|
+
import{r as a,c as e,h as o,a as t}from"./p-CjVJoR6g.js";import{l as r}from"./p-DxtJDeL9.js";import{b as s}from"./p-D1QZQXQN.js";import{t as i}from"./p-Rs2JRIbr.js";import"./p-Cd4R0amv.js";var n={changePhoto:"Change profile photo"};const c=class{constructor(o){a(this,o),this.guxchangephoto=e(this,"guxchangephoto",7)}async componentWillLoad(){this.validateSlot(),i(this.root),this.i18n=await s(this.root,n)}validateSlot(){this.root.querySelector("gux-avatar-beta")||r(this.root,"Slotted element must be gux-avatar-beta")}render(){return o("button",{key:"c88a6a0323e13b6bdd7d68a955f96d8a86a89eb0",class:"gux-change-photo",onClick:()=>this.guxchangephoto.emit(),"aria-label":this.i18n("changePhoto")},o("gux-icon",{key:"8dc2733dfdb2bd75117ab01c9546b96bbd9e0bc5",class:"gux-change-photo-icon","icon-name":"fa/camera-solid",size:"small",decorative:!0}),o("slot",{key:"83bb98873748afca9e7882e399de469267244eff",name:"avatar"}),o("gux-tooltip-beta",{key:"35e11ed2ccc0943d67ec0e72dc3b220a81675617",placement:"top",visualOnly:!0},o("div",{key:"926fe5e737148d1ebf920c2687d624f201a663a7",slot:"content"},this.i18n("changePhoto"))))}static get delegatesFocus(){return!0}get root(){return t(this)}};c.style=':host{display:inline-block}.gux-change-photo{position:relative;padding:0;margin:0;line-height:0px;cursor:pointer;background:none;border:none;border-radius:50%}.gux-change-photo .gux-change-photo-icon{display:none}.gux-change-photo:hover,.gux-change-photo:focus-visible{cursor:pointer}.gux-change-photo:hover .gux-change-photo-icon,.gux-change-photo:focus-visible .gux-change-photo-icon{position:absolute;inset-block-start:50%;inset-inline-start:50%;z-index:var(--gse-semantic-zIndex-showFocus);display:inline-block;color:var(--gse-ui-avatar-hoverModal-foregroundColor);transform:translate(-50%, -50%)}.gux-change-photo:hover::after,.gux-change-photo:focus-visible::after{position:absolute;inset-block-start:var(--gse-ui-avatar-large-presenceRing-width);inset-inline-start:var(--gse-ui-avatar-large-presenceRing-width);inline-size:var(--gse-ui-avatar-addChangeImage-hoverModal-shroudSize);block-size:var(--gse-ui-avatar-addChangeImage-hoverModal-shroudSize);content:"";background-color:var(--gse-ui-avatar-hoverModal-shroudColor);border:var(--gse-ui-avatar-content-large-border-width) var(--gse-ui-avatar-content-default-border-style) var(--gse-ui-avatar-content-default-border-color);border-radius:50%;opacity:var(--gse-ui-avatar-hoverModal-opacity);transition:background-color 0.5s ease}.gux-change-photo:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}';export{c as gux_avatar_change_photo_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as e,a as i}from"./p-CjVJoR6g.js";import{a as o,c as a,o as r,f as
|
|
1
|
+
import{r as t,c as s,h as e,a as i}from"./p-CjVJoR6g.js";import{a as o,c as a,o as r,f as n,s as p,b as c}from"./p-C8aV-TzO.js";import{O as d}from"./p-BvVMx5eW.js";import{t as h}from"./p-Rs2JRIbr.js";import{f as l}from"./p-Cr5bTKWF.js";const b=class{constructor(e){t(this,e),this.guxdismiss=s(this,"guxdismiss",7),this.position="bottom",this.closeOnClickOutside=!1,this.isOpen=!1}onKeyDown(t){switch(t.key){case"Tab":case"Escape":this.dismiss()}}checkForClickOutside(t){const s=t.composedPath(),e=l(this.root,this.for),i=s.includes(e);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||i||this.dismiss()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=o(l(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=l(this.root,this.for);this.popupElement&&a(t,this.popupElement,{strategy:"fixed",placement:this.position,middleware:[r(7),n(),p(),c({element:this.arrowElement,padding:16})]}).then((({x:t,y:s,middlewareData:e,placement:i})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${s}px`});const o={top:"bottom",right:"left",bottom:"top",left:"right"}[i.split("-")[0]];if(e.arrow){const{x:t,y:s}=e.arrow;this.popupElement.setAttribute("data-placement",i),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=s?`${s}px`:"",right:"",bottom:"",[o]:"-6.5px",transform:"rotate(45deg)"})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){h(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 e("div",{key:"b148fb03ad33f9bb6ee2330fb1e8f74359ad99b2",ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},e("div",{key:"f66486e0b5d06dfd735605785016cc66a7edbf59",ref:t=>this.arrowElement=t,class:"gux-arrow"}),this.displayDismissButton&&e("gux-dismiss-button",{key:"fc932430aa755d198d9636b34be8132fdcf17f41",onClick:this.dismiss.bind(this)}),e("div",{key:"ac9eba27a9d10bb80c3c964cfa10a5b3997086a4",class:"gux-popover-content"},e("slot",{key:"5f2f9003190fb8ab32d19b2226c3fdb1f279a3a8"})))}get root(){return i(this)}};(function(t,s,e,i){var o,a=arguments.length,r=a<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,e,i);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(s,e,r):o(s,e))||r);a>3&&r&&Object.defineProperty(s,e,r)})([d({triggerEvents:"mousedown"})],b.prototype,"checkForClickOutside",null),b.style=".gux-popover-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding-block:8px;padding-inline:0;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-width);background:var(--gse-ui-popover-backgroundColor)}";export{b as gux_popover_list}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as o,a as i}from"./p-CjVJoR6g.js";const n=class{constructor(t){e(this,t),this.disabled=!1}render(){return t(o,{key:"
|
|
1
|
+
import{r as e,h as t,H as o,a as i}from"./p-CjVJoR6g.js";const n=class{constructor(t){e(this,t),this.disabled=!1}render(){return t(o,{key:"a3efef4785ff821a9767e92760c2ac368e874303",role:"listitem"},t("button",{key:"7fc1d32872b8c5f475ff740ad5f15ccf2a09cfcc",type:"button",tabIndex:-1,disabled:this.disabled,"data-testid":"list-item-button"},t("slot",{key:"0a13d6573be93a1db42c774bf19c6a4d79386575"})))}static get delegatesFocus(){return!0}get root(){return i(this)}};n.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}";export{n as gux_list_item}
|
package/dist/stencil-wrapper.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { defineCustomElements } from '../dist/loader';
|
|
9
9
|
// Value templated out during build process (see scripts/wrap-stencil.js)
|
|
10
|
-
export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.
|
|
10
|
+
export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.187.0-869/genesys-webcomponents/';
|
|
11
11
|
const DOMAIN_LIST = [
|
|
12
12
|
'.inindca.com',
|
|
13
13
|
'.dev-pure.cloud',
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import { JSX } from '../../../stencil-public-runtime';
|
|
2
|
-
import { GuxCalendarDayOfWeek } from './gux-calendar.types';
|
|
3
|
-
import { Temporal } from '@js-temporal/polyfill';
|
|
2
|
+
import { GuxCalendarDayOfWeek, GuxISODate } from './gux-calendar.types';
|
|
4
3
|
export declare class GuxCalendar {
|
|
4
|
+
private locale;
|
|
5
|
+
private i18n;
|
|
6
|
+
private MONTH_DATE_COUNT;
|
|
7
|
+
private defaultValue;
|
|
5
8
|
root: HTMLElement;
|
|
9
|
+
internals: ElementInternals;
|
|
6
10
|
startDayOfWeek: GuxCalendarDayOfWeek;
|
|
7
|
-
|
|
11
|
+
value: GuxISODate;
|
|
12
|
+
min: GuxISODate;
|
|
13
|
+
max: GuxISODate;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
readonly: boolean;
|
|
16
|
+
formDisabled: boolean;
|
|
8
17
|
/**
|
|
9
18
|
* The date that receives focus when selecting a specific day. This also
|
|
10
19
|
* determines what month is currently displayed. The corresponding element
|
|
@@ -12,25 +21,21 @@ export declare class GuxCalendar {
|
|
|
12
21
|
* may be on other parts of the component.
|
|
13
22
|
*/
|
|
14
23
|
private focusDate;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
private MONTH_DATE_COUNT;
|
|
22
|
-
private get slottedInput();
|
|
24
|
+
onValueChange(newValue: GuxISODate, oldValue: GuxISODate): void;
|
|
25
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
26
|
+
formDisabledCallback(disabled: boolean): void;
|
|
27
|
+
formResetCallback(): void;
|
|
28
|
+
formStateRestoreCallback(state: GuxISODate): void;
|
|
29
|
+
connectedCallback(): void;
|
|
23
30
|
componentWillLoad(): Promise<void>;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
private detectDayClick;
|
|
31
|
+
private onDayKeyDown;
|
|
32
|
+
private onDayClick;
|
|
27
33
|
/**
|
|
28
34
|
* Finds the `gux-day` element corresponding to the provided
|
|
29
35
|
* date string.
|
|
30
36
|
* @param dateStr The date to find in ISO format
|
|
31
37
|
*/
|
|
32
38
|
private getGuxDayForDate;
|
|
33
|
-
private selectDate;
|
|
34
39
|
/**
|
|
35
40
|
* Shifts the focused date by the provided interval
|
|
36
41
|
* @param interval A Temporal-compatible interval definition
|
|
@@ -40,14 +45,14 @@ export declare class GuxCalendar {
|
|
|
40
45
|
* Directs browser focus to the element corresponding to the `.focusDate` date.
|
|
41
46
|
*/
|
|
42
47
|
private focusOnFocusDate;
|
|
43
|
-
private onKeyDown;
|
|
44
48
|
/**
|
|
45
49
|
* Returns true if the date is less than the min date or greater than the max date
|
|
46
50
|
*/
|
|
47
51
|
private isInvalidDate;
|
|
48
52
|
private getMonthDays;
|
|
49
|
-
private
|
|
50
|
-
private
|
|
53
|
+
private isFocusableDay;
|
|
54
|
+
private renderPreviousButton;
|
|
55
|
+
private renderNextButton;
|
|
51
56
|
private renderHeader;
|
|
52
57
|
private renderContent;
|
|
53
58
|
render(): JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Temporal } from '@js-temporal/polyfill';
|
|
2
|
+
/**
|
|
3
|
+
* Given a date, return the first day of the month that date is in.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getFirstOfMonth(date: Temporal.PlainDate): Temporal.PlainDate;
|
|
6
|
+
export declare function getWeekdays(locale: Intl.LocalesArgument, startDayOfWeek: number): string[];
|
|
7
|
+
export declare function localizedYearMonth(date: Temporal.PlainDate, locale: string): string;
|
|
8
|
+
/**
|
|
9
|
+
* Given a starting date and the first day of the week, find the first date of
|
|
10
|
+
* the week of the provided date. For example, February 1st 2025 is a Saturday.
|
|
11
|
+
* If the first day of the week is considered Monday (1), this function would
|
|
12
|
+
* return a date of 2027-01-27.
|
|
13
|
+
* @param date The date we want to find the start of the week for
|
|
14
|
+
* @param startDayOfWeek The day that should be considered the first day of the week
|
|
15
|
+
* @returns The first day of the first week of the provided month
|
|
16
|
+
*/
|
|
17
|
+
export declare function firstDateInWeek(date: Temporal.PlainDate, startDayOfWeek: number): Temporal.PlainDate;
|
|
18
|
+
export declare function isoToTemporalDate(iso: string): Temporal.PlainDate | null;
|
|
@@ -11,3 +11,8 @@ export interface IDateElement {
|
|
|
11
11
|
focused: boolean;
|
|
12
12
|
}
|
|
13
13
|
export type GuxCalendarDayOfWeek = 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
14
|
+
export type GuxISODate = `${GuxISOYear}-${GuxISOMonth}-${GuxISODay}`;
|
|
15
|
+
type GuxISOYear = `${number}${number}${number}${number}`;
|
|
16
|
+
type GuxISOMonth = `${number}${number}`;
|
|
17
|
+
type GuxISODay = `${number}${number}`;
|
|
18
|
+
export {};
|