genesys-cloud-client-auth 1.0.0-develop.6 → 1.0.0-release.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -459
- package/dist/assets/_commonjsHelpers-c9e3b764-Cg_zQLRJ.js +1 -0
- package/dist/assets/after-next-render-07a41f53-C_KTwidI.js +1 -0
- package/dist/assets/browser-ponyfill-BV2ki90r.js +2 -0
- package/dist/assets/capitalize-first-letter-404638dd-DDlMtXXu.js +1 -0
- package/dist/assets/clamp-1fc36648-DnrAwabn.js +1 -0
- package/dist/assets/en-1f9d79e6-D5hlE5o5.js +1 -0
- package/dist/assets/en-25a315a0-C7J6_avI.js +1 -0
- package/dist/assets/en-abdadc27-BNKVS-iZ.js +1 -0
- package/dist/assets/en-bf740e9b-BzgaeZ-2.js +1 -0
- package/dist/assets/event-is-from-60a4bc72-BUOfvQpd.js +1 -0
- package/dist/assets/find-element-by-id-d0ce6208-DntMpzyb.js +1 -0
- package/dist/assets/floating-ui.dom.esm-17bec7ce-CxvcWuX2.js +1 -0
- package/dist/assets/focus-input-element-8a137b12-hXwZ4F3C.js +1 -0
- package/dist/assets/get-closest-element-728b9f18-C_5KDHD-.js +1 -0
- package/dist/assets/get-closest-element-7b2f7d5b-kuMVup89.js +1 -0
- package/dist/assets/get-slot-41f866aa-DJNt4BpD.js +1 -0
- package/dist/assets/get-slot-text-content-95a85429-DTSoMW52.js +1 -0
- package/dist/assets/get-valid-timezone-3bde2dae-BFRWJz7Q.js +1 -0
- package/dist/assets/gux-accordion-section.entry-jbdbmuX_.js +1 -0
- package/dist/assets/gux-accordion.entry-ClKYUH6r.js +1 -0
- package/dist/assets/gux-action-button.entry-Co04Z0OV.js +1 -0
- package/dist/assets/gux-action-toast-legacy.entry-BZZz3CuU.js +1 -0
- package/dist/assets/gux-advanced-dropdown-legacy.entry-Cw6SQUDA.js +1 -0
- package/dist/assets/gux-all-row-select.entry-Ce72rVHx.js +1 -0
- package/dist/assets/gux-announce-beta.entry-0-IPzB8z.js +1 -0
- package/dist/assets/gux-avatar-beta.entry-D7eNcgqk.js +1 -0
- package/dist/assets/gux-avatar-change-photo-beta.entry-CdbjnSh2.js +1 -0
- package/dist/assets/gux-avatar-focusable-beta.entry-C-N-FSgY.js +1 -0
- package/dist/assets/gux-avatar-group-add-item-beta_3.entry-DovXgXMY.js +1 -0
- package/dist/assets/gux-avatar-group-beta.entry-C-IcLXpk.js +1 -0
- package/dist/assets/gux-avatar-group-item-beta.entry-CaxTOEY_.js +1 -0
- package/dist/assets/gux-avatar-group.service-0e62fde4-Bkuc2736.js +1 -0
- package/dist/assets/gux-avatar.service-43c1b4e1-EzKA_VVN.js +1 -0
- package/dist/assets/gux-badge.entry-Cn9m8u98.js +1 -0
- package/dist/assets/gux-blank-state.entry-BpvRIMLX.js +65 -0
- package/dist/assets/gux-breadcrumb-item.entry-Ca_9aDAs.js +1 -0
- package/dist/assets/gux-breadcrumbs.entry-C_roghwh.js +1 -0
- package/dist/assets/gux-button-multi.entry-CBr3g1_V.js +1 -0
- package/dist/assets/gux-button-slot.entry-WiCUBCa6.js +1 -0
- package/dist/assets/gux-button_2.entry-C9uy7zui.js +1 -0
- package/dist/assets/gux-calendar-beta.entry-Bqerz9AU.js +4 -0
- package/dist/assets/gux-calendar.entry-B62CdDSA.js +1 -0
- package/dist/assets/gux-card.entry-L6pDaqgo.js +1 -0
- package/dist/assets/gux-column-manager-item.entry-gcrXPu9C.js +1 -0
- package/dist/assets/gux-column-manager.entry-BWdhUqSz.js +1 -0
- package/dist/assets/gux-column-manager.service-90a02975-GGjVHfbH.js +1 -0
- package/dist/assets/gux-content-search.entry-Bk320YeT.js +1 -0
- package/dist/assets/gux-context-menu.entry-sV-Bg8Mm.js +1 -0
- package/dist/assets/gux-copy-to-clipboard.entry-D4z3pxQw.js +1 -0
- package/dist/assets/gux-create-option.entry-B_Vv8g0K.js +1 -0
- package/dist/assets/gux-cta-group.entry-BrnioXQs.js +1 -0
- package/dist/assets/gux-date-beta.entry-lwFmRCvN.js +1 -0
- package/dist/assets/gux-date-time-beta.entry-HNedVv5e.js +1 -0
- package/dist/assets/gux-datepicker.entry-Cr-qDrmu.js +1 -0
- package/dist/assets/gux-day-beta.entry-CW80EHbX.js +1 -0
- package/dist/assets/gux-disclosure-button-legacy.entry-G2Tlcri7.js +1 -0
- package/dist/assets/gux-dismiss-button.entry-DchQFWKl.js +1 -0
- package/dist/assets/gux-dropdown-multi-tag.entry-Cc9VNZOZ.js +1 -0
- package/dist/assets/gux-dropdown-multi.entry-DjZKxJal.js +1 -0
- package/dist/assets/gux-dropdown-option.entry-CZDjtkrF.js +1 -0
- package/dist/assets/gux-dropdown_3.entry-CKiZXOT7.js +1 -0
- package/dist/assets/gux-file-list-item.entry-Dp9PwoBM.js +5 -0
- package/dist/assets/gux-flag-icon-beta.entry-BTUoPqVd.js +1 -0
- package/dist/assets/gux-flyout-menu.entry-DqSGjmSN.js +1 -0
- package/dist/assets/gux-form-beta.entry-C990wv4b.js +1 -0
- package/dist/assets/gux-form-description.entry-SptrEE0d.js +1 -0
- package/dist/assets/gux-form-field-checkbox-group-beta.entry-CCZf0hdH.js +1 -0
- package/dist/assets/gux-form-field-checkbox.entry-DFJSjM7x.js +1 -0
- package/dist/assets/gux-form-field-color.entry-dM32AJCZ.js +1 -0
- package/dist/assets/gux-form-field-container-3dd7c6ff-CbHwJYu_.js +1 -0
- package/dist/assets/gux-form-field-dropdown.entry-qCBeETvx.js +1 -0
- package/dist/assets/gux-form-field-error-acb40a19-CkSp2BAb.js +1 -0
- package/dist/assets/gux-form-field-fieldset-container-6cb3610f-BUiTa12q.js +1 -0
- package/dist/assets/gux-form-field-file-beta.entry-DcnNIHKz.js +1 -0
- package/dist/assets/gux-form-field-file.entry-Dk7BocgF.js +1 -0
- package/dist/assets/gux-form-field-input-clear-button.entry-Dp1QY-09.js +1 -0
- package/dist/assets/gux-form-field-label-indicator.entry-bUtvVW_r.js +1 -0
- package/dist/assets/gux-form-field-number_2.entry-DaVKhHUj.js +1 -0
- package/dist/assets/gux-form-field-phone.entry-DXsintqd.js +1 -0
- package/dist/assets/gux-form-field-radio-group-beta.entry-PbhhpeBG.js +1 -0
- package/dist/assets/gux-form-field-radio.entry-n3Vla1Pu.js +1 -0
- package/dist/assets/gux-form-field-range.entry-C-pjfWNA.js +1 -0
- package/dist/assets/gux-form-field-search.entry-C-bK5ayb.js +1 -0
- package/dist/assets/gux-form-field-select.entry-DQdel3gO.js +1 -0
- package/dist/assets/gux-form-field-text-like.entry-CBFPlQHU.js +1 -0
- package/dist/assets/gux-form-field-textarea.entry-COFKxheF.js +1 -0
- package/dist/assets/gux-form-field-time-picker.entry-CaDEWBkZ.js +1 -0
- package/dist/assets/gux-form-field-time-zone-picker.entry-rl7fBaGA.js +1 -0
- package/dist/assets/gux-form-field.service-173b5dfc-D3T_t5F5.js +1 -0
- package/dist/assets/gux-form-fieldset-heading.entry-Cm0x7EQq.js +1 -0
- package/dist/assets/gux-form-footer.entry-DbhwkP6b.js +1 -0
- package/dist/assets/gux-form-heading.entry-DoUhRicG.js +1 -0
- package/dist/assets/gux-icon-tooltip-beta.entry-DNtzdBoU.js +1 -0
- package/dist/assets/gux-icon.entry-B97smlnI.js +1 -0
- package/dist/assets/gux-inline-alert.entry-DJZxwXFy.js +1 -0
- package/dist/assets/gux-label-info-beta.entry-Bi2PlCDo.js +1 -0
- package/dist/assets/gux-link-beta.entry-BI2qsXNR.js +1 -0
- package/dist/assets/gux-list-divider.entry-BHrFeHB6.js +1 -0
- package/dist/assets/gux-list-item.entry-DRUfS0q6.js +1 -0
- package/dist/assets/gux-list.entry-D9KN4yJ5.js +1 -0
- package/dist/assets/gux-list.service-5da368db-BTJJSzQi.js +1 -0
- package/dist/assets/gux-listbox-multi.entry-6t0q-9T1.js +1 -0
- package/dist/assets/gux-listbox.service-1b2f1a6e-CG-s36UI.js +1 -0
- package/dist/assets/gux-loading-message.entry-D1ze4_H5.js +66 -0
- package/dist/assets/gux-menu-option.entry-BxQFHxSk.js +1 -0
- package/dist/assets/gux-menu.common-b2a4d472-CSLYc6Td.js +1 -0
- package/dist/assets/gux-menu.entry-B-osnTh0.js +1 -0
- package/dist/assets/gux-modal-legacy.entry-DstohKCK.js +1 -0
- package/dist/assets/gux-modal-side-panel-beta.entry-C9FvyVTE.js +1 -0
- package/dist/assets/gux-modal.entry-srOdsW8Q.js +1 -0
- package/dist/assets/gux-month-calendar.entry-BeuXd1Lv.js +1 -0
- package/dist/assets/gux-month-list_2.entry-CYygxLTh.js +1 -0
- package/dist/assets/gux-month-picker-beta.entry-DOJMMNNx.js +1 -0
- package/dist/assets/gux-notification-toast-legacy.entry-dxK7iMAC.js +1 -0
- package/dist/assets/gux-option-group-beta.entry-BUy0S9Yx.js +1 -0
- package/dist/assets/gux-option-icon.entry-Bn-fNLNn.js +1 -0
- package/dist/assets/gux-option-multi.entry-Bu-QHc6m.js +1 -0
- package/dist/assets/gux-page-loading-spinner.entry-DMtT-DYz.js +1 -0
- package/dist/assets/gux-pagination-buttons-legacy_3.entry-CuYkOJdn.js +1 -0
- package/dist/assets/gux-pagination-buttons_2.entry-DmbE78vc.js +1 -0
- package/dist/assets/gux-pagination-cursor.entry-BTAFd0O2.js +1 -0
- package/dist/assets/gux-pagination-items-per-page.entry-DvwN5uz6.js +1 -0
- package/dist/assets/gux-pagination-legacy.entry-CBCQXwVe.js +1 -0
- package/dist/assets/gux-pagination.entry-IX-ErtEu.js +1 -0
- package/dist/assets/gux-phone-input-beta.entry-CjYWM42M.js +7 -0
- package/dist/assets/gux-popover-beta.entry-DAvQpLoO.js +1 -0
- package/dist/assets/gux-popover-list-beta.entry-D4i4pSCR.js +1 -0
- package/dist/assets/gux-popover-list.entry-B6Kj5sN5.js +1 -0
- package/dist/assets/gux-popup.entry-BHYs6DQm.js +1 -0
- package/dist/assets/gux-radial-loading.entry-CG8hkP1l.js +1 -0
- package/dist/assets/gux-radial-progress.entry-Bne8tE1g.js +1 -0
- package/dist/assets/gux-rating.entry--bhU3vZ-.js +1 -0
- package/dist/assets/gux-rich-highlight-list-item.entry-CSqOpcBg.js +1 -0
- package/dist/assets/gux-rich-style-list-item_3.entry-CZq1B1uh.js +1 -0
- package/dist/assets/gux-rich-text-editor-action-group.entry-DpooAfXe.js +1 -0
- package/dist/assets/gux-rich-text-editor-action-link.entry-BEOpCIyh.js +1 -0
- package/dist/assets/gux-rich-text-editor-action-rich-style.entry-rwzf60gc.js +1 -0
- package/dist/assets/gux-rich-text-editor-action-text-highlight.entry-BaiCEtST.js +1 -0
- package/dist/assets/gux-rich-text-editor-action.entry-wBuqVeIv.js +1 -0
- package/dist/assets/gux-rich-text-editor-beta.entry-Cw_BO3yc.js +1 -0
- package/dist/assets/gux-rich-text-editor-list.entry-CdJ7d-sN.js +1 -0
- package/dist/assets/gux-rich-text-editor.service-dcce5e51-BQ3X9qeR.js +1 -0
- package/dist/assets/gux-row-select.entry-DNQoUPfo.js +1 -0
- package/dist/assets/gux-screen-reader-beta.entry-CIizYbtx.js +1 -0
- package/dist/assets/gux-segmented-control-beta.entry-Lg-TCK-1.js +1 -0
- package/dist/assets/gux-segmented-control-item.entry-DDTIGwB3.js +1 -0
- package/dist/assets/gux-selector-card-beta.entry-df35Lfih.js +1 -0
- package/dist/assets/gux-selector-cards-beta.entry-HqqnLkUG.js +1 -0
- package/dist/assets/gux-side-panel-beta.entry-BUo5l_ej.js +1 -0
- package/dist/assets/gux-side-panel-heading.entry-NHumDrZj.js +1 -0
- package/dist/assets/gux-simple-toast-legacy.entry-BOuwoL-n.js +1 -0
- package/dist/assets/gux-skip-navigation-item.entry-DdXOJO27.js +1 -0
- package/dist/assets/gux-skip-navigation-list.entry-CuUU-ew0.js +1 -0
- package/dist/assets/gux-sort-control.entry-CbDxt8g0.js +1 -0
- package/dist/assets/gux-submenu.entry-BIlJzQjJ.js +1 -0
- package/dist/assets/gux-switch-item.entry-Cgtmox8R.js +1 -0
- package/dist/assets/gux-switch-legacy.entry-DsGOmtPe.js +1 -0
- package/dist/assets/gux-tab-advanced-list.entry-BtLAOPFJ.js +6 -0
- package/dist/assets/gux-tab-advanced-panel.entry-DIpz0Cfq.js +1 -0
- package/dist/assets/gux-tab-advanced.entry-BJITyN8b.js +1 -0
- package/dist/assets/gux-tab-list.entry-C7TvqKuP.js +1 -0
- package/dist/assets/gux-tab-panel.entry-C2d5THOw.js +1 -0
- package/dist/assets/gux-tab.entry-C4cHFqyb.js +1 -0
- package/dist/assets/gux-table-select-menu.entry-B0sGVIcE.js +1 -0
- package/dist/assets/gux-table-toolbar-action.entry-6BqIINZe.js +1 -0
- package/dist/assets/gux-table-toolbar-custom-action.entry-kKhiKsjX.js +1 -0
- package/dist/assets/gux-table-toolbar-menu-button.entry-CRgm9k5e.js +1 -0
- package/dist/assets/gux-table-toolbar.entry-Ba-W7m77.js +1 -0
- package/dist/assets/gux-table.entry-Du_lBgt-.js +4 -0
- package/dist/assets/gux-tabs-advanced.entry-spkmmAd3.js +1 -0
- package/dist/assets/gux-tabs.entry-BEULiyba.js +1 -0
- package/dist/assets/gux-tag.entry-BqkYTi8D.js +1 -0
- package/dist/assets/gux-text-highlight.entry-DOOZoYpX.js +1 -0
- package/dist/assets/gux-time-beta.entry-Ch9EsUkg.js +1 -0
- package/dist/assets/gux-time-picker.entry-Cq4RImXx.js +1 -0
- package/dist/assets/gux-time-zone-beta.entry-De8gNsNd.js +1 -0
- package/dist/assets/gux-time-zone-picker-beta.entry-Bqx6c6Qf.js +1 -0
- package/dist/assets/gux-toast.entry-F3efkRwy.js +1 -0
- package/dist/assets/gux-toggle-slider.entry-DcoVYfs5.js +1 -0
- package/dist/assets/gux-toggle.entry-Cu3eAfan.js +1 -0
- package/dist/assets/gux-tooltip-base-beta_2.entry-1gOdb2cF.js +1 -0
- package/dist/assets/gux-tooltip-pointer-beta.entry-D-hRxe26.js +1 -0
- package/dist/assets/gux-tooltip-title.entry-DjR4NFSD.js +1 -0
- package/dist/assets/gux-tooltip_2.entry-CKPibHyg.js +1 -0
- package/dist/assets/has-slot-f24a46a6-D7GdaS0G.js +1 -0
- package/dist/assets/index-4f1356d9-DSfDpFAA.js +3 -0
- package/dist/assets/index-CGOI1bSc.css +1 -0
- package/dist/assets/index-CWixJ8vL.js +53 -0
- package/dist/assets/index.umd-c0335c3a-dA6NRMYB.js +7 -0
- package/dist/assets/intl-93dbfa3b-BWr_j3mE.js +1 -0
- package/dist/assets/iso-dates-c6c7180d-MS_uLuKn.js +1 -0
- package/dist/assets/log-error-274efeb7-BpRSdGLj.js +1 -0
- package/dist/assets/on-attribute-change-33919964-C8j0fVsi.js +1 -0
- package/dist/assets/on-click-outside-6c2e399b-BC2t0a8o.js +1 -0
- package/dist/assets/on-input-disabled-state-change-27395154-_B452ZSd.js +1 -0
- package/dist/assets/on-mutation-751e68e4-BRlz63Dw.js +1 -0
- package/dist/assets/on-mutation-a222fe93-BUuUxYmY.js +1 -0
- package/dist/assets/on-resize-c9d0d33c-RQFUwEyO.js +1 -0
- package/dist/assets/overflow-detection-7e4fbf13-BN_H74hs.js +1 -0
- package/dist/assets/prevent-browser-validation-styling-3983eb0a-8P9I4Sy5.js +1 -0
- package/dist/assets/random-html-id-81ac821b-D30kRngR.js +1 -0
- package/dist/assets/simulate-native-event-e0631897-BcLDngo1.js +1 -0
- package/dist/assets/time-zone-b2752992-DBIrkcHc.js +1 -0
- package/dist/assets/usage-36c49ec0-Dlq6IjQJ.js +1 -0
- package/dist/assets/use-regional-dates-20f9c0e5-C5bTvd2o.js +1 -0
- package/dist/assets/when-event-is-from-2aac15f0-B4cyA2sH.js +1 -0
- package/dist/assets/year-month-values-7461d213-BGOpTfvI.js +1 -0
- package/dist/deploy-info.json +5 -9
- package/dist/genesys-cloud-client-auth.browser.min.js +1 -1
- package/dist/genesys-cloud-client-auth.browser.min.js.map +1 -1
- package/dist/i18n/ar.json +8 -8
- package/dist/i18n/cs.json +8 -8
- package/dist/i18n/da.json +10 -0
- package/dist/i18n/de.json +8 -8
- package/dist/i18n/en-us.json +8 -8
- package/dist/i18n/es.json +8 -8
- package/dist/i18n/fi.json +10 -0
- package/dist/i18n/fr.json +8 -8
- package/dist/i18n/he.json +8 -8
- package/dist/i18n/hi.json +2 -0
- package/dist/i18n/it.json +8 -8
- package/dist/i18n/ja.json +8 -8
- package/dist/i18n/ko.json +8 -8
- package/dist/i18n/nl.json +8 -8
- package/dist/i18n/no.json +8 -8
- package/dist/i18n/pl.json +8 -8
- package/dist/i18n/pt-br.json +8 -8
- package/dist/i18n/pt-pt.json +9 -1
- package/dist/i18n/ru.json +8 -8
- package/dist/i18n/sv.json +8 -8
- package/dist/i18n/th.json +8 -8
- package/dist/i18n/tr.json +8 -8
- package/dist/i18n/uk.json +10 -0
- package/dist/i18n/zh-cn.json +8 -8
- package/dist/i18n/zh-tw.json +8 -8
- package/dist/index.html +14 -1
- package/dist/lib/cjs/authenticator.d.ts +2 -1
- package/dist/lib/cjs/authenticator.js +13 -6
- package/dist/lib/cjs/authenticator.js.map +1 -1
- package/dist/lib/cjs/index.js.map +1 -1
- package/dist/lib/cjs/parse-redirect.js +5 -5
- package/dist/lib/cjs/parse-redirect.js.map +1 -1
- package/dist/lib/cjs/types.d.ts +5 -1
- package/dist/lib/cjs/utils.d.ts +1 -1
- package/dist/lib/cjs/utils.js +2 -2
- package/dist/lib/cjs/utils.js.map +1 -1
- package/dist/lib/cjs/version.js +0 -1
- package/dist/lib/cjs/version.js.map +1 -1
- package/dist/lib/es/authenticator.d.ts +2 -1
- package/dist/lib/es/authenticator.js +10 -3
- package/dist/lib/es/authenticator.js.map +1 -1
- package/dist/lib/es/index.js.map +1 -1
- package/dist/lib/es/parse-redirect.js.map +1 -1
- package/dist/lib/es/types.d.ts +5 -1
- package/dist/lib/es/utils.d.ts +1 -1
- package/dist/lib/es/utils.js.map +1 -1
- package/dist/lib/es/version.js +0 -1
- package/dist/lib/es/version.js.map +1 -1
- package/dist/manifest.json +3 -7
- package/dist/v1/genesys-cloud-client-auth.browser.min.js +1 -1
- package/dist/v1.0.0/genesys-cloud-client-auth.browser.min.js +1 -1
- package/dist/vite.svg +1 -0
- package/package.json +72 -73
- package/CHANGELOG.md +0 -16
- package/LICENSE +0 -21
- package/dist/asset-manifest.json +0 -198
- package/dist/favicon.ico +0 -0
- package/dist/robots.txt +0 -3
- package/dist/static/css/main.045d96b0.css +0 -2
- package/dist/static/css/main.045d96b0.css.map +0 -1
- package/dist/static/js/1089.fb722233.chunk.js +0 -2
- package/dist/static/js/1089.fb722233.chunk.js.map +0 -1
- package/dist/static/js/1158.76a41325.chunk.js +0 -2
- package/dist/static/js/1158.76a41325.chunk.js.map +0 -1
- package/dist/static/js/1166.1486fbcd.chunk.js +0 -2
- package/dist/static/js/1166.1486fbcd.chunk.js.map +0 -1
- package/dist/static/js/131.3f61f67c.chunk.js +0 -2
- package/dist/static/js/131.3f61f67c.chunk.js.map +0 -1
- package/dist/static/js/1344.19a70535.chunk.js +0 -2
- package/dist/static/js/1344.19a70535.chunk.js.map +0 -1
- package/dist/static/js/1433.d57f6003.chunk.js +0 -2
- package/dist/static/js/1433.d57f6003.chunk.js.map +0 -1
- package/dist/static/js/1498.98292821.chunk.js +0 -2
- package/dist/static/js/1498.98292821.chunk.js.map +0 -1
- package/dist/static/js/1507.84125ab7.chunk.js +0 -2
- package/dist/static/js/1507.84125ab7.chunk.js.map +0 -1
- package/dist/static/js/1544.fcbc0609.chunk.js +0 -2
- package/dist/static/js/1544.fcbc0609.chunk.js.map +0 -1
- package/dist/static/js/1642.13e001a0.chunk.js +0 -2
- package/dist/static/js/1642.13e001a0.chunk.js.map +0 -1
- package/dist/static/js/1697.c1eba654.chunk.js +0 -2
- package/dist/static/js/1697.c1eba654.chunk.js.map +0 -1
- package/dist/static/js/1718.d222d0d2.chunk.js +0 -2
- package/dist/static/js/1718.d222d0d2.chunk.js.map +0 -1
- package/dist/static/js/1978.b9b0b630.chunk.js +0 -2
- package/dist/static/js/1978.b9b0b630.chunk.js.map +0 -1
- package/dist/static/js/2131.e90e6224.chunk.js +0 -2
- package/dist/static/js/2131.e90e6224.chunk.js.map +0 -1
- package/dist/static/js/2291.98b84fa5.chunk.js +0 -2
- package/dist/static/js/2291.98b84fa5.chunk.js.map +0 -1
- package/dist/static/js/2361.28c72454.chunk.js +0 -2
- package/dist/static/js/2361.28c72454.chunk.js.map +0 -1
- package/dist/static/js/2609.69b7ee3f.chunk.js +0 -2
- package/dist/static/js/2609.69b7ee3f.chunk.js.map +0 -1
- package/dist/static/js/2618.08776cf8.chunk.js +0 -2
- package/dist/static/js/2618.08776cf8.chunk.js.map +0 -1
- package/dist/static/js/2657.08f5fe94.chunk.js +0 -2
- package/dist/static/js/2657.08f5fe94.chunk.js.map +0 -1
- package/dist/static/js/2939.a53af515.chunk.js +0 -2
- package/dist/static/js/2939.a53af515.chunk.js.map +0 -1
- package/dist/static/js/2959.b68475ee.chunk.js +0 -2
- package/dist/static/js/2959.b68475ee.chunk.js.map +0 -1
- package/dist/static/js/3183.0483907e.chunk.js +0 -2
- package/dist/static/js/3183.0483907e.chunk.js.map +0 -1
- package/dist/static/js/3184.b5c03e4a.chunk.js +0 -2
- package/dist/static/js/3184.b5c03e4a.chunk.js.map +0 -1
- package/dist/static/js/3326.58fe8ed8.chunk.js +0 -2
- package/dist/static/js/3326.58fe8ed8.chunk.js.map +0 -1
- package/dist/static/js/3431.330e6907.chunk.js +0 -2
- package/dist/static/js/3431.330e6907.chunk.js.map +0 -1
- package/dist/static/js/3466.d53f9938.chunk.js +0 -2
- package/dist/static/js/3466.d53f9938.chunk.js.map +0 -1
- package/dist/static/js/3534.ee2022f0.chunk.js +0 -2
- package/dist/static/js/3534.ee2022f0.chunk.js.map +0 -1
- package/dist/static/js/3649.47036a0d.chunk.js +0 -2
- package/dist/static/js/3649.47036a0d.chunk.js.map +0 -1
- package/dist/static/js/3821.dbe9ef88.chunk.js +0 -2
- package/dist/static/js/3821.dbe9ef88.chunk.js.map +0 -1
- package/dist/static/js/3982.1668cd90.chunk.js +0 -2
- package/dist/static/js/3982.1668cd90.chunk.js.map +0 -1
- package/dist/static/js/4173.64f75901.chunk.js +0 -2
- package/dist/static/js/4173.64f75901.chunk.js.map +0 -1
- package/dist/static/js/4192.35098ff0.chunk.js +0 -2
- package/dist/static/js/4192.35098ff0.chunk.js.map +0 -1
- package/dist/static/js/4202.6a101f57.chunk.js +0 -2
- package/dist/static/js/4202.6a101f57.chunk.js.map +0 -1
- package/dist/static/js/4242.625e5aa9.chunk.js +0 -2
- package/dist/static/js/4242.625e5aa9.chunk.js.map +0 -1
- package/dist/static/js/4248.d69f59fd.chunk.js +0 -2
- package/dist/static/js/4248.d69f59fd.chunk.js.map +0 -1
- package/dist/static/js/4618.2b652181.chunk.js +0 -2
- package/dist/static/js/4618.2b652181.chunk.js.map +0 -1
- package/dist/static/js/4774.03877b96.chunk.js +0 -2
- package/dist/static/js/4774.03877b96.chunk.js.map +0 -1
- package/dist/static/js/4777.07210d5d.chunk.js +0 -2
- package/dist/static/js/4777.07210d5d.chunk.js.map +0 -1
- package/dist/static/js/4826.f3719274.chunk.js +0 -2
- package/dist/static/js/4826.f3719274.chunk.js.map +0 -1
- package/dist/static/js/501.3f46836b.chunk.js +0 -2
- package/dist/static/js/501.3f46836b.chunk.js.map +0 -1
- package/dist/static/js/5122.046ab4b7.chunk.js +0 -2
- package/dist/static/js/5122.046ab4b7.chunk.js.map +0 -1
- package/dist/static/js/5160.465b3a5d.chunk.js +0 -2
- package/dist/static/js/5160.465b3a5d.chunk.js.map +0 -1
- package/dist/static/js/546.40835589.chunk.js +0 -2
- package/dist/static/js/546.40835589.chunk.js.map +0 -1
- package/dist/static/js/5503.cc3b1fda.chunk.js +0 -2
- package/dist/static/js/5503.cc3b1fda.chunk.js.map +0 -1
- package/dist/static/js/5572.565c5d80.chunk.js +0 -2
- package/dist/static/js/5572.565c5d80.chunk.js.map +0 -1
- package/dist/static/js/599.a5cb72b5.chunk.js +0 -2
- package/dist/static/js/599.a5cb72b5.chunk.js.map +0 -1
- package/dist/static/js/6033.174d7635.chunk.js +0 -2
- package/dist/static/js/6033.174d7635.chunk.js.map +0 -1
- package/dist/static/js/6069.5c81dae7.chunk.js +0 -2
- package/dist/static/js/6069.5c81dae7.chunk.js.map +0 -1
- package/dist/static/js/6151.c5cf5a85.chunk.js +0 -2
- package/dist/static/js/6151.c5cf5a85.chunk.js.map +0 -1
- package/dist/static/js/6237.a9b576a4.chunk.js +0 -2
- package/dist/static/js/6237.a9b576a4.chunk.js.map +0 -1
- package/dist/static/js/6326.156b4248.chunk.js +0 -2
- package/dist/static/js/6326.156b4248.chunk.js.map +0 -1
- package/dist/static/js/6474.03947fd7.chunk.js +0 -2
- package/dist/static/js/6474.03947fd7.chunk.js.map +0 -1
- package/dist/static/js/6571.301eecac.chunk.js +0 -2
- package/dist/static/js/6571.301eecac.chunk.js.map +0 -1
- package/dist/static/js/6632.0676b230.chunk.js +0 -2
- package/dist/static/js/6632.0676b230.chunk.js.map +0 -1
- package/dist/static/js/6769.fcdb896c.chunk.js +0 -2
- package/dist/static/js/6769.fcdb896c.chunk.js.map +0 -1
- package/dist/static/js/6982.60585ab3.chunk.js +0 -2
- package/dist/static/js/6982.60585ab3.chunk.js.map +0 -1
- package/dist/static/js/7076.37939eb2.chunk.js +0 -2
- package/dist/static/js/7076.37939eb2.chunk.js.map +0 -1
- package/dist/static/js/7120.0b0ef311.chunk.js +0 -3
- package/dist/static/js/7120.0b0ef311.chunk.js.LICENSE.txt +0 -6
- package/dist/static/js/7120.0b0ef311.chunk.js.map +0 -1
- package/dist/static/js/7150.840301cb.chunk.js +0 -2
- package/dist/static/js/7150.840301cb.chunk.js.map +0 -1
- package/dist/static/js/7153.250bf93b.chunk.js +0 -2
- package/dist/static/js/7153.250bf93b.chunk.js.map +0 -1
- package/dist/static/js/7307.8656856b.chunk.js +0 -2
- package/dist/static/js/7307.8656856b.chunk.js.map +0 -1
- package/dist/static/js/742.64af67d8.chunk.js +0 -2
- package/dist/static/js/742.64af67d8.chunk.js.map +0 -1
- package/dist/static/js/754.b1c84197.chunk.js +0 -2
- package/dist/static/js/754.b1c84197.chunk.js.map +0 -1
- package/dist/static/js/7610.97a0a5b5.chunk.js +0 -2
- package/dist/static/js/7610.97a0a5b5.chunk.js.map +0 -1
- package/dist/static/js/765.2a78cffe.chunk.js +0 -2
- package/dist/static/js/765.2a78cffe.chunk.js.map +0 -1
- package/dist/static/js/7803.bfe8c40f.chunk.js +0 -2
- package/dist/static/js/7803.bfe8c40f.chunk.js.map +0 -1
- package/dist/static/js/7895.629e8650.chunk.js +0 -2
- package/dist/static/js/7895.629e8650.chunk.js.map +0 -1
- package/dist/static/js/8025.ecb1d6bc.chunk.js +0 -2
- package/dist/static/js/8025.ecb1d6bc.chunk.js.map +0 -1
- package/dist/static/js/8086.ef9f2d3b.chunk.js +0 -2
- package/dist/static/js/8086.ef9f2d3b.chunk.js.map +0 -1
- package/dist/static/js/8105.46b996bf.chunk.js +0 -2
- package/dist/static/js/8105.46b996bf.chunk.js.map +0 -1
- package/dist/static/js/819.a55f578b.chunk.js +0 -2
- package/dist/static/js/819.a55f578b.chunk.js.map +0 -1
- package/dist/static/js/8300.e15dbcd8.chunk.js +0 -2
- package/dist/static/js/8300.e15dbcd8.chunk.js.map +0 -1
- package/dist/static/js/8324.b769efff.chunk.js +0 -2
- package/dist/static/js/8324.b769efff.chunk.js.map +0 -1
- package/dist/static/js/8366.b2c2daee.chunk.js +0 -2
- package/dist/static/js/8366.b2c2daee.chunk.js.map +0 -1
- package/dist/static/js/8524.95396ee8.chunk.js +0 -2
- package/dist/static/js/8524.95396ee8.chunk.js.map +0 -1
- package/dist/static/js/8644.c87452a5.chunk.js +0 -2
- package/dist/static/js/8644.c87452a5.chunk.js.map +0 -1
- package/dist/static/js/8674.d4aa33fd.chunk.js +0 -2
- package/dist/static/js/8674.d4aa33fd.chunk.js.map +0 -1
- package/dist/static/js/8717.76b643a4.chunk.js +0 -2
- package/dist/static/js/8717.76b643a4.chunk.js.map +0 -1
- package/dist/static/js/872.5c96c93a.chunk.js +0 -2
- package/dist/static/js/872.5c96c93a.chunk.js.map +0 -1
- package/dist/static/js/8762.d3fad692.chunk.js +0 -2
- package/dist/static/js/8762.d3fad692.chunk.js.map +0 -1
- package/dist/static/js/8782.af6b6665.chunk.js +0 -3
- package/dist/static/js/8782.af6b6665.chunk.js.LICENSE.txt +0 -14
- package/dist/static/js/8782.af6b6665.chunk.js.map +0 -1
- package/dist/static/js/894.a8fe019e.chunk.js +0 -2
- package/dist/static/js/894.a8fe019e.chunk.js.map +0 -1
- package/dist/static/js/9057.702da8f9.chunk.js +0 -2
- package/dist/static/js/9057.702da8f9.chunk.js.map +0 -1
- package/dist/static/js/9090.60a5cb5b.chunk.js +0 -2
- package/dist/static/js/9090.60a5cb5b.chunk.js.map +0 -1
- package/dist/static/js/9117.200d2100.chunk.js +0 -2
- package/dist/static/js/9117.200d2100.chunk.js.map +0 -1
- package/dist/static/js/9131.d5d0ab82.chunk.js +0 -2
- package/dist/static/js/9131.d5d0ab82.chunk.js.map +0 -1
- package/dist/static/js/9296.e374c7dc.chunk.js +0 -2
- package/dist/static/js/9296.e374c7dc.chunk.js.map +0 -1
- package/dist/static/js/932.4f62c387.chunk.js +0 -2
- package/dist/static/js/932.4f62c387.chunk.js.map +0 -1
- package/dist/static/js/9584.967e5482.chunk.js +0 -2
- package/dist/static/js/9584.967e5482.chunk.js.map +0 -1
- package/dist/static/js/9679.87a204b1.chunk.js +0 -2
- package/dist/static/js/9679.87a204b1.chunk.js.map +0 -1
- package/dist/static/js/9745.63a6678a.chunk.js +0 -2
- package/dist/static/js/9745.63a6678a.chunk.js.map +0 -1
- package/dist/static/js/9750.1310ef55.chunk.js +0 -2
- package/dist/static/js/9750.1310ef55.chunk.js.map +0 -1
- package/dist/static/js/main.03ad9027.js +0 -3
- package/dist/static/js/main.03ad9027.js.LICENSE.txt +0 -43
- package/dist/static/js/main.03ad9027.js.map +0 -1
- package/dist/static/media/getFetch.c780682470504fffbd04.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as u,h as c,g,a as f}from"./index-CWixJ8vL.js";import{t as n}from"./usage-36c49ec0-Dlq6IjQJ.js";import{l as d}from"./log-error-274efeb7-BpRSdGLj.js";const h=["fa/arrow-left-to-line-solid","fa/arrow-right-to-line-solid"],s={"8x8":"custom/8x8","8x8-alt":"custom/8x8-solid",add:"fa/plus-regular","add-circle":"fa/circle-plus-regular",agent:"fa/head-side-headphones-regular","agent-circle":"custom/circle-head-side-headphones-regular","agent-group":"fa/people-group-regular","alert-info":"fa/circle-info-regular","alert-success":"deprecated/fa/circle-check-regular","alert-warning-octogon":"fa/hexagon-exclamation-regular","alert-warning-triangle":"fa/triangle-exclamation-regular",android:"fa/android","app-chart":"fa/square-poll-vertical-regular","app-generic":"fa/browser-regular","app-layout":"fa/table-layout-regular","app-table":"fa/table-regular",apple:"fa/apple",archive:"fa/box-archive-regular","arrow-down":"fa/arrow-down-regular","arrow-down-left":"fa/arrow-down-left-regular","arrow-down-right":"fa/arrow-down-right-regular","arrow-left":"fa/arrow-left-regular","arrow-right":"fa/arrow-right-regular","arrow-solid-down":"fa/caret-down-solid","arrow-solid-left":"fa/caret-left-solid","arrow-solid-right":"fa/caret-right-solid","arrow-solid-up":"fa/caret-up-solid","arrow-up":"fa/arrow-up-regular","arrow-up-left":"fa/arrow-up-left-regular","arrow-up-right":"fa/arrow-up-right-regular",at:"fa/at-regular",attachment:"fa/paperclip-regular",backspace:"fa/delete-left-regular","badge-amount":"fa/circle-0-solid","badge-check":"fa/circle-check-solid","badge-edit":"fa/pen-circle-regular","badge-file":"deprecated/badge-file","badge-pause":"fa/circle-pause-solid","badge-x":"fa/circle-xmark-solid","ban-outline":"deprecated/fa/ban-regular",bell:"fa/bell-regular",bolt:"fa/bolt-regular",bot:"fa/robot-regular",branch:"fa/code-branch-regular",bug:"fa/bug-regular",bus:"fa/bus-simple-regular",calendar:"fa/calendar-regular","calendar-add":"fa/calendar-plus-regular","calendar-clock":"fa/calendar-clock-regular",campaign:"fa/bullhorn-regular",certificate:"fa/file-certificate-regular",chat:"fa/message-lines-regular","chat-bell":"custom/message-bell-regular","chat-close":"fa/message-xmark-regular","chat-disable":"fa/message-slash-regular","chat-multi":"fa/messages-regular","chat-notification-score":"custom/message-bell-regular",checkbox:"fa/square-regular","checkbox-active":"fa/square-check-solid","checkbox-partial":"fa/square-minus-regular",checkmark:"custom/check-small-regular","chevron-double-down":"fa/chevrons-down-regular","chevron-double-left":"fa/chevrons-left-regular","chevron-double-right":"fa/chevrons-right-regular","chevron-double-up":"fa/chevrons-up-regular","chevron-left":"fa/chevron-left-regular","chevron-right":"fa/chevron-right-regular","chevron-small-down":"custom/chevron-down-small-regular","chevron-small-left":"custom/chevron-left-small-regular","chevron-small-right":"custom/chevron-right-small-regular","chevron-small-up":"custom/chevron-up-small-regular",chrome:"fa/chrome","cjv-badge-file":"fa/file-regular","cjv-calendar-clock":"fa/calendar-clock-regular","cjv-custom-default":"deprecated/cjv-custom-default","cjv-custom-event":"fa/circle-star-solid","cjv-custom-session":"custom/rectangules-arrow-left-to-right-regular","cjv-default-event":"fa/circle-star-solid","cjv-delivery":"fa/truck-regular","cjv-finance-invoice":"fa/file-invoice-dollar-regular","cjv-form-abandoned":"fa/file-circle-xmark-regular","cjv-form-submitted":"custom/file-arrow-up-regular","cjv-generic-application":"fa/file-user-regular","cjv-offer-closed":"fa/circle-xmark-solid","cjv-offer-ignored":"fa/subtract-circle-solid","cjv-offer-offered":"fa/circle-chevron-right-solid","cjv-offer-opened":"fa/badge-check-solid","cjv-outcome-achieved":"fa/circle-check-solid","cjv-page-view":"fa/circle-dot-regular","cjv-policy-contract":"fa/file-contract-regular","cjv-product-added":"fa/cart-circle-plus-regular","cjv-product-purchased":"fa/cart-circle-check-regular","cjv-product-removed":"fa/cart-circle-xmark-regular","cjv-search":"fa/magnifying-glass-regular","cjv-segment":"fa/chart-pie-simple-regular","cjv-segment-assigned":"fa/circle-quarter-regular","cjv-web-session":"fa/globe-regular","cjv-webchat-accepted":"fa/message-check-solid","cjv-webchat-error":"fa/message-xmark-solid","cjv-webchat-ignored":"fa/message-minus-solid","cjv-webchat-offered":"fa/message-arrow-up-right-solid","cjv-webchat-rejected":"fa/message-xmark-solid","cjv-webchat-requested":"fa/message-plus-solid","cjv-webchat-submitted":"fa/message-arrow-up-solid","cjv-webchat-timeout":"fa/timer-regular",clipboard:"fa/clipboard-regular","clipboard-error":"fa/clipboard-question-regular","clipboard-success":"fa/clipboard-check-regular",clock:"fa/clock-regular","clock-outline":"fa/clock-regular",clone:"fa/clone-regular",close:"fa/xmark-large-regular","close-circle":"deprecated/fa/circle-xmark-regular",cloud:"fa/cloud-regular","cloud-outline":"fa/cloud-regular",coaching:"fa/whistle-regular",cobrowse:"deprecated/cobrowse",collapse:"fa/arrow-down-left-and-arrow-up-right-to-center-regular",comments:"fa/message-lines-regular","comments-disable":"fa/message-slash-regular",configuration:"fa/block-brick-regular","control-end":"fa/forward-fast-regular","control-pause":"fa/pause-regular","control-play":"fa/play-regular","control-skip-left":"fa/backward-regular","control-skip-right":"fa/forward-regular","control-slide-back":"fa/backward-step-regular","control-slide-forward":"fa/forward-step-regular","control-start":"fa/backward-fast-regular","control-stop":"fa/stop-regular",copy:"fa/copy-regular","custom/add-column-after":"custom/table-column-plus-right-regular","custom/add-column-before":"custom/table-column-plus-left-regular","custom/add-row-after":"custom/table-row-plus-bottom-regular","custom/add-row-before":"custom/table-row-plus-top-regular","custom/binoculars-slash-regular":"custom/regular-binoculars-slash","custom/carousel":"custom/rectangle-carousel-regular","custom/clipboard-list-slash-regular":"custom/regular-clipboard-list-slash","custom/co-browse":"custom/screen-monitor-regular","custom/delete-column":"custom/table-column-xmark-regular","custom/delete-row":"custom/table-row-xmark-regular","custom/delete-table":"custom/table-xmark-regular","custom/file-pen-question":"custom/file-pen-question-regular","custom/filter-notification":"custom/filter-dot-regular","custom/font-regular-highlight":"custom/font-underline-regular","custom/one-button":"custom/mobiles-one-button-regular","custom/person-running":"fa/person-running-solid","custom/quick-reply":"custom/circle-buttons-regular","custom/three-button":"custom/mobile-three-button-regular","custom/wrap-text-inline":"custom/wrap-text-inline-regular","custom/wrap-text-tight":"custom/wrap-text-tight-regular","custom/wrap-text-top-bottom":"custom/wrap-text-top-bottom-regular","customer-journey":"fa/map-location-dot-regular",cut:"fa/scissors-regular",dash:"fa/gauge-simple-high-regular",delete:"fa/trash-regular","device-camera":"fa/camera-regular","device-cellphone":"fa/mobile-regular","device-headphones":"fa/headphones-regular","device-laptop":"fa/laptop-regular","device-pc":"deprecated/device-pc","device-server":"fa/server-regular","device-tablet":"fa/tablet-regular",download:"fa/arrow-down-to-line-regular",edge:"fa/edge-legacy",edit:"fa/pen-regular","email-notification-score":"fa/envelope-dot-regular",expand:"fa/arrow-up-right-and-arrow-down-left-from-center-regular",export:"fa/arrow-up-from-line-regular","external-link":"fa/arrow-up-right-from-square-regular","fa/00-solid":"fa/00-regular","fa/arrows-rotate-solid":"fa/arrows-rotate-regular","fa/ban-regular":"deprecated/fa/ban-regular","fa/check-solid":"custom/check-small-regular","fa/circle-check-regular":"deprecated/fa/circle-check-regular","fa/circle-xmark-regular":"deprecated/fa/circle-xmark-regular","fa/clock-outline":"fa/clock-regular","fa/comment-dots-regular":"fa/message-dots-regular","fa/comments-regular":"fa/messages-regular","fa/diagram-project-gear-regular":"fa/regular-diagram-project-gear","fa/eye-regular":"deprecated/fa/eye-regular","fa/eye-slash-regular":"deprecated/fa/eye-slash-regular","fa/life-ring-regular":"deprecated/fa/life-ring-regular","fa/link-horizontal-slash-regular":"fa/link-slash-regular","fa/link-horizontal-solid":"fa/link-regular","fa/list-radio-clean-regular":"fa/list-ul-regular","fa/list-radio-regular":"fa/list-ul-regular","fa/list-regular":"fa/list-ul-regular","fa/rectangle-list-regular":"fa/square-list-regular","fa/reply-regular":"custom/reply-regular","fa/right-to-bracket-regular":"fa/arrow-right-to-bracket-regular","fa/share-regular":"custom/share-regular","fa/volume-regular":"deprecated/fa/volume-regular","face-empathy":"deprecated/face-empathy","face-happy":"fa/face-smile-regular","face-happy-solid":"fa/face-smile-solid","face-neutral":"fa/face-meh-regular","face-neutral-solid":"fa/face-meh-solid","face-sad":"fa/face-frown-regular","face-sad-solid":"fa/face-frown-solid",facebook:"fa/facebook","facebook-messenger":"fa/facebook-messenger",fax:"fa/fax-regular",file:"fa/file-regular","file-all":"fa/files-regular","file-audio":"deprecated/fa/volume-regular","file-image-landscape":"fa/image-regular","file-image-portrait":"fa/image-portrait-regular","file-pdf":"fa/file-pdf-regular","file-preview":"fa/file-magnifying-glass-regular","file-report":"fa/file-chart-column-regular","file-text":"fa/file-lines-regular","file-video":"fa/video-regular",filter:"fa/filter-regular",fire:"fa/fire-regular",firefox:"fa/firefox",flag:"fa/flag-regular",folder:"fa/folder-regular","folder-add":"fa/folder-plus-regular","folder-open":"fa/folder-open-regular",follow:"fa/binoculars-regular",generic:"fa/shapes-regular",globe:"fa/earth-africa-regular","grab-horizontal":"fa/grip-solid","grab-vertical":"fa/grip-vertical-solid","graph-bar-horizontal":"fa/chart-bar-regular","graph-bar-vertical":"fa/chart-column-regular","graph-bubble":"fa/chart-scatter-bubble-regular","graph-chart":"fa/chart-area-regular","graph-line":"fa/chart-line-regular","graph-pie":"fa/chart-pie-regular","graph-spark":"custom/chart-line-spark-regular","group-standard":"custom/users-light",help:"fa/circle-question-regular",home:"fa/home-regular",hourglass:"fa/hourglass-half-regular",import:"fa/file-import-regular",inbox:"fa/inbox-regular",inspect:"deprecated/fa/eye-regular","inspect-disable":"deprecated/fa/eye-slash-regular",instagram:"fa/instagram","internet-explorer":"fa/internet-explorer",key:"fa/key-regular",lightbulb:"fa/lightbulb-regular","line-messenger":"fa/line",link:"fa/link-regular",linkedin:"fa/linkedin",linux:"fa/linux",lock:"fa/lock-regular","lock-hold":"custom/lock-keyholes-regular",logout:"fa/arrow-right-from-bracket-regular","low-bandwidth":"fa/wifi-slash-regular",lunch:"fa/utensils-regular",menu:"fa/bars-regular","menu-kebab-horizontal":"fa/ellipsis-regular","menu-kebab-vertical":"fa/ellipsis-vertical-regular","message-email":"fa/envelope-regular","message-email-outbound":"custom/envelope-arrow-up-right-regular","message-forward":"custom/share-regular","message-reply":"custom/reply-regular","message-reply-all":"custom/reply-all-regular",microphone:"fa/microphone-regular","microphone-disable":"fa/microphone-slash-regular","microphone-talking":"custom/microphone-line-on-regular",microsoft:"fa/microsoft","microsoft-teams":"custom/microsoft-teams",moon:"fa/moon-regular",music:"fa/music-regular",notes:"fa/memo-regular",notification:"fa/circle-solid",opera:"fa/opera","operator-pair":"custom/users-headset-regular",paint:"fa/fill-drip-regular",palette:"fa/palette-regular","parking-sign-regular":"fa/square-parking-regular",paste:"fa/paste-regular",people:"fa/people-pants-simple-regular",phone:"fa/phone-regular","phone-bell":"custom/phone-bell-regular","phone-call-directory":"deprecated/phone-call-directory","phone-call-history":"custom/phone-bars-regular","phone-callback":"custom/phone-arrow-left-regular","phone-close":"fa/phone-xmark-regular","phone-conference":"custom/phone-big-small-regular","phone-dialpad":"fa/grid-regular","phone-disable":"fa/phone-slash-regular","phone-forward":"fa/phone-arrow-right-regular","phone-hangup":"fa/phone-hangup-regular","phone-hold":"custom/phone-clock-regular","phone-inbound":"fa/phone-arrow-down-left-regular","phone-missed-call":"fa/phone-missed-regular","phone-notification-score":"custom/phone-star-regular","phone-outbound":"fa/phone-arrow-up-right-regular","phone-success":"custom/phone-check-regular","phone-voice":"custom/phone-high-volume-regular",pin:"fa/thumbtack-regular","pin-location":"fa/location-dot-regular",post:"fa/newspaper-regular","product-logo-beyond":"custom/genesys-beyond","product-logo-g":"custom/genesys","quote-left":"fa/quote-left-regular","quote-right":"fa/quote-right-regular",radio:"fa/circle-regular","radio-active":"fa/circle-dot-regular",rating:"fa/star-regular","rating-active":"fa/star-solid","rating-partial":"fa/star-sharp-half-stroke-regular",record:"fa/waveform-lines-regular",refresh:"fa/arrows-rotate-regular",reset:"fa/arrow-rotate-left-regular",resource:"fa/notebook-regular",retweet:"custom/arrows-retweet-regular","roster-chat":"fa/message-lines-regular","roster-chat-disable":"fa/message-slash-regular","roster-email":"fa/envelope-regular","roster-email-disable":"fa/regular-envelope-slash","roster-instagram":"fa/instagram","roster-instagram-disable":"custom/instagram-slash","roster-line":"fa/line","roster-line-disable":"custom/line-slash","roster-message":"fa/message-lines-regular","roster-message-disable":"fa/message-xmark-regular","roster-messenger":"fa/facebook-messenger","roster-messenger-disable":"custom/facebook-messenger-slash","roster-phone":"fa/phone-regular","roster-phone-disable":"fa/phone-slash-regular","roster-sms":"fa/message-dots-regular","roster-sms-disable":"fa/message-slash-regular","roster-twitter":"fa/twitter","roster-twitter-disable":"custom/twitter-slash","roster-wechat":"fa/weixin","roster-wechat-disable":"deprecated/roster-wechat-disable","roster-whatsapp":"fa/whatsapp","roster-whatsapp-disable":"fa/custon-whatsapp-slash",rss:"fa/square-rss-solid",run:"fa/person-running-solid",safari:"fa/safari",save:"fa/floppy-disk-regular","screen-share-regular":"custom/display-arrow-right-regular","screen-share-slash":"custom/display-arrow-right-slash-regular",scripter:"fa/scroll-regular",search:"fa/magnifying-glass-regular",send:"fa/paper-plane-top-regular",server:"fa/server-regular",settings:"fa/gear-regular",share:"fa/share-nodes-regular","shield-lock":"fa/shield-keyhole-regular","shield-outline":"fa/shield-check-regular","shield-solid":"fa/shield-check-solid",site:"fa/building-regular",skills:"fa/graduation-cap-regular",slideshare:"fa/slideshare",sms:"fa/message-dots-regular","sms-cancel":"fa/message-xmark-regular","sms-close":"fa/message-xmark-regular",stamp:"fa/stamp-regular",subtract:"fa/minus-regular","subtract-circle":"fa/subtract-circle-regular",sun:"fa/sun-bright-regular",tag:"fa/tag-regular","tag-add":"deprecated/tag-add","tag-remove":"deprecated/tag-remove",telegram:"fa/telegram",tenant:"fa/box-regular","thumbs-down":"fa/thumb-down-regular","thumbs-up":"fa/thumb-up-regular",timeline:"custom/arrow-turn-left-clock-regular","toolbar-apps":"custom/squares-big-small-regular","toolbar-apps-disable":"custom/squares-big-small-slash-regular","toolbar-assist":"deprecated/fa/life-ring-regular","toolbar-assist-disable":"custom/life-ring-slash-regular","toolbar-chat":"fa/message-regular","toolbar-chat-disable":"fa/message-slash-regular","toolbar-favorite":"deprecated/toolbar-favorite","toolbar-favourite":"fa/star-regular","toolbar-help":"fa/circle-question-regular","toolbar-inbox":"fa/inbox-regular","toolbar-interactions":"custom/user-talking-regular","toolbar-interactions-disable":"custom/user-talking-slash-regular","toolbar-notification":"fa/circle-solid","toolbar-phone":"fa/phone-regular","toolbar-phone-active-1":"custom/phone-low-volume-regular","toolbar-phone-active-2":"custom/phone-volume-regular","toolbar-phone-active-3":"custom/phone-high-volume-regular","toolbar-phone-disable":"fa/phone-slash-regular","toolbar-video":"fa/video-regular","toolbar-video-disable":"fa/video-slash-regular",trade:"fa/handshake-regular",transfer:"fa/arrow-right-arrow-left-regular",twitter:"fa/twitter",unknown:"fa/square-x-regular",unlink:"fa/link-slash-regular",unlock:"fa/unlock-regular",upload:"fa/upload-regular",user:"fa/user-regular","user-add":"fa/user-plus-regular","user-circle":"fa/circle-user-regular","user-contact-id":"fa/address-card-regular","user-directory":"fa/address-book-regular","user-group":"fa/users-regular","user-interactions":"custom/user-talking-regular","user-interactions-disable":"custom/user-talking-slash-regular",viber:"fa/viber",video:"fa/video-regular","video-disable":"fa/video-slash-regular","view-all":"fa/grid-4-regular","view-cells":"custom/columns-3-regular","view-grid":"fa/border-all-regular","view-list":"fa/square-list-regular","view-lists":"custom/columns-3-regular","view-roster":"fa/table-list-regular","view-stacked":"fa/table-rows-regular",voicemail:"fa/voicemail-regular","volume-disable":"fa/volume-slash-regular","volume-down":"fa/volume-low-regular","volume-none":"fa/volume-off-regular","volume-up":"deprecated/fa/volume-regular",web:"fa/globe-regular",webcam:"fa/camera-web-regular","webcam-disable":"fa/camera-web-slash-regular",wechat:"fa/weixin",whatsapp:"fa/whatsapp","window-actual-size":"fa/brackets-square-regular","window-contract":"fa/arrows-minimize-regular","window-drag-out":"fa/arrow-up-right-from-square-regular","window-expand":"fa/arrows-maximize-regular","window-fullscreen":"fa/arrows-maximize-regular","window-popout":"fa/square-arrow-up-right-regular",wordpress:"fa/wordpress",youtube:"fa/youtube","zoom-in":"fa/magnifying-glass-plus-regular","zoom-out":"fa/magnifying-glass-minus-regular"},m=Object.keys(s),l=new Map;async function p(e){const r=await fetch(f(`./icons/${e}.svg`));if(r.status===200)return r.text();throw new Error(`[gux-icon] fetching failed for icon "${e}" with status "${r.statusText} (${r.status})".`)}function b(e){return e.replace("/","-")}function t(e){return h.includes(e)?`legacy/${e}`:m.includes(e)?s[e]:e}async function i(e){const r=b(e);if(l.has(r))return l.get(r);const o=p(e).then(a=>a).catch(a=>(setTimeout(()=>{throw a},0),i("fa/square-x-regular")));return l.set(r,o),o}const w=":host{display:inline-flex;inline-size:1em;block-size:1em}:host([size=small]){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}:host([size=medium]){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size)}:host([size=large]){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-icon-container{display:flex;align-items:center;justify-content:center;inline-size:100%}.gux-icon-container svg{inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;fill:currentcolor}",v=w,k=class{constructor(e){u(this,e),this.decorative=!1,this.screenreaderText="",this.size="inherit"}async prepIcon(e){if(e){const r=t(e);this.baseSvgHtml=await i(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){n(this.root,{variant:t(this.iconName)}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&!e&&!r&&d(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true.")}getSvgWithAriaAttributes(e){const r=new DOMParser().parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("role","img"),this.decorative?r.setAttribute("aria-hidden",String(this.decorative)):r.setAttribute("aria-hidden","false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&c("div",{key:"4cee2f5e075acfa120f017ad2fc1f6fefd901949",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return g(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};k.style=v;export{k as gux_icon};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as e,g as a}from"./index-CWixJ8vL.js";import{b as i}from"./index-4f1356d9-DSfDpFAA.js";import{t}from"./usage-36c49ec0-Dlq6IjQJ.js";import"./get-closest-element-728b9f18-C_5KDHD-.js";const n="Information alert with message",s="Success alert with message",l="Warning alert with message",c="Error alert with message",g={info:n,success:s,warning:l,error:c},u=":host{display:flex;inline-size:fit-content}.gux-inline-alert{display:inline-flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;margin-block-start:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;gap:var(--gse-ui-alert-gap);font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-content{flex:1 1 auto}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}",d=u,f=class{constructor(r){o(this,r),this.accent="info"}getIcon(r){switch(r){case"info":return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid";default:return"fa/circle-info-solid"}}async componentWillLoad(){t(this.root,{variant:this.accent}),this.i18n=await i(this.root,g)}render(){return e("div",{key:"1415fdf4b452c8a7265a9ba3f87cb8b4268dbb5d",class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("div",{key:"8babcd543b6ffb15f223f364a89a95809526bebc",class:"gux-message-wrapper"},e("gux-icon",{key:"a3894fef628e1eebc22f3acb2a5037aaf4656590","icon-name":this.getIcon(this.accent),decorative:!0,size:"small"}),e("gux-screen-reader-beta",{key:"c6dcc56496a3c4ed8b105cbeab080f163c2e8e43"},this.i18n(this.accent)),e("div",{key:"1db5fd900c4cf4dde8826b3254f8da1831316c12",class:"gux-content"},e("slot",{key:"58726e3bce9ae06959d67478249b7cdbab9d890f",name:"content"},e("slot",{key:"44766ba8e0dab916d5f3666ae47e9befcb62dc66"})))))}get root(){return a(this)}};f.style=d;export{f as gux_inline_alert};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as e,g as a}from"./index-CWixJ8vL.js";import{t as i}from"./usage-36c49ec0-Dlq6IjQJ.js";import{g as n}from"./get-slot-text-content-95a85429-DTSoMW52.js";const r=".gux-label-info{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-label-info gux-tooltip{padding-inline-start:0}.gux-label-info gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}",l=r,c=class{constructor(t){o(this,t),this.variant="info",this.placement="right"}componentWillLoad(){i(this.root,{variant:this.variant})}getVariantIcon(t){return t==="question"?"fa/circle-question-regular":"fa/circle-info-regular"}async showTooltip(){return await this.tooltipElement.showTooltip()}async hideTooltip(){return await this.tooltipElement.hideTooltip()}render(){return e("div",{key:"56d47ce5f2b632072104e8cd5e9367d9abb73097",class:"gux-label-info"},e("gux-screen-reader-beta",{key:"a720884b1bb912502416c10087878d16885e6431"},n(this.root,"content")),e("gux-icon",{key:"d998e3257efcfe68159cd3bbe1ea5fedac6d56f2","icon-name":this.getVariantIcon(this.variant),size:"small",decorative:!0}),e("gux-tooltip-beta",{key:"bb243c88b2c7ad7217cf88c156f7a7e01617b38c",placement:this.placement,ref:t=>this.tooltipElement=t},e("slot",{key:"c15c6233b298c2f03cb0a6a9d4b6c3d62c062a2a",name:"content"})))}get root(){return a(this)}};c.style=l;export{c as gux_label_info_beta};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,h as e,H as i,g as s}from"./index-CWixJ8vL.js";import{t as a}from"./usage-36c49ec0-Dlq6IjQJ.js";import{g as o}from"./get-closest-element-728b9f18-C_5KDHD-.js";const l=":host{padding-block:var(--gse-ui-links-inLine-padding)}:host ::slotted(a){inline-size:fit-content;font-family:var(--gse-ui-links-inLine-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);color:var(--gse-ui-links-default-foregroundColor) !important;border-radius:var(--gse-ui-links-focusOutline-borderRadius) !important}:host ::slotted(a:hover){color:var(--gse-ui-links-hover-foregroundColor) !important}:host ::slotted(a:active){color:var(--gse-ui-links-active-foregroundColor) !important}:host ::slotted(a:visited){color:var(--gse-ui-links-visited-foregroundColor) !important}:host ::slotted(a:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host([size=small]) ::slotted(a){font-family:var(--gse-ui-links-inLine-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight)}:host([standalone]){display:block;padding-block:var(--gse-ui-links-standalone-padding)}:host([standalone]) ::slotted(a){display:flex;gap:var(--gse-ui-links-standalone-gap);align-items:center;inline-size:fit-content;font-family:var(--gse-ui-links-standalone-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-text-fontSize);font-weight:var(--gse-ui-links-standalone-medium-text-fontWeight);line-height:var(--gse-ui-links-standalone-medium-text-lineHeight);text-decoration:none !important}:host([standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-medium-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-medium-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-medium-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-medium-underlinedText-textDecoration) !important}:host([standalone]) ::slotted(a:active){text-decoration:none !important}:host([size=small][standalone]) ::slotted(a){font-family:var(--gse-ui-links-standalone-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-text-fontSize);font-weight:var(--gse-ui-links-standalone-small-text-fontWeight);line-height:var(--gse-ui-links-standalone-small-text-lineHeight)}:host([size=small][standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-small-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-small-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-small-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-small-underlinedText-textDecoration) !important}:host([standalone][class=gux-breadcrumb-link]){padding:0}",r=l,d=class{constructor(t){n(this,t),this.size="medium",this.standalone=!1}componentWillLoad(){a(this.root,{variant:this.size+(this.standalone?"-standalone":"")})}checkBreadcrumbParent(){return!!o(".gux-breadcrumb-generation",this.root)}render(){return e(i,{key:"996dc79252fa45084deaeab08b443c48af84dd61",size:this.size,standalone:this.standalone,class:{"gux-breadcrumb-link":this.checkBreadcrumbParent()}},e("slot",{key:"1732fcfa0f80733efc1d62cdce523e5b070808f1"}))}get root(){return s(this)}};d.style=r;export{d as gux_link_beta};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,h as r,H as s}from"./index-CWixJ8vL.js";const t=":host{position:relative;display:flex;inline-size:100%;block-size:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}",n=t,o=class{constructor(e){i(this,e)}render(){return r(s,{key:"47874f242f9441edc3ad4139542262c0cd6e0189",role:"presentation"})}};o.style=n;export{o as gux_list_divider};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as e,H as i,g as n}from"./index-CWixJ8vL.js";const a=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1);background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}",s=a,r=class{constructor(t){o(this,t),this.disabled=!1}render(){return e(i,{key:"b6fa93d98979ed2916d0a2d0268e57634540f6c6",role:"listitem"},e("button",{key:"9f5234aeec44769ea23e46d04a6042e8cd78b3b7",type:"button",tabIndex:-1,disabled:this.disabled},e("slot",{key:"0bce73acc9aba33f936e853e1c3225d9393a8cd3"})))}static get delegatesFocus(){return!0}get root(){return n(this)}};r.style=s;export{r as gux_list_item};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as e,H as i,g as n}from"./index-CWixJ8vL.js";import{l as o,n as c,f as a,p as l,b as u,c as f}from"./gux-list.service-5da368db-BTJJSzQi.js";import{t as d}from"./usage-36c49ec0-Dlq6IjQJ.js";const m=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}",p=m,s=["gux-list-item"],x=class{constructor(t){r(this,t)}componentWillLoad(){d(this.root)}onKeyDown(t){switch(t.key){case"ArrowUp":t.preventDefault(),l(this.root,s);break;case"Home":t.preventDefault(),a(this.root,s);break;case"ArrowDown":t.preventDefault(),c(this.root,s);break;case"End":t.preventDefault(),o(this.root,s);break}}async guxFocusFirstItem(){a(this.root,s)}async guxFocusItemById(t){u(this.root,s,t)}async guxFocusItemByClosestId(t){f(this.root,s,t)}async guxFocusLastItem(){o(this.root,s)}render(){return e(i,{key:"82adb429fd4ef3143f82756c5bcf8a0abeb5f3c8",tabindex:"-1",role:"list"},e("slot",{key:"9089f367dae30117a5d81271a45795cbf72f71b4"}))}get root(){return n(this)}};x.style=p;export{x as gux_list};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function d(n){const e=n.querySelector("slot");return e?e.assignedElements():Array.from(n.children)}function u(n,e){return d(n).filter(t=>e.includes(t.tagName.toLowerCase())?!t.disabled:!1)}function o(n,e){return u(n,e).findIndex(t=>t.matches(":focus-within"))}function x(n,e,t){return u(n,e).findIndex(i=>i.id===t)}function r(n,e,t){const i=u(n,e).findIndex(f=>f.id.startsWith(t));return i>=0?i:r(n,e,t.slice(0,-1))}function c(n,e,t){const i=o(n,e),f=u(n,e).length;s(n,e,(i+t)%f)}function s(n,e,t){var i;const f=u(n,e);for(;t<0;)t+=f.length;(i=f[t])===null||i===void 0||i.focus()}function g(n,e){return u(n,e).length-1}function h(n,e){s(n,e,0)}function l(n,e){s(n,e,g(n,e))}function a(n,e){c(n,e,1)}function y(n,e){c(n,e,-1)}function C(n,e,t){const i=x(n,e,t);i>=0?s(n,e,i):s(n,e,0)}function I(n,e,t){const i=r(n,e,t);i>=0?s(n,e,i):s(n,e,0)}export{c as a,C as b,I as c,h as f,l,a as n,y as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as p,c,h as o,H as g,g as m}from"./index-CWixJ8vL.js";import{b as r,h as x,s as n,d as l,e as u,f,i as v,j as b,k as O,l as a,m as C,c as E,a as w,o as L}from"./gux-listbox.service-1b2f1a6e-CG-s36UI.js";import{b as y}from"./index-4f1356d9-DSfDpFAA.js";import{w as S}from"./when-event-is-from-2aac15f0-B4cyA2sH.js";import{s as h}from"./simulate-native-event-e0631897-BcLDngo1.js";import{t as A}from"./usage-36c49ec0-Dlq6IjQJ.js";import{b as d}from"./after-next-render-07a41f53-C_KTwidI.js";import"./get-closest-element-728b9f18-C_5KDHD-.js";const M="Add {name}",k="No matches",I="Loading...",V={add:M,noMatches:k,loading:I},H=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;outline:none;scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor);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);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}",N=H,D=class{constructor(t){p(this,t),this.internallistboxoptionsupdated=c(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.disabled=!1,this.listboxOptions=[],this.hasExactMatch=!1}onBlur(){r(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var e;if(!x(this.root)){t.preventDefault(),n(this.root);return}switch(t.key){case"Enter":t.preventDefault(),!((e=this.optionCreateElement)===null||e===void 0)&&e.active?(this.optionCreateElement.guxEmitInternalCreateNewOption(),d(()=>{n(this.root)})):a(this.root,i=>this.updateValue(i));return;case"ArrowDown":t.preventDefault(),b(this.root)?(t.stopPropagation(),O(this.root)):u(this.root);return;case"ArrowUp":{t.preventDefault(),f(this.root)?(t.stopPropagation(),v(this.root)):l(this.root);return}case"Home":{t.preventDefault(),u(this.root);return}case"End":{t.preventDefault(),l(this.root);return}case" ":{t.preventDefault();return}}if(t.key.length===1){C(this.root,t.key);return}}onKeyup(t){var e;switch(t.key){case" ":!((e=this.optionCreateElement)===null||e===void 0)&&e.active?(this.optionCreateElement.guxEmitInternalCreateNewOption(),d(()=>{n(this.root)})):a(this.root,i=>this.updateValue(i));return}}onMousemove(){r(this.root)}onClick(t){S("gux-option-multi",t,e=>{L(e,i=>this.updateValue(i))})}async guxSelectActive(){a(this.root,t=>this.updateValue(t))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach(e=>{var i,s;((s=(i=e.textContent)===null||i===void 0?void 0:i.toLowerCase())===null||s===void 0?void 0:s.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 E(this.value)}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter(t=>t.tagName==="GUX-OPTION-MULTI"),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach(t=>{var e;t.selected=this.getSelectedValues().includes(t.value),this.filterType!=="custom"&&this.filterType!=="none"&&(t.filtered=!(!((e=w(t))===null||e===void 0)&&e.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase())))})}updateValue(t){if(this.getSelectedValues().includes(t)){const e=this.getSelectedValues().filter(i=>i!==t);this.value=e.length?e.join(","):void 0}else{const e=[...this.getSelectedValues(),t];this.value=e.join(",")}h(this.root,"input"),h(this.root,"change")}async componentWillLoad(){A(this.root),this.i18n=await y(this.root,V),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=this.listboxOptions.filter(t=>!t.filtered).length===0}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return o("slot",{name:"create"})}render(){return this.loading?this.renderLoading():o(g,{role:"listbox","aria-multiselectable":"true",tabindex:0},o("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return m(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};D.style=N;export{D as gux_listbox_multi};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function r(t){return Array.from(t.children).reduce((e,i)=>{let f=[];return h(i)?f=Array.from(i.children).filter(A=>v(A)):v(i)&&(f=[i]),[...e,...f]},[])}function s(t){return r(t).filter(n=>!n.disabled&&!n.filtered)}function h(t){return t.tagName==="GUX-OPTION-GROUP-BETA"}function v(t){return["GUX-OPTION","GUX-OPTION-ICON","GUX-OPTION-MULTI"].includes(t.tagName)}function T(t){return r(t).find(n=>n.selected&&!n.disabled&&!n.filtered)}function o(t){return r(t).find(n=>n.active)}function a(t,n){n&&(r(t).forEach(e=>{const i=(!e.disabled||!e.filtered)&&e===n;e.active=i,i&&t.setAttribute("aria-activedescendant",e.id)}),n.scrollIntoView({block:"nearest"}))}function c(t){return s(t)[0]}function l(t){if(u(t)&&o(t)!==d(t)){const n=s(t),e=o(t),i=n.indexOf(e);return n[i+1]}return c(t)}function g(t){if(u(t)){const n=s(t),e=n.indexOf(o(t));return o(t)===c(t)?d(t):n[e-1]}return c(t)}function d(t){const n=s(t);return n[n.length-1]}function u(t){return!!o(t)}function b(t,n){return r(t).find(e=>(!e.disabled||!e.filtered)&&x(e,n))}function I(t,n){const e=b(t,n);e&&a(t,e)}function m(t){r(t).forEach(n=>{n.active=!1})}function P(t){a(t,T(t)||c(t))}function S(t){return u(t)?!!g(t):!1}function C(t){return u(t)?!!l(t):!1}function y(t){a(t,c(t))}function G(t){a(t,l(t))}function U(t){a(t,g(t))}function w(t){a(t,d(t))}function B(t,n){u(t)&&n(o(t).value)}function X(t,n){n(t.value)}let p,O="";const N=1e3;function k(t,n){clearTimeout(p),O+=n,I(t,O),p=setTimeout(()=>{O=""},N)}function x(t,n){var e;return(e=L(t))===null||e===void 0?void 0:e.textContent.trim().toLowerCase().startsWith(n.toLowerCase())}function L(t){var n;return(n=t.shadowRoot.querySelector("slot"))===null||n===void 0?void 0:n.assignedNodes()[0]}function E(t){return t?t.split(","):[]}export{L as a,m as b,E as c,w as d,y as e,S as f,b as g,u as h,U as i,C as j,G as k,B as l,k as m,r as n,X as o,x as p,P as s};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import{r as a,h as e,g as i}from"./index-CWixJ8vL.js";import{t as g}from"./usage-36c49ec0-Dlq6IjQJ.js";const r=`:host {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
container-type: inline-size;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.gux-container {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
max-inline-size: var(--gse-ui-progressAndLoading-loadingState-large-width);
|
|
15
|
+
color: var(--gse-ui-progressAndLoading-textColor);
|
|
16
|
+
text-align: center;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@container (width > 400px) {
|
|
20
|
+
.gux-container .gux-primary-message {
|
|
21
|
+
margin-block-start: var(--gse-ui-progressAndLoading-large-gap);
|
|
22
|
+
font-family: var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);
|
|
23
|
+
font-size: var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);
|
|
24
|
+
font-weight: var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);
|
|
25
|
+
line-height: var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight);
|
|
26
|
+
}
|
|
27
|
+
.gux-container .gux-additional-guidance {
|
|
28
|
+
margin-block-start: var(--gse-ui-progressAndLoading-large-gapText);
|
|
29
|
+
font-family: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);
|
|
30
|
+
font-size: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);
|
|
31
|
+
font-weight: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);
|
|
32
|
+
line-height: var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
@container (width > 200px) and (width <=400px) {
|
|
36
|
+
.gux-container .gux-primary-message {
|
|
37
|
+
margin-block-start: var(--gse-ui-progressAndLoading-medium-gap);
|
|
38
|
+
font-family: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);
|
|
39
|
+
font-size: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);
|
|
40
|
+
font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);
|
|
41
|
+
line-height: var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight);
|
|
42
|
+
}
|
|
43
|
+
.gux-container .gux-additional-guidance {
|
|
44
|
+
margin-block-start: var(--gse-ui-progressAndLoading-medium-gapText);
|
|
45
|
+
font-family: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);
|
|
46
|
+
font-size: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);
|
|
47
|
+
font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);
|
|
48
|
+
line-height: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
@container (width <=200px) {
|
|
52
|
+
.gux-container .gux-primary-message {
|
|
53
|
+
margin-block-start: var(--gse-ui-progressAndLoading-small-gap);
|
|
54
|
+
font-family: var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);
|
|
55
|
+
font-size: var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);
|
|
56
|
+
font-weight: var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);
|
|
57
|
+
line-height: var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight);
|
|
58
|
+
}
|
|
59
|
+
.gux-container .gux-additional-guidance {
|
|
60
|
+
margin-block-start: var(--gse-ui-progressAndLoading-small-gapText);
|
|
61
|
+
font-family: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);
|
|
62
|
+
font-size: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);
|
|
63
|
+
font-weight: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);
|
|
64
|
+
line-height: var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight);
|
|
65
|
+
}
|
|
66
|
+
}`,t=r,s=class{constructor(n){a(this,n)}componentWillLoad(){g(this.root)}render(){return e("div",{key:"70356553906bdd63057fa0e9c5ad6e715b470f81",class:"gux-container",role:"alert","aria-live":"assertive"},e("div",{key:"281eb24bc1f0853d940a0847728bccd75dca5866",class:"gux-progress"},e("slot",{key:"a7be4b136d00b4a8c5b2ec81e298d1e95fd4d241",name:"progress"})),e("div",{key:"2b48c115e728d70408a3dbff44d5146270f923df",class:"gux-primary-message"},e("slot",{key:"14ba47c353fe1dd986eb21641214d8454aaead96",name:"primary-message"})),e("div",{key:"3fb5684b3856f933cac3c1839f5b05e361308f16",class:"gux-additional-guidance"},e("slot",{key:"62c4adfbe16f3aad8d7139a75ba8b68788ecbc0f",name:"additional-guidance"})))}get root(){return i(this)}};s.style=t;export{s as gux_loading_message};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as o,g as n}from"./index-CWixJ8vL.js";import{m as i}from"./gux-menu.common-b2a4d472-CSLYc6Td.js";const s=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-menu-option-button{all:unset;box-sizing:border-box;inline-size:var(--gse-ui-flyoutMenu-width);block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:var(--gse-ui-menu-option-default-backgroundColor)}:host .gux-menu-option-button:focus-within,:host .gux-menu-option-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-menu-option-button:enabled{cursor:pointer}:host .gux-menu-option-button .gux-menu-option-button-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}",u=s,a=class{constructor(t){e(this,t),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals)}connectedCallback(){this.internals.role="menuitem"}async guxFocus(){this.buttonElement.focus()}onKeydown(t){switch(i(t,this.root),t.key){case"ArrowRight":case"Enter":t.stopPropagation();break}}onKeyup(t){switch(t.key){case" ":t.stopPropagation();break}}render(){return o("button",{key:"9ce49328409af89cd7a1c6b94ac6007b59456824",type:"button",class:"gux-menu-option-button","aria-haspopup":"false",tabIndex:-1,ref:t=>this.buttonElement=t},o("span",{key:"654d588f7bcbf38138ae543c03c3f89cad7102d5",class:"gux-menu-option-button-text"},o("slot",{key:"2494d0b57c69ee80fd24b52cb97abf74fba868c3"})))}static get formAssociated(){return!0}get root(){return n(this)}};a.style=u;export{a as gux_menu_option};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const u=250;function c(e,o){switch(e.key){case"ArrowUp":e.stopPropagation(),e.preventDefault(),s(o);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),l(o);break;case"ArrowRight":e.preventDefault();break;case"ArrowLeft":e.preventDefault();break;case"Home":e.stopPropagation(),e.preventDefault(),i(o);break;case"End":e.stopPropagation(),e.preventDefault(),t(o);break}}function i(e){const o=n(e);o&&o.guxFocus()}function t(e){const o=a(e);o&&o.guxFocus()}function s(e){const o=e.previousElementSibling;o?o.guxFocus():t(e)}function l(e){const o=e.nextElementSibling;o?o.guxFocus():i(e)}function n(e){let o=e;for(;o.previousElementSibling!==null;)o=o.previousElementSibling;return o}function a(e){let o=e;for(;o.nextElementSibling!==null;)o=o.nextElementSibling;return o}export{u as h,c as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,h as e,H as r}from"./index-CWixJ8vL.js";const s=":host{flex-direction:column;inline-size:fit-content;padding:var(--gse-ui-menu-padding);background-color:var(--gse-ui-flyoutMenu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}",u=s,a=class{constructor(o){n(this,o)}render(){return e(r,{key:"7e4f1568e688d0b8011da0ff05391e306324fecf",role:"menu"},e("slot",{key:"ee2398acd2b5542994a7d142ecf3d5a06b36b66e"}))}};a.style=u;export{a as gux_menu};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,c as s,h as t,g as d}from"./index-CWixJ8vL.js";import{r as l}from"./random-html-id-81ac821b-D30kRngR.js";import{t as r}from"./usage-36c49ec0-Dlq6IjQJ.js";const g="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=left-align-buttons]::slotted(:not(button,gux-button)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host .gux-modal{position:fixed;inset:0;z-index:var(--gse-semantic-zIndex-modal);display:flex;align-items:center;justify-content:center;color:#2e394c;background:var(--gse-ui-modal-shroudColor)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:var(--gse-ui-modal-padding) 0;background:var(--gse-ui-modal-backgroundColor);border:1px solid #b4bccb;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host .gux-modal .gux-modal-container.gux-small{width:var(--gse-ui-modal-small-width);max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:var(--gse-ui-modal-medium-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:var(--gse-ui-modal-large-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding:0 var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-fontFamily);color:var(--gse-ui-modal-headerColor);font-family:var(--gse-semantic-heading-xl-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-xl-bold-fontSize);line-height:var(--gse-semantic-heading-xl-bold-lineHeight);font-weight:var(--gse-semantic-heading-xl-bold-fontWeight)}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;padding:0 var(--gse-ui-modal-padding);margin-top:var(--gse-ui-modal-gap);margin-bottom:var(--gse-ui-modal-gap);overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding:0 var(--gse-ui-modal-padding)}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}",u=g,c=class{constructor(e){n(this,e),this.guxdismiss=s(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0}handleKeyEvent(e){e.key==="Escape"&&this.onDismissHandler(e)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){const e=this.trapFocus?"trapfocuson":"trapfocusoff",o=`${this.size}-${e}`;r(this.root,{variant:o})}componentDidLoad(){var e,o,a;const i=this.getInitialFocusElement();i?(e=i.focus)===null||e===void 0||e.call(i):this.dismissButton&&((a=(o=this.dismissButton).focus)===null||a===void 0||a.call(o))}render(){const e=this.hasModalTitleSlot(),o=this.hasFooterButtons(),a=l();return t("div",{key:"2d18a0bb73e802287f7276f624620318c58cf240",class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":e?a:null},t("div",{key:"f9a6082c0d4472e6cbf484221ed41d287c119683",class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),e&&t("h1",{key:"63ce16a375f2d5d374df0efaf65f026333f054f3",class:"gux-modal-header",id:a},t("slot",{key:"c8c78b89fd771fe39a7bbc513385ee11b7da474e",name:"title"})),t("gux-dismiss-button",{key:"2b6e4165d02dca606879da5a6dd947dbeef8533c",onClick:this.onDismissHandler.bind(this),ref:i=>this.dismissButton=i}),t("div",{key:"b37f23a11378eb9ce1264bd81b79a0726d6eed10",class:{"gux-modal-content":!0,"gux-no-buttons":!o}},t("p",{key:"30f622b062ed43b6fef5e7e2bbf68ac56bf98730"},t("slot",{key:"dc09cef7c9d6ec04ea7a3f896e0e7ddf3ed5cac0",name:"content"}))),o&&t("div",{key:"6f67c283914532196a52369fb1b84cd4e948f462",class:"gux-button-footer"},t("div",{key:"3299634c7f06b9e41ee607d383df3bb1b2e7c93b",class:"gux-left-align-buttons"},t("slot",{key:"3890a90f49ab497b9713f5e20086e5adfdb0cc9c",name:"left-align-buttons"})),t("div",{key:"101d214018e9f8da983b074d5aeaa2c81d096912",class:"gux-right-align-buttons"},t("slot",{key:"9e353e0aad1df37cfeee2bc944285308294a44c2",name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return t("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return!!this.root.querySelector('[slot="title"]')}hasFooterButtons(){return!!this.root.querySelector('[slot="left-align-buttons"]')||!!this.root.querySelector('[slot="right-align-buttons"]')}onDismissHandler(e){var o;e.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),(o=this.triggerElement)===null||o===void 0||o.focus())}get root(){return d(this)}};c.style=u;export{c as gux_modal_legacy};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,c as s,h as e,g as o}from"./index-CWixJ8vL.js";import{r as n}from"./random-html-id-81ac821b-D30kRngR.js";import{h as d}from"./has-slot-f24a46a6-D7GdaS0G.js";import{t as l}from"./usage-36c49ec0-Dlq6IjQJ.js";const r="dialog{inset-inline-start:auto;block-size:100%;min-block-size:100%;padding:0;margin:unset;border:none}dialog::backdrop{background:var(--gse-ui-sidePanel-shroudColor);opacity:var(--gse-ui-sidePanel-shroud-opacity)}slot[name=description]::slotted(*){margin:0;font-family:var(--gse-ui-sidePanel-description-text-fontFamily) !important;font-size:var(--gse-ui-sidePanel-description-text-fontSize) !important;font-weight:var(--gse-ui-sidePanel-description-text-fontWeight) !important;line-height:var(--gse-ui-sidePanel-description-text-lineHeight) !important;color:var(--gse-ui-sidePanel-descriptionColor) !important}",c=r,f=class{constructor(t){a(this,t),this.modalSidePanelDismiss=s(this,"modalSidePanelDismiss",7),this.open=!1,this.size="medium",this.dialogElement=null}syncOpenState(){this.open?this.dialogElement.showModal():(this.dialogElement.close(),this.modalSidePanelDismiss.emit())}sidepaneldismissHandler(){this.open=!1}onKeydown(t){switch(t.key){case"Escape":t.preventDefault(),this.open=!1;return}}async showModal(){this.open=!0}async close(){this.open=!1}componentWillLoad(){l(this.root,{variant:this.size})}componentDidLoad(){this.open&&this.dialogElement.showModal()}render(){const t=n();return e("dialog",{key:"eea0c737e4c43a0d621fee32ff4dad60bd784151",ref:i=>this.dialogElement=i,"aria-labelledby":t},e("gux-side-panel-beta",{key:"11156f4073f0db092f01db1175fa3ca7c91d60a8",size:this.size},e("div",{key:"ea76626936c93f966c7593f3040a165f8a540359",slot:"heading",id:t},e("slot",{key:"436910dde97d5b06676c8b16d2f727d371dbf9a5",name:"heading"})),d(this.root,"description")&&e("div",{key:"f251f7fff64fbcc70d69d0e9a6ac107cc02b619b",slot:"description"},e("slot",{key:"f8bf46aa948c66e33a18b5b1cee6243f98085b0c",name:"description"})),e("div",{key:"6951c9381dd820845cb677742ab4901bd43b9504",slot:"content"},e("slot",{key:"fce1aac4a2799c90cfa2a0d26116f48c13563117",name:"content"})),e("div",{key:"b0497481f705825507f461acaaf8eefc8f8e7959",slot:"footer"},e("slot",{key:"d7c224fd5279bb3ecf749a0610f71313061a5be1",name:"footer"}))))}get root(){return o(this)}static get watchers(){return{open:["syncOpenState"]}}};f.style=c;export{f as gux_modal_side_panel_beta};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c as s,h as t,g as l}from"./index-CWixJ8vL.js";import{r as d}from"./random-html-id-81ac821b-D30kRngR.js";import{t as r}from"./usage-36c49ec0-Dlq6IjQJ.js";import{h as g}from"./has-slot-f24a46a6-D7GdaS0G.js";const u="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=start-align-buttons]::slotted(:not(button,gux-button-slot)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host dialog{box-sizing:border-box;justify-content:space-between;padding:0;overflow:hidden;background-color:var(--gse-ui-modal-backgroundColor);border:none;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host dialog::backdrop{background:var(--gse-ui-modal-shroudColor)}:host dialog .gux-modal-container{display:flex;flex-direction:column}:host dialog .gux-modal-container.gux-small{inline-size:var(--gse-ui-modal-small-width);max-block-size:min(368px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-medium{inline-size:min(var(--gse-ui-modal-medium-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-large{inline-size:min(var(--gse-ui-modal-large-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-dynamic{max-inline-size:calc(100vw - 48px);max-block-size:calc(100vh - 48px)}:host dialog .gux-modal-container.gux-dynamic .gux-modal-content{max-block-size:none}:host dialog .gux-modal-container .gux-modal-header{padding-block-start:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-lineHeight);color:var(--gse-ui-modal-headerColor)}:host dialog .gux-modal-container .gux-modal-content{max-block-size:432px;padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap);overflow-y:auto;color:var(--gse-semantic-foreground-container-highEmphasis)}:host dialog .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}:host dialog .gux-modal-container .gux-button-footer.gux-no-buttons{display:none}:host dialog .gux-modal-container footer{padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}@media (max-width: 416px){:host dialog .gux-modal-container.gux-small,:host dialog .gux-modal-container.gux-medium,:host dialog .gux-modal-container.gux-large{inline-size:100%;block-size:100%}}",c=u,m=class{constructor(o){i(this,o),this.guxdismiss=s(this,"guxdismiss",7),this.size="dynamic",this.open=!1}syncOpenState(){this.open?this.dialogElement.showModal():this.dialogElement.close()}async showModal(){this.open=!0}async close(){this.open=!1}onKeydown(o){switch(o.key){case"Escape":o.preventDefault(),this.onDismissHandler();return}}componentWillLoad(){r(this.root,{variant:`${this.size}`})}componentDidLoad(){this.syncOpenState()}hasModalTitleSlot(){return!!this.root.querySelector('[slot="title"]')}hasFooterButtons(){var o,e;const a=this.root.querySelector('[slot="start-align-buttons"]'),n=this.root.querySelector('[slot="end-align-buttons"]');return!!(!((o=a==null?void 0:a.textContent)===null||o===void 0)&&o.trim())||!!(!((e=n==null?void 0:n.textContent)===null||e===void 0)&&e.trim())}renderFooter(){return g(this.root,"footer")?t("footer",null,t("slot",{name:"footer"})):this.renderButtonFooter()}render(){const o=this.hasModalTitleSlot(),e=d();return t("dialog",{key:"bab5ac656e94ff0937fd128c414ed9f1cae8b46c",onClose:this.onCloseHandler.bind(this),ref:a=>this.dialogElement=a,"aria-labelledby":o?e:null},t("div",{key:"b6080248a5a89f5c9e8cb5110358b65d6ef043d0",class:`gux-modal-container gux-${this.size}`},t("gux-dismiss-button",{key:"d28c34313e211024a1ad97a4b3be79bcedf52437",onClick:this.onDismissHandler.bind(this)}),o&&this.renderTitle(e),t("div",{key:"8ef94027f690c637df01edcc97639cb28b12f013",class:"gux-modal-content"},t("p",{key:"c3055a822887fa16f11fa3d38747b116dd26ea90"},t("slot",{key:"951d14406c48af76ba8bc0efd277eabc7a0744b7",name:"content"}))),this.renderFooter()))}renderTitle(o){return t("h1",{class:"gux-modal-header",id:o},t("slot",{name:"title"}))}renderButtonFooter(){const o=this.hasFooterButtons();return t("div",{class:{"gux-button-footer":!0,"gux-no-buttons":!o}},t("div",{class:"gux-start-align-buttons"},t("slot",{name:"start-align-buttons"})),t("div",{class:"gux-end-align-buttons"},t("slot",{name:"end-align-buttons"})))}onCloseHandler(){this.guxdismiss.emit()}onDismissHandler(){this.open=!1}static get delegatesFocus(){return!0}get root(){return l(this)}static get watchers(){return{open:["syncOpenState"]}}};m.style=c;export{m as gux_modal};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as l,h as n,g as h}from"./index-CWixJ8vL.js";import{b as c,g as d}from"./index-4f1356d9-DSfDpFAA.js";import{a as g}from"./intl-93dbfa3b-BWr_j3mE.js";import{u as m}from"./use-regional-dates-20f9c0e5-C5bTvd2o.js";import{s as i}from"./simulate-native-event-e0631897-BcLDngo1.js";import{b as f}from"./after-next-render-07a41f53-C_KTwidI.js";import{g as a,b as s,a as o}from"./year-month-values-7461d213-BGOpTfvI.js";import"./get-closest-element-728b9f18-C_5KDHD-.js";import"./get-closest-element-7b2f7d5b-kuMVup89.js";const y="Current year is {currentYear}, Click to change year to {changeYear}",x={changeYear:y},v=".gux-month-calendar{flex-wrap:wrap;inline-size:var(--gse-ui-calendarMenu-width);box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-month-calendar.gux-hidden{display:none}.gux-month-calendar .gux-current-month{font-family:var(--gse-ui-calendarMenu-month-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-month-currentText-lineHeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor)}.gux-month-calendar .gux-year-header{position:relative;display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-month-calendar .gux-year-header button{padding:var(--gse-ui-calendarMenu-header-arrow-padding);color:inherit;cursor:pointer;outline:none;background:none;border:none}.gux-month-calendar .gux-year-header button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset))}.gux-month-calendar .gux-year-header button.gux-year-change:disabled{cursor:default;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-month-calendar .gux-year-header button gux-icon{pointer-events:none}",p=v,b=class{constructor(e){l(this,e),this.expanded=!0}onValueUpdate(e){const{year:t}=a(e);this.year=t}async guxFocus(e){this.expanded=!0,e=e||s();const{year:t}=a(e);this.year=t,f(()=>{const r=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${e}"]`);r&&r.focus()})}onKeyDown(e){switch(e.key){case"Tab":if(e.shiftKey)return;this.nextYearElement.matches(":focus-visible")?(this.focusSelectedMonth(),e.preventDefault()):this.previousYearElement.matches(":focus-visible")&&this.nextYearElement.disabled&&(this.focusSelectedMonth(),e.preventDefault());break}}focusSelectedMonth(){const e=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${this.previewValue}"]`);if(e&&e.matches(":focus-visible"))e==null||e.focus();else{const t=this.root.shadowRoot.querySelectorAll("gux-month-list-item"),r=Array.from(t).find(u=>!u.disabled);r==null||r.focus()}}nextYearElementOnBlur(e){e.target.disabled&&!e.relatedTarget&&(this.focusSelectedMonth(),e.preventDefault())}async componentWillLoad(){this.i18n=await c(this.root,x),m()?this.locale=g(this.root):this.locale=d(this.root),this.value?(this.year=a(this.value).year,this.previewValue=this.value):this.year=a(s()).year}updateValue(e){this.value=e,this.previewValue=this.value,i(this.root,"input"),i(this.root,"change")}isOutOfBounds(e){return this.max&&this.max<e||this.min&&this.min>e}onMonthClick(e){this.isOutOfBounds(e)||this.updateValue(e)}isCurrentMonth(e){return a(s()).year==this.year&&a(s()).month==e}getMonthAriaLabel(e){const{year:t,month:r}=a(e);return new Date(Number(t),Number(r)-1).toLocaleDateString(this.locale,{year:"numeric",month:"long"})}getYearLabel(e){return new Date(Number(e),5).toLocaleDateString(this.locale,{year:"numeric"})}isSelectedMonth(e){return e===this.value}isAriaSelectedMonth(e){return this.isSelectedMonth(e)?"true":!1}changeYear(e){if(this.year=(parseInt(this.year)+e).toString(),this.value){const t=a(this.value).month,r=o(this.year,t);this.previewValue=r}}isPreviousYearLessThanMinYear(e,t){return(parseInt(e)-1).toString()<(t&&a(t).year)}isNextYearGreaterThanMaxYear(e,t){return(parseInt(e)+1).toString()>(t&&a(t).year)}getMonthShortName(e,t){return new Date(Number(e),Number(t)-1).toLocaleDateString(this.locale,{month:"short"})}renderHeader(){return n("div",{class:"gux-year-header"},n("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(-1),disabled:this.isPreviousYearLessThanMinYear(this.year,this.min),ref:e=>this.previousYearElement=e},n("gux-icon",{"icon-name":"custom/chevron-left-small-regular","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)-1}),size:"small"})),n("div",null,this.getYearLabel(this.year)),n("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(1),disabled:this.isNextYearGreaterThanMaxYear(this.year,this.max),ref:e=>this.nextYearElement=e,onBlur:this.nextYearElementOnBlur.bind(this)},n("gux-icon",{"icon-name":"custom/chevron-right-small-regular","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)+1}),size:"small"})))}renderMonths(){const e=Array.from(new Array(12),(t,r)=>String(r+1).padStart(2,"0")).map(t=>{const r=o(this.year,t);return n("gux-month-list-item",{class:{"gux-current-month":this.isCurrentMonth(t)},value:r,selected:this.isSelectedMonth(r),"aria-selected":this.isAriaSelectedMonth(r),"aria-label":this.getMonthAriaLabel(r),onClick:()=>this.onMonthClick(r),disabled:this.isOutOfBounds(r)},this.getMonthShortName(this.year,t))});return n("gux-month-list",null,e)}render(){return n("div",{key:"6e159334e362c87889cf465e6bde266b303f9a53",class:{"gux-hidden":!this.expanded,"gux-month-calendar":!0}},this.renderHeader(),this.renderMonths())}static get delegatesFocus(){return!0}get root(){return h(this)}static get watchers(){return{value:["onValueUpdate"]}}};b.style=p;export{b as gux_month_calendar};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as o,H as n,g as i}from"./index-CWixJ8vL.js";import{l as u,f as r,n as d,p as c,a as s}from"./gux-list.service-5da368db-BTJJSzQi.js";import{g as l}from"./get-closest-element-728b9f18-C_5KDHD-.js";const b=":host{display:flex;flex-direction:row;flex-wrap:wrap;padding:var(--gse-ui-calendarMenu-monthBody-padding);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius);box-shadow:var(--gse-ui-calendarMenu-boxShadow)}",g=b,t=["gux-month-list-item"],h=class{constructor(e){a(this,e)}onKeyDown(e){switch(e.key){case"ArrowUp":e.preventDefault(),s(this.root,t,-3);break;case"ArrowDown":e.preventDefault(),s(this.root,t,3);break;case"ArrowLeft":e.preventDefault(),c(this.root,t);break;case"ArrowRight":e.preventDefault(),d(this.root,t);break;case"Home":e.preventDefault(),r(this.root,t);break;case"End":e.preventDefault(),u(this.root,t);break}}async guxFocusFirstItem(){r(this.root,t)}render(){return o(n,{key:"532a418da8953f9781ce344f364c151173ad3416",role:"list"},o("slot",{key:"12b8a2ffd6b4e462a2a5d53a3ad77bcfacbf36fd"}))}static get delegatesFocus(){return!0}get root(){return i(this)}};h.style=g;const f=":host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}.gux-container{box-sizing:border-box;inline-size:var(--gse-ui-calendarMenu-month-monthCell-width);block-size:var(--gse-ui-calendarMenu-month-monthCell-height);padding-block:10px 9px;padding-inline:5px}.gux-container button{all:unset;box-sizing:border-box;inline-size:100%;block-size:100%;text-align:center;word-wrap:break-word;cursor:pointer;outline:none;border:none;border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-container button.gux-selected{color:var(--gse-ui-calendarMenu-month-selected-foregroundColor);background:var(--gse-ui-calendarMenu-month-selected-backgroundColor)}.gux-container button:focus-visible:not(:disabled){outline:var(--gse-ui-monthPicker-calendarStates-focus-border-width) var(--gse-ui-monthPicker-calendarStates-focus-border-style) var(--gse-ui-monthPicker-calendarStates-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-calendarMenu-month-focusBorderRadius)}.gux-container button:hover:not(:disabled){color:var(--gse-ui-calendarMenu-month-default-foregroundColor);background:var(--gse-ui-calendarMenu-month-hover-backgroundColor)}.gux-container button:disabled{cursor:default;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}",m=f,x=class{constructor(e){a(this,e),this.disabled=!1,this.selected=!1}onMouseup(){this.focusParentList()}onMouseover(){this.focusParentList()}focusParentList(){const e=l("gux-month-list",this.root);e&&e.shadowRoot.activeElement===null&&!this.selected&&(this.root.blur(),e.focus())}render(){return o(n,{key:"3df9e758a5cd82c9872b8aa040f79a3af5b4b84a",role:"listitem",value:this.value},o("div",{key:"a8e7eecc797fd129218278ab0f4114d409d749cb",class:"gux-container"},o("button",{key:"9eca92c255e0dd7aa1d12fe8550cdaf933e1d239",class:{"gux-selected":this.selected},type:"button",tabIndex:-1,disabled:this.disabled},o("slot",{key:"915d6dd2d5e2850f1cbac423a2a23c3389853dbb"}))))}static get delegatesFocus(){return!0}get root(){return i(this)}};x.style=m;export{h as gux_month_list,x as gux_month_list_item};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as m,h as n,g as f}from"./index-CWixJ8vL.js";import{t as x}from"./usage-36c49ec0-Dlq6IjQJ.js";import{O as v}from"./on-click-outside-6c2e399b-BC2t0a8o.js";import{b,g as C}from"./index-4f1356d9-DSfDpFAA.js";import{a as y}from"./intl-93dbfa3b-BWr_j3mE.js";import{u as S}from"./use-regional-dates-20f9c0e5-C5bTvd2o.js";import{s as h}from"./simulate-native-event-e0631897-BcLDngo1.js";import{b as d}from"./after-next-render-07a41f53-C_KTwidI.js";import{g as i,a as g,b as c}from"./year-month-values-7461d213-BGOpTfvI.js";import"./get-closest-element-728b9f18-C_5KDHD-.js";import"./get-closest-element-7b2f7d5b-kuMVup89.js";const k="Toggle month calendar view",w="Month",M="Year",D="Unset",B={toggleCalendar:k,month:w,year:M,unset:D},O=":host{display:inline-block}.gux-target{display:inline-flex;gap:var(--gse-ui-formControl-input-gap);padding:var(--gse-ui-formControl-textarea-padding);cursor:pointer;background-color:var(--gse-ui-calendarMenu-backgroundColor);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-target:focus-within{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);outline-offset:var(--gse-semantic-focusOutline-offset);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)}.gux-target .gux-display{display:inline-flex;align-items:center;min-inline-size:100px;padding-inline-end:var(--gse-ui-formControl-input-gap);font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-target .gux-display .gux-spinner{outline:none}.gux-target .gux-display .gux-spinner:not(:first-child){margin-inline-start:4px}.gux-target .gux-display .gux-spinner:focus-visible{background:var(--gse-ui-calendarMenu-month-hover-backgroundColor)}.gux-target .gux-popup-toggle{justify-content:right;color:var(--gse-ui-monthPicker-calendarStates-defaultColor);background:transparent;border:none}.gux-target .gux-popup-toggle:focus-visible{outline:var(--gse-ui-monthPicker-calendarStates-focus-border-width) var(--gse-ui-monthPicker-calendarStates-focus-border-style) var(--gse-ui-monthPicker-calendarStates-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-calendarMenu-month-calendarButton-focusBorderRadius)}.gux-target .gux-popup-toggle:not(:disabled):hover{color:var(--gse-ui-monthPicker-calendarStates-hoverColor);cursor:pointer}.gux-target .gux-popup-toggle:not(:disabled):focus{color:var(--gse-ui-monthPicker-calendarStates-activeColor);cursor:pointer}.gux-target .gux-popup-toggle:disabled{color:var(--gse-ui-monthPicker-calendarStates-disabledColor)}.gux-target .gux-popup-toggle.gux-expanded{color:var(--gse-ui-monthPicker-calendarStates-activeColor)}",E=O;var P=function(e,t,r,o){var s=arguments.length,a=s<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,o);else for(var u=e.length-1;u>=0;u--)(l=e[u])&&(a=(s<3?l(a):s>3?l(t,r,a):l(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a};const T={year:"numeric",month:"long"},Y=["ar","he","ja","ko","zh-cn","zh-tw"],p=class{constructor(e){m(this,e),this.disabled=!1,this.expanded=!1}onKeyDown(e){switch(e.key){case"Escape":this.expanded=!1,this.calendarToggleButtonElement.focus();break}}onValueUpdate(e){this.isOutOfBounds(e)?this.isBeforeMin(e)?this.value=this.min:this.value=this.max:this.value=e,h(this.root,"input"),h(this.root,"change")}onClickOutside(){this.expanded=!1}async componentWillLoad(){x(this.root),this.i18n=await b(this.root,B),S()?this.locale=y(this.root):this.locale=C(this.root)}onFocusout(e){e.relatedTarget&&!this.root.contains(e.relatedTarget)&&(this.expanded=!1)}isOutOfBounds(e){return this.isBeforeMin(e)||this.isAfterMax(e)}isBeforeMin(e){return this.min&&this.min>e}isAfterMax(e){return this.max&&this.max<e}toggleCalendar(){this.expanded=!this.expanded,this.expanded&&d(()=>{this.monthCalendarElement.guxFocus(this.value)})}onMonthCalendarInput(){this.value=this.monthCalendarElement.value,this.expanded=!1,this.calendarToggleButtonElement.focus()}incrementMonth(e){if(this.value){const{year:t,month:r}=i(this.value),o=((parseInt(r)+11+e)%12+1).toString().padStart(2,"0");this.value=g(t,o)}else this.value=c()}incrementYear(e){if(this.value){const{year:t,month:r}=i(this.value),o=Math.max(Number(t)+e,0).toString();this.value=g(o,r)}else this.value=c()}onSpinnerKeyDown(e,t,r){switch(e.key){case"ArrowDown":e.preventDefault(),t(-1);break;case"ArrowUp":e.preventDefault(),t(1);break;case"ArrowLeft":case"ArrowRight":e.preventDefault(),r.focus();break;case"Enter":e.preventDefault(),this.expanded=!0,d(()=>{this.monthCalendarElement.guxFocus(this.value)});break;case" ":e.preventDefault();break}}onSpinnerKeyUp(e){switch(e.stopPropagation(),e.key){case" ":e.preventDefault(),this.expanded=!0,d(()=>{this.monthCalendarElement.guxFocus(this.value)});break}}onSpinnerClick(){this.expanded=!0}getSpinnerLabel(e){if(this.value){const{year:t,month:r}=i(this.value);return new Date(Number(t),Number(r)-1).toLocaleDateString(this.locale,{[e]:T[e]})}return this.i18n(e)}getSpinnerValueNow(e){return this.value?i(this.value)[e]:"0"}getSpinnerValueText(){if(this.value){const{year:e,month:t}=i(this.value);return new Date(Number(e),Number(t)-1).toLocaleDateString(this.locale,{year:"numeric",month:"long"})}return this.i18n("unset")}renderMonthSpinnerButton(){return n("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:e=>this.onSpinnerKeyDown(e,t=>this.incrementMonth(t),this.yearSpinnerElement),onKeyUp:e=>this.onSpinnerKeyUp(e),onClick:()=>this.onSpinnerClick(),ref:e=>this.monthSpinnerElement=e,"aria-valuenow":this.getSpinnerValueNow("month"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"1","aria-valuemax":"12","aria-label":this.i18n("month")},this.getSpinnerLabel("month"))}renderYearSpinnerButton(){return n("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:e=>this.onSpinnerKeyDown(e,t=>this.incrementYear(t),this.monthSpinnerElement),onKeyUp:e=>this.onSpinnerKeyUp(e),onClick:()=>this.onSpinnerClick(),ref:e=>this.yearSpinnerElement=e,"aria-valuenow":this.getSpinnerValueNow("year"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"0","aria-label":this.i18n("year")},this.getSpinnerLabel("year"))}renderSpinnerButtons(){return Y.includes(this.locale)?n("span",{class:"gux-display"},this.renderYearSpinnerButton(),this.renderMonthSpinnerButton()):n("span",{class:"gux-display"},this.renderMonthSpinnerButton(),this.renderYearSpinnerButton())}renderCalendarToggleButton(){return n("button",{class:{"gux-popup-toggle":!0,"gux-expanded":this.expanded},ref:e=>this.calendarToggleButtonElement=e,type:"button",onClick:()=>this.toggleCalendar(),disabled:this.disabled},n("gux-icon",{"icon-name":"fa/calendar-regular","screenreader-text":this.i18n("toggleCalendar"),size:"small"}))}renderTarget(){return n("div",{class:"gux-target",slot:"target"},this.renderSpinnerButtons(),this.renderCalendarToggleButton())}renderPopup(){return n("gux-month-calendar",{slot:"popup",ref:e=>this.monthCalendarElement=e,onInput:()=>this.onMonthCalendarInput(),value:this.value,min:this.min,max:this.max})}render(){return n("gux-popup",{key:"93f458de2b8abca0b8c5d9356cb06450ed93e26f",expanded:this.expanded,disabled:this.disabled,"exceed-target-width":!0},this.renderTarget(),this.renderPopup())}get root(){return f(this)}static get watchers(){return{value:["onValueUpdate"]}}};P([v({triggerEvents:"mousedown"})],p.prototype,"onClickOutside",null);p.style=E;export{p as gux_month_picker_beta};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,c as i,h as t,H as o,g as s}from"./index-CWixJ8vL.js";import{t as n}from"./usage-36c49ec0-Dlq6IjQJ.js";const c=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0;margin:0 12px 0 8px;color:#2e394c}.gux-content .gux-title,.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0}.gux-content .gux-title{font-family:var(--gse-semantic-heading-sm-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-sm-bold-fontSize);line-height:var(--gse-semantic-heading-sm-bold-lineHeight);font-weight:var(--gse-semantic-heading-sm-bold-fontWeight)}",r=c,l=class{constructor(e){a(this,e),this.guxdismiss=i(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return t(o,{key:"05fb3239ed8a7b3b97cc88b6a613cc8b2669bf6e"},t("div",{key:"b5c97740a392fb8bf6dd10dfc17717ba9b236c1f",class:`gux-icon gux-${this.accent}`},t("slot",{key:"d8d9b5bdbc05665dee31bd29244870ff07df9078",name:"icon"})),t("div",{key:"2ea8b352598f85ad7747d86b073c96202ae05423",class:"gux-content"},t("gux-truncate",{key:"780143649c27a9a3df52ba03624923972b20c927",class:"gux-title","max-lines":1},t("slot",{key:"763979ada598277bd68461c15685570ec37f8f58",name:"title"})),t("gux-truncate",{key:"a87f67cde3759bcc6fa673580b2e2820ab48ba94",class:"gux-message","max-lines":2},t("slot",{key:"9c1e1d712dfc9ed9527934474c66b28caf8bb471",name:"message"}))),t("gux-dismiss-button",{key:"ac4562e6830355aa38569035621936aa7b8bbce2",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(e){e.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};l.style=r;export{l as gux_notification_toast_legacy};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,h as i,H as r,g as s}from"./index-CWixJ8vL.js";import{o as a}from"./on-mutation-a222fe93-BUuUxYmY.js";const l=".gux-option-group{display:block;flex:1 1 auto;align-self:auto}.gux-option-group .gux-option-group-label{display:block;padding:var(--gse-ui-menu-groupedMenu-title-padding);color:var(--gse-ui-menu-groupedMenu-title-foregroundColor);font-family:var(--gse-semantic-heading-overline-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-overline-fontSize);line-height:var(--gse-semantic-heading-overline-lineHeight);text-transform:var(--gse-semantic-heading-overline-textCase);letter-spacing:var(--gse-semantic-heading-overline-letterSpacing);font-weight:var(--gse-semantic-heading-overline-fontWeight)}:host(.gux-filtered){display:none}",d=l,g=class{constructor(t){n(this,t),this.filtered=!1,this.showDivider=!0}componentDidLoad(){this.rootParent=this.root.parentNode,this.rootParent&&(this.parentObserver=a(this.rootParent,()=>{var t;const e=Array.from((t=this.root)===null||t===void 0?void 0:t.children).filter(o=>this.isOption(o)&&!o.filtered).length>0;this.filtered=!e,this.filtered||(this.showDivider=this.hasVisibleNextSibling(this.root)&&e)}))}disconnectedCallback(){this.rootParent&&this.parentObserver.disconnect()}isOption(t){return["GUX-OPTION","GUX-OPTION-ICON"].includes(t.tagName)}hasVisibleNextSibling(t){let e=t.nextElementSibling;if(e===null)return!1;for(;e&&e.classList.contains("gux-filtered");)e=e.nextElementSibling;return!!e}renderDivider(){if(this.showDivider)return i("gux-list-divider",null)}render(){return i(r,{key:"747fb28263d3d054fbb6b880c044e93d6336e690",class:{"gux-filtered":this.filtered}},i("div",{key:"745c60fecde53593ed07ea3642b01110fd1ab40d",class:"gux-option-group"},i("div",{key:"2fa7a88de2cb2d23f857707fac9544a2c9f1c4ac",class:"gux-option-group-label",role:"presentation"},this.label),i("div",{key:"73f8be85b27a71255d9b0a615fb0aa80af5882d7",role:"group"},i("slot",{key:"f102ec73ac02c14f8910e904f985dd5828297b69"})),this.renderDivider()))}get root(){return s(this)}};g.style=d;export{g as gux_option_group_beta};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,h as o,H as s,g as a}from"./index-CWixJ8vL.js";import{g as r}from"./get-closest-element-728b9f18-C_5KDHD-.js";import{r as l}from"./random-html-id-81ac821b-D30kRngR.js";import{h as u}from"./has-slot-f24a46a6-D7GdaS0G.js";const d=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){place-content:stretch flex-start;block-size:auto}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host gux-icon{flex-shrink:0}:host .gux-option-wrapper{min-inline-size:0}",h=d,c=class{constructor(e){n(this,e),this.iconPosition="start",this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1,this.hasSubtext=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}handleActive(e){var t,i;e?(t=this.truncateElement)===null||t===void 0||t.setShowTooltip():(i=this.truncateElement)===null||i===void 0||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||l("gux-option-icon"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=u(this.root,"subtext")}getAriaSelected(){return this.disabled?!1:this.selected?"true":"false"}hasDisabledParent(){const e=r("gux-listbox",this.root);return e==null?void 0:e.disabled}renderMaybeIcon(e){if(e!==this.iconPosition)return null;let t=null;return this.iconColor!==null&&!(this.hovered||this.active)&&(t={color:this.iconColor}),o("gux-icon",{decorative:this.iconSrText==null,"screenreader-text":this.iconSrText,"icon-name":this.iconName,style:t,size:"small"})}render(){return o(s,{key:"6d6dbc917e7de11fa224f2af2c599b0cedc62d3c",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},this.renderMaybeIcon("start"),o("div",{key:"414651d27890b11df246a66b5643b83e2b4cfffd",class:"gux-option-wrapper"},o("gux-truncate",{key:"310b1eced06895d3679f022de4615cc1d6345b81",ref:e=>this.truncateElement=e},o("slot",{key:"bf902548d96fea4f8f07609de12e86de50a67f94"})),o("slot",{key:"23ad8e88113870a3e707f2c6dfbf821a994c3d11",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderMaybeIcon("end"))}get root(){return a(this)}static get watchers(){return{active:["handleActive"]}}};c.style=h;export{c as gux_option_icon};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,c as s,h as e,H as r,g as a}from"./index-CWixJ8vL.js";import{g as l}from"./get-closest-element-728b9f18-C_5KDHD-.js";import{r as u}from"./random-html-id-81ac821b-D30kRngR.js";import{b as c}from"./index-4f1356d9-DSfDpFAA.js";import{h}from"./has-slot-f24a46a6-D7GdaS0G.js";const d=", unselecting this custom option will remove it from the list",g={removeCustomElementInstructions:d},m=':host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;min-inline-size:0}:host .gux-checkbox-container{position:relative;display:inline-block;min-inline-size:var(--gse-ui-menu-option-startIcon-width);max-inline-size:var(--gse-ui-menu-option-startIcon-width);block-size:var(--gse-ui-menu-option-startIcon-height);content:""}:host .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}:host:host(.gux-disabled){opacity:var(--gse-ui-menu-option-disabled-opacity);pointer-events:none;cursor:default}:host:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host:host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-default-foregroundColor)}:host:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host:host(.gux-show-subtext){place-content:stretch flex-start;block-size:auto}:host:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host:host(:hover:not([disabled])){background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(:hover:not([disabled])):host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-hover-foregroundColor)}:host:host(:hover:not([disabled])):host(:not(.gux-selected)) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-hover-foregroundColor)}:host:host(.gux-filtered){display:none}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}',p=m,x=class{constructor(t){n(this,t),this.guxremovecustomoption=s(this,"guxremovecustomoption",7),this.internalselectcustomoption=s(this,"internalselectcustomoption",7),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.custom=!1,this.hasSubtext=!1}emitRemoveCustomOption(){!this.selected&&this.custom&&this.guxremovecustomoption.emit()}handleActive(t){var o,i;t?(o=this.truncateElement)===null||o===void 0||o.setShowTooltip():(i=this.truncateElement)===null||i===void 0||i.setHideTooltip()}async componentWillLoad(){this.i18n=await c(this.root,g),this.root.id=this.root.id||u("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=h(this.root,"subtext")}hasDisabledParent(){const t=l("gux-listbox-multi",this.root);return t==null?void 0:t.disabled}renderSVGCheckbox(){return this.selected?e("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"1 1 13 13"},e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z"})):e("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"1 1 13 13"},e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}))}renderCustomOptionInstructions(){if(this.custom)return e("span",{class:"gux-screenreader"},this.i18n("removeCustomElementInstructions"))}render(){return e(r,{key:"30c9dd90df8fb1bee4fa88b4e06c8a55f48acf6d",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.selected.toString(),"aria-disabled":this.disabled.toString()},this.renderSVGCheckbox(),e("div",{key:"134c09ce054f544cd6c18b75247e683e1f707705",class:"gux-option-wrapper"},e("gux-truncate",{key:"d9156d87787f1c6eee96dd44461eff300700f513",ref:t=>this.truncateElement=t},e("slot",{key:"19ec692e09cf8f92ecfc3d34fc3d3a8639038f7c"})),e("slot",{key:"700b3f58200b16ad18547a2000bf634eca88581d",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderCustomOptionInstructions())}get root(){return a(this)}static get watchers(){return{selected:["emitRemoveCustomOption"],active:["handleActive"]}}};x.style=p;export{x as gux_option_multi};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,h as t,g as r}from"./index-CWixJ8vL.js";import{t as a}from"./usage-36c49ec0-Dlq6IjQJ.js";const s=":host{display:flex}.gux-spinner{margin:auto}",o=s,i=class{constructor(e){n(this,e)}componentWillLoad(){a(this.root)}render(){return t("gux-radial-loading",{key:"309e160531c6d7333185bdf8197b0ad15098c56a",class:"gux-spinner","screenreader-text":this.screenreaderText,context:"full-page"})}get root(){return r(this)}};i.style=o;export{i as gux_page_loading_spinner};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,c,h as t,g as u}from"./index-CWixJ8vL.js";import{b as l}from"./index-4f1356d9-DSfDpFAA.js";import"./get-closest-element-728b9f18-C_5KDHD-.js";const p="Page",d=" of {totalPages, number}",b="First",f="Previous",h="Next",m="Last",x="Page {currentPage, number} of {totalPages, number}",P={page:p,totalPages:d,first:b,previous:f,next:h,last:m,pageInputLabel:x};class y{static getPageList(a,n){if(n<=10)return[...Array(n).keys()].map(g=>{const i=g+1;return{pageNumber:i,display:String(i),current:i===a}});if(a<=5)return[...[...Array(6).keys()].map(i=>{const o=i+1;return{pageNumber:o,display:String(o),current:o===a}}),{pageNumber:7,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}];if(a>n-5){const g=[...Array(6).keys()].map(i=>{const o=i+n-5;return{pageNumber:o,display:String(o),current:o===a}});return[{pageNumber:1,display:"1",current:!1},{pageNumber:n-6,display:"...",current:!1},...g]}const s=[...Array(5).keys()].map(g=>{const i=g+a-2;return{pageNumber:i,display:String(i),current:i===a}});return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-3,display:"...",current:!1},...s,{pageNumber:a+3,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}]}}const v="gux-pagination-buttons-legacy .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons-legacy .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:60px;text-align:center;background-color:transparent}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);padding-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);background:inherit;border:none}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset))}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);cursor:pointer;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:var(--gse-ui-dataTableItems-tablePagination-padding)}",I=v,k=class{constructor(e){r(this,e),this.internalcurrentpagechange=c(this,"internalcurrentpagechange",3),this.layout="full"}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handleClickPage(e){this.internalcurrentpagechange.emit(e)}setPageFromInput(e){const a=parseInt(e,10);!a||isNaN(a)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(a)}getPageListEnteries(e,a){return y.getPageList(e,a).reduce((n,s)=>s.current?n.concat(t("button",{class:"gux-pagination-buttons-list-button gux-current"},s.display)):n.concat(t("button",{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(s.pageNumber)},s.display)),[])}getSmallPagePicker(){return t("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return t("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return t("div",{class:"gux-pagination-buttons-input-container"},t("div",null,this.i18n("page")),t("div",{class:"gux-pagination-buttons-input"},t("gux-form-field-text-like",{"label-position":"screenreader"},t("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),t("input",{type:"text",slot:"input",value:String(this.currentPage),ref:e=>this.textFieldRef=e,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),t("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(e){return e==="small"?this.getSmallPagePicker():e==="expanded"?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await l(this.root,P)}render(){return t("div",{key:"94e78129a0eab8031622b92ed8fe5f392a6495b0",class:`gux-pagination-buttons-container gux-${this.layout}`},t("div",{key:"5c1a04dc93ae0fd25c4f0b1121d633fe9b951b2c",class:"gux-pagination-buttons-group"},t("gux-button-slot",{key:"6cbc04a2b7e1bfb448894c8895ac3232648e5fc3",accent:"ghost"},t("button",{key:"7e05c92cd3e4fff399ce9dbbff8e6f97e4c45147",title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},t("gux-icon",{key:"6f8f9d39f5124c98221b90b840557f79d1bd206a",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),t("gux-button-slot",{key:"36ea45dfcb84f21e0968dd47f11e56296596ade3",accent:"ghost"},t("button",{key:"e3f613c72ab8a52b831bd02d8467a446d72fd767",title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},t("gux-icon",{key:"be79fa6701289fe96cba8dd9c50772159c56de5c",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPagePicker(this.layout),t("div",{key:"3152b124bf97384c1d0bc4b9412e0c112a4d6812",class:"gux-pagination-buttons-group"},t("gux-button-slot",{key:"74f2c533370dab51946d1fd639382c57cfb4435c",accent:"ghost"},t("button",{key:"10765d3f555991bde133be3fade1fba2185bb7cc",title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},t("gux-icon",{key:"454302ddb2294af9922116255aa3f60eace8edf0",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),t("gux-button-slot",{key:"f4fc51a9e28351e111813f10b09a7aa5bc04d985",accent:"ghost"},t("button",{key:"05e9a24f9c28995d8876ee2f76ab351a6e271830",title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},t("gux-icon",{key:"718c22f69a257dfa66d7c13256d8dca985cca2d9",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return u(this)}};k.style=I;const T="{firstItem, number} - {lastItem, number}",w=" of {totalItems, number}",C={itemCountDisplay:T,totalItems:w},L="gux-pagination-item-counts-legacy .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}",S=L,F=class{constructor(e){r(this,e),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await l(this.root,C)}render(){return t("div",{key:"adc625e79d3bc3b2cee319fd36e01a6a7b55e2f0",class:"gux-pagination-item-counts-container"},t("span",{key:"ae0af79204b86e5902722892101fa644a8705a18",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),t("span",{key:"98a27d3f011a9766d9fb69be3b1f47bb45e7a408"},this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return u(this)}};F.style=S;const N="per page",R="Items per page",_="Items per page dropdown, {range} selected",D={perPage:N,itemsPerPage:R,rangeSelected:_},z="gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}",E=z,W=class{constructor(e){r(this,e),this.internalitemsperpagechange=c(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(e){e.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await l(this.root,D)}getDropdown(){return t("gux-dropdown",{ref:e=>this.dropdownElement=e,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},t("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},t("gux-option",{value:"25"},"25"),t("gux-option",{value:"50"},"50"),t("gux-option",{value:"75"},"75"),t("gux-option",{value:"100"},"100")))}render(){return t("div",{key:"e601a72a600861196a6ef6ccdd5f55f43d6eee03",class:"gux-pagination-items-per-page-container"},t("div",{key:"907d9f76dc84110cad4d4e52a23b8e675ab36f0f",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),t("div",{key:"ec10de58cb9cfdbb2b75cae02a414cd8e79f924c",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return u(this)}};W.style=E;export{k as gux_pagination_buttons_legacy,F as gux_pagination_item_counts_legacy,W as gux_pagination_items_per_page_legacy};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,c as g,h as a,g as u}from"./index-CWixJ8vL.js";import{b as l}from"./index-4f1356d9-DSfDpFAA.js";import{t as c}from"./en-25a315a0-C7J6_avI.js";import{b as d}from"./after-next-render-07a41f53-C_KTwidI.js";import"./get-closest-element-728b9f18-C_5KDHD-.js";class b{static displayAllPageButtons(e,s,n){switch(n){case"advanced":return p(e,s);case"simple":return h(e,s)}}}function p(t,e){if(e<=7)return[...Array(e).keys()].map(n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}});if(t<=3)return[...[...Array(5).keys()].map(i=>{const r=i+1;return{pageNumber:r,display:String(r),current:r===t}}),{pageNumber:6,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}];if(t>e-3){const n=[...Array(5).keys()].map(i=>{const r=i+e-4;return{pageNumber:r,display:String(r),current:r===t}});return[{pageNumber:1,display:"1",current:!1},{pageNumber:e-6,display:"...",current:!1},...n]}const s=[...Array(3).keys()].map(n=>{const i=n+t-1;return{pageNumber:i,display:String(i),current:i===t}});return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...s,{pageNumber:t+3,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}]}function h(t,e){if(e<=3)return[...Array(e).keys()].map(s=>{const n=s+1;return{pageNumber:n,display:String(n),current:n===t}});if(e===t)return[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:!0}];if(e>=4)return[...[...Array(1).keys()].map(n=>{const i=n+t;return{pageNumber:i,display:String(i),current:i!==e}}),{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:e==t}]}const m="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}",f=m,y=class{constructor(t){o(this,t),this.internalcurrentpagechange=g(this,"internalcurrentpagechange",3),this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),d(()=>{this.currentElement.focus()})}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,e,s){return b.displayAllPageButtons(t,e,s).reduce((n,i)=>i.current?n.concat(a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,ref:r=>this.currentElement=r,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:i.pageNumber})},i.display))):i.display=="..."?n.concat(a("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages})):n.concat(a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(i.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:i.pageNumber})},i.display))),[])}getPageNavigation(){return a("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await l(this.root,c)}render(){return a("div",{key:"2adf432e5c8561b88b47d64651419539faeaacdb",class:`gux-pagination-buttons-container gux-${this.layout}`},a("div",{key:"fe8298d4f799e7492132fd918ad8a14c31c39e9c",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"607b0df667dc90c5e1aea01917a84d802e88b1e7",accent:"ghost","icon-only":!0},a("button",{key:"d72f33998b80efd44b59810674ec8baf8c8b48c3",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},a("gux-icon",{key:"47a7aea9eea057e7799c8d361ae3d664da4018c1",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),a("gux-button-slot",{key:"ff72d4e40c0614d548229f789db35c079d77679e",accent:"ghost","icon-only":!0},a("button",{key:"76ee67311429e3343530922bad3ec2d98c9260c9",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},a("gux-icon",{key:"beb59b0a8e1812c18c9e8400912431bb1a9f746e",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),a("div",{key:"2b6ec10a6a777fac2a1ad1b2742d56b7c83f5425",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"3515d6107c5a65b6a044ca5aa12adc06223086db",accent:"ghost","icon-only":!0},a("button",{key:"3579ead5a7abab3ef4575c7aec7d49d088b6bb12",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},a("gux-icon",{key:"a71bda9da92ddb4047b899156c278fdf3431187f",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("gux-button-slot",{key:"71eb9a560a4fab1182cb78131508a2841bb73a2d",accent:"ghost","icon-only":!0},a("button",{key:"185d069f2424e873b521593bd4c5befbf2d5b05f",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},a("gux-icon",{key:"f4b756e0c76c7071dc98f62493c0807143853280",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return u(this)}};y.style=f;const x="{firstItem, number} - {lastItem, number}",I=" of {totalItems, number}",P={itemCountDisplay:x,totalItems:I},k="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}",v=k,C=class{constructor(t){o(this,t),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await l(this.root,P)}getPaginationItemCountsRange(){if(this.totalItems)return a("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return a("div",{key:"325a05d29604b38315f1a95318a691daad41d412",class:"gux-pagination-item-counts-container"},a("span",{key:"4c6e277325a88e839ece1ef0ce21f638c7810dbb",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),a("span",{key:"7c670909cd37292ef639c1fa993c8782c0ffc8d9",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return u(this)}};C.style=v;export{y as gux_pagination_buttons,C as gux_pagination_item_counts};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,c as a,h as t,g as i}from"./index-CWixJ8vL.js";import{t as s}from"./usage-36c49ec0-Dlq6IjQJ.js";import{b as o}from"./index-4f1356d9-DSfDpFAA.js";import"./get-closest-element-728b9f18-C_5KDHD-.js";const r="Previous",l="Next",u={previous:r,next:l},g=":host{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;padding:var(--gse-ui-dataTableItems-tablePagination-padding);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}:host .gux-pagination-button-container{display:flex;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:center}:host .gux-button-align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);align-content:center;align-items:center}:host .gux-button-align-content>*{flex:0 1 auto;align-self:auto;order:0}:host gux-icon{display:flex}",c=g,h=class{constructor(e){n(this,e),this.guxPaginationCursorchange=a(this,"guxPaginationCursorchange",7),this.guxitemsperpagechange=a(this,"guxitemsperpagechange",7),this.hasPrevious=!1,this.hasNext=!1,this.layout="simple"}handleInternalitemsperpagechange(e){this.guxitemsperpagechange.emit(e.detail)}onButtonClick(e){(e==="previous"&&this.hasPrevious||e==="next"&&this.hasNext)&&this.guxPaginationCursorchange.emit(e)}async componentWillLoad(){s(this.root),this.i18n=await o(this.root,u)}renderSimpleLayout(){return[t("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},t("gux-button-slot",{accent:"ghost"},t("button",{class:"gux-simple-button",type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},t("gux-icon",{iconName:"custom/chevron-left-small-regular","screenreader-text":this.i18n("previous"),size:"small"}))),t("gux-button-slot",{accent:"ghost"},t("button",{class:"gux-simple-button",type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},t("gux-icon",{iconName:"custom/chevron-right-small-regular","screenreader-text":this.i18n("next"),size:"small"}))))]}renderAdvancedLayout(){return[t("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},t("gux-button-slot",{accent:"ghost"},t("button",{type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},t("div",{class:"gux-button-align-content"},t("gux-icon",{decorative:!0,iconName:"custom/chevron-left-small-regular",size:"small"}),t("span",null,this.i18n("previous"))))),t("gux-button-slot",{accent:"ghost"},t("button",{type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},t("div",{class:"gux-button-align-content"},t("span",null,this.i18n("next")),t("gux-icon",{decorative:!0,iconName:"custom/chevron-right-small-regular",size:"small"}))))),this.renderItemsPerPage()]}renderItemsPerPage(){return this.itemsPerPage&&t("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})}render(){return this.layout==="advanced"?this.renderAdvancedLayout():this.renderSimpleLayout()}get root(){return i(this)}};h.style=c;export{h as gux_pagination_cursor};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c as n,h as e,g}from"./index-CWixJ8vL.js";import{b as o}from"./index-4f1356d9-DSfDpFAA.js";import"./get-closest-element-728b9f18-C_5KDHD-.js";const r="per page",s="Items per page",p="Items per page dropdown, {range} items per page selected",l={perPage:r,itemsPerPage:s,rangeSelected:p},d="gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;inline-size:fit-content}gux-pagination-items-per-page .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{inset-block-end:100%;display:flex;flex-direction:column-reverse}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}",u=d,c=class{constructor(a){i(this,a),this.internalitemsperpagechange=n(this,"internalitemsperpagechange",3),this.itemsPerPage=25,this.disabled=!1}handleChange(a){a.stopPropagation();const t=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(t)}async componentWillLoad(){this.i18n=await o(this.root,l)}getDropdown(){return e("gux-dropdown",{ref:a=>this.dropdownElement=a,value:`${this.itemsPerPage}`,disabled:this.disabled,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},e("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},e("gux-option",{value:"25"},"25"),e("gux-option",{value:"50"},"50"),e("gux-option",{value:"75"},"75"),e("gux-option",{value:"100"},"100")))}render(){return e("div",{key:"56e33dac3f981827817fb7269ca2800806ec7f28",class:"gux-pagination-items-per-page-container"},e("div",{key:"f2314d4e85a4075d034443ab4f90e17dd36b628c",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{key:"c4e0d414394824783edd508c800797fe073ea294",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return g(this)}};c.style=u;export{c as gux_pagination_items_per_page};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,c as i,h as t,g}from"./index-CWixJ8vL.js";import{t as r}from"./usage-36c49ec0-Dlq6IjQJ.js";const s=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}",o=s,l=class{constructor(a){n(this,a),this.guxpaginationchange=i(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full"}setPage(a){if(a<=0){this.setPage(1);return}const e=this.calculateTotalPages();if(a>e){this.setPage(e);return}this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage})}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){const a=this.totalPages>0?1:0;return Math.max(a,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if(a==="expanded")return null;const e=[t("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return a==="full"&&e.push(t("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),t("div",{class:"gux-pagination-info"},e)}componentWillLoad(){r(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return t("div",{key:"9fb7768816e0454d90373f6a01ab55569763ec1a",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),t("div",{key:"24c5f9d3d51777b64071d9ebf14ba61ad930788b",class:"gux-pagination-change"},t("gux-pagination-buttons-legacy",{key:"162dd6ade2c6aba07a3810d3ca26908c706cc630",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return g(this)}};l.style=o;export{l as gux_pagination_legacy};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,c as s,b as r,h as a,g as o}from"./index-CWixJ8vL.js";import{a as g}from"./after-next-render-07a41f53-C_KTwidI.js";import{t as c}from"./usage-36c49ec0-Dlq6IjQJ.js";const l=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}",h=l,d=24,u=class{constructor(e){n(this,e),this.guxpaginationchange=s(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1}setPage(e){if(e<=0){this.setPage(1);return}const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);if(e>t){this.setPage(t);return}this.currentPage=e,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage})}handleInternalitemsperpagechange(e){this.itemsPerPage=e.detail,this.setPage(1)}handleInternalcurrentpagechange(e){this.setPage(e.detail)}calculateTotalPages(e,t){return Math.max(1,Math.ceil(e/t))}calculateCurrentPage(e,t){const i=e>0?1:0;return Math.max(i,Math.min(t,e))}checkPaginationContainerWidthForLayout(){r(()=>{const e=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=e.clientWidth;t.clientWidth<d&&this.displayedLayout!=="simple"?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)})}componentWillLoad(){c(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(()=>this.checkPaginationContainerWidthForLayout())),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),g(()=>{this.checkPaginationContainerWidthForLayout()},500)}render(){return a("div",{key:"9847ec11f3d6ce2701b45e37609a04a0cd817a1b",class:"gux-pagination-container"},a("div",{key:"dd201c74a25ec351b7c2135df3a78c1afa188a04",class:"gux-pagination-info"},a("gux-pagination-item-counts",{key:"8fa2f803d855138268436e80406b387b7b6d46b1","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),this.displayedLayout==="advanced"&&a("gux-pagination-items-per-page",{key:"7a9a67683d8f886b0bb4f746a859c9b453bfe9f7",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),a("div",{key:"9cb7c65b1dfb7fbb7e0c982c4ab85b2ca29de9bd",class:"gux-pagination-spacer"}),a("div",{key:"7611f183470ff573eea93ccb51d43f4f135e791b",class:"gux-pagination-change"},a("gux-pagination-buttons",{key:"e322b2e19a780b3bf769591bfd3913a758b022f3",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return o(this)}};u.style=h;export{u as gux_pagination};
|