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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QAAQC,cAAerE,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-disclosure-button.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 guxDisclosureButtonCss = \"gux-disclosure-button{height:100%}gux-disclosure-button .gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}gux-disclosure-button .gux-disclosure-button-container.gux-right{justify-content:flex-end}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{width:16px;padding:0;margin:0;background:transparent;border-top:none;border-right:1px solid;border-bottom:none;border-left:1px solid}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button gux-icon{width:12px;height:12px}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button:focus{outline:none}gux-disclosure-button .gux-disclosure-panel{display:none;order:-1;width:100%}gux-disclosure-button .gux-disclosure-panel.gux-right{order:1}gux-disclosure-button .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-dark-theme{color:#fdfdfd}.gux-disclosure-button-dark-theme .gux-disclosure-button-container button{color:#fdfdfd;border-color:#222529}.gux-dark-theme gux-disclosure-button{color:#fdfdfd}.gux-dark-theme gux-disclosure-button .gux-disclosure-button-container button{color:#fdfdfd;border-color:#222529}gux-disclosure-button.gux-dark-theme{color:#fdfdfd}gux-disclosure-button.gux-dark-theme .gux-disclosure-button-container button{color:#fdfdfd;border-color:#222529}.gux-disclosure-button-light-theme{color:#33383d}.gux-disclosure-button-light-theme .gux-disclosure-button-container button.gux-disclosure-button{color:#33383d;border-color:#e4e9f0}.gux-light-theme gux-disclosure-button{color:#33383d}.gux-light-theme gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{color:#33383d;border-color:#e4e9f0}gux-disclosure-button.gux-light-theme{color:#33383d}gux-disclosure-button.gux-light-theme .gux-disclosure-button-container button.gux-disclosure-button{color:#33383d;border-color:#e4e9f0}gux-disclosure-button{color:#33383d}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{color:#33383d;border-color:#e4e9f0}\";\n\nlet GuxDisclosureButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.active = createEvent(this, \"active\", 7);\n /**\n * Indicates the position of the button panel\n */\n this.position = 'left';\n /**\n * Indicates the label for the disclosure button\n */\n this.label = 'open';\n /**\n * Used to open or close the disclosure panel\n */\n this.isOpen = false;\n /**\n * Indicated image used by button\n */\n this.icon = 'arrow-solid-right';\n }\n watchIsOpen() {\n this.updateIcon();\n }\n changeState() {\n this.togglePanel();\n this.active.emit(this.isOpen);\n }\n togglePanel() {\n this.isOpen = !this.isOpen;\n }\n updateIcon() {\n if (this.position === 'right') {\n this.icon = this.isOpen ? 'arrow-solid-right' : 'arrow-solid-left';\n }\n else {\n this.icon = this.isOpen ? 'arrow-solid-left' : 'arrow-solid-right';\n }\n }\n componentWillLoad() {\n trackComponent(this.root, { variant: this.position });\n this.updateIcon();\n }\n render() {\n const activeClass = this.isOpen ? 'gux-active' : '';\n return (h(\"div\", { class: `gux-disclosure-button-container gux-${this.position}` }, h(\"button\", { class: \"gux-disclosure-button\", onClick: () => this.changeState() }, h(\"gux-icon\", { \"icon-name\": `${this.icon}`, \"screenreader-text\": this.label })), h(\"div\", { class: `gux-disclosure-panel gux-${this.position} ${activeClass}` }, h(\"slot\", { name: \"panel-content\" }))));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"isOpen\": [\"watchIsOpen\"]\n }; }\n};\nGuxDisclosureButton.style = guxDisclosureButtonCss;\n\nexport { GuxDisclosureButton as gux_disclosure_button };\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":["GuxDisclosureButton","hostRef","registerInstance","this","active","createEvent","position","label","isOpen","icon","updateIcon","togglePanel","emit","trackComponent","root","variant","activeClass","h","class","onClick","changeState","name","getElement","style","packageInfo","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([[501],{501:function(t,e,n){n.r(e),n.d(e,{gux_action_button:function(){return p}});var i=n(4165),s=n(5861),o=n(5671),c=n(3144),r=n(4723),l=n(8125),a=n(8782),u={actionButtonDropdown:"Dropdown for {buttonTitle}"},p=function(){function t(e){(0,o.Z)(this,t),(0,r.r)(this,e),this.open=(0,r.c)(this,"open",7),this.close=(0,r.c)(this,"close",7),this.actionClick=(0,r.c)(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}return(0,c.Z)(t,[{key:"toggle",value:function(){this.isOpen=!this.isOpen}},{key:"handleFocusOut",value:function(t){this.root.contains(t.relatedTarget)||(this.isOpen=!1)}},{key:"handleKeyDown",value:function(t){this.root.contains(t.target)||(this.isOpen=!1)}},{key:"watchDisabled",value:function(t){t&&(this.isOpen=!1)}},{key:"watchValue",value:function(t){t?this.open.emit():this.close.emit()}},{key:"onActionClick",value:function(){this.actionClick.emit()}},{key:"onKeyUpEvent",value:function(t){switch(t.key){case"Escape":this.isOpen=!1,this.dropdownButton.focus();break;case"ArrowDown":this.listElement.contains(t.target)||(this.isOpen=!0,this.listElement.setFocusOnFirstItem())}}},{key:"componentWillLoad",value:function(){var t=(0,s.Z)((0,i.Z)().mark((function t(){return(0,i.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(0,l.t)(this.root,{variant:this.type}),t.next=3,(0,a.b)(this.root,u);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,r.h)("div",{class:"gux-action-button-container"},(0,r.h)("gux-popup-beta",{expanded:this.isOpen,disabled:this.disabled},(0,r.h)("div",{slot:"target",class:"gux-action-button-container"},(0,r.h)("gux-button-slot-beta",{class:"gux-action-button",accent:this.accent},(0,r.h)("button",{type:this.type,disabled:this.disabled,onClick:function(){return t.onActionClick()}},this.text)),(0,r.h)("gux-button-slot-beta",{class:"gux-dropdown-button",accent:this.accent},(0,r.h)("button",{type:this.type,disabled:this.disabled,ref:function(e){return t.dropdownButton=e},onClick:function(){return t.toggle()},onKeyUp:function(e){return t.onKeyUpEvent(e)},"aria-haspopup":"listbox","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("actionButtonDropdown",{buttonTitle:this.text})},(0,r.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),(0,r.h)("gux-list",{slot:"popup",ref:function(e){return t.listElement=e}},(0,r.h)("slot",null))))}},{key:"root",get:function(){return(0,r.g)(this)}}],[{key:"watchers",get:function(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}}]),t}();p.style="gux-action-button{display:block;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-action-button .gux-action-button-container{min-width:128px}gux-action-button .gux-action-button-container>*{vertical-align:middle}gux-action-button .gux-action-button-container .gux-action-button{width:calc(100% - 33px);margin-right:1px}gux-action-button .gux-action-button-container .gux-action-button button{width:100%;max-width:none;text-align:center;border-top-right-radius:0;border-bottom-right-radius:0}gux-action-button .gux-action-button-container .gux-dropdown-button button{width:32px;min-width:0;padding:0;border-top-left-radius:0;border-bottom-left-radius:0}gux-action-button .gux-action-button-container .gux-dropdown-button button gux-icon{width:16px;height:16px}"},8125:function(t,e,n){n.d(e,{t:function(){return r}});var i=n(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"}},o="spark-library",c=!1;function r(t,e){var n=window.newrelic;n&&(c||(!function(){var t=window.newrelic;if(!t)return;var e=s.version.split("."),n=(0,i.Z)(e,3),c=n[0],r=n[1],l=n[2];t.addPageAction(o,{fullVersion:"".concat(c,".").concat(r,".").concat(l),majorVersion:c,minorVersion:"".concat(c,".").concat(r)})}(),c=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:s.version})))}}}]);
|
|
2
|
-
//# sourceMappingURL=501.3f46836b.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/501.3f46836b.chunk.js","mappings":"2OAKMA,EAAmB,CACxBC,qBAF4B,8BAOzBC,EAAe,WACjB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,MAAOC,EAAAA,EAAAA,GAAYF,KAAM,OAAQ,GACtCA,KAAKG,OAAQD,EAAAA,EAAAA,GAAYF,K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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,SAASxE,EAAeyE,EAASC,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAH,KASP,WACE,IAAMG,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BtD,EAAYE,QAAQsD,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,cAAenE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-action-button.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';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\n\nconst actionButtonDropdown = \"Dropdown for {buttonTitle}\";\nconst defaultResources = {\n\tactionButtonDropdown: actionButtonDropdown\n};\n\nconst guxActionButtonCss = \"gux-action-button{display:block;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-action-button .gux-action-button-container{min-width:128px}gux-action-button .gux-action-button-container>*{vertical-align:middle}gux-action-button .gux-action-button-container .gux-action-button{width:calc(100% - 33px);margin-right:1px}gux-action-button .gux-action-button-container .gux-action-button button{width:100%;max-width:none;text-align:center;border-top-right-radius:0;border-bottom-right-radius:0}gux-action-button .gux-action-button-container .gux-dropdown-button button{width:32px;min-width:0;padding:0;border-top-left-radius:0;border-bottom-left-radius:0}gux-action-button .gux-action-button-container .gux-dropdown-button button gux-icon{width:16px;height:16px}\";\n\nlet GuxActionButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.open = createEvent(this, \"open\", 7);\n this.close = createEvent(this, \"close\", 7);\n this.actionClick = createEvent(this, \"actionClick\", 7);\n /**\n * The component button type\n */\n this.type = 'button';\n /**\n * Disables the action button.\n */\n this.disabled = false;\n /**\n * The component accent (secondary or primary).\n */\n this.accent = 'secondary';\n /**\n * It is used to open or not the list.\n */\n this.isOpen = false;\n }\n toggle() {\n this.isOpen = !this.isOpen;\n }\n handleFocusOut(e) {\n if (!this.root.contains(e.relatedTarget)) {\n this.isOpen = false;\n }\n }\n handleKeyDown(e) {\n if (this.root.contains(e.target)) {\n return;\n }\n this.isOpen = false;\n }\n watchDisabled(disabled) {\n if (disabled) {\n this.isOpen = false;\n }\n }\n watchValue(newValue) {\n if (newValue) {\n this.open.emit();\n }\n else {\n this.close.emit();\n }\n }\n onActionClick() {\n this.actionClick.emit();\n }\n onKeyUpEvent(event) {\n switch (event.key) {\n case 'Escape':\n this.isOpen = false;\n this.dropdownButton.focus();\n break;\n case 'ArrowDown':\n if (!this.listElement.contains(event.target)) {\n this.isOpen = true;\n this.listElement.setFocusOnFirstItem();\n }\n break;\n }\n }\n async componentWillLoad() {\n trackComponent(this.root, { variant: this.type });\n this.i18n = await buildI18nForComponent(this.root, defaultResources);\n }\n render() {\n return (h(\"div\", { class: \"gux-action-button-container\" }, h(\"gux-popup-beta\", { expanded: this.isOpen, disabled: this.disabled }, h(\"div\", { slot: \"target\", class: \"gux-action-button-container\" }, h(\"gux-button-slot-beta\", { class: \"gux-action-button\", accent: this.accent }, h(\"button\", { type: this.type, disabled: this.disabled, onClick: () => this.onActionClick() }, this.text)), h(\"gux-button-slot-beta\", { class: \"gux-dropdown-button\", accent: this.accent }, h(\"button\", { type: this.type, disabled: this.disabled, ref: el => (this.dropdownButton = el), onClick: () => this.toggle(), onKeyUp: e => this.onKeyUpEvent(e), \"aria-haspopup\": \"listbox\", \"aria-expanded\": this.isOpen.toString(), \"aria-label\": this.i18n('actionButtonDropdown', {\n buttonTitle: this.text\n }) }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-down\" })))), h(\"gux-list\", { slot: \"popup\", ref: el => (this.listElement = el) }, h(\"slot\", null)))));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"disabled\": [\"watchDisabled\"],\n \"isOpen\": [\"watchValue\"]\n }; }\n};\nGuxActionButton.style = guxActionButtonCss;\n\nexport { GuxActionButton as gux_action_button };\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":["defaultResources","actionButtonDropdown","GuxActionButton","hostRef","registerInstance","this","open","createEvent","close","actionClick","type","disabled","accent","isOpen","e","root","contains","relatedTarget","target","newValue","emit","event","key","dropdownButton","focus","listElement","setFocusOnFirstItem","trackComponent","variant","buildI18nForComponent","i18n","h","class","expanded","slot","onClick","onActionClick","text","ref","el","toggle","onKeyUp","onKeyUpEvent","toString","buttonTitle","decorative","getElement","style","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","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([[5122],{5122:function(t,e,o){o.r(e),o.d(e,{gux_tooltip_title_beta:function(){return c}});var i=o(5671),r=o(3144),n=o(4723),l=o(2183),c=function(){function t(e){(0,i.Z)(this,t),(0,n.r)(this,e),this.titleName="",this.showTooltip=!0}return(0,r.Z)(t,[{key:"componentWillLoad",value:function(){var t=this;this.root.querySelector("gux-icon")&&1===this.root.children.length?this.root.querySelector("gux-icon").hasAttribute("screenreader-text")?this.titleName=this.root.querySelector("gux-icon").getAttribute("screenreader-text"):(0,l.l)("gux-tooltip-title-beta","No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip."):(Array.from(this.root.children).map((function(e){"GUX-ICON"!==e.tagName?t.titleName+=e.innerHTML:e.classList.add("gux-tooltip-icon-decorative")})),this.checkForTooltipHideOrShow())}},{key:"checkForTooltipHideOrShow",value:function(){var t=this.root.clientWidth;this.tabWidth&&t<this.tabWidth&&(this.showTooltip=!1)}},{key:"render",value:function(){return[(0,n.h)("span",{class:"gux-title-container"},(0,n.h)("slot",null)),this.renderTooltip()]}},{key:"renderTooltip",value:function(){if(this.showTooltip)return(0,n.h)("gux-tooltip",null,this.titleName)}},{key:"root",get:function(){return(0,n.g)(this)}}]),t}();c.style="gux-tooltip-title-beta{cursor:default}gux-tooltip-title-beta gux-tooltip{text-align:left;overflow-wrap:break-word;white-space:normal}gux-tooltip-title-beta .gux-title-container{display:flex}gux-tooltip-title-beta .gux-title-container gux-icon{flex-shrink:0}gux-tooltip-title-beta .gux-title-container gux-icon.gux-tooltip-icon-decorative{margin-right:8px}gux-tooltip-title-beta .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}"},2183:function(t,e,o){function i(t,e){setTimeout((function(){throw new Error("[".concat(t,"] ").concat(e))}),0)}function r(t,e){setTimeout((function(){console.warn("[".concat(t,"] ").concat(e))}),0)}o.d(e,{a:function(){return r},l:function(){return i}})}}]);
|
|
2
|
-
//# sourceMappingURL=5122.046ab4b7.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/5122.046ab4b7.chunk.js","mappings":"oNAKIA,EAAe,WACjB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,UAAY,GACjBD,KAAKE,aAAc,EAJJ,gDAMjB,WAAoB,WACdF,KAAKG,KAAKC,cAAc,aACI,IAA9BJ,KAAKG,KAAKE,SAASC,OACfN,KAAKG,KAAKC,cAAc,YAAYG,aAAa,qBACnDP,KAAKC,UAAYD,KAAKG,KACnBC,cAAc,YACdI,aAAa,sBAGhBC,EAAAA,EAAAA,GAAS,yBAA0B,2LAIpBC,MAAMC,KAAKX,KAAKG,KAAKE,UAC7BO,KAAI,SAAAC,GACa,aAApBA,EAAQC,QACV,EAAKb,WAAaY,EAAQE,UAG1BF,EAAQG,UAAUC,IAAI,kCAG1BjB,KAAKkB,+BA5BQ,uCA+BjB,WACE,IAAMC,EAAcnB,KAAKG,KAAKgB,YAC1BnB,KAAKoB,UAAYD,EAAcnB,KAAKoB,WACtCpB,KAAKE,aAAc,KAlCN,oBAsCjB,WACE,MAAO,EACLmB,EAAAA,EAAAA,GAAE,OAAQ,CAAEC,MAAO,wBAAyBD,EAAAA,EAAAA,GAAE,OAAQ,OACtDrB,KAAKuB,mBAzCQ,2BA4CjB,WACE,GAAIvB,KAAKE,YACP,OAAOmB,EAAAA,EAAAA,GAAE,cAAe,KAAMrB,KAAKC,aA9CtB,gBAiDjB,WAAa,OAAOuB,EAAAA,EAAAA,GAAWxB,UAjDd,KAmDnBH,EAAgB4B,MArDW,4b,qBCH3B,SAAShB,EAASiB,EAAWC,GAC3BC,YAAW,WACT,MAAM,IAAIC,MAAJ,WAAcH,EAAd,aAA4BC,MACjC,GAEL,SAASG,EAAQJ,EAAWC,GAC1BC,YAAW,WACTG,QAAQC,KAAR,WAAiBN,EAAjB,aAA+BC,MAC9B,G","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-tooltip-title-beta.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/log-error-3d08c2b1.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { l as logError } from './log-error-3d08c2b1.js';\n\nconst guxTooltipTitleCss = \"gux-tooltip-title-beta{cursor:default}gux-tooltip-title-beta gux-tooltip{text-align:left;overflow-wrap:break-word;white-space:normal}gux-tooltip-title-beta .gux-title-container{display:flex}gux-tooltip-title-beta .gux-title-container gux-icon{flex-shrink:0}gux-tooltip-title-beta .gux-title-container gux-icon.gux-tooltip-icon-decorative{margin-right:8px}gux-tooltip-title-beta .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}\";\n\nlet GuxTooltipTitle = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.titleName = '';\n this.showTooltip = true;\n }\n componentWillLoad() {\n if (this.root.querySelector('gux-icon') &&\n this.root.children.length === 1) {\n if (this.root.querySelector('gux-icon').hasAttribute('screenreader-text')) {\n this.titleName = this.root\n .querySelector('gux-icon')\n .getAttribute('screenreader-text');\n }\n else {\n logError('gux-tooltip-title-beta', 'No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip.');\n }\n }\n else {\n const children = Array.from(this.root.children);\n children.map(element => {\n if (element.tagName !== 'GUX-ICON') {\n this.titleName += element.innerHTML;\n }\n else {\n element.classList.add('gux-tooltip-icon-decorative');\n }\n });\n this.checkForTooltipHideOrShow();\n }\n }\n checkForTooltipHideOrShow() {\n const clientWidth = this.root.clientWidth;\n if (this.tabWidth && clientWidth < this.tabWidth) {\n this.showTooltip = false;\n return;\n }\n }\n render() {\n return [\n h(\"span\", { class: \"gux-title-container\" }, h(\"slot\", null)),\n this.renderTooltip()\n ];\n }\n renderTooltip() {\n if (this.showTooltip) {\n return h(\"gux-tooltip\", null, this.titleName);\n }\n }\n get root() { return getElement(this); }\n};\nGuxTooltipTitle.style = guxTooltipTitleCss;\n\nexport { GuxTooltipTitle as gux_tooltip_title_beta };\n","function logError(component, message) {\n setTimeout(() => {\n throw new Error(`[${component}] ${message}`);\n }, 0);\n}\nfunction logWarn(component, message) {\n setTimeout(() => {\n console.warn(`[${component}] ${message}`);\n }, 0);\n}\n\nexport { logWarn as a, logError as l };\n"],"names":["GuxTooltipTitle","hostRef","registerInstance","this","titleName","showTooltip","root","querySelector","children","length","hasAttribute","getAttribute","logError","Array","from","map","element","tagName","innerHTML","classList","add","checkForTooltipHideOrShow","clientWidth","tabWidth","h","class","renderTooltip","getElement","style","component","message","setTimeout","Error","logWarn","console","warn"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[5160],{2417:function(e,t,n){function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1/0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return isNaN(e)?NaN:Math.min(Math.max(e,t),n)}n.d(t,{c:function(){return s}})},5160:function(e,t,n){n.r(t),n.d(t,{gux_rating:function(){return p}});var s=n(2982),i=n(885),r=n(5671),a=n(3144),c=n(4723),o=n(6863),l=n(2417),u=n(8125),p=function(){function e(t){(0,r.Z)(this,e),(0,c.r)(this,t),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1}return(0,a.Z)(e,[{key:"onClick",value:function(e){if(e.stopPropagation(),!this.disabled&&!this.readonly){var t=e.composedPath(),n=(0,i.Z)(t,1)[0].closest("gux-icon"),s=Array.from(this.ratingElement.children).findIndex((function(e){return e===n}))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)&&this.updateRatingValue(s-.5)}}},{key:"onKeyDown",value:function(e){if(e.stopPropagation(),!this.disabled&&!this.readonly)switch(e.key){case"ArrowUp":case"ArrowLeft":e.preventDefault(),this.updateRatingValue(this.value-.5);break;case"ArrowDown":case"ArrowRight":e.preventDefault(),this.updateRatingValue(this.value+.5);break;case"End":e.preventDefault(),this.updateRatingValue(1/0);break;case"Home":e.preventDefault(),this.updateRatingValue(-1/0)}}},{key:"updateRatingValue",value:function(e){var t=(0,l.c)(e,0,Array.from(this.ratingElement.children).length);this.value!==t&&(this.value=t,(0,o.s)(this.root,"input"),(0,o.s)(this.root,"change"))}},{key:"getRatingStarElements",value:function(){var e=this;return(0,s.Z)(Array(this.maxValue).keys()).reduce((function(t,n){return n+.5===e.value?t.concat("rating-partial"):n+1<=e.value?t.concat("rating-active"):t.concat("rating")}),[]).map((function(e){return(0,c.h)("gux-icon",{"icon-name":e,decorative:!0})}))}},{key:"getTabIndex",value:function(){return this.disabled?-1:0}},{key:"componentWillLoad",value:function(){(0,u.t)(this.root)}},{key:"render",value:function(){var e=this;return(0,c.h)(c.H,{role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly,"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},(0,c.h)("div",{ref:function(t){return e.ratingElement=t},class:{"gux-rating-start-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}},{key:"root",get:function(){return(0,c.g)(this)}}]),e}();p.style=":host{display:inline-flex}:host:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-rating-start-container{color:#33383d}.gux-rating-start-container.gux-disabled{opacity:0.5}.gux-rating-start-container gux-icon{width:24px;height:24px}"},6863:function(e,t,n){function s(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 s}})},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"}},r="spark-library",a=!1;function c(e,t){var n=window.newrelic;n&&(a||(!function(){var e=window.newrelic;if(!e)return;var t=i.version.split("."),n=(0,s.Z)(t,3),a=n[0],c=n[1],o=n[2];e.addPageAction(r,{fullVersion:"".concat(a,".").concat(c,".").concat(o),majorVersion:a,minorVersion:"".concat(a,".").concat(c)})}(),a=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}}}]);
|
|
2
|
-
//# sourceMappingURL=5160.465b3a5d.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/5160.465b3a5d.chunk.js","mappings":"4GAAA,SAASA,EAAMC,GAA4C,IAArCC,EAAqC,wDAA5BC,IAAUC,EAAkB,uDAAVD,IAC/C,OAAIE,MAAMJ,GACDK,IAEFC,KAAKC,IAAID,KAAKE,IAAIR,EAAOC,GAAQE,G,yLCGtCM,EAAS,WACX,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,MAAQ,EACbD,KAAKE,SAAW,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AM,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,SAASrE,EAAesE,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/clamp-6bdb0367.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-rating.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/simulate-native-event-ac69961f.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["function clamp(input, lower = -Infinity, upper = Infinity) {\n if (isNaN(input)) {\n return NaN;\n }\n return Math.min(Math.max(input, lower), upper);\n}\n\nexport { clamp as c };\n","import { r as registerInstance, h, H as Host, g as getElement } from './index-5f3763b4.js';\nimport { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';\nimport { c as clamp } from './clamp-6bdb0367.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst guxRatingCss = \":host{display:inline-flex}:host:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-rating-start-container{color:#33383d}.gux-rating-start-container.gux-disabled{opacity:0.5}.gux-rating-start-container gux-icon{width:24px;height:24px}\";\n\nlet GuxRating = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.value = 0;\n this.maxValue = 5;\n this.disabled = false;\n this.readonly = false;\n }\n onClick(event) {\n event.stopPropagation();\n if (this.disabled || this.readonly) {\n return;\n }\n const [clickedElement] = event.composedPath();\n const ratingStar = clickedElement.closest('gux-icon');\n const clickedStarIndex = Array.from(this.ratingElement.children).findIndex(child => child === ratingStar);\n const clickedStarNominalValue = clickedStarIndex + 1;\n if (clickedStarNominalValue === this.value + 0.5) {\n this.updateRatingValue(clickedStarNominalValue);\n }\n else if (clickedStarNominalValue === this.value) {\n this.updateRatingValue(0);\n }\n else if (clickedStarNominalValue !== Math.floor(this.value)) {\n this.updateRatingValue(clickedStarNominalValue - 0.5);\n }\n }\n onKeyDown(event) {\n event.stopPropagation();\n if (this.disabled || this.readonly) {\n return;\n }\n switch (event.key) {\n case 'ArrowUp':\n case 'ArrowLeft':\n event.preventDefault();\n this.updateRatingValue(this.value - 0.5);\n break;\n case 'ArrowDown':\n case 'ArrowRight':\n event.preventDefault();\n this.updateRatingValue(this.value + 0.5);\n break;\n case 'End':\n event.preventDefault();\n this.updateRatingValue(Infinity);\n break;\n case 'Home':\n event.preventDefault();\n this.updateRatingValue(-Infinity);\n break;\n }\n }\n updateRatingValue(newValue) {\n const validatedNewValue = clamp(newValue, 0, Array.from(this.ratingElement.children).length);\n if (this.value !== validatedNewValue) {\n this.value = validatedNewValue;\n simulateNativeEvent(this.root, 'input');\n simulateNativeEvent(this.root, 'change');\n }\n }\n getRatingStarElements() {\n return [...Array(this.maxValue).keys()]\n .reduce((acc, cv) => {\n if (cv + 0.5 === this.value) {\n return acc.concat('rating-partial');\n }\n else if (cv + 1 <= this.value) {\n return acc.concat('rating-active');\n }\n return acc.concat('rating');\n }, [])\n .map(iconName => h(\"gux-icon\", { \"icon-name\": iconName, decorative: true }));\n }\n getTabIndex() {\n return this.disabled ? -1 : 0;\n }\n componentWillLoad() {\n trackComponent(this.root);\n }\n render() {\n return (h(Host, { role: \"spinbutton\", tabindex: this.getTabIndex(), \"aria-readonly\": this.readonly, \"aria-valuenow\": this.value, \"aria-valuemin\": \"0\", \"aria-valuemax\": this.maxValue }, h(\"div\", { ref: (el) => (this.ratingElement = el), class: {\n 'gux-rating-start-container': true,\n 'gux-disabled': this.disabled\n } }, this.getRatingStarElements())));\n }\n get root() { return getElement(this); }\n};\nGuxRating.style = guxRatingCss;\n\nexport { GuxRating as gux_rating };\n","function simulateNativeEvent(targetElement, nativeEventName) {\n switch (nativeEventName) {\n case 'change':\n return targetElement.dispatchEvent(new InputEvent('change', {\n bubbles: true\n }));\n case 'input':\n return targetElement.dispatchEvent(new InputEvent('input', {\n bubbles: true\n }));\n }\n}\n\nexport { simulateNativeEvent as s };\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":["clamp","input","lower","Infinity","upper","isNaN","NaN","Math","min","max","GuxRating","hostRef","registerInstance","this","value","maxValue","disabled","readonly","event","stopPropagation","composedPath","ratingStar","closest","clickedStarNominalValue","Array","from","ratingElement","children","findIndex","child","updateRatingValue","floor","key","preventDefault","newValue","validatedNewValue","length","simulateNativeEvent","root","keys","reduce","acc","cv","concat","map","iconName","h","decorative","trackComponent","Host","role","tabindex","getTabIndex","ref","el","class","getRatingStarElements","getElement","style","targetElement","nativeEventName","dispatchEvent","InputEvent","bubbles","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([[546],{546:function(t,e,i){i.r(e),i.d(e,{gux_action_item:function(){return c}});var n=i(5671),a=i(3144),o=i(4723),c=function(){function t(e){(0,n.Z)(this,t),(0,o.r)(this,e),this.press=(0,o.c)(this,"press",7),this.disabled=!1}return(0,a.Z)(t,[{key:"handleClick",value:function(){this.onItemClicked()}},{key:"onKeydown",value:function(t){switch(t.key){case"Enter":case"Space":return void this.onItemClicked()}}},{key:"onItemClicked",value:function(){this.disabled||this.press.emit(this.value)}},{key:"render",value:function(){return(0,o.h)(o.H,{role:"listitem"},(0,o.h)("span",{class:"gux-action-item"},this.text,(0,o.h)("slot",null)))}}]),t}();c.style="gux-action-item .gux-action-item{display:flex;height:max-content;padding:0 16px;line-height:32px;word-wrap:break-word;cursor:pointer}gux-action-item .gux-action-item .gux-text{width:100%}gux-action-item:focus:not([disabled]) .gux-action-item,gux-action-item:active:not([disabled]) .gux-action-item,gux-action-item:hover:not([disabled]) .gux-action-item{color:#fdfdfd;background:#2a60c8}gux-action-item[disabled] .gux-action-item{pointer-events:none;cursor:default;opacity:0.5}"}}]);
|
|
2
|
-
//# sourceMappingURL=546.40835589.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/546.40835589.chunk.js","mappings":"iMAIIA,EAAa,WACf,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,OAAQC,EAAAA,EAAAA,GAAYF,KAAM,QAAS,GACxCA,KAAKG,UAAW,EAJH,0CAMf,WACEH,KAAKI,kBAPQ,uBASf,SAAUC,GACR,OAAQA,EAAMC,KACZ,IAAK,QACL,IAAK,QAEH,YADAN,KAAKI,mBAbI,2BAiBf,WACOJ,KAAKG,UACRH,KAAKC,MAAMM,KAAKP,KAAKQ,SAnBV,oBAsBf,WACE,OAAQC,EAAAA,EAAAA,GAAEC,EAAAA,EAAM,CAAEC,KAAM,aAAcF,EAAAA,EAAAA,GAAE,OAAQ,CAAEG,MAAO,mBAAqBZ,KAAKa,MAAMJ,EAAAA,EAAAA,GAAE,OAAQ,YAvBtF,KA0BjBZ,EAAciB,MA5BW","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-action-item.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host } from './index-5f3763b4.js';\n\nconst guxActionItemCss = \"gux-action-item .gux-action-item{display:flex;height:max-content;padding:0 16px;line-height:32px;word-wrap:break-word;cursor:pointer}gux-action-item .gux-action-item .gux-text{width:100%}gux-action-item:focus:not([disabled]) .gux-action-item,gux-action-item:active:not([disabled]) .gux-action-item,gux-action-item:hover:not([disabled]) .gux-action-item{color:#fdfdfd;background:#2a60c8}gux-action-item[disabled] .gux-action-item{pointer-events:none;cursor:default;opacity:0.5}\";\n\nlet GuxActionItem = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.press = createEvent(this, \"press\", 7);\n this.disabled = false;\n }\n handleClick() {\n this.onItemClicked();\n }\n onKeydown(event) {\n switch (event.key) {\n case 'Enter':\n case 'Space':\n this.onItemClicked();\n return;\n }\n }\n onItemClicked() {\n if (!this.disabled) {\n this.press.emit(this.value);\n }\n }\n render() {\n return (h(Host, { role: \"listitem\" }, h(\"span\", { class: \"gux-action-item\" }, this.text, h(\"slot\", null))));\n }\n};\nGuxActionItem.style = guxActionItemCss;\n\nexport { GuxActionItem as gux_action_item };\n"],"names":["GuxActionItem","hostRef","registerInstance","this","press","createEvent","disabled","onItemClicked","event","key","emit","value","h","Host","role","class","text","style"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[5503],{5503:function(t,n,e){e.r(n),e.d(n,{gux_input_text_like:function(){return p}});var i=e(4165),u=e(5861),r=e(5671),o=e(3144),a=e(4723),c=e(8782),s=e(5569),l=e(5618),d={clear:"Clear"},p=function(){function t(n){(0,r.Z)(this,t),(0,a.r)(this,n),this.hasContent=!1}return(0,o.Z)(t,[{key:"clearInput",value:function(){(0,s.s)(this.input,"",!0)}},{key:"setHasContent",value:function(){this.hasContent=Boolean(this.input.value)}},{key:"renderClearButton",value:function(){return this.clearable&&this.hasContent&&!this.disabled?(0,a.h)("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.getI18nValue("clear"),disabled:this.disabled,onClick:this.clearInput.bind(this)},(0,a.h)("gux-icon",{"icon-name":"close",decorative:!0})):null}},{key:"componentWillLoad",value:function(){var t=(0,u.Z)((0,i.Z)().mark((function t(){var n=this;return(0,i.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,c.b)(this.root,d);case 2:this.getI18nValue=t.sent,this.input=this.root.querySelector('input[slot="input"]'),this.setHasContent(),this.disabled=this.input.disabled,this.input.addEventListener("input",(function(){n.setHasContent()})),this.disabledObserver=(0,l.o)(this.input,(function(t){n.disabled=t}));case 8: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,a.h)("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},(0,a.h)("slot",{name:"input"}),this.renderClearButton())}},{key:"root",get:function(){return(0,a.g)(this)}}]),t}();p.style="gux-input-text-like{display:block}gux-input-text-like .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:4px 8px 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-text-like .gux-input-container.gux-disabled{opacity:0.5}gux-input-text-like .gux-input-container input{flex:1 1 auto;align-self:auto;order:0;color:#33383d;background-color:#f8f8f8;border:none;outline:none}gux-input-text-like .gux-input-container input::placeholder{color:#666f7b;opacity:1}gux-input-text-like .gux-input-container .gux-clear-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;margin-left:8px;color:#666f7b;background:transparent;border:none;border-radius:4px}gux-input-text-like .gux-input-container .gux-clear-button:not(:disabled):focus,gux-input-text-like .gux-input-container .gux-clear-button:not(:disabled):hover{color:#33383d;cursor:pointer}gux-input-text-like .gux-input-container .gux-clear-button gux-icon{width:12px;height:12px;margin:4px;border-radius:4px}gux-input-text-like .gux-input-container .gux-clear-button:focus{outline:none}gux-input-text-like .gux-input-container .gux-clear-button:focus:enabled gux-icon{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}gux-input-text-like .gux-input-container:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}"},5618:function(t,n,e){function i(t,n){var e=new MutationObserver((function(e){e.forEach((function(){n(t.hidden)}))}));return e.observe(t,{attributes:!0,attributeFilter:["hidden"]}),e}function u(t,n){var e=new MutationObserver((function(e){e.forEach((function(e){"disabled"===e.attributeName&&n(t.disabled)}))}));return e.observe(t,{attributes:!0}),e}function r(t,n){var e=new MutationObserver((function(e){e.forEach((function(e){"required"===e.attributeName&&n(t.required)}))}));return e.observe(t,{attributes:!0}),e}e.d(n,{a:function(){return r},b:function(){return i},o:function(){return u}})},5569:function(t,n,e){e.d(n,{s:function(){return u}});var i=e(6863);function u(t,n,e){t.value=n,(0,i.s)(t,"input"),(0,i.s)(t,"change"),e&&t.focus()}},6863:function(t,n,e){function i(t,n){switch(n){case"change":return t.dispatchEvent(new InputEvent("change",{bubbles:!0}));case"input":return t.dispatchEvent(new InputEvent("input",{bubbles:!0}))}}e.d(n,{s:function(){return i}})}}]);
|
|
2
|
-
//# sourceMappingURL=5503.cc3b1fda.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/5503.cc3b1fda.chunk.js","mappings":"yPAOMA,EAAqB,CAC1BC,MAFa,SAOVC,EAAgB,WAClB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,YAAa,EAHF,yCAKlB,YACEC,EAAAA,EAAAA,GAAcF,KAAKG,MAAO,IAAI,KANd,2BAQlB,WACEH,KAAKC,WAAaG,QAAQJ,KAAKG,MAAME,SATrB,+BAWlB,WACE,OAAIL,KAAKM,WAAaN,KAAKC,aAAeD,KAAKO,UACrCC,EAAAA,EAAAA,GAAE,SAAU,CAAEC,MAAO,mBAAoBC,UAAW,EAAGC,KAAM,SAAUC,MAAOZ,KAAKa,aAAa,SAAUN,SAAUP,KAAKO,SAAUO,QAASd,KAAKe,WAAWC,KAAKhB,QAASQ,EAAAA,EAAAA,GAAE,WAAY,CAAE,YAAa,QAASS,YAAY,KAE/N,OAfS,wEAiBlB,+GAC4BC,EAAAA,EAAAA,GAAsBlB,KAAKmB,KAAMxB,GAD7D,OACEK,KAAKa,aADP,OAEEb,KAAKG,MAAQH,KAAKmB,KAAKC,cAAc,uBACrCpB,KAAKqB,gBACLrB,KAAKO,SAAWP,KAAKG,MAAMI,SAC3BP,KAAKG,MAAMmB,iBAAiB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EAAcE,cAAc,IAAIC,WAAW,SAAU,CAC1DC,SAAS,KAEb,IAAK,QACH,OAAOJ,EAAcE,cAAc,IAAIC,WAAW,QAAS,CACzDC,SAAS,M","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-input-text-like.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-attribute-change-2b01c315.js","../node_modules/@genesys/common-webcomponents/dist/esm/set-input-value-5adeaccc.js","../node_modules/@genesys/common-webcomponents/dist/esm/simulate-native-event-ac69961f.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\nimport { s as setInputValue } from './set-input-value-5adeaccc.js';\nimport { o as onDisabledChange } from './on-attribute-change-2b01c315.js';\nimport './simulate-native-event-ac69961f.js';\n\nconst clear = \"Clear\";\nconst componentResources = {\n\tclear: clear\n};\n\nconst guxInputTextLikeCss = \"gux-input-text-like{display:block}gux-input-text-like .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:4px 8px 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-text-like .gux-input-container.gux-disabled{opacity:0.5}gux-input-text-like .gux-input-container input{flex:1 1 auto;align-self:auto;order:0;color:#33383d;background-color:#f8f8f8;border:none;outline:none}gux-input-text-like .gux-input-container input::placeholder{color:#666f7b;opacity:1}gux-input-text-like .gux-input-container .gux-clear-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;margin-left:8px;color:#666f7b;background:transparent;border:none;border-radius:4px}gux-input-text-like .gux-input-container .gux-clear-button:not(:disabled):focus,gux-input-text-like .gux-input-container .gux-clear-button:not(:disabled):hover{color:#33383d;cursor:pointer}gux-input-text-like .gux-input-container .gux-clear-button gux-icon{width:12px;height:12px;margin:4px;border-radius:4px}gux-input-text-like .gux-input-container .gux-clear-button:focus{outline:none}gux-input-text-like .gux-input-container .gux-clear-button:focus:enabled gux-icon{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}gux-input-text-like .gux-input-container:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}\";\n\nlet GuxInputTextLike = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.hasContent = false;\n }\n clearInput() {\n setInputValue(this.input, '', true);\n }\n setHasContent() {\n this.hasContent = Boolean(this.input.value);\n }\n renderClearButton() {\n if (this.clearable && this.hasContent && !this.disabled) {\n return (h(\"button\", { class: \"gux-clear-button\", tabIndex: -1, type: \"button\", title: this.getI18nValue('clear'), disabled: this.disabled, onClick: this.clearInput.bind(this) }, h(\"gux-icon\", { \"icon-name\": \"close\", decorative: true })));\n }\n return null;\n }\n async componentWillLoad() {\n this.getI18nValue = await buildI18nForComponent(this.root, componentResources);\n this.input = this.root.querySelector('input[slot=\"input\"]');\n this.setHasContent();\n this.disabled = this.input.disabled;\n this.input.addEventListener('input', () => {\n this.setHasContent();\n });\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n }\n render() {\n return (h(\"div\", { class: {\n 'gux-input-container': true,\n 'gux-disabled': this.disabled\n } }, h(\"slot\", { name: \"input\" }), this.renderClearButton()));\n }\n get root() { return getElement(this); }\n};\nGuxInputTextLike.style = guxInputTextLikeCss;\n\nexport { GuxInputTextLike as gux_input_text_like };\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","import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';\n\nfunction setInputValue(input, value, focusAfter) {\n input.value = value;\n simulateNativeEvent(input, 'input');\n simulateNativeEvent(input, 'change');\n if (focusAfter) {\n input.focus();\n }\n}\n\nexport { setInputValue as s };\n","function simulateNativeEvent(targetElement, nativeEventName) {\n switch (nativeEventName) {\n case 'change':\n return targetElement.dispatchEvent(new InputEvent('change', {\n bubbles: true\n }));\n case 'input':\n return targetElement.dispatchEvent(new InputEvent('input', {\n bubbles: true\n }));\n }\n}\n\nexport { simulateNativeEvent as s };\n"],"names":["componentResources","clear","GuxInputTextLike","hostRef","registerInstance","this","hasContent","setInputValue","input","Boolean","value","clearable","disabled","h","class","tabIndex","type","title","getI18nValue","onClick","clearInput","bind","decorative","buildI18nForComponent","root","querySelector","setHasContent","addEventListener","disabledObserver","onDisabledChange","disconnect","name","renderClearButton","getElement","style","onHiddenChange","element","callback","observer","MutationObserver","mutations","forEach","hidden","observe","attributes","attributeFilter","mutation","attributeName","onRequiredChange","required","focusAfter","simulateNativeEvent","focus","targetElement","nativeEventName","dispatchEvent","InputEvent","bubbles"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[5572],{5572:function(e,t,i){i.r(t),i.d(t,{gux_text_field_legacy:function(){return d}});var r=i(4165),l=i(5861),n=i(2982),o=i(5671),u=i(3144),s=i(4723),c=i(8782),a=i(8125),g={eraseBtnAria:"Clear"},d=function(){function e(t){(0,o.Z)(this,e),(0,s.r)(this,t),this.input=(0,s.c)(this,"input",7),this.value="",this.type="text",this.disabled=!1,this.readonly=!1,this.validation=null,this.errorMessage="",this.errorMessageType="error",this.debounceTimeout=500,this.eraseLabel="",this.useClearButton=!0,this.classList=[]}return(0,u.Z)(e,[{key:"showClearButton",value:function(){return this.useClearButton&&this.value&&!this.readonly}},{key:"emitInput",value:function(e){e.preventDefault(),e.stopPropagation(),this.value=e.target.value,this.input.emit(e.target.value)}},{key:"emitFocusEvent",value:function(e){this.root.dispatchEvent(new FocusEvent(e.type,e))}},{key:"watchValue",value:function(e){var t=this;window.clearTimeout(this.timeout),this.timeout=window.setTimeout((function(){t._testValue(e)}),this.debounceTimeout)}},{key:"_testValue",value:function(e){if(this.validation)if(this.validation instanceof RegExp)this.validation.test(e)?this.errorMessage="":(this.errorMessageType="error",this.errorMessage=this.internalErrorMessage);else if("function"===typeof this.validation){var t=this.validation(e);t?t.warning?(this.errorMessageType="warning",this.errorMessage=t.warning):t.error?(this.errorMessageType="error",this.errorMessage=t.error):this.errorMessage="":(this.errorMessageType="error",this.errorMessage=this.internalErrorMessage)}}},{key:"getClassList",value:function(){var e=[];return this.errorMessage&&(e=[].concat((0,n.Z)(e),["gux-".concat(this.errorMessageType)])),this.disabled&&(e=[].concat((0,n.Z)(e),["gux-disabled"])),e.join(" ")}},{key:"componentWillLoad",value:function(){var e=(0,l.Z)((0,r.Z)().mark((function e(){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,a.t)(this.root,{variant:this.type}),this.internalErrorMessage=this.errorMessage,e.next=4,(0,c.b)(this.root,g);case 4:this.i18n=e.sent;case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"componentDidLoad",value:function(){this.firstValue=this.value,this._testValue(this.value)}},{key:"getIconByMessageType",value:function(e){return"warning"===e?"ic-alert-triangle":"ic-alert-octo"}},{key:"clear",value:function(){var e=(0,l.Z)((0,r.Z)().mark((function e(){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.disabled){e.next=2;break}return e.abrupt("return");case 2:this.value="",this.inputElement.value="",this.inputElement.focus(),this.input.emit(this.value);case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setLabelledBy",value:function(){var e=(0,l.Z)((0,r.Z)().mark((function e(t){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.srLabelledby=t;case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"setInputFocus",value:function(){var e=(0,l.Z)((0,r.Z)().mark((function e(){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.inputElement.focus();case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this;return[(0,s.h)("div",{class:this.getClassList()},(0,s.h)("div",{class:"gux-field"},(0,s.h)("input",{class:this.showClearButton()?"gux-text-clearable":"",type:this.type,value:this.value,ref:function(t){return e.inputElement=t},"aria-label":this.srLabel,"aria-labelledby":this.srLabelledby,disabled:this.disabled,readonly:this.readonly,placeholder:this.placeholder,onInput:function(t){return e.emitInput(t)},onFocus:function(t){return e.emitFocusEvent(t)},onBlur:function(t){return e.emitFocusEvent(t)}}),this.showClearButton()&&(0,s.h)("button",{type:"button",class:"gux-clear-button",title:this.eraseLabel,"aria-label":this.i18n("eraseBtnAria"),onClick:function(){return e.clear()}},(0,s.h)("gux-icon",{decorative:!0,"icon-name":"close"}))),this.errorMessage&&(0,s.h)("div",{class:"gux-error"},(0,s.h)("gux-icon",{decorative:!0,"icon-name":this.getIconByMessageType(this.errorMessageType)}),(0,s.h)("label",null,this.errorMessage))),(0,s.h)("slot",null)]}},{key:"root",get:function(){return(0,s.g)(this)}}],[{key:"watchers",get:function(){return{value:["watchValue"]}}}]),e}();d.style="gux-text-field-legacy{display:block}gux-text-field-legacy>div{margin:4px 0}gux-text-field-legacy>div.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-text-field-legacy>div.gux-error input,gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b;outline:0}gux-text-field-legacy>div.gux-error input:focus,gux-text-field-legacy>div.gux-warning input:focus,gux-text-field-legacy>div.gux-error input:hover,gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b;outline:0}gux-text-field-legacy>div.gux-error .gux-error,gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy>div.gux-error .gux-error i,gux-text-field-legacy>div.gux-warning .gux-error i{margin-right:4px}gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy>div>div.gux-field{position:relative;height:32px}gux-text-field-legacy .gux-field{position:relative}gux-text-field-legacy .gux-field input{box-sizing:border-box;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#fdfdfd;background-image:none;border:1px solid #77828f;border-radius:2px}gux-text-field-legacy .gux-field input::placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-moz-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input.gux-focused,gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}gux-text-field-legacy .gux-field input.gux-text-clearable{padding-right:25px}gux-text-field-legacy .gux-field button{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;color:#666f7b;cursor:pointer;background:none;border:none;outline:none}.gux-text-field-light-theme>div.gux-error input,.gux-text-field-light-theme>div.gux-warning input{border-color:#ea0b0b}.gux-text-field-light-theme>div.gux-error input:focus,.gux-text-field-light-theme>div.gux-warning input:focus,.gux-text-field-light-theme>div.gux-error input:hover,.gux-text-field-light-theme>div.gux-warning input:hover{border-color:#ea0b0b}.gux-text-field-light-theme>div.gux-error .gux-error,.gux-text-field-light-theme>div.gux-warning .gux-error{color:#ea0b0b}.gux-text-field-light-theme>div.gux-warning .gux-error i{color:#ffae00}.gux-text-field-light-theme .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}.gux-text-field-light-theme .gux-field input::placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input::-webkit-input-placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input::-ms-input-placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input::-moz-placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-text-field-light-theme .gux-field button{color:#666f7b}.gux-light-theme gux-text-field-legacy>div.gux-error input,.gux-light-theme gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-error input:focus,.gux-light-theme gux-text-field-legacy>div.gux-warning input:focus,.gux-light-theme gux-text-field-legacy>div.gux-error input:hover,.gux-light-theme gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-error .gux-error,.gux-light-theme gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}.gux-light-theme gux-text-field-legacy .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}.gux-light-theme gux-text-field-legacy .gux-field input::placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input::-moz-placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-light-theme gux-text-field-legacy .gux-field button{color:#666f7b}gux-text-field-legacy.gux-light-theme>div.gux-error input,gux-text-field-legacy.gux-light-theme>div.gux-warning input{border-color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-error input:focus,gux-text-field-legacy.gux-light-theme>div.gux-warning input:focus,gux-text-field-legacy.gux-light-theme>div.gux-error input:hover,gux-text-field-legacy.gux-light-theme>div.gux-warning input:hover{border-color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-error .gux-error,gux-text-field-legacy.gux-light-theme>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy.gux-light-theme .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}gux-text-field-legacy.gux-light-theme .gux-field input::placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input::-webkit-input-placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input::-ms-input-placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input::-moz-placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-text-field-legacy.gux-light-theme .gux-field button{color:#666f7b}gux-text-field-legacy>div.gux-error input,gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b}gux-text-field-legacy>div.gux-error input:focus,gux-text-field-legacy>div.gux-warning input:focus,gux-text-field-legacy>div.gux-error input:hover,gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b}gux-text-field-legacy>div.gux-error .gux-error,gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}gux-text-field-legacy .gux-field input::placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-moz-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-text-field-legacy .gux-field button{color:#666f7b}"},8125:function(e,t,i){i.d(t,{t:function(){return u}});var r=i(885),l={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"}},n="spark-library",o=!1;function u(e,t){var i=window.newrelic;i&&(o||(!function(){var e=window.newrelic;if(!e)return;var t=l.version.split("."),i=(0,r.Z)(t,3),o=i[0],u=i[1],s=i[2];e.addPageAction(n,{fullVersion:"".concat(o,".").concat(u,".").concat(s),majorVersion:o,minorVersion:"".concat(o,".").concat(u)})}(),o=!0),i.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:l.version})))}}}]);
|
|
2
|
-
//# sourceMappingURL=5572.565c5d80.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/5572.565c5d80.chunk.js","mappings":"2PAKMA,EAAqB,CAC1BC,aAFoB,SAOjBC,EAAkB,WACpB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,OAAQC,EAAAA,EAAAA,GAAYF,KAAM,QAAS,GAIxCA,KAAKG,MAAQ,GAIbH,KAAKI,KAAO,OAIZJ,KAAKK,UAAW,EAIhBL,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C3B,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,EAAeiF,EAASC,GAC/B,IAAMC,EAAW9F,OAAO8F,SACnBA,IAMAH,KASP,WACE,IAAMG,EAAW9F,OAAO8F,SACxB,IAAKA,EACH,OAEF,MAA8BrD,EAAYE,QAAQoD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAJ,EAASK,cAAcT,EAAmB,CACxCU,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,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-text-field-legacy.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 { b as buildI18nForComponent } from './index-db221f20.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst eraseBtnAria = \"Clear\";\nconst textFieldResources = {\n\teraseBtnAria: eraseBtnAria\n};\n\nconst guxTextFieldCss = \"gux-text-field-legacy{display:block}gux-text-field-legacy>div{margin:4px 0}gux-text-field-legacy>div.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-text-field-legacy>div.gux-error input,gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b;outline:0}gux-text-field-legacy>div.gux-error input:focus,gux-text-field-legacy>div.gux-warning input:focus,gux-text-field-legacy>div.gux-error input:hover,gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b;outline:0}gux-text-field-legacy>div.gux-error .gux-error,gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy>div.gux-error .gux-error i,gux-text-field-legacy>div.gux-warning .gux-error i{margin-right:4px}gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy>div>div.gux-field{position:relative;height:32px}gux-text-field-legacy .gux-field{position:relative}gux-text-field-legacy .gux-field input{box-sizing:border-box;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#fdfdfd;background-image:none;border:1px solid #77828f;border-radius:2px}gux-text-field-legacy .gux-field input::placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-moz-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input.gux-focused,gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}gux-text-field-legacy .gux-field input.gux-text-clearable{padding-right:25px}gux-text-field-legacy .gux-field button{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;color:#666f7b;cursor:pointer;background:none;border:none;outline:none}.gux-text-field-light-theme>div.gux-error input,.gux-text-field-light-theme>div.gux-warning input{border-color:#ea0b0b}.gux-text-field-light-theme>div.gux-error input:focus,.gux-text-field-light-theme>div.gux-warning input:focus,.gux-text-field-light-theme>div.gux-error input:hover,.gux-text-field-light-theme>div.gux-warning input:hover{border-color:#ea0b0b}.gux-text-field-light-theme>div.gux-error .gux-error,.gux-text-field-light-theme>div.gux-warning .gux-error{color:#ea0b0b}.gux-text-field-light-theme>div.gux-warning .gux-error i{color:#ffae00}.gux-text-field-light-theme .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}.gux-text-field-light-theme .gux-field input::placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input::-webkit-input-placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input::-ms-input-placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input::-moz-placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-text-field-light-theme .gux-field button{color:#666f7b}.gux-light-theme gux-text-field-legacy>div.gux-error input,.gux-light-theme gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-error input:focus,.gux-light-theme gux-text-field-legacy>div.gux-warning input:focus,.gux-light-theme gux-text-field-legacy>div.gux-error input:hover,.gux-light-theme gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-error .gux-error,.gux-light-theme gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}.gux-light-theme gux-text-field-legacy .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}.gux-light-theme gux-text-field-legacy .gux-field input::placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input::-moz-placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-light-theme gux-text-field-legacy .gux-field button{color:#666f7b}gux-text-field-legacy.gux-light-theme>div.gux-error input,gux-text-field-legacy.gux-light-theme>div.gux-warning input{border-color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-error input:focus,gux-text-field-legacy.gux-light-theme>div.gux-warning input:focus,gux-text-field-legacy.gux-light-theme>div.gux-error input:hover,gux-text-field-legacy.gux-light-theme>div.gux-warning input:hover{border-color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-error .gux-error,gux-text-field-legacy.gux-light-theme>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy.gux-light-theme .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}gux-text-field-legacy.gux-light-theme .gux-field input::placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input::-webkit-input-placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input::-ms-input-placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input::-moz-placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-text-field-legacy.gux-light-theme .gux-field button{color:#666f7b}gux-text-field-legacy>div.gux-error input,gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b}gux-text-field-legacy>div.gux-error input:focus,gux-text-field-legacy>div.gux-warning input:focus,gux-text-field-legacy>div.gux-error input:hover,gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b}gux-text-field-legacy>div.gux-error .gux-error,gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}gux-text-field-legacy .gux-field input::placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-moz-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-text-field-legacy .gux-field button{color:#666f7b}\";\n\nlet GuxTextFieldLegacy = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.input = createEvent(this, \"input\", 7);\n /**\n * Indicate the input value\n */\n this.value = '';\n /**\n * Indicate the input type\n */\n this.type = 'text';\n /**\n * Disable the input and prevent interactions.\n */\n this.disabled = false;\n /**\n * Set the input in readonly mode\n */\n this.readonly = false;\n /**\n * The input validation.\n */\n this.validation = null;\n /**\n * The message displayed on validation failure.\n */\n this.errorMessage = '';\n /**\n * The message type (warning or error)\n */\n this.errorMessageType = \"error\" /* Error */;\n /**\n * Timeout between input and validation.\n */\n this.debounceTimeout = 500;\n /**\n * The label for the erase button\n */\n this.eraseLabel = '';\n /**\n * Determines whether or not the 'x' clear button is displayed when the input\n * contains text.\n */\n this.useClearButton = true;\n this.classList = [];\n }\n showClearButton() {\n return this.useClearButton && this.value && !this.readonly;\n }\n emitInput(event) {\n event.preventDefault();\n event.stopPropagation();\n this.value = event.target.value;\n this.input.emit(event.target.value);\n }\n emitFocusEvent(event) {\n this.root.dispatchEvent(new FocusEvent(event.type, event));\n }\n watchValue(newValue) {\n window.clearTimeout(this.timeout);\n this.timeout = window.setTimeout(() => {\n this._testValue(newValue);\n }, this.debounceTimeout);\n }\n _testValue(value) {\n if (!this.validation) {\n return;\n }\n if (this.validation instanceof RegExp) {\n if (!this.validation.test(value)) {\n this.errorMessageType = \"error\" /* Error */;\n this.errorMessage = this.internalErrorMessage;\n }\n else {\n this.errorMessage = '';\n }\n }\n else if (typeof this.validation === 'function') {\n const validation = this.validation(value);\n if (validation) {\n if (validation.warning) {\n this.errorMessageType = \"warning\" /* Warning */;\n this.errorMessage = validation.warning;\n }\n else if (validation.error) {\n this.errorMessageType = \"error\" /* Error */;\n this.errorMessage = validation.error;\n }\n else {\n this.errorMessage = '';\n }\n }\n else {\n this.errorMessageType = \"error\" /* Error */;\n this.errorMessage = this.internalErrorMessage;\n }\n }\n }\n getClassList() {\n let classList = [];\n if (this.errorMessage) {\n classList = [...classList, `gux-${this.errorMessageType}`];\n }\n if (this.disabled) {\n classList = [...classList, 'gux-disabled'];\n }\n return classList.join(' ');\n }\n async componentWillLoad() {\n trackComponent(this.root, { variant: this.type });\n this.internalErrorMessage = this.errorMessage;\n this.i18n = await buildI18nForComponent(this.root, textFieldResources);\n }\n componentDidLoad() {\n this.firstValue = this.value;\n this._testValue(this.value);\n }\n getIconByMessageType(type) {\n return type === 'warning' ? 'ic-alert-triangle' : 'ic-alert-octo';\n }\n /**\n * Clears the input.\n */\n async clear() {\n if (this.disabled) {\n return;\n }\n this.value = '';\n this.inputElement.value = '';\n this.inputElement.focus();\n this.input.emit(this.value);\n }\n /**\n * Provides an aria-labelledby element for this component.\n * @param id The value for aria-labeledby.\n */\n async setLabelledBy(id) {\n this.srLabelledby = id;\n }\n /**\n * Sets the input focus to the text input.\n */\n async setInputFocus() {\n this.inputElement.focus();\n }\n render() {\n return [\n h(\"div\", { class: this.getClassList() }, h(\"div\", { class: \"gux-field\" }, h(\"input\", { class: this.showClearButton() ? 'gux-text-clearable' : '', type: this.type, value: this.value, ref: el => (this.inputElement = el), \"aria-label\": this.srLabel, \"aria-labelledby\": this.srLabelledby, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, onInput: e => this.emitInput(e), onFocus: e => this.emitFocusEvent(e), onBlur: e => this.emitFocusEvent(e) }), this.showClearButton() && (h(\"button\", { type: \"button\", class: \"gux-clear-button\", title: this.eraseLabel, \"aria-label\": this.i18n('eraseBtnAria'), onClick: () => this.clear() }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"close\" })))), this.errorMessage && (h(\"div\", { class: \"gux-error\" }, h(\"gux-icon\", { decorative: true, \"icon-name\": this.getIconByMessageType(this.errorMessageType) }), h(\"label\", null, this.errorMessage)))),\n h(\"slot\", null)\n ];\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"value\": [\"watchValue\"]\n }; }\n};\nGuxTextFieldLegacy.style = guxTextFieldCss;\n\nexport { GuxTextFieldLegacy as gux_text_field_legacy };\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":["textFieldResources","eraseBtnAria","GuxTextFieldLegacy","hostRef","registerInstance","this","input","createEvent","value","type","disabled","readonly","validation","errorMessage","errorMessageType","debounceTimeout","eraseLabel","useClearButton","classList","event","preventDefault","stopPropagation","target","emit","root","dispatchEvent","FocusEvent","newValue","window","clearTimeout","timeout","setTimeout","_testValue","RegExp","test","internalErrorMessage","warning","error","join","trackComponent","variant","buildI18nForComponent","i18n","firstValue","inputElement","focus","id","srLabelledby","h","class","getClassList","showClearButton","ref","el","srLabel","placeholder","onInput","e","emitInput","onFocus","emitFocusEvent","onBlur","title","onClick","clear","decorative","getIconByMessageType","getElement","style","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","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([[599],{599:function(e,t,n){n.r(t),n.d(t,{gux_side_panel_beta:function(){return l}});var s=n(5671),i=n(3144),o=n(4723),c=n(8125),l=function(){function e(t){(0,s.Z)(this,e),(0,o.r)(this,t),this.isOpen=!1,this.position="left"}return(0,i.Z)(e,[{key:"containerClass",get:function(){return"gux-".concat(this.position," gux-").concat(this.isOpen?"open":"closed")}},{key:"contentClass",get:function(){return"gux-panel-content gux-".concat(this.isOpen?"open":"closed")}},{key:"componentWillLoad",value:function(){(0,c.t)(this.root,{variant:this.position})}},{key:"render",value:function(){return(0,o.h)("aside",{class:this.containerClass},(0,o.h)("div",{class:"gux-panel-icons"},(0,o.h)("slot",{name:"side-panel-icons"})),(0,o.h)("div",{class:this.contentClass},(0,o.h)("slot",{name:"side-panel-content"})))}},{key:"root",get:function(){return(0,o.g)(this)}}]),e}();l.style="gux-side-panel-beta aside{position:relative;display:flex;flex-direction:row-reverse;width:49px;height:100%;color:#33383d;background-color:#fdfdfd}gux-side-panel-beta aside.gux-left{flex-direction:row}gux-side-panel-beta aside.gux-left .gux-panel-content{left:49px}gux-side-panel-beta aside.gux-right .gux-panel-content{right:49px}gux-side-panel-beta aside .gux-panel-icons{border:1px solid #e4e9f0}gux-side-panel-beta aside .gux-panel-icons gux-side-panel-button{display:flex;flex-direction:column}gux-side-panel-beta aside .gux-panel-content{position:absolute;width:280px;height:100%}gux-side-panel-beta aside .gux-panel-content [slot='side-panel-content']{height:100%}gux-side-panel-beta aside .gux-panel-content.gux-closed{display:none}.gux-side-panel-dark-theme{color:#fdfdfd}.gux-side-panel-dark-theme aside{background-color:#33383d}.gux-side-panel-dark-theme aside .gux-panel-icons{border-color:#222529}.gux-dark-theme gux-side-panel-beta{color:#fdfdfd}.gux-dark-theme gux-side-panel-beta aside{background-color:#33383d}.gux-dark-theme gux-side-panel-beta aside .gux-panel-icons{border-color:#222529}gux-side-panel-beta.gux-dark-theme{color:#fdfdfd}gux-side-panel-beta.gux-dark-theme aside{background-color:#33383d}gux-side-panel-beta.gux-dark-theme aside .gux-panel-icons{border-color:#222529}.gux-side-panel-light-theme{color:#33383d}.gux-light-theme gux-side-panel-beta{color:#33383d}gux-side-panel-beta.gux-light-theme{color:#33383d}gux-side-panel-beta{color:#33383d}"},8125:function(e,t,n){n.d(t,{t:function(){return l}});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"}},o="spark-library",c=!1;function l(e,t){var n=window.newrelic;n&&(c||(!function(){var e=window.newrelic;if(!e)return;var t=i.version.split("."),n=(0,s.Z)(t,3),c=n[0],l=n[1],r=n[2];e.addPageAction(o,{fullVersion:"".concat(c,".").concat(l,".").concat(r),majorVersion:c,minorVersion:"".concat(c,".").concat(l)})}(),c=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}}}]);
|
|
2
|
-
//# sourceMappingURL=599.a5cb72b5.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/599.a5cb72b5.chunk.js","mappings":"+MAKIA,EAAY,WACd,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,QAAS,EACdD,KAAKE,SAAW,OAJJ,2CAMd,WACE,MAAO,OAAP,OAAcF,KAAKE,SAAnB,gBAAmCF,KAAKC,OAAS,OAAS,YAP9C,wBASd,WACE,MAAO,yBAAP,OAAgCD,KAAKC,OAAS,OAAS,YAV3C,+BAYd,YACEE,EAAAA,EAAAA,GAAeH,KAAKI,KAAM,CAAEC,QAASL,KAAKE,aAb9B,oBAed,WACE,OAAQI,EAAAA,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F,MAA8BvD,EAAYC,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,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-side-panel-beta.entry.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 { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst guxSidePanelCss = \"gux-side-panel-beta aside{position:relative;display:flex;flex-direction:row-reverse;width:49px;height:100%;color:#33383d;background-color:#fdfdfd}gux-side-panel-beta aside.gux-left{flex-direction:row}gux-side-panel-beta aside.gux-left .gux-panel-content{left:49px}gux-side-panel-beta aside.gux-right .gux-panel-content{right:49px}gux-side-panel-beta aside .gux-panel-icons{border:1px solid #e4e9f0}gux-side-panel-beta aside .gux-panel-icons gux-side-panel-button{display:flex;flex-direction:column}gux-side-panel-beta aside .gux-panel-content{position:absolute;width:280px;height:100%}gux-side-panel-beta aside .gux-panel-content [slot='side-panel-content']{height:100%}gux-side-panel-beta aside .gux-panel-content.gux-closed{display:none}.gux-side-panel-dark-theme{color:#fdfdfd}.gux-side-panel-dark-theme aside{background-color:#33383d}.gux-side-panel-dark-theme aside .gux-panel-icons{border-color:#222529}.gux-dark-theme gux-side-panel-beta{color:#fdfdfd}.gux-dark-theme gux-side-panel-beta aside{background-color:#33383d}.gux-dark-theme gux-side-panel-beta aside .gux-panel-icons{border-color:#222529}gux-side-panel-beta.gux-dark-theme{color:#fdfdfd}gux-side-panel-beta.gux-dark-theme aside{background-color:#33383d}gux-side-panel-beta.gux-dark-theme aside .gux-panel-icons{border-color:#222529}.gux-side-panel-light-theme{color:#33383d}.gux-light-theme gux-side-panel-beta{color:#33383d}gux-side-panel-beta.gux-light-theme{color:#33383d}gux-side-panel-beta{color:#33383d}\";\n\nlet GuxSidePanel = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.isOpen = false;\n this.position = 'left';\n }\n get containerClass() {\n return `gux-${this.position} gux-${this.isOpen ? 'open' : 'closed'}`;\n }\n get contentClass() {\n return `gux-panel-content gux-${this.isOpen ? 'open' : 'closed'}`;\n }\n componentWillLoad() {\n trackComponent(this.root, { variant: this.position });\n }\n render() {\n return (h(\"aside\", { class: this.containerClass }, h(\"div\", { class: \"gux-panel-icons\" }, h(\"slot\", { name: \"side-panel-icons\" })), h(\"div\", { class: this.contentClass }, h(\"slot\", { name: \"side-panel-content\" }))));\n }\n get root() { return getElement(this); }\n};\nGuxSidePanel.style = guxSidePanelCss;\n\nexport { GuxSidePanel as gux_side_panel_beta };\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":["GuxSidePanel","hostRef","registerInstance","this","isOpen","position","trackComponent","root","variant","h","class","containerClass","name","contentClass","getElement","style","packageInfo","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([[6033],{6033:function(t,e,n){n.r(e),n.d(e,{gux_button_multi:function(){return r}});var s=n(5671),i=n(3144),o=n(4723),c=n(8125),r=function(){function t(e){(0,s.Z)(this,t),(0,o.r)(this,e),this.open=(0,o.c)(this,"open",7),this.close=(0,o.c)(this,"close",7),this.disabled=!1,this.accent="secondary",this.isOpen=!1}return(0,i.Z)(t,[{key:"toggle",value:function(){this.isOpen=!this.isOpen}},{key:"handleFocusOut",value:function(t){this.root.contains(t.relatedTarget)||(this.isOpen=!1)}},{key:"handleKeyDown",value:function(t){this.root.contains(t.target)||(this.isOpen=!1)}},{key:"watchDisabled",value:function(t){t&&(this.isOpen=!1)}},{key:"watchValue",value:function(t){t?this.open.emit():this.close.emit()}},{key:"onKeyUpEvent",value:function(t){var e=t.key;"Escape"===e&&(this.isOpen=!1,this.dropdownButton.querySelector("button").focus());"ArrowDown"!==e||this.listElement.contains(t.target)||(this.isOpen=!0,this.listElement.setFocusOnFirstItem())}},{key:"componentWillLoad",value:function(){(0,c.t)(this.root,{variant:this.accent})}},{key:"render",value:function(){var t=this;return(0,o.h)("gux-popup-beta",{expanded:this.isOpen,disabled:this.disabled},(0,o.h)("div",{slot:"target",class:"gux-button-multi-container"},(0,o.h)("gux-button-slot-beta",{class:"gux-dropdown-button",accent:this.accent},(0,o.h)("button",{type:"button",disabled:this.disabled,ref:function(e){return t.dropdownButton=e},onClick:function(){return t.toggle()},onKeyUp:function(e){return t.onKeyUpEvent(e)},"aria-haspopup":"listbox","aria-expanded":this.isOpen.toString()},(0,o.h)("span",null,this.text),(0,o.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),(0,o.h)("gux-list",{slot:"popup",ref:function(e){return t.listElement=e}},(0,o.h)("slot",null)))}},{key:"root",get:function(){return(0,o.g)(this)}}],[{key:"watchers",get:function(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}}]),t}();r.style="gux-button-multi{display:block;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-button-multi .gux-button-multi-container .gux-dropdown-button button>*{vertical-align:middle}gux-button-multi .gux-button-multi-container .gux-dropdown-button button gux-icon{width:16px;height:16px;margin-left:8px}"},8125:function(t,e,n){n.d(e,{t:function(){return r}});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"}},o="spark-library",c=!1;function r(t,e){var n=window.newrelic;n&&(c||(!function(){var t=window.newrelic;if(!t)return;var e=i.version.split("."),n=(0,s.Z)(e,3),c=n[0],r=n[1],l=n[2];t.addPageAction(o,{fullVersion:"".concat(c,".").concat(r,".").concat(l),majorVersion:c,minorVersion:"".concat(c,".").concat(r)})}(),c=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:i.version})))}}}]);
|
|
2
|
-
//# sourceMappingURL=6033.174d7635.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/6033.174d7635.chunk.js","mappings":"8MAKIA,EAAc,WAChB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,G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AqB,EAKzB,SAAStE,EAAeuE,EAASC,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAH,KASP,WACE,IAAMG,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BvD,EAAYE,QAAQuD,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,cAAepE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-button-multi.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 guxButtonMultiCss = \"gux-button-multi{display:block;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-button-multi .gux-button-multi-container .gux-dropdown-button button>*{vertical-align:middle}gux-button-multi .gux-button-multi-container .gux-dropdown-button button gux-icon{width:16px;height:16px;margin-left:8px}\";\n\nlet GuxButtonMulti = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.open = createEvent(this, \"open\", 7);\n this.close = createEvent(this, \"close\", 7);\n /**\n * Disables the action button.\n */\n this.disabled = false;\n /**\n * The component accent (secondary or primary).\n */\n this.accent = 'secondary';\n /**\n * It is used to open or not the list.\n */\n this.isOpen = false;\n }\n toggle() {\n this.isOpen = !this.isOpen;\n }\n handleFocusOut(e) {\n if (!this.root.contains(e.relatedTarget)) {\n this.isOpen = false;\n }\n }\n handleKeyDown(e) {\n if (this.root.contains(e.target)) {\n return;\n }\n this.isOpen = false;\n }\n watchDisabled(disabled) {\n if (disabled) {\n this.isOpen = false;\n }\n }\n watchValue(newValue) {\n if (newValue) {\n this.open.emit();\n }\n else {\n this.close.emit();\n }\n }\n onKeyUpEvent(event) {\n const key = event.key;\n if (key === 'Escape') {\n this.isOpen = false;\n const button = this.dropdownButton.querySelector('button');\n button.focus();\n }\n if (key === 'ArrowDown' &&\n !this.listElement.contains(event.target)) {\n this.isOpen = true;\n this.listElement.setFocusOnFirstItem();\n }\n }\n componentWillLoad() {\n trackComponent(this.root, { variant: this.accent });\n }\n render() {\n return (h(\"gux-popup-beta\", { expanded: this.isOpen, disabled: this.disabled }, h(\"div\", { slot: \"target\", class: \"gux-button-multi-container\" }, h(\"gux-button-slot-beta\", { class: \"gux-dropdown-button\", accent: this.accent }, h(\"button\", { type: \"button\", disabled: this.disabled, ref: el => (this.dropdownButton = el), onClick: () => this.toggle(), onKeyUp: e => this.onKeyUpEvent(e), \"aria-haspopup\": \"listbox\", \"aria-expanded\": this.isOpen.toString() }, h(\"span\", null, this.text), h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-down\" })))), h(\"gux-list\", { slot: \"popup\", ref: el => (this.listElement = el) }, h(\"slot\", null))));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"disabled\": [\"watchDisabled\"],\n \"isOpen\": [\"watchValue\"]\n }; }\n};\nGuxButtonMulti.style = guxButtonMultiCss;\n\nexport { GuxButtonMulti as gux_button_multi };\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":["GuxButtonMulti","hostRef","registerInstance","this","open","createEvent","close","disabled","accent","isOpen","e","root","contains","relatedTarget","target","newValue","emit","event","key","dropdownButton","querySelector","focus","listElement","setFocusOnFirstItem","trackComponent","variant","h","expanded","slot","class","type","ref","el","onClick","toggle","onKeyUp","onKeyUpEvent","toString","text","decorative","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","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([[6069],{6069:function(t,e,o){o.r(e),o.d(e,{gux_side_panel_button:function(){return a}});var u=o(5671),n=o(3144),d=o(4723),a=function(){function t(e){(0,u.Z)(this,t),(0,d.r)(this,e),this.isSelected=!1}return(0,n.Z)(t,[{key:"buttonClass",get:function(){return this.isSelected?"selected":""}},{key:"render",value:function(){return(0,d.h)("button",{"aria-label":this.altText,class:this.buttonClass},(0,d.h)("gux-icon",{decorative:!0,"icon-name":this.icon}))}}]),t}();a.style="gux-side-panel-button button{width:48px;height:48px;color:#33383d;cursor:pointer;background-color:#fdfdfd;border:none;border-bottom:1px solid #e4e9f0}gux-side-panel-button button.selected{color:#fdfdfd;background-color:#2a60c8}gux-side-panel-button button:hover,gux-side-panel-button button:active,gux-side-panel-button button:focus{color:#2a60c8}gux-side-panel-button button:hover.selected,gux-side-panel-button button:active.selected,gux-side-panel-button button:focus.selected{color:#fdfdfd}gux-side-panel-button button:focus{outline:none}gux-side-panel-button button i{font-size:24px}.gux-side-panel-button-dark-theme button{color:#fdfdfd;background-color:#33383d;border-color:#222529}.gux-side-panel-button-dark-theme button.selected{background-color:#2a60c8}.gux-side-panel-button-dark-theme button:hover,.gux-side-panel-button-dark-theme button:active,.gux-side-panel-button-dark-theme button:focus{color:#75a8ff}.gux-side-panel-button-dark-theme button:hover.selected,.gux-side-panel-button-dark-theme button:active.selected,.gux-side-panel-button-dark-theme button:focus.selected{color:#fdfdfd}.gux-dark-theme gux-side-panel-button button{color:#fdfdfd;background-color:#33383d;border-color:#222529}.gux-dark-theme gux-side-panel-button button.selected{background-color:#2a60c8}.gux-dark-theme gux-side-panel-button button:hover,.gux-dark-theme gux-side-panel-button button:active,.gux-dark-theme gux-side-panel-button button:focus{color:#75a8ff}.gux-dark-theme gux-side-panel-button button:hover.selected,.gux-dark-theme gux-side-panel-button button:active.selected,.gux-dark-theme gux-side-panel-button button:focus.selected{color:#fdfdfd}gux-side-panel-button.gux-dark-theme button{color:#fdfdfd;background-color:#33383d;border-color:#222529}gux-side-panel-button.gux-dark-theme button.selected{background-color:#2a60c8}gux-side-panel-button.gux-dark-theme button:hover,gux-side-panel-button.gux-dark-theme button:active,gux-side-panel-button.gux-dark-theme button:focus{color:#75a8ff}gux-side-panel-button.gux-dark-theme button:hover.selected,gux-side-panel-button.gux-dark-theme button:active.selected,gux-side-panel-button.gux-dark-theme button:focus.selected{color:#fdfdfd}.gux-side-panel-button-light-theme{color:#33383d}.gux-light-theme gux-side-panel-button{color:#33383d}gux-side-panel-button.gux-light-theme{color:#33383d}gux-side-panel-button{color:#33383d}"}}]);
|
|
2
|
-
//# sourceMappingURL=6069.5c81dae7.chunk.js.map
|