genesys-spark-components 3.1.3-beta.7 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -10
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/gux-accordion-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-list-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-badge-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-slot-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
- package/dist/cjs/gux-card-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +133 -0
- package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-content-search.cjs.entry.js +2 -2
- package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/gux-disclosure-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +2 -2
- package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-flyout-menu-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-input-clear-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number.cjs.entry.js +2 -2
- 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-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-input-checkbox_7.cjs.entry.js +1 -1
- package/dist/cjs/gux-input-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-input-text-like.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-beta.cjs.entry.js +115 -0
- package/dist/cjs/gux-pagination-buttons-beta_3.cjs.entry.js +258 -0
- package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
- package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +1 -1
- package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab.cjs.entry.js +2 -0
- package/dist/cjs/gux-table-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gux-tag-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-picker-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-toggle.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +3 -1
- package/dist/cjs/gux-visualization-beta.cjs.entry.js +2 -2
- package/dist/cjs/{index-608364a8.js → index-2202ad01.js} +5 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-tracking-b1c3321a.js → usage-tracking-53d21391.js} +3 -1
- package/dist/collection/collection-manifest.json +5 -0
- package/dist/collection/components/beta/gux-chart-scatter-plot/gux-chart-scatter-plot.css +4 -0
- package/dist/collection/components/beta/gux-chart-scatter-plot/gux-chart-scatter-plot.js +344 -0
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-beta.css +39 -0
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-beta.js +225 -0
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-beta.types.js +1 -0
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-button-beta.service.js +91 -0
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-buttons-beta.css +77 -0
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-buttons-beta.js +154 -0
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-item-counts-beta/gux-pagination-item-counts-beta.css +9 -0
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-item-counts-beta/gux-pagination-item-counts-beta.js +102 -0
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-items-per-page-beta/gux-pagination-items-per-page-beta.css +25 -0
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-items-per-page-beta/gux-pagination-items-per-page-beta.js +85 -0
- package/dist/collection/components/beta/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
- package/dist/collection/components/beta/gux-table/gux-row-select/gux-row-select.js +1 -1
- package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -0
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
- package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -0
- package/dist/collection/i18n/index.js +5 -8
- package/dist/deploy-info.json +9 -0
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/gux-accordion-legacy.entry.js +1 -1
- package/dist/esm/gux-accordion.entry.js +1 -1
- package/dist/esm/gux-action-button-legacy.entry.js +2 -2
- package/dist/esm/gux-action-button.entry.js +2 -2
- package/dist/esm/gux-action-list-legacy.entry.js +1 -1
- package/dist/esm/gux-action-toast.entry.js +1 -1
- package/dist/esm/gux-advanced-dropdown.entry.js +2 -2
- package/dist/esm/gux-all-row-select.entry.js +2 -2
- package/dist/esm/gux-badge-beta.entry.js +2 -2
- package/dist/esm/gux-breadcrumbs.entry.js +2 -2
- package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
- package/dist/esm/gux-button-multi.entry.js +1 -1
- package/dist/esm/gux-button-slot-beta.entry.js +1 -1
- package/dist/esm/gux-button.entry.js +1 -1
- package/dist/esm/gux-calendar.entry.js +2 -2
- package/dist/esm/gux-card-beta.entry.js +1 -1
- package/dist/esm/gux-chart-column-beta.entry.js +1 -1
- package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
- package/dist/esm/gux-chart-line-beta.entry.js +1 -1
- package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
- package/dist/esm/gux-chart-scatter-plot-beta.entry.js +129 -0
- package/dist/esm/gux-command-palette-legacy.entry.js +2 -2
- package/dist/esm/gux-content-search.entry.js +2 -2
- package/dist/esm/gux-datepicker.entry.js +2 -2
- package/dist/esm/gux-disclosure-button.entry.js +2 -2
- package/dist/esm/gux-dismiss-button.entry.js +2 -2
- package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +2 -2
- package/dist/esm/gux-error-message-beta.entry.js +1 -1
- package/dist/esm/gux-flyout-menu-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-input-clear-button.entry.js +2 -2
- package/dist/esm/gux-form-field-legacy.entry.js +1 -1
- package/dist/esm/gux-form-field-number.entry.js +2 -2
- 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-icon.entry.js +1 -1
- package/dist/esm/gux-input-checkbox_7.entry.js +1 -1
- package/dist/esm/gux-input-search.entry.js +1 -1
- package/dist/esm/gux-input-text-like.entry.js +1 -1
- package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +1 -1
- package/dist/esm/gux-notification-toast.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
- package/dist/esm/gux-pagination-beta.entry.js +111 -0
- package/dist/esm/gux-pagination-buttons-beta_3.entry.js +252 -0
- package/dist/esm/gux-pagination-buttons_3.entry.js +1 -1
- package/dist/esm/gux-pagination-cursor.entry.js +2 -2
- package/dist/esm/gux-pagination.entry.js +1 -1
- package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +1 -1
- package/dist/esm/gux-popover.entry.js +1 -1
- package/dist/esm/gux-radial-loading.entry.js +2 -2
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +1 -1
- package/dist/esm/gux-row-select.entry.js +2 -2
- package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
- package/dist/esm/gux-simple-toast.entry.js +1 -1
- package/dist/esm/gux-switch.entry.js +1 -1
- package/dist/esm/gux-tab-advanced-list.entry.js +2 -2
- package/dist/esm/gux-tab-advanced.entry.js +2 -2
- package/dist/esm/gux-tab-list.entry.js +2 -2
- package/dist/esm/gux-tab.entry.js +2 -0
- package/dist/esm/gux-table-beta.entry.js +2 -2
- package/dist/esm/gux-tabs-advanced.entry.js +1 -1
- package/dist/esm/gux-tabs-legacy.entry.js +2 -2
- package/dist/esm/gux-tabs.entry.js +1 -1
- package/dist/esm/gux-tag-beta.entry.js +2 -2
- package/dist/esm/gux-text-highlight.entry.js +1 -1
- package/dist/esm/gux-text-label-legacy.entry.js +1 -1
- package/dist/esm/gux-time-picker-beta.entry.js +2 -2
- package/dist/esm/gux-toggle.entry.js +2 -2
- package/dist/esm/gux-tooltip_2.entry.js +3 -1
- package/dist/esm/gux-visualization-beta.entry.js +2 -2
- package/dist/esm/{index-eb3999c5.js → index-5bfcdeb1.js} +5 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-tracking-caafd588.js → usage-tracking-51697c05.js} +3 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ar.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.cs.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.da.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.de.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es-es.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fi.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr-ca.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.it.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ja.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ko.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.nl.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.no.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pl.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-br.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ru.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.sv.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.th.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.tr.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-cn.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-tw.json +1 -1
- package/dist/genesys-webcomponents/{p-2f9715c3.entry.js → p-029337ed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0a5c269e.entry.js → p-0657bb17.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e3fdc36.entry.js → p-0769a6d9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e8a02b19.entry.js → p-0e778f56.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8a06b419.entry.js → p-12d27bc7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8c23e089.entry.js → p-1312bc4b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-92aafbfe.entry.js → p-13a7eb59.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2a1d2b35.entry.js → p-15964b3a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1bba8576.js +1 -0
- package/dist/genesys-webcomponents/{p-1c3d7e56.entry.js → p-1c57ad87.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0139cd24.entry.js → p-1cd8af37.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-201c4e67.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e1be144a.entry.js → p-22d6e306.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-973a46bf.entry.js → p-22f6880d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b969f587.entry.js → p-23b66369.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14a51c35.js → p-2548bdad.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d87bfb1.entry.js → p-30095062.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5883a979.entry.js → p-3160cd26.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0ed5770b.entry.js → p-3753e5bf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e70c9c1.entry.js → p-3aa02e38.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e391d97b.entry.js → p-40b404e4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-421513fb.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f90b11f9.entry.js → p-42d912d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4402a21b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-954375b3.entry.js → p-47b43bb0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50cbdc7f.entry.js → p-4a191fdf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3d8cdaa7.entry.js → p-4b3e2f4d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-608eca17.entry.js → p-4b9a1290.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-88ec68e2.entry.js → p-4cb5c8d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d28a9689.entry.js → p-4d83e96e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e2ccc99d.entry.js → p-51919256.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-26ad6687.entry.js → p-541f1383.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b9986930.entry.js → p-5535d4ed.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5d2b22a6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f72e9d11.entry.js → p-5e3c1579.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-677dee33.entry.js → p-5f7759a8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-21435de2.entry.js → p-5f9dc418.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-42985b5e.entry.js → p-604b978b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4035a6f8.entry.js → p-608ee12d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eef9954f.entry.js → p-612d3b4c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5947bba5.entry.js → p-62046104.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-65de98a6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a8ac4edb.entry.js → p-67d2bac0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4636daf4.entry.js → p-68ee84bf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b9160eb4.entry.js → p-6d9ba55a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5bb84166.entry.js → p-7b4c2f8b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-76980e6d.entry.js → p-80c489ef.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-400b5b09.entry.js → p-8ad470a9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8bcf179a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-69fe4ffe.entry.js → p-8df52df5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4678a4e8.entry.js → p-8e0974b7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d4b616eb.entry.js → p-93cf1b7e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-947b7fe3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3d46505b.entry.js → p-9ea979d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-98e368b9.entry.js → p-aa078b1d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bb2c9b20.entry.js → p-b3bdfcc9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b3527345.entry.js → p-b5762726.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-230911f2.entry.js → p-b9911d1a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-31477334.entry.js → p-ba4e06bc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-68ba6371.entry.js → p-badab913.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-02407395.entry.js → p-bb12b2dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f26263ae.entry.js → p-bde629e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0fce04d5.entry.js → p-be911be7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c150db37.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-dcbef79f.entry.js → p-c3524a32.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-09f8b72d.entry.js → p-ce0c292e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8cf71be5.entry.js → p-d748b223.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e8a398e5.entry.js → p-d9bcb92f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2cb99443.entry.js → p-d9cbc341.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-64fb35a9.entry.js → p-e17d08a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4bc1f7cb.entry.js → p-ed20a20e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ed230e32.entry.js → p-edb68d93.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-87f44e1a.entry.js → p-ee19896a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9cdc663e.entry.js → p-ef83b43e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70f68ff1.entry.js → p-f0ae8bb8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a7564000.entry.js → p-f6242c65.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a7638b69.entry.js → p-f7f7374c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2f894b8a.entry.js → p-f992d937.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b75a51e5.entry.js → p-f9f89217.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a2b6f0e3.entry.js → p-faa78d1f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2fd71eb9.entry.js → p-fe70aa84.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-chart-scatter-plot/gux-chart-scatter-plot.d.ts +52 -0
- package/dist/types/components/beta/gux-pagination-beta/gux-pagination-beta.d.ts +43 -0
- package/dist/types/components/beta/gux-pagination-beta/gux-pagination-beta.types.d.ts +2 -0
- package/dist/types/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-button-beta.service.d.ts +9 -0
- package/dist/types/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-buttons-beta.d.ts +23 -0
- package/dist/types/components/beta/gux-pagination-beta/gux-pagination-item-counts-beta/gux-pagination-item-counts-beta.d.ts +13 -0
- package/dist/types/components/beta/gux-pagination-beta/gux-pagination-items-per-page-beta/gux-pagination-items-per-page-beta.d.ts +13 -0
- package/dist/types/components.d.ts +221 -0
- package/dist/types/i18n/index.d.ts +2 -2
- package/package.json +3 -1
- package/dist/genesys-webcomponents/p-155a1000.entry.js +0 -1
- package/dist/genesys-webcomponents/p-64d6f1fa.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9bdbd2da.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ae53d4d6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b4a812f0.js +0 -1
- package/dist/genesys-webcomponents/p-c3c3c607.entry.js +0 -1
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-76794476.js';
|
|
2
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
3
|
+
import './get-closest-element-1597503c.js';
|
|
4
|
+
|
|
5
|
+
const page = "Page";
|
|
6
|
+
const totalPages = " of {totalPages, number}";
|
|
7
|
+
const first = "First";
|
|
8
|
+
const previous = "Previous";
|
|
9
|
+
const next = "Next";
|
|
10
|
+
const last = "Last";
|
|
11
|
+
const pageInputLabel = "Page {currentPage, number} of {totalPages, number}";
|
|
12
|
+
const paginationResources$2 = {
|
|
13
|
+
page: page,
|
|
14
|
+
totalPages: totalPages,
|
|
15
|
+
first: first,
|
|
16
|
+
previous: previous,
|
|
17
|
+
next: next,
|
|
18
|
+
last: last,
|
|
19
|
+
pageInputLabel: pageInputLabel
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
class GuxPaginationButtonsService {
|
|
23
|
+
static getPageList(currentPage, totalPages) {
|
|
24
|
+
if (totalPages <= 10) {
|
|
25
|
+
return [...Array(totalPages).keys()].map(index => {
|
|
26
|
+
const pageNumber = index + 1;
|
|
27
|
+
return {
|
|
28
|
+
pageNumber,
|
|
29
|
+
display: String(pageNumber),
|
|
30
|
+
current: pageNumber === currentPage
|
|
31
|
+
};
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
if (currentPage <= 5) {
|
|
35
|
+
const startPageList = [...Array(6).keys()].map(index => {
|
|
36
|
+
const pageNumber = index + 1;
|
|
37
|
+
return {
|
|
38
|
+
pageNumber,
|
|
39
|
+
display: String(pageNumber),
|
|
40
|
+
current: pageNumber === currentPage
|
|
41
|
+
};
|
|
42
|
+
});
|
|
43
|
+
return [
|
|
44
|
+
...startPageList,
|
|
45
|
+
{
|
|
46
|
+
pageNumber: 7,
|
|
47
|
+
display: '...',
|
|
48
|
+
current: false
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
pageNumber: totalPages,
|
|
52
|
+
display: String(totalPages),
|
|
53
|
+
current: false
|
|
54
|
+
}
|
|
55
|
+
];
|
|
56
|
+
}
|
|
57
|
+
if (currentPage > totalPages - 5) {
|
|
58
|
+
const endPageList = [...Array(6).keys()].map(index => {
|
|
59
|
+
const pageNumber = index + totalPages - 5;
|
|
60
|
+
return {
|
|
61
|
+
pageNumber,
|
|
62
|
+
display: String(pageNumber),
|
|
63
|
+
current: pageNumber === currentPage
|
|
64
|
+
};
|
|
65
|
+
});
|
|
66
|
+
return [
|
|
67
|
+
{
|
|
68
|
+
pageNumber: 1,
|
|
69
|
+
display: '1',
|
|
70
|
+
current: false
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
pageNumber: totalPages - 6,
|
|
74
|
+
display: '...',
|
|
75
|
+
current: false
|
|
76
|
+
},
|
|
77
|
+
...endPageList
|
|
78
|
+
];
|
|
79
|
+
}
|
|
80
|
+
const middlePageList = [...Array(5).keys()].map(index => {
|
|
81
|
+
const pageNumber = index + currentPage - 2;
|
|
82
|
+
return {
|
|
83
|
+
pageNumber,
|
|
84
|
+
display: String(pageNumber),
|
|
85
|
+
current: pageNumber === currentPage
|
|
86
|
+
};
|
|
87
|
+
});
|
|
88
|
+
return [
|
|
89
|
+
{
|
|
90
|
+
pageNumber: 1,
|
|
91
|
+
display: '1',
|
|
92
|
+
current: false
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
pageNumber: currentPage - 3,
|
|
96
|
+
display: '...',
|
|
97
|
+
current: false
|
|
98
|
+
},
|
|
99
|
+
...middlePageList,
|
|
100
|
+
{
|
|
101
|
+
pageNumber: currentPage + 3,
|
|
102
|
+
display: '...',
|
|
103
|
+
current: false
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
pageNumber: totalPages,
|
|
107
|
+
display: String(totalPages),
|
|
108
|
+
current: false
|
|
109
|
+
}
|
|
110
|
+
];
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
const guxPaginationButtonsBetaCss = "gux-pagination-buttons-beta{color:#2e394c}gux-pagination-buttons-beta .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-end}gux-pagination-buttons-beta .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-group gux-button-slot-beta:not(:first-of-type){margin-left:8px}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px;margin:0 8px}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:inherit;text-align:center}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current,gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{height:32px;padding:0 8px;margin:0;background:inherit;border:none}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current:focus-visible,gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:focus-visible{border:3px solid #aac9ff;border-radius:5px;outline:none}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{font-weight:600}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{color:#2a60c8;cursor:pointer}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:8px}";
|
|
115
|
+
|
|
116
|
+
const GuxPaginationButtonsBeta = class {
|
|
117
|
+
constructor(hostRef) {
|
|
118
|
+
registerInstance(this, hostRef);
|
|
119
|
+
this.internalcurrentpagechange = createEvent(this, "internalcurrentpagechange", 3);
|
|
120
|
+
this.layout = 'advanced';
|
|
121
|
+
}
|
|
122
|
+
get onFirstPage() {
|
|
123
|
+
return this.currentPage <= 1;
|
|
124
|
+
}
|
|
125
|
+
get onLastPage() {
|
|
126
|
+
return this.currentPage >= this.totalPages;
|
|
127
|
+
}
|
|
128
|
+
handleClickFirst() {
|
|
129
|
+
this.internalcurrentpagechange.emit(1);
|
|
130
|
+
}
|
|
131
|
+
handleClickPrevious() {
|
|
132
|
+
this.internalcurrentpagechange.emit(this.currentPage - 1);
|
|
133
|
+
}
|
|
134
|
+
handleClickNext() {
|
|
135
|
+
this.internalcurrentpagechange.emit(this.currentPage + 1);
|
|
136
|
+
}
|
|
137
|
+
handleClickLast() {
|
|
138
|
+
this.internalcurrentpagechange.emit(this.totalPages);
|
|
139
|
+
}
|
|
140
|
+
handleClickPage(pageNumber) {
|
|
141
|
+
this.internalcurrentpagechange.emit(pageNumber);
|
|
142
|
+
}
|
|
143
|
+
getPageListEnteries(currentPage, totalPages) {
|
|
144
|
+
return GuxPaginationButtonsService.getPageList(currentPage, totalPages).reduce((acc, cv) => {
|
|
145
|
+
if (cv.current) {
|
|
146
|
+
return acc.concat((h("button", { class: "gux-pagination-buttons-list-current" }, cv.display)));
|
|
147
|
+
}
|
|
148
|
+
return acc.concat((h("button", { class: "gux-pagination-buttons-list-target", onClick: () => this.handleClickPage(cv.pageNumber) }, cv.display)));
|
|
149
|
+
}, []);
|
|
150
|
+
}
|
|
151
|
+
getSmallPagePicker() {
|
|
152
|
+
return (h("div", { class: 'gux-pagination-buttons-spacer' }));
|
|
153
|
+
}
|
|
154
|
+
getFullPagePicker() {
|
|
155
|
+
return (h("div", { class: "gux-pagination-buttons-list-container" }, this.getPageListEnteries(this.currentPage, this.totalPages)));
|
|
156
|
+
}
|
|
157
|
+
getPagePicker(layout) {
|
|
158
|
+
if (layout === 'simple') {
|
|
159
|
+
return this.getSmallPagePicker();
|
|
160
|
+
}
|
|
161
|
+
return this.getFullPagePicker();
|
|
162
|
+
}
|
|
163
|
+
async componentWillLoad() {
|
|
164
|
+
this.i18n = await buildI18nForComponent(this.root, paginationResources$2);
|
|
165
|
+
}
|
|
166
|
+
render() {
|
|
167
|
+
return (h("div", { class: `gux-pagination-buttons-container gux-${this.layout}` }, h("div", { class: "gux-pagination-buttons-group" }, h("gux-button-slot-beta", { accent: "secondary" }, h("button", { title: this.i18n('first'), disabled: this.onFirstPage, onClick: this.handleClickFirst.bind(this) }, h("gux-icon", { decorative: true, "icon-name": "chevron-double-left" }))), h("gux-button-slot-beta", { accent: "secondary" }, h("button", { title: this.i18n('previous'), disabled: this.onFirstPage, onClick: this.handleClickPrevious.bind(this) }, h("gux-icon", { decorative: true, "icon-name": "chevron-small-left" })))), this.getPagePicker(this.layout), h("div", { class: "gux-pagination-buttons-group" }, h("gux-button-slot-beta", { accent: "secondary" }, h("button", { title: this.i18n('next'), disabled: this.onLastPage, onClick: this.handleClickNext.bind(this) }, h("gux-icon", { decorative: true, "icon-name": "chevron-small-right" }))), h("gux-button-slot-beta", { accent: "secondary" }, h("button", { title: this.i18n('last'), disabled: this.onLastPage, onClick: this.handleClickLast.bind(this) }, h("gux-icon", { decorative: true, "icon-name": "chevron-double-right" }))))));
|
|
168
|
+
}
|
|
169
|
+
get root() { return getElement(this); }
|
|
170
|
+
};
|
|
171
|
+
GuxPaginationButtonsBeta.style = guxPaginationButtonsBetaCss;
|
|
172
|
+
|
|
173
|
+
const itemCountDisplay = "{firstItem, number} - {lastItem, number}";
|
|
174
|
+
const totalItems = " of {totalItems, number}";
|
|
175
|
+
const paginationResources$1 = {
|
|
176
|
+
itemCountDisplay: itemCountDisplay,
|
|
177
|
+
totalItems: totalItems
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
const guxPaginationItemCountsBetaCss = "gux-pagination-item-counts-beta{color:#2e394c}gux-pagination-item-counts-beta .gux-pagination-item-counts-container{white-space:nowrap}gux-pagination-item-counts-beta .gux-pagination-item-counts-container .gux-pagination-item-counts-range{font-weight:bold}";
|
|
181
|
+
|
|
182
|
+
const GuxPaginationItemCountsBeta = class {
|
|
183
|
+
constructor(hostRef) {
|
|
184
|
+
registerInstance(this, hostRef);
|
|
185
|
+
this.totalItems = 0;
|
|
186
|
+
this.currentPage = 0;
|
|
187
|
+
this.itemsPerPage = 25;
|
|
188
|
+
}
|
|
189
|
+
get firstItem() {
|
|
190
|
+
if (this.totalItems < 1) {
|
|
191
|
+
return 0;
|
|
192
|
+
}
|
|
193
|
+
return (this.currentPage - 1) * this.itemsPerPage + 1;
|
|
194
|
+
}
|
|
195
|
+
get lastItem() {
|
|
196
|
+
if (this.totalItems < 1) {
|
|
197
|
+
return 0;
|
|
198
|
+
}
|
|
199
|
+
return Math.min(this.currentPage * this.itemsPerPage, this.totalItems);
|
|
200
|
+
}
|
|
201
|
+
async componentWillLoad() {
|
|
202
|
+
this.i18n = await buildI18nForComponent(this.root, paginationResources$1);
|
|
203
|
+
}
|
|
204
|
+
getPaginationItemCountsRange() {
|
|
205
|
+
if (this.totalItems) {
|
|
206
|
+
return (h("span", null, this.i18n('totalItems', { totalItems: this.totalItems })));
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
render() {
|
|
210
|
+
return (h("div", { class: "gux-pagination-item-counts-container" }, h("span", { class: "gux-pagination-item-counts-range" }, this.i18n('itemCountDisplay', {
|
|
211
|
+
firstItem: this.firstItem,
|
|
212
|
+
lastItem: this.lastItem
|
|
213
|
+
})), this.getPaginationItemCountsRange()));
|
|
214
|
+
}
|
|
215
|
+
get root() { return getElement(this); }
|
|
216
|
+
};
|
|
217
|
+
GuxPaginationItemCountsBeta.style = guxPaginationItemCountsBetaCss;
|
|
218
|
+
|
|
219
|
+
const perPage = "per page";
|
|
220
|
+
const itemsPerPage = "Items per page";
|
|
221
|
+
const paginationResources = {
|
|
222
|
+
perPage: perPage,
|
|
223
|
+
itemsPerPage: itemsPerPage
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
const guxPaginationItemsPerPageBetaCss = "gux-pagination-items-per-page-beta{color:#2e394c}gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker{margin:0 8px 0 16px}gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{bottom:100%;display:flex;flex-direction:column-reverse}";
|
|
227
|
+
|
|
228
|
+
const GuxPaginationItemsPerPageBeta = class {
|
|
229
|
+
constructor(hostRef) {
|
|
230
|
+
registerInstance(this, hostRef);
|
|
231
|
+
this.internalitemsperpagechange = createEvent(this, "internalitemsperpagechange", 3);
|
|
232
|
+
this.itemsPerPage = 25;
|
|
233
|
+
}
|
|
234
|
+
handleChange(event) {
|
|
235
|
+
event.stopPropagation();
|
|
236
|
+
const newItemsPerPageValue = parseInt(this.dropdownElement.value, 10);
|
|
237
|
+
this.internalitemsperpagechange.emit(newItemsPerPageValue);
|
|
238
|
+
}
|
|
239
|
+
async componentWillLoad() {
|
|
240
|
+
this.i18n = await buildI18nForComponent(this.root, paginationResources);
|
|
241
|
+
}
|
|
242
|
+
getDropdown() {
|
|
243
|
+
return (h("gux-dropdown", { ref: el => (this.dropdownElement = el), value: `${this.itemsPerPage}` }, h("gux-listbox", { "aria-label": this.i18n('itemsPerPage') }, h("gux-option", { value: "25" }, "25"), h("gux-option", { value: "50" }, "50"), h("gux-option", { value: "75" }, "75"), h("gux-option", { value: "100" }, "100"))));
|
|
244
|
+
}
|
|
245
|
+
render() {
|
|
246
|
+
return (h("div", { class: "gux-pagination-items-per-page-container" }, h("div", { class: "gux-pagination-items-per-page-picker" }, this.getDropdown()), h("div", null, this.i18n('perPage'))));
|
|
247
|
+
}
|
|
248
|
+
get root() { return getElement(this); }
|
|
249
|
+
};
|
|
250
|
+
GuxPaginationItemsPerPageBeta.style = guxPaginationItemsPerPageBetaCss;
|
|
251
|
+
|
|
252
|
+
export { GuxPaginationButtonsBeta as gux_pagination_buttons_beta, GuxPaginationItemCountsBeta as gux_pagination_item_counts_beta, GuxPaginationItemsPerPageBeta as gux_pagination_items_per_page_beta };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { b as buildI18nForComponent } from './index-
|
|
2
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
3
3
|
import './get-closest-element-1597503c.js';
|
|
4
4
|
|
|
5
5
|
const page = "Page";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
3
|
-
import { b as buildI18nForComponent } from './index-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
3
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
4
4
|
import './get-closest-element-1597503c.js';
|
|
5
5
|
|
|
6
6
|
const previous = "Previous";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
3
3
|
|
|
4
4
|
const guxPaginationCss = ":host{display:block;border-top:1px solid #e2e6ee}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:32px;margin-top:12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;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-change{flex:1 1 auto;align-self:auto;order:0;margin-left:16px}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
3
3
|
|
|
4
4
|
function hasSlot(element, slotName) {
|
|
5
5
|
return Boolean(element.querySelector(`[slot=${slotName}]`));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-76794476.js';
|
|
2
2
|
import { O as OnClickOutside } from './on-click-outside-ce30de20.js';
|
|
3
3
|
import { b as onHiddenChange } from './on-attribute-change-2b01c315.js';
|
|
4
|
-
import { t as trackComponent } from './usage-tracking-
|
|
4
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
5
5
|
import { c as createPopper } from './popper-93ecb064.js';
|
|
6
6
|
|
|
7
7
|
const guxPopoverListCss = ":host{color:#2e394c}.gux-popover-wrapper{z-index:2;display:inline-block;padding:8px 0;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper .gux-arrow,.gux-popover-wrapper .gux-arrow::before{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper .gux-arrow{visibility:hidden}.gux-popover-wrapper .gux-arrow::before{visibility:visible;content:'';transform:rotate(45deg)}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow{top:-5px}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow{bottom:-5px}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow::before{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow{right:-5px}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow{left:-5px}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow::before{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-76794476.js';
|
|
2
2
|
import { O as OnClickOutside } from './on-click-outside-ce30de20.js';
|
|
3
3
|
import { b as onHiddenChange } from './on-attribute-change-2b01c315.js';
|
|
4
|
-
import { t as trackComponent } from './usage-tracking-
|
|
4
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
5
5
|
import { c as createPopper } from './popper-93ecb064.js';
|
|
6
6
|
|
|
7
7
|
const guxPopoverCss = ":host{color:#2e394c}.gux-popover-wrapper{z-index:2;display:inline-block;padding:16px;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper .gux-arrow,.gux-popover-wrapper .gux-arrow::before{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper .gux-arrow{visibility:hidden}.gux-popover-wrapper .gux-arrow::before{visibility:visible;content:'';transform:rotate(45deg)}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow{top:-5px}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow{bottom:-5px}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow::before{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow{right:-5px}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow{left:-5px}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow::before{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { b as buildI18nForComponent } from './index-
|
|
3
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
3
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
4
4
|
import './get-closest-element-1597503c.js';
|
|
5
5
|
|
|
6
6
|
const loading = "Loading";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
3
3
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
4
4
|
import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
|
|
5
5
|
import { c as clamp } from './clamp-6bdb0367.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-76794476.js';
|
|
2
2
|
import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
|
|
3
3
|
import { c as clamp } from './clamp-6bdb0367.js';
|
|
4
|
-
import { t as trackComponent } from './usage-tracking-
|
|
4
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
5
5
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
6
6
|
|
|
7
7
|
const guxRatingCss = ":host{display:inline-flex;user-select:none}:host:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-rating-star-container{color:#2e394c}.gux-rating-star-container.gux-disabled{opacity:0.5}.gux-rating-star-container gux-icon{width:24px;height:24px}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { b as buildI18nForComponent } from './index-
|
|
2
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
3
3
|
import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
|
|
4
4
|
import { t as tableResources } from './en-07edddda.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
@@ -20,7 +20,7 @@ const GuxRowSelect = class {
|
|
|
20
20
|
this.internalrowselectchange.emit();
|
|
21
21
|
}
|
|
22
22
|
async componentWillLoad() {
|
|
23
|
-
this.i18n = await buildI18nForComponent(this.root, tableResources);
|
|
23
|
+
this.i18n = await buildI18nForComponent(this.root, tableResources, 'gux-table');
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
return (h("gux-form-field-checkbox", null, h("input", { slot: "input", id: this.id, type: "checkbox", checked: this.selected }), h("label", { slot: "label", htmlFor: this.id }, "\u200B", h("span", { class: "gux-label-text" }, this.i18n('selectTableRow')))));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
3
3
|
|
|
4
4
|
const guxSidePanelCss = "gux-side-panel-legacy aside{position:relative;display:flex;flex-direction:row-reverse;width:49px;height:100%;color:#2e394c;background-color:#fdfdfd}gux-side-panel-legacy aside.gux-left{flex-direction:row}gux-side-panel-legacy aside.gux-left .gux-panel-content{left:49px}gux-side-panel-legacy aside.gux-right .gux-panel-content{right:49px}gux-side-panel-legacy aside .gux-panel-icons{border:1px solid #e2e6ee}gux-side-panel-legacy aside .gux-panel-icons gux-side-panel-button{display:flex;flex-direction:column}gux-side-panel-legacy aside .gux-panel-content{position:absolute;width:280px;height:100%}gux-side-panel-legacy aside .gux-panel-content [slot='side-panel-content']{height:100%}gux-side-panel-legacy aside .gux-panel-content.gux-closed{display:none}.gux-side-panel-dark-theme{color:#fdfdfd}.gux-side-panel-dark-theme aside{background-color:#2e394c}.gux-side-panel-dark-theme aside .gux-panel-icons{border-color:#202937}.gux-dark-theme gux-side-panel-legacy{color:#fdfdfd}.gux-dark-theme gux-side-panel-legacy aside{background-color:#2e394c}.gux-dark-theme gux-side-panel-legacy aside .gux-panel-icons{border-color:#202937}gux-side-panel-legacy.gux-dark-theme{color:#fdfdfd}gux-side-panel-legacy.gux-dark-theme aside{background-color:#2e394c}gux-side-panel-legacy.gux-dark-theme aside .gux-panel-icons{border-color:#202937}.gux-side-panel-light-theme{color:#2e394c}.gux-light-theme gux-side-panel-legacy{color:#2e394c}gux-side-panel-legacy.gux-light-theme{color:#2e394c}gux-side-panel-legacy{color:#2e394c}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
3
3
|
|
|
4
4
|
const guxSimpleToastCss = ":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:286px;padding:8px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid;border-color:#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;margin:6px 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 gux-icon{width:12px;height:12px}.gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-76794476.js';
|
|
2
2
|
import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
|
|
3
|
-
import { t as trackComponent } from './usage-tracking-
|
|
3
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
4
4
|
|
|
5
5
|
const guxSwitchCss = "gux-switch{display:flex;align-items:flex-end}";
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, d as readTask, w as writeTask, h, g as getElement } from './index-76794476.js';
|
|
2
2
|
import { S as Sortable } from './sortable.esm-c4e0b0d3.js';
|
|
3
3
|
import { O as OnMutation } from './on-mutation-2e96b1b9.js';
|
|
4
|
-
import { b as buildI18nForComponent } from './index-
|
|
4
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
5
5
|
import { e as eventIsFrom } from './event-is-from-90b69768.js';
|
|
6
6
|
import { t as tabsResources } from './en-46223eb1.js';
|
|
7
7
|
import './get-closest-element-1597503c.js';
|
|
@@ -375,7 +375,7 @@ const GuxTabAdvancedList = class {
|
|
|
375
375
|
}
|
|
376
376
|
async componentWillLoad() {
|
|
377
377
|
this.setTabTriggers();
|
|
378
|
-
this.i18n = await buildI18nForComponent(this.root, tabsResources);
|
|
378
|
+
this.i18n = await buildI18nForComponent(this.root, tabsResources, 'gux-tabs-advanced');
|
|
379
379
|
}
|
|
380
380
|
componentDidLoad() {
|
|
381
381
|
if (this.allowSort && !this.sortableInstance) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, w as writeTask, h, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { b as buildI18nForComponent } from './index-
|
|
2
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
3
3
|
import { e as eventIsFrom } from './event-is-from-90b69768.js';
|
|
4
4
|
import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
|
|
5
5
|
import { t as tabsResources } from './en-46223eb1.js';
|
|
@@ -110,7 +110,7 @@ const GuxTabAdvanced = class {
|
|
|
110
110
|
}, this.moveFocusDelay);
|
|
111
111
|
}
|
|
112
112
|
async componentWillLoad() {
|
|
113
|
-
this.i18n = await buildI18nForComponent(this.root, tabsResources);
|
|
113
|
+
this.i18n = await buildI18nForComponent(this.root, tabsResources, 'gux-tabs-advanced');
|
|
114
114
|
}
|
|
115
115
|
componentDidLoad() {
|
|
116
116
|
this.tabTitle = this.root
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, d as readTask, w as writeTask, h, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { b as buildI18nForComponent } from './index-
|
|
2
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
3
3
|
import './get-closest-element-1597503c.js';
|
|
4
4
|
|
|
5
5
|
const scrollLeft = "Scroll Left";
|
|
@@ -167,7 +167,7 @@ const GuxTabList = class {
|
|
|
167
167
|
}
|
|
168
168
|
async componentWillLoad() {
|
|
169
169
|
this.setTabTriggers();
|
|
170
|
-
this.i18n = await buildI18nForComponent(this.root, tabsResources);
|
|
170
|
+
this.i18n = await buildI18nForComponent(this.root, tabsResources, 'gux-tabs');
|
|
171
171
|
}
|
|
172
172
|
componentDidLoad() {
|
|
173
173
|
if (!this.resizeObserver && window.ResizeObserver) {
|
|
@@ -18,9 +18,11 @@ const GuxTab = class {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
onFocusin() {
|
|
21
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
21
22
|
void this.tooltipTitleElement.setShowTooltip();
|
|
22
23
|
}
|
|
23
24
|
onFocusout() {
|
|
25
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
24
26
|
void this.tooltipTitleElement.setHideTooltip();
|
|
25
27
|
}
|
|
26
28
|
// eslint-disable-next-line @typescript-eslint/require-await
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, d as readTask, a as getAssetPath, h, H as Host, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { b as buildI18nForComponent } from './index-
|
|
2
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
3
3
|
import { w as whenEventIsFrom } from './when-event-is-from-18667084.js';
|
|
4
4
|
import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
6
6
|
import { t as tableResources } from './en-07edddda.js';
|
|
7
7
|
import './get-closest-element-1597503c.js';
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
3
3
|
|
|
4
4
|
const guxTabsAdvancedCss = "gux-tabs-advanced{-custom-noop:noop}";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, d as readTask, w as writeTask, h, g as getElement } from './index-76794476.js';
|
|
2
2
|
import { S as Sortable } from './sortable.esm-c4e0b0d3.js';
|
|
3
|
-
import { t as trackComponent } from './usage-tracking-
|
|
4
|
-
import { b as buildI18nForComponent } from './index-
|
|
3
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
4
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
5
5
|
import { w as whenEventIsFrom } from './when-event-is-from-18667084.js';
|
|
6
6
|
import './get-closest-element-1597503c.js';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
3
3
|
|
|
4
4
|
const guxTabsCss = ".gux-tabs.gux-vertical{display:flex;height:100%}";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { b as buildI18nForComponent } from './index-
|
|
3
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
3
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
4
4
|
import './get-closest-element-1597503c.js';
|
|
5
5
|
|
|
6
6
|
const tag = "tag with label: {label}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-76794476.js';
|
|
2
2
|
import { m as matchesFuzzy, g as getFuzzyReplacements } from './search-2ca67cb1.js';
|
|
3
|
-
import { t as trackComponent } from './usage-tracking-
|
|
3
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
4
4
|
|
|
5
5
|
const GuxTextHighlight = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
3
3
|
|
|
4
4
|
const guxTextLabelCss = "gux-text-label-legacy .gux-label{margin-right:8px}gux-text-label-legacy .gux-text-label-container.gux-beside{display:flex;flex-direction:row;align-items:baseline}gux-text-label-legacy .gux-text-label-container.gux-beside .gux-labeled-component{flex:1 1 auto}.gux-text-label-dark-theme{color:#fdfdfd}.gux-dark-theme gux-text-label-legacy{color:#fdfdfd}gux-text-label-legacy.gux-dark-theme{color:#fdfdfd}.gux-text-label-light-theme{color:#2e394c}.gux-light-theme gux-text-label-legacy{color:#2e394c}gux-text-label-legacy.gux-light-theme{color:#2e394c}gux-text-label-legacy{color:#2e394c}";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-76794476.js';
|
|
2
2
|
import { O as OnClickOutside } from './on-click-outside-ce30de20.js';
|
|
3
|
-
import { t as trackComponent } from './usage-tracking-
|
|
4
|
-
import { b as buildI18nForComponent } from './index-
|
|
3
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
4
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
6
6
|
|
|
7
7
|
/********************************************************
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-76794476.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
3
3
|
import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
|
|
4
|
-
import { b as buildI18nForComponent } from './index-
|
|
4
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
6
6
|
|
|
7
7
|
const defaultAriaLabel = "Toggle Switch";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-76794476.js';
|
|
2
2
|
import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
|
|
3
|
-
import { t as trackComponent } from './usage-tracking-
|
|
3
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
4
4
|
import { c as createPopper } from './popper-93ecb064.js';
|
|
5
5
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
6
6
|
import { O as OnMutation } from './on-mutation-2e96b1b9.js';
|
|
@@ -140,12 +140,14 @@ const GuxTooltipTitle = class {
|
|
|
140
140
|
async setShowTooltip() {
|
|
141
141
|
if (this.tooltipElement) {
|
|
142
142
|
this.showTooltip = true;
|
|
143
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
143
144
|
await this.tooltipElement.showTooltip();
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
147
|
async setHideTooltip() {
|
|
147
148
|
if (this.tooltipElement) {
|
|
148
149
|
this.showTooltip = false;
|
|
150
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
149
151
|
await this.tooltipElement.hideTooltip();
|
|
150
152
|
}
|
|
151
153
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h as h$1, g as getElement } from './index-76794476.js';
|
|
2
2
|
import { c as createCommonjsModule } from './_commonjsHelpers-9943807e.js';
|
|
3
|
-
import { g as getDesiredLocale } from './index-
|
|
4
|
-
import { t as trackComponent } from './usage-tracking-
|
|
3
|
+
import { g as getDesiredLocale } from './index-5bfcdeb1.js';
|
|
4
|
+
import { t as trackComponent } from './usage-tracking-51697c05.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
6
6
|
|
|
7
7
|
/*!
|
|
@@ -4038,12 +4038,12 @@ const startOfWeekDataUntyped = /*#__PURE__*/Object.freeze({
|
|
|
4038
4038
|
});
|
|
4039
4039
|
|
|
4040
4040
|
const DEFAULT_LOCALE = 'en';
|
|
4041
|
-
async function buildI18nForComponent(component, defaultResources) {
|
|
4041
|
+
async function buildI18nForComponent(component, defaultResources, parentComponent) {
|
|
4042
4042
|
let resources = defaultResources;
|
|
4043
4043
|
let locale = 'en';
|
|
4044
4044
|
if (component !== undefined) {
|
|
4045
4045
|
locale = getDesiredLocale(component);
|
|
4046
|
-
resources = await getComponentI18nResources(component, defaultResources, locale);
|
|
4046
|
+
resources = await getComponentI18nResources(component, defaultResources, locale, parentComponent);
|
|
4047
4047
|
}
|
|
4048
4048
|
const intlFormats = Object.entries(resources).reduce((map, [key, val]) => {
|
|
4049
4049
|
map.set(key, new IntlMessageFormat(val, locale));
|
|
@@ -4063,10 +4063,9 @@ async function buildI18nForComponent(component, defaultResources) {
|
|
|
4063
4063
|
return i18nString;
|
|
4064
4064
|
};
|
|
4065
4065
|
}
|
|
4066
|
-
async function getComponentI18nResources(component, defaultResources, locale) {
|
|
4067
|
-
const componentName =
|
|
4068
|
-
.toLocaleLowerCase()
|
|
4069
|
-
.replace(/-beta$/, '');
|
|
4066
|
+
async function getComponentI18nResources(component, defaultResources, locale, parentComponent) {
|
|
4067
|
+
const componentName = parentComponent ||
|
|
4068
|
+
component.tagName.toLocaleLowerCase().replace(/-beta$/, '');
|
|
4070
4069
|
let resources;
|
|
4071
4070
|
if (component['i18n-resources']) {
|
|
4072
4071
|
resources = component['i18n-resources'];
|
|
@@ -4094,7 +4093,6 @@ function getDesiredLocale(element) {
|
|
|
4094
4093
|
return lang;
|
|
4095
4094
|
}
|
|
4096
4095
|
else {
|
|
4097
|
-
console.error(`gux: No translation locale found for ${locale}, defaulting to '${DEFAULT_LOCALE}'`);
|
|
4098
4096
|
return DEFAULT_LOCALE;
|
|
4099
4097
|
}
|
|
4100
4098
|
}
|
|
@@ -4104,7 +4102,6 @@ function findLocaleInDom(element) {
|
|
|
4104
4102
|
return closestElement.lang.toLowerCase();
|
|
4105
4103
|
}
|
|
4106
4104
|
else {
|
|
4107
|
-
console.error(`gux: No language specified on page, defaulting to '${DEFAULT_LOCALE}'`, element.tagName);
|
|
4108
4105
|
return DEFAULT_LOCALE;
|
|
4109
4106
|
}
|
|
4110
4107
|
}
|