genesys-cloud-client-auth 1.0.0-develop.7 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) hide show
  1. package/README.md +10 -459
  2. package/dist/assets/_commonjsHelpers-c9e3b764-Cg_zQLRJ.js +1 -0
  3. package/dist/assets/after-next-render-07a41f53-C_KTwidI.js +1 -0
  4. package/dist/assets/browser-ponyfill-BV2ki90r.js +2 -0
  5. package/dist/assets/capitalize-first-letter-404638dd-DDlMtXXu.js +1 -0
  6. package/dist/assets/clamp-1fc36648-DnrAwabn.js +1 -0
  7. package/dist/assets/en-1f9d79e6-D5hlE5o5.js +1 -0
  8. package/dist/assets/en-25a315a0-C7J6_avI.js +1 -0
  9. package/dist/assets/en-abdadc27-BNKVS-iZ.js +1 -0
  10. package/dist/assets/en-bf740e9b-BzgaeZ-2.js +1 -0
  11. package/dist/assets/event-is-from-60a4bc72-BUOfvQpd.js +1 -0
  12. package/dist/assets/find-element-by-id-d0ce6208-DntMpzyb.js +1 -0
  13. package/dist/assets/floating-ui.dom.esm-17bec7ce-CxvcWuX2.js +1 -0
  14. package/dist/assets/focus-input-element-8a137b12-hXwZ4F3C.js +1 -0
  15. package/dist/assets/get-closest-element-728b9f18-C_5KDHD-.js +1 -0
  16. package/dist/assets/get-closest-element-7b2f7d5b-kuMVup89.js +1 -0
  17. package/dist/assets/get-slot-41f866aa-DJNt4BpD.js +1 -0
  18. package/dist/assets/get-slot-text-content-95a85429-DTSoMW52.js +1 -0
  19. package/dist/assets/get-valid-timezone-3bde2dae-BFRWJz7Q.js +1 -0
  20. package/dist/assets/gux-accordion-section.entry-jbdbmuX_.js +1 -0
  21. package/dist/assets/gux-accordion.entry-ClKYUH6r.js +1 -0
  22. package/dist/assets/gux-action-button.entry-Co04Z0OV.js +1 -0
  23. package/dist/assets/gux-action-toast-legacy.entry-BZZz3CuU.js +1 -0
  24. package/dist/assets/gux-advanced-dropdown-legacy.entry-Cw6SQUDA.js +1 -0
  25. package/dist/assets/gux-all-row-select.entry-Ce72rVHx.js +1 -0
  26. package/dist/assets/gux-announce-beta.entry-0-IPzB8z.js +1 -0
  27. package/dist/assets/gux-avatar-beta.entry-D7eNcgqk.js +1 -0
  28. package/dist/assets/gux-avatar-change-photo-beta.entry-CdbjnSh2.js +1 -0
  29. package/dist/assets/gux-avatar-focusable-beta.entry-C-N-FSgY.js +1 -0
  30. package/dist/assets/gux-avatar-group-add-item-beta_3.entry-DovXgXMY.js +1 -0
  31. package/dist/assets/gux-avatar-group-beta.entry-C-IcLXpk.js +1 -0
  32. package/dist/assets/gux-avatar-group-item-beta.entry-CaxTOEY_.js +1 -0
  33. package/dist/assets/gux-avatar-group.service-0e62fde4-Bkuc2736.js +1 -0
  34. package/dist/assets/gux-avatar.service-43c1b4e1-EzKA_VVN.js +1 -0
  35. package/dist/assets/gux-badge.entry-Cn9m8u98.js +1 -0
  36. package/dist/assets/gux-blank-state.entry-BpvRIMLX.js +65 -0
  37. package/dist/assets/gux-breadcrumb-item.entry-Ca_9aDAs.js +1 -0
  38. package/dist/assets/gux-breadcrumbs.entry-C_roghwh.js +1 -0
  39. package/dist/assets/gux-button-multi.entry-CBr3g1_V.js +1 -0
  40. package/dist/assets/gux-button-slot.entry-WiCUBCa6.js +1 -0
  41. package/dist/assets/gux-button_2.entry-C9uy7zui.js +1 -0
  42. package/dist/assets/gux-calendar-beta.entry-Bqerz9AU.js +4 -0
  43. package/dist/assets/gux-calendar.entry-B62CdDSA.js +1 -0
  44. package/dist/assets/gux-card.entry-L6pDaqgo.js +1 -0
  45. package/dist/assets/gux-column-manager-item.entry-gcrXPu9C.js +1 -0
  46. package/dist/assets/gux-column-manager.entry-BWdhUqSz.js +1 -0
  47. package/dist/assets/gux-column-manager.service-90a02975-GGjVHfbH.js +1 -0
  48. package/dist/assets/gux-content-search.entry-Bk320YeT.js +1 -0
  49. package/dist/assets/gux-context-menu.entry-sV-Bg8Mm.js +1 -0
  50. package/dist/assets/gux-copy-to-clipboard.entry-D4z3pxQw.js +1 -0
  51. package/dist/assets/gux-create-option.entry-B_Vv8g0K.js +1 -0
  52. package/dist/assets/gux-cta-group.entry-BrnioXQs.js +1 -0
  53. package/dist/assets/gux-date-beta.entry-lwFmRCvN.js +1 -0
  54. package/dist/assets/gux-date-time-beta.entry-HNedVv5e.js +1 -0
  55. package/dist/assets/gux-datepicker.entry-Cr-qDrmu.js +1 -0
  56. package/dist/assets/gux-day-beta.entry-CW80EHbX.js +1 -0
  57. package/dist/assets/gux-disclosure-button-legacy.entry-G2Tlcri7.js +1 -0
  58. package/dist/assets/gux-dismiss-button.entry-DchQFWKl.js +1 -0
  59. package/dist/assets/gux-dropdown-multi-tag.entry-Cc9VNZOZ.js +1 -0
  60. package/dist/assets/gux-dropdown-multi.entry-DjZKxJal.js +1 -0
  61. package/dist/assets/gux-dropdown-option.entry-CZDjtkrF.js +1 -0
  62. package/dist/assets/gux-dropdown_3.entry-CKiZXOT7.js +1 -0
  63. package/dist/assets/gux-file-list-item.entry-Dp9PwoBM.js +5 -0
  64. package/dist/assets/gux-flag-icon-beta.entry-BTUoPqVd.js +1 -0
  65. package/dist/assets/gux-flyout-menu.entry-DqSGjmSN.js +1 -0
  66. package/dist/assets/gux-form-beta.entry-C990wv4b.js +1 -0
  67. package/dist/assets/gux-form-description.entry-SptrEE0d.js +1 -0
  68. package/dist/assets/gux-form-field-checkbox-group-beta.entry-CCZf0hdH.js +1 -0
  69. package/dist/assets/gux-form-field-checkbox.entry-DFJSjM7x.js +1 -0
  70. package/dist/assets/gux-form-field-color.entry-dM32AJCZ.js +1 -0
  71. package/dist/assets/gux-form-field-container-3dd7c6ff-CbHwJYu_.js +1 -0
  72. package/dist/assets/gux-form-field-dropdown.entry-qCBeETvx.js +1 -0
  73. package/dist/assets/gux-form-field-error-acb40a19-CkSp2BAb.js +1 -0
  74. package/dist/assets/gux-form-field-fieldset-container-6cb3610f-BUiTa12q.js +1 -0
  75. package/dist/assets/gux-form-field-file-beta.entry-DcnNIHKz.js +1 -0
  76. package/dist/assets/gux-form-field-file.entry-Dk7BocgF.js +1 -0
  77. package/dist/assets/gux-form-field-input-clear-button.entry-Dp1QY-09.js +1 -0
  78. package/dist/assets/gux-form-field-label-indicator.entry-bUtvVW_r.js +1 -0
  79. package/dist/assets/gux-form-field-number_2.entry-DaVKhHUj.js +1 -0
  80. package/dist/assets/gux-form-field-phone.entry-DXsintqd.js +1 -0
  81. package/dist/assets/gux-form-field-radio-group-beta.entry-PbhhpeBG.js +1 -0
  82. package/dist/assets/gux-form-field-radio.entry-n3Vla1Pu.js +1 -0
  83. package/dist/assets/gux-form-field-range.entry-C-pjfWNA.js +1 -0
  84. package/dist/assets/gux-form-field-search.entry-C-bK5ayb.js +1 -0
  85. package/dist/assets/gux-form-field-select.entry-DQdel3gO.js +1 -0
  86. package/dist/assets/gux-form-field-text-like.entry-CBFPlQHU.js +1 -0
  87. package/dist/assets/gux-form-field-textarea.entry-COFKxheF.js +1 -0
  88. package/dist/assets/gux-form-field-time-picker.entry-CaDEWBkZ.js +1 -0
  89. package/dist/assets/gux-form-field-time-zone-picker.entry-rl7fBaGA.js +1 -0
  90. package/dist/assets/gux-form-field.service-173b5dfc-D3T_t5F5.js +1 -0
  91. package/dist/assets/gux-form-fieldset-heading.entry-Cm0x7EQq.js +1 -0
  92. package/dist/assets/gux-form-footer.entry-DbhwkP6b.js +1 -0
  93. package/dist/assets/gux-form-heading.entry-DoUhRicG.js +1 -0
  94. package/dist/assets/gux-icon-tooltip-beta.entry-DNtzdBoU.js +1 -0
  95. package/dist/assets/gux-icon.entry-B97smlnI.js +1 -0
  96. package/dist/assets/gux-inline-alert.entry-DJZxwXFy.js +1 -0
  97. package/dist/assets/gux-label-info-beta.entry-Bi2PlCDo.js +1 -0
  98. package/dist/assets/gux-link-beta.entry-BI2qsXNR.js +1 -0
  99. package/dist/assets/gux-list-divider.entry-BHrFeHB6.js +1 -0
  100. package/dist/assets/gux-list-item.entry-DRUfS0q6.js +1 -0
  101. package/dist/assets/gux-list.entry-D9KN4yJ5.js +1 -0
  102. package/dist/assets/gux-list.service-5da368db-BTJJSzQi.js +1 -0
  103. package/dist/assets/gux-listbox-multi.entry-6t0q-9T1.js +1 -0
  104. package/dist/assets/gux-listbox.service-1b2f1a6e-CG-s36UI.js +1 -0
  105. package/dist/assets/gux-loading-message.entry-D1ze4_H5.js +66 -0
  106. package/dist/assets/gux-menu-option.entry-BxQFHxSk.js +1 -0
  107. package/dist/assets/gux-menu.common-b2a4d472-CSLYc6Td.js +1 -0
  108. package/dist/assets/gux-menu.entry-B-osnTh0.js +1 -0
  109. package/dist/assets/gux-modal-legacy.entry-DstohKCK.js +1 -0
  110. package/dist/assets/gux-modal-side-panel-beta.entry-C9FvyVTE.js +1 -0
  111. package/dist/assets/gux-modal.entry-srOdsW8Q.js +1 -0
  112. package/dist/assets/gux-month-calendar.entry-BeuXd1Lv.js +1 -0
  113. package/dist/assets/gux-month-list_2.entry-CYygxLTh.js +1 -0
  114. package/dist/assets/gux-month-picker-beta.entry-DOJMMNNx.js +1 -0
  115. package/dist/assets/gux-notification-toast-legacy.entry-dxK7iMAC.js +1 -0
  116. package/dist/assets/gux-option-group-beta.entry-BUy0S9Yx.js +1 -0
  117. package/dist/assets/gux-option-icon.entry-Bn-fNLNn.js +1 -0
  118. package/dist/assets/gux-option-multi.entry-Bu-QHc6m.js +1 -0
  119. package/dist/assets/gux-page-loading-spinner.entry-DMtT-DYz.js +1 -0
  120. package/dist/assets/gux-pagination-buttons-legacy_3.entry-CuYkOJdn.js +1 -0
  121. package/dist/assets/gux-pagination-buttons_2.entry-DmbE78vc.js +1 -0
  122. package/dist/assets/gux-pagination-cursor.entry-BTAFd0O2.js +1 -0
  123. package/dist/assets/gux-pagination-items-per-page.entry-DvwN5uz6.js +1 -0
  124. package/dist/assets/gux-pagination-legacy.entry-CBCQXwVe.js +1 -0
  125. package/dist/assets/gux-pagination.entry-IX-ErtEu.js +1 -0
  126. package/dist/assets/gux-phone-input-beta.entry-CjYWM42M.js +7 -0
  127. package/dist/assets/gux-popover-beta.entry-DAvQpLoO.js +1 -0
  128. package/dist/assets/gux-popover-list-beta.entry-D4i4pSCR.js +1 -0
  129. package/dist/assets/gux-popover-list.entry-B6Kj5sN5.js +1 -0
  130. package/dist/assets/gux-popup.entry-BHYs6DQm.js +1 -0
  131. package/dist/assets/gux-radial-loading.entry-CG8hkP1l.js +1 -0
  132. package/dist/assets/gux-radial-progress.entry-Bne8tE1g.js +1 -0
  133. package/dist/assets/gux-rating.entry--bhU3vZ-.js +1 -0
  134. package/dist/assets/gux-rich-highlight-list-item.entry-CSqOpcBg.js +1 -0
  135. package/dist/assets/gux-rich-style-list-item_3.entry-CZq1B1uh.js +1 -0
  136. package/dist/assets/gux-rich-text-editor-action-group.entry-DpooAfXe.js +1 -0
  137. package/dist/assets/gux-rich-text-editor-action-link.entry-BEOpCIyh.js +1 -0
  138. package/dist/assets/gux-rich-text-editor-action-rich-style.entry-rwzf60gc.js +1 -0
  139. package/dist/assets/gux-rich-text-editor-action-text-highlight.entry-BaiCEtST.js +1 -0
  140. package/dist/assets/gux-rich-text-editor-action.entry-wBuqVeIv.js +1 -0
  141. package/dist/assets/gux-rich-text-editor-beta.entry-Cw_BO3yc.js +1 -0
  142. package/dist/assets/gux-rich-text-editor-list.entry-CdJ7d-sN.js +1 -0
  143. package/dist/assets/gux-rich-text-editor.service-dcce5e51-BQ3X9qeR.js +1 -0
  144. package/dist/assets/gux-row-select.entry-DNQoUPfo.js +1 -0
  145. package/dist/assets/gux-screen-reader-beta.entry-CIizYbtx.js +1 -0
  146. package/dist/assets/gux-segmented-control-beta.entry-Lg-TCK-1.js +1 -0
  147. package/dist/assets/gux-segmented-control-item.entry-DDTIGwB3.js +1 -0
  148. package/dist/assets/gux-selector-card-beta.entry-df35Lfih.js +1 -0
  149. package/dist/assets/gux-selector-cards-beta.entry-HqqnLkUG.js +1 -0
  150. package/dist/assets/gux-side-panel-beta.entry-BUo5l_ej.js +1 -0
  151. package/dist/assets/gux-side-panel-heading.entry-NHumDrZj.js +1 -0
  152. package/dist/assets/gux-simple-toast-legacy.entry-BOuwoL-n.js +1 -0
  153. package/dist/assets/gux-skip-navigation-item.entry-DdXOJO27.js +1 -0
  154. package/dist/assets/gux-skip-navigation-list.entry-CuUU-ew0.js +1 -0
  155. package/dist/assets/gux-sort-control.entry-CbDxt8g0.js +1 -0
  156. package/dist/assets/gux-submenu.entry-BIlJzQjJ.js +1 -0
  157. package/dist/assets/gux-switch-item.entry-Cgtmox8R.js +1 -0
  158. package/dist/assets/gux-switch-legacy.entry-DsGOmtPe.js +1 -0
  159. package/dist/assets/gux-tab-advanced-list.entry-BtLAOPFJ.js +6 -0
  160. package/dist/assets/gux-tab-advanced-panel.entry-DIpz0Cfq.js +1 -0
  161. package/dist/assets/gux-tab-advanced.entry-BJITyN8b.js +1 -0
  162. package/dist/assets/gux-tab-list.entry-C7TvqKuP.js +1 -0
  163. package/dist/assets/gux-tab-panel.entry-C2d5THOw.js +1 -0
  164. package/dist/assets/gux-tab.entry-C4cHFqyb.js +1 -0
  165. package/dist/assets/gux-table-select-menu.entry-B0sGVIcE.js +1 -0
  166. package/dist/assets/gux-table-toolbar-action.entry-6BqIINZe.js +1 -0
  167. package/dist/assets/gux-table-toolbar-custom-action.entry-kKhiKsjX.js +1 -0
  168. package/dist/assets/gux-table-toolbar-menu-button.entry-CRgm9k5e.js +1 -0
  169. package/dist/assets/gux-table-toolbar.entry-Ba-W7m77.js +1 -0
  170. package/dist/assets/gux-table.entry-Du_lBgt-.js +4 -0
  171. package/dist/assets/gux-tabs-advanced.entry-spkmmAd3.js +1 -0
  172. package/dist/assets/gux-tabs.entry-BEULiyba.js +1 -0
  173. package/dist/assets/gux-tag.entry-BqkYTi8D.js +1 -0
  174. package/dist/assets/gux-text-highlight.entry-DOOZoYpX.js +1 -0
  175. package/dist/assets/gux-time-beta.entry-Ch9EsUkg.js +1 -0
  176. package/dist/assets/gux-time-picker.entry-Cq4RImXx.js +1 -0
  177. package/dist/assets/gux-time-zone-beta.entry-De8gNsNd.js +1 -0
  178. package/dist/assets/gux-time-zone-picker-beta.entry-Bqx6c6Qf.js +1 -0
  179. package/dist/assets/gux-toast.entry-F3efkRwy.js +1 -0
  180. package/dist/assets/gux-toggle-slider.entry-DcoVYfs5.js +1 -0
  181. package/dist/assets/gux-toggle.entry-Cu3eAfan.js +1 -0
  182. package/dist/assets/gux-tooltip-base-beta_2.entry-1gOdb2cF.js +1 -0
  183. package/dist/assets/gux-tooltip-pointer-beta.entry-D-hRxe26.js +1 -0
  184. package/dist/assets/gux-tooltip-title.entry-DjR4NFSD.js +1 -0
  185. package/dist/assets/gux-tooltip_2.entry-CKPibHyg.js +1 -0
  186. package/dist/assets/has-slot-f24a46a6-D7GdaS0G.js +1 -0
  187. package/dist/assets/index-4f1356d9-DSfDpFAA.js +3 -0
  188. package/dist/assets/index-CGOI1bSc.css +1 -0
  189. package/dist/assets/index-CWixJ8vL.js +53 -0
  190. package/dist/assets/index.umd-c0335c3a-dA6NRMYB.js +7 -0
  191. package/dist/assets/intl-93dbfa3b-BWr_j3mE.js +1 -0
  192. package/dist/assets/iso-dates-c6c7180d-MS_uLuKn.js +1 -0
  193. package/dist/assets/log-error-274efeb7-BpRSdGLj.js +1 -0
  194. package/dist/assets/on-attribute-change-33919964-C8j0fVsi.js +1 -0
  195. package/dist/assets/on-click-outside-6c2e399b-BC2t0a8o.js +1 -0
  196. package/dist/assets/on-input-disabled-state-change-27395154-_B452ZSd.js +1 -0
  197. package/dist/assets/on-mutation-751e68e4-BRlz63Dw.js +1 -0
  198. package/dist/assets/on-mutation-a222fe93-BUuUxYmY.js +1 -0
  199. package/dist/assets/on-resize-c9d0d33c-RQFUwEyO.js +1 -0
  200. package/dist/assets/overflow-detection-7e4fbf13-BN_H74hs.js +1 -0
  201. package/dist/assets/prevent-browser-validation-styling-3983eb0a-8P9I4Sy5.js +1 -0
  202. package/dist/assets/random-html-id-81ac821b-D30kRngR.js +1 -0
  203. package/dist/assets/simulate-native-event-e0631897-BcLDngo1.js +1 -0
  204. package/dist/assets/time-zone-b2752992-DBIrkcHc.js +1 -0
  205. package/dist/assets/usage-36c49ec0-Dlq6IjQJ.js +1 -0
  206. package/dist/assets/use-regional-dates-20f9c0e5-C5bTvd2o.js +1 -0
  207. package/dist/assets/when-event-is-from-2aac15f0-B4cyA2sH.js +1 -0
  208. package/dist/assets/year-month-values-7461d213-BGOpTfvI.js +1 -0
  209. package/dist/deploy-info.json +4 -8
  210. package/dist/genesys-cloud-client-auth.browser.min.js +1 -1
  211. package/dist/genesys-cloud-client-auth.browser.min.js.map +1 -1
  212. package/dist/i18n/ar.json +8 -8
  213. package/dist/i18n/cs.json +8 -8
  214. package/dist/i18n/da.json +10 -0
  215. package/dist/i18n/de.json +8 -8
  216. package/dist/i18n/en-us.json +8 -8
  217. package/dist/i18n/es.json +8 -8
  218. package/dist/i18n/fi.json +10 -0
  219. package/dist/i18n/fr.json +8 -8
  220. package/dist/i18n/he.json +8 -8
  221. package/dist/i18n/hi.json +2 -0
  222. package/dist/i18n/it.json +8 -8
  223. package/dist/i18n/ja.json +8 -8
  224. package/dist/i18n/ko.json +8 -8
  225. package/dist/i18n/nl.json +8 -8
  226. package/dist/i18n/no.json +8 -8
  227. package/dist/i18n/pl.json +8 -8
  228. package/dist/i18n/pt-br.json +8 -8
  229. package/dist/i18n/pt-pt.json +8 -8
  230. package/dist/i18n/ru.json +8 -8
  231. package/dist/i18n/sv.json +8 -8
  232. package/dist/i18n/th.json +8 -8
  233. package/dist/i18n/tr.json +8 -8
  234. package/dist/i18n/uk.json +10 -0
  235. package/dist/i18n/zh-cn.json +8 -8
  236. package/dist/i18n/zh-tw.json +8 -8
  237. package/dist/index.html +14 -1
  238. package/dist/lib/cjs/authenticator.d.ts +2 -1
  239. package/dist/lib/cjs/authenticator.js +13 -6
  240. package/dist/lib/cjs/authenticator.js.map +1 -1
  241. package/dist/lib/cjs/index.js.map +1 -1
  242. package/dist/lib/cjs/parse-redirect.js +5 -5
  243. package/dist/lib/cjs/parse-redirect.js.map +1 -1
  244. package/dist/lib/cjs/types.d.ts +5 -1
  245. package/dist/lib/cjs/utils.d.ts +1 -1
  246. package/dist/lib/cjs/utils.js +2 -2
  247. package/dist/lib/cjs/utils.js.map +1 -1
  248. package/dist/lib/cjs/version.js +0 -1
  249. package/dist/lib/cjs/version.js.map +1 -1
  250. package/dist/lib/es/authenticator.d.ts +2 -1
  251. package/dist/lib/es/authenticator.js +10 -3
  252. package/dist/lib/es/authenticator.js.map +1 -1
  253. package/dist/lib/es/index.js.map +1 -1
  254. package/dist/lib/es/parse-redirect.js.map +1 -1
  255. package/dist/lib/es/types.d.ts +5 -1
  256. package/dist/lib/es/utils.d.ts +1 -1
  257. package/dist/lib/es/utils.js.map +1 -1
  258. package/dist/lib/es/version.js +0 -1
  259. package/dist/lib/es/version.js.map +1 -1
  260. package/dist/manifest.json +2 -6
  261. package/dist/v1/genesys-cloud-client-auth.browser.min.js +1 -1
  262. package/dist/v1.0.0/genesys-cloud-client-auth.browser.min.js +1 -1
  263. package/dist/vite.svg +1 -0
  264. package/package.json +72 -73
  265. package/CHANGELOG.md +0 -16
  266. package/LICENSE +0 -21
  267. package/dist/asset-manifest.json +0 -198
  268. package/dist/favicon.ico +0 -0
  269. package/dist/robots.txt +0 -3
  270. package/dist/static/css/main.045d96b0.css +0 -2
  271. package/dist/static/css/main.045d96b0.css.map +0 -1
  272. package/dist/static/js/1089.fb722233.chunk.js +0 -2
  273. package/dist/static/js/1089.fb722233.chunk.js.map +0 -1
  274. package/dist/static/js/1158.76a41325.chunk.js +0 -2
  275. package/dist/static/js/1158.76a41325.chunk.js.map +0 -1
  276. package/dist/static/js/1166.1486fbcd.chunk.js +0 -2
  277. package/dist/static/js/1166.1486fbcd.chunk.js.map +0 -1
  278. package/dist/static/js/131.3f61f67c.chunk.js +0 -2
  279. package/dist/static/js/131.3f61f67c.chunk.js.map +0 -1
  280. package/dist/static/js/1344.19a70535.chunk.js +0 -2
  281. package/dist/static/js/1344.19a70535.chunk.js.map +0 -1
  282. package/dist/static/js/1433.d57f6003.chunk.js +0 -2
  283. package/dist/static/js/1433.d57f6003.chunk.js.map +0 -1
  284. package/dist/static/js/1498.98292821.chunk.js +0 -2
  285. package/dist/static/js/1498.98292821.chunk.js.map +0 -1
  286. package/dist/static/js/1507.84125ab7.chunk.js +0 -2
  287. package/dist/static/js/1507.84125ab7.chunk.js.map +0 -1
  288. package/dist/static/js/1544.fcbc0609.chunk.js +0 -2
  289. package/dist/static/js/1544.fcbc0609.chunk.js.map +0 -1
  290. package/dist/static/js/1642.13e001a0.chunk.js +0 -2
  291. package/dist/static/js/1642.13e001a0.chunk.js.map +0 -1
  292. package/dist/static/js/1697.c1eba654.chunk.js +0 -2
  293. package/dist/static/js/1697.c1eba654.chunk.js.map +0 -1
  294. package/dist/static/js/1718.d222d0d2.chunk.js +0 -2
  295. package/dist/static/js/1718.d222d0d2.chunk.js.map +0 -1
  296. package/dist/static/js/1978.b9b0b630.chunk.js +0 -2
  297. package/dist/static/js/1978.b9b0b630.chunk.js.map +0 -1
  298. package/dist/static/js/2131.e90e6224.chunk.js +0 -2
  299. package/dist/static/js/2131.e90e6224.chunk.js.map +0 -1
  300. package/dist/static/js/2291.98b84fa5.chunk.js +0 -2
  301. package/dist/static/js/2291.98b84fa5.chunk.js.map +0 -1
  302. package/dist/static/js/2361.28c72454.chunk.js +0 -2
  303. package/dist/static/js/2361.28c72454.chunk.js.map +0 -1
  304. package/dist/static/js/2609.69b7ee3f.chunk.js +0 -2
  305. package/dist/static/js/2609.69b7ee3f.chunk.js.map +0 -1
  306. package/dist/static/js/2618.08776cf8.chunk.js +0 -2
  307. package/dist/static/js/2618.08776cf8.chunk.js.map +0 -1
  308. package/dist/static/js/2657.08f5fe94.chunk.js +0 -2
  309. package/dist/static/js/2657.08f5fe94.chunk.js.map +0 -1
  310. package/dist/static/js/2939.a53af515.chunk.js +0 -2
  311. package/dist/static/js/2939.a53af515.chunk.js.map +0 -1
  312. package/dist/static/js/2959.b68475ee.chunk.js +0 -2
  313. package/dist/static/js/2959.b68475ee.chunk.js.map +0 -1
  314. package/dist/static/js/3183.0483907e.chunk.js +0 -2
  315. package/dist/static/js/3183.0483907e.chunk.js.map +0 -1
  316. package/dist/static/js/3184.b5c03e4a.chunk.js +0 -2
  317. package/dist/static/js/3184.b5c03e4a.chunk.js.map +0 -1
  318. package/dist/static/js/3326.58fe8ed8.chunk.js +0 -2
  319. package/dist/static/js/3326.58fe8ed8.chunk.js.map +0 -1
  320. package/dist/static/js/3431.330e6907.chunk.js +0 -2
  321. package/dist/static/js/3431.330e6907.chunk.js.map +0 -1
  322. package/dist/static/js/3466.d53f9938.chunk.js +0 -2
  323. package/dist/static/js/3466.d53f9938.chunk.js.map +0 -1
  324. package/dist/static/js/3534.ee2022f0.chunk.js +0 -2
  325. package/dist/static/js/3534.ee2022f0.chunk.js.map +0 -1
  326. package/dist/static/js/3649.47036a0d.chunk.js +0 -2
  327. package/dist/static/js/3649.47036a0d.chunk.js.map +0 -1
  328. package/dist/static/js/3821.dbe9ef88.chunk.js +0 -2
  329. package/dist/static/js/3821.dbe9ef88.chunk.js.map +0 -1
  330. package/dist/static/js/3982.1668cd90.chunk.js +0 -2
  331. package/dist/static/js/3982.1668cd90.chunk.js.map +0 -1
  332. package/dist/static/js/4173.64f75901.chunk.js +0 -2
  333. package/dist/static/js/4173.64f75901.chunk.js.map +0 -1
  334. package/dist/static/js/4192.35098ff0.chunk.js +0 -2
  335. package/dist/static/js/4192.35098ff0.chunk.js.map +0 -1
  336. package/dist/static/js/4202.6a101f57.chunk.js +0 -2
  337. package/dist/static/js/4202.6a101f57.chunk.js.map +0 -1
  338. package/dist/static/js/4242.625e5aa9.chunk.js +0 -2
  339. package/dist/static/js/4242.625e5aa9.chunk.js.map +0 -1
  340. package/dist/static/js/4248.d69f59fd.chunk.js +0 -2
  341. package/dist/static/js/4248.d69f59fd.chunk.js.map +0 -1
  342. package/dist/static/js/4618.2b652181.chunk.js +0 -2
  343. package/dist/static/js/4618.2b652181.chunk.js.map +0 -1
  344. package/dist/static/js/4774.03877b96.chunk.js +0 -2
  345. package/dist/static/js/4774.03877b96.chunk.js.map +0 -1
  346. package/dist/static/js/4777.07210d5d.chunk.js +0 -2
  347. package/dist/static/js/4777.07210d5d.chunk.js.map +0 -1
  348. package/dist/static/js/4826.f3719274.chunk.js +0 -2
  349. package/dist/static/js/4826.f3719274.chunk.js.map +0 -1
  350. package/dist/static/js/501.3f46836b.chunk.js +0 -2
  351. package/dist/static/js/501.3f46836b.chunk.js.map +0 -1
  352. package/dist/static/js/5122.046ab4b7.chunk.js +0 -2
  353. package/dist/static/js/5122.046ab4b7.chunk.js.map +0 -1
  354. package/dist/static/js/5160.465b3a5d.chunk.js +0 -2
  355. package/dist/static/js/5160.465b3a5d.chunk.js.map +0 -1
  356. package/dist/static/js/546.40835589.chunk.js +0 -2
  357. package/dist/static/js/546.40835589.chunk.js.map +0 -1
  358. package/dist/static/js/5503.cc3b1fda.chunk.js +0 -2
  359. package/dist/static/js/5503.cc3b1fda.chunk.js.map +0 -1
  360. package/dist/static/js/5572.565c5d80.chunk.js +0 -2
  361. package/dist/static/js/5572.565c5d80.chunk.js.map +0 -1
  362. package/dist/static/js/599.a5cb72b5.chunk.js +0 -2
  363. package/dist/static/js/599.a5cb72b5.chunk.js.map +0 -1
  364. package/dist/static/js/6033.174d7635.chunk.js +0 -2
  365. package/dist/static/js/6033.174d7635.chunk.js.map +0 -1
  366. package/dist/static/js/6069.5c81dae7.chunk.js +0 -2
  367. package/dist/static/js/6069.5c81dae7.chunk.js.map +0 -1
  368. package/dist/static/js/6151.c5cf5a85.chunk.js +0 -2
  369. package/dist/static/js/6151.c5cf5a85.chunk.js.map +0 -1
  370. package/dist/static/js/6237.a9b576a4.chunk.js +0 -2
  371. package/dist/static/js/6237.a9b576a4.chunk.js.map +0 -1
  372. package/dist/static/js/6326.156b4248.chunk.js +0 -2
  373. package/dist/static/js/6326.156b4248.chunk.js.map +0 -1
  374. package/dist/static/js/6474.03947fd7.chunk.js +0 -2
  375. package/dist/static/js/6474.03947fd7.chunk.js.map +0 -1
  376. package/dist/static/js/6571.301eecac.chunk.js +0 -2
  377. package/dist/static/js/6571.301eecac.chunk.js.map +0 -1
  378. package/dist/static/js/6632.0676b230.chunk.js +0 -2
  379. package/dist/static/js/6632.0676b230.chunk.js.map +0 -1
  380. package/dist/static/js/6769.fcdb896c.chunk.js +0 -2
  381. package/dist/static/js/6769.fcdb896c.chunk.js.map +0 -1
  382. package/dist/static/js/6982.60585ab3.chunk.js +0 -2
  383. package/dist/static/js/6982.60585ab3.chunk.js.map +0 -1
  384. package/dist/static/js/7076.37939eb2.chunk.js +0 -2
  385. package/dist/static/js/7076.37939eb2.chunk.js.map +0 -1
  386. package/dist/static/js/7120.0b0ef311.chunk.js +0 -3
  387. package/dist/static/js/7120.0b0ef311.chunk.js.LICENSE.txt +0 -6
  388. package/dist/static/js/7120.0b0ef311.chunk.js.map +0 -1
  389. package/dist/static/js/7150.840301cb.chunk.js +0 -2
  390. package/dist/static/js/7150.840301cb.chunk.js.map +0 -1
  391. package/dist/static/js/7153.250bf93b.chunk.js +0 -2
  392. package/dist/static/js/7153.250bf93b.chunk.js.map +0 -1
  393. package/dist/static/js/7307.8656856b.chunk.js +0 -2
  394. package/dist/static/js/7307.8656856b.chunk.js.map +0 -1
  395. package/dist/static/js/742.64af67d8.chunk.js +0 -2
  396. package/dist/static/js/742.64af67d8.chunk.js.map +0 -1
  397. package/dist/static/js/754.b1c84197.chunk.js +0 -2
  398. package/dist/static/js/754.b1c84197.chunk.js.map +0 -1
  399. package/dist/static/js/7610.97a0a5b5.chunk.js +0 -2
  400. package/dist/static/js/7610.97a0a5b5.chunk.js.map +0 -1
  401. package/dist/static/js/765.2a78cffe.chunk.js +0 -2
  402. package/dist/static/js/765.2a78cffe.chunk.js.map +0 -1
  403. package/dist/static/js/7803.bfe8c40f.chunk.js +0 -2
  404. package/dist/static/js/7803.bfe8c40f.chunk.js.map +0 -1
  405. package/dist/static/js/7895.629e8650.chunk.js +0 -2
  406. package/dist/static/js/7895.629e8650.chunk.js.map +0 -1
  407. package/dist/static/js/8025.ecb1d6bc.chunk.js +0 -2
  408. package/dist/static/js/8025.ecb1d6bc.chunk.js.map +0 -1
  409. package/dist/static/js/8086.ef9f2d3b.chunk.js +0 -2
  410. package/dist/static/js/8086.ef9f2d3b.chunk.js.map +0 -1
  411. package/dist/static/js/8105.46b996bf.chunk.js +0 -2
  412. package/dist/static/js/8105.46b996bf.chunk.js.map +0 -1
  413. package/dist/static/js/819.a55f578b.chunk.js +0 -2
  414. package/dist/static/js/819.a55f578b.chunk.js.map +0 -1
  415. package/dist/static/js/8300.e15dbcd8.chunk.js +0 -2
  416. package/dist/static/js/8300.e15dbcd8.chunk.js.map +0 -1
  417. package/dist/static/js/8324.b769efff.chunk.js +0 -2
  418. package/dist/static/js/8324.b769efff.chunk.js.map +0 -1
  419. package/dist/static/js/8366.b2c2daee.chunk.js +0 -2
  420. package/dist/static/js/8366.b2c2daee.chunk.js.map +0 -1
  421. package/dist/static/js/8524.95396ee8.chunk.js +0 -2
  422. package/dist/static/js/8524.95396ee8.chunk.js.map +0 -1
  423. package/dist/static/js/8644.c87452a5.chunk.js +0 -2
  424. package/dist/static/js/8644.c87452a5.chunk.js.map +0 -1
  425. package/dist/static/js/8674.d4aa33fd.chunk.js +0 -2
  426. package/dist/static/js/8674.d4aa33fd.chunk.js.map +0 -1
  427. package/dist/static/js/8717.76b643a4.chunk.js +0 -2
  428. package/dist/static/js/8717.76b643a4.chunk.js.map +0 -1
  429. package/dist/static/js/872.5c96c93a.chunk.js +0 -2
  430. package/dist/static/js/872.5c96c93a.chunk.js.map +0 -1
  431. package/dist/static/js/8762.d3fad692.chunk.js +0 -2
  432. package/dist/static/js/8762.d3fad692.chunk.js.map +0 -1
  433. package/dist/static/js/8782.af6b6665.chunk.js +0 -3
  434. package/dist/static/js/8782.af6b6665.chunk.js.LICENSE.txt +0 -14
  435. package/dist/static/js/8782.af6b6665.chunk.js.map +0 -1
  436. package/dist/static/js/894.a8fe019e.chunk.js +0 -2
  437. package/dist/static/js/894.a8fe019e.chunk.js.map +0 -1
  438. package/dist/static/js/9057.702da8f9.chunk.js +0 -2
  439. package/dist/static/js/9057.702da8f9.chunk.js.map +0 -1
  440. package/dist/static/js/9090.60a5cb5b.chunk.js +0 -2
  441. package/dist/static/js/9090.60a5cb5b.chunk.js.map +0 -1
  442. package/dist/static/js/9117.200d2100.chunk.js +0 -2
  443. package/dist/static/js/9117.200d2100.chunk.js.map +0 -1
  444. package/dist/static/js/9131.d5d0ab82.chunk.js +0 -2
  445. package/dist/static/js/9131.d5d0ab82.chunk.js.map +0 -1
  446. package/dist/static/js/9296.e374c7dc.chunk.js +0 -2
  447. package/dist/static/js/9296.e374c7dc.chunk.js.map +0 -1
  448. package/dist/static/js/932.4f62c387.chunk.js +0 -2
  449. package/dist/static/js/932.4f62c387.chunk.js.map +0 -1
  450. package/dist/static/js/9584.967e5482.chunk.js +0 -2
  451. package/dist/static/js/9584.967e5482.chunk.js.map +0 -1
  452. package/dist/static/js/9679.87a204b1.chunk.js +0 -2
  453. package/dist/static/js/9679.87a204b1.chunk.js.map +0 -1
  454. package/dist/static/js/9745.63a6678a.chunk.js +0 -2
  455. package/dist/static/js/9745.63a6678a.chunk.js.map +0 -1
  456. package/dist/static/js/9750.1310ef55.chunk.js +0 -2
  457. package/dist/static/js/9750.1310ef55.chunk.js.map +0 -1
  458. package/dist/static/js/main.88b7f5a4.js +0 -3
  459. package/dist/static/js/main.88b7f5a4.js.LICENSE.txt +0 -43
  460. package/dist/static/js/main.88b7f5a4.js.map +0 -1
  461. package/dist/static/media/getFetch.c780682470504fffbd04.cjs +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/6069.5c81dae7.chunk.js","mappings":"yMAIIA,EAAkB,WACpB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,YAAa,EAHA,wCAKpB,WACE,OAAOD,KAAKC,WAAa,WAAa,KANpB,oBAQpB,WACE,OAAQC,EAAAA,EAAAA,GAAE,SAAU,CAAE,aAAcF,KAAKG,QAASC,MAAOJ,KAAKK,cAAeH,EAAAA,EAAAA,GAAE,WAAY,CAAEI,YAAY,EAAM,YAAaN,KAAKO,YAT/G,KAYtBV,EAAmBW,MAdW","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-side-panel-button.entry.js"],"sourcesContent":["import { r as registerInstance, h } from './index-5f3763b4.js';\n\nconst guxSidePanelButtonCss = \"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}\";\n\nlet GuxSidePanelButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.isSelected = false;\n }\n get buttonClass() {\n return this.isSelected ? 'selected' : '';\n }\n render() {\n return (h(\"button\", { \"aria-label\": this.altText, class: this.buttonClass }, h(\"gux-icon\", { decorative: true, \"icon-name\": this.icon })));\n }\n};\nGuxSidePanelButton.style = guxSidePanelButtonCss;\n\nexport { GuxSidePanelButton as gux_side_panel_button };\n"],"names":["GuxSidePanelButton","hostRef","registerInstance","this","isSelected","h","altText","class","buttonClass","decorative","icon","style"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[6151],{6151:function(t,e,n){n.r(e),n.d(e,{gux_option:function(){return u}});var r=n(5671),o=n(3144),i=n(4723),u=function(){function t(e){(0,r.Z)(this,t),(0,i.r)(this,e)}return(0,o.Z)(t,[{key:"updateParentSelection",value:function(){this.getParentGuxDropdown().setSelected()}},{key:"shouldFilter",value:function(t){return t?Promise.resolve(!this.text.toLowerCase().startsWith(t.toLowerCase())):Promise.resolve(!1)}},{key:"getParentGuxDropdown",value:function(){return this.root.closest("gux-dropdown")}},{key:"componentWillLoad",value:function(){this.text||(this.text=this.root.textContent)}},{key:"hostData",value:function(){return{tabindex:"0"}}},{key:"__stencil_render",value:function(){var t=this;return(0,i.h)("div",{title:this.text},(0,i.h)("span",{ref:function(e){return t.slotContent=e},style:{display:"none"}},(0,i.h)("slot",null)),this.text)}},{key:"root",get:function(){return(0,i.g)(this)}},{key:"render",value:function(){return(0,i.h)(i.H,this.hostData(),this.__stencil_render())}}],[{key:"watchers",get:function(){return{selected:["updateParentSelection"]}}}]),t}();u.style="gux-option gux-text-highlight mark{font-weight:700;color:inherit;background-color:inherit}"}}]);
