genesys-spark-components 3.2.0 → 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 +4924 -0
- 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-85436ff1.js → usage-tracking-53d21391.js} +1 -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 +3 -3
- 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-27c65ae8.js → usage-tracking-51697c05.js} +1 -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-7a5f74d9.entry.js → p-0657bb17.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a5558019.entry.js → p-0769a6d9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-44afce2f.entry.js → p-0e778f56.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14cd0c82.entry.js → p-12d27bc7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ffbb5862.entry.js → p-1312bc4b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-33520bfe.entry.js → p-13a7eb59.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-890b51d6.entry.js → p-15964b3a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-42454428.js → p-1bba8576.js} +1 -1
- package/dist/genesys-webcomponents/{p-8e12c97b.entry.js → p-1c57ad87.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-44738ee4.entry.js → p-1cd8af37.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-201c4e67.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d1d0b481.entry.js → p-22d6e306.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-22f6880d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6bb22291.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-78184d06.entry.js → p-30095062.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f2034144.entry.js → p-3160cd26.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3b335640.entry.js → p-3753e5bf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f3737156.entry.js → p-3aa02e38.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e2d7c903.entry.js → p-40b404e4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-421513fb.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5594f37c.entry.js → p-42d912d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4402a21b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-28463de4.entry.js → p-47b43bb0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-09ea55ec.entry.js → p-4a191fdf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dd761341.entry.js → p-4b3e2f4d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a41c00c6.entry.js → p-4b9a1290.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-881f55eb.entry.js → p-4cb5c8d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-64ad2a25.entry.js → p-4d83e96e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d490492.entry.js → p-51919256.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-592506ac.entry.js → p-541f1383.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-00c3054a.entry.js → p-5535d4ed.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5d2b22a6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-9ce6088b.entry.js → p-5e3c1579.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5b6f7cc8.entry.js → p-5f7759a8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dd814ad8.entry.js → p-5f9dc418.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a0503797.entry.js → p-604b978b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-de858ae0.entry.js → p-608ee12d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f89942a1.entry.js → p-612d3b4c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cfcab586.entry.js → p-62046104.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-65de98a6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d0485040.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-eb4661f4.entry.js → p-6d9ba55a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-893f0cc2.entry.js → p-7b4c2f8b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a456d7ca.entry.js → p-80c489ef.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-71438869.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-2a624729.entry.js → p-8e0974b7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-abc59192.entry.js → p-93cf1b7e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-947b7fe3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8fbf07eb.entry.js → p-9ea979d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-07200fbe.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-fcf8b41d.entry.js → p-b5762726.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-de5eede1.entry.js → p-b9911d1a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-832a8286.entry.js → p-ba4e06bc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a39c9746.entry.js → p-badab913.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aa2aa002.entry.js → p-bb12b2dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-93cc18db.entry.js → p-bde629e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5d92c782.entry.js → p-be911be7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c150db37.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-53e5fbc4.entry.js → p-c3524a32.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9e1fbc6e.entry.js → p-ce0c292e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-82cca429.entry.js → p-d748b223.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-22ce535d.entry.js → p-d9bcb92f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0d625862.entry.js → p-d9cbc341.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80ac23f3.entry.js → p-e17d08a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80ab0f16.entry.js → p-ed20a20e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6f7aa738.entry.js → p-edb68d93.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-036fd850.entry.js → p-ee19896a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cc959b74.entry.js → p-ef83b43e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d93d05c.entry.js → p-f0ae8bb8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e6be1cdd.entry.js → p-f6242c65.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-21ed1b6f.entry.js → p-f7f7374c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5b3f61b3.entry.js → p-f992d937.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a73fa450.entry.js → p-f9f89217.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0aefcf19.entry.js → p-faa78d1f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-406c1ecb.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 +1 -1
- package/dist/genesys-webcomponents/p-155a1000.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4bff75ab.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-c3c3c607.entry.js +0 -1
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
6
|
const onClickOutside = require('./on-click-outside-246a1eb3.js');
|
|
7
|
-
const index$1 = require('./index-
|
|
7
|
+
const index$1 = require('./index-2202ad01.js');
|
|
8
8
|
const simulateNativeEvent = require('./simulate-native-event-fe3e62da.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
9
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
10
10
|
const whenEventIsFrom = require('./when-event-is-from-69b5ca13.js');
|
|
11
11
|
const logError = require('./log-error-a57681bf.js');
|
|
12
12
|
const randomHtmlId = require('./random-html-id-b86b61c0.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
7
7
|
|
|
8
8
|
const guxErrorMessageBetaCss = ".gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;font-size:11px;color:#2e394c}.gux-container gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-container .gux-message{flex:0 1 auto;align-self:auto;order:0}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
7
7
|
const guxMenu_common = require('./gux-menu.common-6a6c2b85.js');
|
|
8
8
|
const popper = require('./popper-71bf3058.js');
|
|
9
9
|
|
|
@@ -6,7 +6,7 @@ const index = require('./index-33b1b88e.js');
|
|
|
6
6
|
const onMutation = require('./on-mutation-2e4dd956.js');
|
|
7
7
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
8
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
9
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
10
10
|
const guxFormField_servce = require('./gux-form-field.servce-e9451c50.js');
|
|
11
11
|
require('./random-html-id-b86b61c0.js');
|
|
12
12
|
require('./log-error-a57681bf.js');
|
|
@@ -6,7 +6,7 @@ const index = require('./index-33b1b88e.js');
|
|
|
6
6
|
const onMutation = require('./on-mutation-2e4dd956.js');
|
|
7
7
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
8
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
9
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
10
10
|
const guxFormFieldLabel = require('./gux-form-field-label-d5088b51.js');
|
|
11
11
|
const guxFormField_servce = require('./gux-form-field.servce-e9451c50.js');
|
|
12
12
|
require('./random-html-id-b86b61c0.js');
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
7
|
-
const index$1 = require('./index-
|
|
6
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
7
|
+
const index$1 = require('./index-2202ad01.js');
|
|
8
8
|
require('./get-closest-element-ab4b2eee.js');
|
|
9
9
|
|
|
10
10
|
const clear = "Clear";
|
|
@@ -8,7 +8,7 @@ const randomHtmlId = require('./random-html-id-b86b61c0.js');
|
|
|
8
8
|
const logError = require('./log-error-a57681bf.js');
|
|
9
9
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
10
10
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
11
|
-
const usageTracking = require('./usage-tracking-
|
|
11
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
12
12
|
|
|
13
13
|
const guxFormFieldCss = "gux-form-field-legacy{display:block;color:#2e394c}gux-form-field-legacy .gux-label-and-input-and-error-container{margin:16px 0}gux-form-field-legacy .gux-label-and-input-and-error-container label{font-size:12px;font-weight:bold;line-height:20px}gux-form-field-legacy .gux-label-and-input-and-error-container input,gux-form-field-legacy .gux-label-and-input-and-error-container select{width:100%;font-size:12px}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-container input{overflow:hidden;text-overflow:ellipsis}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error .gux-input-container{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error textarea{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error .gux-input-color-main-element{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-and-error-container{flex-grow:1}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside{display:flex;flex-direction:row}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside .gux-label-container{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-range,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-select,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-text-like,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-search{flex:1 1 auto}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-screenreader label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-form-field-legacy .gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}gux-form-field-legacy .gux-error{display:none;margin:4px 0}gux-form-field-legacy .gux-error.gux-show{display:block}";
|
|
14
14
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-2202ad01.js');
|
|
7
7
|
const onMutation = require('./on-mutation-2e4dd956.js');
|
|
8
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
9
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
10
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
11
11
|
const setInputValue = require('./set-input-value-610d7da3.js');
|
|
12
12
|
const simulateNativeEvent = require('./simulate-native-event-fe3e62da.js');
|
|
13
13
|
const guxFormFieldLabel = require('./gux-form-field-label-d5088b51.js');
|
|
@@ -6,7 +6,7 @@ const index = require('./index-33b1b88e.js');
|
|
|
6
6
|
const onMutation = require('./on-mutation-2e4dd956.js');
|
|
7
7
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
8
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
9
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
10
10
|
const guxFormField_servce = require('./gux-form-field.servce-e9451c50.js');
|
|
11
11
|
require('./random-html-id-b86b61c0.js');
|
|
12
12
|
require('./log-error-a57681bf.js');
|
|
@@ -6,7 +6,7 @@ const index = require('./index-33b1b88e.js');
|
|
|
6
6
|
const onMutation = require('./on-mutation-2e4dd956.js');
|
|
7
7
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
8
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
9
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
10
10
|
const guxFormFieldLabel = require('./gux-form-field-label-d5088b51.js');
|
|
11
11
|
const guxFormField_servce = require('./gux-form-field.servce-e9451c50.js');
|
|
12
12
|
require('./random-html-id-b86b61c0.js');
|
|
@@ -6,7 +6,7 @@ const index = require('./index-33b1b88e.js');
|
|
|
6
6
|
const onMutation = require('./on-mutation-2e4dd956.js');
|
|
7
7
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
8
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
9
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
10
10
|
const guxFormFieldLabel = require('./gux-form-field-label-d5088b51.js');
|
|
11
11
|
const guxFormField_servce = require('./gux-form-field.servce-e9451c50.js');
|
|
12
12
|
require('./random-html-id-b86b61c0.js');
|
|
@@ -6,7 +6,7 @@ const index = require('./index-33b1b88e.js');
|
|
|
6
6
|
const onMutation = require('./on-mutation-2e4dd956.js');
|
|
7
7
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
8
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
9
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
10
10
|
const guxFormFieldLabel = require('./gux-form-field-label-d5088b51.js');
|
|
11
11
|
const guxFormField_servce = require('./gux-form-field.servce-e9451c50.js');
|
|
12
12
|
require('./random-html-id-b86b61c0.js');
|
|
@@ -6,7 +6,7 @@ const index = require('./index-33b1b88e.js');
|
|
|
6
6
|
const onMutation = require('./on-mutation-2e4dd956.js');
|
|
7
7
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
8
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
9
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
10
10
|
const guxFormFieldLabel = require('./gux-form-field-label-d5088b51.js');
|
|
11
11
|
const guxFormField_servce = require('./gux-form-field.servce-e9451c50.js');
|
|
12
12
|
require('./random-html-id-b86b61c0.js');
|
|
@@ -6,7 +6,7 @@ const index = require('./index-33b1b88e.js');
|
|
|
6
6
|
const onMutation = require('./on-mutation-2e4dd956.js');
|
|
7
7
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
8
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
9
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
10
10
|
const guxFormFieldLabel = require('./gux-form-field-label-d5088b51.js');
|
|
11
11
|
const guxFormField_servce = require('./gux-form-field.servce-e9451c50.js');
|
|
12
12
|
require('./random-html-id-b86b61c0.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
7
7
|
const logError = require('./log-error-a57681bf.js');
|
|
8
8
|
|
|
9
9
|
const iconNameMap = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-2202ad01.js');
|
|
7
7
|
const randomHtmlId = require('./random-html-id-b86b61c0.js');
|
|
8
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
9
9
|
const setInputValue = require('./set-input-value-610d7da3.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-2202ad01.js');
|
|
7
7
|
const setInputValue = require('./set-input-value-610d7da3.js');
|
|
8
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
9
9
|
require('./get-closest-element-ab4b2eee.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-2202ad01.js');
|
|
7
7
|
const setInputValue = require('./set-input-value-610d7da3.js');
|
|
8
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
9
9
|
require('./get-closest-element-ab4b2eee.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
7
7
|
|
|
8
8
|
const guxListItemCss = ":host:focus .gux-list-item,:host:active .gux-list-item,:host:hover:not([disabled]) .gux-list-item{color:#fdfdfd;background:#2a60c8}:host(:focus) .gux-list-item,:host(:active) .gux-list-item,:host(:hover:not([disabled])) .gux-list-item{color:#fdfdfd;background:#2a60c8}:host([disabled]) .gux-list-item{pointer-events:none;cursor:default;opacity:0.5}.gux-list-item{display:flex;height:max-content;padding:0 16px;line-height:32px;word-wrap:break-word;cursor:pointer}.gux-list-item .gux-text{width:100%}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
7
7
|
|
|
8
8
|
const validFocusableItems = ['gux-list-item'];
|
|
9
9
|
function getRootChildren(root) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
7
7
|
|
|
8
8
|
const guxModalCss = ":host .gux-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}:host .gux-modal .gux-modal-container{box-shadow:0 8px 24px rgba(32, 41, 55, 0.4);position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px}:host .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px;overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}:host .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}:host .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
7
7
|
|
|
8
8
|
const guxNotificationToastCss = ":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;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:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.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-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:flex-start;order:0}.gux-content .gux-title{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;font-size:14px;line-height:20px;color:#2e394c;text-overflow:ellipsis}.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:24px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
7
7
|
|
|
8
8
|
const guxPageLoadingSpinnerCss = ":host{display:flex}.gux-spinner{margin:auto}";
|
|
9
9
|
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-33b1b88e.js');
|
|
6
|
+
const usageTracking = require('./usage-tracking-53d21391.js');
|
|
7
|
+
|
|
8
|
+
const guxPaginationBetaCss = ":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:40px;margin:12px 12px 0 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:24px}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The minimum size in px at which the advanced layout will display.
|
|
12
|
+
* Below this size we switch to the simple layout.
|
|
13
|
+
* This was chosen based on the width required for 3-digit page numbers, so
|
|
14
|
+
* page counts that go into 4 digits could overflow at small sizes.
|
|
15
|
+
*/
|
|
16
|
+
const MIN_ADVANCED_SIZE = 810;
|
|
17
|
+
const GuxPaginationBeta = class {
|
|
18
|
+
constructor(hostRef) {
|
|
19
|
+
index.registerInstance(this, hostRef);
|
|
20
|
+
this.guxpaginationchange = index.createEvent(this, "guxpaginationchange", 7);
|
|
21
|
+
/**
|
|
22
|
+
* The pagination component can have different layouts to suit the available space
|
|
23
|
+
*/
|
|
24
|
+
this.layout = 'advanced';
|
|
25
|
+
/**
|
|
26
|
+
* The currently select page. Changes are watched by the component.
|
|
27
|
+
*/
|
|
28
|
+
this.currentPage = 1;
|
|
29
|
+
/**
|
|
30
|
+
* The total number of items in the data set. Used to calculate total page count
|
|
31
|
+
*/
|
|
32
|
+
this.totalItems = 0;
|
|
33
|
+
/**
|
|
34
|
+
* The max number of items on a page. Used to calculate total page count
|
|
35
|
+
*/
|
|
36
|
+
this.itemsPerPage = 25;
|
|
37
|
+
}
|
|
38
|
+
setPage(page) {
|
|
39
|
+
if (page < 0) {
|
|
40
|
+
if (this.totalPages > 0) {
|
|
41
|
+
this.setPage(1);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
this.setPage(0);
|
|
45
|
+
}
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
const totalPages = this.calculateTotalPages(this.totalItems, this.itemsPerPage);
|
|
49
|
+
if (page > totalPages) {
|
|
50
|
+
this.setPage(totalPages);
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
this.currentPage = page;
|
|
54
|
+
this.guxpaginationchange.emit({
|
|
55
|
+
currentPage: this.currentPage,
|
|
56
|
+
itemsPerPage: this.itemsPerPage
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
handleInternalitemsperpagechange(event) {
|
|
60
|
+
this.itemsPerPage = event.detail;
|
|
61
|
+
this.setPage(1);
|
|
62
|
+
}
|
|
63
|
+
handleInternalcurrentpagechange(event) {
|
|
64
|
+
this.setPage(event.detail);
|
|
65
|
+
}
|
|
66
|
+
calculateTotalPages(totalItems, itemsPerPage) {
|
|
67
|
+
return Math.ceil(totalItems / itemsPerPage);
|
|
68
|
+
}
|
|
69
|
+
calculateCurrentPage(totalPages, currentPage) {
|
|
70
|
+
const minCurrentPage = totalPages > 0 ? 1 : 0;
|
|
71
|
+
return Math.max(minCurrentPage, Math.min(currentPage, totalPages));
|
|
72
|
+
}
|
|
73
|
+
checkPaginationContainerWidthForLayout() {
|
|
74
|
+
index.readTask(() => {
|
|
75
|
+
const el = this.root.shadowRoot.querySelector('.gux-pagination-container');
|
|
76
|
+
const paginationContainerWidth = el.clientWidth;
|
|
77
|
+
if (paginationContainerWidth < MIN_ADVANCED_SIZE) {
|
|
78
|
+
this.displayedLayout = 'simple';
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
this.displayedLayout = this.layout;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
componentWillLoad() {
|
|
86
|
+
usageTracking.trackComponent(this.root, { variant: this.layout });
|
|
87
|
+
}
|
|
88
|
+
componentWillRender() {
|
|
89
|
+
this.totalPages = this.calculateTotalPages(this.totalItems, this.itemsPerPage);
|
|
90
|
+
this.currentPage = this.calculateCurrentPage(this.totalPages, this.currentPage);
|
|
91
|
+
}
|
|
92
|
+
disconnectedCallback() {
|
|
93
|
+
if (this.resizeObserver) {
|
|
94
|
+
this.resizeObserver.unobserve(this.root.shadowRoot.querySelector('.gux-pagination-container'));
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
componentDidLoad() {
|
|
98
|
+
if (!this.resizeObserver && window.ResizeObserver) {
|
|
99
|
+
this.resizeObserver = new ResizeObserver(() => this.checkPaginationContainerWidthForLayout());
|
|
100
|
+
}
|
|
101
|
+
if (this.resizeObserver) {
|
|
102
|
+
this.resizeObserver.observe(this.root.shadowRoot.querySelector('.gux-pagination-container'));
|
|
103
|
+
}
|
|
104
|
+
setTimeout(() => {
|
|
105
|
+
this.checkPaginationContainerWidthForLayout();
|
|
106
|
+
}, 500);
|
|
107
|
+
}
|
|
108
|
+
render() {
|
|
109
|
+
return (index.h("div", { class: "gux-pagination-container" }, index.h("div", { class: "gux-pagination-info" }, index.h("gux-pagination-item-counts-beta", { "total-items": this.totalItems, "current-page": this.currentPage, "items-per-page": this.itemsPerPage }), this.displayedLayout === 'advanced' && (index.h("gux-pagination-items-per-page-beta", { "items-per-page": this.itemsPerPage, onInternalitemsperpagechange: this.handleInternalitemsperpagechange.bind(this) }))), index.h("div", { class: "gux-pagination-change" }, index.h("gux-pagination-buttons-beta", { layout: this.displayedLayout, "current-page": this.currentPage, "total-pages": this.totalPages, onInternalcurrentpagechange: this.handleInternalcurrentpagechange.bind(this) }))));
|
|
110
|
+
}
|
|
111
|
+
get root() { return index.getElement(this); }
|
|
112
|
+
};
|
|
113
|
+
GuxPaginationBeta.style = guxPaginationBetaCss;
|
|
114
|
+
|
|
115
|
+
exports.gux_pagination_beta = GuxPaginationBeta;
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-33b1b88e.js');
|
|
6
|
+
const index$1 = require('./index-2202ad01.js');
|
|
7
|
+
require('./get-closest-element-ab4b2eee.js');
|
|
8
|
+
|
|
9
|
+
const page = "Page";
|
|
10
|
+
const totalPages = " of {totalPages, number}";
|
|
11
|
+
const first = "First";
|
|
12
|
+
const previous = "Previous";
|
|
13
|
+
const next = "Next";
|
|
14
|
+
const last = "Last";
|
|
15
|
+
const pageInputLabel = "Page {currentPage, number} of {totalPages, number}";
|
|
16
|
+
const paginationResources$2 = {
|
|
17
|
+
page: page,
|
|
18
|
+
totalPages: totalPages,
|
|
19
|
+
first: first,
|
|
20
|
+
previous: previous,
|
|
21
|
+
next: next,
|
|
22
|
+
last: last,
|
|
23
|
+
pageInputLabel: pageInputLabel
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
class GuxPaginationButtonsService {
|
|
27
|
+
static getPageList(currentPage, totalPages) {
|
|
28
|
+
if (totalPages <= 10) {
|
|
29
|
+
return [...Array(totalPages).keys()].map(index => {
|
|
30
|
+
const pageNumber = index + 1;
|
|
31
|
+
return {
|
|
32
|
+
pageNumber,
|
|
33
|
+
display: String(pageNumber),
|
|
34
|
+
current: pageNumber === currentPage
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
if (currentPage <= 5) {
|
|
39
|
+
const startPageList = [...Array(6).keys()].map(index => {
|
|
40
|
+
const pageNumber = index + 1;
|
|
41
|
+
return {
|
|
42
|
+
pageNumber,
|
|
43
|
+
display: String(pageNumber),
|
|
44
|
+
current: pageNumber === currentPage
|
|
45
|
+
};
|
|
46
|
+
});
|
|
47
|
+
return [
|
|
48
|
+
...startPageList,
|
|
49
|
+
{
|
|
50
|
+
pageNumber: 7,
|
|
51
|
+
display: '...',
|
|
52
|
+
current: false
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
pageNumber: totalPages,
|
|
56
|
+
display: String(totalPages),
|
|
57
|
+
current: false
|
|
58
|
+
}
|
|
59
|
+
];
|
|
60
|
+
}
|
|
61
|
+
if (currentPage > totalPages - 5) {
|
|
62
|
+
const endPageList = [...Array(6).keys()].map(index => {
|
|
63
|
+
const pageNumber = index + totalPages - 5;
|
|
64
|
+
return {
|
|
65
|
+
pageNumber,
|
|
66
|
+
display: String(pageNumber),
|
|
67
|
+
current: pageNumber === currentPage
|
|
68
|
+
};
|
|
69
|
+
});
|
|
70
|
+
return [
|
|
71
|
+
{
|
|
72
|
+
pageNumber: 1,
|
|
73
|
+
display: '1',
|
|
74
|
+
current: false
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
pageNumber: totalPages - 6,
|
|
78
|
+
display: '...',
|
|
79
|
+
current: false
|
|
80
|
+
},
|
|
81
|
+
...endPageList
|
|
82
|
+
];
|
|
83
|
+
}
|
|
84
|
+
const middlePageList = [...Array(5).keys()].map(index => {
|
|
85
|
+
const pageNumber = index + currentPage - 2;
|
|
86
|
+
return {
|
|
87
|
+
pageNumber,
|
|
88
|
+
display: String(pageNumber),
|
|
89
|
+
current: pageNumber === currentPage
|
|
90
|
+
};
|
|
91
|
+
});
|
|
92
|
+
return [
|
|
93
|
+
{
|
|
94
|
+
pageNumber: 1,
|
|
95
|
+
display: '1',
|
|
96
|
+
current: false
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
pageNumber: currentPage - 3,
|
|
100
|
+
display: '...',
|
|
101
|
+
current: false
|
|
102
|
+
},
|
|
103
|
+
...middlePageList,
|
|
104
|
+
{
|
|
105
|
+
pageNumber: currentPage + 3,
|
|
106
|
+
display: '...',
|
|
107
|
+
current: false
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
pageNumber: totalPages,
|
|
111
|
+
display: String(totalPages),
|
|
112
|
+
current: false
|
|
113
|
+
}
|
|
114
|
+
];
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
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}";
|
|
119
|
+
|
|
120
|
+
const GuxPaginationButtonsBeta = class {
|
|
121
|
+
constructor(hostRef) {
|
|
122
|
+
index.registerInstance(this, hostRef);
|
|
123
|
+
this.internalcurrentpagechange = index.createEvent(this, "internalcurrentpagechange", 3);
|
|
124
|
+
this.layout = 'advanced';
|
|
125
|
+
}
|
|
126
|
+
get onFirstPage() {
|
|
127
|
+
return this.currentPage <= 1;
|
|
128
|
+
}
|
|
129
|
+
get onLastPage() {
|
|
130
|
+
return this.currentPage >= this.totalPages;
|
|
131
|
+
}
|
|
132
|
+
handleClickFirst() {
|
|
133
|
+
this.internalcurrentpagechange.emit(1);
|
|
134
|
+
}
|
|
135
|
+
handleClickPrevious() {
|
|
136
|
+
this.internalcurrentpagechange.emit(this.currentPage - 1);
|
|
137
|
+
}
|
|
138
|
+
handleClickNext() {
|
|
139
|
+
this.internalcurrentpagechange.emit(this.currentPage + 1);
|
|
140
|
+
}
|
|
141
|
+
handleClickLast() {
|
|
142
|
+
this.internalcurrentpagechange.emit(this.totalPages);
|
|
143
|
+
}
|
|
144
|
+
handleClickPage(pageNumber) {
|
|
145
|
+
this.internalcurrentpagechange.emit(pageNumber);
|
|
146
|
+
}
|
|
147
|
+
getPageListEnteries(currentPage, totalPages) {
|
|
148
|
+
return GuxPaginationButtonsService.getPageList(currentPage, totalPages).reduce((acc, cv) => {
|
|
149
|
+
if (cv.current) {
|
|
150
|
+
return acc.concat((index.h("button", { class: "gux-pagination-buttons-list-current" }, cv.display)));
|
|
151
|
+
}
|
|
152
|
+
return acc.concat((index.h("button", { class: "gux-pagination-buttons-list-target", onClick: () => this.handleClickPage(cv.pageNumber) }, cv.display)));
|
|
153
|
+
}, []);
|
|
154
|
+
}
|
|
155
|
+
getSmallPagePicker() {
|
|
156
|
+
return (index.h("div", { class: 'gux-pagination-buttons-spacer' }));
|
|
157
|
+
}
|
|
158
|
+
getFullPagePicker() {
|
|
159
|
+
return (index.h("div", { class: "gux-pagination-buttons-list-container" }, this.getPageListEnteries(this.currentPage, this.totalPages)));
|
|
160
|
+
}
|
|
161
|
+
getPagePicker(layout) {
|
|
162
|
+
if (layout === 'simple') {
|
|
163
|
+
return this.getSmallPagePicker();
|
|
164
|
+
}
|
|
165
|
+
return this.getFullPagePicker();
|
|
166
|
+
}
|
|
167
|
+
async componentWillLoad() {
|
|
168
|
+
this.i18n = await index$1.buildI18nForComponent(this.root, paginationResources$2);
|
|
169
|
+
}
|
|
170
|
+
render() {
|
|
171
|
+
return (index.h("div", { class: `gux-pagination-buttons-container gux-${this.layout}` }, index.h("div", { class: "gux-pagination-buttons-group" }, index.h("gux-button-slot-beta", { accent: "secondary" }, index.h("button", { title: this.i18n('first'), disabled: this.onFirstPage, onClick: this.handleClickFirst.bind(this) }, index.h("gux-icon", { decorative: true, "icon-name": "chevron-double-left" }))), index.h("gux-button-slot-beta", { accent: "secondary" }, index.h("button", { title: this.i18n('previous'), disabled: this.onFirstPage, onClick: this.handleClickPrevious.bind(this) }, index.h("gux-icon", { decorative: true, "icon-name": "chevron-small-left" })))), this.getPagePicker(this.layout), index.h("div", { class: "gux-pagination-buttons-group" }, index.h("gux-button-slot-beta", { accent: "secondary" }, index.h("button", { title: this.i18n('next'), disabled: this.onLastPage, onClick: this.handleClickNext.bind(this) }, index.h("gux-icon", { decorative: true, "icon-name": "chevron-small-right" }))), index.h("gux-button-slot-beta", { accent: "secondary" }, index.h("button", { title: this.i18n('last'), disabled: this.onLastPage, onClick: this.handleClickLast.bind(this) }, index.h("gux-icon", { decorative: true, "icon-name": "chevron-double-right" }))))));
|
|
172
|
+
}
|
|
173
|
+
get root() { return index.getElement(this); }
|
|
174
|
+
};
|
|
175
|
+
GuxPaginationButtonsBeta.style = guxPaginationButtonsBetaCss;
|
|
176
|
+
|
|
177
|
+
const itemCountDisplay = "{firstItem, number} - {lastItem, number}";
|
|
178
|
+
const totalItems = " of {totalItems, number}";
|
|
179
|
+
const paginationResources$1 = {
|
|
180
|
+
itemCountDisplay: itemCountDisplay,
|
|
181
|
+
totalItems: totalItems
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
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}";
|
|
185
|
+
|
|
186
|
+
const GuxPaginationItemCountsBeta = class {
|
|
187
|
+
constructor(hostRef) {
|
|
188
|
+
index.registerInstance(this, hostRef);
|
|
189
|
+
this.totalItems = 0;
|
|
190
|
+
this.currentPage = 0;
|
|
191
|
+
this.itemsPerPage = 25;
|
|
192
|
+
}
|
|
193
|
+
get firstItem() {
|
|
194
|
+
if (this.totalItems < 1) {
|
|
195
|
+
return 0;
|
|
196
|
+
}
|
|
197
|
+
return (this.currentPage - 1) * this.itemsPerPage + 1;
|
|
198
|
+
}
|
|
199
|
+
get lastItem() {
|
|
200
|
+
if (this.totalItems < 1) {
|
|
201
|
+
return 0;
|
|
202
|
+
}
|
|
203
|
+
return Math.min(this.currentPage * this.itemsPerPage, this.totalItems);
|
|
204
|
+
}
|
|
205
|
+
async componentWillLoad() {
|
|
206
|
+
this.i18n = await index$1.buildI18nForComponent(this.root, paginationResources$1);
|
|
207
|
+
}
|
|
208
|
+
getPaginationItemCountsRange() {
|
|
209
|
+
if (this.totalItems) {
|
|
210
|
+
return (index.h("span", null, this.i18n('totalItems', { totalItems: this.totalItems })));
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
render() {
|
|
214
|
+
return (index.h("div", { class: "gux-pagination-item-counts-container" }, index.h("span", { class: "gux-pagination-item-counts-range" }, this.i18n('itemCountDisplay', {
|
|
215
|
+
firstItem: this.firstItem,
|
|
216
|
+
lastItem: this.lastItem
|
|
217
|
+
})), this.getPaginationItemCountsRange()));
|
|
218
|
+
}
|
|
219
|
+
get root() { return index.getElement(this); }
|
|
220
|
+
};
|
|
221
|
+
GuxPaginationItemCountsBeta.style = guxPaginationItemCountsBetaCss;
|
|
222
|
+
|
|
223
|
+
const perPage = "per page";
|
|
224
|
+
const itemsPerPage = "Items per page";
|
|
225
|
+
const paginationResources = {
|
|
226
|
+
perPage: perPage,
|
|
227
|
+
itemsPerPage: itemsPerPage
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
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}";
|
|
231
|
+
|
|
232
|
+
const GuxPaginationItemsPerPageBeta = class {
|
|
233
|
+
constructor(hostRef) {
|
|
234
|
+
index.registerInstance(this, hostRef);
|
|
235
|
+
this.internalitemsperpagechange = index.createEvent(this, "internalitemsperpagechange", 3);
|
|
236
|
+
this.itemsPerPage = 25;
|
|
237
|
+
}
|
|
238
|
+
handleChange(event) {
|
|
239
|
+
event.stopPropagation();
|
|
240
|
+
const newItemsPerPageValue = parseInt(this.dropdownElement.value, 10);
|
|
241
|
+
this.internalitemsperpagechange.emit(newItemsPerPageValue);
|
|
242
|
+
}
|
|
243
|
+
async componentWillLoad() {
|
|
244
|
+
this.i18n = await index$1.buildI18nForComponent(this.root, paginationResources);
|
|
245
|
+
}
|
|
246
|
+
getDropdown() {
|
|
247
|
+
return (index.h("gux-dropdown", { ref: el => (this.dropdownElement = el), value: `${this.itemsPerPage}` }, index.h("gux-listbox", { "aria-label": this.i18n('itemsPerPage') }, index.h("gux-option", { value: "25" }, "25"), index.h("gux-option", { value: "50" }, "50"), index.h("gux-option", { value: "75" }, "75"), index.h("gux-option", { value: "100" }, "100"))));
|
|
248
|
+
}
|
|
249
|
+
render() {
|
|
250
|
+
return (index.h("div", { class: "gux-pagination-items-per-page-container" }, index.h("div", { class: "gux-pagination-items-per-page-picker" }, this.getDropdown()), index.h("div", null, this.i18n('perPage'))));
|
|
251
|
+
}
|
|
252
|
+
get root() { return index.getElement(this); }
|
|
253
|
+
};
|
|
254
|
+
GuxPaginationItemsPerPageBeta.style = guxPaginationItemsPerPageBetaCss;
|
|
255
|
+
|
|
256
|
+
exports.gux_pagination_buttons_beta = GuxPaginationButtonsBeta;
|
|
257
|
+
exports.gux_pagination_item_counts_beta = GuxPaginationItemCountsBeta;
|
|
258
|
+
exports.gux_pagination_items_per_page_beta = GuxPaginationItemsPerPageBeta;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-33b1b88e.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-2202ad01.js');
|
|
7
7
|
require('./get-closest-element-ab4b2eee.js');
|
|
8
8
|
|
|
9
9
|
const page = "Page";
|