genesys-spark-components 4.21.2 → 4.21.3
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/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 +1 -1
- 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.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-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 +1 -1
- 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 +1 -1
- package/dist/cjs/gux-flyout-menu.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-input-clear-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-phone.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-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
- 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-picker-beta.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/gux-popover-list.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-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-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-picker-beta.cjs.entry.js +1 -1
- 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.cjs.entry.js +1 -1
- package/dist/cjs/{usage-5839ddd0.js → usage-faf99780.js} +11 -11
- package/dist/deploy-info.json +3 -3
- 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 +1 -1
- 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.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-date-beta.entry.js +1 -1
- package/dist/esm/gux-date-time-beta.entry.js +1 -1
- package/dist/esm/gux-datepicker.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/gux-flyout-menu.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-input-clear-button.entry.js +1 -1
- package/dist/esm/gux-form-field-number_3.entry.js +1 -1
- package/dist/esm/gux-form-field-phone.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-icon.entry.js +1 -1
- package/dist/esm/gux-inline-alert.entry.js +1 -1
- 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-picker-beta.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/gux-popover-list.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-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-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-picker-beta.entry.js +1 -1
- package/dist/esm/gux-toast.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +1 -1
- package/dist/esm/gux-tooltip.entry.js +1 -1
- package/dist/esm/{usage-612e6d55.js → usage-912299f7.js} +11 -11
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-242e76d5.entry.js → p-034a31a3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6f048c3c.entry.js → p-044e6d98.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2557f2c8.entry.js → p-057b5d90.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3d22aa9e.entry.js → p-0748fe04.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c4cb2189.entry.js → p-08504800.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c89d789e.entry.js → p-0b69a799.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-275d1672.entry.js → p-0c223d19.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-66b2079b.entry.js → p-0d7c685a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e9ba0330.entry.js → p-10321d02.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-03f9deb4.entry.js → p-153a6aeb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f1728f9f.entry.js → p-180a3abf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2d76c964.entry.js → p-19c4eb89.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d6134de1.entry.js → p-24c9cf97.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bd98f55e.entry.js → p-261fd71a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e61d595d.entry.js → p-29083c3e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-588202e8.entry.js → p-2a28eaa4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d3be26e7.entry.js → p-2c4ebc1a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-06ddd0c2.entry.js → p-2da82210.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3b197a3e.entry.js → p-30290917.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a3ffc4ef.entry.js → p-3062861f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-af6ed41e.entry.js → p-34c5b221.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-71d1889a.entry.js → p-353e97fd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9045d66c.entry.js → p-37f5dddc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-740fa73f.entry.js → p-39338d69.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bd71efdf.entry.js → p-3e8fdf92.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-072cd687.entry.js → p-401b116b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-91fea2ec.entry.js → p-43cfefc7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-137e6a6f.entry.js → p-4f540019.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5146effa.entry.js → p-50e7f69d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f5ba0f25.entry.js → p-5371c27a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0a774eb1.entry.js → p-54983d66.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e55db295.entry.js → p-5666ef08.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-58a704f0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-82abd855.entry.js → p-5a2aea59.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-51bd4827.entry.js → p-5b9bdf06.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-039d12ce.entry.js → p-5e9a728a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-19dede15.entry.js → p-62d1bee9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1bfffd8d.entry.js → p-63988c32.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-187cf135.entry.js → p-650e5e94.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eb7155e6.entry.js → p-65ee5c41.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ad55fd59.entry.js → p-66e21d2d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2545569.entry.js → p-6b54c9ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e94b0b9e.entry.js → p-70ca7769.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-18ba20e0.entry.js → p-7db59658.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cf90a48c.entry.js → p-836ae8cb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-72fca53a.entry.js → p-848a29a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c2eefb66.entry.js → p-855dbab1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d36a8c0e.entry.js → p-87266f49.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b3924924.entry.js → p-8811347e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b3dd85cb.entry.js → p-88c4c4c9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a56b1ff.entry.js → p-8bcc3aed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f45f309e.js → p-8cc95b15.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb6befd3.entry.js → p-929b3a44.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-18e231bd.entry.js → p-93f04f77.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a7512f90.entry.js → p-9715336e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-90118831.entry.js → p-9b06172f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-910440d0.entry.js → p-9be33ab3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b4b55544.entry.js → p-a0933176.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-86650ad8.entry.js → p-a2382c92.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2c6963dd.entry.js → p-a3956c31.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2be5abf7.entry.js → p-a61527d1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2769acf5.entry.js → p-a70c99eb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-281d3798.entry.js → p-ac6b7cfc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a2c4ca76.entry.js → p-adf9b7a2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-591d62c0.entry.js → p-b382ed55.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-04592975.entry.js → p-b6c4bcd3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b4cf8450.entry.js → p-bd00ca41.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8f199c25.entry.js → p-c45987f4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cd7b7d4a.entry.js → p-c45d1f53.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-734715b7.entry.js → p-c4aea476.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c4d16e6e.entry.js → p-c5369b45.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e08b27fd.entry.js → p-c573e663.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1af6765a.entry.js → p-c71239b1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aadb8610.entry.js → p-d6c40756.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4473ca2c.entry.js → p-db2f61ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b2a6b3df.entry.js → p-e79c1614.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c8bfd350.entry.js → p-e906e896.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-94de49a3.entry.js → p-edf0897c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cda121c5.entry.js → p-f21653db.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f3c902e8.entry.js → p-f907c406.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7dbec97e.entry.js → p-f980ce66.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-a1ad9f13.entry.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,h as s,g as i}from"./p-deca7631.js";import{b as r}from"./p-e10cb032.js";import{t as a}from"./p-
|
1
|
+
import{r as t,c as e,h as s,g as i}from"./p-deca7631.js";import{b as r}from"./p-e10cb032.js";import{t as a}from"./p-8cc95b15.js";import{g as o}from"./p-0962dd7a.js";import{o as n}from"./p-31cd1b9a.js";import{t as c}from"./p-408d5857.js";const h=class{constructor(s){t(this,s),this.guxsortchanged=e(this,"guxsortchanged",7),this.includeUnsorted=!1,this.headerContent=void 0,this.active=!1,this.sort="none",this.isLeftAlignIcon=!1}async componentWillLoad(){a(this.root),this.i18n=await r(this.root,c,"gux-table"),this.tableHeader=o("th",this.root),this.thObserver=n(this.tableHeader,(()=>{this.setState()}),{attributes:!0,childList:!1,subtree:!1}),this.setState()}disconnectedCallback(){this.thObserver&&this.thObserver.disconnect()}onClick(){this.guxsortchanged.emit({columnName:this.tableHeader.dataset.columnName,sortDirection:this.getNextSort(this.sort)})}setState(){this.headerContent=this.tableHeader.textContent,this.isLeftAlignIcon=this.tableHeader.hasAttribute("data-cell-numeric")||this.tableHeader.hasAttribute("data-cell-action");const t=this.tableHeader.getAttribute("aria-sort");switch(t){case"ascending":case"descending":this.active=!0,this.sort=t;break;default:this.active=!1,this.sort="none"}}getIconName(t){return"descending"===t?"arrow-solid-down":"arrow-solid-up"}getNextSort(t){switch(t){case"none":return"ascending";case"ascending":return"descending";default:return this.includeUnsorted?"none":"ascending"}}getSRText(t){switch(t){case"ascending":return this.i18n("ascendingColumnSort",{headerContent:this.headerContent});case"descending":return this.i18n(this.includeUnsorted?"descendingColumnSortIncludeUnsorted":"descendingColumnSort",{headerContent:this.headerContent});default:return this.i18n("noColumnSort",{headerContent:this.headerContent})}}render(){return s("div",{class:"gux-container"},s("button",{class:{"gux-sort-button":!0,"gux-active":this.active},type:"button",onClick:()=>this.onClick(),"aria-label":this.getSRText(this.sort)},s("gux-icon",{class:{"gux-sort-icon":!0,"gux-left":this.isLeftAlignIcon},"icon-name":this.getIconName(this.sort),decorative:!0})),s("div",{class:"gux-resize-spacer"}))}static get delegatesFocus(){return!0}get root(){return i(this)}};h.style=".gux-container{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;border-top:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent;border-bottom:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent}.gux-container:focus-within{border-bottom-color:var(--gse-ui-dataTableItems-header-selectedIndicatorColor)}.gux-container .gux-sort-button{all:unset;flex:1 1 auto;align-self:stretch;order:0;cursor:pointer}.gux-container .gux-sort-button .gux-sort-icon{float:right;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);margin:0 var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-header-sort-foregroundColor)}.gux-container .gux-sort-button .gux-sort-icon.gux-left{float:left;margin-left:calc(2px + var(--gse-ui-dataTableItems-header-gap))}.gux-container .gux-resize-spacer{flex:0 1 auto;align-self:stretch;order:0;width:2px}";export{h as gux_sort_control}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as s,H as o,g as i}from"./p-deca7631.js";import{s as e}from"./p-373c5d93.js";import{t as r}from"./p-
|
1
|
+
import{r as t,h as s,H as o,g as i}from"./p-deca7631.js";import{s as e}from"./p-373c5d93.js";import{t as r}from"./p-8cc95b15.js";const n=class{constructor(s){t(this,s),this.value=void 0,this.items=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-segmented-control-item");s&&this.value!==s.value&&(this.value=s.value,e(this.root,"input"),e(this.root,"change"))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){r(this.root)}componentWillRender(){this.items.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(o,{role:"group"},s("slot",{onSlotchange:this.slotChanged.bind(this)}))}get root(){return i(this)}};n.style=":host{display:inline-flex}";export{n as gux_segmented_control_beta}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as o,c as t,h as a,g as i}from"./p-deca7631.js";import{r as e}from"./p-3ea0d493.js";import{t as n}from"./p-
|
1
|
+
import{r as o,c as t,h as a,g as i}from"./p-deca7631.js";import{r as e}from"./p-3ea0d493.js";import{t as n}from"./p-8cc95b15.js";const l=class{constructor(a){o(this,a),this.guxdismiss=t(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0,this.initialFocus=void 0}handleKeyEvent(o){"Escape"===o.key&&this.onDismissHandler(o)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){n(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var o,t,a;const i=this.getInitialFocusElement();i?null===(o=i.focus)||void 0===o||o.call(i):this.dismissButton&&(null===(a=(t=this.dismissButton).focus)||void 0===a||a.call(t))}render(){const o=this.hasModalTitleSlot(),t=this.hasFooterButtons(),i=e();return a("div",{class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":o?i:null},a("div",{class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),o&&a("h1",{class:"gux-modal-header",id:i},a("slot",{name:"title"})),a("gux-dismiss-button",{onClick:this.onDismissHandler.bind(this),ref:o=>this.dismissButton=o}),a("div",{class:{"gux-modal-content":!0,"gux-no-buttons":!t}},a("p",null,a("slot",{name:"content"}))),t&&a("div",{class:"gux-button-footer"},a("div",{class:"gux-left-align-buttons"},a("slot",{name:"left-align-buttons"})),a("div",{class:"gux-right-align-buttons"},a("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return a("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(o){var t;o.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(t=this.triggerElement)||void 0===t||t.focus())}get root(){return i(this)}};l.style="::slotted(button:active:enabled){color:var(--gse-ui-link-active-foregroundColor);text-decoration:underline;background:none}slot[name=left-align-buttons]::slotted(:not(button,gux-button)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host .gux-modal{position:fixed;inset:0;z-index:var(--gse-semantic-zIndex-modal);display:flex;align-items:center;justify-content:center;color:#2e394c;background:var(--gse-ui-modal-shroudColor)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:var(--gse-ui-modal-padding);background:var(--gse-ui-modal-backgroundColor);border:1px solid #b4bccb;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow-x) var(--gse-ui-modal-boxShadow-y) var(--gse-ui-modal-boxShadow-blur) var(--gse-ui-modal-boxShadow-spread) var(--gse-ui-modal-boxShadow-color)}:host .gux-modal .gux-modal-container.gux-small{width:var(--gse-ui-modal-small-width);max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:var(--gse-ui-modal-medium-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:var(--gse-ui-modal-large-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-fontFamily);color:var(--gse-ui-modal-headerColor);letter-spacing:var(--gse-ui-modal-heading-letterSpacing);font-family:var(--gse-core-typography-heading-xl-fontFamily), var(--gse-core-fontFamily-heading), sans-serif;font-size:var(--gse-core-typography-heading-xl-fontSize);line-height:var(--gse-core-typography-heading-xl-lineHeight);font-weight:var(--gse-core-fontWeight-bold)}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin-top:var(--gse-ui-modal-gap);margin-bottom:var(--gse-ui-modal-gap);overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{l as gux_modal_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as o,h as r,g as t}from"./p-deca7631.js";import{t as e}from"./p-
|
1
|
+
import{r as o,h as r,g as t}from"./p-deca7631.js";import{t as e}from"./p-8cc95b15.js";import{b as i}from"./p-e10cb032.js";import"./p-0962dd7a.js";const n={clear:"Clear"},s=class{constructor(r){o(this,r)}async componentWillLoad(){e(this.root),this.i18n=await i(this.root,n)}render(){return r("button",{tabIndex:-1,type:"button",title:this.i18n("clear")},r("gux-icon",{"icon-name":"close",decorative:!0}))}static get delegatesFocus(){return!0}get root(){return t(this)}};s.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{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)}";export{s as gux_form_field_input_clear_button}
|