genesys-spark-components 4.0.0-beta.36 → 4.0.0-beta.37
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/README.md +5 -3
- 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-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-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-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.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-region-icon.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-legacy.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 +2 -2
- 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-d4216a6a.js → usage-dea328c9.js} +2 -2
- package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +1 -1
- package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +1 -1
- package/dist/collection/components/stable/gux-form-field/gux-form-field.service.js +1 -1
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +1 -1
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.css +8 -6
- package/dist/collection/components/stable/gux-toggle/gux-toggle.js +1 -1
- 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-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-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-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.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-region-icon.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-legacy.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 +2 -2
- 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-b9bc2c35.js → usage-9db89e81.js} +2 -2
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-4426b584.entry.js → p-03c3a43a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-001a4f6c.entry.js → p-0443695b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d7122bc.entry.js → p-04e7b0a5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d5d7cf8d.entry.js → p-07abb8df.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9026cf7e.entry.js → p-0e9b22e4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ea777be1.entry.js → p-0fb8a131.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6bee8d41.entry.js → p-16101c87.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-932fdd60.entry.js → p-170e10d8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-25d372af.entry.js → p-18901baf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4d14a590.entry.js → p-20e0415d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-906bffcd.entry.js → p-2187b61f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-11a4917d.entry.js → p-22590862.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-121117b7.entry.js → p-2339dbe7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-35fff0fe.entry.js → p-23e0e71f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-993b63db.entry.js → p-23fdc919.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7bff5f15.entry.js → p-24aaca86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d96bce57.entry.js → p-275190eb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-59206607.entry.js → p-290db8e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-984fb2ca.entry.js → p-2c325bd9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-903a7fff.entry.js → p-2d2f6a98.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b0cc1af2.entry.js → p-2e88df19.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3b48aaaa.entry.js → p-354af9aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d25d679d.entry.js → p-3aa647fd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c57cd1d8.js → p-3c614740.js} +1 -1
- package/dist/genesys-webcomponents/{p-377f63a0.entry.js → p-3c951a20.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8d3fb4b0.entry.js → p-4303e91c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3006f950.entry.js → p-47417e1a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-541c3c6b.entry.js → p-478e3b1c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5ea0d07e.entry.js → p-48d0d172.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ee662eda.entry.js → p-49fa664f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1b04a4a3.entry.js → p-4ef7f5b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3deec8d5.entry.js → p-53a1d44e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e245e45.entry.js → p-581afbbd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c07ab095.entry.js → p-645bf22d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2a3350f2.entry.js → p-64f97f86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-edf8e30c.entry.js → p-67bf8797.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-06186f07.entry.js → p-6c5bcc19.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-04882cf9.entry.js → p-6eaaa7d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-be68b1e8.entry.js → p-71ea12be.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5524298d.entry.js → p-7293caff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cf094b0a.entry.js → p-741109b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-127514f4.entry.js → p-74330868.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-050b14b0.entry.js → p-75c18eb2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5a9d8cb2.entry.js → p-77b466cc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d8e0caa9.entry.js → p-7c4e5b42.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7943f46d.entry.js → p-7e0bec76.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6ce1bf55.entry.js → p-801d58d0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f19e1b38.entry.js → p-80e52443.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3669d1d6.entry.js → p-82ff960a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-29e65ca5.entry.js → p-8897f0c8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8953cea0.entry.js → p-88ebf763.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1c00c8b9.entry.js → p-8e2f5120.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d0aefa7e.entry.js → p-947008c7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f6bcc7b4.entry.js → p-96a2defd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-67036f76.entry.js → p-9b14db2e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-920b9a0d.entry.js → p-9c69a37d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-004bad0d.entry.js → p-9c7f235d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9595c4f2.entry.js → p-a110a467.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0fd727e4.entry.js → p-a6dbce60.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9279fb28.entry.js → p-aa66df62.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-13bd1ddb.entry.js → p-adecb65e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-51df1ede.entry.js → p-b14af97c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c05cacb2.entry.js → p-b4a578d1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8c3c2fd5.entry.js → p-b4e0bdda.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f86080b6.entry.js → p-bb8382c8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ddfc136f.entry.js → p-bf3640cf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb9b79ce.entry.js → p-c1253f5b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8e22729c.entry.js → p-c2352a62.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f57803f.entry.js → p-c88906c4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-92536df7.entry.js → p-ca39b814.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0a7237d9.entry.js → p-cae769d3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e2d75be4.entry.js → p-cefecb77.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0209a2e8.entry.js → p-e93b4a73.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f7c491f0.entry.js → p-e9803c6d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4dc4930c.entry.js → p-ea3298b3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-48d465fe.entry.js → p-eba5e8e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-937ec398.entry.js → p-f0ad551b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-66290fc5.entry.js → p-f1d85fd3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a934d5b1.entry.js → p-f3ac7576.entry.js} +1 -1
- package/dist/stencil-wrapper.js +3 -3
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +2 -2
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as e,f as s,d as i,h,H as a,g as o}from"./p-ed724d66.js";import{b as l}from"./p-52e27c60.js";import{w as r}from"./p-8b703092.js";import{r as n}from"./p-3ea0d493.js";import{t as c}from"./p-
|
1
|
+
import{r as t,c as e,f as s,d as i,h,H as a,g as o}from"./p-ed724d66.js";import{b as l}from"./p-52e27c60.js";import{w as r}from"./p-8b703092.js";import{r as n}from"./p-3ea0d493.js";import{t as c}from"./p-3c614740.js";import{t as d}from"./p-408d5857.js";import"./p-0962dd7a.js";const u=class{constructor(i){t(this,i),this.guxselectionchanged=e(this,"guxselectionchanged",7),this.guxsortchanged=e(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>s(this))),this.tableId=n("gux-table"),this.columnsWidths={},this.isVerticalScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1,this.emptyMessage=void 0,this.resizableColumns=void 0}async componentWillLoad(){c(this.root),this.i18n=await l(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),this.checkVerticalScroll(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkVerticalScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkVerticalScroll(){const t=this.tableContainer;this.isVerticalScroll=t.scrollHeight>t.clientHeight}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows(t.detail)}onInternalRowSelectChange(t){t.stopPropagation();const e=t.target;e.selected=t.detail,this.handleRowSelection(e)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const e=this.rowCheckboxes,s=e.filter((t=>!t.hasAttribute("disabled"))),i=s.filter((t=>t.selected)),h=Boolean(e.length),a=i.length===s.length,o=0===i.length;t.selected=h&&a,t.setIndeterminate(h&&!a&&!o)}}handleSelectAllRows(t){const e=this.selectAllCheckbox;this.rowCheckboxes.forEach((s=>{e.selected=t,s.hasAttribute("disabled")||(s.selected=t,this.updateRowSelection(s))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const e=t.closest("tr");t.selected?e.setAttribute("data-selected-row",""):e.removeAttribute("data-selected-row")}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t),this.calculateColumnWidths(this.tableColumns).slice(0,-1).forEach((t=>this.columnsWidths[t.name]=t.width)),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const e=this.columnResizeState.resizableColumn.dataset.columnName,s=Math.max(this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX),1),i=this.calculateColumnWidths(this.tableColumns).map((t=>t.name===e?Object.assign(Object.assign({},t),{width:s}):t));this.columnsWidths[e]=i.find((t=>t.name===e)).width,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,r("th",t,(e=>{this.tableColumns.length-1!==e.cellIndex&&this.isInResizeZone(t,e)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){r("th",t,(e=>{this.isInResizeZone(t,e)&&(this.columnResizeState={resizableColumn:e,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:e.clientWidth})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,e){return e.getBoundingClientRect().right-t.clientX<3}calculateColumnWidths(t){return t.map((t=>({name:t.dataset.columnName,width:t.clientWidth})))}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let e="";Object.keys(this.columnsWidths).forEach((t=>{e+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])}px;\n min-width:${String(this.columnsWidths[t])}px;\n }`})),t.innerHTML=e}get isTableEmpty(){return!this.root.children[0]||this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return h(a,{"gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},h("div",{class:"gux-table"},h("div",{tabindex:this.isVerticalScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},h("slot",{name:"data"})),this.isTableEmpty&&h("div",{class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};u.style=":host{display:block;isolation:isolate}:host .gux-table{position:relative;height:inherit}:host .gux-table .gux-table-container{max-height:100%;overflow:auto;scrollbar-color:var(--gse-ui-dataTableItems-scrollbar-foregroundColor);scrollbar-width:thin}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;height:calc(100% - var(--gse-ui-dataTableItems-header-default-height));color:#596373;background:#fdfdfd;font-family:var(--gse-core-fontFamily-heading), var(--gse-core-fontFamily-body), sans-serif;font-size:var(--gse-core-fontSize-lg);font-weight:var(--gse-core-fontWeight-semiBold);line-height:var(--gse-lineHeight-md)}";export{u as gux_table}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as s,h as i,g as e}from"./p-ed724d66.js";import{O as o}from"./p-8c362857.js";import{w as n}from"./p-8b703092.js";import{a}from"./p-ffaadf62.js";import{t as r}from"./p-
|
1
|
+
import{r as t,c as s,h as i,g as e}from"./p-ed724d66.js";import{O as o}from"./p-8c362857.js";import{w as n}from"./p-8b703092.js";import{a}from"./p-ffaadf62.js";import{t as r}from"./p-3c614740.js";const u=["primary","secondary","tertiary"];const c=class{constructor(i){t(this,i),this.open=s(this,"open",7),this.close=s(this,"close",7),this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const s=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,s.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":s.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():this.close.emit()}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){a((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){a((()=>{this.listElement.guxFocusFirstItem()}))}onListClick(t){n("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){r(this.root,{variant:this.accent})}render(){return i("gux-popup",{expanded:this.isOpen,"exceed-target-width":!0},i("div",{slot:"target",class:"gux-button-multi-container"},i("gux-button-slot",{class:"gux-dropdown-button",accent:(t=this.accent,u.find((s=>s===t))?t:"secondary")},i("button",{type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},i("slot",{name:"title"}),i("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),i("div",{class:"gux-list-container",slot:"popup"},i("gux-list",{onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},i("slot",null))));var t}get root(){return e(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,s,i,e){var o,n=arguments.length,a=n<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,e);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(s,i,a):o(s,i))||a);n>3&&a&&Object.defineProperty(s,i,a)})([o({triggerEvents:"mousedown"})],c.prototype,"onClickOutside",null),c.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{width:var(--gse-ui-button-icon-size);height:var(--gse-ui-button-icon-size);margin-left:var(--gux-spacing-xs)}.gux-list-container{max-width:220px;padding:var(--gux-spacing-xs) 0;margin:0;list-style:none;background-color:var(--gse-ui-menu-wrapper-backgroundColor);border:1px solid var(--gse-ui-menu-wrapper-border);border-radius:4px;box-shadow:0 4px 6px 1px rgba(35, 57, 92, 0.12)}";export{c as gux_button_multi}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as o,H as e,g as s}from"./p-ed724d66.js";import{a as i}from"./p-ffaadf62.js";import{t as r}from"./p-
|
1
|
+
import{r as t,h as o,H as e,g as s}from"./p-ed724d66.js";import{a as i}from"./p-ffaadf62.js";import{t as r}from"./p-3c614740.js";import{h as n}from"./p-705311af.js";import{c as a}from"./p-e459974a.js";const u=class{constructor(o){t(this,o),this.isShown=!1}forceUpdate(t){t&&this.popperInstance&&this.popperInstance.update()}onKeydown(t){if(t.stopPropagation(),this.isShown)switch(t.key){case"Escape":case"ArrowLeft":case"ArrowUp":return void this.root.focus();case"ArrowDown":return t.preventDefault(),void this.focusOnMenu();case"Enter":return void(this.hideDelayTimeout=i((()=>{this.focusOnMenu()})))}}onKeyup(t){t.stopPropagation()," "!==t.key||(this.menuContentElement.contains(document.activeElement)?this.root.focus():this.hideDelayTimeout=i((()=>{this.focusOnMenu()})))}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(t){0!==t.detail&&this.hide(),this.root.focus()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),n))}runPopper(){this.popperInstance=a(this.targetElement,document.querySelector("gux-menu"),{modifiers:[{name:"offset",options:{offset:[0,16]}},{name:"arrow",options:{padding:16}}],placement:"bottom-start"})}destroyPopper(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}focusOnMenu(){if(this.menuContentElement.contains(document.activeElement))return;const t=this.root.querySelector("gux-menu");Array.from(t.children)[0].guxFocus()}componentWillLoad(){r(this.root)}componentDidLoad(){this.runPopper()}disconnectedCallback(){this.destroyPopper()}render(){return o(e,{tabIndex:0,"aria-haspopup":"true"},o("span",{ref:t=>this.targetElement=t},o("slot",{name:"target"})),o("div",{class:{"gux-flyout-menu-content":!0,"gux-shown":this.isShown},ref:t=>this.menuContentElement=t},o("slot",{name:"menu"})))}get root(){return s(this)}static get watchers(){return{isShown:["forceUpdate"]}}};u.style=':host{z-index:var(--gux-zindex-popover, 2);color:var(--gse-ui-menu-option-label-foregroundColor);cursor:default}:host(:focus){outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-flyout-menu-content{display:none}.gux-flyout-menu-content.gux-shown{display:flex}.gux-arrow,.gux-arrow::before{position:absolute;top:-3px;width:10px;height:10px;background:inherit}.gux-arrow::before{visibility:visible;content:"";border-top:1px solid #b4bccb;border-left:1px solid #b4bccb;transform:rotate(45deg)}';export{u as gux_flyout_menu}
|
package/dist/stencil-wrapper.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
import { defineCustomElements } from '../dist/loader';
|
9
9
|
// Value templated out during build process (see scripts/wrap-stencil.js)
|
10
|
-
export const
|
10
|
+
export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.0.0-beta.37-42/genesys-webcomponents/';
|
11
11
|
// Default domain to load assets from
|
12
12
|
const DEFAULT_DOMAIN = 'mypurecloud.com';
|
13
13
|
// List of Genesys UI domains
|
@@ -29,9 +29,9 @@ const DOMAIN_LIST = [
|
|
29
29
|
'usw2.pure.cloud'
|
30
30
|
];
|
31
31
|
export function registerElements() {
|
32
|
-
if (
|
32
|
+
if (COMPONENT_ASSETS_PATH) {
|
33
33
|
defineCustomElements(window, {
|
34
|
-
resourcesUrl: `https://${getDomain() +
|
34
|
+
resourcesUrl: `https://${getDomain() + COMPONENT_ASSETS_PATH}`
|
35
35
|
});
|
36
36
|
}
|
37
37
|
else {
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.0.0-beta.37-42/genesys-webcomponents/";
|
2
2
|
export declare function registerElements(): void;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "genesys-spark-components",
|
3
|
-
"version": "4.0.0-beta.
|
3
|
+
"version": "4.0.0-beta.37",
|
4
4
|
"description": "Common webcomponents",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "dist/stencil-wrapper.js",
|
@@ -36,7 +36,7 @@
|
|
36
36
|
"prettier-package-json": "prettier-package-json --write ./package.json",
|
37
37
|
"release": "standard-version",
|
38
38
|
"stencil": "stencil build --prod",
|
39
|
-
"stencil.dev": "stencil build --dev --watch --docs",
|
39
|
+
"stencil.dev": "stencil build --dev --watch --serve --no-open --docs",
|
40
40
|
"stylelint": "stylelint --fix \"**/*.{css,html,scss}\"",
|
41
41
|
"svgo": "svgo -f ./src/components/stable/gux-icon/icons",
|
42
42
|
"test": "TZ=UTC stencil test --spec --e2e",
|