genesys-spark-components 4.0.0-beta.41 → 4.0.0-beta.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/gux-accordion.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.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gux-tag.cjs.entry.js +2 -3
- 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/loader.cjs.js +1 -1
- package/dist/cjs/{usage-7bd0f4a2.js → usage-bef686bc.js} +1 -1
- package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -19
- package/dist/collection/components/stable/gux-tag/tests/gux-tag.e2e.js +14 -14
- package/dist/collection/components/stable/gux-tag/tests/gux-tag.spec.js +12 -12
- package/dist/component-specs.json +1 -2
- package/dist/deploy-info.json +3 -3
- package/dist/esm/genesys-webcomponents.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-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.entry.js +1 -1
- package/dist/esm/gux-tabs.entry.js +1 -1
- package/dist/esm/gux-tag.entry.js +2 -3
- 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/loader.js +1 -1
- package/dist/esm/{usage-d6681f18.js → usage-539c6aff.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-530c362b.entry.js → p-020170f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-18e3fe76.entry.js → p-05238ee5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eb8434c9.entry.js → p-05533700.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1d721625.entry.js → p-0c5ce891.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7af593fb.entry.js → p-0fd17dc7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bb1ee297.entry.js → p-11444414.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f327dc53.entry.js → p-15c4f717.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-22f7b058.entry.js → p-19433202.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9f83906b.entry.js → p-19e3a2b3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b67960df.entry.js → p-1b2f7329.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ee473cc9.entry.js → p-202021a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-17b43bc4.entry.js → p-21f4eb86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b6271f28.entry.js → p-233b8b99.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8ff2c1fe.entry.js → p-26d5d6d2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2993fc23.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1dece006.entry.js → p-2eb63efb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5f316b49.entry.js → p-36b9d287.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-81a7dfc0.entry.js → p-36c38313.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-da6e6f64.entry.js → p-3e5aef3d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d264a043.entry.js → p-3eb2001c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-432bb1ce.entry.js → p-3f50888d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b8755c5a.entry.js → p-4394f503.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3465ba68.entry.js → p-43fbfb73.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a712590a.entry.js → p-492f6b98.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7b98f591.entry.js → p-4e0e1ce6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-834ede94.entry.js → p-4ea38cbf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6debb4e2.entry.js → p-5554caad.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-52054142.entry.js → p-5a22feb0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b1aff517.entry.js → p-5fe0991a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3ea3a764.entry.js → p-61109363.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3c4047d1.entry.js → p-61a23558.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3cc59add.entry.js → p-6812e584.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9e79e6a9.entry.js → p-6e5a5539.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2a6a92d.entry.js → p-7026d2bd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dadc097d.entry.js → p-737638df.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6dc75dce.entry.js → p-75c5aee1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5b36dd80.entry.js → p-7973e227.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5dad03e8.entry.js → p-7a654458.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e604265e.entry.js → p-7dffa5b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-967772db.entry.js → p-91324cd5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e99f4472.entry.js → p-9138b402.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b7e6ef2.entry.js → p-94c95998.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aeb23536.entry.js → p-9822b696.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b6fb5b65.entry.js → p-9c8734b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-32454e23.entry.js → p-9d28a3d5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9dd7de24.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-93608d93.entry.js → p-9ef4463a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f5540a5d.entry.js → p-a1144ec5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3cf08509.js → p-a17a9131.js} +1 -1
- package/dist/genesys-webcomponents/{p-3336925d.entry.js → p-aaf1924d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ee643cb5.entry.js → p-afd1a9c5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cc724d95.entry.js → p-b1bd13f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dc897b48.entry.js → p-b23ef9ae.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e3fc7d7d.entry.js → p-b25b3d26.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-38c781a4.entry.js → p-b43432c6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8df4a700.entry.js → p-b47bd211.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b815f9c.entry.js → p-b6f068dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-681b7fcf.entry.js → p-ba4a90c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b6d1e2e1.entry.js → p-bae6fc57.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-83b2133c.entry.js → p-bd3f2214.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-700878bf.entry.js → p-be54046d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0bb16852.entry.js → p-bf1f9729.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7a40b615.entry.js → p-c2370e69.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3af115ad.entry.js → p-c59f271f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f2c2a915.entry.js → p-c5b91c04.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-38bad8d2.entry.js → p-ce6df5ea.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fbb62dfa.entry.js → p-d287c14e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-402b6233.entry.js → p-d5790428.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e8261f28.entry.js → p-e6aab04c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-707129d2.entry.js → p-e7b00ed7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-35174acd.entry.js → p-e9bdfa90.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb683f3e.entry.js → p-eb0d5e21.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e9074e8.entry.js → p-efa9739a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-09453413.entry.js → p-f0fa7aa0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-970339d2.entry.js → p-f1ac2527.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4dee44f2.entry.js → p-f58381c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6236f519.entry.js → p-f8704b90.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-28c70a30.entry.js → p-ff3b5338.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/stable/gux-tag/gux-tag.d.ts +0 -4
- package/dist/types/components.d.ts +0 -8
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/genesys-webcomponents/p-07976cff.entry.js +0 -1
- package/dist/genesys-webcomponents/p-df01c156.entry.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
import{r as s,c as i,h as t,H as o,g as
|
1
|
+
import{r as s,c as i,h as t,H as o,g as a}from"./p-ed724d66.js";import{t as e}from"./p-a17a9131.js";const r=class{constructor(t){s(this,t),this.guxdismiss=i(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){e(this.root,{variant:this.accent})}render(){return t(o,null,t("div",{class:`gux-icon gux-${this.accent}`},t("slot",{name:"icon"})),t("gux-truncate",{class:"gux-message","max-lines":2},t("slot",{name:"message"})),t("gux-dismiss-button",{class:"gux-dismiss",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(s){s.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return a(this)}};r.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:286px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;padding:8px 12px 8px 16px;margin:2px 0}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-icon ::slotted(gux-icon){width:16px;height:16px}.gux-message{flex:1 1 auto;align-self:center;order:0;margin:8px 0}.gux-dismiss{margin:4px 0}";export{r as gux_simple_toast_legacy}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as a,d as i,h as e,g as n}from"./p-ed724d66.js";import{a as s}from"./p-ffaadf62.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-ed724d66.js";import{a as s}from"./p-ffaadf62.js";import{t as o}from"./p-a17a9131.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.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",{class:"gux-pagination-container"},e("div",{class:"gux-pagination-info"},e("gux-pagination-item-counts",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-spacer"}),e("div",{class:"gux-pagination-change"},e("gux-pagination-buttons",{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;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;align-content:stretch;align-items:center;justify-content:space-between;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;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 s,g as i}from"./p-ed724d66.js";import{t as r}from"./p-
|
1
|
+
import{r as t,h as s,g as i}from"./p-ed724d66.js";import{t as r}from"./p-a17a9131.js";const n=/[ +]/g,e=new Map,a=new Map;function h(t){return t.replace(/[\^$*+?.(){}[\]\\]/g,"\\$&")}const o=class{constructor(s){t(this,s),this.text=void 0,this.highlight=void 0,this.strategy="start",this.dimmed=!1}componentWillLoad(){r(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),i=this.text.substring(this.highlight.length);return s("span",{class:{"gux-dimmed":this.dimmed}},s("mark",null,t),i)}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),i=t.remaining.substring(0,s),r=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=i+`<mark>${r}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+t.remaining})}renderFuzzy(){if(function(t,s){let i=e.get(t);return i||(i=function(t){const s=t.split(n).map(h);if(1===s.length)return new RegExp(s[0],"i");let i="(";return s.forEach(((t,r)=>{i+=t+").*",r!==s.length-1&&(i+="(")})),new RegExp(i+"$","i")}(t),e.set(t,i)),i.test(s)}(this.highlight,this.text)){const i=(t=this.highlight,t.split(n).map(h).map((t=>{let s=a.get(t);return s||(s=new RegExp(t,"i"),a.set(t,s)),s}))).reduce(((t,s)=>{const{0:i,index:r,input:n}=t.remaining.match(s),e=n.substring(0,r);return{highlighted:`${t.highlighted+e}<mark>${i}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:i.highlighted+i.remaining})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return i(this)}};o.style="span{color:var(--gse-ui-formControl-input-populatedColor)}span mark{background-color:var(--gse-ui-search-match-firstLevel-backgroundColor)}.gux-dimmed mark{background-color:var(--gse-ui-search-match-subsequentLevel-backgroundColor)}";export{o as gux_text_highlight}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as o,H as s,g as e}from"./p-ed724d66.js";import{t as i}from"./p-
|
1
|
+
import{r as t,h as o,H as s,g as e}from"./p-ed724d66.js";import{t as i}from"./p-a17a9131.js";import{O as n}from"./p-8c362857.js";import{b as r}from"./p-52e27c60.js";import{b as a}from"./p-ffaadf62.js";import"./p-0962dd7a.js";const u={additionalActions:"Additional Actions"};const c=class{constructor(o){t(this,o),this.showMenu=void 0,this.expanded=!1}handleKeyDown(t){const o=t.composedPath();switch(t.key){case"Escape":this.expanded=!1,o.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":o.includes(this.dropdownButton)&&(t.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.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(){a((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){a((()=>{this.listElement.guxFocusFirstItem()}))}async componentWillLoad(){this.i18n=await r(this.root,u),i(this.root)}render(){return o(s,{class:{"gux-show-menu":this.showMenu}},o("gux-popup",{expanded:this.expanded,"exceed-target-width":!0},o("div",{slot:"target",class:"gux-toolbar-menu-container"},o("gux-button-slot",{class:"gux-menu-button"},o("button",{type:"button",ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},o("gux-tooltip-title",{ref:t=>this.tooltipTitleElement=t},o("span",null,o("gux-icon",{"screenreader-text":this.i18n("additionalActions"),"icon-name":"menu-kebab-horizontal"})))))),o("div",{class:"gux-list-container",slot:"popup"},o("gux-list",{ref:t=>this.listElement=t},o("slot",null)))))}static get delegatesFocus(){return!0}get root(){return e(this)}};(function(t,o,s,e){var i,n=arguments.length,r=n<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,o,s,e);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(r=(n<3?i(r):n>3?i(o,s,r):i(o,s))||r);n>3&&r&&Object.defineProperty(o,s,r)})([n({triggerEvents:"mousedown"})],c.prototype,"onClickOutside",null),c.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-size-sm);height:var(--gse-ui-icon-size-sm)}.gux-list-container{width:min-content;padding:var(--gse-ui-menu-padding);margin:0;list-style:none;background-color:var(--gse-ui-menu-backgroundColor);border:1px var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}";export{c as gux_table_toolbar_menu_button}
|