genesys-spark-components 4.0.0-beta.46 → 4.0.0-beta.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
- 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 +4 -4
- package/dist/cjs/gux-context-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +8 -4
- 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 +2 -1
- package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +85 -0
- package/dist/cjs/gux-modal.cjs.entry.js +26 -50
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +1 -1
- package/dist/cjs/gux-region-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/gux-table.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs.cjs.entry.js +3 -6
- 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 +1 -1
- package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/index-75c9f0d9.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-b5bcd6f4.js → usage-0cb60b56.js} +2 -2
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.css +122 -0
- package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +181 -0
- package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.types.js +1 -0
- package/dist/collection/components/legacy/gux-modal-legacy/tests/gux-modal-legacy.e2e.js +301 -0
- package/dist/collection/components/legacy/gux-modal-legacy/tests/gux-modal-legacy.spec.js +200 -0
- package/dist/collection/components/stable/gux-button-multi/tests/gux-button-multi.e2e.js +10 -3
- package/dist/collection/components/stable/gux-content-search/gux-content-search.css +17 -4
- package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
- package/dist/collection/components/stable/gux-content-search/tests/gux-content-search.e2e.js +5 -0
- package/dist/collection/components/stable/gux-context-menu/gux-context-menu.css +1 -0
- package/dist/collection/components/stable/gux-context-menu/tests/gux-context-menu.e2e.js +9 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.css +8 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +28 -2
- package/dist/collection/components/stable/gux-list/tests/gux-list.e2e.js +8 -1
- package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +1 -0
- package/dist/collection/components/stable/gux-modal/gux-modal.css +20 -54
- package/dist/collection/components/stable/gux-modal/gux-modal.js +64 -100
- package/dist/collection/components/stable/gux-modal/tests/gux-modal.e2e.js +119 -134
- package/dist/collection/components/stable/gux-modal/tests/gux-modal.spec.js +28 -88
- package/dist/collection/components/stable/gux-popup/tests/gux-popup.e2e.js +13 -1
- package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.css +4 -7
- package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.css +4 -7
- package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +1 -1
- package/dist/collection/components/stable/gux-tabs/gux-tabs.css +5 -8
- package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -22
- package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.e2e.js +5 -0
- package/dist/component-specs.json +25 -7
- package/dist/deploy-info.json +3 -3
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/gux-accordion.entry.js +1 -1
- package/dist/esm/gux-action-button.entry.js +1 -1
- package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
- package/dist/esm/gux-all-row-select.entry.js +2 -2
- 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 +4 -4
- package/dist/esm/gux-context-menu.entry.js +2 -2
- package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +1 -1
- package/dist/esm/gux-date-time-beta.entry.js +1 -1
- package/dist/esm/gux-datepicker.entry.js +1 -1
- package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
- package/dist/esm/gux-dismiss-button.entry.js +1 -1
- package/dist/esm/gux-dropdown-multi.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +1 -1
- package/dist/esm/gux-flyout-menu.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox.entry.js +8 -4
- 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 +2 -1
- package/dist/esm/gux-loading-message.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +81 -0
- package/dist/esm/gux-modal.entry.js +26 -50
- package/dist/esm/gux-month-picker-beta.entry.js +1 -1
- package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +1 -1
- package/dist/esm/gux-pagination.entry.js +1 -1
- package/dist/esm/gux-phone-input-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +1 -1
- package/dist/esm/gux-radial-loading.entry.js +1 -1
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +1 -1
- package/dist/esm/gux-region-icon.entry.js +1 -1
- package/dist/esm/gux-row-select.entry.js +2 -2
- package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
- package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
- package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
- package/dist/esm/gux-sort-control.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
- package/dist/esm/gux-table-toolbar.entry.js +1 -1
- package/dist/esm/gux-table.entry.js +1 -1
- package/dist/esm/gux-tabs-advanced.entry.js +1 -1
- package/dist/esm/gux-tabs.entry.js +3 -6
- 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 +1 -1
- package/dist/esm/gux-time-picker.entry.js +1 -1
- package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
- package/dist/esm/gux-toast.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +1 -1
- package/dist/esm/gux-tooltip.entry.js +1 -1
- package/dist/esm/index-39e65a0a.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-266740c3.js → usage-5789b84e.js} +2 -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-61f9e6eb.entry.js → p-017b2a26.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a4aaee1.entry.js → p-02c0ad2c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-66592387.entry.js → p-030c2905.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d93c71ef.entry.js → p-03472378.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f42f2f0d.entry.js → p-041605ee.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-447aba64.entry.js → p-042ab51f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1f8d91b0.entry.js → p-04b36426.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e41e1fc.entry.js → p-09e6a6da.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0112f4c0.entry.js → p-0ed02a07.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-95ddee1b.entry.js → p-11e8f856.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2be332c3.entry.js → p-1e0ed2ef.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-26cc04bb.entry.js → p-1e5e9c08.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9749237a.entry.js → p-2107d304.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75e0ebc8.entry.js → p-25165b93.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7d7bbfec.entry.js → p-2c521953.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-298f5a94.entry.js → p-2c5573df.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fd77023f.entry.js → p-2d1b4156.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ca6af08a.entry.js → p-3813e134.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ea0296a2.entry.js → p-3ab4cf65.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3b9d98ec.entry.js → p-3c1fc3a2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-21d8e48c.entry.js → p-3c58171a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-433b4556.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bc9d75c2.entry.js → p-43f07bab.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e73f4503.entry.js → p-4673acec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-72d78bb8.entry.js → p-47355571.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-681c2cae.entry.js → p-47a4739c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c3103de4.entry.js → p-4898901d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-93b098ea.entry.js → p-4db2c319.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-523eae58.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c55a4aec.entry.js → p-575f08d0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-58c30fbe.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-37258942.entry.js → p-5e7aab95.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eef2e19d.entry.js → p-6141b01d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bc1ec126.js → p-62379b65.js} +1 -1
- package/dist/genesys-webcomponents/{p-a6d71efc.entry.js → p-6bc5840b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-33c5a71d.entry.js → p-71f91757.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-852059e1.entry.js → p-73fea227.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-532827a9.entry.js → p-74e54c3a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0b69dcec.entry.js → p-763e4d78.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0ec0bb1a.entry.js → p-779200fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1beb2cb2.entry.js → p-77cdf7e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fcf507a2.entry.js → p-79e24d27.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2bf3d247.entry.js → p-7f85b076.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3a502c58.entry.js → p-7f90f26c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c058bbe0.entry.js → p-84ed11ef.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c0d9de8d.entry.js → p-853ae7ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c9430e53.entry.js → p-88a5be5f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2a7e6126.entry.js → p-91ad9189.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7fbea7e4.entry.js → p-92b3cf3e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-772ee405.entry.js → p-932b0736.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5801fcd6.entry.js → p-975515ed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-210bf3e2.entry.js → p-a33a7c42.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ed433fec.entry.js → p-a5b5e967.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8fbc31c8.entry.js → p-a670378d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-666a122c.entry.js → p-a94706ed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ac0c291d.entry.js → p-ad6e6f47.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8db7c656.entry.js → p-af9d713a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-407b3ebd.entry.js → p-b048cb05.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-49cceaf2.entry.js → p-b1ea6554.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b269fa15.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2ca5e73e.entry.js → p-b94bd4c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9f60ae1f.entry.js → p-bb77f4cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bffbe775.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d35d4e79.entry.js → p-c1f94949.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b987ebb3.entry.js → p-c40fe584.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e6a6247.entry.js → p-c5f146dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b445f1ae.entry.js → p-c631a9fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c703c485.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ab4d78a7.entry.js → p-c9de9c12.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fd00f179.entry.js → p-cb0b1b15.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-810c339a.entry.js → p-cc592cf0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c8d7a955.entry.js → p-cfe73514.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-69d62d74.entry.js → p-de5c30dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e02e891f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-642cc895.entry.js → p-e6b38860.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80655bf7.entry.js → p-e906d496.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-61d86ba3.entry.js → p-f046f4af.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2bb29bc.entry.js → p-f504292a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f64cac0b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4e0eb7d5.entry.js → p-fa22e0f1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-49bfec82.entry.js → p-fd80fe62.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-17d5af45.entry.js → p-fe60733a.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/legacy/gux-modal-legacy/gux-modal-legacy.d.ts +37 -0
- package/dist/types/components/legacy/gux-modal-legacy/gux-modal-legacy.types.d.ts +1 -0
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.d.ts +2 -0
- package/dist/types/components/stable/gux-modal/gux-modal.d.ts +8 -21
- package/dist/types/components/stable/gux-tabs/gux-tabs.d.ts +0 -4
- package/dist/types/components.d.ts +38 -11
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +2 -2
- package/dist/genesys-webcomponents/p-236b8bd4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-38871095.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3c61673e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-774043ee.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8fff3309.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d453c288.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d95896ff.entry.js +0 -1
package/dist/stencil-wrapper.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
import { defineCustomElements } from '../dist/loader';
|
9
9
|
// Value templated out during build process (see scripts/wrap-stencil.js)
|
10
|
-
export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.0.0-beta.
|
10
|
+
export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.0.0-beta.47-70/genesys-webcomponents/';
|
11
11
|
// Default domain to load assets from
|
12
12
|
const DEFAULT_DOMAIN = 'mypurecloud.com';
|
13
13
|
// List of Genesys UI domains
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { EventEmitter, JSX } from '../../../stencil-public-runtime';
|
2
|
+
import { GuxModalSize } from './gux-modal-legacy.types';
|
3
|
+
/**
|
4
|
+
* @slot content - Required slot for the modal content
|
5
|
+
* @slot left-align-buttons - Optional slot to set gux-buttons aligned to the left of the modal
|
6
|
+
* @slot right-align-buttons - Optional slot to set gux-buttons aligned to the left of the modal
|
7
|
+
* @slot title - Optional slot to set the modal title
|
8
|
+
*/
|
9
|
+
export declare class GuxModalLegacy {
|
10
|
+
private dismissButton;
|
11
|
+
private triggerElement;
|
12
|
+
private root;
|
13
|
+
/**
|
14
|
+
* Indicates the size of the modal (small, medium or large)
|
15
|
+
*/
|
16
|
+
size: GuxModalSize;
|
17
|
+
trapFocus: boolean;
|
18
|
+
/**
|
19
|
+
* Query selector for the element to initially focus when the modal opens
|
20
|
+
* Defaults to the first tabbable element
|
21
|
+
*/
|
22
|
+
initialFocus?: string | undefined;
|
23
|
+
/**
|
24
|
+
* Fired when a user dismisses the modal (The default behaviour is to remove the component from the DOM)
|
25
|
+
*/
|
26
|
+
guxdismiss: EventEmitter<void>;
|
27
|
+
protected handleKeyEvent(event: KeyboardEvent): void;
|
28
|
+
connectedCallback(): void;
|
29
|
+
componentWillLoad(): void;
|
30
|
+
componentDidLoad(): void;
|
31
|
+
render(): JSX.Element;
|
32
|
+
private renderModalTrapFocusEl;
|
33
|
+
private getInitialFocusElement;
|
34
|
+
private hasModalTitleSlot;
|
35
|
+
private hasFooterButtons;
|
36
|
+
private onDismissHandler;
|
37
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export type GuxModalSize = 'small' | 'medium' | 'large' | 'dynamic';
|
@@ -9,6 +9,7 @@ export declare class GuxFormFieldCheckbox {
|
|
9
9
|
private input;
|
10
10
|
private disabledObserver;
|
11
11
|
private root;
|
12
|
+
labelPosition: 'beside' | 'screenreader';
|
12
13
|
private disabled;
|
13
14
|
private hasError;
|
14
15
|
private hasHelp;
|
@@ -16,5 +17,6 @@ export declare class GuxFormFieldCheckbox {
|
|
16
17
|
componentWillLoad(): void;
|
17
18
|
disconnectedCallback(): void;
|
18
19
|
render(): JSX.Element;
|
20
|
+
private get variant();
|
19
21
|
private setInput;
|
20
22
|
}
|
@@ -1,37 +1,24 @@
|
|
1
1
|
import { EventEmitter, JSX } from '../../../stencil-public-runtime';
|
2
2
|
import { GuxModalSize } from './gux-modal.types';
|
3
|
-
/**
|
4
|
-
* @slot content - Required slot for the modal content
|
5
|
-
* @slot left-align-buttons - Optional slot to set gux-buttons aligned to the left of the modal
|
6
|
-
* @slot right-align-buttons - Optional slot to set gux-buttons aligned to the left of the modal
|
7
|
-
* @slot title - Optional slot to set the modal title
|
8
|
-
*/
|
9
3
|
export declare class GuxModal {
|
10
|
-
private
|
11
|
-
private triggerElement;
|
4
|
+
private dialogElement;
|
12
5
|
private root;
|
13
6
|
/**
|
14
7
|
* Indicates the size of the modal (small, medium or large)
|
15
8
|
*/
|
16
9
|
size: GuxModalSize;
|
17
|
-
trapFocus: boolean;
|
18
10
|
/**
|
19
|
-
*
|
20
|
-
* Defaults to the first tabbable element
|
21
|
-
*/
|
22
|
-
initialFocus?: string | undefined;
|
23
|
-
/**
|
24
|
-
* Fired when a user dismisses the modal (The default behaviour is to remove the component from the DOM)
|
11
|
+
* Fired when a user dismisses the modal
|
25
12
|
*/
|
26
13
|
guxdismiss: EventEmitter<void>;
|
27
|
-
|
28
|
-
|
14
|
+
showModal(): Promise<void>;
|
15
|
+
close(): Promise<void>;
|
29
16
|
componentWillLoad(): void;
|
30
|
-
componentDidLoad(): void;
|
31
|
-
render(): JSX.Element;
|
32
|
-
private renderModalTrapFocusEl;
|
33
|
-
private getInitialFocusElement;
|
34
17
|
private hasModalTitleSlot;
|
35
18
|
private hasFooterButtons;
|
19
|
+
render(): JSX.Element;
|
20
|
+
private renderTitle;
|
21
|
+
private renderButtonFooter;
|
22
|
+
private onCloseHandler;
|
36
23
|
private onDismissHandler;
|
37
24
|
}
|
@@ -18,10 +18,6 @@ export declare class GuxTabs {
|
|
18
18
|
* Specifies left aligned, centered, or full width tabs
|
19
19
|
*/
|
20
20
|
alignment: GuxTabsAlignment;
|
21
|
-
/**
|
22
|
-
* Use flexbox for positioning. Allows panels to fill height of tabs. Will remove this prop and use flexbox as default in V4
|
23
|
-
*/
|
24
|
-
useFlexbox: boolean;
|
25
21
|
tabList: HTMLGuxTabListElement;
|
26
22
|
tabPanels: HTMLGuxTabPanelElement[];
|
27
23
|
/**
|
@@ -26,6 +26,7 @@ import { GuxFormFieldTextAreaResize } from "./components/stable/gux-form-field/c
|
|
26
26
|
import { GuxIconIconName } from "./components/stable/gux-icon/gux-icon.types";
|
27
27
|
import { GuxAlertAccent } from "./components/stable/gux-alert/gux-inline-alert.types";
|
28
28
|
import { GuxModalSize } from "./components/stable/gux-modal/gux-modal.types";
|
29
|
+
import { GuxModalSize as GuxModalSize1 } from "./components/legacy/gux-modal-legacy/gux-modal-legacy.types";
|
29
30
|
import { GuxISOYearMonth } from "./utils/date/year-month-values";
|
30
31
|
import { GuxNotificationToastAccent } from "./components/legacy/gux-notification-toast-legacy/gux-notification-toast.types";
|
31
32
|
import { GuxItemsPerPage as GuxItemsPerPage1, GuxPaginationLayout } from "./components/stable/gux-pagination/gux-pagination.types";
|
@@ -67,6 +68,7 @@ export { GuxFormFieldTextAreaResize } from "./components/stable/gux-form-field/c
|
|
67
68
|
export { GuxIconIconName } from "./components/stable/gux-icon/gux-icon.types";
|
68
69
|
export { GuxAlertAccent } from "./components/stable/gux-alert/gux-inline-alert.types";
|
69
70
|
export { GuxModalSize } from "./components/stable/gux-modal/gux-modal.types";
|
71
|
+
export { GuxModalSize as GuxModalSize1 } from "./components/legacy/gux-modal-legacy/gux-modal-legacy.types";
|
70
72
|
export { GuxISOYearMonth } from "./utils/date/year-month-values";
|
71
73
|
export { GuxNotificationToastAccent } from "./components/legacy/gux-notification-toast-legacy/gux-notification-toast.types";
|
72
74
|
export { GuxItemsPerPage as GuxItemsPerPage1, GuxPaginationLayout } from "./components/stable/gux-pagination/gux-pagination.types";
|
@@ -442,6 +444,7 @@ export namespace Components {
|
|
442
444
|
interface GuxFlyoutMenu {
|
443
445
|
}
|
444
446
|
interface GuxFormFieldCheckbox {
|
447
|
+
"labelPosition": 'beside' | 'screenreader';
|
445
448
|
}
|
446
449
|
interface GuxFormFieldColor {
|
447
450
|
"labelPosition": GuxFormFieldLabelPosition;
|
@@ -549,6 +552,14 @@ export namespace Components {
|
|
549
552
|
"guxFocus": () => Promise<void>;
|
550
553
|
}
|
551
554
|
interface GuxModal {
|
555
|
+
"close": () => Promise<void>;
|
556
|
+
"showModal": () => Promise<void>;
|
557
|
+
/**
|
558
|
+
* Indicates the size of the modal (small, medium or large)
|
559
|
+
*/
|
560
|
+
"size": GuxModalSize;
|
561
|
+
}
|
562
|
+
interface GuxModalLegacy {
|
552
563
|
/**
|
553
564
|
* Query selector for the element to initially focus when the modal opens Defaults to the first tabbable element
|
554
565
|
*/
|
@@ -556,7 +567,7 @@ export namespace Components {
|
|
556
567
|
/**
|
557
568
|
* Indicates the size of the modal (small, medium or large)
|
558
569
|
*/
|
559
|
-
"size":
|
570
|
+
"size": GuxModalSize1;
|
560
571
|
"trapFocus": boolean;
|
561
572
|
}
|
562
573
|
interface GuxMonthCalendar {
|
@@ -970,10 +981,6 @@ export namespace Components {
|
|
970
981
|
* Specifies horizontal or vertical orientation of tabs
|
971
982
|
*/
|
972
983
|
"orientation": GuxTabsOrientation;
|
973
|
-
/**
|
974
|
-
* Use flexbox for positioning. Allows panels to fill height of tabs. Will remove this prop and use flexbox as default in V4
|
975
|
-
*/
|
976
|
-
"useFlexbox": boolean;
|
977
984
|
}
|
978
985
|
interface GuxTabsAdvanced {
|
979
986
|
/**
|
@@ -1159,6 +1166,10 @@ export interface GuxModalCustomEvent<T> extends CustomEvent<T> {
|
|
1159
1166
|
detail: T;
|
1160
1167
|
target: HTMLGuxModalElement;
|
1161
1168
|
}
|
1169
|
+
export interface GuxModalLegacyCustomEvent<T> extends CustomEvent<T> {
|
1170
|
+
detail: T;
|
1171
|
+
target: HTMLGuxModalLegacyElement;
|
1172
|
+
}
|
1162
1173
|
export interface GuxNotificationToastLegacyCustomEvent<T> extends CustomEvent<T> {
|
1163
1174
|
detail: T;
|
1164
1175
|
target: HTMLGuxNotificationToastLegacyElement;
|
@@ -1630,6 +1641,12 @@ declare global {
|
|
1630
1641
|
prototype: HTMLGuxModalElement;
|
1631
1642
|
new (): HTMLGuxModalElement;
|
1632
1643
|
};
|
1644
|
+
interface HTMLGuxModalLegacyElement extends Components.GuxModalLegacy, HTMLStencilElement {
|
1645
|
+
}
|
1646
|
+
var HTMLGuxModalLegacyElement: {
|
1647
|
+
prototype: HTMLGuxModalLegacyElement;
|
1648
|
+
new (): HTMLGuxModalLegacyElement;
|
1649
|
+
};
|
1633
1650
|
interface HTMLGuxMonthCalendarElement extends Components.GuxMonthCalendar, HTMLStencilElement {
|
1634
1651
|
}
|
1635
1652
|
var HTMLGuxMonthCalendarElement: {
|
@@ -2067,6 +2084,7 @@ declare global {
|
|
2067
2084
|
"gux-menu": HTMLGuxMenuElement;
|
2068
2085
|
"gux-menu-option": HTMLGuxMenuOptionElement;
|
2069
2086
|
"gux-modal": HTMLGuxModalElement;
|
2087
|
+
"gux-modal-legacy": HTMLGuxModalLegacyElement;
|
2070
2088
|
"gux-month-calendar": HTMLGuxMonthCalendarElement;
|
2071
2089
|
"gux-month-list": HTMLGuxMonthListElement;
|
2072
2090
|
"gux-month-list-item": HTMLGuxMonthListItemElement;
|
@@ -2526,6 +2544,7 @@ declare namespace LocalJSX {
|
|
2526
2544
|
interface GuxFlyoutMenu {
|
2527
2545
|
}
|
2528
2546
|
interface GuxFormFieldCheckbox {
|
2547
|
+
"labelPosition"?: 'beside' | 'screenreader';
|
2529
2548
|
}
|
2530
2549
|
interface GuxFormFieldColor {
|
2531
2550
|
"labelPosition"?: GuxFormFieldLabelPosition;
|
@@ -2622,6 +2641,16 @@ declare namespace LocalJSX {
|
|
2622
2641
|
interface GuxMenuOption {
|
2623
2642
|
}
|
2624
2643
|
interface GuxModal {
|
2644
|
+
/**
|
2645
|
+
* Fired when a user dismisses the modal
|
2646
|
+
*/
|
2647
|
+
"onGuxdismiss"?: (event: GuxModalCustomEvent<void>) => void;
|
2648
|
+
/**
|
2649
|
+
* Indicates the size of the modal (small, medium or large)
|
2650
|
+
*/
|
2651
|
+
"size"?: GuxModalSize;
|
2652
|
+
}
|
2653
|
+
interface GuxModalLegacy {
|
2625
2654
|
/**
|
2626
2655
|
* Query selector for the element to initially focus when the modal opens Defaults to the first tabbable element
|
2627
2656
|
*/
|
@@ -2629,11 +2658,11 @@ declare namespace LocalJSX {
|
|
2629
2658
|
/**
|
2630
2659
|
* Fired when a user dismisses the modal (The default behaviour is to remove the component from the DOM)
|
2631
2660
|
*/
|
2632
|
-
"onGuxdismiss"?: (event:
|
2661
|
+
"onGuxdismiss"?: (event: GuxModalLegacyCustomEvent<void>) => void;
|
2633
2662
|
/**
|
2634
2663
|
* Indicates the size of the modal (small, medium or large)
|
2635
2664
|
*/
|
2636
|
-
"size"?:
|
2665
|
+
"size"?: GuxModalSize1;
|
2637
2666
|
"trapFocus"?: boolean;
|
2638
2667
|
}
|
2639
2668
|
interface GuxMonthCalendar {
|
@@ -3075,10 +3104,6 @@ declare namespace LocalJSX {
|
|
3075
3104
|
* Specifies horizontal or vertical orientation of tabs
|
3076
3105
|
*/
|
3077
3106
|
"orientation"?: GuxTabsOrientation;
|
3078
|
-
/**
|
3079
|
-
* Use flexbox for positioning. Allows panels to fill height of tabs. Will remove this prop and use flexbox as default in V4
|
3080
|
-
*/
|
3081
|
-
"useFlexbox"?: boolean;
|
3082
3107
|
}
|
3083
3108
|
interface GuxTabsAdvanced {
|
3084
3109
|
/**
|
@@ -3246,6 +3271,7 @@ declare namespace LocalJSX {
|
|
3246
3271
|
"gux-menu": GuxMenu;
|
3247
3272
|
"gux-menu-option": GuxMenuOption;
|
3248
3273
|
"gux-modal": GuxModal;
|
3274
|
+
"gux-modal-legacy": GuxModalLegacy;
|
3249
3275
|
"gux-month-calendar": GuxMonthCalendar;
|
3250
3276
|
"gux-month-list": GuxMonthList;
|
3251
3277
|
"gux-month-list-item": GuxMonthListItem;
|
@@ -3383,6 +3409,7 @@ declare module "@stencil/core" {
|
|
3383
3409
|
"gux-menu": LocalJSX.GuxMenu & JSXBase.HTMLAttributes<HTMLGuxMenuElement>;
|
3384
3410
|
"gux-menu-option": LocalJSX.GuxMenuOption & JSXBase.HTMLAttributes<HTMLGuxMenuOptionElement>;
|
3385
3411
|
"gux-modal": LocalJSX.GuxModal & JSXBase.HTMLAttributes<HTMLGuxModalElement>;
|
3412
|
+
"gux-modal-legacy": LocalJSX.GuxModalLegacy & JSXBase.HTMLAttributes<HTMLGuxModalLegacyElement>;
|
3386
3413
|
"gux-month-calendar": LocalJSX.GuxMonthCalendar & JSXBase.HTMLAttributes<HTMLGuxMonthCalendarElement>;
|
3387
3414
|
"gux-month-list": LocalJSX.GuxMonthList & JSXBase.HTMLAttributes<HTMLGuxMonthListElement>;
|
3388
3415
|
"gux-month-list-item": LocalJSX.GuxMonthListItem & JSXBase.HTMLAttributes<HTMLGuxMonthListItemElement>;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.0.0-beta.
|
1
|
+
export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.0.0-beta.47-70/genesys-webcomponents/";
|
2
2
|
export declare function registerElements(): void;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "genesys-spark-components",
|
3
|
-
"version": "4.0.0-beta.
|
3
|
+
"version": "4.0.0-beta.47",
|
4
4
|
"description": "Common webcomponents",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "dist/stencil-wrapper.js",
|
@@ -80,7 +80,7 @@
|
|
80
80
|
"@types/sortablejs": "^1.15.3",
|
81
81
|
"@typescript-eslint/eslint-plugin": "^6.7.5",
|
82
82
|
"@typescript-eslint/parser": "^6.7.5",
|
83
|
-
"axe-core": "4.
|
83
|
+
"axe-core": "^4.8.2",
|
84
84
|
"axe-live": "^1.0.1",
|
85
85
|
"eslint": "^8.51.0",
|
86
86
|
"eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,c as e,h as n,g as o}from"./p-deca7631.js";import{t as i}from"./p-bc1ec126.js";import{b as r}from"./p-2ba7be7a.js";import{a}from"./p-37bfd195.js";import"./p-0962dd7a.js";const s={eraseBtnAria:"Clear search text",navigateNextBtn:"Highlight next match",navigatePreviousBtn:"Highlight previous match",totalMatches:"{currentMatch, number} of {matchCount, number}",clear:"Clear"},u=class{constructor(n){t(this,n),this.guxcurrentmatchchanged=e(this,"guxcurrentmatchchanged",7),this.matchCount=0,this.currentMatch=0,this.disabled=void 0,this.value=void 0}async clear(){this.disabled||(this.matchCount=0,this.currentMatch=0,this.value="",this.resetInputSlottedElement(),this.emitCurrentMatchChanged(),this.inputSlottedElement.focus())}async componentWillLoad(){i(this.root),this.i18n=await r(this.root,s),this.inputSlottedElement=this.root.querySelector("input"),this.disabled=this.inputSlottedElement.disabled,this.value=this.inputSlottedElement.value,this.disabledObserver=a(this.inputSlottedElement,(t=>{this.disabled=t})),this.inputSlottedElement.addEventListener("input",(t=>this.onInput(t)))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return n("div",{class:{"gux-content-search":!0,"gux-disabled":this.disabled}},n("div",{class:"gux-search-icon"},n("gux-icon",{decorative:!0,"icon-name":"search"})),n("slot",null),this.getNavigationPanel())}getNavigationPanel(){if(this.showNavigationPanel()){const t=this.disableNavigationPanel();return n("div",{class:"gux-content-control-panel"},n("div",{class:{"gux-navigation-panel":!0,"gux-navigation-disabled":t}},n("span",{class:{"gux-navigation-result":!0,"gux-navigation-result-disabled":t}},this.matchCountResult()),n("div",{class:"gux-navigation-buttons"},n("button",{type:"button",class:"gux-previous-button",title:this.i18n("navigatePreviousBtn"),"aria-label":this.i18n("navigatePreviousBtn"),onClick:()=>this.previousClick(),disabled:t},n("gux-icon",{decorative:!0,"icon-name":"arrow-solid-up"})),n("button",{type:"button",class:"gux-next-button",title:this.i18n("navigateNextBtn"),"aria-label":this.i18n("navigateNextBtn"),onClick:()=>this.nextClick(),disabled:t},n("gux-icon",{decorative:!0,"icon-name":"arrow-solid-down"}))),n("div",{class:"gux-navigation-divider"})),n("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.i18n("clear"),onClick:()=>{this.clear()}},n("gux-icon",{"icon-name":"close",decorative:!0})))}return null}matchCountResult(){return this.i18n("totalMatches",{currentMatch:this.getNormalizedCurrentMatch(),matchCount:this.getNormalizedMatchCount()})}showNavigationPanel(){return""!==this.value}disableNavigationPanel(){return this.disabled||this.getNormalizedMatchCount()<=0}getNormalizedMatchCount(){return this.matchCount&&Number.isInteger(this.matchCount)&&this.matchCount>=0?Number(this.matchCount):0}getNormalizedCurrentMatch(){return this.currentMatch&&Number.isInteger(this.currentMatch)&&this.currentMatch>=0&&this.currentMatch<=this.getNormalizedMatchCount()&&this.getNormalizedMatchCount()>0?Number(this.currentMatch):0}resetInputSlottedElement(){this.inputSlottedElement.value="",this.inputSlottedElement.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0})),this.inputSlottedElement.dispatchEvent(new InputEvent("change",{bubbles:!0}))}nextClick(){this.disableNavigationPanel()||(this.currentMatch=this.getNormalizedCurrentMatch()===this.getNormalizedMatchCount()?1:this.getNormalizedCurrentMatch()+1,this.emitCurrentMatchChanged())}previousClick(){this.disableNavigationPanel()||(this.currentMatch=1===this.getNormalizedCurrentMatch()||0===this.getNormalizedCurrentMatch()?this.getNormalizedMatchCount():this.getNormalizedCurrentMatch()-1,this.emitCurrentMatchChanged())}onInput(t){this.value=t.target.value}emitCurrentMatchChanged(){this.guxcurrentmatchchanged.emit(this.getNormalizedCurrentMatch())}get root(){return o(this)}};u.style=":host{display:inline-block;width:300px;min-width:300px}::slotted(input){box-sizing:border-box;flex-basis:100%;flex-shrink:1;width:100%;font-family:var(--gse-ui-search-counter-text-fontFamily);font-size:var(--gse-ui-search-counter-text-fontSize);font-weight:var(--gse-ui-search-counter-text-fontWeight);line-height:var(--gse-ui-search-counter-text-lineHeight);background-image:none;border:0;border-radius:0;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}::slotted(input).gux-focused,::slotted(input):focus,::slotted(input):focus-visible{border:0;outline:none;box-shadow:none}.gux-content-search{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-formControl-input-gap);width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-textarea-padding);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-content-search.gux-disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search:focus-visible,.gux-content-search:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}.gux-content-search:not(:disabled):hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-content-search .gux-search-icon{display:flex;flex-shrink:0;align-items:center}.gux-content-search .gux-search-icon:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-search-icon gux-icon{width:var(--gse-ui-search-counter-icon-width);height:var(--gse-ui-search-counter-icon-height);color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-content-search .gux-content-control-panel{box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;gap:var(--gse-ui-formControl-input-gap);align-content:center;align-items:center;justify-content:flex-end;padding:0}.gux-content-search .gux-content-control-panel gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}.gux-content-search .gux-content-control-panel button{display:block;align-items:center;overflow:hidden;color:var(--gse-ui-search-counter-default-foregroundColor);cursor:pointer;background:none;border:none;border-radius:var(--gse-ui-button-borderRadius);outline:none}.gux-content-search .gux-content-control-panel button:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel button:not(:disabled):hover,.gux-content-search .gux-content-control-panel button:not(:disabled):focus-visible{color:var(--gse-ui-search-counter-hover-foregroundColor)}.gux-content-search .gux-content-control-panel button:not(.gux-clear-button):focus-visible:enabled{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-content-search .gux-content-control-panel button.gux-clear-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0}.gux-content-search .gux-content-control-panel button.gux-clear-button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}.gux-content-search .gux-content-control-panel .gux-navigation-disabled{pointer-events:auto;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel .gux-navigation-panel{display:flex;gap:var(--gse-ui-search-counter-gap)}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-divider{width:1px;height:16px;background-color:#c6c8ce;border:1px var(--gse-ui-search-counter-divider-border-style) var(--gse-ui-search-counter-divider-border-color)}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-buttons{display:flex;flex-direction:row}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-result{align-items:center;white-space:nowrap}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-previous-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-next-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0}";export{u as gux_content_search}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,h as o,H as t,g as r}from"./p-deca7631.js";import{c as i,o as s}from"./p-16f3da0d.js";import{O as a}from"./p-d6edbaeb.js";import{p as l}from"./p-28f55159.js";import{h as C}from"./p-324b23f3.js";import{G as g,a as n,g as d,v as h}from"./p-e5766b80.js";import{t as c}from"./p-bc1ec126.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const u=class{constructor(o){e(this,o),this.disabled=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help"),c(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},o("div",{class:"gux-form-field-container"},o("div",{class:"gux-input-label"},o("div",{class:"gux-input"},o("slot",{name:"input",onSlotchange:()=>this.setInput()})),o("div",{class:"gux-label"},o("slot",{name:"label"}),o(g,{show:this.hasError},o("slot",{name:"error"})),o(n,{show:!this.hasError&&this.hasHelp},o("slot",{name:"help"}))))))}setInput(){this.input=d(this.root,'input[type="checkbox"][slot="input"]'),l(this.input),this.disabled=i(this.input),this.disabledObserver=s(this.input,(e=>{this.disabled=e})),h(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var i,s=arguments.length,a=s<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(s<3?i(a):s>3?i(o,t,a):i(o,t))||a);s>3&&a&&Object.defineProperty(o,t,a)})([a({childList:!0,subtree:!0})],u.prototype,"onMutation",null),u.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked))::before{background:var(--gse-ui-checkbox-icon-error-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\")}:host(.gux-input-error) ::slotted(input[type=checkbox]:checked)::before{background:var(--gse-ui-checkbox-icon-error-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\")}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background:var(--gse-ui-checkbox-icon-error-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\")}:host(.gux-input-error) ::slotted(input[type=checkbox]:indeterminate)::before{background:var(--gse-ui-checkbox-icon-error-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\")}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:flex;flex-direction:row;gap:var(--gse-ui-checkbox-gap)}.gux-input-label .gux-label{display:flex;flex-direction:column}::slotted(input[type=checkbox]){display:inline-grid;width:var(--gse-ui-checkbox-icon-width);height:var(--gse-ui-checkbox-icon-height);text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type=checkbox])::before{grid-area:1/1;content:\"\";border-radius:15%}::slotted(input[type=checkbox]:focus-visible){border-radius:2px;outline:var(--gse-ui-checkbox-focus-border-width) var(--gse-ui-checkbox-focus-border-style) var(--gse-ui-checkbox-focus-border-color);outline-offset:var(--gse-ui-checkbox-focus-offset)}::slotted(input[type=checkbox]:not(:checked))::before{background:var(--gse-ui-checkbox-icon-default-unselectedForegroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background:var(--gse-ui-checkbox-icon-hover-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:checked:not(:disabled):hover){background:var(--gse-ui-checkbox-icon-hover-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:not(:disabled):indeterminate:hover){background:var(--gse-ui-checkbox-icon-hover-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:checked)::before{background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:indeterminate)::before{background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-checkbox-label-text-fontFamily);font-size:12px;font-weight:var(--gse-ui-checkbox-label-text-fontWeight);line-height:var(--gse-ui-checkbox-label-text-lineHeight);color:var(--gse-ui-checkbox-label-foregroundColor);vertical-align:middle}";export{u as gux_form_field_checkbox}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,c as e,h as s,H as i,g as o}from"./p-deca7631.js";import{s as r,c as a,a as n,b as h,h as u,d,e as l,f as c,i as g,j as m,o as p}from"./p-71e00140.js";import{b as v}from"./p-2ba7be7a.js";import{w as b}from"./p-8b703092.js";import{s as x}from"./p-373c5d93.js";import{t as f}from"./p-bc1ec126.js";import{b as w}from"./p-ffaadf62.js";import"./p-0962dd7a.js";const y={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},S=class{constructor(s){t(this,s),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.emptyMessage=void 0,this.listboxOptions=[],this.allListboxOptionsFiltered=void 0,this.hasExactMatch=!1}onFocus(){r(this.root)}onBlur(){a(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var e;switch(t.key){case"Enter":return t.preventDefault(),void((null===(e=this.optionCreateElement)||void 0===e?void 0:e.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),w((()=>{r(this.root)}))):g(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(l(this.root)?(t.stopPropagation(),c(this.root)):h(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):n(this.root));case"Home":return t.preventDefault(),void h(this.root);case"End":return t.preventDefault(),void n(this.root);case" ":return void t.preventDefault()}1!==t.key.length||m(this.root,t.key)}onKeyup(t){var e;" "!==t.key||((null===(e=this.optionCreateElement)||void 0===e?void 0:e.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),w((()=>{r(this.root)}))):g(this.root,(t=>this.updateValue(t))))}onMousemove(){a(this.root)}onClick(t){b("gux-option-multi",t,(t=>{p(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){g(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((e=>{var s,i;(null===(i=null===(s=e.textContent)||void 0===s?void 0:s.toLowerCase())||void 0===i?void 0:i.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return this.value?this.value.split(","):[]}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions(),r(this.root)}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&(t.filtered=!t.textContent.toLowerCase().startsWith(this.textInput.toLowerCase()))}))}updateValue(t){if(this.getSelectedValues().includes(t))this.value=this.getSelectedValues().filter((e=>e!==t)).join(",");else{const e=[...this.getSelectedValues(),t];this.value=e.join(",")}x(this.root,"input"),x(this.root,"change")}async componentWillLoad(){f(this.root),this.i18n=await v(this.root,y),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return s("div",{hidden:!0},s("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[s("div",{class:"gux-message-container"},s("gux-radial-loading",{context:"modal"}),s("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[s("div",{class:"gux-message-container"},s("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return s("slot",{name:"create"})}render(){return this.loading?this.renderLoading():s(i,{role:"listbox","aria-multiselectable":"true",tabindex:0},s("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};S.style=":host{box-sizing:border-box;display:block;max-height:20rem;padding:var(--gse-ui-menu-padding);overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);outline:none;box-shadow:var(--gse-ui-menu-boxShadow-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color);scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor)}:host(:focus-visible){outline:var(--gse-semantic-focusRing-width) solid var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}.gux-message-container .gux-no-matches{box-sizing:border-box;height:var(--gse-ui-menu-option-height);font-family:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontFamily);font-size:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontSize);font-weight:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontWeight);line-height:var(--gse-ui-dropdown-menu-emptyState-subheader-text-lineHeight);color:var(--gse-ui-dropdown-menu-emptyState-subheader-foregroundColor)}";export{S as gux_listbox_multi}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,c as s,h as e,g as o}from"./p-deca7631.js";import{b as l}from"./p-2ba7be7a.js";import{r as a}from"./p-3ea0d493.js";import{t as i}from"./p-408d5857.js";import"./p-0962dd7a.js";const r=class{constructor(e){t(this,e),this.internalallrowselectchange=s(this,"internalallrowselectchange",7),this.id=a("gux-all-row-select"),this.selected=!1}onCheck(t){t.stopPropagation(),this.internalallrowselectchange.emit(this.inputElement.checked)}async setIndeterminate(t=!0){this.inputElement.indeterminate=t}async componentWillLoad(){this.i18n=await l(this.root,i,"gux-table")}render(){return e("gux-form-field-checkbox",null,e("input",{ref:t=>this.inputElement=t,slot:"input",id:this.id,type:"checkbox",checked:this.selected}),e("label",{slot:"label",htmlFor:this.id},"",e("span",{class:"gux-label-text"},this.i18n("selectAllTableRows"))))}get root(){return o(this)}};r.style=":host .gux-label-text{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{r as gux_all_row_select}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,c as s,h as i,H as h,g as a}from"./p-deca7631.js";import{t as e}from"./p-bc1ec126.js";const c=class{constructor(i){t(this,i),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.activeTab=void 0,this.orientation="horizontal",this.alignment="left",this.useFlexbox=!1,this.tabList=void 0,this.tabPanels=[]}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,i){this.activeTab=t||i[0].tabId,s.guxSetActive(this.activeTab),i.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){e(this.root)}render(){return i(h,{class:{"gux-flex":this.useFlexbox}},i("div",{class:`gux-tabs gux-${this.alignment} gux-${this.orientation}`},i("slot",{name:"tab-list"}),i("div",{class:`gux-${this.alignment} gux-${this.orientation} gux-panel-container`},i("slot",{onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return a(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};c.style=":host(.gux-flex){display:flex;flex-direction:column}:host(.gux-flex) .gux-tabs{display:flex;flex-direction:column;height:100%}:host(.gux-flex) .gux-panel-container{display:flex;flex-direction:column;height:100%}.gux-tabs.gux-vertical{display:flex;height:100%}";export{c as gux_tabs}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,c as s,h as e,g as o}from"./p-deca7631.js";import{b as i}from"./p-2ba7be7a.js";import{r as a}from"./p-3ea0d493.js";import{t as l}from"./p-408d5857.js";import"./p-0962dd7a.js";const r=class{constructor(e){t(this,e),this.internalrowselectchange=s(this,"internalrowselectchange",7),this.id=a("gux-row-select"),this.selected=!1,this.disabled=void 0}onCheck(t){t.stopPropagation(),this.internalrowselectchange.emit(this.inputElement.checked)}async componentWillLoad(){this.i18n=await i(this.root,l,"gux-table")}render(){return e("gux-form-field-checkbox",null,e("input",{ref:t=>this.inputElement=t,slot:"input",id:this.id,type:"checkbox",checked:this.selected,disabled:this.disabled}),e("label",{slot:"label",htmlFor:this.id},"",e("span",{class:"gux-label-text"},this.i18n("selectTableRow"))))}get root(){return o(this)}};r.style=":host .gux-label-text{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{r as gux_row_select}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,h as o,g as s}from"./p-deca7631.js";import{t as e}from"./p-bc1ec126.js";const r=class{constructor(o){t(this,o)}componentWillLoad(){e(this.root)}render(){return o("span",{class:"gux-sr-only"},o("slot",null))}get root(){return s(this)}};r.style=".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}";export{r as gux_screen_reader_beta}
|