genesys-spark-components 3.1.3-beta.8 → 3.3.1
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 +34 -11
- 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-16ea4cff.js → usage-tracking-c08b8c93.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-eb392c33.js → usage-tracking-5b27676e.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-95532af0.entry.js → p-00061ef5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-40a914c1.entry.js → p-01e8bb8b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2f9715c3.entry.js → p-029337ed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a060e4db.entry.js → p-042ea81b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8b2c0d4e.entry.js → p-06c90267.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-218cee43.entry.js → p-109a4dcd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-85ec5480.entry.js → p-17aa8836.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-16ba86a1.entry.js → p-1d0ce251.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a47ea36d.entry.js → p-1d92e71b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-201c4e67.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5ac12419.entry.js → p-215a00f5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9bd68c27.entry.js → p-23f9df2d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14a51c35.js → p-2548bdad.js} +1 -1
- package/dist/genesys-webcomponents/{p-cc38869b.entry.js → p-29535a7f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a5547a3a.entry.js → p-2a7779e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2ded0069.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-9771800c.entry.js → p-2fc188b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c35314ec.entry.js → p-33b5eeac.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5aa29322.entry.js → p-3c729ca9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fac6c760.entry.js → p-3ca1d844.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-421513fb.entry.js +1 -0
- package/dist/genesys-webcomponents/p-4402a21b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d685cff4.entry.js → p-4469ab71.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75846f0b.entry.js → p-44c67fae.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb63f96a.entry.js → p-4b1d9b18.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-26beabec.entry.js → p-4c176aaa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-767b3c2c.entry.js → p-4fc18cd7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5986bae6.entry.js → p-50b1124d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-538f687e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f789cb8d.entry.js → p-54ef5854.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d35dfb3.entry.js → p-5873abaa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7c65aeb3.entry.js → p-5965b7dd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b2193bea.entry.js → p-5a8bc686.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-86e553ba.entry.js → p-5ab45300.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-33bc18be.entry.js → p-5e34a377.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e1f04b69.entry.js → p-606912f0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bf17dd3f.entry.js → p-6161fb6b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8405cf53.entry.js → p-641d81c3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4636daf4.entry.js → p-68ee84bf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f16ed9bc.entry.js → p-6a14cb5a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6a9e83f1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-80d599b0.entry.js → p-6b9d880b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0c439da7.entry.js → p-6ea72e49.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5027d028.entry.js → p-786e0bb7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-baa9665a.entry.js → p-7b1fe670.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3deddc88.entry.js → p-7cb2bd65.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8b943392.entry.js → p-820ebbc3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-36d20c82.entry.js → p-84f0007e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-745f038d.entry.js → p-850d8c38.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e8f540d4.entry.js → p-8b69c3b0.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-e7036b07.entry.js → p-91148976.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-947b7fe3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-44d733ba.entry.js → p-96093683.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-459a5887.entry.js → p-9e1873f3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6ff9deb3.entry.js → p-a2f068cc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d9c4f6d3.entry.js → p-a611b1dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-62a79052.entry.js → p-aa7bffbe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1a45483b.entry.js → p-abb24a99.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bb2c9b20.entry.js → p-b3bdfcc9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-93a9a4ef.entry.js → p-c0ead48f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c0fe1fe7.js +1 -0
- package/dist/genesys-webcomponents/p-c150db37.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2a81390a.entry.js → p-c85b91cc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-876b78a6.entry.js → p-cbd959a8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1fe85937.entry.js → p-cd39c76f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6e7710ba.entry.js → p-cdde04dd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5909a34c.entry.js → p-d2f818bd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a8f330b.entry.js → p-d3651e84.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-51479ef1.entry.js → p-d3f977c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-69d1ca05.entry.js → p-dbc6db91.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0ca55e16.entry.js → p-dd806ffa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-72af8bbe.entry.js → p-dee54219.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5552ad07.entry.js → p-e06f89f3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b22a0562.entry.js → p-e44794d5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0e3d289a.entry.js → p-e69eecf5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-05dcecd3.entry.js → p-e82c31f8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-973994de.entry.js → p-f28fd9da.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7dd79340.entry.js → p-f2f1f9c7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fbe4ef53.entry.js → p-f3854894.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-05447ac9.js +0 -1
- package/dist/genesys-webcomponents/p-155a1000.entry.js +0 -1
- package/dist/genesys-webcomponents/p-61e4e93a.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
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-76794476.js';
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
3
|
+
import { V as VISUALIZATION_COLORS } from './color-palette-1cfb5585.js';
|
|
4
|
+
import { l as logError } from './log-error-b1a1a086.js';
|
|
5
|
+
|
|
6
|
+
const guxChartScatterPlotCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
7
|
+
|
|
8
|
+
const DEFAULT_COLOR_FIELD_NAME = 'category';
|
|
9
|
+
const GuxScatterPlotChart = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
registerInstance(this, hostRef);
|
|
12
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
13
|
+
this.baseChartSpec = {
|
|
14
|
+
$schema: 'https://vega.github.io/schema/vega-lite/v5.json',
|
|
15
|
+
params: [
|
|
16
|
+
{
|
|
17
|
+
name: 'onHover',
|
|
18
|
+
select: { type: 'point', on: 'mouseover' }
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
config: {
|
|
22
|
+
axis: {
|
|
23
|
+
ticks: false,
|
|
24
|
+
titlePadding: 8,
|
|
25
|
+
gridColor: '#F6F7F9'
|
|
26
|
+
},
|
|
27
|
+
axisX: {
|
|
28
|
+
labelAngle: 0,
|
|
29
|
+
grid: true
|
|
30
|
+
},
|
|
31
|
+
legend: {
|
|
32
|
+
symbolType: 'circle'
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
width: { step: 40 },
|
|
36
|
+
encoding: {
|
|
37
|
+
x: { type: 'nominal' },
|
|
38
|
+
y: { type: 'quantitative' },
|
|
39
|
+
color: {
|
|
40
|
+
field: DEFAULT_COLOR_FIELD_NAME,
|
|
41
|
+
type: 'nominal',
|
|
42
|
+
scale: { range: VISUALIZATION_COLORS },
|
|
43
|
+
legend: null
|
|
44
|
+
},
|
|
45
|
+
size: {
|
|
46
|
+
condition: [
|
|
47
|
+
{
|
|
48
|
+
param: 'onHover',
|
|
49
|
+
empty: false,
|
|
50
|
+
value: 100
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
value: 40
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
this.legendPosition = 'right';
|
|
58
|
+
}
|
|
59
|
+
parseData() {
|
|
60
|
+
if (!this.xFieldName || !this.yFieldName) {
|
|
61
|
+
logError('gux-chart-scatter-plot', '[gux-chart-scatter-plot] requires x-field-name and y-field-name');
|
|
62
|
+
}
|
|
63
|
+
let chartData = {};
|
|
64
|
+
if (this.chartData) {
|
|
65
|
+
chartData = { data: this.chartData };
|
|
66
|
+
}
|
|
67
|
+
if (this.xTickLabelSlant) {
|
|
68
|
+
this.baseChartSpec.config.axisX.labelAngle = -45;
|
|
69
|
+
}
|
|
70
|
+
if (this.legendPosition) {
|
|
71
|
+
this.baseChartSpec.config.legend.orient = this.legendPosition;
|
|
72
|
+
}
|
|
73
|
+
const xFieldName = this.xFieldName;
|
|
74
|
+
const xAxisTitle = this.xAxisTitle;
|
|
75
|
+
const yFieldName = this.yFieldName;
|
|
76
|
+
const yAxisTitle = this.yAxisTitle;
|
|
77
|
+
const legendTitle = this.legendTitle;
|
|
78
|
+
const useShape = this.useShape || 'circle';
|
|
79
|
+
const colorFieldName = this.colorFieldName || DEFAULT_COLOR_FIELD_NAME;
|
|
80
|
+
if (this.includeLegend) {
|
|
81
|
+
this.baseChartSpec.encoding.color.legend = true;
|
|
82
|
+
}
|
|
83
|
+
if (xFieldName) {
|
|
84
|
+
this.baseChartSpec.encoding.x.field = xFieldName;
|
|
85
|
+
}
|
|
86
|
+
if (xAxisTitle) {
|
|
87
|
+
this.baseChartSpec.encoding.x.title = xAxisTitle;
|
|
88
|
+
}
|
|
89
|
+
if (yFieldName) {
|
|
90
|
+
this.baseChartSpec.encoding.y.field = yFieldName;
|
|
91
|
+
}
|
|
92
|
+
if (yAxisTitle) {
|
|
93
|
+
this.baseChartSpec.encoding.y.title = yAxisTitle;
|
|
94
|
+
}
|
|
95
|
+
if (colorFieldName) {
|
|
96
|
+
this.baseChartSpec.encoding.color.field = colorFieldName;
|
|
97
|
+
}
|
|
98
|
+
if (legendTitle) {
|
|
99
|
+
this.baseChartSpec.encoding.color.title = legendTitle;
|
|
100
|
+
}
|
|
101
|
+
this.baseChartSpec.mark = { type: useShape, filled: true };
|
|
102
|
+
this.baseChartSpec.config.legend.symbolType = useShape;
|
|
103
|
+
this.baseChartSpec.encoding.shape = {
|
|
104
|
+
field: colorFieldName,
|
|
105
|
+
type: 'nominal'
|
|
106
|
+
};
|
|
107
|
+
this.baseChartSpec.encoding.tooltip = [
|
|
108
|
+
{ field: xFieldName, type: 'nominal', title: xAxisTitle },
|
|
109
|
+
{ field: yFieldName, type: 'quantitative', title: yAxisTitle },
|
|
110
|
+
{ field: colorFieldName, type: 'nominal', title: legendTitle }
|
|
111
|
+
];
|
|
112
|
+
const spec = Object.assign(this.baseChartSpec, chartData);
|
|
113
|
+
this.visualizationSpec = spec;
|
|
114
|
+
}
|
|
115
|
+
componentWillLoad() {
|
|
116
|
+
trackComponent(this.root);
|
|
117
|
+
this.parseData();
|
|
118
|
+
}
|
|
119
|
+
render() {
|
|
120
|
+
return (h("gux-visualization-beta", { visualizationSpec: this.visualizationSpec }));
|
|
121
|
+
}
|
|
122
|
+
get root() { return getElement(this); }
|
|
123
|
+
static get watchers() { return {
|
|
124
|
+
"chartData": ["parseData"]
|
|
125
|
+
}; }
|
|
126
|
+
};
|
|
127
|
+
GuxScatterPlotChart.style = guxChartScatterPlotCss;
|
|
128
|
+
|
|
129
|
+
export { GuxScatterPlotChart as gux_chart_scatter_plot_beta };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-76794476.js';
|
|
2
2
|
import { m as matchesFuzzy } from './search-2ca67cb1.js';
|
|
3
|
-
import { b as buildI18nForComponent } from './index-
|
|
4
|
-
import { t as trackComponent } from './usage-tracking-
|
|
3
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
4
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
6
6
|
|
|
7
7
|
const recentSearch = "Recently Searched:";
|
|
@@ -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-5b27676e.js';
|
|
3
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
4
4
|
import { o as onDisabledChange } from './on-attribute-change-2b01c315.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
6
6
|
|
|
@@ -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-5b27676e.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 { f as fromIsoDate, a as asIsoDateRange, b as asIsoDate, c as fromIsoDateRange } from './iso-dates-a7c704a4.js';
|
|
6
6
|
import { O as OnClickOutside } from './on-click-outside-ce30de20.js';
|
|
7
7
|
import { c as createPopper } from './popper-93ecb064.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, 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-
|
|
4
|
-
import { b as buildI18nForComponent } from './index-
|
|
3
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
4
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
6
6
|
|
|
7
7
|
const defaultLabel = "Disclosure button";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, 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-5b27676e.js';
|
|
3
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
4
4
|
import './get-closest-element-1597503c.js';
|
|
5
5
|
|
|
6
6
|
const dismiss = "Dismiss";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-76794476.js';
|
|
2
2
|
import { O as OnClickOutside } from './on-click-outside-ce30de20.js';
|
|
3
3
|
import { w as whenEventIsFrom } from './when-event-is-from-18667084.js';
|
|
4
|
-
import { t as trackComponent } from './usage-tracking-
|
|
4
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
5
5
|
import { O as OnMutation } from './on-mutation-2e96b1b9.js';
|
|
6
6
|
|
|
7
7
|
const guxDropdownCss = "gux-dropdown-legacy .gux-hidden{display:none}gux-dropdown-legacy div.gux-dropdown{position:relative;margin:4px 0}gux-dropdown-legacy div.gux-dropdown.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-legacy div.gux-dropdown .gux-select-field{position:relative;width:100%;height:32px}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion{position:absolute;box-sizing:border-box;width:100%;height:32px;padding:6px 25px 6px 14px;overflow:hidden;font-size:12px;line-height:1.6667;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion .gux-filter-text{color:#2e394c}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion .gux-filter-typeahead{color:#596373}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like>div{margin:0}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like input{width:100%;padding-right:25px;font-size:12px;text-overflow:ellipsis;cursor:pointer;background-color:transparent}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like.gux-unclearable button{display:none}gux-dropdown-legacy div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}gux-dropdown-legacy div.gux-dropdown .gux-select-field button.gux-dropdown-indicator gux-icon{width:16px;height:16px;color:#596373}gux-dropdown-legacy div.gux-dropdown .gux-select-field:hover button.gux-dropdown-indicator gux-icon,gux-dropdown-legacy div.gux-dropdown .gux-select-field:focus-within button.gux-dropdown-indicator gux-icon{color:#2e394c}gux-dropdown-legacy div.gux-dropdown .gux-options{position:absolute;z-index:1;display:none;width:100%;padding:8px 0;margin-top:2px;overflow-y:auto;color:#2e394c;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-dropdown-legacy div.gux-dropdown .gux-options.gux-opened{display:block}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy{position:relative;display:flex;height:32px;padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy>div{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy>div .gux-filter-suggestion{position:absolute}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy.gux-filtered{display:none}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy:not([disabled])[selected]{color:#2e394c;background:#deeaff}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy:not([disabled]):hover,gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy:not([disabled]):focus{color:#fdfdfd;background:#2a60c8}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field{height:48px}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{height:48px;padding:2px 25px 4px 11px;overflow:hidden;line-height:1.6667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like div.gux-input-container{height:48px}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px;height:48px;line-height:1.6667;color:transparent;border:none;border-bottom:2px solid transparent;caret-color:#2e394c}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);box-shadow:none}gux-dropdown-legacy div.gux-dropdown.gux-page.gux-active .gux-select-field gux-input-text-like input:focus{border-bottom:1px solid #2a60c8}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field{height:52px}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{height:52px;padding:9px 25px 4px 11px;overflow:hidden;line-height:1.6667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like div.gux-input-container{height:52px}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px;height:52px;line-height:1.6667;border:none;border-bottom:2px solid transparent}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);box-shadow:none}gux-dropdown-legacy div.gux-dropdown.gux-palette.gux-active .gux-select-field gux-input-text-like input:focus{border-bottom:1px solid #2a60c8}gux-dropdown-legacy:hover gux-icon,gux-dropdown-legacy:focus gux-icon{color:#2e394c}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field .gux-filter-suggestion{color:#596373}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field gux-input-text-like input{color:transparent;caret-color:#2e394c;border-color:#6b7585}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#596373}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}.gux-dropdown-light-theme div.gux-dropdown.gux-page.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}.gux-dropdown-light-theme div.gux-dropdown.gux-palette.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion{color:#596373}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like input{color:transparent;caret-color:#2e394c;border-color:#6b7585}gux-dropdown-legacy div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#596373}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}gux-dropdown-legacy div.gux-dropdown.gux-page.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}gux-dropdown-legacy div.gux-dropdown.gux-palette.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, g as getElement, c as createEvent, H as Host } from './index-76794476.js';
|
|
2
2
|
import { O as OnClickOutside } from './on-click-outside-ce30de20.js';
|
|
3
|
-
import { b as buildI18nForComponent } from './index-
|
|
3
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
4
4
|
import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
6
6
|
import { w as whenEventIsFrom } from './when-event-is-from-18667084.js';
|
|
7
7
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
8
8
|
import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
|
|
@@ -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-5b27676e.js';
|
|
3
3
|
|
|
4
4
|
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}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, 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-5b27676e.js';
|
|
3
3
|
import { m as moveFocusDelay, h as hideDelay } from './gux-menu.common-60ab04e4.js';
|
|
4
4
|
import { c as createPopper } from './popper-93ecb064.js';
|
|
5
5
|
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-76
|
|
|
2
2
|
import { O as OnMutation } from './on-mutation-2e96b1b9.js';
|
|
3
3
|
import { o as onDisabledChange } from './on-attribute-change-2b01c315.js';
|
|
4
4
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
6
6
|
import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds } from './gux-form-field.servce-971609e2.js';
|
|
7
7
|
import './random-html-id-8e3f658c.js';
|
|
8
8
|
import './log-error-b1a1a086.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, g as getElement } from './index-76794476.js';
|
|
|
2
2
|
import { O as OnMutation } from './on-mutation-2e96b1b9.js';
|
|
3
3
|
import { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';
|
|
4
4
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
6
6
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-ac49a8be.js';
|
|
7
7
|
import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.servce-971609e2.js';
|
|
8
8
|
import './random-html-id-8e3f658c.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, 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-5b27676e.js';
|
|
3
|
+
import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
|
|
4
4
|
import './get-closest-element-1597503c.js';
|
|
5
5
|
|
|
6
6
|
const clear = "Clear";
|
|
@@ -4,7 +4,7 @@ import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
|
|
|
4
4
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
5
5
|
import { a as onRequiredChange } from './on-attribute-change-2b01c315.js';
|
|
6
6
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
7
|
-
import { t as trackComponent } from './usage-tracking-
|
|
7
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
8
8
|
|
|
9
9
|
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}";
|
|
10
10
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, 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 { O as OnMutation } from './on-mutation-2e96b1b9.js';
|
|
4
4
|
import { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';
|
|
5
5
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
6
|
-
import { t as trackComponent } from './usage-tracking-
|
|
6
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
7
7
|
import { s as setInputValue } from './set-input-value-5adeaccc.js';
|
|
8
8
|
import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
|
|
9
9
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-ac49a8be.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-76
|
|
|
2
2
|
import { O as OnMutation } from './on-mutation-2e96b1b9.js';
|
|
3
3
|
import { o as onDisabledChange } from './on-attribute-change-2b01c315.js';
|
|
4
4
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
6
6
|
import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds } from './gux-form-field.servce-971609e2.js';
|
|
7
7
|
import './random-html-id-8e3f658c.js';
|
|
8
8
|
import './log-error-b1a1a086.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-76
|
|
|
2
2
|
import { O as OnMutation } from './on-mutation-2e96b1b9.js';
|
|
3
3
|
import { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';
|
|
4
4
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
6
6
|
import { a as GuxFormFieldContainer, G as GuxFormFieldLabel } from './gux-form-field-label-ac49a8be.js';
|
|
7
7
|
import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.servce-971609e2.js';
|
|
8
8
|
import './random-html-id-8e3f658c.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, g as getElement } from './index-76794476.js';
|
|
|
2
2
|
import { O as OnMutation } from './on-mutation-2e96b1b9.js';
|
|
3
3
|
import { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';
|
|
4
4
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
6
6
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-ac49a8be.js';
|
|
7
7
|
import { h as hasErrorSlot, c as clearInput, G as GuxFormFieldError, a as hasContent, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.servce-971609e2.js';
|
|
8
8
|
import './random-html-id-8e3f658c.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, g as getElement } from './index-76794476.js';
|
|
|
2
2
|
import { O as OnMutation } from './on-mutation-2e96b1b9.js';
|
|
3
3
|
import { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';
|
|
4
4
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
6
6
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-ac49a8be.js';
|
|
7
7
|
import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.servce-971609e2.js';
|
|
8
8
|
import './random-html-id-8e3f658c.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, g as getElement } from './index-76794476.js';
|
|
|
2
2
|
import { O as OnMutation } from './on-mutation-2e96b1b9.js';
|
|
3
3
|
import { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';
|
|
4
4
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
6
6
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-ac49a8be.js';
|
|
7
7
|
import { h as hasErrorSlot, c as clearInput, G as GuxFormFieldError, a as hasContent, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.servce-971609e2.js';
|
|
8
8
|
import './random-html-id-8e3f658c.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, g as getElement } from './index-76794476.js';
|
|
|
2
2
|
import { O as OnMutation } from './on-mutation-2e96b1b9.js';
|
|
3
3
|
import { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';
|
|
4
4
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
6
6
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-ac49a8be.js';
|
|
7
7
|
import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.servce-971609e2.js';
|
|
8
8
|
import './random-html-id-8e3f658c.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as getAssetPath, 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-5b27676e.js';
|
|
3
3
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
4
4
|
|
|
5
5
|
const iconNameMap = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, 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 { o as onDisabledChange } from './on-attribute-change-2b01c315.js';
|
|
5
5
|
import { s as setInputValue } from './set-input-value-5adeaccc.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, 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 { s as setInputValue } from './set-input-value-5adeaccc.js';
|
|
4
4
|
import { o as onDisabledChange } from './on-attribute-change-2b01c315.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, 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 { s as setInputValue } from './set-input-value-5adeaccc.js';
|
|
4
4
|
import { o as onDisabledChange } from './on-attribute-change-2b01c315.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
@@ -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-5b27676e.js';
|
|
3
3
|
|
|
4
4
|
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%}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, 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-5b27676e.js';
|
|
3
3
|
|
|
4
4
|
const validFocusableItems = ['gux-list-item'];
|
|
5
5
|
function getRootChildren(root) {
|
|
@@ -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-5b27676e.js';
|
|
3
3
|
|
|
4
4
|
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%}}";
|
|
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-5b27676e.js';
|
|
3
3
|
|
|
4
4
|
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}";
|
|
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-5b27676e.js';
|
|
3
3
|
|
|
4
4
|
const guxPageLoadingSpinnerCss = ":host{display:flex}.gux-spinner{margin:auto}";
|
|
5
5
|
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, d as readTask, h, g as getElement } from './index-76794476.js';
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-5b27676e.js';
|
|
3
|
+
|
|
4
|
+
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}";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The minimum size in px at which the advanced layout will display.
|
|
8
|
+
* Below this size we switch to the simple layout.
|
|
9
|
+
* This was chosen based on the width required for 3-digit page numbers, so
|
|
10
|
+
* page counts that go into 4 digits could overflow at small sizes.
|
|
11
|
+
*/
|
|
12
|
+
const MIN_ADVANCED_SIZE = 810;
|
|
13
|
+
const GuxPaginationBeta = class {
|
|
14
|
+
constructor(hostRef) {
|
|
15
|
+
registerInstance(this, hostRef);
|
|
16
|
+
this.guxpaginationchange = createEvent(this, "guxpaginationchange", 7);
|
|
17
|
+
/**
|
|
18
|
+
* The pagination component can have different layouts to suit the available space
|
|
19
|
+
*/
|
|
20
|
+
this.layout = 'advanced';
|
|
21
|
+
/**
|
|
22
|
+
* The currently select page. Changes are watched by the component.
|
|
23
|
+
*/
|
|
24
|
+
this.currentPage = 1;
|
|
25
|
+
/**
|
|
26
|
+
* The total number of items in the data set. Used to calculate total page count
|
|
27
|
+
*/
|
|
28
|
+
this.totalItems = 0;
|
|
29
|
+
/**
|
|
30
|
+
* The max number of items on a page. Used to calculate total page count
|
|
31
|
+
*/
|
|
32
|
+
this.itemsPerPage = 25;
|
|
33
|
+
}
|
|
34
|
+
setPage(page) {
|
|
35
|
+
if (page < 0) {
|
|
36
|
+
if (this.totalPages > 0) {
|
|
37
|
+
this.setPage(1);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
this.setPage(0);
|
|
41
|
+
}
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
const totalPages = this.calculateTotalPages(this.totalItems, this.itemsPerPage);
|
|
45
|
+
if (page > totalPages) {
|
|
46
|
+
this.setPage(totalPages);
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
this.currentPage = page;
|
|
50
|
+
this.guxpaginationchange.emit({
|
|
51
|
+
currentPage: this.currentPage,
|
|
52
|
+
itemsPerPage: this.itemsPerPage
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
handleInternalitemsperpagechange(event) {
|
|
56
|
+
this.itemsPerPage = event.detail;
|
|
57
|
+
this.setPage(1);
|
|
58
|
+
}
|
|
59
|
+
handleInternalcurrentpagechange(event) {
|
|
60
|
+
this.setPage(event.detail);
|
|
61
|
+
}
|
|
62
|
+
calculateTotalPages(totalItems, itemsPerPage) {
|
|
63
|
+
return Math.ceil(totalItems / itemsPerPage);
|
|
64
|
+
}
|
|
65
|
+
calculateCurrentPage(totalPages, currentPage) {
|
|
66
|
+
const minCurrentPage = totalPages > 0 ? 1 : 0;
|
|
67
|
+
return Math.max(minCurrentPage, Math.min(currentPage, totalPages));
|
|
68
|
+
}
|
|
69
|
+
checkPaginationContainerWidthForLayout() {
|
|
70
|
+
readTask(() => {
|
|
71
|
+
const el = this.root.shadowRoot.querySelector('.gux-pagination-container');
|
|
72
|
+
const paginationContainerWidth = el.clientWidth;
|
|
73
|
+
if (paginationContainerWidth < MIN_ADVANCED_SIZE) {
|
|
74
|
+
this.displayedLayout = 'simple';
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
this.displayedLayout = this.layout;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
componentWillLoad() {
|
|
82
|
+
trackComponent(this.root, { variant: this.layout });
|
|
83
|
+
}
|
|
84
|
+
componentWillRender() {
|
|
85
|
+
this.totalPages = this.calculateTotalPages(this.totalItems, this.itemsPerPage);
|
|
86
|
+
this.currentPage = this.calculateCurrentPage(this.totalPages, this.currentPage);
|
|
87
|
+
}
|
|
88
|
+
disconnectedCallback() {
|
|
89
|
+
if (this.resizeObserver) {
|
|
90
|
+
this.resizeObserver.unobserve(this.root.shadowRoot.querySelector('.gux-pagination-container'));
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
componentDidLoad() {
|
|
94
|
+
if (!this.resizeObserver && window.ResizeObserver) {
|
|
95
|
+
this.resizeObserver = new ResizeObserver(() => this.checkPaginationContainerWidthForLayout());
|
|
96
|
+
}
|
|
97
|
+
if (this.resizeObserver) {
|
|
98
|
+
this.resizeObserver.observe(this.root.shadowRoot.querySelector('.gux-pagination-container'));
|
|
99
|
+
}
|
|
100
|
+
setTimeout(() => {
|
|
101
|
+
this.checkPaginationContainerWidthForLayout();
|
|
102
|
+
}, 500);
|
|
103
|
+
}
|
|
104
|
+
render() {
|
|
105
|
+
return (h("div", { class: "gux-pagination-container" }, h("div", { class: "gux-pagination-info" }, h("gux-pagination-item-counts-beta", { "total-items": this.totalItems, "current-page": this.currentPage, "items-per-page": this.itemsPerPage }), this.displayedLayout === 'advanced' && (h("gux-pagination-items-per-page-beta", { "items-per-page": this.itemsPerPage, onInternalitemsperpagechange: this.handleInternalitemsperpagechange.bind(this) }))), h("div", { class: "gux-pagination-change" }, h("gux-pagination-buttons-beta", { layout: this.displayedLayout, "current-page": this.currentPage, "total-pages": this.totalPages, onInternalcurrentpagechange: this.handleInternalcurrentpagechange.bind(this) }))));
|
|
106
|
+
}
|
|
107
|
+
get root() { return getElement(this); }
|
|
108
|
+
};
|
|
109
|
+
GuxPaginationBeta.style = guxPaginationBetaCss;
|
|
110
|
+
|
|
111
|
+
export { GuxPaginationBeta as gux_pagination_beta };
|