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 -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AQ,UACR,qBAAsB,SACtB,qBAAsB,SACtB,cAAe,SACf,mBAAoB,SACpBC,UAAW,WACX,4BAA6B,SAC7B,gCAAiC,SACjC,4BAA6B,UAC7BC,KAAM,SACN,YAAa,SACbC,OAAQ,SACR,yBAA0B,UAC1BC,WAAY,UACZC,UAAW,SACXC,OAAQ,UA0DRC,WAxDkB,CAClBC,KAAM,MACNC,IAAK,uDAuDLC,OArDc,CACdrB,WAAY,CACXsB,KAAM,6CAoDPC,WAjDkB,CAClB,QAAW,CACV,mCAEDC,MAAO,CACN,eAAgB,CACf,EACA,QACA,CACC,cACA,iBAwCHZ,UAnCiB,CACjB,QAAW,CACV,4BACA,gCACA,6BAEDY,MAAO,CACN,4BAA6B,KAC7B,yBAA0B,KAC1B,2BAA4B,EAC3B,EACA,CACCC,YAAa,CACZ,UACA,sBAsBJ,cAAe,CACf,oBAAqB,CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBAEtBC,GAAqB,EAKzB,SAAShF,EAAemB,EAAS8D,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAF,KASP,WACE,IAAME,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BvD,EAAYE,QAAQuD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAL,EAASM,cAAcT,EAAmB,CACxCU,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAZ,GAAqB,GAEvBE,EAASM,cAlBiB,kBAkBkBK,OAAOC,OAAOD,OAAOC,OAAO,GAAIb,GAAW,CAAEc,UAAW5E,EAAQ6E,QAAQC,cAAepE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-list.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst guxListCss = \"gux-list .gux-list-items-container{padding:8px 0;margin:0;list-style:none;background:#fdfdfd;border:1px solid #aeb9c6;border-radius:4px;box-shadow:0 2px 4px rgba(34, 37, 41, 0.24)}\";\n\nconst validChildren = [\n 'gux-list-item:not([disabled])',\n 'gux-action-item:not([disabled])'\n].join(',');\nlet GuxList = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.changed = createEvent(this, \"changed\", 7);\n /**\n * The currently selected index.\n */\n this.selectedIndex = -1;\n /**\n * Using a mutation observer because component loading order is not quite right.\n * In this case we are attempting to update a component that updates a component.\n * What ends up happening is that there is no hook to make sure all components have loaded.\n * When the DOM load order gets fixed we should be able to remove this logic.\n * https://github.com/ionic-team/stencil/issues/1261\n */\n this.observer = new MutationObserver(() => {\n this.performHighlight(this.highlight);\n });\n }\n emitChanged(value) {\n this.changed.emit(value);\n }\n itemSelected(ev) {\n if (!ev.detail) {\n return;\n }\n this.value = ev.detail;\n }\n valueHandler(newValue) {\n this.emitChanged(newValue);\n }\n /*\n * Sets focus to the fist item in the list.\n */\n async setFocusOnFirstItem() {\n this.selectedIndex = 0;\n this.updateTabIndexes();\n }\n /*\n * Sets focus to the last item in the list.\n */\n async setFocusOnLastItem() {\n const filteredList = this.root.querySelectorAll(validChildren);\n this.selectedIndex = filteredList.length - 1;\n this.updateTabIndexes();\n }\n /**\n * Returns whether the last item in the list is selected.\n */\n async isLastItemSelected() {\n const filteredList = this.root.querySelectorAll(validChildren);\n return this.selectedIndex === filteredList.length - 1;\n }\n /**\n * Returns whether the first item in the list is selected.\n */\n async isFirstItemSelected() {\n return this.selectedIndex <= 0;\n }\n componentWillLoad() {\n trackComponent(this.root);\n }\n /**\n * Once the component is loaded\n */\n componentDidLoad() {\n this.performHighlight(this.highlight);\n this.observer.observe(this.root, { childList: true, subtree: true });\n }\n disconnectedCallback() {\n this.observer.disconnect();\n }\n render() {\n this.performHighlight(this.highlight);\n this.updateTabIndexes();\n return (h(\"div\", { class: \"gux-list-items-container\", role: \"list\", tabindex: 0, onKeyDown: e => this.onKeyDown(e) }, h(\"slot\", null)));\n }\n onKeyDown(event) {\n const validKeys = [38 /* Up */, 40 /* Down */, 35 /* End */, 36 /* Home */];\n const key = event.keyCode;\n if (validKeys.indexOf(key) === -1) {\n return;\n }\n const filteredList = this.root.querySelectorAll(validChildren);\n let newIndex = -1;\n switch (key) {\n case 38 /* Up */:\n if (this.selectedIndex) {\n newIndex = this.selectedIndex - 1;\n event.stopPropagation();\n }\n break;\n case 36 /* Home */:\n if (this.selectedIndex) {\n newIndex = 0;\n }\n break;\n case 40 /* Down */:\n if (this.selectedIndex !== filteredList.length - 1) {\n newIndex = this.selectedIndex + 1;\n event.stopPropagation();\n }\n break;\n case 35 /* End */:\n if (this.selectedIndex !== filteredList.length - 1) {\n newIndex = filteredList.length - 1;\n }\n break;\n }\n if (newIndex !== -1) {\n this.selectedIndex = newIndex;\n }\n }\n updateTabIndexes() {\n const children = this.root.querySelectorAll(validChildren);\n if (!children || this.selectedIndex === -1) {\n return;\n }\n children.forEach((element, index) => {\n if (index !== this.selectedIndex) {\n element.setAttribute('tabindex', '-1');\n }\n else {\n element.setAttribute('tabindex', '0');\n element.focus();\n setTimeout(() => {\n this.value = element.value;\n });\n }\n });\n }\n performHighlight(value) {\n const items = this.root.querySelectorAll('gux-text-highlight');\n if (!items) {\n return;\n }\n items.forEach((element) => {\n element.highlight = value;\n });\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"value\": [\"valueHandler\"]\n }; }\n};\nGuxList.style = guxListCss;\n\nexport { GuxList as gux_list };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["validChildren","join","GuxList","hostRef","registerInstance","this","changed","createEvent","selectedIndex","observer","MutationObserver","performHighlight","highlight","value","emit","ev","detail","newValue","emitChanged","updateTabIndexes","filteredList","root","querySelectorAll","length","trackComponent","observe","childList","subtree","disconnect","h","class","role","tabindex","onKeyDown","e","event","key","keyCode","indexOf","newIndex","stopPropagation","children","forEach","element","index","setAttribute","focus","setTimeout","items","getElement","style","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[2131],{2131:function(t,e,n){n.r(e),n.d(e,{gux_content_search:function(){return p}});var i=n(4165),o=n(5861),r=n(5671),s=n(3144),c=n(4723),a=n(8125),u=n(8782),l=n(5618),d={eraseBtnAria:"Clear",navigateNextBtn:"Next",navigatePreviousBtn:"Previous",totalMatches:"{currentMatch, number} of {matchCount, number}"},p=function(){function t(e){(0,r.Z)(this,t),(0,c.r)(this,e),this.guxcurrentmatchchanged=(0,c.c)(this,"guxcurrentmatchchanged",7),this.matchCount=0,this.currentMatch=0}return(0,s.Z)(t,[{key:"clear",value:function(){var t=(0,o.Z)((0,i.Z)().mark((function t(){return(0,i.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.disabled){t.next=2;break}return t.abrupt("return");case 2:this.matchCount=0,this.currentMatch=0,this.value="",this.emitCurrentMatchChanged(),this.resetInputSlottedElement();case 7:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"componentWillLoad",value:function(){var t=(0,o.Z)((0,i.Z)().mark((function t(){var e=this;return(0,i.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(0,a.t)(this.root),t.next=3,(0,u.b)(this.root,d);case 3:this.i18n=t.sent,this.inputSlottedElement=this.root.querySelector("input"),this.disabled=this.inputSlottedElement.disabled,this.value=this.inputSlottedElement.value,this.disabledObserver=(0,l.o)(this.inputSlottedElement,(function(t){e.disabled=t})),this.inputSlottedElement.addEventListener("input",(function(t){return e.onInput(t)}));case 9:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect()}},{key:"render",value:function(){return(0,c.h)("div",{class:{"gux-disabled":this.disabled,"gux-content":!0}},(0,c.h)("div",{class:"gux-search-icon"},(0,c.h)("gux-icon",{decorative:!0,"icon-name":"search"})),(0,c.h)("slot",null),this.getNavigationPanel())}},{key:"getNavigationPanel",value:function(){var t=this;if(this.showNavigationPanel()){var e=this.disableNavigationPanel();return(0,c.h)("div",{class:"gux-content-control-panel"},(0,c.h)("div",{class:{"gux-navigation-panel":!0,"gux-navigation-disabled":e},title:this.matchCountResult()},(0,c.h)("span",{class:{"gux-navigation-result":!0,"gux-navigation-result-disabled":e},"aria-label":this.matchCountResult()},this.matchCountResult()),(0,c.h)("button",{type:"button",class:"gux-previous-button",title:this.i18n("navigatePreviousBtn"),"aria-label":this.i18n("navigatePreviousBtn"),onClick:function(){return t.previousClick()},disabled:e},(0,c.h)("gux-icon",{decorative:!0,"icon-name":"arrow-solid-up"})),(0,c.h)("button",{type:"button",class:"gux-next-button",title:this.i18n("navigateNextBtn"),"aria-label":this.i18n("navigateNextBtn"),onClick:function(){return t.nextClick()},disabled:e},(0,c.h)("gux-icon",{decorative:!0,"icon-name":"arrow-solid-down"}))),(0,c.h)("button",{type:"button",class:"gux-clear-button",title:this.i18n("eraseBtnAria"),"aria-label":this.i18n("eraseBtnAria"),onClick:function(){return t.clear()},disabled:this.disabled},(0,c.h)("gux-icon",{decorative:!0,"icon-name":"close"})))}return null}},{key:"matchCountResult",value:function(){return this.i18n("totalMatches",{currentMatch:this.getNormalizedCurrentMatch(),matchCount:this.getNormalizedMatchCount()})}},{key:"showNavigationPanel",value:function(){return""!==this.value}},{key:"disableNavigationPanel",value:function(){return this.disabled||this.getNormalizedMatchCount()<=0}},{key:"getNormalizedMatchCount",value:function(){return this.matchCount&&Number.isInteger(this.matchCount)&&this.matchCount>=0?Number(this.matchCount):0}},{key:"getNormalizedCurrentMatch",value:function(){return this.currentMatch&&Number.isInteger(this.currentMatch)&&this.currentMatch>=0&&this.currentMatch<=this.getNormalizedMatchCount()&&this.getNormalizedMatchCount()>0?Number(this.currentMatch):0}},{key:"resetInputSlottedElement",value:function(){this.inputSlottedElement.value="",this.inputSlottedElement.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0})),this.inputSlottedElement.dispatchEvent(new InputEvent("change",{bubbles:!0}))}},{key:"nextClick",value:function(){this.disableNavigationPanel()||(this.getNormalizedCurrentMatch()===this.getNormalizedMatchCount()?this.currentMatch=1:this.currentMatch=this.getNormalizedCurrentMatch()+1,this.emitCurrentMatchChanged())}},{key:"previousClick",value:function(){this.disableNavigationPanel()||(1===this.getNormalizedCurrentMatch()||0===this.getNormalizedCurrentMatch()?this.currentMatch=this.getNormalizedMatchCount():this.currentMatch=this.getNormalizedCurrentMatch()-1,this.emitCurrentMatchChanged())}},{key:"onInput",value:function(t){this.value=t.target.value}},{key:"emitCurrentMatchChanged",value:function(){this.guxcurrentmatchchanged.emit(this.getNormalizedCurrentMatch())}},{key:"root",get:function(){return(0,c.g)(this)}}]),t}();p.style="gux-content-search{display:inline-block;width:300px;min-width:300px;color:#666f7b}gux-content-search gux-icon{width:16px;height:16px}gux-content-search .gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-content-search .gux-content{box-sizing:border-box;display:flex;flex-direction:row;width:100%;height:32px;padding:4px 0 4px 0;margin:4px 0;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px}gux-content-search .gux-content.gux-focused,gux-content-search .gux-content:focus,gux-content-search .gux-content:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}gux-content-search .gux-content .gux-search-icon{display:flex;flex-shrink:0;align-items:center;padding-top:0;padding-right:4px;padding-bottom:0;padding-left:8px}gux-content-search .gux-content .gux-search-icon:disabled{pointer-events:none;cursor:default;opacity:0.5}gux-content-search .gux-content input{box-sizing:border-box;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;background-color:#fdfdfd;background-image:none;border:1px solid #77828f;border-radius:2px;flex-basis:100%;flex-shrink:1;min-width:0;height:22px;padding:0;color:#33383d;background-color:#f8f8f8;border:0;border-radius:0}gux-content-search .gux-content input::placeholder{color:#666f7b}gux-content-search .gux-content input::-webkit-input-placeholder{color:#666f7b}gux-content-search .gux-content input::-ms-input-placeholder{color:#666f7b}gux-content-search .gux-content input::-moz-placeholder{color:#666f7b}gux-content-search .gux-content input.gux-focused,gux-content-search .gux-content input:focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}gux-content-search .gux-content input.gux-focused,gux-content-search .gux-content input:focus{border:0;outline:none;box-shadow:none}gux-content-search .gux-content .gux-content-control-panel{box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;align-content:center;align-items:center;justify-content:flex-end;height:22px;padding:0;line-height:1.66666667}gux-content-search .gux-content .gux-content-control-panel button{display:block;align-items:center;overflow:hidden;color:#666f7b;cursor:pointer;background:none;border:none;border-radius:4px;outline:none}gux-content-search .gux-content .gux-content-control-panel button:disabled{pointer-events:none;cursor:default;opacity:0.5}gux-content-search .gux-content .gux-content-control-panel button:not(:disabled):hover,gux-content-search .gux-content .gux-content-control-panel button:not(:disabled):focus{color:#33383d}gux-content-search .gux-content .gux-content-control-panel button:focus:enabled{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}gux-content-search .gux-content .gux-content-control-panel .gux-clear-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-right:8px;margin-left:8px}gux-content-search .gux-content .gux-content-control-panel .gux-navigation-disabled{pointer-events:auto;cursor:default;opacity:0.5}gux-content-search .gux-content .gux-content-control-panel .gux-navigation-panel{display:flex;align-content:center;align-items:center;justify-content:flex-end;border-right:1px solid #666f7b}gux-content-search .gux-content .gux-content-control-panel .gux-navigation-panel .gux-navigation-result{align-items:center;padding-left:8px;font-family:inherit;font-size:12px;white-space:nowrap}gux-content-search .gux-content .gux-content-control-panel .gux-navigation-panel .gux-previous-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-left:4px}gux-content-search .gux-content .gux-content-control-panel .gux-navigation-panel .gux-next-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-right:4px}"},5618:function(t,e,n){function i(t,e){var n=new MutationObserver((function(n){n.forEach((function(){e(t.hidden)}))}));return n.observe(t,{attributes:!0,attributeFilter:["hidden"]}),n}function o(t,e){var n=new MutationObserver((function(n){n.forEach((function(n){"disabled"===n.attributeName&&e(t.disabled)}))}));return n.observe(t,{attributes:!0}),n}function r(t,e){var n=new MutationObserver((function(n){n.forEach((function(n){"required"===n.attributeName&&e(t.required)}))}));return n.observe(t,{attributes:!0}),n}n.d(e,{a:function(){return r},b:function(){return i},o:function(){return o}})},8125:function(t,e,n){n.d(e,{t:function(){return c}});var i=n(885),o={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},r="spark-library",s=!1;function c(t,e){var n=window.newrelic;n&&(s||(!function(){var t=window.newrelic;if(!t)return;var e=o.version.split("."),n=(0,i.Z)(e,3),s=n[0],c=n[1],a=n[2];t.addPageAction(r,{fullVersion:"".concat(s,".").concat(c,".").concat(a),majorVersion:s,minorVersion:"".concat(s,".").concat(c)})}(),s=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:o.version})))}}}]);
|
|
2
|
-
//# sourceMappingURL=2131.e90e6224.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/2131.e90e6224.chunk.js","mappings":"wPASMA,EAAyB,CAC9BC,aALoB,QAMpBC,gBALuB,OAMvBC,oBAL2B,WAM3BC,aALoB,kDAUjBC,EAAgB,WAClB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,wBAAyBC,EAAAA,EAAAA,GAAYF,KAAM,yBAA0B,GAI1EA,KAAKG,WAAa,EAIlBH,KAAKI,aAAe,EAXJ,6EAgBlB,uFACMJ,KAAKK,SADX,iDAIEL,KAAKG,WAAa,EAClBH,KAAKI,aAAe,EACpBJ,KAAKM,MAAQ,GACbN,KAAKO,0BACLP,KAAKQ,2BARP,gDAhBkB,8HA0BlB,qGACEC,EAAAA,EAAAA,GAAeT,KAAKU,MADtB,UAEoBC,EAAAA,EAAAA,GAAsBX,KAAKU,KAAMlB,GAFrD,OAEEQ,KAAKY,KAFP,OAGEZ,KAAKa,oBAAsBb,KAAKU,KAAKI,cAAc,SACnDd,KAAKK,SA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,SACN,YAAa,SACbC,OAAQ,SACR,yBAA0B,UAC1BC,WAAY,UACZC,UAAW,SACXC,OAAQ,UA0DRC,WAxDkB,CAClB5E,KAAM,MACN6E,IAAK,uDAuDLC,OArDc,CACdpB,WAAY,CACXqB,KAAM,6CAoDPC,WAjDkB,CAClB,QAAW,CACV,mCAEDC,MAAO,CACN,eAAgB,CACf,EACA,QACA,CACC,cACA,iBAwCHX,UAnCiB,CACjB,QAAW,CACV,4BACA,gCACA,6BAEDW,MAAO,CACN,4BAA6B,KAC7B,yBAA0B,KAC1B,2BAA4B,EAC3B,EACA,CACCC,YAAa,CACZ,UACA,sBAsBJ,cAAe,CACf,oBAAqB,CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBAEtBC,GAAqB,EAKzB,SAASxG,EAAeuC,EAASkE,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAF,KASP,WACE,IAAME,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BrD,EAAYE,QAAQqD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAL,EAASM,cAAcT,EAAmB,CACxCU,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAZ,GAAqB,GAEvBE,EAASM,cAlBiB,kBAkBkBK,OAAOC,OAAOD,OAAOC,OAAO,GAAIb,GAAW,CAAEc,UAAWhF,EAAQiF,QAAQC,cAAelE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-content-search.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-attribute-change-2b01c315.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\nimport { o as onDisabledChange } from './on-attribute-change-2b01c315.js';\n\nconst eraseBtnAria = \"Clear\";\nconst navigateNextBtn = \"Next\";\nconst navigatePreviousBtn = \"Previous\";\nconst totalMatches = \"{currentMatch, number} of {matchCount, number}\";\nconst contentSearchResources = {\n\teraseBtnAria: eraseBtnAria,\n\tnavigateNextBtn: navigateNextBtn,\n\tnavigatePreviousBtn: navigatePreviousBtn,\n\ttotalMatches: totalMatches\n};\n\nconst guxContentSearchCss = \"gux-content-search{display:inline-block;width:300px;min-width:300px;color:#666f7b}gux-content-search gux-icon{width:16px;height:16px}gux-content-search .gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-content-search .gux-content{box-sizing:border-box;display:flex;flex-direction:row;width:100%;height:32px;padding:4px 0 4px 0;margin:4px 0;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px}gux-content-search .gux-content.gux-focused,gux-content-search .gux-content:focus,gux-content-search .gux-content:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}gux-content-search .gux-content .gux-search-icon{display:flex;flex-shrink:0;align-items:center;padding-top:0;padding-right:4px;padding-bottom:0;padding-left:8px}gux-content-search .gux-content .gux-search-icon:disabled{pointer-events:none;cursor:default;opacity:0.5}gux-content-search .gux-content input{box-sizing:border-box;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;background-color:#fdfdfd;background-image:none;border:1px solid #77828f;border-radius:2px;flex-basis:100%;flex-shrink:1;min-width:0;height:22px;padding:0;color:#33383d;background-color:#f8f8f8;border:0;border-radius:0}gux-content-search .gux-content input::placeholder{color:#666f7b}gux-content-search .gux-content input::-webkit-input-placeholder{color:#666f7b}gux-content-search .gux-content input::-ms-input-placeholder{color:#666f7b}gux-content-search .gux-content input::-moz-placeholder{color:#666f7b}gux-content-search .gux-content input.gux-focused,gux-content-search .gux-content input:focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}gux-content-search .gux-content input.gux-focused,gux-content-search .gux-content input:focus{border:0;outline:none;box-shadow:none}gux-content-search .gux-content .gux-content-control-panel{box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;align-content:center;align-items:center;justify-content:flex-end;height:22px;padding:0;line-height:1.66666667}gux-content-search .gux-content .gux-content-control-panel button{display:block;align-items:center;overflow:hidden;color:#666f7b;cursor:pointer;background:none;border:none;border-radius:4px;outline:none}gux-content-search .gux-content .gux-content-control-panel button:disabled{pointer-events:none;cursor:default;opacity:0.5}gux-content-search .gux-content .gux-content-control-panel button:not(:disabled):hover,gux-content-search .gux-content .gux-content-control-panel button:not(:disabled):focus{color:#33383d}gux-content-search .gux-content .gux-content-control-panel button:focus:enabled{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}gux-content-search .gux-content .gux-content-control-panel .gux-clear-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-right:8px;margin-left:8px}gux-content-search .gux-content .gux-content-control-panel .gux-navigation-disabled{pointer-events:auto;cursor:default;opacity:0.5}gux-content-search .gux-content .gux-content-control-panel .gux-navigation-panel{display:flex;align-content:center;align-items:center;justify-content:flex-end;border-right:1px solid #666f7b}gux-content-search .gux-content .gux-content-control-panel .gux-navigation-panel .gux-navigation-result{align-items:center;padding-left:8px;font-family:inherit;font-size:12px;white-space:nowrap}gux-content-search .gux-content .gux-content-control-panel .gux-navigation-panel .gux-previous-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-left:4px}gux-content-search .gux-content .gux-content-control-panel .gux-navigation-panel .gux-next-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-right:4px}\";\n\nlet GuxContentSearch = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.guxcurrentmatchchanged = createEvent(this, \"guxcurrentmatchchanged\", 7);\n /**\n * The Match Count\n */\n this.matchCount = 0;\n /**\n * The Current match count which needs to highlighted\n */\n this.currentMatch = 0;\n }\n /**\n * Clears the input.\n */\n async clear() {\n if (this.disabled) {\n return;\n }\n this.matchCount = 0;\n this.currentMatch = 0;\n this.value = '';\n this.emitCurrentMatchChanged();\n this.resetInputSlottedElement();\n }\n async componentWillLoad() {\n trackComponent(this.root);\n this.i18n = await buildI18nForComponent(this.root, contentSearchResources);\n this.inputSlottedElement = this.root.querySelector('input');\n this.disabled = this.inputSlottedElement.disabled;\n this.value = this.inputSlottedElement.value;\n this.disabledObserver = onDisabledChange(this.inputSlottedElement, (disabled) => {\n this.disabled = disabled;\n });\n this.inputSlottedElement.addEventListener('input', e => this.onInput(e));\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n }\n render() {\n return (h(\"div\", { class: { 'gux-disabled': this.disabled, 'gux-content': true } }, h(\"div\", { class: \"gux-search-icon\" }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"search\" })), h(\"slot\", null), this.getNavigationPanel()));\n }\n getNavigationPanel() {\n if (this.showNavigationPanel()) {\n const disableNavigationPanel = this.disableNavigationPanel();\n return (h(\"div\", { class: \"gux-content-control-panel\" }, h(\"div\", { class: {\n 'gux-navigation-panel': true,\n 'gux-navigation-disabled': disableNavigationPanel\n }, title: this.matchCountResult() }, h(\"span\", { class: {\n 'gux-navigation-result': true,\n 'gux-navigation-result-disabled': disableNavigationPanel\n }, \"aria-label\": this.matchCountResult() }, this.matchCountResult()), h(\"button\", { type: \"button\", class: \"gux-previous-button\", title: this.i18n('navigatePreviousBtn'), \"aria-label\": this.i18n('navigatePreviousBtn'), onClick: () => this.previousClick(), disabled: disableNavigationPanel }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"arrow-solid-up\" })), h(\"button\", { type: \"button\", class: \"gux-next-button\", title: this.i18n('navigateNextBtn'), \"aria-label\": this.i18n('navigateNextBtn'), onClick: () => this.nextClick(), disabled: disableNavigationPanel }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"arrow-solid-down\" }))), h(\"button\", { type: \"button\", class: \"gux-clear-button\", title: this.i18n('eraseBtnAria'), \"aria-label\": this.i18n('eraseBtnAria'), onClick: () => this.clear(), disabled: this.disabled }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"close\" }))));\n }\n return null;\n }\n matchCountResult() {\n return this.i18n('totalMatches', {\n currentMatch: this.getNormalizedCurrentMatch(),\n matchCount: this.getNormalizedMatchCount()\n });\n }\n showNavigationPanel() {\n return this.value !== '' ? true : false;\n }\n disableNavigationPanel() {\n return this.disabled || this.getNormalizedMatchCount() <= 0;\n }\n getNormalizedMatchCount() {\n return this.matchCount &&\n Number.isInteger(this.matchCount) &&\n this.matchCount >= 0\n ? Number(this.matchCount)\n : 0;\n }\n getNormalizedCurrentMatch() {\n return this.currentMatch &&\n Number.isInteger(this.currentMatch) &&\n this.currentMatch >= 0 &&\n this.currentMatch <= this.getNormalizedMatchCount() &&\n this.getNormalizedMatchCount() > 0\n ? Number(this.currentMatch)\n : 0;\n }\n resetInputSlottedElement() {\n this.inputSlottedElement.value = '';\n this.inputSlottedElement.dispatchEvent(new InputEvent('input', {\n bubbles: true,\n cancelable: true\n }));\n this.inputSlottedElement.dispatchEvent(new InputEvent('change', {\n bubbles: true\n }));\n }\n nextClick() {\n if (this.disableNavigationPanel()) {\n return;\n }\n if (this.getNormalizedCurrentMatch() === this.getNormalizedMatchCount()) {\n this.currentMatch = 1;\n }\n else {\n this.currentMatch = this.getNormalizedCurrentMatch() + 1;\n }\n this.emitCurrentMatchChanged();\n }\n previousClick() {\n if (this.disableNavigationPanel()) {\n return;\n }\n if (this.getNormalizedCurrentMatch() === 1 ||\n this.getNormalizedCurrentMatch() === 0) {\n this.currentMatch = this.getNormalizedMatchCount();\n }\n else {\n this.currentMatch = this.getNormalizedCurrentMatch() - 1;\n }\n this.emitCurrentMatchChanged();\n }\n onInput(event) {\n this.value = event.target.value;\n }\n emitCurrentMatchChanged() {\n this.guxcurrentmatchchanged.emit(this.getNormalizedCurrentMatch());\n }\n get root() { return getElement(this); }\n};\nGuxContentSearch.style = guxContentSearchCss;\n\nexport { GuxContentSearch as gux_content_search };\n","function onHiddenChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(() => {\n callback(element.hidden);\n });\n });\n observer.observe(element, {\n attributes: true,\n attributeFilter: ['hidden']\n });\n return observer;\n}\nfunction onDisabledChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(mutation => {\n if (mutation.attributeName === 'disabled') {\n callback(element.disabled);\n }\n });\n });\n observer.observe(element, { attributes: true });\n return observer;\n}\nfunction onRequiredChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(mutation => {\n if (mutation.attributeName === 'required') {\n callback(element.required);\n }\n });\n });\n observer.observe(element, { attributes: true });\n return observer;\n}\n\nexport { onRequiredChange as a, onHiddenChange as b, onDisabledChange as o };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["contentSearchResources","eraseBtnAria","navigateNextBtn","navigatePreviousBtn","totalMatches","GuxContentSearch","hostRef","registerInstance","this","guxcurrentmatchchanged","createEvent","matchCount","currentMatch","disabled","value","emitCurrentMatchChanged","resetInputSlottedElement","trackComponent","root","buildI18nForComponent","i18n","inputSlottedElement","querySelector","disabledObserver","onDisabledChange","addEventListener","e","onInput","disconnect","h","class","decorative","getNavigationPanel","showNavigationPanel","disableNavigationPanel","title","matchCountResult","type","onClick","previousClick","nextClick","clear","getNormalizedCurrentMatch","getNormalizedMatchCount","Number","isInteger","dispatchEvent","InputEvent","bubbles","cancelable","event","target","emit","getElement","style","onHiddenChange","element","callback","observer","MutationObserver","mutations","forEach","hidden","observe","attributes","attributeFilter","mutation","attributeName","onRequiredChange","required","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[2291],{2291:function(t,n,e){e.r(n),e.d(n,{gux_pagination_buttons:function(){return l},gux_pagination_item_counts:function(){return x},gux_pagination_items_per_page:function(){return b}});var i=e(4165),a=e(5861),r=e(2982),o=e(5671),u=e(3144),s=e(4723),g=e(8782),c={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"},p=function(){function t(){(0,o.Z)(this,t)}return(0,u.Z)(t,null,[{key:"getPageList",value:function(t,n){if(n<=10)return(0,r.Z)(Array(n).keys()).map((function(n){var e=n+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=5){var e=(0,r.Z)(Array(6).keys()).map((function(n){var e=n+1;return{pageNumber:e,display:String(e),current:e===t}}));return[].concat((0,r.Z)(e),[{pageNumber:7,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}])}if(t>n-5){var i=(0,r.Z)(Array(6).keys()).map((function(e){var i=e+n-5;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:n-6,display:"...",current:!1}].concat((0,r.Z)(i))}var a=(0,r.Z)(Array(5).keys()).map((function(n){var e=n+t-2;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1}].concat((0,r.Z)(a),[{pageNumber:t+3,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}])}}]),t}(),l=function(){function t(n){(0,o.Z)(this,t),(0,s.r)(this,n),this.internalcurrentpagechange=(0,s.c)(this,"internalcurrentpagechange",3),this.layout="full"}return(0,u.Z)(t,[{key:"onFirstPage",get:function(){return this.currentPage<=1}},{key:"onLastPage",get:function(){return this.currentPage>=this.totalPages}},{key:"handleClickFirst",value:function(){this.internalcurrentpagechange.emit(1)}},{key:"handleClickPrevious",value:function(){this.internalcurrentpagechange.emit(this.currentPage-1)}},{key:"handleClickNext",value:function(){this.internalcurrentpagechange.emit(this.currentPage+1)}},{key:"handleClickLast",value:function(){this.internalcurrentpagechange.emit(this.totalPages)}},{key:"handleClickPage",value:function(t){this.internalcurrentpagechange.emit(t)}},{key:"setPageFromInput",value:function(t){var n=parseInt(t,10);!n||isNaN(n)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(n)}},{key:"getPageListEnteries",value:function(t,n){var e=this;return p.getPageList(t,n).reduce((function(t,n){return n.current?t.concat((0,s.h)("button",{class:"gux-pagination-buttons-list-current"},n.display)):t.concat((0,s.h)("button",{class:"gux-pagination-buttons-list-target",onClick:function(){return e.handleClickPage(n.pageNumber)}},n.display))}),[])}},{key:"getSmallPagePicker",value:function(){return(0,s.h)("div",{class:"gux-pagination-buttons-spacer"})}},{key:"getExpandedPagePicker",value:function(){return(0,s.h)("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}},{key:"getFullPagePicker",value:function(){var t=this;return(0,s.h)("div",{class:"gux-pagination-buttons-input-container"},(0,s.h)("div",null,this.i18n("page")),(0,s.h)("div",{class:"gux-pagination-buttons-input"},(0,s.h)("gux-input-text-like",null,(0,s.h)("input",{"aria-label":this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages}),slot:"input",value:String(this.currentPage),ref:function(n){return t.textFieldRef=n},onChange:function(){return t.setPageFromInput(t.textFieldRef.value)}}))),(0,s.h)("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}},{key:"getPagePicker",value:function(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}},{key:"componentWillLoad",value:function(){var t=(0,a.Z)((0,i.Z)().mark((function t(){return(0,i.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,g.b)(this.root,c);case 2:this.i18n=t.sent;case 3:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"render",value:function(){return(0,s.h)("div",{class:"gux-pagination-buttons-container gux-".concat(this.layout)},(0,s.h)("div",{class:"gux-pagination-buttons-group"},(0,s.h)("gux-button-slot-beta",{accent:"secondary"},(0,s.h)("button",{title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},(0,s.h)("gux-icon",{decorative:!0,"icon-name":"chevron-double-left"}))),(0,s.h)("gux-button-slot-beta",{accent:"secondary"},(0,s.h)("button",{title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},(0,s.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})))),this.getPagePicker(this.layout),(0,s.h)("div",{class:"gux-pagination-buttons-group"},(0,s.h)("gux-button-slot-beta",{accent:"secondary"},(0,s.h)("button",{title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},(0,s.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),(0,s.h)("gux-button-slot-beta",{accent:"secondary"},(0,s.h)("button",{title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},(0,s.h)("gux-icon",{decorative:!0,"icon-name":"chevron-double-right"})))))}},{key:"root",get:function(){return(0,s.g)(this)}}]),t}();l.style="gux-pagination-buttons{color:#33383d}gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-end}gux-pagination-buttons .gux-pagination-buttons-container.gux-expanded{justify-content:center}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{white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group gux-button-slot-beta:not(:first-of-type){margin-left:4px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .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 .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px;margin:0 8px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:inherit;text-align:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{height:32px;padding:0 8px;margin:0;background:inherit;border:none}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{font-weight:600}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{color:#2a60c8;cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:10px}";var h={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},x=function(){function t(n){(0,o.Z)(this,t),(0,s.r)(this,n),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}return(0,u.Z)(t,[{key:"firstItem",get:function(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}},{key:"lastItem",get:function(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}},{key:"componentWillLoad",value:function(){var t=(0,a.Z)((0,i.Z)().mark((function t(){return(0,i.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,g.b)(this.root,h);case 2:this.i18n=t.sent;case 3:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"render",value:function(){return(0,s.h)("div",{class:"gux-pagination-item-counts-container"},(0,s.h)("span",{class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),(0,s.h)("span",null,this.i18n("totalItems",{totalItems:this.totalItems})))}},{key:"root",get:function(){return(0,s.g)(this)}}]),t}();x.style="gux-pagination-item-counts{color:#33383d}gux-pagination-item-counts .gux-pagination-item-counts-container{white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-container .gux-pagination-item-counts-range{font-weight:bold}";var d={perPage:"per page",itemsPerPage:"Items per page"},b=function(){function t(n){(0,o.Z)(this,t),(0,s.r)(this,n),this.internalitemsperpagechange=(0,s.c)(this,"internalitemsperpagechange",3),this.itemsPerPage=25}return(0,u.Z)(t,[{key:"handleChange",value:function(t){t.stopPropagation();var n=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(n)}},{key:"componentWillLoad",value:function(){var t=(0,a.Z)((0,i.Z)().mark((function t(){return(0,i.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,g.b)(this.root,d);case 2:this.i18n=t.sent;case 3:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"getDropdown",value:function(){var t=this;return(0,s.h)("gux-dropdown-v2-beta",{ref:function(n){return t.dropdownElement=n},value:"".concat(this.itemsPerPage)},(0,s.h)("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},(0,s.h)("gux-option-v2",{value:"25"},"25"),(0,s.h)("gux-option-v2",{value:"50"},"50"),(0,s.h)("gux-option-v2",{value:"75"},"75"),(0,s.h)("gux-option-v2",{value:"100"},"100")))}},{key:"render",value:function(){return(0,s.h)("div",{class:"gux-pagination-items-per-page-container"},(0,s.h)("div",{class:"gux-pagination-items-per-page-picker"},this.getDropdown()),(0,s.h)("div",null,this.i18n("perPage")))}},{key:"root",get:function(){return(0,s.g)(this)}}]),t}();b.style="gux-pagination-items-per-page{color:#33383d}gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}gux-pagination-items-per-page .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{margin:0 8px 0 16px}gux-pagination-items-per-page .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{bottom:100%;display:flex;flex-direction:column-reverse}"}}]);
|
|
2
|
-
//# sourceMappingURL=2291.98b84fa5.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/2291.98b84fa5.chunk.js","mappings":"qVAUMA,EAAwB,CAC7BC,KARY,OASZC,WARkB,2BASlBC,MARa,QASbC,SARgB,WAShBC,KARY,OASZC,KARY,OASZC,eARsB,sDAWjBC,EAAAA,W,4EACJ,SAAmBC,EAAaP,GAC9B,GAAIA,GAAc,GAChB,OAAO,OAAIQ,MAAMR,GAAYS,QAAQC,KAAI,SAAAC,GACvC,IAAMC,EAAaD,EAAQ,EAC3B,MAAO,CACLC,WAAAA,EACAC,QAASC,OAAOF,GAChBG,QAASH,IAAeL,MAI9B,GAAIA,GAAe,EAAG,CACpB,IAAMS,GAAgB,OAA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d,KAAKmB,KAAK,eAlBxJ,gBAoB3B,WAAa,OAAOsB,EAAAA,EAAAA,GAAWzC,UApBJ,KAsB7BsD,EAA0BZ,MAxBW","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-pagination-buttons_3.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\n\nconst page = \"Page\";\nconst totalPages = \" of {totalPages, number}\";\nconst first = \"First\";\nconst previous = \"Previous\";\nconst next = \"Next\";\nconst last = \"Last\";\nconst pageInputLabel = \"Page {currentPage, number} of {totalPages, number}\";\nconst paginationResources$2 = {\n\tpage: page,\n\ttotalPages: totalPages,\n\tfirst: first,\n\tprevious: previous,\n\tnext: next,\n\tlast: last,\n\tpageInputLabel: pageInputLabel\n};\n\nclass GuxPaginationButtonsService {\n static getPageList(currentPage, totalPages) {\n if (totalPages <= 10) {\n return [...Array(totalPages).keys()].map(index => {\n const pageNumber = index + 1;\n return {\n pageNumber,\n display: String(pageNumber),\n current: pageNumber === currentPage\n };\n });\n }\n if (currentPage <= 5) {\n const startPageList = [...Array(6).keys()].map(index => {\n const pageNumber = index + 1;\n return {\n pageNumber,\n display: String(pageNumber),\n current: pageNumber === currentPage\n };\n });\n return [\n ...startPageList,\n {\n pageNumber: 7,\n display: '...',\n current: false\n },\n {\n pageNumber: totalPages,\n display: String(totalPages),\n current: false\n }\n ];\n }\n if (currentPage > totalPages - 5) {\n const endPageList = [...Array(6).keys()].map(index => {\n const pageNumber = index + totalPages - 5;\n return {\n pageNumber,\n display: String(pageNumber),\n current: pageNumber === currentPage\n };\n });\n return [\n {\n pageNumber: 1,\n display: '1',\n current: false\n },\n {\n pageNumber: totalPages - 6,\n display: '...',\n current: false\n },\n ...endPageList\n ];\n }\n const middlePageList = [...Array(5).keys()].map(index => {\n const pageNumber = index + currentPage - 2;\n return {\n pageNumber,\n display: String(pageNumber),\n current: pageNumber === currentPage\n };\n });\n return [\n {\n pageNumber: 1,\n display: '1',\n current: false\n },\n {\n pageNumber: currentPage - 3,\n display: '...',\n current: false\n },\n ...middlePageList,\n {\n pageNumber: currentPage + 3,\n display: '...',\n current: false\n },\n {\n pageNumber: totalPages,\n display: String(totalPages),\n current: false\n }\n ];\n }\n}\n\nconst guxPaginationButtonsCss = \"gux-pagination-buttons{color:#33383d}gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-end}gux-pagination-buttons .gux-pagination-buttons-container.gux-expanded{justify-content:center}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{white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group gux-button-slot-beta:not(:first-of-type){margin-left:4px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .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 .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px;margin:0 8px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:inherit;text-align:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{height:32px;padding:0 8px;margin:0;background:inherit;border:none}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{font-weight:600}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{color:#2a60c8;cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:10px}\";\n\nlet GuxPaginationButtons = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.internalcurrentpagechange = createEvent(this, \"internalcurrentpagechange\", 3);\n this.layout = 'full';\n }\n get onFirstPage() {\n return this.currentPage <= 1;\n }\n get onLastPage() {\n return this.currentPage >= this.totalPages;\n }\n handleClickFirst() {\n this.internalcurrentpagechange.emit(1);\n }\n handleClickPrevious() {\n this.internalcurrentpagechange.emit(this.currentPage - 1);\n }\n handleClickNext() {\n this.internalcurrentpagechange.emit(this.currentPage + 1);\n }\n handleClickLast() {\n this.internalcurrentpagechange.emit(this.totalPages);\n }\n handleClickPage(pageNumber) {\n this.internalcurrentpagechange.emit(pageNumber);\n }\n setPageFromInput(value) {\n const page = parseInt(value, 10);\n if (!page || isNaN(page)) {\n this.textFieldRef.value = String(this.currentPage);\n }\n else {\n this.internalcurrentpagechange.emit(page);\n }\n }\n getPageListEnteries(currentPage, totalPages) {\n return GuxPaginationButtonsService.getPageList(currentPage, totalPages).reduce((acc, cv) => {\n if (cv.current) {\n return acc.concat(h(\"button\", { class: \"gux-pagination-buttons-list-current\" }, cv.display));\n }\n return acc.concat(h(\"button\", { class: \"gux-pagination-buttons-list-target\", onClick: () => this.handleClickPage(cv.pageNumber) }, cv.display));\n }, []);\n }\n getSmallPagePicker() {\n return h(\"div\", { class: 'gux-pagination-buttons-spacer' });\n }\n getExpandedPagePicker() {\n return (h(\"div\", { class: \"gux-pagination-buttons-list-container\" }, this.getPageListEnteries(this.currentPage, this.totalPages)));\n }\n getFullPagePicker() {\n return (h(\"div\", { class: \"gux-pagination-buttons-input-container\" }, h(\"div\", null, this.i18n('page')), h(\"div\", { class: \"gux-pagination-buttons-input\" }, h(\"gux-input-text-like\", null, h(\"input\", { \"aria-label\": this.i18n('pageInputLabel', {\n currentPage: this.currentPage,\n totalPages: this.totalPages\n }), slot: \"input\", value: String(this.currentPage), ref: ref => (this.textFieldRef = ref), onChange: () => this.setPageFromInput(this.textFieldRef.value) }))), h(\"div\", null, this.i18n('totalPages', { totalPages: this.totalPages }))));\n }\n getPagePicker(layout) {\n if (layout === 'small') {\n return this.getSmallPagePicker();\n }\n if (layout === 'expanded') {\n return this.getExpandedPagePicker();\n }\n return this.getFullPagePicker();\n }\n async componentWillLoad() {\n this.i18n = await buildI18nForComponent(this.root, paginationResources$2);\n }\n render() {\n return (h(\"div\", { class: `gux-pagination-buttons-container gux-${this.layout}` }, h(\"div\", { class: \"gux-pagination-buttons-group\" }, h(\"gux-button-slot-beta\", { accent: \"secondary\" }, h(\"button\", { title: this.i18n('first'), disabled: this.onFirstPage, onClick: this.handleClickFirst.bind(this) }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-double-left\" }))), h(\"gux-button-slot-beta\", { accent: \"secondary\" }, h(\"button\", { title: this.i18n('previous'), disabled: this.onFirstPage, onClick: this.handleClickPrevious.bind(this) }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-left\" })))), this.getPagePicker(this.layout), h(\"div\", { class: \"gux-pagination-buttons-group\" }, h(\"gux-button-slot-beta\", { accent: \"secondary\" }, h(\"button\", { title: this.i18n('next'), disabled: this.onLastPage, onClick: this.handleClickNext.bind(this) }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-right\" }))), h(\"gux-button-slot-beta\", { accent: \"secondary\" }, h(\"button\", { title: this.i18n('last'), disabled: this.onLastPage, onClick: this.handleClickLast.bind(this) }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-double-right\" }))))));\n }\n get root() { return getElement(this); }\n};\nGuxPaginationButtons.style = guxPaginationButtonsCss;\n\nconst itemCountDisplay = \"{firstItem, number} - {lastItem, number}\";\nconst totalItems = \" of {totalItems, number}\";\nconst paginationResources$1 = {\n\titemCountDisplay: itemCountDisplay,\n\ttotalItems: totalItems\n};\n\nconst guxPaginationItemCountsCss = \"gux-pagination-item-counts{color:#33383d}gux-pagination-item-counts .gux-pagination-item-counts-container{white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-container .gux-pagination-item-counts-range{font-weight:bold}\";\n\nlet GuxPaginationItemCounts = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.totalItems = 0;\n this.currentPage = 0;\n this.itemsPerPage = 25;\n }\n get firstItem() {\n if (this.totalItems < 1) {\n return 0;\n }\n return (this.currentPage - 1) * this.itemsPerPage + 1;\n }\n get lastItem() {\n if (this.totalItems < 1) {\n return 0;\n }\n return Math.min(this.currentPage * this.itemsPerPage, this.totalItems);\n }\n async componentWillLoad() {\n this.i18n = await buildI18nForComponent(this.root, paginationResources$1);\n }\n render() {\n return (h(\"div\", { class: \"gux-pagination-item-counts-container\" }, h(\"span\", { class: \"gux-pagination-item-counts-range\" }, this.i18n('itemCountDisplay', {\n firstItem: this.firstItem,\n lastItem: this.lastItem\n })), h(\"span\", null, this.i18n('totalItems', { totalItems: this.totalItems }))));\n }\n get root() { return getElement(this); }\n};\nGuxPaginationItemCounts.style = guxPaginationItemCountsCss;\n\nconst perPage = \"per page\";\nconst itemsPerPage = \"Items per page\";\nconst paginationResources = {\n\tperPage: perPage,\n\titemsPerPage: itemsPerPage\n};\n\nconst guxPaginationItemsPerPageCss = \"gux-pagination-items-per-page{color:#33383d}gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}gux-pagination-items-per-page .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{margin:0 8px 0 16px}gux-pagination-items-per-page .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{bottom:100%;display:flex;flex-direction:column-reverse}\";\n\nlet GuxPaginationItemsPerPage = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.internalitemsperpagechange = createEvent(this, \"internalitemsperpagechange\", 3);\n this.itemsPerPage = 25;\n }\n handleChange(event) {\n event.stopPropagation();\n const newItemsPerPageValue = parseInt(this.dropdownElement.value, 10);\n this.internalitemsperpagechange.emit(newItemsPerPageValue);\n }\n async componentWillLoad() {\n this.i18n = await buildI18nForComponent(this.root, paginationResources);\n }\n getDropdown() {\n return (h(\"gux-dropdown-v2-beta\", { ref: el => (this.dropdownElement = el), value: `${this.itemsPerPage}` }, h(\"gux-listbox\", { \"aria-label\": this.i18n('itemsPerPage') }, h(\"gux-option-v2\", { value: \"25\" }, \"25\"), h(\"gux-option-v2\", { value: \"50\" }, \"50\"), h(\"gux-option-v2\", { value: \"75\" }, \"75\"), h(\"gux-option-v2\", { value: \"100\" }, \"100\"))));\n }\n render() {\n return (h(\"div\", { class: \"gux-pagination-items-per-page-container\" }, h(\"div\", { class: \"gux-pagination-items-per-page-picker\" }, this.getDropdown()), h(\"div\", null, this.i18n('perPage'))));\n }\n get root() { return getElement(this); }\n};\nGuxPaginationItemsPerPage.style = guxPaginationItemsPerPageCss;\n\nexport { GuxPaginationButtons as gux_pagination_buttons, GuxPaginationItemCounts as gux_pagination_item_counts, GuxPaginationItemsPerPage as gux_pagination_items_per_page };\n"],"names":["paginationResources$2","page","totalPages","first","previous","next","last","pageInputLabel","GuxPaginationButtonsService","currentPage","Array","keys","map","index","pageNumber","display","String","current","startPageList","endPageList","middlePageList","GuxPaginationButtons","hostRef","registerInstance","this","internalcurrentpagechange","createEvent","layout","emit","value","parseInt","isNaN","textFieldRef","getPageList","reduce","acc","cv","concat","h","class","onClick","handleClickPage","getPageListEnteries","i18n","slot","ref","onChange","setPageFromInput","getSmallPagePicker","getExpandedPagePicker","getFullPagePicker","buildI18nForComponent","root","accent","title","disabled","onFirstPage","handleClickFirst","bind","decorative","handleClickPrevious","getPagePicker","onLastPage","handleClickNext","handleClickLast","getElement","style","paginationResources$1","itemCountDisplay","totalItems","GuxPaginationItemCounts","itemsPerPage","Math","min","firstItem","lastItem","paginationResources","perPage","GuxPaginationItemsPerPage","internalitemsperpagechange","event","stopPropagation","newItemsPerPageValue","dropdownElement","el","getDropdown"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[2361],{2361:function(r,e,t){t.r(e),t.d(e,{gux_breadcrumb_item:function(){return c}});var a=t(5671),n=t(3144),u=t(4723),c=function(){function r(e){(0,a.Z)(this,r),(0,u.r)(this,e)}return(0,n.Z)(r,[{key:"getAccent",value:function(){var r=this.root.closest("gux-breadcrumbs");if(r)return r.accent;console.error("gux-breadcrumb-item: must be within a gux-breadcrumbs component")}},{key:"isLastBreadcrumb",value:function(){var r=this.root.parentNode.children;return r[r.length-1]===this.root}},{key:"getBreadcrumb",value:function(){return!this.href||this.isLastBreadcrumb()?(0,u.h)("span",{class:"gux-breadcrumb-content"},(0,u.h)("slot",null)):(0,u.h)("a",{class:"gux-breadcrumb-content gux-link",href:this.href},(0,u.h)("slot",null))}},{key:"getSeparatorIcon",value:function(r){if(this.isLastBreadcrumb())return null;switch(r){case"primary":default:return(0,u.h)("span",{class:"gux-breadcrumb-separator","aria-hidden":"true"},"/");case"secondary":return(0,u.h)("gux-icon",{class:"gux-breadcrumb-separator","icon-name":"chevron-small-right",decorative:!0})}}},{key:"render",value:function(){var r=this.getAccent();return(0,u.h)("span",{class:"gux-breadcrumb-generation gux-".concat(r)},this.getBreadcrumb(),this.getSeparatorIcon(r))}},{key:"root",get:function(){return(0,u.g)(this)}}]),r}();c.style="gux-breadcrumb-item .gux-breadcrumb-generation{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:flex-start;align-items:center;justify-content:flex-start}gux-breadcrumb-item .gux-breadcrumb-generation.gux-primary{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:24px}gux-breadcrumb-item .gux-breadcrumb-generation .gux-breadcrumb-content{color:#33383d}gux-breadcrumb-item .gux-breadcrumb-generation .gux-breadcrumb-content.gux-link{color:#2a60c8}gux-breadcrumb-item .gux-breadcrumb-generation .gux-breadcrumb-separator{margin:0 8px;color:#9baab8}gux-breadcrumb-item .gux-breadcrumb-generation gux-icon.gux-breadcrumb-separator{width:16px;height:16px;margin:0 4px}"}}]);
|
|
2
|
-
//# sourceMappingURL=2361.28c72454.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/2361.28c72454.chunk.js","mappings":"uMAIIA,EAAiB,WACnB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GAFN,wCAInB,WACE,IAAMG,EAAYD,KAAKE,KAAKC,QAAQ,mBACpC,GAAIF,EACF,OAAOA,EAAUG,OAGjBC,QAAQC,MAAR,qEAVe,8BAanB,WACE,IACMC,EADaP,KAAKE,KAAKM,WACDD,SAC5B,OAAOA,EAASA,EAASE,OAAS,KAAOT,KAAKE,OAhB7B,2BAkBnB,WACE,OAAKF,KAAKU,MAAQV,KAAKW,oBACbC,EAAAA,EAAAA,GAAE,OAAQ,CAAEC,MAAO,2BAA4BD,EAAAA,EAAAA,GAAE,OAAQ,QAE3DA,EAAAA,EAAAA,GAAE,IAAK,CAAEC,MAAO,kCAAmCH,KAAMV,KAAKU,OAAQE,EAAAA,EAAAA,GAAE,OAAQ,SAtBvE,8BAwBnB,SAAiBR,GACf,GAAIJ,KAAKW,mBACP,OAAO,KAET,OAAQP,GACN,IAAK,UAIL,QACE,OAAQQ,EAAAA,EAAAA,GAAE,OAAQ,CAAEC,MAAO,2BAA4B,cAAe,QAAU,KAHlF,IAAK,YACH,OAAQD,EAAAA,EAAAA,GAAE,WAAY,CAAEC,MAAO,2BAA4B,YAAa,sBAAuBC,YAAY,OAhC9F,oBAqCnB,WACE,IAAMV,EAASJ,KAAKe,YACpB,OAAQH,EAAAA,EAAAA,GAAE,OAAQ,CAAEC,MAAO,iCAAF,OAAmCT,IAAYJ,KAAKgB,gBAAiBhB,KAAKiB,iBAAiBb,MAvCnG,gBAyCnB,WAAa,OAAOc,EAAAA,EAAAA,GAAWlB,UAzCZ,KA2CrBH,EAAkBsB,MA7CW","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-breadcrumb-item.entry.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\n\nconst guxBreadcrumbItemCss = \"gux-breadcrumb-item .gux-breadcrumb-generation{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:flex-start;align-items:center;justify-content:flex-start}gux-breadcrumb-item .gux-breadcrumb-generation.gux-primary{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:24px}gux-breadcrumb-item .gux-breadcrumb-generation .gux-breadcrumb-content{color:#33383d}gux-breadcrumb-item .gux-breadcrumb-generation .gux-breadcrumb-content.gux-link{color:#2a60c8}gux-breadcrumb-item .gux-breadcrumb-generation .gux-breadcrumb-separator{margin:0 8px;color:#9baab8}gux-breadcrumb-item .gux-breadcrumb-generation gux-icon.gux-breadcrumb-separator{width:16px;height:16px;margin:0 4px}\";\n\nlet GuxBreadcrumbItem = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n getAccent() {\n const container = this.root.closest('gux-breadcrumbs');\n if (container) {\n return container.accent;\n }\n else {\n console.error(`gux-breadcrumb-item: must be within a gux-breadcrumbs component`);\n }\n }\n isLastBreadcrumb() {\n const parentNode = this.root.parentNode;\n const children = parentNode.children;\n return children[children.length - 1] === this.root;\n }\n getBreadcrumb() {\n if (!this.href || this.isLastBreadcrumb()) {\n return (h(\"span\", { class: \"gux-breadcrumb-content\" }, h(\"slot\", null)));\n }\n return (h(\"a\", { class: \"gux-breadcrumb-content gux-link\", href: this.href }, h(\"slot\", null)));\n }\n getSeparatorIcon(accent) {\n if (this.isLastBreadcrumb()) {\n return null;\n }\n switch (accent) {\n case 'primary':\n return (h(\"span\", { class: \"gux-breadcrumb-separator\", \"aria-hidden\": \"true\" }, \"/\"));\n case 'secondary':\n return (h(\"gux-icon\", { class: \"gux-breadcrumb-separator\", \"icon-name\": \"chevron-small-right\", decorative: true }));\n default:\n return (h(\"span\", { class: \"gux-breadcrumb-separator\", \"aria-hidden\": \"true\" }, \"/\"));\n }\n }\n render() {\n const accent = this.getAccent();\n return (h(\"span\", { class: `gux-breadcrumb-generation gux-${accent}` }, this.getBreadcrumb(), this.getSeparatorIcon(accent)));\n }\n get root() { return getElement(this); }\n};\nGuxBreadcrumbItem.style = guxBreadcrumbItemCss;\n\nexport { GuxBreadcrumbItem as gux_breadcrumb_item };\n"],"names":["GuxBreadcrumbItem","hostRef","registerInstance","this","container","root","closest","accent","console","error","children","parentNode","length","href","isLastBreadcrumb","h","class","decorative","getAccent","getBreadcrumb","getSeparatorIcon","getElement","style"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[2609],{2609:function(t,e,i){i.r(e),i.d(e,{gux_command_palette_beta:function(){return d}});var n=i(4165),s=i(5861),a=i(5671),l=i(3144),u=i(4723),o=i(1901),c=i(8782),r=i(8125),m={recentSearch:"Recently Searched:",commonSearch:"Common Searches:",limited:"Results limited, refine your search for more commands.",search:"Search for commands.",title:"Command Palette"};function g(t){return t.sort((function(t,e){if(t.recent&&!e.recent)return-1;if(!t.recent&&e.recent)return 1;var i=t.text.toUpperCase(),n=e.text.toUpperCase();return i<n?-1:i>n?1:0}))}var d=function(){function t(e){(0,a.Z)(this,t),(0,u.r)(this,e),this.filterValue="",this.visible=!1}return(0,l.Z)(t,[{key:"componentWillLoad",value:function(){var t=(0,s.Z)((0,n.Z)().mark((function t(){return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(0,r.t)(this.root),t.next=3,(0,c.b)(this.root,m);case 3:this.i18n=t.sent;case 4:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"render",value:function(){var t=this;return(0,u.h)("div",{class:"gux-command-palette ".concat(this.visible?"":"gux-hidden"),role:"dialog",onKeyDown:function(e){return t.onKeyDown(e)},"aria-label":this.i18n("title")},(0,u.h)("label",{htmlFor:"gux-command-palette-search",class:"gux-command-palette-search-label"},this.i18n("search")),(0,u.h)("gux-input-search",null,(0,u.h)("input",{id:"gux-command-palette-search",type:"search",onInput:function(e){t.handleInput(e)},value:this.filterValue,ref:function(e){return t.inputElement=e}})),this.visible&&this.renderLists())}},{key:"renderLists",value:function(){var t,e=Array.from(this.root.children).slice(0,-1),i=e.filter((function(t){return t.recent})),n=e.filter((function(t){return t.common})),s=this.filterItems(e);if(n.length&&(t=this.createList(n,this.filterValue,this.i18n("commonSearch"))),this.filterValue&&s.length){var a=s.length>50;a&&(s=s.slice(0,50));var l=[(0,u.h)("gux-list",{tabindex:"-1",highlight:this.filterValue},s)];return a&&l.unshift((0,u.h)("div",{class:"gux-limit"},this.i18n("limited"))),1!==s.length&&n.length?[l,t]:l}var o=[];return i.length&&!this.filterValue&&o.push(this.createList(i,this.filterValue,this.i18n("recentSearch"))),t&&o.push(t),o.length?o:(0,u.h)("gux-list",{tabindex:"-1"},this.transformCommands(g(e)))}},{key:"open",value:function(){var t=(0,s.Z)((0,n.Z)().mark((function t(){var e=this;return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.visible=!0,setTimeout((function(){e.inputElement.focus()}),300);case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"close",value:function(){var t=(0,s.Z)((0,n.Z)().mark((function t(){return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.filterValue="",this.visible=!1;case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"handleInput",value:function(t){this.filterValue=t.target.value}},{key:"filterItems",value:function(t){var e=this;return this.transformCommands(g(t.filter((function(t){return(0,o.m)(e.filterValue,"".concat(t.text," + ").concat(t.details))}))),"")}},{key:"createShortcutItem",value:function(t){return(0,u.h)("gux-list-item",{value:t.text,onPress:this.handlePress(t),class:t.details?"gux-has-details":""},(0,u.h)("div",null,(0,u.h)("gux-text-highlight",{text:t.text,strategy:"fuzzy"}),(0,u.h)("span",{class:"gux-shortcut"},t.shortcut)),t.details&&(0,u.h)("gux-text-highlight",{class:"gux-details",text:t.details,strategy:"fuzzy"}))}},{key:"createStandardItem",value:function(t){return(0,u.h)("gux-list-item",{value:t.text,onPress:this.handlePress(t),class:t.details?"gux-has-details":""},(0,u.h)("gux-text-highlight",{text:t.text,strategy:"fuzzy"}),t.details&&(0,u.h)("gux-text-highlight",{class:"gux-details",text:t.details,strategy:"fuzzy"}))}},{key:"transformCommands",value:function(t,e){var i=this,n=[];return e&&n.push((0,u.h)("strong",null,e)),t.forEach((function(t){t.shortcut?n.push(i.createShortcutItem(t)):n.push(i.createStandardItem(t))})),n}},{key:"handlePress",value:function(t){var e=this;return function(){e.close(),setTimeout((function(){t.invokePress()}))}}},{key:"createList",value:function(t,e,i){return(0,u.h)("gux-list",{highlight:e,tabindex:"-1"},this.transformCommands(g(t),i))}},{key:"onKeyDown",value:function(t){switch(t.key){case"ArrowUp":this.navigateUp();break;case"ArrowDown":this.navigateDown()}}},{key:"elementIsSearch",value:function(t){return null!==t.closest("gux-input-search")}},{key:"getParentGuxList",value:function(t){return t.closest("gux-list")}},{key:"setFocusOnElement",value:function(t){var e=t;e&&e.setFocusOnLastItem?e.setFocusOnLastItem():this.inputElement.focus()}},{key:"navigateUp",value:function(){var t=this,e=this.root.querySelector(":focus");if(!this.elementIsSearch(e)){var i=this.getParentGuxList(e);i&&i.isFirstItemSelected().then((function(e){e&&t.setFocusOnElement(i.previousElementSibling)}))}}},{key:"navigateDown",value:function(){var t=this,e=this.root.querySelector(":focus");if(this.elementIsSearch(e))this.root.querySelector("gux-list").setFocusOnFirstItem();else{var i=this.getParentGuxList(e);i&&i.isLastItemSelected().then((function(e){e&&t.setFocusOnElement(i.nextElementSibling)}))}}},{key:"root",get:function(){return(0,u.g)(this)}}]),t}();d.style="gux-command-palette-beta .gux-command-palette{position:absolute;right:0;left:0;max-width:750px;padding:12px;margin:0 auto;border-color:1px solid #e4e9f0;box-shadow:0 0 2px 0 rgba(34, 37, 41, 0.24)}gux-command-palette-beta .gux-command-palette .gux-command-palette-search-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-command-palette-beta .gux-command-palette.gux-hidden{top:0;display:none}gux-command-palette-beta .gux-command-palette:not(.gux-hidden){top:40px;animation-name:fadeIn;animation-duration:300ms;animation-timing-function:ease-in;animation-iteration-count:1}@keyframes fadeIn{0%{top:0;opacity:0}100%{top:40px;opacity:1}}gux-command-palette-beta .gux-command-palette .gux-limit{margin-bottom:8px}gux-command-palette-beta .gux-command-palette gux-list{display:block;margin-top:4px}gux-command-palette-beta .gux-command-palette gux-list>div[role='list']>strong{height:32px;padding:0 16px;line-height:32px}gux-command-palette-beta .gux-command-palette gux-text-field,gux-command-palette-beta .gux-command-palette gux-list>div[role='list']{margin-bottom:12px}gux-command-palette-beta .gux-command-palette gux-list+gux-list>div[role='list']{margin-bottom:0}gux-command-palette-beta .gux-command-palette gux-list gux-list-item.gux-has-details .gux-list-item{line-height:16px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item{display:block;line-height:32px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item gux-text-highlight,gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-shortcut{display:block}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item div{display:flex;padding:0;border:none;box-shadow:none}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item div gux-text-highlight{flex:1 1 auto}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item div .gux-shortcut{flex:0 1 auto}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item gux-text-highlight:last-child{margin-bottom:8px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{margin-left:4px;font-size:11px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item:last-of-type .gux-details,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:last-of-type div:last-child{margin-bottom:0}.gux-command-palette-light-theme .gux-command-palette{color:#33383d;background:#fdfdfd}.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item div,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}.gux-light-theme gux-command-palette-beta .gux-command-palette{color:#33383d;background:#fdfdfd}.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item div,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}gux-command-palette-beta.gux-light-theme .gux-command-palette{color:#33383d;background:#fdfdfd}gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item div,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}gux-command-palette-beta .gux-command-palette{color:#33383d;background:#fdfdfd}gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item div,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}"},1901:function(t,e,i){i.d(e,{g:function(){return u},m:function(){return l}});var n=/[ +]/g,s=new Map,a=new Map;function l(t,e){var i=s.get(t);return i||(i=function(t){var e=t.split(n).map(o);if(1===e.length)return new RegExp(e[0],"i");var i="(";return e.forEach((function(t,n){i+=t+").*",n!==e.length-1&&(i+="(")})),new RegExp(i+"$","i")}(t),s.set(t,i)),i.test(e)}function u(t){return t.split(n).map(o).map((function(t){var e=a.get(t);return e||(e=new RegExp(t,"i"),a.set(t,e)),e}))}function o(t){return t.replace(/[\^$*+?.(){}[\]\\]/g,"\\$&")}},8125:function(t,e,i){i.d(e,{t:function(){return u}});var n=i(885),s={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},a="spark-library",l=!1;function u(t,e){var i=window.newrelic;i&&(l||(!function(){var t=window.newrelic;if(!t)return;var e=s.version.split("."),i=(0,n.Z)(e,3),l=i[0],u=i[1],o=i[2];t.addPageAction(a,{fullVersion:"".concat(l,".").concat(u,".").concat(o),majorVersion:l,minorVersion:"".concat(l,".").concat(u)})}(),l=!0),i.addPageAction("spark-component",Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:s.version})))}}}]);
|
|
2
|
-
//# sourceMappingURL=2609.69b7ee3f.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/2609.69b7ee3f.chunk.js","mappings":"8PAUMA,EAAmB,CACxBC,aANoB,qBAOpBC,aANoB,mBAOpBC,QANe,yDAOfC,OANc,uBAOdC,MANa,mBAad,SAASC,EAAYC,GACnB,OAAOA,EAAMC,MAAK,SAACC,EAAGC,GACpB,GAAID,EAAEE,SAAWD,EAAEC,OACjB,OAAQ,EAEV,IAAKF,EAAEE,QAAUD,EAAEC,OACjB,OAAO,EAET,IAAMC,EAAQH,EAAEI,KAAKC,cACfC,EAAQL,EAAEG,KAAKC,cACrB,OAAIF,EAAQG,GACF,EAENH,EAAQG,EACH,EAEF,KAGX,IAAIC,EAAiB,WACn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AuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAZ,GAAqB,GAEvBG,EAASK,cAlBiB,kBAkBkBK,OAAOC,OAAOD,OAAOC,OAAO,GAAIZ,GAAW,CAAEa,UAAWd,EAAQe,QAAQC,cAAejE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-command-palette-beta.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/search-2ca67cb1.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { m as matchesFuzzy } from './search-2ca67cb1.js';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst recentSearch = \"Recently Searched:\";\nconst commonSearch = \"Common Searches:\";\nconst limited = \"Results limited, refine your search for more commands.\";\nconst search = \"Search for commands.\";\nconst title = \"Command Palette\";\nconst paletteResources = {\n\trecentSearch: recentSearch,\n\tcommonSearch: commonSearch,\n\tlimited: limited,\n\tsearch: search,\n\ttitle: title\n};\n\nconst guxCommandPaletteCss = \"gux-command-palette-beta .gux-command-palette{position:absolute;right:0;left:0;max-width:750px;padding:12px;margin:0 auto;border-color:1px solid #e4e9f0;box-shadow:0 0 2px 0 rgba(34, 37, 41, 0.24)}gux-command-palette-beta .gux-command-palette .gux-command-palette-search-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-command-palette-beta .gux-command-palette.gux-hidden{top:0;display:none}gux-command-palette-beta .gux-command-palette:not(.gux-hidden){top:40px;animation-name:fadeIn;animation-duration:300ms;animation-timing-function:ease-in;animation-iteration-count:1}@keyframes fadeIn{0%{top:0;opacity:0}100%{top:40px;opacity:1}}gux-command-palette-beta .gux-command-palette .gux-limit{margin-bottom:8px}gux-command-palette-beta .gux-command-palette gux-list{display:block;margin-top:4px}gux-command-palette-beta .gux-command-palette gux-list>div[role='list']>strong{height:32px;padding:0 16px;line-height:32px}gux-command-palette-beta .gux-command-palette gux-text-field,gux-command-palette-beta .gux-command-palette gux-list>div[role='list']{margin-bottom:12px}gux-command-palette-beta .gux-command-palette gux-list+gux-list>div[role='list']{margin-bottom:0}gux-command-palette-beta .gux-command-palette gux-list gux-list-item.gux-has-details .gux-list-item{line-height:16px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item{display:block;line-height:32px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item gux-text-highlight,gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-shortcut{display:block}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item div{display:flex;padding:0;border:none;box-shadow:none}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item div gux-text-highlight{flex:1 1 auto}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item div .gux-shortcut{flex:0 1 auto}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item gux-text-highlight:last-child{margin-bottom:8px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{margin-left:4px;font-size:11px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item:last-of-type .gux-details,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:last-of-type div:last-child{margin-bottom:0}.gux-command-palette-light-theme .gux-command-palette{color:#33383d;background:#fdfdfd}.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item div,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}.gux-light-theme gux-command-palette-beta .gux-command-palette{color:#33383d;background:#fdfdfd}.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item div,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}gux-command-palette-beta.gux-light-theme .gux-command-palette{color:#33383d;background:#fdfdfd}gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item div,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}gux-command-palette-beta .gux-command-palette{color:#33383d;background:#fdfdfd}gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item div,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}\";\n\nconst filterLimit = 50;\nconst animationDuration = 300; // this 300ms duration must be kept in sync with the 300ms transition in the CSS and delay in the e2e tests\nfunction sortActions(items) {\n return items.sort((a, b) => {\n if (a.recent && !b.recent) {\n return -1;\n }\n if (!a.recent && b.recent) {\n return 1;\n }\n const aText = a.text.toUpperCase();\n const bText = b.text.toUpperCase();\n if (aText < bText) {\n return -1;\n }\n if (aText > bText) {\n return 1;\n }\n return 0;\n });\n}\nlet GuxCommandPalette = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n /**\n * The current search value.\n */\n this.filterValue = '';\n /**\n * If the command palette is shown.\n */\n this.visible = false;\n }\n async componentWillLoad() {\n trackComponent(this.root);\n this.i18n = await buildI18nForComponent(this.root, paletteResources);\n }\n render() {\n return (h(\"div\", { class: `gux-command-palette ${this.visible ? '' : 'gux-hidden'}`, role: \"dialog\", onKeyDown: e => this.onKeyDown(e), \"aria-label\": this.i18n('title') }, h(\"label\", { htmlFor: \"gux-command-palette-search\", class: \"gux-command-palette-search-label\" }, this.i18n('search')), h(\"gux-input-search\", null, h(\"input\", { id: \"gux-command-palette-search\", type: \"search\", onInput: (event) => {\n this.handleInput(event);\n }, value: this.filterValue, ref: el => (this.inputElement = el) })), this.visible && this.renderLists()));\n }\n renderLists() {\n const allItems = Array.from(this.root.children).slice(0, -1);\n const recentItems = allItems.filter(item => item.recent);\n const commonItems = allItems.filter(item => item.common);\n let filteredItems = this.filterItems(allItems);\n let commonList;\n if (commonItems.length) {\n commonList = this.createList(commonItems, this.filterValue, this.i18n('commonSearch'));\n }\n if (this.filterValue && filteredItems.length) {\n const filterExceeded = filteredItems.length > filterLimit;\n if (filterExceeded) {\n filteredItems = filteredItems.slice(0, filterLimit);\n }\n const filterList = [\n h(\"gux-list\", { tabindex: \"-1\", highlight: this.filterValue }, filteredItems)\n ];\n if (filterExceeded) {\n filterList.unshift(h(\"div\", { class: \"gux-limit\" }, this.i18n('limited')));\n }\n if (filteredItems.length !== 1 && commonItems.length) {\n return [filterList, commonList];\n }\n return filterList;\n }\n const lists = [];\n if (recentItems.length && !this.filterValue) {\n lists.push(this.createList(recentItems, this.filterValue, this.i18n('recentSearch')));\n }\n if (commonList) {\n lists.push(commonList);\n }\n if (!lists.length) {\n return (h(\"gux-list\", { tabindex: \"-1\" }, this.transformCommands(sortActions(allItems))));\n }\n return lists;\n }\n /**\n * Opens the command palette.\n */\n async open() {\n this.visible = true;\n setTimeout(() => {\n this.inputElement.focus();\n }, animationDuration);\n }\n /**\n * Closes the command palette.\n */\n async close() {\n this.filterValue = '';\n this.visible = false;\n }\n handleInput(event) {\n this.filterValue = event.target.value;\n }\n filterItems(items) {\n return this.transformCommands(sortActions(items.filter((item) => {\n return matchesFuzzy(this.filterValue, `${item.text} + ${item.details}`);\n })), '');\n }\n createShortcutItem(command) {\n return (h(\"gux-list-item\", { value: command.text, onPress: this.handlePress(command), class: (command.details && 'gux-has-details') || '' }, h(\"div\", null, h(\"gux-text-highlight\", { text: command.text, strategy: \"fuzzy\" }), h(\"span\", { class: \"gux-shortcut\" }, command.shortcut)), command.details && (h(\"gux-text-highlight\", { class: \"gux-details\", text: command.details, strategy: \"fuzzy\" }))));\n }\n createStandardItem(command) {\n return (h(\"gux-list-item\", { value: command.text, onPress: this.handlePress(command), class: (command.details && 'gux-has-details') || '' }, h(\"gux-text-highlight\", { text: command.text, strategy: \"fuzzy\" }), command.details && (h(\"gux-text-highlight\", { class: \"gux-details\", text: command.details, strategy: \"fuzzy\" }))));\n }\n transformCommands(commands, header) {\n const retVal = [];\n if (header) {\n retVal.push(h(\"strong\", null, header));\n }\n commands.forEach((command) => {\n if (command.shortcut) {\n retVal.push(this.createShortcutItem(command));\n return;\n }\n retVal.push(this.createStandardItem(command));\n });\n return retVal;\n }\n handlePress(command) {\n return () => {\n this.close();\n setTimeout(() => {\n command.invokePress();\n });\n };\n }\n createList(items, filter, header) {\n return (h(\"gux-list\", { highlight: filter, tabindex: \"-1\" }, this.transformCommands(sortActions(items), header)));\n }\n onKeyDown(event) {\n switch (event.key) {\n case 'ArrowUp':\n this.navigateUp();\n break;\n case 'ArrowDown':\n this.navigateDown();\n break;\n }\n }\n elementIsSearch(el) {\n return el.closest('gux-input-search') !== null;\n }\n getParentGuxList(el) {\n return el.closest('gux-list');\n }\n setFocusOnElement(el) {\n const listElement = el;\n if (listElement && listElement.setFocusOnLastItem) {\n listElement.setFocusOnLastItem();\n return;\n }\n this.inputElement.focus();\n }\n navigateUp() {\n const focusedElement = this.root.querySelector(':focus');\n if (this.elementIsSearch(focusedElement)) {\n // Already at the top, don't need to focus elsewhere\n return;\n }\n const guxList = this.getParentGuxList(focusedElement);\n if (!guxList) {\n return;\n }\n guxList.isFirstItemSelected().then(firstSelected => {\n if (!firstSelected) {\n // Let the GUX List handle navigation through the list\n return;\n }\n // Manually jump to the previous element\n this.setFocusOnElement(guxList.previousElementSibling);\n });\n }\n navigateDown() {\n const focusedElement = this.root.querySelector(':focus');\n if (this.elementIsSearch(focusedElement)) {\n this.root.querySelector('gux-list').setFocusOnFirstItem();\n return;\n }\n const guxList = this.getParentGuxList(focusedElement);\n if (!guxList) {\n return;\n }\n guxList.isLastItemSelected().then(lastSelected => {\n if (!lastSelected) {\n // Let the GUX List handle navigation through the list\n return;\n }\n // Manually jump to the next element\n this.setFocusOnElement(guxList.nextElementSibling);\n });\n }\n get root() { return getElement(this); }\n};\nGuxCommandPalette.style = guxCommandPaletteCss;\n\nexport { GuxCommandPalette as gux_command_palette_beta };\n","const conversion = /[ +]/g;\nconst expressions = new Map();\nconst replacements = new Map();\nfunction matchesFuzzy(sourceWord, targetWord) {\n let exp = expressions.get(sourceWord);\n if (!exp) {\n exp = convertToRegex(sourceWord);\n expressions.set(sourceWord, exp);\n }\n return exp.test(targetWord);\n}\nfunction getFuzzyReplacements(sourceWord) {\n return sourceWord\n .split(conversion)\n .map(makeRegexSafe)\n .map(word => {\n let exp = replacements.get(word);\n if (!exp) {\n exp = new RegExp(word, 'i');\n replacements.set(word, exp);\n }\n return exp;\n });\n}\nfunction makeRegexSafe(str) {\n return str.replace(/[\\^$*+?.(){}[\\]\\\\]/g, '\\\\$&');\n}\nfunction convertToRegex(word) {\n const parts = word.split(conversion).map(makeRegexSafe);\n if (parts.length === 1) {\n return new RegExp(parts[0], 'i');\n }\n let newexp = `(`;\n parts.forEach((part, index) => {\n newexp += part + ').*';\n if (index !== parts.length - 1) {\n newexp += `(`;\n }\n });\n return new RegExp(newexp + '$', 'i');\n}\n\nexport { getFuzzyReplacements as g, matchesFuzzy as m };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["paletteResources","recentSearch","commonSearch","limited","search","title","sortActions","items","sort","a","b","recent","aText","text","toUpperCase","bText","GuxCommandPalette","hostRef","registerInstance","this","filterValue","visible","trackComponent","root","buildI18nForComponent","i18n","h","class","role","onKeyDown","e","htmlFor","id","type","onInput","event","handleInput","value","ref","el","inputElement","renderLists","commonList","allItems","Array","from","children","slice","recentItems","filter","item","commonItems","common","filteredItems","filterItems","length","createList","filterExceeded","filterList","tabindex","highlight","unshift","lists","push","transformCommands","setTimeout","focus","target","matchesFuzzy","details","command","onPress","handlePress","strategy","shortcut","commands","header","retVal","forEach","createShortcutItem","createStandardItem","close","invokePress","key","navigateUp","navigateDown","closest","listElement","setFocusOnLastItem","focusedElement","querySelector","elementIsSearch","guxList","getParentGuxList","isFirstItemSelected","then","firstSelected","setFocusOnElement","previousElementSibling","setFocusOnFirstItem","isLastItemSelected","lastSelected","nextElementSibling","getElement","style","conversion","expressions","Map","replacements","sourceWord","targetWord","exp","get","word","parts","split","map","makeRegexSafe","RegExp","newexp","part","index","convertToRegex","set","test","getFuzzyReplacements","str","replace","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","lint","predev","prepare","release","stencil","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","element","metadata","newrelic","window","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[2618],{2618:function(o,t,n){n.r(t),n.d(t,{gux_tab_dropdown_option:function(){return i}});var d=n(5671),p=n(3144),r=n(4723),i=function(){function o(t){(0,d.Z)(this,o),(0,r.r)(this,t)}return(0,p.Z)(o,[{key:"render",value:function(){return(0,r.h)("button",{class:"tab-dropdown-option"},(0,r.h)("gux-icon",{"icon-name":this.iconName,decorative:!0}),(0,r.h)("span",null,(0,r.h)("slot",null)))}}]),o}();i.style="gux-tab-dropdown-option .tab-dropdown-option{display:flex;align-items:center;width:120px;height:36px;padding:0;font-size:12px;cursor:pointer;background:none;border:none;transition:color 0.25s, background-color 0.25s}gux-tab-dropdown-option .tab-dropdown-option:hover,gux-tab-dropdown-option .tab-dropdown-option:focus{outline:none}gux-tab-dropdown-option .tab-dropdown-option gux-icon{width:16px;height:16px;margin:0 10px}.gux-tab-dropdown-option-light-theme .tab-dropdown-option{color:#33383d}.gux-tab-dropdown-option-light-theme .tab-dropdown-option:hover,.gux-tab-dropdown-option-light-theme .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}.gux-light-theme gux-tab-dropdown-option .tab-dropdown-option{color:#33383d}.gux-light-theme gux-tab-dropdown-option .tab-dropdown-option:hover,.gux-light-theme gux-tab-dropdown-option .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}gux-tab-dropdown-option.gux-light-theme .tab-dropdown-option{color:#33383d}gux-tab-dropdown-option.gux-light-theme .tab-dropdown-option:hover,gux-tab-dropdown-option.gux-light-theme .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}gux-tab-dropdown-option .tab-dropdown-option{color:#33383d}gux-tab-dropdown-option .tab-dropdown-option:hover,gux-tab-dropdown-option .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}"}}]);
|
|
2
|
-
//# sourceMappingURL=2618.08776cf8.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/2618.08776cf8.chunk.js","mappings":"2MAIIA,EAAoB,WACtB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GAFH,qCAItB,WACE,OAAQG,EAAAA,EAAAA,GAAE,SAAU,CAAEC,MAAO,wBAAyBD,EAAAA,EAAAA,GAAE,WAAY,CAAE,YAAaD,KAAKG,SAAUC,YAAY,KAASH,EAAAA,EAAAA,GAAE,OAAQ,MAAMA,EAAAA,EAAAA,GAAE,OAAQ,YAL7H,KAQxBJ,EAAqBQ,MAVW","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-tab-dropdown-option.entry.js"],"sourcesContent":["import { r as registerInstance, h } from './index-5f3763b4.js';\n\nconst guxTabDropdownOptionCss = \"gux-tab-dropdown-option .tab-dropdown-option{display:flex;align-items:center;width:120px;height:36px;padding:0;font-size:12px;cursor:pointer;background:none;border:none;transition:color 0.25s, background-color 0.25s}gux-tab-dropdown-option .tab-dropdown-option:hover,gux-tab-dropdown-option .tab-dropdown-option:focus{outline:none}gux-tab-dropdown-option .tab-dropdown-option gux-icon{width:16px;height:16px;margin:0 10px}.gux-tab-dropdown-option-light-theme .tab-dropdown-option{color:#33383d}.gux-tab-dropdown-option-light-theme .tab-dropdown-option:hover,.gux-tab-dropdown-option-light-theme .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}.gux-light-theme gux-tab-dropdown-option .tab-dropdown-option{color:#33383d}.gux-light-theme gux-tab-dropdown-option .tab-dropdown-option:hover,.gux-light-theme gux-tab-dropdown-option .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}gux-tab-dropdown-option.gux-light-theme .tab-dropdown-option{color:#33383d}gux-tab-dropdown-option.gux-light-theme .tab-dropdown-option:hover,gux-tab-dropdown-option.gux-light-theme .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}gux-tab-dropdown-option .tab-dropdown-option{color:#33383d}gux-tab-dropdown-option .tab-dropdown-option:hover,gux-tab-dropdown-option .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}\";\n\nlet GuxTabDropdownOption = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return (h(\"button\", { class: \"tab-dropdown-option\" }, h(\"gux-icon\", { \"icon-name\": this.iconName, decorative: true }), h(\"span\", null, h(\"slot\", null))));\n }\n};\nGuxTabDropdownOption.style = guxTabDropdownOptionCss;\n\nexport { GuxTabDropdownOption as gux_tab_dropdown_option };\n"],"names":["GuxTabDropdownOption","hostRef","registerInstance","this","h","class","iconName","decorative","style"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[2657],{2657:function(e,t,n){n.r(t),n.d(t,{gux_toggle:function(){return c}});var s=n(5671),i=n(3144),l=n(4723),r=n(8125),c=function(){function e(t){(0,s.Z)(this,e),(0,l.r)(this,t),this.check=(0,l.c)(this,"check",7),this.checked=!1,this.disabled=!1,this.loading=!1,this.labelPosition="right"}return(0,i.Z)(e,[{key:"onClick",value:function(){this.toggle()}},{key:"onKeydown",value:function(e){switch(e.key){case"Enter":case" ":e.preventDefault(),this.toggle()}}},{key:"toggle",value:function(){this.disabled||this.loading||(this.checked=!this.checked,this.check.emit(this.checked))}},{key:"getAriaLabel",value:function(){return(this.checked?this.checkedLabel:this.uncheckedLabel)||this.root.getAttribute("aria-label")||this.root.title}},{key:"componentWillLoad",value:function(){var e=this.checkedLabel||this.uncheckedLabel?"labled":"unlabled";(0,r.t)(this.root,{variant:e})}},{key:"renderLoading",value:function(){if(this.loading)return(0,l.h)("div",{class:"gux-toggle-label-loading"},(0,l.h)("gux-radial-loading",{context:"input"}))}},{key:"renderLabel",value:function(){if(this.uncheckedLabel&&this.checkedLabel){var e=this.checked?this.checkedLabel:this.uncheckedLabel;return(0,l.h)("div",{class:"gux-toggle-label-and-error"},(0,l.h)("div",{class:"gux-toggle-label"},(0,l.h)("div",{class:"gux-toggle-label-text"},e),this.renderLoading()))}}},{key:"renderError",value:function(){if(this.errorMessage)return(0,l.h)("div",{class:"gux-toggle-error"},(0,l.h)("gux-error-message-beta",null,this.errorMessage))}},{key:"render",value:function(){return(0,l.h)("div",{class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading},role:"checkbox","aria-checked":Boolean(this.checked).toString(),"aria-label":this.getAriaLabel()},(0,l.h)("div",{class:"gux-toggle-input"},(0,l.h)("gux-toggle-slider",{checked:this.checked,disabled:this.disabled||this.loading}),this.renderLabel()),this.renderError())}},{key:"root",get:function(){return(0,l.g)(this)}}],[{key:"delegatesFocus",get:function(){return!0}}]),e}();c.style=":host{display:block;margin:2px;color:#33383d;outline:none}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:0.5}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse;text-align:right}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:right}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block;padding:0 4px}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}"},8125:function(e,t,n){n.d(t,{t:function(){return c}});var s=n(885),i={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},l="spark-library",r=!1;function c(e,t){var n=window.newrelic;n&&(r||(!function(){var e=window.newrelic;if(!e)return;var t=i.version.split("."),n=(0,s.Z)(t,3),r=n[0],c=n[1],o=n[2];e.addPageAction(l,{fullVersion:"".concat(r,".").concat(c,".").concat(o),majorVersion:r,minorVersion:"".concat(r,".").concat(c)})}(),r=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}}}]);
|
|
2
|
-
//# sourceMappingURL=2657.08f5fe94.chunk.js.map
|
|
@@ -1 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1B,2BAA4B,EAC3B,EACA,CACCC,YAAa,CACZ,UACA,sBAsBJ,cAAe,CACf,oBAAqB,CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBAEtBC,GAAqB,EAKzB,SAASpE,EAAeqE,EAASC,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAH,KASP,WACE,IAAMG,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BxD,EAAYE,QAAQwD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAL,EAASM,cAAcV,EAAmB,CACxCW,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAb,GAAqB,GAEvBG,EAASM,cAlBiB,kBAkBkBK,OAAOC,OAAOD,OAAOC,OAAO,GAAIb,GAAW,CAAEc,UAAWf,EAAQgB,QAAQC,cAAerE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-toggle.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst guxToggleCss = \":host{display:block;margin:2px;color:#33383d;outline:none}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:0.5}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse;text-align:right}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:right}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block;padding:0 4px}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}\";\n\nlet GuxToggle = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.check = createEvent(this, \"check\", 7);\n this.checked = false;\n this.disabled = false;\n this.loading = false;\n this.labelPosition = 'right';\n }\n onClick() {\n this.toggle();\n }\n onKeydown(event) {\n switch (event.key) {\n case 'Enter':\n case ' ':\n event.preventDefault();\n this.toggle();\n }\n }\n toggle() {\n if (!this.disabled && !this.loading) {\n this.checked = !this.checked;\n this.check.emit(this.checked);\n }\n }\n getAriaLabel() {\n const label = this.checked ? this.checkedLabel : this.uncheckedLabel;\n return label || this.root.getAttribute('aria-label') || this.root.title;\n }\n componentWillLoad() {\n const variant = this.checkedLabel || this.uncheckedLabel ? 'labled' : 'unlabled';\n trackComponent(this.root, { variant });\n }\n renderLoading() {\n if (this.loading) {\n return (h(\"div\", { class: \"gux-toggle-label-loading\" }, h(\"gux-radial-loading\", { context: \"input\" })));\n }\n }\n renderLabel() {\n if (this.uncheckedLabel && this.checkedLabel) {\n const labelText = this.checked ? this.checkedLabel : this.uncheckedLabel;\n return (h(\"div\", { class: \"gux-toggle-label-and-error\" }, h(\"div\", { class: \"gux-toggle-label\" }, h(\"div\", { class: \"gux-toggle-label-text\" }, labelText), this.renderLoading())));\n }\n }\n renderError() {\n if (this.errorMessage) {\n return (h(\"div\", { class: \"gux-toggle-error\" }, h(\"gux-error-message-beta\", null, this.errorMessage)));\n }\n }\n render() {\n return (h(\"div\", { class: {\n 'gux-toggle-container': true,\n 'gux-toggle-label-left': this.labelPosition === 'left',\n 'gux-disabled': this.disabled || this.loading\n }, role: \"checkbox\", \"aria-checked\": Boolean(this.checked).toString(), \"aria-label\": this.getAriaLabel() }, h(\"div\", { class: \"gux-toggle-input\" }, h(\"gux-toggle-slider\", { checked: this.checked, disabled: this.disabled || this.loading }), this.renderLabel()), this.renderError()));\n }\n static get delegatesFocus() { return true; }\n get root() { return getElement(this); }\n};\nGuxToggle.style = guxToggleCss;\n\nexport { GuxToggle as gux_toggle };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["GuxToggle","hostRef","registerInstance","this","check","createEvent","checked","disabled","loading","labelPosition","toggle","event","key","preventDefault","emit","checkedLabel","uncheckedLabel","root","getAttribute","title","variant","trackComponent","h","class","context","labelText","renderLoading","errorMessage","role","Boolean","toString","getAriaLabel","renderLabel","renderError","getElement","style","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","element","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[2939],{5361:function(e,t,n){n.d(t,{G:function(){return s},a:function(){return o}});var i=n(4942),r=n(4723),o=function(e,t){var n=e.labelPosition;return(0,r.h)("div",{class:(0,i.Z)({"gux-form-field-container":!0},"gux-".concat(n),!0)},t)},s=function(e,t){var n,o=e.position,s=e.required;return(0,r.h)("div",{class:(n={"gux-form-field-label":!0},(0,i.Z)(n,"gux-".concat(o),!0),(0,i.Z)(n,"gux-required",s),n)},t)}},2939:function(e,t,n){n.r(t),n.d(t,{gux_form_field_number_beta:function(){return v}});var i=n(4165),r=n(5861),o=n(5671),s=n(3144),a=n(4723),c=n(8782),u=n(4351),l=n(5618),d=n(997),p=n(8125),f=n(5569),h=n(6863),b=n(5361),g=n(2457),m={increment:"Increment",decrement:"Decrement"},x=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},v=function(){function e(t){(0,o.Z)(this,e),(0,a.r)(this,t),this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1}return(0,s.Z)(e,[{key:"onMutation",value:function(){this.hasError=(0,g.h)(this.root)}},{key:"componentWillLoad",value:function(){var e=(0,r.Z)((0,i.Z)().mark((function e(){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.b)(this.root,m);case 2:this.getI18nValue=e.sent,this.setInput(),this.setLabel(),this.hasError=(0,g.h)(this.root),(0,p.t)(this.root,{variant:this.variant});case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}},{key:"render",value:function(){var e=this,t=this.clearable&&this.hasContent&&!this.disabled;return(0,a.h)(b.a,{labelPosition:this.computedLabelPosition},(0,a.h)(b.G,{position:this.computedLabelPosition,required:this.required},(0,a.h)("slot",{name:"label",onSlotchange:function(){return e.setLabel()}})),(0,a.h)("div",{class:"gux-input-and-error-container"},(0,a.h)("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},(0,a.h)("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-clear":t}},(0,a.h)("slot",{name:"input",onSlotchange:function(){return e.setInput()}}),t&&(0,a.h)("gux-form-field-input-clear-button",{onClick:function(){return(0,g.c)(e.input)}})),this.renderStepButtons(this.input,this.getI18nValue,this.disabled)),(0,a.h)(g.G,{hasError:this.hasError},(0,a.h)("slot",{name:"error"}))))}},{key:"variant",get:function(){var e=this.labelPosition?this.labelPosition.toLowerCase():"none",t=this.clearable?"clearable":"unclearable";return"".concat(t,"-").concat(e)}},{key:"setInput",value:function(){var e=this;this.input=this.root.querySelector('input[type="number"][slot="input"]'),this.hasContent=(0,g.a)(this.input),(0,d.p)(this.input),this.input.addEventListener("input",(function(){e.hasContent=(0,g.a)(e.input)})),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=(0,l.o)(this.input,(function(t){e.disabled=t})),this.requiredObserver=(0,l.a)(this.input,(function(t){e.required=t})),(0,g.v)(this.root,this.input)}},{key:"setLabel",value:function(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=(0,g.g)(this.label,this.labelPosition)}},{key:"renderStepButtons",value:function(e,t,n){var i=this;return(0,a.h)("div",{class:"gux-step-buttons-container"},(0,a.h)("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:t("increment"),disabled:n,onClick:function(){return i.stepUp(e)}},(0,a.h)("gux-icon",{"icon-name":"chevron-small-up",decorative:!0})),(0,a.h)("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:t("decrement"),disabled:n,onClick:function(){return i.stepDown(e)}},(0,a.h)("gux-icon",{"icon-name":"chevron-small-down",decorative:!0})))}},{key:"stepDown",value:function(e){""===e.value?(0,f.s)(e,e.min||"0",!1):(e.stepDown(),this.simulateNativeInputAndChangeEvents(e))}},{key:"stepUp",value:function(e){""===e.value?(0,f.s)(e,e.min||"0",!1):(e.stepUp(),this.simulateNativeInputAndChangeEvents(e))}},{key:"simulateNativeInputAndChangeEvents",value:function(e){(0,h.s)(e,"input"),(0,h.s)(e,"change")}},{key:"root",get:function(){return(0,a.g)(this)}}]),e}();x([(0,u.O)({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#33383d}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#33383d}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#33383d;text-align:right;text-overflow:ellipsis;background-color:#f8f8f8;border:none;outline:none}::slotted(input)::placeholder{color:#666f7b;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:#ea0b0b}.gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}.gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#666f7b;background:transparent;border:none}.gux-step-buttons-container .gux-step-button:not(:disabled):focus,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}"},2457:function(e,t,n){n.d(t,{G:function(){return a},a:function(){return l},c:function(){return c},g:function(){return d},h:function(){return u},v:function(){return p}});var i=n(4723),r=n(1782),o=n(2183),s=n(5569),a=function(e,t){var n=e.hasError;return(0,i.h)("div",{class:{"gux-form-field-error":!0,"gux-show":n}},(0,i.h)("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),(0,i.h)("div",{class:"gux-message"},t))};function c(e){(0,s.s)(e,"",!0)}function u(e){return Boolean(e.querySelector('[slot="error"]'))}function l(e){return Boolean(e.value)}function d(e,t){if(e)return["above","beside","screenreader"].includes(t)?t:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}function p(e,t){if(function(e){return Boolean(e.querySelector('label[slot="label"]'))}(e)){var n=e.querySelector('label[slot="label"]'),i=Boolean(t.hasAttribute("id")),s=Boolean(n.hasAttribute("for"));if(!i&&s)(0,o.l)(e.tagName.toLowerCase(),'A "for" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the "for" attribute from the label. If there is no input id and no "for" attribute provided, the component will automatically generate an id and link it to the "for" attribute.');else if(i)if(i&&!s){var a=t.getAttribute("id");n.setAttribute("for",a)}else i&&s&&t.getAttribute("id")!==n.getAttribute("for")&&(0,o.l)(e.tagName.toLowerCase(),"The input id and label for attribute should match.");else{var c=(0,r.r)("gux-form-field-input");t.setAttribute("id",c),n.setAttribute("for",c)}}else(0,o.l)(e.tagName.toLowerCase(),'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to "screenreader" to visually hide the label.');if(u(e)){var l=e.querySelector('[slot="error"]'),d=(0,r.r)("gux-form-field-error");l.setAttribute("id",d),t.setAttribute("aria-describedby",d)}else t.getAttribute("aria-describedby")&&t.getAttribute("aria-describedby").startsWith("gux-form-field-error")&&t.removeAttribute("aria-describedby")}},2183:function(e,t,n){function i(e,t){setTimeout((function(){throw new Error("[".concat(e,"] ").concat(t))}),0)}function r(e,t){setTimeout((function(){console.warn("[".concat(e,"] ").concat(t))}),0)}n.d(t,{a:function(){return r},l:function(){return i}})},5618:function(e,t,n){function i(e,t){var n=new MutationObserver((function(n){n.forEach((function(){t(e.hidden)}))}));return n.observe(e,{attributes:!0,attributeFilter:["hidden"]}),n}function r(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"disabled"===n.attributeName&&t(e.disabled)}))}));return n.observe(e,{attributes:!0}),n}function o(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"required"===n.attributeName&&t(e.required)}))}));return n.observe(e,{attributes:!0}),n}n.d(t,{a:function(){return o},b:function(){return i},o:function(){return r}})},4351:function(e,t,n){n.d(t,{O:function(){return r}});var i=n(4723);function r(e){return function(t,n){var r,o=t.connectedCallback,s=t.disconnectedCallback;t.connectedCallback=function(){var t=(0,i.g)(this),s=this[n];return(r=new MutationObserver(s.bind(this))).observe(t,e),o&&o.call(this)},t.disconnectedCallback=function(){return r.disconnect(),s&&s.call(this)}}}},997:function(e,t,n){function i(e){e.addEventListener("invalid",(function(e){e.preventDefault()}))}n.d(t,{p:function(){return i}})},1782:function(e,t,n){function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"gux";return"".concat(e,"-").concat(Math.random().toString(36).substr(2,10))}n.d(t,{r:function(){return i}})},5569:function(e,t,n){n.d(t,{s:function(){return r}});var i=n(6863);function r(e,t,n){e.value=t,(0,i.s)(e,"input"),(0,i.s)(e,"change"),n&&e.focus()}},6863:function(e,t,n){function i(e,t){switch(t){case"change":return e.dispatchEvent(new InputEvent("change",{bubbles:!0}));case"input":return e.dispatchEvent(new InputEvent("input",{bubbles:!0}))}}n.d(t,{s:function(){return i}})},8125:function(e,t,n){n.d(t,{t:function(){return a}});var i=n(885),r={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},o="spark-library",s=!1;function a(e,t){var n=window.newrelic;n&&(s||(!function(){var e=window.newrelic;if(!e)return;var t=r.version.split("."),n=(0,i.Z)(t,3),s=n[0],a=n[1],c=n[2];e.addPageAction(o,{fullVersion:"".concat(s,".").concat(a,".").concat(c),majorVersion:s,minorVersion:"".concat(s,".").concat(a)})}(),s=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:r.version})))}}}]);
|
|
2
|
-
//# sourceMappingURL=2939.a53af515.chunk.js.map
|