2
- //# sourceMappingURL=6151.c5cf5a85.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/6151.c5cf5a85.chunk.js","mappings":"8LAIIA,EAAS,WACX,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GAFd,oDAIX,WACEE,KAAKC,uBAAuBC,gBALnB,0BAYX,SAAaC,GACX,OAAKA,EAGEC,QAAQC,SAASL,KAAKM,KAAKC,cAAcC,WAAWL,EAAYI,gBAF9DH,QAAQC,SAAQ,KAdhB,kCAkBX,WACE,OAAOL,KAAKS,KAAKC,QAAQ,kBAnBhB,+BAqBX,WACOV,KAAKM,OACRN,KAAKM,KAAON,KAAKS,KAAKE,eAvBf,sBA0BX,WACE,MAAO,CACLC,SAAU,OA5BH,8BA+BX,WAAmB,WACjB,OAAQC,EAAAA,EAAAA,GAAE,MAAO,CAAEC,MAAOd,KAAKM,OAAQO,EAAAA,EAAAA,GAAE,OAAQ,CAAEE,IAAK,SAAAC,GAAE,OAAK,EAAKC,YAAcD,GAAKE,MAAO,CAAEC,QAAS,UAAYN,EAAAA,EAAAA,GAAE,OAAQ,OAAQb,KAAKM,QAhCnI,gBAkCX,WAAa,OAAOc,EAAAA,EAAAA,GAAWpB,QAlCpB,oBAsCX,WAAW,OAAOa,EAAAA,EAAAA,GAAEQ,EAAAA,EAAMrB,KAAKsB,WAAYtB,KAAKuB,uBAtCrC,qBAmCX,WAAwB,MAAO,CAC7B,SAAY,CAAC,8BApCJ,KAwCb1B,EAAUqB,MA1CW","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-option.entry.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement, H as Host } from './index-5f3763b4.js';\n\nconst guxOptionCss = \"gux-option gux-text-highlight mark{font-weight:700;color:inherit;background-color:inherit}\";\n\nlet GuxOption = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n updateParentSelection() {\n this.getParentGuxDropdown().setSelected();\n }\n /**\n * Determines if the search input matches this option.\n *\n * @param searchInput The input string being searched for.\n */\n shouldFilter(searchInput) {\n if (!searchInput) {\n return Promise.resolve(false);\n }\n return Promise.resolve(!this.text.toLowerCase().startsWith(searchInput.toLowerCase()));\n }\n getParentGuxDropdown() {\n return this.root.closest('gux-dropdown');\n }\n componentWillLoad() {\n if (!this.text) {\n this.text = this.root.textContent;\n }\n }\n hostData() {\n return {\n tabindex: '0'\n };\n }\n __stencil_render() {\n return (h(\"div\", { title: this.text }, h(\"span\", { ref: el => (this.slotContent = el), style: { display: 'none' } }, h(\"slot\", null)), this.text));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"selected\": [\"updateParentSelection\"]\n }; }\n render() { return h(Host, this.hostData(), this.__stencil_render()); }\n};\nGuxOption.style = guxOptionCss;\n\nexport { GuxOption as gux_option };\n"],"names":["GuxOption","hostRef","registerInstance","this","getParentGuxDropdown","setSelected","searchInput","Promise","resolve","text","toLowerCase","startsWith","root","closest","textContent","tabindex","h","title","ref","el","slotContent","style","display","getElement","Host","hostData","__stencil_render"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[6237],{5361:function(e,t,n){n.d(t,{G:function(){return s},a:function(){return o}});var i=n(4942),r=n(4723),o=function(e,t){var n=e.labelPosition;return(0,r.h)("div",{class:(0,i.Z)({"gux-form-field-container":!0},"gux-".concat(n),!0)},t)},s=function(e,t){var n,o=e.position,s=e.required;return(0,r.h)("div",{class:(n={"gux-form-field-label":!0},(0,i.Z)(n,"gux-".concat(o),!0),(0,i.Z)(n,"gux-required",s),n)},t)}},6237:function(e,t,n){n.r(t),n.d(t,{gux_form_field_textarea_beta:function(){return h}});var i=n(4942),r=n(5671),o=n(3144),s=n(4723),a=n(4351),c=n(5618),l=n(997),u=n(8125),d=n(5361),p=n(2457),f=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},h=function(){function e(t){(0,r.Z)(this,e),(0,s.r)(this,t),this.computedLabelPosition="above",this.required=!0,this.hasError=!1}return(0,o.Z)(e,[{key:"onMutation",value:function(){this.hasError=(0,p.h)(this.root)}},{key:"componentWillLoad",value:function(){this.setInput(),this.setLabel(),this.hasError=(0,p.h)(this.root),(0,u.t)(this.root,{variant:this.variant})}},{key:"componentDidLoad",value:function(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}},{key:"render",value:function(){var e,t=this;return(0,s.h)(d.a,{labelPosition:this.computedLabelPosition},(0,s.h)(d.G,{position:this.computedLabelPosition,required:this.required},(0,s.h)("slot",{name:"label",onSlotchange:function(){return t.setLabel()}})),(0,s.h)("div",{class:"gux-input-and-error-container"},(0,s.h)("div",{ref:function(e){return t.textareaContainerElement=e},class:(e={"gux-input":!0},(0,i.Z)(e,"gux-resize-".concat(this.resize),!0),(0,i.Z)(e,"gux-disabled",this.disabled),(0,i.Z)(e,"gux-input-error",this.hasError),e)},(0,s.h)("slot",{name:"input"})),(0,s.h)(p.G,{hasError:this.hasError},(0,s.h)("slot",{name:"error"}))))}},{key:"variant",get:function(){var e=this.labelPosition?this.labelPosition.toLowerCase():"none";return"".concat(this.resize,"-").concat(e)}},{key:"setInput",value:function(){var e=this;this.input=this.root.querySelector('textarea[slot="input"]'),(0,l.p)(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(function(){e.updateHeight(e.textareaContainerElement,e.input,e.resize)})),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=(0,c.o)(this.input,(function(t){e.disabled=t})),this.requiredObserver=(0,c.a)(this.input,(function(t){e.required=t})),(0,p.v)(this.root,this.input)}},{key:"setLabel",value:function(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=(0,p.g)(this.label,this.labelPosition)}},{key:"updateHeight",value:function(e,t,n){"auto"===n&&e&&(e.dataset.replicatedValue=t.value,e.style.maxHeight=t.style.maxHeight)}},{key:"root",get:function(){return(0,s.g)(this)}}]),e}();f([(0,a.O)({childList:!0,subtree:!0})],h.prototype,"onMutation",null),h.style=".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#33383d}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#33383d}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;color:#33383d;resize:vertical;background-color:#f8f8f8;background-image:none;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16);font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px;min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}::slotted(textarea)::placeholder{color:#666f7b;opacity:1}::slotted(textarea)[disabled]{opacity:0.5}::slotted(textarea)::placeholder{color:#666f7b;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:block;border:1px solid #77828f;border-radius:4px;outline:none}.gux-input-and-error-container .gux-input:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error{border-color:#ea0b0b}.gux-input-and-error-container .gux-input.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) ' ';min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}"},2457:function(e,t,n){n.d(t,{G:function(){return a},a:function(){return u},c:function(){return c},g:function(){return d},h:function(){return l},v:function(){return p}});var i=n(4723),r=n(1782),o=n(2183),s=n(5569),a=function(e,t){var n=e.hasError;return(0,i.h)("div",{class:{"gux-form-field-error":!0,"gux-show":n}},(0,i.h)("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),(0,i.h)("div",{class:"gux-message"},t))};function c(e){(0,s.s)(e,"",!0)}function l(e){return Boolean(e.querySelector('[slot="error"]'))}function u(e){return Boolean(e.value)}function d(e,t){if(e)return["above","beside","screenreader"].includes(t)?t:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}function p(e,t){if(function(e){return Boolean(e.querySelector('label[slot="label"]'))}(e)){var n=e.querySelector('label[slot="label"]'),i=Boolean(t.hasAttribute("id")),s=Boolean(n.hasAttribute("for"));if(!i&&s)(0,o.l)(e.tagName.toLowerCase(),'A "for" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the "for" attribute from the label. If there is no input id and no "for" attribute provided, the component will automatically generate an id and link it to the "for" attribute.');else if(i)if(i&&!s){var a=t.getAttribute("id");n.setAttribute("for",a)}else i&&s&&t.getAttribute("id")!==n.getAttribute("for")&&(0,o.l)(e.tagName.toLowerCase(),"The input id and label for attribute should match.");else{var c=(0,r.r)("gux-form-field-input");t.setAttribute("id",c),n.setAttribute("for",c)}}else(0,o.l)(e.tagName.toLowerCase(),'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to "screenreader" to visually hide the label.');if(l(e)){var u=e.querySelector('[slot="error"]'),d=(0,r.r)("gux-form-field-error");u.setAttribute("id",d),t.setAttribute("aria-describedby",d)}else t.getAttribute("aria-describedby")&&t.getAttribute("aria-describedby").startsWith("gux-form-field-error")&&t.removeAttribute("aria-describedby")}},2183:function(e,t,n){function i(e,t){setTimeout((function(){throw new Error("[".concat(e,"] ").concat(t))}),0)}function r(e,t){setTimeout((function(){console.warn("[".concat(e,"] ").concat(t))}),0)}n.d(t,{a:function(){return r},l:function(){return i}})},5618:function(e,t,n){function i(e,t){var n=new MutationObserver((function(n){n.forEach((function(){t(e.hidden)}))}));return n.observe(e,{attributes:!0,attributeFilter:["hidden"]}),n}function r(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"disabled"===n.attributeName&&t(e.disabled)}))}));return n.observe(e,{attributes:!0}),n}function o(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"required"===n.attributeName&&t(e.required)}))}));return n.observe(e,{attributes:!0}),n}n.d(t,{a:function(){return o},b:function(){return i},o:function(){return r}})},4351:function(e,t,n){n.d(t,{O:function(){return r}});var i=n(4723);function r(e){return function(t,n){var r,o=t.connectedCallback,s=t.disconnectedCallback;t.connectedCallback=function(){var t=(0,i.g)(this),s=this[n];return(r=new MutationObserver(s.bind(this))).observe(t,e),o&&o.call(this)},t.disconnectedCallback=function(){return r.disconnect(),s&&s.call(this)}}}},997:function(e,t,n){function i(e){e.addEventListener("invalid",(function(e){e.preventDefault()}))}n.d(t,{p:function(){return i}})},1782:function(e,t,n){function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"gux";return"".concat(e,"-").concat(Math.random().toString(36).substr(2,10))}n.d(t,{r:function(){return i}})},5569:function(e,t,n){n.d(t,{s:function(){return r}});var i=n(6863);function r(e,t,n){e.value=t,(0,i.s)(e,"input"),(0,i.s)(e,"change"),n&&e.focus()}},6863:function(e,t,n){function i(e,t){switch(t){case"change":return e.dispatchEvent(new InputEvent("change",{bubbles:!0}));case"input":return e.dispatchEvent(new InputEvent("input",{bubbles:!0}))}}n.d(t,{s:function(){return i}})},8125:function(e,t,n){n.d(t,{t:function(){return a}});var i=n(885),r={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},o="spark-library",s=!1;function a(e,t){var n=window.newrelic;n&&(s||(!function(){var e=window.newrelic;if(!e)return;var t=r.version.split("."),n=(0,i.Z)(t,3),s=n[0],a=n[1],c=n[2];e.addPageAction(o,{fullVersion:"".concat(s,".").concat(a,".").concat(c),majorVersion:s,minorVersion:"".concat(s,".").concat(a)})}(),s=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:r.version})))}}}]);
2
- //# sourceMappingURL=6237.a9b576a4.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/6237.a9b576a4.chunk.js","mappings":"2LAEMA,EAAwB,SAAC,EAAmBC,GAAa,IAA9BC,EAA8B,EAA9BA,cAC/B,OAAQC,EAAAA,EAAAA,GAAE,MAAO,CAAEC,OAAO,QACtB,4BAA4B,GADR,cAEZF,IAAkB,IACvBD,IAGHI,EAAoB,SAAC,EAAwBJ,GAAa,MAAnCK,EAAmC,EAAnCA,SAAUC,EAAyB,EAAzBA,SACrC,OAAQJ,EAAAA,EAAAA,GAAE,MAAO,CAAEC,OAAK,GACpB,wBAAwB,IADJ,uBAEZE,IAAa,IAFD,SAGpB,eAAgBC,GAHI,IAIjBN,K,8LCALO,EAAoD,SAAUC,EAAYC,EAAQC,EAAKC,GACzF,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,kBAAZQ,SAAoD,oBAArBA,QAAQC,SAChDJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QAE9C,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KACtCT,EAAIJ,EAAWa,MACjBL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GACzE,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,GAE1DO,EAAoB,WACtB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,sBAAwB,QAC7BD,KA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A6B,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,SAAS3J,EAAekE,EAAS0F,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAF,KASP,WACE,IAAME,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BtD,EAAYC,QAAQuD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAL,EAASM,cAAcT,EAAmB,CACxCU,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAZ,GAAqB,GAEvBE,EAASM,cAlBiB,kBAkBkBnL,OAAOwL,OAAOxL,OAAOwL,OAAO,GAAIZ,GAAW,CAAElG,UAAWQ,EAAQlB,QAAQhC,cAAewF,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-label-49e29743.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-textarea-beta.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field.servce-8bb23dbf.js","../node_modules/@genesys/common-webcomponents/dist/esm/log-error-3d08c2b1.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-attribute-change-2b01c315.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-mutation-678b39ea.js","../node_modules/@genesys/common-webcomponents/dist/esm/prevent-browser-validation-styling-d16c3f4c.js","../node_modules/@genesys/common-webcomponents/dist/esm/random-html-id-8e3f658c.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","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { h } from './index-5f3763b4.js';\n\nconst GuxFormFieldContainer = ({ labelPosition }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-container': true,\n [`gux-${labelPosition}`]: true\n } }, children));\n};\n\nconst GuxFormFieldLabel = ({ position, required }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-label': true,\n [`gux-${position}`]: true,\n 'gux-required': required\n } }, children));\n};\n\nexport { GuxFormFieldLabel as G, GuxFormFieldContainer as a };\n","import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { O as OnMutation } from './on-mutation-678b39ea.js';\nimport { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';\nimport { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\nimport { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-49e29743.js';\nimport { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.servce-8bb23dbf.js';\nimport './random-html-id-8e3f658c.js';\nimport './log-error-3d08c2b1.js';\nimport './set-input-value-5adeaccc.js';\nimport './simulate-native-event-ac69961f.js';\n\nconst guxFormFieldTextareaCss = \".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#33383d}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#33383d}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;color:#33383d;resize:vertical;background-color:#f8f8f8;background-image:none;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16);font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px;min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}::slotted(textarea)::placeholder{color:#666f7b;opacity:1}::slotted(textarea)[disabled]{opacity:0.5}::slotted(textarea)::placeholder{color:#666f7b;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:block;border:1px solid #77828f;border-radius:4px;outline:none}.gux-input-and-error-container .gux-input:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error{border-color:#ea0b0b}.gux-input-and-error-container .gux-input.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) ' ';min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}\";\n\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\")\n r = Reflect.decorate(decorators, target, key, desc);\n else\n for (var i = decorators.length - 1; i >= 0; i--)\n if (d = decorators[i])\n r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nlet GuxFormFieldTextarea = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.computedLabelPosition = 'above';\n this.required = true;\n this.hasError = false;\n }\n onMutation() {\n this.hasError = hasErrorSlot(this.root);\n }\n componentWillLoad() {\n this.setInput();\n this.setLabel();\n this.hasError = hasErrorSlot(this.root);\n trackComponent(this.root, { variant: this.variant });\n }\n componentDidLoad() {\n this.updateHeight(this.textareaContainerElement, this.input, this.resize);\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n this.requiredObserver.disconnect();\n }\n render() {\n return (h(GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, h(GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, h(\"slot\", { name: \"label\", onSlotchange: () => this.setLabel() })), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"div\", { ref: el => (this.textareaContainerElement = el), class: {\n 'gux-input': true,\n [`gux-resize-${this.resize}`]: true,\n 'gux-disabled': this.disabled,\n 'gux-input-error': this.hasError\n } }, h(\"slot\", { name: \"input\" })), h(GuxFormFieldError, { hasError: this.hasError }, h(\"slot\", { name: \"error\" })))));\n }\n get variant() {\n const labelPositionVariant = this.labelPosition\n ? this.labelPosition.toLowerCase()\n : 'none';\n return `${this.resize}-${labelPositionVariant}`;\n }\n setInput() {\n this.input = this.root.querySelector('textarea[slot=\"input\"]');\n preventBrowserValidationStyling(this.input);\n this.updateHeight(this.textareaContainerElement, this.input, this.resize);\n this.input.addEventListener('input', () => {\n this.updateHeight(this.textareaContainerElement, this.input, this.resize);\n });\n this.disabled = this.input.disabled;\n this.required = this.input.required;\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n this.requiredObserver = onRequiredChange(this.input, (required) => {\n this.required = required;\n });\n validateFormIds(this.root, this.input);\n }\n setLabel() {\n this.label = this.root.querySelector('label[slot=\"label\"]');\n this.computedLabelPosition = getComputedLabelPosition(this.label, this.labelPosition);\n }\n updateHeight(container, input, resize) {\n if (resize === 'auto') {\n if (container) {\n container.dataset.replicatedValue = input.value;\n container.style.maxHeight = input.style.maxHeight;\n }\n }\n }\n get root() { return getElement(this); }\n};\n__decorate([\n OnMutation({ childList: true, subtree: true })\n], GuxFormFieldTextarea.prototype, \"onMutation\", null);\nGuxFormFieldTextarea.style = guxFormFieldTextareaCss;\n\nexport { GuxFormFieldTextarea as gux_form_field_textarea_beta };\n","import { h } from './index-5f3763b4.js';\nimport { r as randomHTMLId } from './random-html-id-8e3f658c.js';\nimport { l as logError } from './log-error-3d08c2b1.js';\nimport { s as setInputValue } from './set-input-value-5adeaccc.js';\n\nconst GuxFormFieldError = ({ hasError }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-error': true,\n 'gux-show': hasError\n } },\n h(\"gux-icon\", { \"icon-name\": \"alert-warning-octogon\", decorative: true }),\n h(\"div\", { class: \"gux-message\" }, children)));\n};\n\nfunction clearInput(input) {\n setInputValue(input, '', true);\n}\nfunction hasErrorSlot(root) {\n return Boolean(root.querySelector('[slot=\"error\"]'));\n}\nfunction hasContent(input) {\n return Boolean(input.value);\n}\nfunction getComputedLabelPosition(label, labelPosition) {\n if (label) {\n if (['above', 'beside', 'screenreader'].includes(labelPosition)) {\n return labelPosition;\n }\n else if (label.offsetWidth > 1 && label.offsetWidth < 40) {\n return 'beside';\n }\n else {\n return 'above';\n }\n }\n}\nfunction validateFormIds(root, input) {\n if (hasLabelSlot(root)) {\n const label = root.querySelector('label[slot=\"label\"]');\n const inputHasId = Boolean(input.hasAttribute('id'));\n const labelHasFor = Boolean(label.hasAttribute('for'));\n if (!inputHasId && labelHasFor) {\n logError(root.tagName.toLowerCase(), 'A \"for\" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the \"for\" attribute from the label. If there is no input id and no \"for\" attribute provided, the component will automatically generate an id and link it to the \"for\" attribute.');\n }\n else if (!inputHasId) {\n const defaultInputId = randomHTMLId('gux-form-field-input');\n input.setAttribute('id', defaultInputId);\n label.setAttribute('for', defaultInputId);\n }\n else if (inputHasId && !labelHasFor) {\n const forId = input.getAttribute('id');\n label.setAttribute('for', forId);\n }\n else if (inputHasId &&\n labelHasFor &&\n input.getAttribute('id') !== label.getAttribute('for')) {\n logError(root.tagName.toLowerCase(), 'The input id and label for attribute should match.');\n }\n }\n else {\n logError(root.tagName.toLowerCase(), 'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to \"screenreader\" to visually hide the label.');\n }\n if (hasErrorSlot(root)) {\n const error = root.querySelector('[slot=\"error\"]');\n const errorId = randomHTMLId('gux-form-field-error');\n error.setAttribute('id', errorId);\n input.setAttribute('aria-describedby', errorId);\n }\n else if (input.getAttribute('aria-describedby') &&\n input.getAttribute('aria-describedby').startsWith('gux-form-field-error')) {\n input.removeAttribute('aria-describedby');\n }\n}\nfunction hasLabelSlot(root) {\n return Boolean(root.querySelector('label[slot=\"label\"]'));\n}\n\nexport { GuxFormFieldError as G, hasContent as a, clearInput as c, getComputedLabelPosition as g, hasErrorSlot as h, validateFormIds as v };\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","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 { g as getElement } from './index-5f3763b4.js';\n\nfunction OnMutation(opt) {\n return (proto, methodName) => {\n const { connectedCallback, disconnectedCallback } = proto;\n let onMutationObserver;\n proto.connectedCallback = function () {\n const host = getElement(this);\n const method = this[methodName];\n onMutationObserver = new MutationObserver(method.bind(this));\n onMutationObserver.observe(host, opt);\n return connectedCallback && connectedCallback.call(this);\n };\n proto.disconnectedCallback = function () {\n onMutationObserver.disconnect();\n return disconnectedCallback && disconnectedCallback.call(this);\n };\n };\n}\n\nexport { OnMutation as O };\n","function preventBrowserValidationStyling(input) {\n input.addEventListener('invalid', event => {\n event.preventDefault();\n });\n}\n\nexport { preventBrowserValidationStyling as p };\n","function randomHTMLId(prefix = 'gux') {\n return `${prefix}-${Math.random().toString(36).substr(2, 10)}`;\n}\n\nexport { randomHTMLId as r };\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","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":["GuxFormFieldContainer","children","labelPosition","h","class","GuxFormFieldLabel","position","required","__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","GuxFormFieldTextarea","hostRef","registerInstance","this","computedLabelPosition","hasError","hasErrorSlot","root","setInput","setLabel","trackComponent","variant","updateHeight","textareaContainerElement","input","resize","disabledObserver","disconnect","requiredObserver","name","onSlotchange","ref","el","disabled","GuxFormFieldError","labelPositionVariant","toLowerCase","querySelector","preventBrowserValidationStyling","addEventListener","onDisabledChange","onRequiredChange","validateFormIds","label","getComputedLabelPosition","container","dataset","replicatedValue","value","style","maxHeight","getElement","OnMutation","childList","subtree","prototype","decorative","clearInput","setInputValue","Boolean","hasContent","includes","offsetWidth","hasLabelSlot","inputHasId","hasAttribute","labelHasFor","logError","tagName","forId","getAttribute","setAttribute","defaultInputId","randomHTMLId","error","errorId","startsWith","removeAttribute","component","message","setTimeout","Error","logWarn","console","warn","onHiddenChange","element","callback","observer","MutationObserver","mutations","forEach","hidden","observe","attributes","attributeFilter","mutation","attributeName","opt","proto","methodName","onMutationObserver","connectedCallback","disconnectedCallback","host","method","bind","call","event","preventDefault","prefix","Math","random","toString","substr","focusAfter","simulateNativeEvent","focus","targetElement","nativeEventName","dispatchEvent","InputEvent","bubbles","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","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","assign"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[6326],{1812:function(t,e,n){n.d(e,{t:function(){return r}});var r={emptyMessage:"No data available",scrollLeft:"Scroll Left",scrollRight:"Scroll Right",selectAllTableRows:"Select All Table Rows",selectTableRow:"Select Table Row",sortAsc:"Sorted Ascending",sortDesc:"Sorted Descending"}},6326:function(t,e,n){n.r(e),n.d(e,{gux_all_row_select:function(){return h}});var r=n(4165),l=n(5861),i=n(5671),s=n(3144),c=n(4723),o=n(8782),a=n(1782),u=n(1812),h=function(){function t(e){(0,i.Z)(this,t),(0,c.r)(this,e),this.internalallrowselectchange=(0,c.c)(this,"internalallrowselectchange",7),this.id=(0,a.r)("gux-all-row-select"),this.selected=!1}return(0,s.Z)(t,[{key:"onCheck",value:function(t){t.stopPropagation();var e=t.target;this.selected=e.checked,this.internalallrowselectchange.emit()}},{key:"setIndeterminate",value:function(){var t=(0,l.Z)((0,r.Z)().mark((function t(){var e,n=arguments;return(0,r.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=!(n.length>0&&void 0!==n[0])||n[0],this.inputElement.indeterminate=e;case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"componentWillLoad",value:function(){var t=(0,l.Z)((0,r.Z)().mark((function t(){return(0,r.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.b)(this.root,u.t,"gux-table");case 2:this.i18n=t.sent;case 3:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"render",value:function(){var t=this;return(0,c.h)("gux-form-field",null,(0,c.h)("input",{ref:function(e){return t.inputElement=e},slot:"input",id:this.id,type:"checkbox",checked:this.selected}),(0,c.h)("label",{slot:"label",htmlFor:this.id},"\u200b",(0,c.h)("span",{class:"gux-label-text"},this.i18n("selectAllTableRows"))))}},{key:"root",get:function(){return(0,c.g)(this)}}]),t}();h.style="gux-all-row-select .gux-label-text{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}"},1782:function(t,e,n){function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"gux";return"".concat(t,"-").concat(Math.random().toString(36).substr(2,10))}n.d(e,{r:function(){return r}})}}]);
2
- //# sourceMappingURL=6326.156b4248.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/6326.156b4248.chunk.js","mappings":"4IAAA,IAOMA,EAAiB,CACtBC,aARoB,oBASpBC,WARkB,cASlBC,YARmB,eASnBC,mBAR0B,wBAS1BC,eARsB,mBAStBC,QARe,mBASfC,SARgB,sB,iKCCbC,EAAe,WACjB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,4BAA6BC,EAAAA,EAAAA,GAAYF,KAAM,6BAA8B,GAClFA,KAAKG,IAAKC,EAAAA,EAAAA,GAAa,sBACvBJ,KAAKK,UAAW,EALD,sCAOjB,SAAQC,GACNA,EAAMC,kBACN,IAAMC,EAAQF,EAAMG,OACpBT,KAAKK,SAAWG,EAAME,QACtBV,KAAKC,2BAA2BU,SAXjB,uEAajB,qGAAuBC,IAAvB,iCACEZ,KAAKa,aAAaD,cAAgBA,EADpC,gDAbiB,8HAgBjB,oGACoBE,EAAAA,EAAAA,GAAsBd,KAAKe,KAAM1B,EAAAA,EAAgB,aADrE,OACEW,KAAKgB,KADP,uDAhBiB,0EAmBjB,WAAS,WACP,OAAQC,EAAAA,EAAAA,GAAE,iBAAkB,MAAMA,EAAAA,EAAAA,GAAE,QAAS,CAAEC,IAAK,SAAAC,GAAE,OAAK,EAAKN,aAAeM,GAAKC,KAAM,QAASjB,GAAIH,KAAKG,GAAIkB,KAAM,WAAYX,QAASV,KAAKK,YAAaY,EAAAA,EAAAA,GAAE,QAAS,CAAEG,KAAM,QAASE,QAAStB,KAAKG,IAAM,UAAUc,EAAAA,EAAAA,GAAE,OAAQ,CAAEM,MAAO,kBAAoBvB,KAAKgB,KAAK,2BApBzP,gBAsBjB,WAAa,OAAOQ,EAAAA,EAAAA,GAAWxB,UAtBd,KAwBnBH,EAAgB4B,MA1BW,qH,qBCL3B,SAASrB,IAA6B,IAAhBsB,EAAgB,uDAAP,MAC7B,MAAO,GAAP,OAAUA,EAAV,YAAoBC,KAAKC,SAASC,SAAS,IAAIC,OAAO,EAAG,K","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/en-07edddda.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-all-row-select.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/random-html-id-8e3f658c.js"],"sourcesContent":["const emptyMessage = \"No data available\";\nconst scrollLeft = \"Scroll Left\";\nconst scrollRight = \"Scroll Right\";\nconst selectAllTableRows = \"Select All Table Rows\";\nconst selectTableRow = \"Select Table Row\";\nconst sortAsc = \"Sorted Ascending\";\nconst sortDesc = \"Sorted Descending\";\nconst tableResources = {\n\temptyMessage: emptyMessage,\n\tscrollLeft: scrollLeft,\n\tscrollRight: scrollRight,\n\tselectAllTableRows: selectAllTableRows,\n\tselectTableRow: selectTableRow,\n\tsortAsc: sortAsc,\n\tsortDesc: sortDesc\n};\n\nexport { tableResources as t };\n","import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\nimport { r as randomHTMLId } from './random-html-id-8e3f658c.js';\nimport { t as tableResources } from './en-07edddda.js';\n\nconst guxAllRowSelectCss = \"gux-all-row-select .gux-label-text{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}\";\n\nlet GuxAllRowSelect = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.internalallrowselectchange = createEvent(this, \"internalallrowselectchange\", 7);\n this.id = randomHTMLId('gux-all-row-select');\n this.selected = false;\n }\n onCheck(event) {\n event.stopPropagation();\n const input = event.target;\n this.selected = input.checked;\n this.internalallrowselectchange.emit();\n }\n async setIndeterminate(indeterminate = true) {\n this.inputElement.indeterminate = indeterminate;\n }\n async componentWillLoad() {\n this.i18n = await buildI18nForComponent(this.root, tableResources, 'gux-table');\n }\n render() {\n return (h(\"gux-form-field\", null, h(\"input\", { ref: el => (this.inputElement = el), slot: \"input\", id: this.id, type: \"checkbox\", checked: this.selected }), h(\"label\", { slot: \"label\", htmlFor: this.id }, \"\\u200B\", h(\"span\", { class: \"gux-label-text\" }, this.i18n('selectAllTableRows')))));\n }\n get root() { return getElement(this); }\n};\nGuxAllRowSelect.style = guxAllRowSelectCss;\n\nexport { GuxAllRowSelect as gux_all_row_select };\n","function randomHTMLId(prefix = 'gux') {\n return `${prefix}-${Math.random().toString(36).substr(2, 10)}`;\n}\n\nexport { randomHTMLId as r };\n"],"names":["tableResources","emptyMessage","scrollLeft","scrollRight","selectAllTableRows","selectTableRow","sortAsc","sortDesc","GuxAllRowSelect","hostRef","registerInstance","this","internalallrowselectchange","createEvent","id","randomHTMLId","selected","event","stopPropagation","input","target","checked","emit","indeterminate","inputElement","buildI18nForComponent","root","i18n","h","ref","el","slot","type","htmlFor","class","getElement","style","prefix","Math","random","toString","substr"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[6474],{6474:function(e,t,n){n.r(t),n.d(t,{gux_pagination:function(){return c}});var i=n(5671),s=n(3144),a=n(4723),r=n(8125),c=function(){function e(t){(0,i.Z)(this,e),(0,a.r)(this,t),this.guxpaginationchange=(0,a.c)(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full"}return(0,s.Z)(e,[{key:"setPage",value:function(e){if(e<0)this.totalPages>0?this.setPage(1):this.setPage(0);else{var t=this.calculatTotalPages();e>t?this.setPage(t):(this.currentPage=e,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}}},{key:"calculatTotalPages",value:function(){return Math.ceil(this.totalItems/this.itemsPerPage)}},{key:"calculateCurrentPage",value:function(){var e=this.totalPages>0?1:0;return Math.max(e,Math.min(this.currentPage,this.totalPages))}},{key:"handleInternalitemsperpagechange",value:function(e){this.itemsPerPage=e.detail,this.setPage(1)}},{key:"handleInternalcurrentpagechange",value:function(e){this.setPage(e.detail)}},{key:"getPaginationInfoElement",value:function(e){if("expanded"===e)return null;var t=[(0,a.h)("gux-pagination-item-counts",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===e&&t.push((0,a.h)("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),(0,a.h)("div",{class:"gux-pagination-info"},t)}},{key:"componentWillLoad",value:function(){(0,r.t)(this.root,{variant:this.layout})}},{key:"componentWillRender",value:function(){this.totalPages=this.calculatTotalPages(),this.currentPage=this.calculateCurrentPage()}},{key:"render",value:function(){return(0,a.h)("div",{class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),(0,a.h)("div",{class:"gux-pagination-change"},(0,a.h)("gux-pagination-buttons",{layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}},{key:"root",get:function(){return(0,a.g)(this)}}]),e}();c.style="gux-pagination{display:block;border-top:1px solid #e4e9f0}gux-pagination .gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:32px;margin-top:12px}gux-pagination .gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}gux-pagination .gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}gux-pagination .gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0;margin-left:16px}gux-pagination .gux-pagination-container .gux-pagination-change:first-child{margin-left:0}"},8125:function(e,t,n){n.d(t,{t:function(){return c}});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"}},a="spark-library",r=!1;function c(e,t){var n=window.newrelic;n&&(r||(!function(){var e=window.newrelic;if(!e)return;var t=s.version.split("."),n=(0,i.Z)(t,3),r=n[0],c=n[1],o=n[2];e.addPageAction(a,{fullVersion:"".concat(r,".").concat(c,".").concat(o),majorVersion:r,minorVersion:"".concat(r,".").concat(c)})}(),r=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:s.version})))}}}]);
2
- //# sourceMappingURL=6474.03947fd7.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/6474.03947fd7.chunk.js","mappings":"4MAKIA,EAAa,WACf,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,qBAAsBC,EAAAA,EAAAA,GAAYF,KAAM,sBAAuB,GAIpEA,KAAKG,YAAc,EAInBH,KAAKI,WAAa,EAIlBJ,KAAKK,aAAe,GAIpBL,KAAKM,OAAS,OAnBD,sCAqBf,SAAQC,GACN,GAAIA,EAAO,EACLP,KAAKQ,WAAa,EACpBR,KAAKS,QAAQ,GAGbT,KAAKS,QAAQ,OALjB,CASA,IAAMD,EAAaR,KAAKU,qBACpBH,EAAOC,EACTR,KAAKS,QAAQD,IAGfR,KAAKG,YAAcI,EACnBP,KAAKC,oBAAoBU,KAAK,CAC5BR,YAAaH,KA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OAAOC,OAAOD,OAAOC,OAAO,GAAIb,GAAW,CAAEc,UAAWf,EAAQgB,QAAQC,cAAerE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-pagination.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 guxPaginationCss = \"gux-pagination{display:block;border-top:1px solid #e4e9f0}gux-pagination .gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:32px;margin-top:12px}gux-pagination .gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}gux-pagination .gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}gux-pagination .gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0;margin-left:16px}gux-pagination .gux-pagination-container .gux-pagination-change:first-child{margin-left:0}\";\n\nlet GuxPagination = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.guxpaginationchange = createEvent(this, \"guxpaginationchange\", 7);\n /**\n * The currently select page. Changes are watched by the component.\n */\n this.currentPage = 1;\n /**\n * The total number of items in the data set. Used to calculate total page count\n */\n this.totalItems = 0;\n /**\n * The max number of items on a page. Used to calculate total page count\n */\n this.itemsPerPage = 25;\n /**\n * The pagination component can have different layouts to suit the available space\n */\n this.layout = 'full';\n }\n setPage(page) {\n if (page < 0) {\n if (this.totalPages > 0) {\n this.setPage(1);\n }\n else {\n this.setPage(0);\n }\n return;\n }\n const totalPages = this.calculatTotalPages();\n if (page > totalPages) {\n this.setPage(totalPages);\n return;\n }\n this.currentPage = page;\n this.guxpaginationchange.emit({\n currentPage: this.currentPage,\n itemsPerPage: this.itemsPerPage\n });\n }\n calculatTotalPages() {\n return Math.ceil(this.totalItems / this.itemsPerPage);\n }\n calculateCurrentPage() {\n const minCurrentPage = this.totalPages > 0 ? 1 : 0;\n return Math.max(minCurrentPage, Math.min(this.currentPage, this.totalPages));\n }\n handleInternalitemsperpagechange(event) {\n this.itemsPerPage = event.detail;\n this.setPage(1);\n }\n handleInternalcurrentpagechange(event) {\n this.setPage(event.detail);\n }\n getPaginationInfoElement(layout) {\n if (layout === 'expanded') {\n return null;\n }\n const content = [\n h(\"gux-pagination-item-counts\", { \"total-items\": this.totalItems, \"current-page\": this.currentPage, \"items-per-page\": this.itemsPerPage })\n ];\n if (layout === 'full') {\n content.push(h(\"gux-pagination-items-per-page\", { \"items-per-page\": this.itemsPerPage, onInternalitemsperpagechange: this.handleInternalitemsperpagechange.bind(this) }));\n }\n return h(\"div\", { class: \"gux-pagination-info\" }, content);\n }\n componentWillLoad() {\n trackComponent(this.root, { variant: this.layout });\n }\n componentWillRender() {\n this.totalPages = this.calculatTotalPages();\n this.currentPage = this.calculateCurrentPage();\n }\n render() {\n return (h(\"div\", { class: \"gux-pagination-container\" }, this.getPaginationInfoElement(this.layout), h(\"div\", { class: \"gux-pagination-change\" }, h(\"gux-pagination-buttons\", { layout: this.layout, \"current-page\": this.currentPage, \"total-pages\": this.totalPages, onInternalcurrentpagechange: this.handleInternalcurrentpagechange.bind(this) }))));\n }\n get root() { return getElement(this); }\n};\nGuxPagination.style = guxPaginationCss;\n\nexport { GuxPagination as gux_pagination };\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":["GuxPagination","hostRef","registerInstance","this","guxpaginationchange","createEvent","currentPage","totalItems","itemsPerPage","layout","page","totalPages","setPage","calculatTotalPages","emit","Math","ceil","minCurrentPage","max","min","event","detail","content","h","push","onInternalitemsperpagechange","handleInternalitemsperpagechange","bind","class","trackComponent","root","variant","calculateCurrentPage","getPaginationInfoElement","onInternalcurrentpagechange","handleInternalcurrentpagechange","getElement","style","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","element","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[6571],{6571:function(t,e,n){n.r(e),n.d(e,{gux_list_item:function(){return o},gux_text_highlight:function(){return a}});var i=n(5671),s=n(3144),r=n(4723),c=n(1901),l=n(8125),o=function(){function t(e){(0,i.Z)(this,t),(0,r.r)(this,e),this.press=(0,r.c)(this,"press",7)}return(0,s.Z)(t,[{key:"handleClick",value:function(){this.onItemClicked()}},{key:"handleKeyDown",value:function(t){13!==t.keyCode&&32!==t.keyCode||this.onItemClicked()}},{key:"render",value:function(){return(0,r.h)(r.H,{role:"listitem"},(0,r.h)("span",{class:"gux-list-item"},this.text&&(0,r.h)("gux-text-highlight",{class:"gux-text",text:this.text,strategy:this.strategy}),(0,r.h)("slot",null)))}},{key:"onItemClicked",value:function(){this.emitPress()}},{key:"emitPress",value:function(){this.press.emit(this.value)}}]),t}();o.style="gux-list-item .gux-list-item{display:flex;height:max-content;padding:0 16px;line-height:32px;word-wrap:break-word;cursor:pointer}gux-list-item .gux-list-item .gux-text{width:100%}gux-list-item:focus .gux-list-item,gux-list-item:active .gux-list-item,gux-list-item:hover:not([disabled]) .gux-list-item{color:#fdfdfd;background:#2a60c8}gux-list-item[disabled] .gux-list-item{pointer-events:none;cursor:default;opacity:0.5}";var a=function(){function t(e){(0,i.Z)(this,t),(0,r.r)(this,e),this.strategy="start"}return(0,s.Z)(t,[{key:"componentWillLoad",value:function(){(0,l.t)(this.root)}},{key:"render",value:function(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return(0,r.h)("span",null,this.text)}},{key:"renderStartsWith",value:function(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){var t=this.text.substring(0,this.highlight.length),e=this.text.substring(this.highlight.length);return(0,r.h)("span",null,(0,r.h)("mark",null,t),e)}return(0,r.h)("span",null,this.text)}},{key:"renderContains",value:function(){for(var t={highlighted:"",remaining:this.text};t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){var e=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),n=t.remaining.substring(0,e),i=t.remaining.substring(e,e+this.highlight.length);t.highlighted+=n+"<mark>".concat(i,"</mark>"),t.remaining=t.remaining.substring(e+i.length)}return(0,r.h)("span",{innerHTML:t.highlighted+t.remaining})}},{key:"renderFuzzy",value:function(){if((0,c.m)(this.highlight,this.text)){var t=(0,c.g)(this.highlight).reduce((function(t,e){var n=t.remaining.match(e),i=n[0],s=n.index,r=n.input,c=r.substring(0,s);return{highlighted:t.highlighted+c+"<mark>".concat(i,"</mark>"),remaining:r.substring(s+i.length)}}),{highlighted:"",remaining:this.text});return(0,r.h)("span",{innerHTML:t.highlighted+t.remaining})}return(0,r.h)("span",null,this.text)}},{key:"root",get:function(){return(0,r.g)(this)}}]),t}()},1901:function(t,e,n){n.d(e,{g:function(){return l},m:function(){return c}});var i=/[ +]/g,s=new Map,r=new Map;function c(t,e){var n=s.get(t);return n||(n=function(t){var e=t.split(i).map(o);if(1===e.length)return new RegExp(e[0],"i");var n="(";return e.forEach((function(t,i){n+=t+").*",i!==e.length-1&&(n+="(")})),new RegExp(n+"$","i")}(t),s.set(t,n)),n.test(e)}function l(t){return t.split(i).map(o).map((function(t){var e=r.get(t);return e||(e=new RegExp(t,"i"),r.set(t,e)),e}))}function o(t){return t.replace(/[\^$*+?.(){}[\]\\]/g,"\\$&")}},8125:function(t,e,n){n.d(e,{t:function(){return l}});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"}},r="spark-library",c=!1;function l(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],l=n[1],o=n[2];t.addPageAction(r,{fullVersion:"".concat(c,".").concat(l,".").concat(o),majorVersion:c,minorVersion:"".concat(c,".").concat(l)})}(),c=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:s.version})))}}}]);
2
- //# sourceMappingURL=6571.301eecac.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/6571.301eecac.chunk.js","mappings":"6PAMIA,EAAW,WACb,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,OAAQC,EAAAA,EAAAA,GAAYF,KAAM,QAAS,GAH7B,0CAKb,WACEA,KAAKG,kBANM,2BAQb,SAAcC,GACU,KA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B,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,SAASrG,EAAesG,EAASC,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAH,KASP,WACE,IAAMG,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BvD,EAAYE,QAAQd,MAAM,KAAxD,eAAOqE,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,QAAQ/G,cAAe6C,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-list-item_2.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/search-2ca67cb1.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5f3763b4.js';\nimport { m as matchesFuzzy, g as getFuzzyReplacements } from './search-2ca67cb1.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst guxListItemCss = \"gux-list-item .gux-list-item{display:flex;height:max-content;padding:0 16px;line-height:32px;word-wrap:break-word;cursor:pointer}gux-list-item .gux-list-item .gux-text{width:100%}gux-list-item:focus .gux-list-item,gux-list-item:active .gux-list-item,gux-list-item:hover:not([disabled]) .gux-list-item{color:#fdfdfd;background:#2a60c8}gux-list-item[disabled] .gux-list-item{pointer-events:none;cursor:default;opacity:0.5}\";\n\nlet GuxListItem = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.press = createEvent(this, \"press\", 7);\n }\n handleClick() {\n this.onItemClicked();\n }\n handleKeyDown(event) {\n if (event.keyCode === 13 /* Enter */ || event.keyCode === 32 /* Space */) {\n this.onItemClicked();\n }\n }\n render() {\n return (h(Host, { role: \"listitem\" }, h(\"span\", { class: \"gux-list-item\" }, this.text && (h(\"gux-text-highlight\", { class: \"gux-text\", text: this.text, strategy: this.strategy })), h(\"slot\", null))));\n }\n onItemClicked() {\n this.emitPress();\n }\n emitPress() {\n this.press.emit(this.value);\n }\n};\nGuxListItem.style = guxListItemCss;\n\nlet GuxTextHighlight = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n /**\n * The way the text should be highlighted.\n */\n this.strategy = 'start';\n }\n componentWillLoad() {\n trackComponent(this.root);\n }\n render() {\n if (this.highlight && this.text) {\n switch (this.strategy) {\n case 'start':\n return this.renderStartsWith();\n case 'contains':\n return this.renderContains();\n case 'fuzzy':\n return this.renderFuzzy();\n }\n }\n return h(\"span\", null, this.text);\n }\n renderStartsWith() {\n if (this.text.toLowerCase().startsWith(this.highlight.toLowerCase())) {\n const highlight = this.text.substring(0, this.highlight.length);\n const after = this.text.substring(this.highlight.length);\n return (h(\"span\", null, h(\"mark\", null, highlight), after));\n }\n return h(\"span\", null, this.text);\n }\n renderContains() {\n const html = {\n highlighted: '',\n remaining: this.text\n };\n while (html.remaining.toLowerCase().includes(this.highlight.toLowerCase())) {\n const index = html.remaining\n .toLowerCase()\n .indexOf(this.highlight.toLowerCase());\n const before = html.remaining.substring(0, index);\n const highlight = html.remaining.substring(index, index + this.highlight.length);\n html.highlighted += before + `<mark>${highlight}</mark>`;\n html.remaining = html.remaining.substring(index + highlight.length);\n }\n return h(\"span\", { innerHTML: html.highlighted + html.remaining });\n }\n renderFuzzy() {\n if (matchesFuzzy(this.highlight, this.text)) {\n const html = getFuzzyReplacements(this.highlight).reduce((acc, needle) => {\n const { 0: highlight, index, input } = acc.remaining.match(needle);\n const before = input.substring(0, index);\n const highlighted = acc.highlighted + before + `<mark>${highlight}</mark>`;\n const remaining = input.substring(index + highlight.length);\n return { highlighted, remaining };\n }, {\n highlighted: '',\n remaining: this.text\n });\n return h(\"span\", { innerHTML: html.highlighted + html.remaining });\n }\n return h(\"span\", null, this.text);\n }\n get root() { return getElement(this); }\n};\n\nexport { GuxListItem as gux_list_item, GuxTextHighlight as gux_text_highlight };\n","const conversion = /[ +]/g;\nconst expressions = new Map();\nconst replacements = new Map();\nfunction matchesFuzzy(sourceWord, targetWord) {\n let exp = expressions.get(sourceWord);\n if (!exp) {\n exp = convertToRegex(sourceWord);\n expressions.set(sourceWord, exp);\n }\n return exp.test(targetWord);\n}\nfunction getFuzzyReplacements(sourceWord) {\n return sourceWord\n .split(conversion)\n .map(makeRegexSafe)\n .map(word => {\n let exp = replacements.get(word);\n if (!exp) {\n exp = new RegExp(word, 'i');\n replacements.set(word, exp);\n }\n return exp;\n });\n}\nfunction makeRegexSafe(str) {\n return str.replace(/[\\^$*+?.(){}[\\]\\\\]/g, '\\\\$&');\n}\nfunction convertToRegex(word) {\n const parts = word.split(conversion).map(makeRegexSafe);\n if (parts.length === 1) {\n return new RegExp(parts[0], 'i');\n }\n let newexp = `(`;\n parts.forEach((part, index) => {\n newexp += part + ').*';\n if (index !== parts.length - 1) {\n newexp += `(`;\n }\n });\n return new RegExp(newexp + '$', 'i');\n}\n\nexport { getFuzzyReplacements as g, matchesFuzzy as m };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["GuxListItem","hostRef","registerInstance","this","press","createEvent","onItemClicked","event","keyCode","h","Host","role","class","text","strategy","emitPress","emit","value","style","GuxTextHighlight","trackComponent","root","highlight","renderStartsWith","renderContains","renderFuzzy","toLowerCase","startsWith","substring","length","after","html","highlighted","remaining","includes","index","indexOf","before","innerHTML","matchesFuzzy","getFuzzyReplacements","reduce","acc","needle","match","input","getElement","conversion","expressions","Map","replacements","sourceWord","targetWord","exp","get","word","parts","split","map","makeRegexSafe","RegExp","newexp","forEach","part","convertToRegex","set","test","str","replace","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","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","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","element","metadata","newrelic","window","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[6632],{6632:function(e,t,n){n.r(t),n.d(t,{gux_dropdown:function(){return x}});var o=n(7762),i=n(4165),r=n(5861),s=n(5671),d=n(3144),u=n(4723),l=n(8068),c=n(9431),a=n(8125),p=n(4351),g=function(e,t,n,o){var i,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var d=e.length-1;d>=0;d--)(i=e[d])&&(s=(r<3?i(s):r>3?i(t,n,s):i(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},x=function(){function e(t){(0,s.Z)(this,e),(0,u.r)(this,t),this.change=(0,u.c)(this,"change",7),this.mode="default",this.disabled=!1,this.value="",this.inputIsFocused=!1,this.valueEdited=!1}return(0,d.Z)(e,[{key:"emitChange",value:function(e){this.change.emit(e)}},{key:"onClickOutside",value:function(e){var t=this;e.relatedTarget&&this.root.contains(e.relatedTarget)||(this.opened=!1,this.forcedGhostValue="",this.getSelectionOptions().some((function(e){return e.text===t.value}))||(this.value=""))}},{key:"setLabeledBy",value:function(){var e=(0,r.Z)((0,i.Z)().mark((function e(t){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.srLabeledBy=t;case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"setSelected",value:function(){var e=(0,r.Z)((0,i.Z)().mark((function e(){var t,n,o,r,s=this;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.getSelectionOptions(),!((n=t.map((function(e){return e.selected})).lastIndexOf(!0))>=0)){e.next=6;break}return o=t[n],this.value=o.text,e.abrupt("return");case 6:if(!(r=t.find((function(e){return s.value===e.value})))){e.next=10;break}return this.value=r.text,e.abrupt("return");case 10:this.value="";case 11:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"onMutation",value:function(){(0,u.f)(this.root),this.setSelected()}},{key:"onKeyDown",value:function(e){var t=this.getSelectionOptions(),n=this.getFocusIndex(t);switch(e.key){case"ArrowUp":e.preventDefault(),n>0&&t[n-1].focus();break;case"ArrowDown":e.preventDefault(),this.inputIsFocused&&(this.opened=!0),n<t.length-1&&t[n+1].focus();break;case"Home":if(!t.length)return;t[0].focus();break;case"End":if(!t.length)return;t[t.length-1].focus();break;case"Escape":case"Tab":this.textFieldElement.focus(),this.opened=!1;break;case"Enter":case"Space":break;default:if(this.valueEdited=!0,!this.filterable){var o=t.filter((function(t){return t.text.startsWith(e.key)}));o[0]&&o[0].focus()}}}},{key:"setValue",value:function(e,t){this.value=e,this.opened=!1,this.valueEdited=!1,this.emitChange(t)}},{key:"_clickHandler",value:function(){this.disabled||(this.opened=!this.opened)}},{key:"_focusHandler",value:function(){this.inputIsFocused=!0}},{key:"_optionFocusedHandler",value:function(e){var t=this;(0,c.w)("gux-option",e,(function(e){var n=e;t.forcedGhostValue=t.value+n.text.substring(t.value.length)}))}},{key:"optionSelectedHandler",value:function(e){var t=this;(0,c.w)("gux-option",e,(function(e){var n=e;t.getSelectionOptions().forEach((function(e){e===n?(e.selected=!0,t.setValue(e.text,e.value||e.text)):e.selected=!1}))}))}},{key:"optionKeyDownHandler",value:function(e){" "!==e.key&&"Enter"!==e.key||this.optionSelectedHandler(e)}},{key:"_blurHandler",value:function(){this.inputIsFocused=!1,this.forcedGhostValue=""}},{key:"_inputHandler",value:function(e){this.value=e.target.value,this.opened=!0}},{key:"getFilteredItems",value:function(){var e=this,t=this.getSelectionOptions();return this.filterable?t.filter((function(t){return t.text.toLowerCase().startsWith(e.value.toLowerCase())})):t}},{key:"getSuggestionText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.searchHighlightAndFilter(this.value);var t=e.length,n=this.getFilteredItems().length?this.getFilteredItems()[0].text:"";if(t>0){var o=n;if(o)return this.opened&&this.filterable?o.substring(t):""}return""}},{key:"componentWillLoad",value:function(){(0,a.t)(this.root,{variant:this.filterable?"filterable":"full"})}},{key:"componentDidLoad",value:function(){this.setSelected(),this.filterable||(this.textFieldElement.readOnly=!0)}},{key:"getSelectionOptions",value:function(){var e=[],t=this.root.getElementsByClassName("gux-options")[0];if(!t)return[];var n,i=t.children,r=(0,o.Z)(i);try{for(r.s();!(n=r.n()).done;){var s=n.value;s.matches("gux-option")&&e.push(s)}}catch(d){r.e(d)}finally{r.f()}return e}},{key:"render",value:function(){var e=this;return(0,u.h)("div",{class:"gux-dropdown gux-".concat(this.mode," ").concat(this.disabled?"gux-disabled":""," ").concat(this.opened?"gux-active":""),onKeyDown:function(t){return e.onKeyDown(t)}},(0,u.h)("div",{class:"gux-select-field"},(0,u.h)("span",{class:"gux-filter-suggestion ".concat(this.opened?"gux-active":""),"aria-hidden":"true"},(0,u.h)("span",{class:"gux-filter-text"},this.value),(0,u.h)("span",{class:"gux-filter-typeahead"},this.getSuggestionText(this.value))),(0,u.h)("gux-input-text-like",null,(0,u.h)("input",{placeholder:this.placeholder,slot:"input",value:this.value,"aria-labelledby":this.srLabeledBy,disabled:this.disabled,ref:function(t){return e.textFieldElement=t},onMouseDown:function(){e._clickHandler()},onFocus:function(){e._focusHandler()},onBlur:function(){e._blurHandler()},onInput:function(t){e._inputHandler(t)}})),(0,u.h)("button",{class:"gux-dropdown-indicator","aria-hidden":"true",tabindex:"-1",type:"button"},(0,u.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"}))),(0,u.h)("div",{class:"gux-options ".concat(this.opened?"gux-opened":""),onClick:this.optionSelectedHandler.bind(this),onFocusin:this._optionFocusedHandler.bind(this),onKeyDown:this.optionKeyDownHandler.bind(this)},(0,u.h)("slot",null)))}},{key:"getFocusIndex",value:function(e){return e.findIndex((function(e){return e.matches(":focus")}))}},{key:"searchHighlightAndFilter",value:function(e){var t=this,n=this.getSelectionOptions();if(n){var i,r=(0,o.Z)(n);try{var s=function(){var n=i.value;n.shouldFilter(e).then((function(e){t.filterable&&e&&t.valueEdited?n.classList.add("gux-filtered"):n.classList.remove("gux-filtered")}))};for(r.s();!(i=r.n()).done;)s()}catch(d){r.e(d)}finally{r.f()}}}},{key:"root",get:function(){return(0,u.g)(this)}}]),e}();g([(0,l.O)({triggerEvents:"mousedown"})],x.prototype,"onClickOutside",null),g([(0,p.O)({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style="gux-dropdown .gux-hidden{display:none}gux-dropdown div.gux-dropdown{position:relative;margin:4px 0}gux-dropdown div.gux-dropdown.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown div.gux-dropdown .gux-select-field{position:relative;width:100%;height:32px}gux-dropdown div.gux-dropdown .gux-select-field .gux-filter-suggestion{position:absolute;box-sizing:border-box;width:100%;height:32px;padding:5px 25px 4px 14px;overflow:hidden;font-size:12px;line-height:1.66666667;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}gux-dropdown div.gux-dropdown .gux-select-field .gux-filter-suggestion .gux-filter-text{color:#33383d}gux-dropdown div.gux-dropdown .gux-select-field .gux-filter-suggestion .gux-filter-typeahead{color:#666f7b}gux-dropdown div.gux-dropdown .gux-select-field gux-input-text-like>div{margin:0}gux-dropdown div.gux-dropdown .gux-select-field gux-input-text-like input{width:100%;padding-right:25px;font-size:12px;text-overflow:ellipsis;cursor:pointer;background-color:transparent}gux-dropdown div.gux-dropdown .gux-select-field gux-input-text-like.gux-unclearable button{display:none}gux-dropdown div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}gux-dropdown div.gux-dropdown .gux-options{position:absolute;z-index:1;display:none;width:100%;padding:8px 0;margin-top:2px;overflow-y:auto;color:#33383d;background:#fdfdfd;border:1px solid #aeb9c6;box-shadow:0 2px 4px rgba(34, 37, 41, 0.24);border-radius:4px}gux-dropdown div.gux-dropdown .gux-options.gux-opened{display:block}gux-dropdown div.gux-dropdown .gux-options>gux-option{position:relative;display:flex;height:32px;padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown div.gux-dropdown .gux-options>gux-option>div{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown div.gux-dropdown .gux-options>gux-option>div .gux-filter-suggestion{position:absolute}gux-dropdown div.gux-dropdown .gux-options>gux-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown div.gux-dropdown .gux-options>gux-option.gux-filtered{display:none}gux-dropdown div.gux-dropdown .gux-options>gux-option:not([disabled])[selected]{color:#33383d;background:#deeaff}gux-dropdown div.gux-dropdown .gux-options>gux-option:not([disabled]):hover,gux-dropdown div.gux-dropdown .gux-options>gux-option:not([disabled]):focus{color:#fdfdfd;background:#2a60c8}gux-dropdown div.gux-dropdown.gux-page .gux-select-field{height:48px}gux-dropdown div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{height:48px;padding:2px 25px 4px 11px;overflow:hidden;line-height:1.66666667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-input-text-like div.gux-input-container{height:48px}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px;height:48px;line-height:1.66666667;color:transparent;border:none;border-bottom:2px solid transparent;caret-color:#33383d}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);box-shadow:none}gux-dropdown div.gux-dropdown.gux-page.gux-active .gux-select-field gux-input-text-like input:focus{border-bottom:1px solid #2a60c8}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field{height:52px}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{height:52px;padding:9px 25px 4px 11px;overflow:hidden;line-height:1.66666667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like div.gux-input-container{height:52px}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px;height:52px;line-height:1.66666667;border:none;border-bottom:2px solid transparent}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);box-shadow:none}gux-dropdown div.gux-dropdown.gux-palette.gux-active .gux-select-field gux-input-text-like input:focus{border-bottom:1px solid #2a60c8}gux-dropdown:hover gux-icon,gux-dropdown:focus gux-icon{color:#33383d}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field .gux-filter-suggestion{color:#666f7b}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field gux-input-text-like input{color:transparent;caret-color:#33383d;border-color:#77828f}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#666f7b}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{color:#9baab8;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{border-bottom:1px solid #77828f}.gux-dropdown-light-theme div.gux-dropdown.gux-page.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{color:#9baab8;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{border-bottom:1px solid #77828f}.gux-dropdown-light-theme div.gux-dropdown.gux-palette.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}gux-dropdown div.gux-dropdown .gux-select-field .gux-filter-suggestion{color:#666f7b}gux-dropdown div.gux-dropdown .gux-select-field gux-input-text-like input{color:transparent;caret-color:#33383d;border-color:#77828f}gux-dropdown div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#666f7b}gux-dropdown div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{color:#9baab8;background-color:#fdfdfd}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{border-bottom:1px solid #77828f}gux-dropdown div.gux-dropdown.gux-page.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{color:#9baab8;background-color:#fdfdfd}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{border-bottom:1px solid #77828f}gux-dropdown div.gux-dropdown.gux-palette.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}"},8068:function(e,t,n){n.d(t,{O:function(){return r}});var o=n(4723),i={triggerEvents:"click",exclude:""};function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return function(t,n){var i=t.connectedCallback,r=t.disconnectedCallback;t.connectedCallback=function(){return s(this,(0,o.g)(this),this[n],e),i&&i.call(this)},t.disconnectedCallback=function(){return d(this,(0,o.g)(this),this[n],e),r&&r.call(this)}}}function s(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i,r=c(o);l(o).forEach((function(o){window.addEventListener(o,(function(o){u(o,e,t,n,r)}),!1)}))}function d(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i;l(o).forEach((function(o){window.removeEventListener(o,(function(o){u(o,e,t,n)}),!1)}))}function u(e,t,n,o,i){var r=e.composedPath();r.includes(n)||function(e,t){if(e&&t)return t.some((function(t){return e.includes(t)}));return!1}(r,i)||o.call(t,e)}function l(e){return e.triggerEvents?e.triggerEvents.split(",").map((function(e){return e.trim()})):["click"]}function c(e){if(e.exclude)try{return Array.from(document.querySelectorAll(e.exclude))}catch(t){console.warn("@OnClickOutside: Exclude: '".concat(e.exclude,"' will not be evaluated. Check your exclude selector syntax."),t)}}},4351:function(e,t,n){n.d(t,{O:function(){return i}});var o=n(4723);function i(e){return function(t,n){var i,r=t.connectedCallback,s=t.disconnectedCallback;t.connectedCallback=function(){var t=(0,o.g)(this),s=this[n];return(i=new MutationObserver(s.bind(this))).observe(t,e),r&&r.call(this)},t.disconnectedCallback=function(){return i.disconnect(),s&&s.call(this)}}}},8125:function(e,t,n){n.d(t,{t:function(){return d}});var o=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",s=!1;function d(e,t){var n=window.newrelic;n&&(s||(!function(){var e=window.newrelic;if(!e)return;var t=i.version.split("."),n=(0,o.Z)(t,3),s=n[0],d=n[1],u=n[2];e.addPageAction(r,{fullVersion:"".concat(s,".").concat(d,".").concat(u),majorVersion:s,minorVersion:"".concat(s,".").concat(d)})}(),s=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}},9431:function(e,t,n){function o(e,t,n){for(var o=t.currentTarget,i=t.target;i!==o&&null!==i;){if(i.matches(e))return n(i);i=i.parentElement}return null}n.d(t,{w:function(){return o}})},7762:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(181);function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,o.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,d=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return d=e.done,e},e:function(e){u=!0,s=e},f:function(){try{d||null==n.return||n.return()}finally{if(u)throw s}}}}}}]);
2
- //# sourceMappingURL=6632.0676b230.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/6632.0676b230.chunk.js","mappings":"sQAQIA,EAAoD,SAAUC,EAAYC,EAAQC,EAAKC,GACzF,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,kBAAZQ,SAAoD,oBAArBA,QAAQC,SAChDJ,EAAIG,QAAQC,SAASZ,EAAYC,EA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IY,EAAQ,MAAM/F","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-dropdown.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-click-outside-88e5269b.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-mutation-678b39ea.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js","../node_modules/@genesys/common-webcomponents/dist/esm/when-event-is-from-18667084.js","../node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-5f3763b4.js';\nimport { O as OnClickOutside } from './on-click-outside-88e5269b.js';\nimport { w as whenEventIsFrom } from './when-event-is-from-18667084.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\nimport { O as OnMutation } from './on-mutation-678b39ea.js';\n\nconst guxDropdownCss = \"gux-dropdown .gux-hidden{display:none}gux-dropdown div.gux-dropdown{position:relative;margin:4px 0}gux-dropdown div.gux-dropdown.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown div.gux-dropdown .gux-select-field{position:relative;width:100%;height:32px}gux-dropdown div.gux-dropdown .gux-select-field .gux-filter-suggestion{position:absolute;box-sizing:border-box;width:100%;height:32px;padding:5px 25px 4px 14px;overflow:hidden;font-size:12px;line-height:1.66666667;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}gux-dropdown div.gux-dropdown .gux-select-field .gux-filter-suggestion .gux-filter-text{color:#33383d}gux-dropdown div.gux-dropdown .gux-select-field .gux-filter-suggestion .gux-filter-typeahead{color:#666f7b}gux-dropdown div.gux-dropdown .gux-select-field gux-input-text-like>div{margin:0}gux-dropdown div.gux-dropdown .gux-select-field gux-input-text-like input{width:100%;padding-right:25px;font-size:12px;text-overflow:ellipsis;cursor:pointer;background-color:transparent}gux-dropdown div.gux-dropdown .gux-select-field gux-input-text-like.gux-unclearable button{display:none}gux-dropdown div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}gux-dropdown div.gux-dropdown .gux-options{position:absolute;z-index:1;display:none;width:100%;padding:8px 0;margin-top:2px;overflow-y:auto;color:#33383d;background:#fdfdfd;border:1px solid #aeb9c6;box-shadow:0 2px 4px rgba(34, 37, 41, 0.24);border-radius:4px}gux-dropdown div.gux-dropdown .gux-options.gux-opened{display:block}gux-dropdown div.gux-dropdown .gux-options>gux-option{position:relative;display:flex;height:32px;padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown div.gux-dropdown .gux-options>gux-option>div{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown div.gux-dropdown .gux-options>gux-option>div .gux-filter-suggestion{position:absolute}gux-dropdown div.gux-dropdown .gux-options>gux-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown div.gux-dropdown .gux-options>gux-option.gux-filtered{display:none}gux-dropdown div.gux-dropdown .gux-options>gux-option:not([disabled])[selected]{color:#33383d;background:#deeaff}gux-dropdown div.gux-dropdown .gux-options>gux-option:not([disabled]):hover,gux-dropdown div.gux-dropdown .gux-options>gux-option:not([disabled]):focus{color:#fdfdfd;background:#2a60c8}gux-dropdown div.gux-dropdown.gux-page .gux-select-field{height:48px}gux-dropdown div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{height:48px;padding:2px 25px 4px 11px;overflow:hidden;line-height:1.66666667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-input-text-like div.gux-input-container{height:48px}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px;height:48px;line-height:1.66666667;color:transparent;border:none;border-bottom:2px solid transparent;caret-color:#33383d}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);box-shadow:none}gux-dropdown div.gux-dropdown.gux-page.gux-active .gux-select-field gux-input-text-like input:focus{border-bottom:1px solid #2a60c8}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field{height:52px}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{height:52px;padding:9px 25px 4px 11px;overflow:hidden;line-height:1.66666667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like div.gux-input-container{height:52px}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px;height:52px;line-height:1.66666667;border:none;border-bottom:2px solid transparent}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);box-shadow:none}gux-dropdown div.gux-dropdown.gux-palette.gux-active .gux-select-field gux-input-text-like input:focus{border-bottom:1px solid #2a60c8}gux-dropdown:hover gux-icon,gux-dropdown:focus gux-icon{color:#33383d}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field .gux-filter-suggestion{color:#666f7b}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field gux-input-text-like input{color:transparent;caret-color:#33383d;border-color:#77828f}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#666f7b}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{color:#9baab8;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{border-bottom:1px solid #77828f}.gux-dropdown-light-theme div.gux-dropdown.gux-page.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{color:#9baab8;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{border-bottom:1px solid #77828f}.gux-dropdown-light-theme div.gux-dropdown.gux-palette.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}gux-dropdown div.gux-dropdown .gux-select-field .gux-filter-suggestion{color:#666f7b}gux-dropdown div.gux-dropdown .gux-select-field gux-input-text-like input{color:transparent;caret-color:#33383d;border-color:#77828f}gux-dropdown div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#666f7b}gux-dropdown div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{color:#9baab8;background-color:#fdfdfd}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{border-bottom:1px solid #77828f}gux-dropdown div.gux-dropdown.gux-page.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{color:#9baab8;background-color:#fdfdfd}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{border-bottom:1px solid #77828f}gux-dropdown div.gux-dropdown.gux-palette.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}\";\n\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\")\n r = Reflect.decorate(decorators, target, key, desc);\n else\n for (var i = decorators.length - 1; i >= 0; i--)\n if (d = decorators[i])\n r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nlet GuxDropdown = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.change = createEvent(this, \"change\", 7);\n /**\n * Sets the select mode (default, page or palette).\n */\n this.mode = 'default';\n /**\n * Disable the input and prevent interactions.\n */\n this.disabled = false;\n /**\n * Indicate the dropdown input value\n */\n this.value = '';\n this.inputIsFocused = false;\n this.valueEdited = false;\n }\n emitChange(value) {\n this.change.emit(value);\n }\n onClickOutside(e) {\n if (!e.relatedTarget || !this.root.contains(e.relatedTarget)) {\n this.opened = false;\n this.forcedGhostValue = '';\n const selectionOptions = this.getSelectionOptions();\n const match = selectionOptions.some(item => {\n return item.text === this.value;\n });\n if (!match) {\n this.value = '';\n }\n }\n }\n async setLabeledBy(id) {\n this.srLabeledBy = id;\n }\n async setSelected() {\n const selectionOptions = this.getSelectionOptions();\n const selectedOptionIndex = selectionOptions\n .map(selectionOption => selectionOption.selected)\n .lastIndexOf(true);\n if (selectedOptionIndex >= 0) {\n const option = selectionOptions[selectedOptionIndex];\n this.value = option.text;\n return;\n }\n const selectedOption = selectionOptions.find(selectionOption => this.value === selectionOption.value);\n if (selectedOption) {\n this.value = selectedOption.text;\n return;\n }\n this.value = '';\n }\n onMutation() {\n forceUpdate(this.root);\n this.setSelected();\n }\n // TODO: Fix the keyboard navigation I broke\n onKeyDown(event) {\n const selectionOptions = this.getSelectionOptions();\n const focusIndex = this.getFocusIndex(selectionOptions);\n switch (event.key) {\n case 'ArrowUp':\n // prevent arrow key from triggering a page scroll\n event.preventDefault();\n if (focusIndex > 0) {\n selectionOptions[focusIndex - 1].focus();\n }\n break;\n case 'ArrowDown':\n // prevent arrow key from triggering a page scroll\n event.preventDefault();\n if (this.inputIsFocused) {\n this.opened = true;\n }\n if (focusIndex < selectionOptions.length - 1) {\n selectionOptions[focusIndex + 1].focus();\n }\n break;\n case 'Home':\n if (!selectionOptions.length) {\n return;\n }\n selectionOptions[0].focus();\n break;\n case 'End':\n if (!selectionOptions.length) {\n return;\n }\n selectionOptions[selectionOptions.length - 1].focus();\n break;\n case 'Escape':\n this.textFieldElement.focus();\n this.opened = false;\n break;\n case 'Tab':\n this.textFieldElement.focus();\n this.opened = false;\n break;\n case 'Enter':\n case 'Space':\n break;\n default:\n this.valueEdited = true;\n if (!this.filterable) {\n const arr = selectionOptions.filter(item => {\n return item.text.startsWith(event.key);\n });\n if (arr[0]) {\n arr[0].focus();\n }\n }\n }\n }\n setValue(text, value) {\n this.value = text;\n this.opened = false;\n this.valueEdited = false;\n this.emitChange(value);\n }\n _clickHandler() {\n if (!this.disabled) {\n this.opened = !this.opened;\n }\n }\n _focusHandler() {\n this.inputIsFocused = true;\n }\n _optionFocusedHandler(e) {\n whenEventIsFrom('gux-option', e, elem => {\n const option = elem;\n this.forcedGhostValue =\n this.value + option.text.substring(this.value.length);\n });\n }\n optionSelectedHandler(e) {\n whenEventIsFrom('gux-option', e, elem => {\n const option = elem;\n const selectionOptions = this.getSelectionOptions();\n selectionOptions.forEach(selectionOption => {\n if (selectionOption === option) {\n selectionOption.selected = true;\n this.setValue(selectionOption.text, selectionOption.value || selectionOption.text);\n }\n else {\n selectionOption.selected = false;\n }\n });\n });\n }\n optionKeyDownHandler(e) {\n if (e.key === ' ' || e.key === 'Enter') {\n this.optionSelectedHandler(e);\n }\n }\n _blurHandler() {\n this.inputIsFocused = false;\n this.forcedGhostValue = '';\n }\n _inputHandler(inputEvent) {\n this.value = inputEvent.target.value;\n this.opened = true;\n }\n getFilteredItems() {\n const selectionOptions = this.getSelectionOptions();\n if (this.filterable) {\n const arr = selectionOptions.filter(item => {\n return item.text.toLowerCase().startsWith(this.value.toLowerCase());\n });\n return arr;\n }\n else {\n return selectionOptions;\n }\n }\n getSuggestionText(filter = '') {\n this.searchHighlightAndFilter(this.value);\n const filterLength = filter.length;\n const firstFilteredItem = this.getFilteredItems().length\n ? this.getFilteredItems()[0].text\n : '';\n if (filterLength > 0) {\n const option = firstFilteredItem;\n if (option) {\n return this.opened && this.filterable\n ? option.substring(filterLength)\n : '';\n }\n }\n return '';\n }\n componentWillLoad() {\n trackComponent(this.root, {\n variant: this.filterable ? 'filterable' : 'full'\n });\n }\n componentDidLoad() {\n this.setSelected();\n if (!this.filterable) {\n this.textFieldElement.readOnly = true;\n }\n }\n getSelectionOptions() {\n const result = [];\n const options = this.root.getElementsByClassName('gux-options')[0];\n if (!options) {\n return [];\n }\n // Hack around TSX not supporting for..of on HTMLCollection, this\n // needs to be tested in IE11\n const childrenElements = options.children;\n for (const child of childrenElements) {\n if (child.matches('gux-option')) {\n result.push(child);\n }\n }\n return result;\n }\n render() {\n return (h(\"div\", { class: `gux-dropdown gux-${this.mode} ${this.disabled ? 'gux-disabled' : ''} ${this.opened ? 'gux-active' : ''}`, onKeyDown: e => this.onKeyDown(e) }, h(\"div\", { class: \"gux-select-field\" }, h(\"span\", { class: `gux-filter-suggestion ${this.opened ? 'gux-active' : ''}`, \"aria-hidden\": \"true\" }, h(\"span\", { class: \"gux-filter-text\" }, this.value), h(\"span\", { class: \"gux-filter-typeahead\" }, this.getSuggestionText(this.value))), h(\"gux-input-text-like\", null, h(\"input\", { placeholder: this.placeholder, slot: \"input\", value: this.value, \"aria-labelledby\": this.srLabeledBy, disabled: this.disabled, ref: ref => (this.textFieldElement = ref), onMouseDown: () => {\n this._clickHandler();\n }, onFocus: () => {\n this._focusHandler();\n }, onBlur: () => {\n this._blurHandler();\n }, onInput: e => {\n this._inputHandler(e);\n } })), h(\"button\", { class: \"gux-dropdown-indicator\", \"aria-hidden\": \"true\", tabindex: \"-1\", type: \"button\" }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-down\" }))), h(\"div\", { class: `gux-options ${this.opened ? 'gux-opened' : ''}`, onClick: this.optionSelectedHandler.bind(this), onFocusin: this._optionFocusedHandler.bind(this), onKeyDown: this.optionKeyDownHandler.bind(this) }, h(\"slot\", null))));\n }\n getFocusIndex(selectionOptions) {\n return selectionOptions.findIndex(option => {\n return option.matches(':focus');\n });\n }\n searchHighlightAndFilter(searchInput) {\n const selectionOptions = this.getSelectionOptions();\n if (selectionOptions) {\n for (const option of selectionOptions) {\n option.shouldFilter(searchInput).then(isFiltered => {\n if (this.filterable && isFiltered && this.valueEdited) {\n option.classList.add('gux-filtered');\n }\n else {\n option.classList.remove('gux-filtered');\n }\n });\n }\n }\n }\n get root() { return getElement(this); }\n};\n__decorate([\n OnClickOutside({ triggerEvents: 'mousedown' })\n], GuxDropdown.prototype, \"onClickOutside\", null);\n__decorate([\n OnMutation({ childList: true, subtree: true })\n], GuxDropdown.prototype, \"onMutation\", null);\nGuxDropdown.style = guxDropdownCss;\n\nexport { GuxDropdown as gux_dropdown };\n","import { g as getElement } from './index-5f3763b4.js';\n\nconst OnClickOutsideOptionsDefaults = {\n triggerEvents: 'click',\n exclude: ''\n};\nfunction OnClickOutside(opt = OnClickOutsideOptionsDefaults) {\n return (proto, methodName) => {\n const { connectedCallback, disconnectedCallback } = proto;\n proto.connectedCallback = function () {\n const host = getElement(this);\n const method = this[methodName];\n registerOnClickOutside(this, host, method, opt);\n return connectedCallback && connectedCallback.call(this);\n };\n proto.disconnectedCallback = function () {\n const host = getElement(this);\n const method = this[methodName];\n removeOnClickOutside(this, host, method, opt);\n return disconnectedCallback && disconnectedCallback.call(this);\n };\n };\n}\nfunction registerOnClickOutside(component, element, callback, opt = OnClickOutsideOptionsDefaults) {\n const excludedNodes = getExcludedNodes(opt);\n getTriggerEvents(opt).forEach(triggerEvent => {\n window.addEventListener(triggerEvent, (e) => {\n initOnClickOutside(e, component, element, callback, excludedNodes);\n }, false);\n });\n}\nfunction removeOnClickOutside(component, element, callback, opt = OnClickOutsideOptionsDefaults) {\n getTriggerEvents(opt).forEach(triggerEvent => {\n window.removeEventListener(triggerEvent, (e) => {\n initOnClickOutside(e, component, element, callback);\n }, false);\n });\n}\nfunction initOnClickOutside(event, component, element, callback, excludedNodes) {\n const composedPath = event.composedPath();\n if (!composedPath.includes(element) &&\n !isExcluded(composedPath, excludedNodes)) {\n callback.call(component, event);\n }\n}\nfunction getTriggerEvents(opt) {\n if (opt.triggerEvents) {\n return opt.triggerEvents.split(',').map(e => e.trim());\n }\n return ['click'];\n}\nfunction getExcludedNodes(opt) {\n if (opt.exclude) {\n try {\n return Array.from(document.querySelectorAll(opt.exclude));\n }\n catch (err) {\n console.warn(`@OnClickOutside: Exclude: '${opt.exclude}' will not be evaluated. Check your exclude selector syntax.`, err);\n }\n }\n return;\n}\nfunction isExcluded(composedPath, excudedNodes) {\n if (composedPath && excudedNodes) {\n return excudedNodes.some(excudedNode => composedPath.includes(excudedNode));\n }\n return false;\n}\n\nexport { OnClickOutside as O };\n","import { g as getElement } from './index-5f3763b4.js';\n\nfunction OnMutation(opt) {\n return (proto, methodName) => {\n const { connectedCallback, disconnectedCallback } = proto;\n let onMutationObserver;\n proto.connectedCallback = function () {\n const host = getElement(this);\n const method = this[methodName];\n onMutationObserver = new MutationObserver(method.bind(this));\n onMutationObserver.observe(host, opt);\n return connectedCallback && connectedCallback.call(this);\n };\n proto.disconnectedCallback = function () {\n onMutationObserver.disconnect();\n return disconnectedCallback && disconnectedCallback.call(this);\n };\n };\n}\n\nexport { OnMutation as O };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n","/********************************************************\n * DOM/Event Utilities *\n * *\n * Helpers for components *\n ********************************************************/\n/**\n * Checks to see if an event originated within an element matching a specific selector and\n * if it did, passes the element to a handler function and returns the handler's result.\n */\nfunction whenEventIsFrom(selector, event, handler) {\n // Don't search for matches above the node where we captured the event;\n const exitTarget = event.currentTarget;\n // Start with the oringal event target\n let checkTarget = event.target;\n while (checkTarget !== exitTarget && checkTarget !== null) {\n if (checkTarget.matches(selector)) {\n return handler(checkTarget);\n }\n else {\n checkTarget = checkTarget.parentElement;\n }\n }\n return null;\n}\n\nexport { whenEventIsFrom as w };\n","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n\n var F = function F() {};\n\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","GuxDropdown","hostRef","registerInstance","this","change","createEvent","mode","disabled","value","inputIsFocused","valueEdited","emit","e","relatedTarget","root","contains","opened","forcedGhostValue","getSelectionOptions","some","item","text","id","srLabeledBy","selectionOptions","selectedOptionIndex","map","selectionOption","selected","lastIndexOf","option","selectedOption","find","forceUpdate","setSelected","event","focusIndex","getFocusIndex","preventDefault","focus","textFieldElement","filterable","arr","filter","startsWith","emitChange","whenEventIsFrom","elem","substring","forEach","setValue","optionSelectedHandler","inputEvent","toLowerCase","searchHighlightAndFilter","filterLength","firstFilteredItem","getFilteredItems","trackComponent","variant","readOnly","result","options","getElementsByClassName","childrenElements","children","child","matches","push","h","class","onKeyDown","getSuggestionText","placeholder","slot","ref","onMouseDown","_clickHandler","onFocus","_focusHandler","onBlur","_blurHandler","onInput","_inputHandler","tabindex","type","decorative","onClick","bind","onFocusin","_optionFocusedHandler","optionKeyDownHandler","findIndex","searchInput","shouldFilter","then","isFiltered","classList","add","remove","getElement","OnClickOutside","triggerEvents","prototype","OnMutation","childList","subtree","style","OnClickOutsideOptionsDefaults","exclude","opt","proto","methodName","connectedCallback","disconnectedCallback","registerOnClickOutside","call","removeOnClickOutside","component","element","callback","excludedNodes","getExcludedNodes","getTriggerEvents","triggerEvent","window","addEventListener","initOnClickOutside","removeEventListener","composedPath","includes","excudedNodes","excudedNode","isExcluded","split","trim","Array","from","document","querySelectorAll","err","console","warn","onMutationObserver","host","method","MutationObserver","observe","disconnect","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","metadata","newrelic","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","assign","tagName","selector","handler","exitTarget","currentTarget","checkTarget","parentElement","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","isArray","F","s","n","done","_e","f","TypeError","normalCompletion","didErr","step","next","_e2"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[6769],{6769:function(t,e,r){r.r(e),r.d(e,{gux_tab_list_beta:function(){return b}});var o=r(4165),n=r(5861),i=r(5671),c=r(3144),l=r(4723),s=r(4351),a=r(8782),u={scrollLeft:"Scroll Left",scrollRight:"Scroll Right",scrollUp:"Scroll Up",scrollDown:"Scroll Down"},h=function(t,e,r,o){var n,i=arguments.length,c=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)c=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(c=(i<3?n(c):i>3?n(e,r,c):n(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c},b=function(){function t(e){(0,i.Z)(this,t),(0,l.r)(this,e),this.focused=0,this.hasHorizontalScrollbar=!1,this.hasVerticalScrollbar=!1}return(0,c.Z)(t,[{key:"onFocusout",value:function(t){var e=this;this.root.contains(t.relatedTarget)||this.tabTriggers.forEach(function(){var t=(0,n.Z)((0,o.Z)().mark((function t(r,n){return(0,o.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.guxGetActive();case 2:t.sent?e.focused=n:r.querySelector("button").setAttribute("tabindex","-1");case 4:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}())}},{key:"onMutation",value:function(){this.setTriggerIds()}},{key:"onKeydown",value:function(t){switch(t.key){case"ArrowRight":case"ArrowDown":t.preventDefault(),this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":t.preventDefault(),this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.focusTab(this.focused);case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}},{key:"guxSetActive",value:function(){var t=(0,n.Z)((0,o.Z)().mark((function t(e){var r=this;return(0,o.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.tabTriggers.forEach((function(t,o){var n=t.tabId===e;t.guxSetActive(n),n&&(r.focused=o)}));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"focusTab",value:function(t){var e=this;this.focused=t,this.tabTriggers.forEach(function(){var t=(0,n.Z)((0,o.Z)().mark((function t(r,n){var i;return(0,o.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.guxGetActive();case 2:i=t.sent,e.focused===n||i||r.querySelector("button").setAttribute("tabindex","-1");case 4:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}},{key:"setTriggerIds",value:function(){this.tabTriggers?this.triggerIds=Array.from(this.tabTriggers).map((function(t){return"gux-".concat(t.getAttribute("tab-id"),"-tab")})).join(" "):this.triggerIds=""}},{key:"checkForScrollbarHideOrShow",value:function(){var t=this;(0,l.d)((function(){var e=t.root.querySelector(".gux-scrollable-section"),r=e.clientWidth<e.scrollWidth,o=e.clientHeight<e.scrollHeight;r!==t.hasHorizontalScrollbar&&(t.hasHorizontalScrollbar=r),o!==t.hasVerticalScrollbar&&(t.hasVerticalScrollbar=o)}))}},{key:"handleKeyboardScroll",value:function(t){var e=this,r=this.root.querySelector(".gux-scrollable-section"),o=this.root.querySelectorAll("gux-tab-beta")[this.focused];"forward"===t?this.focused<this.tabTriggers.length-1?((0,l.w)((function(){e.hasHorizontalScrollbar?r.scrollBy(o.clientWidth,0):r.scrollBy(0,o.clientHeight)})),this.focusTab(this.focused+1)):((0,l.w)((function(){e.hasHorizontalScrollbar?r.scrollBy(-r.scrollWidth,0):r.scrollBy(0,-r.scrollHeight)})),this.focusTab(0)):"backward"===t&&(this.focused>0?((0,l.w)((function(){e.hasHorizontalScrollbar?r.scrollBy(-o.clientWidth,0):r.scrollBy(0,-o.clientHeight)})),this.focusTab(this.focused-1)):((0,l.w)((function(){e.hasHorizontalScrollbar?r.scrollBy(r.scrollWidth,0):r.scrollBy(0,r.scrollHeight)})),this.focusTab(this.tabTriggers.length-1)))}},{key:"disconnectedCallback",value:function(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}},{key:"componentWillLoad",value:function(){var t=(0,n.Z)((0,o.Z)().mark((function t(){return(0,o.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.tabTriggers=this.root.querySelectorAll("gux-tab-beta"),t.next=3,(0,a.b)(this.root,u,"gux-tabs");case 3:this.i18n=t.sent;case 4:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"componentDidLoad",value:function(){var t=this;!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(this.checkForScrollbarHideOrShow.bind(this))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver(this.checkForScrollbarHideOrShow.bind(this))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),setTimeout((function(){t.checkForScrollbarHideOrShow()}),500)}},{key:"scrollLeft",value:function(){var t=this;(0,l.w)((function(){t.root.querySelector(".gux-scrollable-section").scrollBy(-100,0)}))}},{key:"scrollRight",value:function(){var t=this;(0,l.w)((function(){t.root.querySelector(".gux-scrollable-section").scrollBy(100,0)}))}},{key:"scrollUp",value:function(){var t=this;(0,l.w)((function(){t.root.querySelector(".gux-scrollable-section").scrollBy(0,-100)}))}},{key:"scrollDown",value:function(){var t=this;(0,l.w)((function(){t.root.querySelector(".gux-scrollable-section").scrollBy(0,100)}))}},{key:"render",value:function(){return(0,l.h)("div",{class:"gux-tab-container"},this.hasHorizontalScrollbar?this.renderScrollButton("scrollLeft"):this.renderScrollButton("scrollUp"),(0,l.h)("div",{role:"tablist",class:"gux-scrollable-section","aria-owns":this.triggerIds},(0,l.h)("slot",null)),this.hasHorizontalScrollbar?this.renderScrollButton("scrollRight"):this.renderScrollButton("scrollDown"))}},{key:"renderScrollButton",value:function(t){var e=this;return(0,l.h)("div",{class:"gux-scroll-button-container"},this.hasHorizontalScrollbar||this.hasVerticalScrollbar?(0,l.h)("button",{tabindex:"-1",title:this.i18n(t),"aria-label":this.i18n(t),class:"gux-scroll-button",onClick:function(){return e.getScrollDirection(t)}},(0,l.h)("gux-icon",{"icon-name":this.getChevronIconName(t),decorative:!0})):null)}},{key:"getScrollDirection",value:function(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight();break;case"scrollUp":this.scrollUp();break;case"scrollDown":this.scrollDown()}}},{key:"getChevronIconName",value:function(t){switch(t){case"scrollLeft":return"chevron-left";case"scrollRight":return"chevron-right";case"scrollUp":return"chevron-up";case"scrollDown":return"chevron-down"}}},{key:"root",get:function(){return(0,l.g)(this)}}]),t}();h([(0,s.O)({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style="gux-tabs-beta[orientation='vertical']{height:100%}gux-tabs-beta[orientation='vertical'] .gux-tab-container{display:flex;flex-direction:column;width:160px;max-width:160px;height:100%;margin-right:16px;border-right:1px solid #d3dae2}gux-tabs-beta[orientation='vertical'] .gux-tab-container .gux-scroll-button-container{width:100%}gux-tabs-beta[orientation='vertical'] .gux-tab-container .gux-scroll-button-container button{width:100%}gux-tabs-beta[orientation='vertical'] .gux-tab-container .gux-scrollable-section{flex-direction:column;height:100%;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth}gux-tabs-beta[orientation='vertical'] .gux-tab-container .gux-scrollable-section::-webkit-scrollbar{width:0;height:0}gux-tabs-beta:not([orientation='vertical']) .gux-tab-container{height:40px;margin-bottom:16px;border-bottom:1px solid #d3dae2}gux-tabs-beta:not([orientation='vertical']) .gux-scrollable-section{overflow-x:auto}.gux-tab-container{box-sizing:content-box;display:flex;width:100%;overflow-x:hidden;overflow-y:hidden;background-color:#fff}.gux-scrollable-section{display:flex;flex:1 1 auto;scroll-behavior:smooth;scrollbar-width:none}.gux-scrollable-section::-webkit-scrollbar{height:0}.gux-scroll-button-container{display:flex;background-color:#c3cad4;border-radius:4px}.gux-scroll-button-container .gux-scroll-button{display:flex;align-items:center;justify-content:center;width:28px;height:40px;color:#222529;background-color:#e4e9f0;border:none;border-radius:4px}.gux-scroll-button-container .gux-scroll-button gux-icon{width:10px;height:10px}.gux-scroll-button-container .gux-scroll-button:focus{border:3px solid #aac9ff;outline:none}.gux-scroll-button-container .gux-scroll-button:hover{color:#2a60c8}.gux-scroll-button-container .gux-scroll-button:active{background-color:#d4dce7}.gux-scroll-button-container .gux-scroll-button:focus-visible{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}"},4351:function(t,e,r){r.d(e,{O:function(){return n}});var o=r(4723);function n(t){return function(e,r){var n,i=e.connectedCallback,c=e.disconnectedCallback;e.connectedCallback=function(){var e=(0,o.g)(this),c=this[r];return(n=new MutationObserver(c.bind(this))).observe(e,t),i&&i.call(this)},e.disconnectedCallback=function(){return n.disconnect(),c&&c.call(this)}}}}}]);
2
- //# sourceMappingURL=6769.fcdb896c.chunk.js.map