genesys-spark-components 4.10.1 → 4.12.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/dist/cjs/{get-valid-timezone-6bacb49d.js → get-valid-timezone-7b76b3df.js} +65 -0
- package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-badge.cjs.entry.js +1 -1
- package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
- package/dist/cjs/gux-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
- package/dist/cjs/gux-card.cjs.entry.js +1 -1
- package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
- package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +24 -6
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +25 -6
- package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +1 -1
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/gux-table.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gux-tag.cjs.entry.js +1 -1
- package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-beta.cjs.entry.js +24 -6
- package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/{usage-55753bb0.js → usage-e6a30d60.js} +3 -2
- package/dist/collection/components/beta/gux-date/gux-date.js +25 -4
- package/dist/collection/components/beta/gux-date-time/gux-date-time.js +26 -4
- package/dist/collection/components/beta/gux-time/gux-time.js +25 -4
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.css +1 -2
- package/dist/collection/genesys-spark-utils/intl.js +80 -0
- package/dist/collection/i18n/check-regional-dates-cookie.js +5 -0
- package/dist/deploy-info.json +3 -3
- package/dist/esm/{get-valid-timezone-b9060a4c.js → get-valid-timezone-eb98c51d.js} +63 -1
- package/dist/esm/gux-accordion.entry.js +1 -1
- package/dist/esm/gux-action-button.entry.js +1 -1
- package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
- package/dist/esm/gux-announce-beta.entry.js +1 -1
- package/dist/esm/gux-badge.entry.js +1 -1
- package/dist/esm/gux-blank-state.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +1 -1
- package/dist/esm/gux-button-multi.entry.js +1 -1
- package/dist/esm/gux-button-slot.entry.js +1 -1
- package/dist/esm/gux-button.entry.js +1 -1
- package/dist/esm/gux-calendar.entry.js +1 -1
- package/dist/esm/gux-card.entry.js +1 -1
- package/dist/esm/gux-column-manager.entry.js +1 -1
- package/dist/esm/gux-content-search.entry.js +1 -1
- package/dist/esm/gux-context-menu.entry.js +1 -1
- package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +24 -6
- package/dist/esm/gux-date-time-beta.entry.js +25 -6
- package/dist/esm/gux-datepicker.entry.js +1 -1
- package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
- package/dist/esm/gux-dismiss-button.entry.js +1 -1
- package/dist/esm/gux-dropdown-multi.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +1 -1
- package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
- package/dist/esm/gux-flyout-menu.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
- package/dist/esm/gux-form-field-color.entry.js +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
- package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
- package/dist/esm/gux-form-field-number_3.entry.js +1 -1
- package/dist/esm/gux-form-field-phone.entry.js +1 -1
- package/dist/esm/gux-form-field-radio.entry.js +1 -1
- package/dist/esm/gux-form-field-range.entry.js +1 -1
- package/dist/esm/gux-form-field-search.entry.js +1 -1
- package/dist/esm/gux-form-field-select.entry.js +1 -1
- package/dist/esm/gux-form-field-text-like.entry.js +1 -1
- package/dist/esm/gux-form-field-textarea.entry.js +1 -1
- package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
- package/dist/esm/gux-icon.entry.js +1 -1
- package/dist/esm/gux-inline-alert.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +1 -1
- package/dist/esm/gux-listbox-multi.entry.js +1 -1
- package/dist/esm/gux-loading-message.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +1 -1
- package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +1 -1
- package/dist/esm/gux-pagination.entry.js +1 -1
- package/dist/esm/gux-phone-input-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +1 -1
- package/dist/esm/gux-radial-loading.entry.js +1 -1
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +1 -1
- package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
- package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
- package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
- package/dist/esm/gux-sort-control.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
- package/dist/esm/gux-table-toolbar.entry.js +2 -2
- package/dist/esm/gux-table.entry.js +1 -1
- package/dist/esm/gux-tabs-advanced.entry.js +1 -1
- package/dist/esm/gux-tabs.entry.js +1 -1
- package/dist/esm/gux-tag.entry.js +1 -1
- package/dist/esm/gux-text-highlight.entry.js +1 -1
- package/dist/esm/gux-time-beta.entry.js +24 -6
- package/dist/esm/gux-time-picker.entry.js +1 -1
- package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
- package/dist/esm/gux-toast.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +1 -1
- package/dist/esm/gux-tooltip.entry.js +1 -1
- package/dist/esm/{usage-bfb1a7c4.js → usage-d5e34af8.js} +3 -2
- package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-8d8e9f3a.entry.js → p-017fc656.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-48ceb7c6.entry.js → p-04d09ddd.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0b10b006.entry.js +1 -0
- package/dist/genesys-webcomponents/p-0ba9ddca.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-492f78ba.entry.js → p-0d818ff1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fd116c48.entry.js → p-0f6dbee6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fdb85237.entry.js → p-0f96aa9c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-63b1303a.entry.js → p-11c3eb77.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0192a136.entry.js → p-15b186ef.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1c6bb0e9.entry.js → p-16994bf5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-522096c2.entry.js → p-1eb57ca9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d13ae787.entry.js → p-210e28aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b569ddc4.entry.js → p-292a5ef7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4cafc505.entry.js → p-292ff770.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a9e0cace.entry.js → p-29ceca28.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2c9eae58.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5c83bade.entry.js → p-3033cd01.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a7bfb1c4.entry.js → p-33f65c90.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f1593f07.entry.js → p-38cf7ff5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-caad4975.entry.js → p-39d7c064.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-877bdb4b.entry.js → p-43b95c5f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ba890128.entry.js → p-493636ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-34c64265.entry.js → p-4d35ccd8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1a60a0c2.entry.js → p-5351cde8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-07f63511.entry.js → p-5369f04c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-53968d5e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-838c22bd.entry.js → p-5672c9c4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6a363f14.entry.js → p-5e72d094.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-615e6966.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-09219ec9.entry.js → p-66fe1c3e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-03a21a2c.entry.js → p-67671413.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8d2ce4bb.entry.js → p-69487fc5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-db360056.entry.js → p-6de80fba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2daaabfb.entry.js → p-7272801f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f4168218.js → p-75e3aeda.js} +1 -1
- package/dist/genesys-webcomponents/{p-626c0bea.entry.js → p-79b106f5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8a896e73.entry.js → p-7de5c93a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ad8751ab.entry.js → p-807bbeda.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-65b36703.entry.js → p-851ed48c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6ed0fa1a.entry.js → p-857b9d95.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9300b568.entry.js → p-8586a081.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-358a060d.entry.js → p-86b2ab34.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-18f202e4.entry.js → p-881481d0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cdd164c5.entry.js → p-8dbf02f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b92bf74.entry.js → p-9612ab3a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-92c31c6f.entry.js → p-9656d044.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-25b88c11.entry.js → p-965e1fc8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-097b191c.entry.js → p-9e30caf9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3ccf1229.entry.js → p-9f348758.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-37045989.entry.js → p-a1384a94.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6fc7857e.entry.js → p-a17dc7ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e3ca4d4f.entry.js → p-a2dcefce.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-de0f9964.entry.js → p-a3f82c25.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-71a23c21.entry.js → p-a86f5b7a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-641f7130.entry.js → p-b0d6e837.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-df642de2.entry.js → p-b6469dcb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fca1f405.entry.js → p-b6ac37c5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-00a09100.entry.js → p-be6dc29b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-82f1a5aa.entry.js → p-bff2a880.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c0460452.entry.js +1 -0
- package/dist/genesys-webcomponents/p-c27e5dc1.js +1 -0
- package/dist/genesys-webcomponents/{p-da98f5be.entry.js → p-c40b0d99.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dfbecc0c.entry.js → p-c4be60af.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-79123430.entry.js → p-c4df4226.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b1f6c4d3.entry.js → p-c58d6a91.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aa321074.entry.js → p-ccef9d5d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6491e26a.entry.js → p-d346007f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d45bbb98.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0855743d.entry.js → p-d49fe3de.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-35f22510.entry.js → p-d6d11609.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3593adef.entry.js → p-d7aa6336.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0ca21156.entry.js → p-db0a65a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-59cd9f4c.entry.js → p-dd8747a5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-19605560.entry.js → p-e057f1d8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f4a68586.entry.js → p-e6e6d74d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f397d17c.entry.js → p-f02cc75a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-640c9dc0.entry.js → p-f3056f8e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e6e503b.entry.js → p-f6a8a85f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-904299e7.entry.js → p-f6c19016.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-531418ef.entry.js → p-f765491c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ad81041d.entry.js → p-faf1c497.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-date/gux-date.d.ts +2 -0
- package/dist/types/components/beta/gux-date-time/gux-date-time.d.ts +2 -0
- package/dist/types/components/beta/gux-time/gux-time.d.ts +2 -0
- package/dist/types/genesys-spark-utils/intl.d.ts +29 -0
- package/dist/types/i18n/check-regional-dates-cookie.d.ts +1 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +3 -2
- package/dist/genesys-webcomponents/p-2503c337.entry.js +0 -1
- package/dist/genesys-webcomponents/p-45188ce3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-496e6b72.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4ff37e29.entry.js +0 -1
- package/dist/genesys-webcomponents/p-96398524.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b2525b64.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e17799fa.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f19850ba.js +0 -1
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
6
|
const floatingUi_dom_esm = require('./floating-ui.dom.esm-cae393e0.js');
|
7
7
|
const onClickOutside = require('./on-click-outside-3c0f8816.js');
|
8
|
-
const usage = require('./usage-
|
8
|
+
const usage = require('./usage-e6a30d60.js');
|
9
9
|
const findElementById = require('./find-element-by-id-9c3e0b1b.js');
|
10
10
|
|
11
11
|
const guxPopoverListCss = ".gux-popover-wrapper{position:absolute;top:0;left:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding:8px 0;background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow-x) var(--gse-ui-popover-boxShadow-y) var(--gse-ui-popover-boxShadow-blur) var(--gse-ui-popover-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;width:var(--gse-ui-popover-anchor-width);height:var(--gse-ui-popover-anchor-width);background:var(--gse-ui-popover-backgroundColor)}";
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
6
|
const index$1 = require('./index-dee802be.js');
|
7
|
-
const usage = require('./usage-
|
7
|
+
const usage = require('./usage-e6a30d60.js');
|
8
8
|
require('./get-closest-element-26894e5a.js');
|
9
9
|
|
10
10
|
const largeSpinner = 48; // Linked to --gse-ui-progressAndLoading-spinner-large
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-e6a30d60.js');
|
7
7
|
const logError = require('./log-error-8a92241e.js');
|
8
8
|
|
9
9
|
const OVERALL_SIZE = 48; // Linked to --gse-ui-progressAndLoading-spinner-large
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
6
|
const simulateNativeEvent = require('./simulate-native-event-8209a457.js');
|
7
7
|
const clamp = require('./clamp-a9926a57.js');
|
8
|
-
const usage = require('./usage-
|
8
|
+
const usage = require('./usage-e6a30d60.js');
|
9
9
|
const logError = require('./log-error-8a92241e.js');
|
10
10
|
|
11
11
|
const guxRatingCss = ":host{display:inline-block;min-width:fit-content;user-select:none}:host(:host:focus-visible){outline:var(--gse-semantic-focusRing-small-border-color) var(--gse-semantic-focusRing-small-border-style) var(--gse-semantic-focusRing-small-border-width);outline-offset:var(--gse-semantic-focusRing-offset);box-shadow:0 0 0 1px var(--gse-semantic-focusRing-small-border-style)}.gux-rating-star-container{display:flex;gap:var(--gse-ui-rating-star-gap);justify-content:space-between;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container.gux-disabled{color:var(--gse-ui-rating-disabled-color);pointer-events:none;opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{flex:0 0 auto;width:var(--gse-ui-rating-size);height:var(--gse-ui-rating-size);color:var(--gse-ui-rating-default-color)}.gux-rating-star-container gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color)}";
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-e6a30d60.js');
|
7
7
|
|
8
8
|
const guxScreenReaderCss = ".gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";
|
9
9
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
6
|
const simulateNativeEvent = require('./simulate-native-event-8209a457.js');
|
7
|
-
const usage = require('./usage-
|
7
|
+
const usage = require('./usage-e6a30d60.js');
|
8
8
|
|
9
9
|
const guxSegmentedControlCss = ":host{display:inline-flex}";
|
10
10
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-e6a30d60.js');
|
7
7
|
|
8
8
|
const guxSimpleToastCss = ":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:286px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;padding:8px 12px 8px 16px;margin:2px 0}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-icon ::slotted(gux-icon){width:16px;height:16px}.gux-message{flex:1 1 auto;align-self:center;order:0;margin:8px 0}.gux-dismiss{margin:4px 0}";
|
9
9
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
6
|
const index$1 = require('./index-dee802be.js');
|
7
|
-
const usage = require('./usage-
|
7
|
+
const usage = require('./usage-e6a30d60.js');
|
8
8
|
require('./get-closest-element-26894e5a.js');
|
9
9
|
|
10
10
|
const navigationName = "Skip links navigation";
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
6
|
const index$1 = require('./index-dee802be.js');
|
7
|
-
const usage = require('./usage-
|
7
|
+
const usage = require('./usage-e6a30d60.js');
|
8
8
|
const getClosestElement = require('./get-closest-element-26894e5a.js');
|
9
9
|
const onMutation = require('./on-mutation-ef917473.js');
|
10
10
|
const en = require('./en-807a354e.js');
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
6
|
const simulateNativeEvent = require('./simulate-native-event-8209a457.js');
|
7
|
-
const usage = require('./usage-
|
7
|
+
const usage = require('./usage-e6a30d60.js');
|
8
8
|
|
9
9
|
const guxSwitchCss = ":host{display:flex;align-items:flex-end}";
|
10
10
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
6
|
const capitalizeFirstLetter = require('./capitalize-first-letter-251c82ed.js');
|
7
|
-
const usage = require('./usage-
|
7
|
+
const usage = require('./usage-e6a30d60.js');
|
8
8
|
const index$1 = require('./index-dee802be.js');
|
9
9
|
require('./get-closest-element-26894e5a.js');
|
10
10
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-e6a30d60.js');
|
7
7
|
const getSlotTextContent = require('./get-slot-text-content-c4306c7a.js');
|
8
8
|
|
9
9
|
const guxTableToolbarCustomActionCss = ":host([disabled]),button[disabled]{pointer-events:none}.gux-sr-only{display:flex}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-action-title{display:flex;flex-direction:row;gap:var(--gse-ui-button-gap);align-items:center}.gux-action-title slot[name=icon]::slotted(gux-icon){width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}";
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-e6a30d60.js');
|
7
7
|
const onClickOutside = require('./on-click-outside-3c0f8816.js');
|
8
8
|
const index$1 = require('./index-dee802be.js');
|
9
9
|
const afterNextRender = require('./after-next-render-a023ef47.js');
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
6
|
const onResize = require('./on-resize-a136fc7f.js');
|
7
7
|
const onMutation = require('./on-mutation-ec5d23bd.js');
|
8
|
-
const usage = require('./usage-
|
8
|
+
const usage = require('./usage-e6a30d60.js');
|
9
9
|
const getSlot = require('./get-slot-395a67ef.js');
|
10
10
|
const afterNextRender = require('./after-next-render-a023ef47.js');
|
11
11
|
|
@@ -23,7 +23,7 @@ function setActionsIconOnlyProp(iconOnly, ...actionSets) {
|
|
23
23
|
.forEach(action => (action.iconOnly = iconOnly));
|
24
24
|
}
|
25
25
|
|
26
|
-
const guxTableToolbarCss = ":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;max-height:var(--gse-ui-dataTableItems-tableToolbar-height)}:host .search-filter-container{
|
26
|
+
const guxTableToolbarCss = ":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;max-height:var(--gse-ui-dataTableItems-tableToolbar-height)}:host .search-filter-container{min-width:260px;padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host slot[name=search-and-filter]::slotted(*){display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-start;align-items:center}:host .section-spacing{display:flex;flex-direction:row;min-width:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-left:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host .gux-contextual-permanent-primary slot[name=permanent-actions]::slotted(*),:host .gux-contextual-permanent-primary slot[name=contextual-actions]::slotted(*){display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-end;align-items:center}:host .gux-contextual-permanent-primary .gux-contextual-wrapper{padding-right:var(--gse-ui-dataTableItems-tableToolbar-gap);border-right:var(--gse-ui-dataTableItems-tableToolbar-divider-width) solid var(--gse-ui-dataTableItems-tableToolbar-dividerColor)}:host .gux-contextual-permanent-primary .gux-permanent-menu-primary-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);margin-left:var(--gse-ui-dataTableItems-tableToolbar-gap)}";
|
27
27
|
|
28
28
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
29
29
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
@@ -6,7 +6,7 @@ const index = require('./index-75c9f0d9.js');
|
|
6
6
|
const index$1 = require('./index-dee802be.js');
|
7
7
|
const whenEventIsFrom = require('./when-event-is-from-20e89254.js');
|
8
8
|
const randomHtmlId = require('./random-html-id-32ef8847.js');
|
9
|
-
const usage = require('./usage-
|
9
|
+
const usage = require('./usage-e6a30d60.js');
|
10
10
|
const en = require('./en-807a354e.js');
|
11
11
|
require('./get-closest-element-26894e5a.js');
|
12
12
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-e6a30d60.js');
|
7
7
|
|
8
8
|
const GuxTabsAdvanced = class {
|
9
9
|
constructor(hostRef) {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-e6a30d60.js');
|
7
7
|
|
8
8
|
const guxTabsCss = ":host{display:flex;flex-direction:column}:host .gux-tabs{display:flex;height:100%}:host .gux-tabs:not(.gux-vertical){flex-direction:column}:host .gux-panel-container{display:flex;flex-direction:column;height:100%;min-height:0}";
|
9
9
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
6
|
const index$1 = require('./index-dee802be.js');
|
7
|
-
const usage = require('./usage-
|
7
|
+
const usage = require('./usage-e6a30d60.js');
|
8
8
|
require('./get-closest-element-26894e5a.js');
|
9
9
|
|
10
10
|
const tag = "tag with label: {label}";
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-e6a30d60.js');
|
7
7
|
|
8
8
|
const conversion = /[ +]/g;
|
9
9
|
const expressions = new Map();
|
@@ -3,26 +3,44 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
|
-
const usage = require('./usage-
|
7
|
-
const getValidTimezone = require('./get-valid-timezone-
|
6
|
+
const usage = require('./usage-e6a30d60.js');
|
7
|
+
const getValidTimezone = require('./get-valid-timezone-7b76b3df.js');
|
8
8
|
const index$1 = require('./index-dee802be.js');
|
9
9
|
require('./get-closest-element-26894e5a.js');
|
10
10
|
|
11
11
|
const GuxTime = class {
|
12
12
|
constructor(hostRef) {
|
13
13
|
index.registerInstance(this, hostRef);
|
14
|
+
this.hasRegionalDatesCookie = false;
|
14
15
|
this.datetime = new Date().toISOString();
|
15
16
|
this.format = 'short';
|
16
17
|
this.timeZone = undefined;
|
17
18
|
}
|
18
19
|
componentWillLoad() {
|
19
20
|
usage.trackComponent(this.root);
|
20
|
-
|
21
|
+
if (getValidTimezone.readRegionalDatesCookie()) {
|
22
|
+
this.hasRegionalDatesCookie = true;
|
23
|
+
}
|
24
|
+
else {
|
25
|
+
this.formatter = new getValidTimezone.DateTimeFormatter(index$1.getDesiredLocale(this.root));
|
26
|
+
}
|
27
|
+
}
|
28
|
+
renderTime() {
|
29
|
+
if (this.hasRegionalDatesCookie) {
|
30
|
+
return getValidTimezone.dateTimeFormat(getValidTimezone.determineDisplayLocale(this.root), {
|
31
|
+
timeStyle: this.format,
|
32
|
+
timeZone: getValidTimezone.getValidTimezone(this.timeZone)
|
33
|
+
})
|
34
|
+
.format(new Date(this.datetime));
|
35
|
+
}
|
36
|
+
else {
|
37
|
+
return this.formatter.formatTime(new Date(this.datetime), this.format, {
|
38
|
+
timeZone: getValidTimezone.getValidTimezone(this.timeZone)
|
39
|
+
});
|
40
|
+
}
|
21
41
|
}
|
22
42
|
render() {
|
23
|
-
return (index.h(index.Host, null, this.
|
24
|
-
timeZone: getValidTimezone.getValidTimezone(this.timeZone)
|
25
|
-
})));
|
43
|
+
return (index.h(index.Host, null, this.renderTime()));
|
26
44
|
}
|
27
45
|
get root() { return index.getElement(this); }
|
28
46
|
};
|
@@ -7,7 +7,7 @@ const onClickOutside = require('./on-click-outside-3c0f8816.js');
|
|
7
7
|
const simulateNativeEvent = require('./simulate-native-event-8209a457.js');
|
8
8
|
const afterNextRender = require('./after-next-render-a023ef47.js');
|
9
9
|
const index = require('./index-dee802be.js');
|
10
|
-
const usage = require('./usage-
|
10
|
+
const usage = require('./usage-e6a30d60.js');
|
11
11
|
require('./get-closest-element-26894e5a.js');
|
12
12
|
|
13
13
|
const am = "AM";
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
6
|
const index$1 = require('./index-dee802be.js');
|
7
|
-
const usage = require('./usage-
|
7
|
+
const usage = require('./usage-e6a30d60.js');
|
8
8
|
const simulateNativeEvent = require('./simulate-native-event-8209a457.js');
|
9
9
|
require('./get-closest-element-26894e5a.js');
|
10
10
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-e6a30d60.js');
|
7
7
|
const hasSlot = require('./has-slot-429f8b9e.js');
|
8
8
|
|
9
9
|
const guxToastCss = ".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);place-content:stretch flex-start;align-items:flex-start;width:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-bottom:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow-x) var(--gse-ui-toast-boxShadow-y) var(--gse-ui-toast-boxShadow-blur) var(--gse-ui-toast-boxShadow-spread) var(--gse-ui-toast-boxShadow-color)}.gux-toast .gux-icon ::slotted(gux-icon){width:var(--gse-ui-toast-icon) !important;height:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{width:var(--gse-ui-toast-icon) !important;height:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight)}.gux-toast .gux-content .gux-buttons-bar{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-buttonBar-gap);justify-content:flex-start}.gux-toast .gux-content .gux-buttons-bar ::slotted(a){font-family:var(--gse-ui-link-inLine-medium-underlinedText-fontFamily);font-size:var(--gse-ui-link-inLine-medium-underlinedText-fontSize);font-weight:var(--gse-ui-link-inLine-medium-underlinedText-fontWeight);line-height:var(--gse-ui-link-inLine-medium-underlinedText-lineHeight)}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-message{color:var(--gse-ui-toast-action-foregroundColor)}";
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-e6a30d60.js');
|
7
7
|
const randomHtmlId = require('./random-html-id-32ef8847.js');
|
8
8
|
const index$1 = require('./index-dee802be.js');
|
9
9
|
require('./get-closest-element-26894e5a.js');
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
const index = require('./index-75c9f0d9.js');
|
6
6
|
const floatingUi_dom_esm = require('./floating-ui.dom.esm-cae393e0.js');
|
7
7
|
const randomHtmlId = require('./random-html-id-32ef8847.js');
|
8
|
-
const usage = require('./usage-
|
8
|
+
const usage = require('./usage-e6a30d60.js');
|
9
9
|
const findElementById = require('./find-element-by-id-9c3e0b1b.js');
|
10
10
|
const afterNextRender = require('./after-next-render-a023ef47.js');
|
11
11
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
const name = "genesys-spark-components";
|
4
|
-
const version = "4.
|
4
|
+
const version = "4.12.0";
|
5
5
|
const description = "Common webcomponents";
|
6
6
|
const license = "MIT";
|
7
7
|
const main = "dist/stencil-wrapper.js";
|
@@ -9,12 +9,13 @@ const files = [
|
|
9
9
|
"dist/"
|
10
10
|
];
|
11
11
|
const scripts = {
|
12
|
-
build: "npm run clean && npm run i18n && npm run generate-gux-icon-types-file && npm run stencil && npm run build-wrapper",
|
12
|
+
build: "npm run clean && npm run i18n && npm run generate-gux-icon-types-file && npm run copy-genesys-spark-utils && npm run stencil && npm run build-wrapper",
|
13
13
|
"build-i18n": "./scripts/build-i18n.js",
|
14
14
|
"build-wrapper": "./scripts/wrap-stencil.js",
|
15
15
|
"check-a11y": "node ./scripts/check-a11y.mjs",
|
16
16
|
"check-readmes": "./scripts/check-readmes.sh",
|
17
17
|
clean: "rm -r ./dist ./build || true",
|
18
|
+
"copy-genesys-spark-utils": "node ./scripts/copy-genesys-spark-utils.mjs",
|
18
19
|
predev: "npm run i18n && npm run generate-gux-icon-types-file ",
|
19
20
|
dev: "npm run stencil.dev",
|
20
21
|
eslint: "eslint --fix .",
|
@@ -1,22 +1,43 @@
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
2
2
|
import { trackComponent } from "../../../utils/tracking/usage";
|
3
3
|
import { DateTimeFormatter } from "../../../i18n/DateTimeFormatter";
|
4
|
+
import * as sparkIntl from "../../../genesys-spark-utils/intl";
|
5
|
+
import { readRegionalDatesCookie } from "../../../i18n/check-regional-dates-cookie";
|
4
6
|
import { getDesiredLocale } from "../../../i18n/index";
|
5
7
|
import { getValidTimezone } from "../../../utils/date/get-valid-timezone";
|
6
8
|
export class GuxDate {
|
7
9
|
constructor() {
|
10
|
+
this.hasRegionalDatesCookie = false;
|
8
11
|
this.datetime = new Date().toISOString();
|
9
12
|
this.format = 'short';
|
10
13
|
this.timeZone = undefined;
|
11
14
|
}
|
12
15
|
componentWillLoad() {
|
13
16
|
trackComponent(this.root);
|
14
|
-
|
17
|
+
if (readRegionalDatesCookie()) {
|
18
|
+
this.hasRegionalDatesCookie = true;
|
19
|
+
}
|
20
|
+
else {
|
21
|
+
this.formatter = new DateTimeFormatter(getDesiredLocale(this.root));
|
22
|
+
}
|
23
|
+
}
|
24
|
+
renderDate() {
|
25
|
+
if (this.hasRegionalDatesCookie) {
|
26
|
+
return sparkIntl
|
27
|
+
.dateTimeFormat(sparkIntl.determineDisplayLocale(this.root), {
|
28
|
+
dateStyle: this.format,
|
29
|
+
timeZone: getValidTimezone(this.timeZone)
|
30
|
+
})
|
31
|
+
.format(new Date(this.datetime));
|
32
|
+
}
|
33
|
+
else {
|
34
|
+
return this.formatter.formatDate(new Date(this.datetime), this.format, {
|
35
|
+
timeZone: getValidTimezone(this.timeZone)
|
36
|
+
});
|
37
|
+
}
|
15
38
|
}
|
16
39
|
render() {
|
17
|
-
return (h(Host, null, this.
|
18
|
-
timeZone: getValidTimezone(this.timeZone)
|
19
|
-
})));
|
40
|
+
return (h(Host, null, this.renderDate()));
|
20
41
|
}
|
21
42
|
static get is() { return "gux-date-beta"; }
|
22
43
|
static get encapsulation() { return "shadow"; }
|
@@ -1,22 +1,44 @@
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
2
2
|
import { trackComponent } from "../../../utils/tracking/usage";
|
3
3
|
import { DateTimeFormatter } from "../../../i18n/DateTimeFormatter";
|
4
|
+
import * as sparkIntl from "../../../genesys-spark-utils/intl";
|
5
|
+
import { readRegionalDatesCookie } from "../../../i18n/check-regional-dates-cookie";
|
4
6
|
import { getDesiredLocale } from "../../../i18n/index";
|
5
7
|
import { getValidTimezone } from "../../../utils/date/get-valid-timezone";
|
6
8
|
export class GuxDateTime {
|
7
9
|
constructor() {
|
10
|
+
this.hasRegionalDatesCookie = false;
|
8
11
|
this.datetime = new Date().toISOString();
|
9
12
|
this.format = 'short';
|
10
13
|
this.timeZone = undefined;
|
11
14
|
}
|
12
15
|
componentWillLoad() {
|
13
16
|
trackComponent(this.root);
|
14
|
-
|
17
|
+
if (readRegionalDatesCookie()) {
|
18
|
+
this.hasRegionalDatesCookie = true;
|
19
|
+
}
|
20
|
+
else {
|
21
|
+
this.formatter = new DateTimeFormatter(getDesiredLocale(this.root));
|
22
|
+
}
|
23
|
+
}
|
24
|
+
renderDateTime() {
|
25
|
+
if (this.hasRegionalDatesCookie) {
|
26
|
+
return sparkIntl
|
27
|
+
.dateTimeFormat(sparkIntl.determineDisplayLocale(this.root), {
|
28
|
+
dateStyle: this.format,
|
29
|
+
timeStyle: this.format,
|
30
|
+
timeZone: getValidTimezone(this.timeZone)
|
31
|
+
})
|
32
|
+
.format(new Date(this.datetime));
|
33
|
+
}
|
34
|
+
else {
|
35
|
+
return this.formatter.formatDateTime(new Date(this.datetime), this.format, {
|
36
|
+
timeZone: getValidTimezone(this.timeZone)
|
37
|
+
});
|
38
|
+
}
|
15
39
|
}
|
16
40
|
render() {
|
17
|
-
return (h(Host, null, this.
|
18
|
-
timeZone: getValidTimezone(this.timeZone)
|
19
|
-
})));
|
41
|
+
return (h(Host, null, this.renderDateTime()));
|
20
42
|
}
|
21
43
|
static get is() { return "gux-date-time-beta"; }
|
22
44
|
static get encapsulation() { return "shadow"; }
|
@@ -1,22 +1,43 @@
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
2
2
|
import { trackComponent } from "../../../utils/tracking/usage";
|
3
3
|
import { DateTimeFormatter } from "../../../i18n/DateTimeFormatter";
|
4
|
+
import * as sparkIntl from "../../../genesys-spark-utils/intl";
|
5
|
+
import { readRegionalDatesCookie } from "../../../i18n/check-regional-dates-cookie";
|
4
6
|
import { getDesiredLocale } from "../../../i18n/index";
|
5
7
|
import { getValidTimezone } from "../../../utils/date/get-valid-timezone";
|
6
8
|
export class GuxTime {
|
7
9
|
constructor() {
|
10
|
+
this.hasRegionalDatesCookie = false;
|
8
11
|
this.datetime = new Date().toISOString();
|
9
12
|
this.format = 'short';
|
10
13
|
this.timeZone = undefined;
|
11
14
|
}
|
12
15
|
componentWillLoad() {
|
13
16
|
trackComponent(this.root);
|
14
|
-
|
17
|
+
if (readRegionalDatesCookie()) {
|
18
|
+
this.hasRegionalDatesCookie = true;
|
19
|
+
}
|
20
|
+
else {
|
21
|
+
this.formatter = new DateTimeFormatter(getDesiredLocale(this.root));
|
22
|
+
}
|
23
|
+
}
|
24
|
+
renderTime() {
|
25
|
+
if (this.hasRegionalDatesCookie) {
|
26
|
+
return sparkIntl
|
27
|
+
.dateTimeFormat(sparkIntl.determineDisplayLocale(this.root), {
|
28
|
+
timeStyle: this.format,
|
29
|
+
timeZone: getValidTimezone(this.timeZone)
|
30
|
+
})
|
31
|
+
.format(new Date(this.datetime));
|
32
|
+
}
|
33
|
+
else {
|
34
|
+
return this.formatter.formatTime(new Date(this.datetime), this.format, {
|
35
|
+
timeZone: getValidTimezone(this.timeZone)
|
36
|
+
});
|
37
|
+
}
|
15
38
|
}
|
16
39
|
render() {
|
17
|
-
return (h(Host, null, this.
|
18
|
-
timeZone: getValidTimezone(this.timeZone)
|
19
|
-
})));
|
40
|
+
return (h(Host, null, this.renderTime()));
|
20
41
|
}
|
21
42
|
static get is() { return "gux-time-beta"; }
|
22
43
|
static get encapsulation() { return "shadow"; }
|
@@ -7,9 +7,8 @@
|
|
7
7
|
max-height: var(--gse-ui-dataTableItems-tableToolbar-height);
|
8
8
|
}
|
9
9
|
:host .search-filter-container {
|
10
|
-
width: 260px;
|
11
10
|
min-width: 260px;
|
12
|
-
padding-
|
11
|
+
padding-inline-end: var(--gse-ui-dataTableItems-tableToolbar-gap);
|
13
12
|
}
|
14
13
|
:host slot[name=search-and-filter]::slotted(*) {
|
15
14
|
display: flex;
|
@@ -0,0 +1,80 @@
|
|
1
|
+
/**
|
2
|
+
* Provides an [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat)
|
3
|
+
* object for formatting dates and times. Unlike the native version, `locale` is
|
4
|
+
* an optional argument. If not provided, the function will try to determine the
|
5
|
+
* locale from the DOM, where it should be set for a11y reasons.
|
6
|
+
* @param locale optional locale to use for formatting
|
7
|
+
* @param options options to pass to the Intl.DateTimeFormat constructor
|
8
|
+
* @returns a new DateTimeFormat
|
9
|
+
*/
|
10
|
+
export function dateTimeFormat(localeOrOptions, options) {
|
11
|
+
let locale = undefined;
|
12
|
+
if (typeof localeOrOptions === 'string') {
|
13
|
+
locale = localeOrOptions;
|
14
|
+
}
|
15
|
+
else {
|
16
|
+
options = localeOrOptions;
|
17
|
+
}
|
18
|
+
if (locale != undefined) {
|
19
|
+
return new Intl.DateTimeFormat(locale, options);
|
20
|
+
}
|
21
|
+
else {
|
22
|
+
const userLocale = determineDisplayLocale();
|
23
|
+
return new Intl.DateTimeFormat(userLocale, options);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* Provides an [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat)
|
28
|
+
* object for formatting dates and times. Unlike the native version, `locale` is
|
29
|
+
* an optional argument. If not provided, the function will try to determine the
|
30
|
+
* locale from the DOM, where it should be set for a11y reasons.
|
31
|
+
* @param locale optional locale to use for formatting
|
32
|
+
* @param options options to pass to the Intl.RelativeTimeFormat constructor
|
33
|
+
* @returns a new RelativeTimeFormat
|
34
|
+
*/
|
35
|
+
export function relativeTimeFormat(localeOrOptions, options) {
|
36
|
+
let locale = undefined;
|
37
|
+
if (typeof localeOrOptions === 'string') {
|
38
|
+
locale = localeOrOptions;
|
39
|
+
}
|
40
|
+
else {
|
41
|
+
options = localeOrOptions;
|
42
|
+
}
|
43
|
+
if (locale != undefined) {
|
44
|
+
return new Intl.RelativeTimeFormat(locale, options);
|
45
|
+
}
|
46
|
+
else {
|
47
|
+
const userLocale = determineDisplayLocale();
|
48
|
+
return new Intl.RelativeTimeFormat(userLocale, options);
|
49
|
+
}
|
50
|
+
}
|
51
|
+
/**
|
52
|
+
* Makes a best effort to return the locale that should be used for a given element
|
53
|
+
* by checking language tags on ancestors. If no element is provided, it will
|
54
|
+
* start with the document's <body> tag. If no locale can be found, it will use
|
55
|
+
* the browser's locale preference. It will also try to add a region to regionless
|
56
|
+
* locales when there is a partial match with the browser's locale.
|
57
|
+
* @returns a locale string (e.g. 'en-US', 'en', 'de-DE', etc)
|
58
|
+
*/
|
59
|
+
export function determineDisplayLocale(element = document.body) {
|
60
|
+
var _a;
|
61
|
+
const domLocale = (_a = element.closest('[lang]')) === null || _a === void 0 ? void 0 : _a.lang;
|
62
|
+
if (!domLocale || browserHasRegionData(domLocale)) {
|
63
|
+
// If we can't find a locale in the DOM, or we find a locale without a region that matches the
|
64
|
+
// users's browser locale, use the browser locale.
|
65
|
+
return navigator.language;
|
66
|
+
}
|
67
|
+
else {
|
68
|
+
return domLocale;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
/**
|
72
|
+
* Returns true if the provided locale only has a language, but the user's
|
73
|
+
* browser settings have the same language with a locale.
|
74
|
+
* @param localeString The locale to check
|
75
|
+
* @returns true if the region can be guessed from the browser settings.
|
76
|
+
*/
|
77
|
+
function browserHasRegionData(localeString) {
|
78
|
+
return (localeString.length == 2 &&
|
79
|
+
navigator.language.startsWith(`${localeString}-`));
|
80
|
+
}
|
package/dist/deploy-info.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "spark-components",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.12.0",
|
4
4
|
"ecosystem": "pc",
|
5
5
|
"team": "Core UI",
|
6
6
|
"indexFiles": [],
|
7
|
-
"build": "
|
8
|
-
"buildDate": "2024-01-
|
7
|
+
"build": "85",
|
8
|
+
"buildDate": "2024-01-31T05:13:41.347725Z"
|
9
9
|
}
|