genesys-spark-components 4.93.0 → 4.93.2
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/{floating-ui.dom.esm-139d92fc.js → floating-ui.dom.esm-973d8a45.js} +34 -25
- package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
- package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-badge.cjs.entry.js +1 -1
- package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
- package/dist/cjs/gux-button_4.cjs.entry.js +2 -2
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
- package/dist/cjs/gux-card.cjs.entry.js +1 -1
- package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
- package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
- package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-popover-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-popup.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +1 -1
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
- package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/gux-table.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gux-tag.cjs.entry.js +1 -1
- package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/{usage-bcc79bb0.js → usage-513f9e4b.js} +11 -11
- package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/gux-avatar-change-photo.css +6 -6
- package/dist/collection/components/beta/gux-avatar/gux-avatar.css +32 -32
- package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.css +10 -11
- package/dist/collection/components/beta/gux-cta-group/gux-cta-group.css +1 -1
- package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.css +2 -2
- package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.css +10 -6
- package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.css +1 -1
- package/dist/collection/components/beta/gux-label-info/gux-label-info.css +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.css +4 -4
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.css +6 -5
- package/dist/collection/components/beta/gux-month-picker/gux-month-picker.css +5 -5
- package/dist/collection/components/beta/gux-phone-input/gux-phone-input.css +19 -18
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.css +7 -7
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.css +28 -28
- package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.css +3 -2
- package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.css +7 -7
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.css +16 -14
- package/dist/esm/{floating-ui.dom.esm-92d89cdf.js → floating-ui.dom.esm-3bade7ba.js} +34 -25
- package/dist/esm/gux-accordion-section.entry.js +1 -1
- package/dist/esm/gux-accordion.entry.js +1 -1
- package/dist/esm/gux-action-button.entry.js +1 -1
- package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
- package/dist/esm/gux-announce-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +2 -2
- package/dist/esm/gux-badge.entry.js +1 -1
- package/dist/esm/gux-blank-state.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +1 -1
- package/dist/esm/gux-button-multi.entry.js +1 -1
- package/dist/esm/gux-button-slot.entry.js +1 -1
- package/dist/esm/gux-button_4.entry.js +2 -2
- package/dist/esm/gux-calendar-beta.entry.js +1 -1
- package/dist/esm/gux-calendar.entry.js +1 -1
- package/dist/esm/gux-card.entry.js +1 -1
- package/dist/esm/gux-column-manager.entry.js +1 -1
- package/dist/esm/gux-content-search.entry.js +1 -1
- package/dist/esm/gux-context-menu.entry.js +1 -1
- package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
- package/dist/esm/gux-cta-group.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +1 -1
- package/dist/esm/gux-date-time-beta.entry.js +1 -1
- package/dist/esm/gux-datepicker.entry.js +2 -2
- package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
- package/dist/esm/gux-dismiss-button.entry.js +1 -1
- package/dist/esm/gux-dropdown-multi.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +1 -1
- package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
- package/dist/esm/gux-flyout-menu.entry.js +2 -2
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
- package/dist/esm/gux-form-field-color.entry.js +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
- package/dist/esm/gux-form-field-file.entry.js +1 -1
- package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
- package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
- package/dist/esm/gux-form-field-phone.entry.js +1 -1
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
- package/dist/esm/gux-form-field-radio.entry.js +1 -1
- package/dist/esm/gux-form-field-range.entry.js +1 -1
- package/dist/esm/gux-form-field-search.entry.js +1 -1
- package/dist/esm/gux-form-field-select.entry.js +1 -1
- package/dist/esm/gux-form-field-text-like.entry.js +1 -1
- package/dist/esm/gux-form-field-textarea.entry.js +1 -1
- package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
- package/dist/esm/gux-form-footer.entry.js +2 -2
- package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
- package/dist/esm/gux-icon.entry.js +1 -1
- package/dist/esm/gux-inline-alert.entry.js +1 -1
- package/dist/esm/gux-label-info-beta.entry.js +2 -2
- package/dist/esm/gux-list.entry.js +1 -1
- package/dist/esm/gux-listbox-multi.entry.js +1 -1
- package/dist/esm/gux-loading-message.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +1 -1
- package/dist/esm/gux-month-calendar.entry.js +1 -1
- package/dist/esm/gux-month-list_2.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +2 -2
- package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +1 -1
- package/dist/esm/gux-pagination.entry.js +1 -1
- package/dist/esm/gux-phone-input-beta.entry.js +2 -2
- package/dist/esm/gux-popover-list.entry.js +2 -2
- package/dist/esm/gux-popup.entry.js +1 -1
- package/dist/esm/gux-radial-loading.entry.js +1 -1
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +1 -1
- package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
- package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
- package/dist/esm/gux-segmented-control-item.entry.js +1 -1
- package/dist/esm/gux-selector-card-beta.entry.js +2 -2
- package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
- package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
- package/dist/esm/gux-sort-control.entry.js +1 -1
- package/dist/esm/gux-submenu.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
- package/dist/esm/gux-table-toolbar.entry.js +1 -1
- package/dist/esm/gux-table.entry.js +1 -1
- package/dist/esm/gux-tabs-advanced.entry.js +1 -1
- package/dist/esm/gux-tabs.entry.js +1 -1
- package/dist/esm/gux-tag.entry.js +1 -1
- package/dist/esm/gux-text-highlight.entry.js +1 -1
- package/dist/esm/gux-time-beta.entry.js +1 -1
- package/dist/esm/gux-time-picker.entry.js +1 -1
- package/dist/esm/gux-time-zone-beta.entry.js +1 -1
- package/dist/esm/gux-time-zone-picker-beta.entry.js +2 -2
- package/dist/esm/gux-toast.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +1 -1
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +3 -3
- package/dist/esm/gux-tooltip.entry.js +2 -2
- package/dist/esm/{usage-f0b3c11f.js → usage-885cebd4.js} +11 -11
- package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-7c8f243f.entry.js → p-021d8cbc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7261e52e.entry.js → p-06eb94bb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-193cb6d0.entry.js → p-0870e12b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2ed65c5b.entry.js → p-0b7b0ad2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b6cf0017.entry.js → p-0d255441.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c552dc2a.entry.js → p-0d4cdccf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f40b25e.entry.js → p-1203702b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-135596f4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7d11c359.js → p-17fb3906.js} +1 -1
- package/dist/genesys-webcomponents/{p-7a02537e.entry.js → p-19945238.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-13a4198c.entry.js → p-21dc4933.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-79e9af6c.entry.js → p-22dcaea4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3119c966.entry.js → p-230cce34.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-73d35b96.entry.js → p-2384822d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8dd6f122.entry.js → p-27a5916a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d4833f9b.entry.js → p-27b7e979.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-89e516c2.entry.js → p-294f0f94.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f8b84430.entry.js → p-29e95f0f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24bdc2bb.entry.js → p-2d733a82.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e15eb03a.entry.js → p-2e59c5d8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a4b57004.entry.js → p-2edfdff8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-31c31fe6.js +1 -0
- package/dist/genesys-webcomponents/{p-9222d969.entry.js → p-349b395a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-941d9937.entry.js → p-379c37d8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-044c78e8.entry.js → p-3ae4d432.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-45a66600.entry.js → p-3e03997b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-45de37aa.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e06a0da0.entry.js → p-46bbcd48.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c1e399d8.entry.js → p-49185cc6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8a333a63.entry.js → p-499b569b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3d4fcd67.entry.js → p-4b2a5bbb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e7d4cf7.entry.js → p-4d53fcdf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-657514fc.entry.js → p-4dcc4334.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e4fe5a2.entry.js → p-52509787.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24c300b7.entry.js → p-52987723.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75b0679c.entry.js → p-53ef1252.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-92402504.entry.js → p-5c0f91e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3e5c25b1.entry.js → p-5d8ddaaa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-65442aee.entry.js → p-5ebe7f56.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2d6eb229.entry.js → p-5f395c9d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7eb3dc65.entry.js → p-6001e998.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1b69b6e6.entry.js → p-60d9e45f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-514eb4d2.entry.js → p-60f227f8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-71985f38.entry.js → p-685ccec7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6c55c014.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0f496d84.entry.js → p-6e7bf736.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4f753a8c.entry.js → p-6ed0f3b1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2c8e96ad.entry.js → p-6fdee5df.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24ed603f.entry.js → p-77687d33.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-853265c9.entry.js → p-78359321.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4489bb08.entry.js → p-79bc7843.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80357810.entry.js → p-82f3b21a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8a576faf.entry.js → p-87ae7fb6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8b4c0cda.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b8906c2b.entry.js → p-8e21c932.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e6ea85c2.entry.js → p-8e8585cf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b699760.entry.js → p-944c5f26.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dc1459f3.entry.js → p-98510e32.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-deba49f2.entry.js → p-98f57653.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-98ccbe42.entry.js → p-9a73b7d2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-13ce354d.entry.js → p-9ee9b5a6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9f448825.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f27eb5fb.entry.js → p-9f732ed1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e8e3f70.entry.js → p-a21128f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-94efe9e4.entry.js → p-ae8358aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-513f70f7.entry.js → p-ae921806.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b0e75310.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d960f425.entry.js → p-b1edaf9c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3befaca9.entry.js → p-b1fc9337.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b34bdf78.entry.js → p-b64d8e5d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b405287e.entry.js → p-b731ca9b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b9022847.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e4fe8056.entry.js → p-b9824e95.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6ecb30ed.entry.js → p-bf2230b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-17c04f21.entry.js → p-c344189f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-608161c3.entry.js → p-c50c6076.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0c4d5403.entry.js → p-c59a7bf5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fc1fe2d4.entry.js → p-c92bba36.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-294565c2.entry.js → p-d01be7b8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bf29245d.entry.js → p-d04b3d25.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bb4a5883.entry.js → p-d35cf174.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eb560ace.entry.js → p-d48f0312.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9323a9e5.entry.js → p-d76c1127.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ec988d85.entry.js → p-d780bce6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ff582dc6.entry.js → p-db52d96a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6fb9efba.entry.js → p-db88f903.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8561706c.entry.js → p-dccc1e52.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d11a6c21.entry.js → p-dd832c62.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f87676d3.entry.js → p-de165ac5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3b2c778f.entry.js → p-dfac5414.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e715c26d.entry.js → p-ea038d2e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2e1f85af.entry.js → p-eda00fea.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-eef89da3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-da4c2652.entry.js → p-f0528854.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-47a391b4.entry.js → p-f4e99b9b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b4e3048b.entry.js → p-f530c440.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-014c4f18.entry.js → p-f74a645f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7c363ed9.entry.js → p-f8988c25.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-487b1bbb.entry.js → p-fa8cda0a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ff405027.entry.js → p-fed233a8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2c8e79f.entry.js → p-ffbd9cf7.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +11 -11
- package/dist/genesys-webcomponents/p-11e93e42.entry.js +0 -1
- package/dist/genesys-webcomponents/p-296f7291.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2f1380f7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-390d6f42.js +0 -1
- package/dist/genesys-webcomponents/p-7d8466fe.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8bf2d9c7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a503a74b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e1119465.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ea7bd5b7.entry.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
import{r as e,c as t,h as g,H as l,g as i}from"./p-6e010355.js";import{t as o}from"./p-
|
1
|
+
import{r as e,c as t,h as g,H as l,g as i}from"./p-6e010355.js";import{t as o}from"./p-17fb3906.js";import{r as a}from"./p-0934300e.js";import{b as r}from"./p-a82e4a04.js";import"./p-4202e9f2.js";const n={defaultAriaLabel:"Toggle Switch",toggleIsLoading:"Toggle is loading",toggleIsFinishedLoading:"Toggle is finished loading"},s=class{constructor(g){e(this,g),this.check=t(this,"check",7),this.labelId=a("gux-toggle-label"),this.errorId=a("gux-toggle-error"),this.checked=!1,this.disabled=!1,this.loading=!1,this.checkedLabel=void 0,this.uncheckedLabel=void 0,this.labelPosition="right",this.errorMessage=void 0,this.displayInline=!1}handleLoading(e){this.announceElement.guxAnnounce(this.i18n(e?"toggleIsLoading":"toggleIsFinishedLoading"))}onKeydown(e){" "===e.key&&(e.preventDefault(),this.toggle())}toggle(){this.disabled||this.loading||this.check.emit(!this.checked).defaultPrevented||(this.checked=!this.checked)}getAriaLabel(){return this.root.getAttribute("aria-label")||this.root.title||this.i18n("defaultAriaLabel")}async componentWillLoad(){this.i18n=await r(this.root,n),o(this.root,{variant:this.checkedLabel||this.uncheckedLabel?"labled":"unlabled"})}renderLoading(){if(this.loading)return g("div",{class:"gux-toggle-label-loading"},g("gux-radial-loading",{context:"input"}))}renderLabel(){if(this.uncheckedLabel&&this.checkedLabel)return g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.checked?this.checkedLabel:this.uncheckedLabel),this.renderLoading()),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.checkedLabel),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.uncheckedLabel))))}renderError(){if(this.errorMessage)return g("div",{id:this.errorId,class:"gux-toggle-error"},g("div",{class:"gux-toggle-error-container"},g("gux-icon",{"icon-name":"fa/hexagon-exclamation-regular",decorative:!0}),g("div",{class:"gux-toggle-error-message"},this.errorMessage)))}render(){return g(l,{key:"7eced00f08c1bc6dfc21a51663c215cc15154c6e",class:{"gux-display-inline":this.displayInline}},g("div",{key:"79dba8367f6c421809f0c13f08bf3b4f1a5bf474",class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading}},g("div",{key:"1ce05af0f360feb5a959515608485cab517dc4b8",class:"gux-toggle-input",onClick:this.toggle.bind(this)},g("gux-toggle-slider",{key:"75c6467228164512b96b03d12bd709b01064f203",checked:this.checked,disabled:this.disabled||this.loading,guxAriaLabel:this.getAriaLabel(),labelId:this.checkedLabel&&this.uncheckedLabel?this.labelId:"",onKeyDown:this.onKeydown.bind(this),errorId:this.errorMessage?this.errorId:""}),this.renderLabel()),this.renderError()),g("gux-announce-beta",{key:"14d8814a92b176c00707baa870e46ba892ec9bc0",ref:e=>this.announceElement=e}))}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{loading:["handleLoading"]}}};s.style=':host{display:block;margin:2px;color:#2e394c;outline:none}:host(.gux-display-inline){display:inline-block}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:var(--gse-ui-toggle-disabled-opacity)}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{place-items:end}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:right}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;align-items:center;width:fit-content;cursor:pointer}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{display:grid;grid-template-areas:"inner-div";place-items:center start}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner{position:relative;grid-area:inner-div;font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);color:var(--gse-ui-formControl-label-labelColor);word-wrap:break-word}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner.gux-hidden{visibility:hidden}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;align-items:flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-size:var(--gse-ui-toggle-label-fontSize);color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container gux-icon{flex:0 1 auto;align-self:auto;order:0;width:var(--gse-ui-button-icon-size);height:var(--gse-ui-button-icon-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container .gux-toggle-error-message{flex:0 1 auto;align-self:auto;order:0}';export{s as gux_toggle}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as a,d as i,h as e,g as n}from"./p-6e010355.js";import{a as s}from"./p-cf0e7d3b.js";import{t as o}from"./p-
|
1
|
+
import{r as t,c as a,d as i,h as e,g as n}from"./p-6e010355.js";import{a as s}from"./p-cf0e7d3b.js";import{t as o}from"./p-17fb3906.js";const r=class{constructor(i){t(this,i),this.guxpaginationchange=a(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1,this.totalPages=void 0,this.displayedLayout=void 0}setPage(t){if(t<=0)return void this.setPage(1);const a=this.calculateTotalPages(this.totalItems,this.itemsPerPage);t>a?this.setPage(a):(this.currentPage=t,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(t){this.itemsPerPage=t.detail,this.setPage(1)}handleInternalcurrentpagechange(t){this.setPage(t.detail)}calculateTotalPages(t,a){return Math.max(1,Math.ceil(t/a))}calculateCurrentPage(t,a){return Math.max(t>0?1:0,Math.min(a,t))}checkPaginationContainerWidthForLayout(){i((()=>{const t=this.root.shadowRoot.querySelector(".gux-pagination-container"),a=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=t.clientWidth;a.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"46fdf9929fd216945b7efbe0ce6ad384aa206f79",class:"gux-pagination-container"},e("div",{key:"93c8d675c683057942cca027c172f6b04efa2594",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"16c33333b18c984b732b5cfd178ff2fcdf27beb7","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"f2ebb9fc3b301c9ebe844cdef26c94f20a48b6f3",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"653e9ee02e25e677c21c5ec60234f5aa58cc3bb0",class:"gux-pagination-spacer"}),e("div",{key:"f187b7414120c7f1bff4c09f3cfc47732ee7ab65",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"2034d5a7634a77bbe2874f401db9503d78e51bb6",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{r as gux_pagination}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as e,g as r}from"./p-6e010355.js";import{t as i}from"./p-
|
1
|
+
import{r as t,h as e,g as r}from"./p-6e010355.js";import{t as i}from"./p-17fb3906.js";import{O as o}from"./p-b0758688.js";import{b as s,g as n}from"./p-a82e4a04.js";import{u as a,a as u}from"./p-7f923c19.js";import{s as l}from"./p-2c25e2f2.js";import{b as h}from"./p-cf0e7d3b.js";import{g,a as c,b as d}from"./p-67d92675.js";import"./p-4202e9f2.js";const p={toggleCalendar:"Toggle month calendar view",month:"Month",year:"Year",unset:"Unset"};const f={year:"numeric",month:"long"},m=["ar","he","ja","ko","zh-cn","zh-tw"],b=class{constructor(e){t(this,e),this.value=void 0,this.min=void 0,this.max=void 0,this.disabled=!1,this.expanded=!1,this.locale=void 0}onKeyDown(t){"Escape"===t.key&&(this.expanded=!1,this.calendarToggleButtonElement.focus())}onValueUpdate(t){this.value=this.isOutOfBounds(t)?this.isBeforeMin(t)?this.min:this.max:t,l(this.root,"input"),l(this.root,"change")}onClickOutside(){this.expanded=!1}async componentWillLoad(){i(this.root),this.i18n=await s(this.root,p),this.locale=a()?u(this.root):n(this.root)}onFocusout(t){t.relatedTarget&&!this.root.contains(t.relatedTarget)&&(this.expanded=!1)}isOutOfBounds(t){return this.isBeforeMin(t)||this.isAfterMax(t)}isBeforeMin(t){return this.min&&this.min>t}isAfterMax(t){return this.max&&this.max<t}toggleCalendar(){this.expanded=!this.expanded,this.expanded&&h((()=>{this.monthCalendarElement.guxFocus(this.value)}))}onMonthCalendarInput(){this.value=this.monthCalendarElement.value,this.expanded=!1,this.calendarToggleButtonElement.focus()}incrementMonth(t){if(this.value){const{year:e,month:r}=g(this.value),i=((parseInt(r)+11+t)%12+1).toString().padStart(2,"0");this.value=c(e,i)}else this.value=d()}incrementYear(t){if(this.value){const{year:e,month:r}=g(this.value),i=Math.max(Number(e)+t,0).toString();this.value=c(i,r)}else this.value=d()}onSpinnerKeyDown(t,e,r){switch(t.key){case"ArrowDown":t.preventDefault(),e(-1);break;case"ArrowUp":t.preventDefault(),e(1);break;case"ArrowLeft":case"ArrowRight":t.preventDefault(),r.focus();break;case"Enter":t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)}));break;case" ":t.preventDefault()}}onSpinnerKeyUp(t){t.stopPropagation()," "===t.key&&(t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)})))}onSpinnerClick(){this.expanded=!0}getSpinnerLabel(t){if(this.value){const{year:e,month:r}=g(this.value);return new Date(Number(e),Number(r)-1).toLocaleDateString(this.locale,{[t]:f[t]})}return this.i18n(t)}getSpinnerValueNow(t){return this.value?g(this.value)[t]:"0"}getSpinnerValueText(){if(this.value){const{year:t,month:e}=g(this.value);return new Date(Number(t),Number(e)-1).toLocaleDateString(this.locale,{year:"numeric",month:"long"})}return this.i18n("unset")}renderMonthSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementMonth(t)),this.yearSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.monthSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("month"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"1","aria-valuemax":"12","aria-label":this.i18n("month")},this.getSpinnerLabel("month"))}renderYearSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementYear(t)),this.monthSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.yearSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("year"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"0","aria-label":this.i18n("year")},this.getSpinnerLabel("year"))}renderSpinnerButtons(){return m.includes(this.locale)?e("span",{class:"gux-display"},this.renderYearSpinnerButton(),this.renderMonthSpinnerButton()):e("span",{class:"gux-display"},this.renderMonthSpinnerButton(),this.renderYearSpinnerButton())}renderCalendarToggleButton(){return e("button",{class:{"gux-popup-toggle":!0,"gux-expanded":this.expanded},ref:t=>this.calendarToggleButtonElement=t,type:"button",onClick:()=>this.toggleCalendar(),disabled:this.disabled},e("gux-icon",{"icon-name":"fa/calendar-regular","screenreader-text":this.i18n("toggleCalendar")}))}renderTarget(){return e("div",{class:"gux-target",slot:"target"},this.renderSpinnerButtons(),this.renderCalendarToggleButton())}renderPopup(){return e("gux-month-calendar",{slot:"popup",ref:t=>this.monthCalendarElement=t,onInput:()=>this.onMonthCalendarInput(),value:this.value,min:this.min,max:this.max})}render(){return e("gux-popup",{key:"dbb99af69d5607c7b3110919c0da6ca433dd6abf",expanded:this.expanded,disabled:this.disabled,"exceed-target-width":!0},this.renderTarget(),this.renderPopup())}get root(){return r(this)}static get watchers(){return{value:["onValueUpdate"]}}};(function(t,e,r,i){var o,s=arguments.length,n=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);s>3&&n&&Object.defineProperty(e,r,n)})([o({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),b.style=":host{display:inline-block}.gux-target{display:inline-flex;gap:var(--gse-ui-formControl-input-gap);padding:var(--gse-ui-formControl-textarea-padding);cursor:pointer;background-color:var(--gse-ui-calendarMenu-backgroundColor);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-target:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target .gux-display{display:inline-flex;align-items:center;min-inline-size:100px;padding-inline-end:var(--gse-ui-formControl-input-gap);font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-target .gux-display .gux-spinner{outline:none}.gux-target .gux-display .gux-spinner:not(:first-child){margin-inline-start:4px}.gux-target .gux-display .gux-spinner:focus-visible{background:var(--gse-ui-calendarMenu-month-hover-backgroundColor)}.gux-target .gux-popup-toggle{justify-content:right;color:var(--gse-ui-monthPicker-calendarStates-defaultColor);background:transparent;border:none}.gux-target .gux-popup-toggle:focus-visible{border-radius:var(--gse-ui-calendarMenu-month-calendarButton-focusBorderRadius);outline:var(--gse-ui-monthPicker-calendarStates-focus-border-width) var(--gse-ui-monthPicker-calendarStates-focus-border-style) var(--gse-ui-monthPicker-calendarStates-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target .gux-popup-toggle:not(:disabled):hover{color:var(--gse-ui-monthPicker-calendarStates-hoverColor);cursor:pointer}.gux-target .gux-popup-toggle:not(:disabled):focus{color:var(--gse-ui-monthPicker-calendarStates-activeColor);cursor:pointer}.gux-target .gux-popup-toggle:disabled{color:var(--gse-ui-monthPicker-calendarStates-disabledColor)}.gux-target .gux-popup-toggle gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}.gux-target .gux-popup-toggle.gux-expanded{color:var(--gse-ui-monthPicker-calendarStates-activeColor)}";export{b as gux_month_picker_beta}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as a,h as s,H as i,g as h}from"./p-6e010355.js";import{t as
|
1
|
+
import{r as t,c as a,h as s,H as i,g as h}from"./p-6e010355.js";import{t as e}from"./p-17fb3906.js";const c=class{constructor(s){t(this,s),this.guxactivetabchange=a(this,"guxactivetabchange",7),this.tabList=void 0,this.tabPanels=[],this.activeTab=void 0}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,a]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=a.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,a,s){var i;this.activeTab=t||(null===(i=null==a?void 0:a.querySelector("gux-tab-advanced"))||void 0===i?void 0:i.getAttribute("tab-id")),a.guxSetActive(this.activeTab),s.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){e(this.root)}render(){return s(i,{key:"95f7fc2da1aeb19c9583cbb6db2175d2ea3cf2d9"},s("slot",{key:"67b40a6828cdc96b96731f4c0a3d312f367695ad",name:"tab-list"}),s("slot",{key:"02aa1ce15ef08662dc1f3679aa66098755e111b5",onSlotchange:this.onSlotchange.bind(this)}))}get root(){return h(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};export{c as gux_tabs_advanced}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as o,h as e,g as r}from"./p-6e010355.js";import{c as t,o as i}from"./p-f4751a15.js";import{O as n}from"./p-e720c07a.js";import{o as l}from"./p-e5b1cffc.js";import{p as a}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as u,G as f}from"./p-b8c3ecdc.js";import{G as d,a as p}from"./p-7e76ac06.js";import{g as c,v as g,a as h}from"./p-42f2e889.js";import{t as m}from"./p-
|
1
|
+
import{r as o,h as e,g as r}from"./p-6e010355.js";import{c as t,o as i}from"./p-f4751a15.js";import{O as n}from"./p-e720c07a.js";import{o as l}from"./p-e5b1cffc.js";import{p as a}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as u,G as f}from"./p-b8c3ecdc.js";import{G as d,a as p}from"./p-7e76ac06.js";import{g as c,v as g,a as h}from"./p-42f2e889.js";import{t as m}from"./p-17fb3906.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const b=class{constructor(e){o(this,e),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition=void 0,this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(o){var e,r;"Tab"===o.key?this.input.matches(":focus-visible")&&(null===(e=this.labelInfo)||void 0===e||e.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var o;null===(o=this.labelInfo)||void 0===o||o.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var o;null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return e(p,{key:"bffb48ffc891f5ee3f946aaa98ebc113e455911c",labelPosition:this.computedLabelPosition},e(d,{key:"d797d8a95fb9746131a5a30ca8697a3496d3840e",required:this.required,position:this.computedLabelPosition},e("slot",{key:"8a87981c5ae36338bcf92223f781d9381d4d3435",name:"label",onSlotchange:()=>this.setLabel()}),e("gux-form-field-label-indicator",{key:"d88e939341d482a4550268a421cf2dec8325beb2",variant:this.indicatorMark,required:this.required}),e("slot",{key:"f8e5c7fe81d2a0b7931d781c107959851e9d0c56",name:"label-info"})),e("div",{key:"0fc3b7df8694740a7f8fd56969034a8e8a8c89f7",class:"gux-input-and-error-container"},e("div",{key:"bfafbb89e81b05187f7ef5228f9d8d9a22472509",class:{"gux-input":!0,"gux-input-error":this.hasError}},e("div",{key:"6287062f02784c6999acb35c9c4bd7bb9e097a17",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},e("slot",{key:"db22af17d7e9f8b094773d94aff017cd0725ce53",name:"input",onSlotchange:()=>this.setInput()}))),e(u,{key:"c8222e8eba56fb15ba02f359253bef24fbc02c6f",show:this.hasError},e("slot",{key:"c39e694244391d5480058c97b61539db03ec29fe",name:"error"})),e(f,{key:"5038c1d3b848f41a69b1293731b5c2e91576de41",show:!this.hasError&&this.hasHelp},e("slot",{key:"d310790e690634a236e014c7beae3ec7f14204db",name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="color"][slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(o=>{this.disabled=o})),this.requiredObserver=l(this.input,(o=>{this.required=o})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}get root(){return r(this)}};(function(o,e,r,t){var i,n=arguments.length,l=n<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,e,r,t);else for(var a=o.length-1;a>=0;a--)(i=o[a])&&(l=(n<3?i(l):n>3?i(e,r,l):i(e,r))||l);n>3&&l&&Object.defineProperty(e,r,l)})([n({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=".gux-form-field-container.gux-beside{display:flex;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;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-width:var(--gse-ui-icon-small-size);min-height:var(--gse-ui-icon-small-size);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(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-bottom: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-top: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:0 1 auto;align-self:auto;order:0;width:var(--gse-ui-colorPicker-input-swatchSizing);min-width:var(--gse-ui-colorPicker-input-swatchSizing);height:var(--gse-ui-colorPicker-input-swatchSizing);padding:0;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);color:var(--gse-ui-formControl-input-populatedColor);text-align:right;text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.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;align-self:auto;order:0;width:var(--gse-ui-formControl-input-colorPicker-size);height:var(--gse-ui-formControl-input-colorPicker-size);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-input-and-error-container .gux-input .gux-input-container:hover{cursor:pointer;border-color: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{b as gux_form_field_color}
|
@@ -1 +1 @@
|
|
1
|
-
import{r,h as d,g as a}from"./p-6e010355.js";import{t as e}from"./p-
|
1
|
+
import{r,h as d,g as a}from"./p-6e010355.js";import{t as e}from"./p-17fb3906.js";const o=class{constructor(d){r(this,d),this.accent="bordered"}componentWillLoad(){e(this.root,{variant:this.accent})}render(){return d("div",{key:"5e84b027dcff30a7cbdf502f0266e6ce1fafa063",class:{"gux-card":!0,[`gux-${this.accent}`]:!0}},d("slot",{key:"c4b5f89a0f7e66c6a29da8f295972b0f8d04fb6f"}))}get root(){return a(this)}};o.style=":host{display:block;width:fit-content}.gux-card{box-sizing:border-box;padding:var(--gse-ui-card-padding);background-color:var(--gse-ui-card-backgroundColor);border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color);border-radius:var(--gse-ui-card-borderRadius)}.gux-card.gux-bordered{border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color)}.gux-card.gux-raised{border:var(--gse-ui-card-raised-border-width) var(--gse-ui-card-raised-border-style) var(--gse-ui-card-raised-border-color);box-shadow:var(--gse-ui-card-raised-boxShadow-offsetX) var(--gse-ui-card-raised-boxShadow-offsetY) var(--gse-ui-card-raised-boxShadow-blur) var(--gse-ui-card-raised-boxShadow-spread) var(--gse-ui-card-raised-boxShadow-color)}.gux-card.gux-borderless{border:var(--gse-ui-card-borderless-border-width) var(--gse-ui-card-borderless-border-style) var(--gse-ui-card-borderless-border-color)}";export{o as gux_card}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as t,H as o,g as s}from"./p-6e010355.js";import{t as a}from"./p-
|
1
|
+
import{r as e,h as t,H as o,g as s}from"./p-6e010355.js";import{t as a}from"./p-17fb3906.js";import{O as i}from"./p-b0758688.js";import{b as r}from"./p-a82e4a04.js";import{b as n}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const u={additionalActions:"Additional Actions"};const b=class{constructor(t){e(this,t),this.showMenu=void 0,this.expanded=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.expanded=!1,t.includes(this.listElement)&&(e.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":t.includes(this.dropdownButton)&&(e.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.dropdownButton)&&(this.expanded=!0,this.focusFirstItemInPopupList())}onFocusin(){this.tooltipTitleElement.setShowTooltip()}onFocusout(){this.tooltipTitleElement.setHideTooltip()}toggle(){this.expanded=!this.expanded,this.expanded&&this.focusPopupList()}onClickOutside(){this.expanded=!1}focusPopupList(){n((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}async componentWillLoad(){this.i18n=await r(this.root,u),a(this.root)}render(){return t(o,{key:"274f7fb6d01de9b490e666732a0e4c2b5d21dbfb",class:{"gux-show-menu":this.showMenu}},t("gux-popup",{key:"cc97aa4c6de35900361b964526b25b9859266b1b",expanded:this.expanded,"exceed-target-width":!0},t("div",{key:"16c37cfa53fb42607145c35ad0a1b5007e3b81e1",slot:"target",class:"gux-toolbar-menu-container"},t("gux-button-slot",{key:"f060eb243819061464cce829257648f40b94de1d",class:"gux-menu-button"},t("button",{key:"22b948e4c19ee39f7f2ba006524be472f05faeb4",type:"button",ref:e=>this.dropdownButton=e,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},t("gux-tooltip-title",{key:"60810e6732bb7a6ee24b2649599012f472d8ba97",ref:e=>this.tooltipTitleElement=e},t("span",{key:"5415bafd4640329eee48fd30d8fc377103a1f48a"},t("gux-icon",{key:"1bd37ada9db62cf6e1f0d99bd303993e0ec2ba60","screenreader-text":this.i18n("additionalActions"),"icon-name":"fa/ellipsis-regular"})))))),t("div",{key:"fb3803671ce7df9f90e622338d49be7af30e2609",class:"gux-list-container",slot:"popup"},t("gux-list",{key:"3015f722711301eba9aae5ab40dd9cfacfa6b2aa",ref:e=>this.listElement=e},t("slot",{key:"10097273fc34a649e6f1d2581ea9144f5e0cbbb0"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}};(function(e,t,o,s){var a,i=arguments.length,r=i<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,s);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(r=(i<3?a(r):i>3?a(t,o,r):a(t,o))||r);i>3&&r&&Object.defineProperty(t,o,r)})([i({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),b.style=":host{display:none;-webkit-user-select:none;user-select:none}:host(.gux-show-menu){display:block}.gux-menu-button button{color:var(--gse-ui-button-secondary-default-foregroundColor);cursor:grab;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none}.gux-menu-button button gux-icon{width:var(--gse-ui-icon-small-size);height:var(--gse-ui-icon-small-size)}.gux-list-container{width:min-content;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-offsetX) var(--gse-ui-menu-boxShadow-offsetY) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}";export{b as gux_table_toolbar_menu_button}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,h as s,H as i,g as o}from"./p-6e010355.js";import{c as r,h as a,s as n,a as h,b as u,d,e as l,f as c,i as g,j as m,k as p,o as v}from"./p-787c5373.js";import{b}from"./p-a82e4a04.js";import{w as x}from"./p-e97879b4.js";import{s as f}from"./p-2c25e2f2.js";import{t as w}from"./p-
|
1
|
+
import{r as t,c as e,h as s,H as i,g as o}from"./p-6e010355.js";import{c as r,h as a,s as n,a as h,b as u,d,e as l,f as c,i as g,j as m,k as p,o as v}from"./p-787c5373.js";import{b}from"./p-a82e4a04.js";import{w as x}from"./p-e97879b4.js";import{s as f}from"./p-2c25e2f2.js";import{t as w}from"./p-17fb3906.js";import{b as S}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const y={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},O=class{constructor(s){t(this,s),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.emptyMessage=void 0,this.listboxOptions=[],this.allListboxOptionsFiltered=void 0,this.hasExactMatch=!1}onBlur(){r(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var e;if(!a(this.root))return t.preventDefault(),void n(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(e=this.optionCreateElement)||void 0===e?void 0:e.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),S((()=>{n(this.root)}))):m(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),g(this.root)):u(this.root));case"ArrowUp":return t.preventDefault(),void(d(this.root)?(t.stopPropagation(),l(this.root)):h(this.root));case"Home":return t.preventDefault(),void u(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||p(this.root,t.key)}onKeyup(t){var e;" "!==t.key||((null===(e=this.optionCreateElement)||void 0===e?void 0:e.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),S((()=>{n(this.root)}))):m(this.root,(t=>this.updateValue(t))))}onMousemove(){r(this.root)}onClick(t){x("gux-option-multi",t,(t=>{v(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){m(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((e=>{var s,i;(null===(i=null===(s=e.textContent)||void 0===s?void 0:s.toLowerCase())||void 0===i?void 0:i.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return this.value?this.value.split(","):[]}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&(t.filtered=!t.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase()))}))}updateValue(t){if(this.getSelectedValues().includes(t))this.value=this.getSelectedValues().filter((e=>e!==t)).join(",");else{const e=[...this.getSelectedValues(),t];this.value=e.join(",")}f(this.root,"input"),f(this.root,"change")}async componentWillLoad(){w(this.root),this.i18n=await b(this.root,y),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return s("div",{hidden:!0},s("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[s("div",{class:"gux-message-container"},s("gux-radial-loading",{context:"modal"}),s("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[s("div",{class:"gux-message-container"},s("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return s("slot",{name:"create"})}render(){return this.loading?this.renderLoading():s(i,{role:"listbox","aria-multiselectable":"true",tabindex:0},s("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};O.style=":host{box-sizing:border-box;display:block;max-height:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow-y:auto;scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor);background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);outline:none;box-shadow:var(--gse-ui-menu-boxShadow-offsetX) var(--gse-ui-menu-boxShadow-offsetY) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;height:var(--gse-ui-menu-option-height);font-family:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontFamily);font-size:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontSize);font-weight:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontWeight);line-height:var(--gse-ui-dropdown-menu-emptyState-subheader-text-lineHeight);color:var(--gse-ui-dropdown-menu-emptyState-subheader-foregroundColor)}";export{O as gux_listbox_multi}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as r,g as s}from"./p-6e010355.js";import{t}from"./p-
|
1
|
+
import{r as e,h as r,g as s}from"./p-6e010355.js";import{t}from"./p-17fb3906.js";const a=class{constructor(r){e(this,r),this.screenreaderText=void 0}componentWillLoad(){t(this.root)}render(){return r("gux-radial-loading",{key:"017598be977cdb5f42643f71a2f48e4ae473a0f7",class:"gux-spinner","screenreader-text":this.screenreaderText,context:"full-page"})}get root(){return s(this)}};a.style=":host{display:flex}.gux-spinner{margin:auto}";export{a as gux_page_loading_spinner}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as o,c as a,h as t,g as e}from"./p-6e010355.js";import{b as g}from"./p-a82e4a04.js";import{t as r}from"./p-
|
1
|
+
import{r as o,c as a,h as t,g as e}from"./p-6e010355.js";import{b as g}from"./p-a82e4a04.js";import{t as r}from"./p-17fb3906.js";import"./p-4202e9f2.js";const u={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"},c=class{constructor(t){o(this,t),this.guxdelete=a(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold",this.label=void 0}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onSlotChange(o){const a=o.composedPath()[0].assignedNodes();this.label=a.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return t("gux-tooltip-title",null,t("span",null,t("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return t("div",{class:"gux-sr-only"},this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return t("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},t("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular","screenreader-text":this.i18n("remove-tag",{label:this.label})}))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,u)}render(){return t("div",{key:"5b8c83cfa5d4e5e88a335f6ac0cf2b4a263b104f",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};c.style=':host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;height:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-text-fontFamily);font-size:var(--gse-ui-tag-text-fontSize);font-weight:var(--gse-ui-tag-text-fontWeight);line-height:var(--gse-ui-tag-text-lineHeight);color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-small{height:var(--gse-ui-tag-small-height)}.gux-tag.gux-size-large{height:var(--gse-ui-tag-large-height)}.gux-tag.gux-disabled{position:relative}.gux-tag.gux-disabled::before{position:absolute;inset:0;content:"";background-color:#fff;border-radius:var(--gse-ui-tag-borderRadius);opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{width:var(--gse-ui-tag-button-size);height:var(--gse-ui-tag-button-size);margin-right:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{border-radius:var(--gse-semantic-focusOutline-sm-borderRadius);outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-ui-color-focus)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}';export{c as gux_tag}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as o,h as e,H as t,g as r}from"./p-6e010355.js";import{t as a}from"./p-17fb3906.js";const i=class{constructor(e){o(this,e),this.placement="page-desktop"}componentWillLoad(){a(this.root,{variant:this.placement})}render(){return e(t,{key:"e029fc31ed5de0869aa0705225162559c53e0705",class:{[`gux-form-footer-${this.placement}`]:!0}},e("slot",{key:"3acdbefafd30f736eeee6ef36f64f6e1ad273211"}))}get root(){return r(this)}};i.style=":host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}:host(.gux-form-footer-modal-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);justify-content:flex-end;padding-block:var(--gse-ui-formFooter-modal-desktop-topPadding) var(--gse-ui-formFooter-modal-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-modal-desktop-horizontalPadding) var(--gse-ui-formFooter-modal-desktop-horizontalPadding)}";export{i as gux_form_footer}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as a,g as n}from"./p-6e010355.js";import{t as i}from"./p-
|
1
|
+
import{r as e,h as a,g as n}from"./p-6e010355.js";import{t as i}from"./p-17fb3906.js";const g=class{constructor(a){e(this,a)}componentWillLoad(){i(this.root)}render(){return a("div",{key:"2a491ffbfbab331acdb1689bb19b318baf2c52a6",class:"gux-container",role:"alert","aria-live":"assertive"},a("div",{key:"c544e6f1a01e0c1b8adab7db367cc63c4469d42d",class:"gux-progress"},a("slot",{key:"90fc79b0b8443cf46ca8fa944d6a1c13430ae716",name:"progress"})),a("div",{key:"37116499b176c0f63b9f919aaa15031455480a51",class:"gux-primary-message"},a("slot",{key:"8d53d0a567e204dad15ee021c58c6b42eb106556",name:"primary-message"})),a("div",{key:"ffd6ca8139a4b3797a61ce9337f191323986952d",class:"gux-additional-guidance"},a("slot",{key:"04caaef6d427e5d4f28aa793e9936fc0a71fcf37",name:"additional-guidance"})))}get root(){return n(this)}};g.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-width: var(--gse-ui-progressAndLoading-loadingState-large-width);\n color: var(--gse-ui-progressAndLoading-textColor);\n text-align: center;\n}\n\n@container (width > 400px) {\n .gux-container .gux-primary-message {\n margin-top: var(--gse-ui-progressAndLoading-large-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-top: var(--gse-ui-progressAndLoading-large-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight);\n }\n}\n@container (width > 200px) and (width <=400px) {\n .gux-container .gux-primary-message {\n margin-top: var(--gse-ui-progressAndLoading-medium-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-top: var(--gse-ui-progressAndLoading-medium-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight);\n }\n}\n@container (width <=200px) {\n .gux-container .gux-primary-message {\n margin-top: var(--gse-ui-progressAndLoading-small-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-top: var(--gse-ui-progressAndLoading-small-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight);\n }\n}";export{g as gux_loading_message}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as s,h as i,H as a,g as e}from"./p-6e010355.js";import{t as h}from"./p-
|
1
|
+
import{r as t,c as s,h as i,H as a,g as e}from"./p-6e010355.js";import{t as h}from"./p-17fb3906.js";const c=class{constructor(i){t(this,i),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.activeTab=void 0,this.orientation="horizontal",this.alignment="left",this.tabList=void 0,this.tabPanels=[]}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,i){this.activeTab=t||i[0].tabId,s.guxSetActive(this.activeTab),i.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){h(this.root)}render(){return i(a,{key:"7aa6d39be809f128ba1b851fd9a51d42dd5cb17d"},i("div",{key:"b7b87f47c3a08ff574cfa1b3fb124596e133b92e",class:`gux-tabs gux-${this.alignment} gux-${this.orientation}`},i("slot",{key:"9c8dc312a0118b16e2dd8ce73e3b4e0f5a5b54c6",name:"tab-list"}),i("div",{key:"be2db28e97a606fc24984e0dff8f14b5163f842c",class:`gux-${this.alignment} gux-${this.orientation} gux-panel-container`},i("slot",{key:"bce112629a27632569bd70aaf9bcd2130be489af",onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return e(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};c.style=":host{display:flex;flex-direction:column}:host .gux-tabs{display:flex;height:100%}:host .gux-tabs:not(.gux-vertical){flex-direction:column}:host .gux-panel-container{display:flex;flex-direction:column;height:100%;min-height:0}";export{c as gux_tabs}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as o,g as e}from"./p-6e010355.js";import{t as i}from"./p-
|
1
|
+
import{r as t,h as o,g as e}from"./p-6e010355.js";import{t as i}from"./p-17fb3906.js";import{g as r}from"./p-0268a3e8.js";const a=class{constructor(o){t(this,o),this.iconName=void 0,this.placement="right"}componentWillLoad(){i(this.root)}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}render(){return o("div",{key:"3b20ccaf0e499e8429c53e8c1fb7797f9670a847",class:"gux-icon-tooltip"},o("gux-screen-reader-beta",{key:"856479e539bc5fa9d31bbecdb515bb3cb12e3480"},o("slot",{key:"b2ba5630a1e21a86cdf1a1c88a288be655caecee",name:"content"})),o("gux-icon",{key:"34df8f3f0d589512db100f7dbffae33f1f0c9886","icon-name":this.iconName,size:"small",decorative:!0}),o("gux-tooltip-beta",{key:"13f395f1bc88341ba85d8f4b7ac6e170d42d339c",placement:this.placement,ref:t=>this.tooltip=t},o("div",{key:"903935e57e9c178e07cdb04b798dd5bf473f89b3",slot:"content"},r(this.root,"content"))))}get root(){return e(this)}};a.style=".gux-icon-tooltip{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-icon-tooltip gux-tooltip{padding-inline-start:0}.gux-icon-tooltip gux-icon{color:var(--gse-ui-formControl-label-tooltipTrigger-color);vertical-align:bottom}";export{a as gux_icon_tooltip_beta}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as i,H as o,g as e}from"./p-6e010355.js";import{a as s,o as r,f as a,s as l,h as n,c as d}from"./p-
|
1
|
+
import{r as t,h as i,H as o,g as e}from"./p-6e010355.js";import{a as s,o as r,f as a,s as l,h as n,c as d}from"./p-31c31fe6.js";import{r as h}from"./p-0934300e.js";import{t as c}from"./p-17fb3906.js";import{f as g}from"./p-9b0d3713.js";import{b as p}from"./p-cf0e7d3b.js";const u=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=h("gux-tooltip"),this.for=void 0,this.placement="bottom-start",this.accent="light",this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition=s(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[r(16),a(),l(),n()];d(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:o})=>{var e;Object.assign(this.root.style,{left:`${t}px`,top:`${i}px`,visibility:(null===(e=o.hide)||void 0===e?void 0:e.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){this.isShown=!0,p((()=>{this.runUpdatePosition()}))}hide(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}getForElement(){return this.for?g(this.root,this.for):this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}setForElement(){this.forElement=this.getForElement(),this.forElement?(this.forElement.setAttribute("aria-describedby",this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t)))):this.logForAttributeError()}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(o,{key:"3f81fdb6a0d2d242d2263f5212afc6aeb31d852a",id:this.id,class:{"gux-show":this.isShown},role:"tooltip"},i("div",{key:"4f386390d1c2cc7980af439d669320ed26679f8d",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"e0563bdfa7c6ed922f1e84a832dd94590938f4d8",name:"content"},i("slot",{key:"682dd6e152023e0e27854c105806757018a9dcd9"}))))}get root(){return e(this)}static get watchers(){return{for:["updateForElement"]}}};u.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;width:max-content;max-width:250px;pointer-events:none;border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow-offsetX) var(--gse-ui-tooltip-boxShadow-offsetY) var(--gse-ui-tooltip-boxShadow-blur) var(--gse-ui-tooltip-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;width:var(--gse-ui-icon-small-size);height:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){width:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border-color:var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;width:var(--gse-ui-icon-small-size);height:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{u as gux_tooltip}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as o,g as r}from"./p-6e010355.js";import{c as t,o as i}from"./p-f4751a15.js";import{O as a}from"./p-e720c07a.js";import{o as n}from"./p-e5b1cffc.js";import{p as l}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as u,G as d}from"./p-b8c3ecdc.js";import{G as f,a as g}from"./p-7e76ac06.js";import{v as h,a as p}from"./p-42f2e889.js";import{t as c}from"./p-
|
1
|
+
import{r as e,h as o,g as r}from"./p-6e010355.js";import{c as t,o as i}from"./p-f4751a15.js";import{O as a}from"./p-e720c07a.js";import{o as n}from"./p-e5b1cffc.js";import{p as l}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as u,G as d}from"./p-b8c3ecdc.js";import{G as f,a as g}from"./p-7e76ac06.js";import{v as h,a as p}from"./p-42f2e889.js";import{t as c}from"./p-17fb3906.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m=class{constructor(o){e(this,o),this.resize=void 0,this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.disabled=void 0,this.required=!0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),c(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(g,{key:"2df8e8c0180df0cc9ccc6aa2cebc48705925b2e4",labelPosition:this.computedLabelPosition},o(f,{key:"9772db76e39f4642f7ab05f660dc516dc0467ebf",required:this.required,position:this.computedLabelPosition},o("slot",{key:"abb7ea432242cf62d860caf1c9c0a2d3a9691744",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"fd8256a8d319cc0b49a7c950ac5c6513de00bd42",variant:this.indicatorMark,required:this.required}),o("slot",{key:"0b579b3ee118d7c85944193ff5b3cb4c943aec9c",name:"label-info"})),o("div",{key:"5aa038f7173b329bde1dd5452924b472b6dc5429",class:"gux-input-and-error-container"},o("div",{key:"da0492cf401dedf4ce4634a4e8b543a125bca2b1",ref:e=>this.textareaContainerElement=e,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},o("slot",{key:"4d8f6336f444db1ece5f794a10f44d642a8ad684",name:"input"})),o(u,{key:"73a719a285cc1eb1c53943834231fe876d6b6053",show:this.hasError},o("slot",{key:"1962caac9f235239eeec00c2767ada47c9bba4e4",name:"error"})),o(d,{key:"89fabd0537049dd567095190180b61b6a1426257",show:!this.hasError&&this.hasHelp},o("slot",{key:"ab914b417d16a31090c77485bcad9be32e82e250",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${e}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),l(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=n(this.input,(e=>{this.required=e})),h(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(this.label,this.labelPosition)}updateHeight(e,o,r){"auto"===r&&e&&(e.dataset.replicatedValue=o.value,e.style.maxHeight=o.style.maxHeight)}get root(){return r(this)}};(function(e,o,r,t){var i,a=arguments.length,n=a<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,o,r,t);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(n=(a<3?i(n):a>3?i(o,r,n):i(o,r))||n);a>3&&n&&Object.defineProperty(o,r,n)})([a({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-width:var(--gse-ui-icon-small-size);min-height:var(--gse-ui-icon-small-size);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(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-bottom: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-top: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(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;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);resize:vertical;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none;padding:var(--gse-ui-formControl-textarea-padding);margin:0}::slotted(textarea)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}::slotted(textarea)[disabled]{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:flex;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);outline:none}.gux-input-and-error-container .gux-input:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-input-and-error-container .gux-input: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{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-input-and-error-container .gux-input.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) " ";padding:var(--gse-ui-formControl-textarea-padding);margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}';export{m as gux_form_field_textarea}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,h as i,g as s}from"./p-6e010355.js";import{r as o}from"./p-0934300e.js";import{t as r}from"./p-
|
1
|
+
import{r as t,c as e,h as i,g as s}from"./p-6e010355.js";import{r as o}from"./p-0934300e.js";import{t as r}from"./p-17fb3906.js";import{b as a}from"./p-a82e4a04.js";import"./p-4202e9f2.js";const n={defaultLabel:"Disclosure button"},c=class{constructor(i){t(this,i),this.active=e(this,"active",7),this.panelId=o("gux-disclosure-button-panel"),this.position="left",this.label=void 0,this.isOpen=!1,this.icon="fa/caret-right-solid"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){this.icon="right"===this.position?this.isOpen?"fa/caret-right-solid":"fa/caret-left-solid":this.isOpen?"fa/caret-left-solid":"fa/caret-right-solid"}async componentWillLoad(){r(this.root,{variant:this.position}),this.i18n=await a(this.root,n),this.updateIcon()}render(){return i("div",{key:"c86ca154ee39b542f054dd8b74ff2656d1f1f4d0",class:`gux-disclosure-button-container gux-${this.position}`},i("button",{key:"22314053c0f38be9611b79abebec2275a6239841",class:"gux-disclosure-button",onClick:()=>this.changeState(),"aria-controls":this.panelId,"aria-expanded":this.isOpen.toString(),"aria-label":this.label||this.i18n("defaultLabel")},i("gux-icon",{key:"98236cc2f4de533a0fdd67647310f6e8acde7e28","icon-name":`${this.icon}`,decorative:!0})),i("div",{key:"695f34e38ef7e0815eef143419c138abd327a364",id:this.panelId,class:{"gux-disclosure-panel":!0,"gux-active":this.isOpen},role:"region"},i("slot",{key:"a095f40d6bfa57f03b260272ce8c6a04be76ae77",name:"panel-content"})))}get root(){return s(this)}static get watchers(){return{isOpen:["watchIsOpen"]}}};c.style=":host{height:100%;color:var(--gse-ui-tabs-item-icon-iconColor)}.gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}.gux-disclosure-button-container .gux-disclosure-button{width:16px;padding:0;margin:0;color:var(--gse-ui-tabs-item-icon-iconColor);background:transparent;border-top:none;border-right:1px solid var(--gse-ui-tabs-item-divider-dividerColor);border-bottom:none;border-left:1px solid var(--gse-ui-tabs-item-divider-dividerColor)}.gux-disclosure-button-container .gux-disclosure-button gux-icon{width:12px;height:12px}.gux-disclosure-button-container .gux-disclosure-button:focus-visible{outline:var(--gse-semantic-border-focus) solid var(--gse-semantic-focusOutline-md-borderWidth);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-disclosure-button-container .gux-disclosure-panel{display:none;order:-1;width:100%}.gux-disclosure-button-container .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-container.gux-right{justify-content:flex-end}.gux-disclosure-button-container.gux-right .gux-disclosure-panel{order:1}";export{c as gux_disclosure_button_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as a,H as i,g as s}from"./p-6e010355.js";import{s as e}from"./p-2c25e2f2.js";import{c as r}from"./p-a43079c8.js";import{t as o}from"./p-
|
1
|
+
import{r as t,h as a,H as i,g as s}from"./p-6e010355.js";import{s as e}from"./p-2c25e2f2.js";import{c as r}from"./p-a43079c8.js";import{t as o}from"./p-17fb3906.js";import{a as n}from"./p-8eaf8caf.js";const h=class{constructor(a){t(this,a),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1,this.increment="default"}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[a]=t.composedPath(),i=a.getRootNode(),s=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===i))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)?this.updateRatingValue("half"===this.increment?s-.5:s):this.updateRatingValue(s)}onKeyDown(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const a="half"===this.increment?.5:1;switch(t.key){case"ArrowUp":t.preventDefault(),this.updateRatingValue(this.value+a);break;case"ArrowDown":t.preventDefault(),this.updateRatingValue(this.value-a);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const a=r(t,0,Array.from(this.starContainer.children).length),i="half"===this.increment?.5:1,s=Math.round(a/i)*i;this.value!==s&&(this.value=s,e(this.root,"input"),e(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,a)=>t.concat(a+.5===this.value?"fa/star-sharp-half-stroke-regular":a+1<=this.value?"fa/star-solid":"fa/star-regular")),[]).map((t=>a("gux-icon",{"icon-name":t,decorative:!0})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){o(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||n(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return a(i,{key:"a1976577e15e8ab80dfbac88b4911b910347fe95",role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},a("div",{key:"d562502e1cced11258f30329bcc590143e427a9f",ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return s(this)}};h.style=":host{display:inline-block;min-width:fit-content;user-select:none}:host(:host:focus-visible){outline:var(--gse-semantic-border-focus) solid var(--gse-semantic-focusOutline-sm-borderWidth);outline-offset:var(--gse-semantic-focusOutline-offset);box-shadow:0 0 0 1px var(--gse-semantic-border-focus)}.gux-rating-star-container{display:flex;gap:var(--gse-ui-rating-star-gap);justify-content:space-between;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container.gux-disabled{color:var(--gse-ui-rating-disabled-color);pointer-events:none;opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{flex:0 0 auto;width:var(--gse-ui-rating-size);height:var(--gse-ui-rating-size);color:var(--gse-ui-rating-default-color)}.gux-rating-star-container gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color)}";export{h as gux_rating}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,f as o,h as r,g as t}from"./p-6e010355.js";import{O as i}from"./p-e720c07a.js";import{h as l}from"./p-6d8b4027.js";import{a}from"./p-8eaf8caf.js";import{b as s}from"./p-a82e4a04.js";import{s as n}from"./p-2c25e2f2.js";import{G as f,a as h}from"./p-b8c3ecdc.js";import{G as u,a as g,b as c}from"./p-d413b7e2.js";import{g as d}from"./p-0268a3e8.js";import{t as p}from"./p-7d11c359.js";import"./p-4202e9f2.js";function x(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=m(e).length,r=function(e){return m(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function m(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}const b={required:"Required"};const v=class{constructor(o){e(this,o),this.indicatorMark="required",this.required=!1,this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info")}async componentWillLoad(){this.getI18nValue=await s(this.root,b),this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),p(this.root)}componentDidLoad(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,m(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,n(e,"input"),n(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&a(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&a(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(c,{key:"eb6d5e1264e56e8a73a4356d623aba7c6b60b62c",labelPosition:"above"},r(g,{key:"e7ec8f166db0159eb0b6a81ae9b45e7fdc96bf63"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"group-error"),this.hasGroupError),this.renderText(d(this.root,"group-help"),this.hasGroupHelp),this.renderText(d(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(u,{key:"02e7158a843ee19d2908abbe13bf2f9968fc6a10",position:"above",required:this.required},r("slot",{key:"369538468330536f02de1b417b3fb08cc40fc322",name:"group-label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"6ca1f850095b8a582d70c761887e8de424786d54",variant:this.indicatorMark,required:this.required}),r("slot",{key:"1100f9634cfcc3ca55060e2101ac2d1db34425d7",name:"group-label-info"})),r("slot",{key:"98981d04dc1b5a369755ac1ff1ac4d75e178a623",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"852c9507202d6964939a42e63ab688d3b9895fef",onSlotchange:()=>this.updateMainCheckbox()}),r(h,{key:"14aacf9247177a4397c34a95ffb00c84ba5b88d6",show:this.hasGroupError},r("slot",{key:"d56702ee50afa28e0ae42ccbd35dcdbab214255d",name:"group-error"})),r(f,{key:"8877722e11c20246e99c41844e541cc1a6b8be9b",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"5e17244f6bb475afb21645b4a7c6d169ab4e825f",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var i,l=arguments.length,a=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(l<3?i(a):l>3?i(o,r,a):i(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-width:var(--gse-ui-icon-small-size);min-height:var(--gse-ui-icon-small-size);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-top:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-width:var(--gse-ui-icon-small-size);min-height:var(--gse-ui-icon-small-size);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-top:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-bottom:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-top:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-top:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-left:24px}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-left:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{v as gux_form_field_checkbox_group_beta}
|
1
|
+
import{r as e,f as o,h as r,g as t}from"./p-6e010355.js";import{O as i}from"./p-e720c07a.js";import{h as l}from"./p-6d8b4027.js";import{a}from"./p-8eaf8caf.js";import{b as s}from"./p-a82e4a04.js";import{s as n}from"./p-2c25e2f2.js";import{G as f,a as h}from"./p-b8c3ecdc.js";import{G as u,a as g,b as c}from"./p-d413b7e2.js";import{g as d}from"./p-0268a3e8.js";import{t as p}from"./p-17fb3906.js";import"./p-4202e9f2.js";function x(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=m(e).length,r=function(e){return m(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function m(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}const b={required:"Required"};const v=class{constructor(o){e(this,o),this.indicatorMark="required",this.required=!1,this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info")}async componentWillLoad(){this.getI18nValue=await s(this.root,b),this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),p(this.root)}componentDidLoad(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,m(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,n(e,"input"),n(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&a(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&a(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(c,{key:"eb6d5e1264e56e8a73a4356d623aba7c6b60b62c",labelPosition:"above"},r(g,{key:"e7ec8f166db0159eb0b6a81ae9b45e7fdc96bf63"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"group-error"),this.hasGroupError),this.renderText(d(this.root,"group-help"),this.hasGroupHelp),this.renderText(d(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(u,{key:"02e7158a843ee19d2908abbe13bf2f9968fc6a10",position:"above",required:this.required},r("slot",{key:"369538468330536f02de1b417b3fb08cc40fc322",name:"group-label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"6ca1f850095b8a582d70c761887e8de424786d54",variant:this.indicatorMark,required:this.required}),r("slot",{key:"1100f9634cfcc3ca55060e2101ac2d1db34425d7",name:"group-label-info"})),r("slot",{key:"98981d04dc1b5a369755ac1ff1ac4d75e178a623",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"852c9507202d6964939a42e63ab688d3b9895fef",onSlotchange:()=>this.updateMainCheckbox()}),r(h,{key:"14aacf9247177a4397c34a95ffb00c84ba5b88d6",show:this.hasGroupError},r("slot",{key:"d56702ee50afa28e0ae42ccbd35dcdbab214255d",name:"group-error"})),r(f,{key:"8877722e11c20246e99c41844e541cc1a6b8be9b",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"5e17244f6bb475afb21645b4a7c6d169ab4e825f",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var i,l=arguments.length,a=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(l<3?i(a):l>3?i(o,r,a):i(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-width:var(--gse-ui-icon-small-size);min-height:var(--gse-ui-icon-small-size);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-top:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-width:var(--gse-ui-icon-small-size);min-height:var(--gse-ui-icon-small-size);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-top:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-bottom:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-top:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-top:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-left:24px}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-left:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{v as gux_form_field_checkbox_group_beta}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as a,c as e,h as o,g as t}from"./p-6e010355.js";import{a as r}from"./p-8eaf8caf.js";import{b as i}from"./p-a82e4a04.js";import{t as s}from"./p-17fb3906.js";import"./p-4202e9f2.js";const n={changePhoto:"Change profile photo"},c=class{constructor(o){a(this,o),this.guxchangephoto=e(this,"guxchangephoto",7)}async componentWillLoad(){this.validateSlot(),s(this.root),this.i18n=await i(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:"f8b17c1e071f519d356802798335dddde7759ac0",class:"gux-change-photo",onClick:()=>this.guxchangephoto.emit(),"aria-label":this.i18n("changePhoto")},o("gux-icon",{key:"6f5e56fb726e92c15eaf2dd61c712cdad0280346",class:"gux-change-photo-icon","icon-name":"fa/camera-solid",size:"small",decorative:!0}),o("slot",{key:"24b1437487b250290af5d1586f512329fa5bde70",name:"avatar"}),o("gux-tooltip-beta",{key:"84583c98b48001ab520c3a1a9c2fe933abd73dc3",placement:"top"},o("div",{key:"da3be5c5e657214c610a89afacd3827428b00106",slot:"content"},this.i18n("changePhoto"))))}get root(){return t(this)}};c.style='.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-border-focus) solid var(--gse-semantic-focusOutline-md-borderWidth);outline-offset:var(--gse-semantic-focusOutline-offset)}';export{c as gux_avatar_change_photo_beta}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as n,g as a}from"./p-6e010355.js";import{t}from"./p-
|
1
|
+
import{r as e,h as n,g as a}from"./p-6e010355.js";import{t}from"./p-17fb3906.js";import{O as i}from"./p-e720c07a.js";import{h as o}from"./p-6d8b4027.js";const r=class{constructor(n){e(this,n),this.hasCallToAction=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action")}render(){return n("div",{key:"254441873ee0abf26d07d86c0ff8d5088e20af3e",class:"gux-container"},n("div",{key:"20407d4a5b30eb1eaf708fca4e2ff88c42b675ad",class:"gux-image"},n("slot",{key:"c4cf1bf58136803b63dd1a5b84a4b2be0fc54f03",name:"image"})),n("div",{key:"eff3d73f052dc07a3102b0b135d2109cc39c7d6d",class:"gux-message"},n("slot",{key:"75dc59294d001562307f4cbd9989fdbb34acfe3f",name:"primary-message"})),n("div",{key:"c886609987a4837739b4de66b8300b107909328f",class:"gux-guidance"},n("slot",{key:"a797a544aba20ad2d3c123d9c746f3a004dff711",name:"additional-guidance"})),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,r=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,n,a,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(r=(o<3?i(r):o>3?i(n,a,r):i(n,a))||r);o>3&&r&&Object.defineProperty(n,a,r)})([i({childList:!0,subtree:!0})],r.prototype,"onMutation",null),r.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-bottom: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-bottom: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-bottom: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-lg);\n height: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-sm);\n height: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{r as gux_blank_state}
|