genesys-cloud-client-auth 0.0.2-develop.2 → 0.0.2

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 (372) hide show
  1. package/dist/asset-manifest.json +209 -162
  2. package/dist/deploy-info.json +2 -2
  3. package/dist/genesys-cloud-client-auth.browser.min.js +1 -1
  4. package/dist/genesys-cloud-client-auth.browser.min.js.map +1 -1
  5. package/dist/index.html +1 -1
  6. package/dist/lib/cjs/authenticator.js +3 -3
  7. package/dist/lib/cjs/authenticator.js.map +1 -1
  8. package/dist/lib/cjs/parse-redirect.js +5 -5
  9. package/dist/lib/cjs/parse-redirect.js.map +1 -1
  10. package/dist/lib/cjs/types.d.ts +1 -1
  11. package/dist/lib/cjs/utils.d.ts +1 -1
  12. package/dist/lib/cjs/utils.js +2 -2
  13. package/dist/lib/cjs/utils.js.map +1 -1
  14. package/dist/lib/es/types.d.ts +1 -1
  15. package/dist/lib/es/utils.d.ts +1 -1
  16. package/dist/static/js/0.edb27f5c.chunk.js +3 -0
  17. package/dist/static/js/0.edb27f5c.chunk.js.map +1 -0
  18. package/dist/static/js/1.fb8750f9.chunk.js +2 -0
  19. package/dist/static/js/1.fb8750f9.chunk.js.map +1 -0
  20. package/dist/static/js/10.b5f91110.chunk.js +2 -0
  21. package/dist/static/js/10.b5f91110.chunk.js.map +1 -0
  22. package/dist/static/js/11.af6f8d77.chunk.js +2 -0
  23. package/dist/static/js/11.af6f8d77.chunk.js.map +1 -0
  24. package/dist/static/js/12.e8b2c21a.chunk.js +2 -0
  25. package/dist/static/js/12.e8b2c21a.chunk.js.map +1 -0
  26. package/dist/static/js/13.765af38c.chunk.js +2 -0
  27. package/dist/static/js/13.765af38c.chunk.js.map +1 -0
  28. package/dist/static/js/14.dc24fa84.chunk.js +2 -0
  29. package/dist/static/js/14.dc24fa84.chunk.js.map +1 -0
  30. package/dist/static/js/15.9d3c5e92.chunk.js +2 -0
  31. package/dist/static/js/15.9d3c5e92.chunk.js.map +1 -0
  32. package/dist/static/js/16.17cae18f.chunk.js +2 -0
  33. package/dist/static/js/16.17cae18f.chunk.js.map +1 -0
  34. package/dist/static/js/17.37a7bd60.chunk.js +2 -0
  35. package/dist/static/js/17.37a7bd60.chunk.js.map +1 -0
  36. package/dist/static/js/18.b3d93d8e.chunk.js +2 -0
  37. package/dist/static/js/18.b3d93d8e.chunk.js.map +1 -0
  38. package/dist/static/js/19.73f2c078.chunk.js +2 -0
  39. package/dist/static/js/19.73f2c078.chunk.js.map +1 -0
  40. package/dist/static/js/20.2dc963f0.chunk.js +2 -0
  41. package/dist/static/js/20.2dc963f0.chunk.js.map +1 -0
  42. package/dist/static/js/21.4d3fc628.chunk.js +2 -0
  43. package/dist/static/js/21.4d3fc628.chunk.js.map +1 -0
  44. package/dist/static/js/22.9d2a52b5.chunk.js +2 -0
  45. package/dist/static/js/22.9d2a52b5.chunk.js.map +1 -0
  46. package/dist/static/js/23.117d10f2.chunk.js +2 -0
  47. package/dist/static/js/23.117d10f2.chunk.js.map +1 -0
  48. package/dist/static/js/24.944f1f9b.chunk.js +2 -0
  49. package/dist/static/js/24.944f1f9b.chunk.js.map +1 -0
  50. package/dist/static/js/25.8522d872.chunk.js +2 -0
  51. package/dist/static/js/25.8522d872.chunk.js.map +1 -0
  52. package/dist/static/js/26.0bd957a1.chunk.js +2 -0
  53. package/dist/static/js/26.0bd957a1.chunk.js.map +1 -0
  54. package/dist/static/js/27.887ba6f3.chunk.js +2 -0
  55. package/dist/static/js/27.887ba6f3.chunk.js.map +1 -0
  56. package/dist/static/js/28.8b92091f.chunk.js +2 -0
  57. package/dist/static/js/28.8b92091f.chunk.js.map +1 -0
  58. package/dist/static/js/29.b0a5348a.chunk.js +2 -0
  59. package/dist/static/js/29.b0a5348a.chunk.js.map +1 -0
  60. package/dist/static/js/30.d58aa4bd.chunk.js +2 -0
  61. package/dist/static/js/30.d58aa4bd.chunk.js.map +1 -0
  62. package/dist/static/js/31.8bc6fb16.chunk.js +2 -0
  63. package/dist/static/js/31.8bc6fb16.chunk.js.map +1 -0
  64. package/dist/static/js/32.a6a85c40.chunk.js +2 -0
  65. package/dist/static/js/32.a6a85c40.chunk.js.map +1 -0
  66. package/dist/static/js/33.aa473951.chunk.js +2 -0
  67. package/dist/static/js/33.aa473951.chunk.js.map +1 -0
  68. package/dist/static/js/34.dbc7a54d.chunk.js +2 -0
  69. package/dist/static/js/34.dbc7a54d.chunk.js.map +1 -0
  70. package/dist/static/js/35.2b41332a.chunk.js +2 -0
  71. package/dist/static/js/35.2b41332a.chunk.js.map +1 -0
  72. package/dist/static/js/36.66a918eb.chunk.js +2 -0
  73. package/dist/static/js/36.66a918eb.chunk.js.map +1 -0
  74. package/dist/static/js/37.880d376e.chunk.js +3 -0
  75. package/dist/static/js/{20.2be3997f.chunk.js.LICENSE.txt → 37.880d376e.chunk.js.LICENSE.txt} +1 -1
  76. package/dist/static/js/37.880d376e.chunk.js.map +1 -0
  77. package/dist/static/js/38.3d8185bb.chunk.js +2 -0
  78. package/dist/static/js/38.3d8185bb.chunk.js.map +1 -0
  79. package/dist/static/js/39.754ffdce.chunk.js +2 -0
  80. package/dist/static/js/39.754ffdce.chunk.js.map +1 -0
  81. package/dist/static/js/40.8d53c8c4.chunk.js +2 -0
  82. package/dist/static/js/40.8d53c8c4.chunk.js.map +1 -0
  83. package/dist/static/js/41.4a3fc180.chunk.js +2 -0
  84. package/dist/static/js/41.4a3fc180.chunk.js.map +1 -0
  85. package/dist/static/js/42.adeca90f.chunk.js +2 -0
  86. package/dist/static/js/42.adeca90f.chunk.js.map +1 -0
  87. package/dist/static/js/43.36f67f1b.chunk.js +2 -0
  88. package/dist/static/js/43.36f67f1b.chunk.js.map +1 -0
  89. package/dist/static/js/44.4d96c33b.chunk.js +2 -0
  90. package/dist/static/js/44.4d96c33b.chunk.js.map +1 -0
  91. package/dist/static/js/45.02626866.chunk.js +2 -0
  92. package/dist/static/js/45.02626866.chunk.js.map +1 -0
  93. package/dist/static/js/46.0f08377a.chunk.js +2 -0
  94. package/dist/static/js/46.0f08377a.chunk.js.map +1 -0
  95. package/dist/static/js/47.7d7da0af.chunk.js +2 -0
  96. package/dist/static/js/47.7d7da0af.chunk.js.map +1 -0
  97. package/dist/static/js/48.26d10dc3.chunk.js +2 -0
  98. package/dist/static/js/48.26d10dc3.chunk.js.map +1 -0
  99. package/dist/static/js/49.f966b1fc.chunk.js +2 -0
  100. package/dist/static/js/49.f966b1fc.chunk.js.map +1 -0
  101. package/dist/static/js/5.c9623f8e.chunk.js +3 -0
  102. package/dist/static/js/5.c9623f8e.chunk.js.map +1 -0
  103. package/dist/static/js/50.c95c6a30.chunk.js +2 -0
  104. package/dist/static/js/50.c95c6a30.chunk.js.map +1 -0
  105. package/dist/static/js/51.09c99283.chunk.js +2 -0
  106. package/dist/static/js/51.09c99283.chunk.js.map +1 -0
  107. package/dist/static/js/52.b612edf1.chunk.js +2 -0
  108. package/dist/static/js/52.b612edf1.chunk.js.map +1 -0
  109. package/dist/static/js/53.fb38f8b2.chunk.js +2 -0
  110. package/dist/static/js/53.fb38f8b2.chunk.js.map +1 -0
  111. package/dist/static/js/54.940ea13b.chunk.js +2 -0
  112. package/dist/static/js/54.940ea13b.chunk.js.map +1 -0
  113. package/dist/static/js/55.0f323a4c.chunk.js +2 -0
  114. package/dist/static/js/55.0f323a4c.chunk.js.map +1 -0
  115. package/dist/static/js/56.9d5b8236.chunk.js +2 -0
  116. package/dist/static/js/56.9d5b8236.chunk.js.map +1 -0
  117. package/dist/static/js/57.883726f5.chunk.js +2 -0
  118. package/dist/static/js/57.883726f5.chunk.js.map +1 -0
  119. package/dist/static/js/58.0b33271d.chunk.js +2 -0
  120. package/dist/static/js/58.0b33271d.chunk.js.map +1 -0
  121. package/dist/static/js/59.8c50590b.chunk.js +2 -0
  122. package/dist/static/js/59.8c50590b.chunk.js.map +1 -0
  123. package/dist/static/js/6.e61fa6f6.chunk.js +2 -0
  124. package/dist/static/js/6.e61fa6f6.chunk.js.map +1 -0
  125. package/dist/static/js/60.a9da135f.chunk.js +2 -0
  126. package/dist/static/js/60.a9da135f.chunk.js.map +1 -0
  127. package/dist/static/js/61.fdec801b.chunk.js +2 -0
  128. package/dist/static/js/61.fdec801b.chunk.js.map +1 -0
  129. package/dist/static/js/62.bd5c9b92.chunk.js +2 -0
  130. package/dist/static/js/62.bd5c9b92.chunk.js.map +1 -0
  131. package/dist/static/js/63.51b2a768.chunk.js +2 -0
  132. package/dist/static/js/63.51b2a768.chunk.js.map +1 -0
  133. package/dist/static/js/64.ce04e880.chunk.js +2 -0
  134. package/dist/static/js/64.ce04e880.chunk.js.map +1 -0
  135. package/dist/static/js/65.b0dee0e4.chunk.js +2 -0
  136. package/dist/static/js/65.b0dee0e4.chunk.js.map +1 -0
  137. package/dist/static/js/66.ff9acb3c.chunk.js +2 -0
  138. package/dist/static/js/66.ff9acb3c.chunk.js.map +1 -0
  139. package/dist/static/js/67.2c3abbd0.chunk.js +2 -0
  140. package/dist/static/js/67.2c3abbd0.chunk.js.map +1 -0
  141. package/dist/static/js/68.e910f9bf.chunk.js +2 -0
  142. package/dist/static/js/68.e910f9bf.chunk.js.map +1 -0
  143. package/dist/static/js/69.d7127e9a.chunk.js +2 -0
  144. package/dist/static/js/69.d7127e9a.chunk.js.map +1 -0
  145. package/dist/static/js/7.5f708a6d.chunk.js +2 -0
  146. package/dist/static/js/7.5f708a6d.chunk.js.map +1 -0
  147. package/dist/static/js/70.e309686b.chunk.js +2 -0
  148. package/dist/static/js/70.e309686b.chunk.js.map +1 -0
  149. package/dist/static/js/71.6dddd458.chunk.js +2 -0
  150. package/dist/static/js/71.6dddd458.chunk.js.map +1 -0
  151. package/dist/static/js/72.c4e0c62d.chunk.js +2 -0
  152. package/dist/static/js/72.c4e0c62d.chunk.js.map +1 -0
  153. package/dist/static/js/73.5ab9be33.chunk.js +2 -0
  154. package/dist/static/js/73.5ab9be33.chunk.js.map +1 -0
  155. package/dist/static/js/74.eec26242.chunk.js +2 -0
  156. package/dist/static/js/74.eec26242.chunk.js.map +1 -0
  157. package/dist/static/js/75.574bcc06.chunk.js +2 -0
  158. package/dist/static/js/75.574bcc06.chunk.js.map +1 -0
  159. package/dist/static/js/76.a384ac81.chunk.js +2 -0
  160. package/dist/static/js/76.a384ac81.chunk.js.map +1 -0
  161. package/dist/static/js/77.2600e3ed.chunk.js +2 -0
  162. package/dist/static/js/77.2600e3ed.chunk.js.map +1 -0
  163. package/dist/static/js/78.9189f5ca.chunk.js +2 -0
  164. package/dist/static/js/78.9189f5ca.chunk.js.map +1 -0
  165. package/dist/static/js/79.0380c00b.chunk.js +2 -0
  166. package/dist/static/js/79.0380c00b.chunk.js.map +1 -0
  167. package/dist/static/js/8.62d1b039.chunk.js +2 -0
  168. package/dist/static/js/8.62d1b039.chunk.js.map +1 -0
  169. package/dist/static/js/80.4846f70b.chunk.js +2 -0
  170. package/dist/static/js/80.4846f70b.chunk.js.map +1 -0
  171. package/dist/static/js/81.4802c507.chunk.js +2 -0
  172. package/dist/static/js/81.4802c507.chunk.js.map +1 -0
  173. package/dist/static/js/82.56954654.chunk.js +2 -0
  174. package/dist/static/js/82.56954654.chunk.js.map +1 -0
  175. package/dist/static/js/83.8922d346.chunk.js +2 -0
  176. package/dist/static/js/83.8922d346.chunk.js.map +1 -0
  177. package/dist/static/js/84.d55272b0.chunk.js +2 -0
  178. package/dist/static/js/84.d55272b0.chunk.js.map +1 -0
  179. package/dist/static/js/85.7dd389fe.chunk.js +2 -0
  180. package/dist/static/js/85.7dd389fe.chunk.js.map +1 -0
  181. package/dist/static/js/86.e44f1414.chunk.js +2 -0
  182. package/dist/static/js/86.e44f1414.chunk.js.map +1 -0
  183. package/dist/static/js/87.b32bf884.chunk.js +2 -0
  184. package/dist/static/js/87.b32bf884.chunk.js.map +1 -0
  185. package/dist/static/js/88.362f1612.chunk.js +2 -0
  186. package/dist/static/js/88.362f1612.chunk.js.map +1 -0
  187. package/dist/static/js/89.b1afb0d8.chunk.js +2 -0
  188. package/dist/static/js/89.b1afb0d8.chunk.js.map +1 -0
  189. package/dist/static/js/9.9d6f0e1b.chunk.js +2 -0
  190. package/dist/static/js/9.9d6f0e1b.chunk.js.map +1 -0
  191. package/dist/static/js/90.22a231ad.chunk.js +2 -0
  192. package/dist/static/js/90.22a231ad.chunk.js.map +1 -0
  193. package/dist/static/js/91.0160e95d.chunk.js +2 -0
  194. package/dist/static/js/91.0160e95d.chunk.js.map +1 -0
  195. package/dist/static/js/92.ff5bae9a.chunk.js +2 -0
  196. package/dist/static/js/92.ff5bae9a.chunk.js.map +1 -0
  197. package/dist/static/js/93.982b5c40.chunk.js +2 -0
  198. package/dist/static/js/93.982b5c40.chunk.js.map +1 -0
  199. package/dist/static/js/94.74a0f47b.chunk.js +2 -0
  200. package/dist/static/js/94.74a0f47b.chunk.js.map +1 -0
  201. package/dist/static/js/95.8657b1a8.chunk.js +2 -0
  202. package/dist/static/js/95.8657b1a8.chunk.js.map +1 -0
  203. package/dist/static/js/96.b1ce4c6c.chunk.js +2 -0
  204. package/dist/static/js/96.b1ce4c6c.chunk.js.map +1 -0
  205. package/dist/static/js/97.ad09ed1c.chunk.js +2 -0
  206. package/dist/static/js/97.ad09ed1c.chunk.js.map +1 -0
  207. package/dist/static/js/98.79852574.chunk.js +2 -0
  208. package/dist/static/js/98.79852574.chunk.js.map +1 -0
  209. package/dist/static/js/main.8646e136.chunk.js +2 -0
  210. package/dist/static/js/main.8646e136.chunk.js.map +1 -0
  211. package/dist/static/js/polyfills-dom.c60c028d.chunk.js +3 -0
  212. package/dist/static/js/polyfills-dom.c60c028d.chunk.js.map +1 -0
  213. package/dist/static/js/runtime-main.c5235a78.js +2 -0
  214. package/dist/static/js/runtime-main.c5235a78.js.map +1 -0
  215. package/dist/static/media/getFetch.5fde86e3.cjs +1 -0
  216. package/package.json +71 -73
  217. package/CHANGELOG.md +0 -11
  218. package/dist/static/js/0.71c0b4a8.chunk.js +0 -3
  219. package/dist/static/js/0.71c0b4a8.chunk.js.map +0 -1
  220. package/dist/static/js/1.8399f811.chunk.js +0 -2
  221. package/dist/static/js/1.8399f811.chunk.js.map +0 -1
  222. package/dist/static/js/10.8fb6019a.chunk.js +0 -2
  223. package/dist/static/js/10.8fb6019a.chunk.js.map +0 -1
  224. package/dist/static/js/11.aa22b687.chunk.js +0 -2
  225. package/dist/static/js/11.aa22b687.chunk.js.map +0 -1
  226. package/dist/static/js/12.586642ff.chunk.js +0 -2
  227. package/dist/static/js/12.586642ff.chunk.js.map +0 -1
  228. package/dist/static/js/13.c0c5fd67.chunk.js +0 -2
  229. package/dist/static/js/13.c0c5fd67.chunk.js.map +0 -1
  230. package/dist/static/js/14.c3e0d008.chunk.js +0 -2
  231. package/dist/static/js/14.c3e0d008.chunk.js.map +0 -1
  232. package/dist/static/js/15.20587752.chunk.js +0 -2
  233. package/dist/static/js/15.20587752.chunk.js.map +0 -1
  234. package/dist/static/js/16.c19b0b1c.chunk.js +0 -2
  235. package/dist/static/js/16.c19b0b1c.chunk.js.map +0 -1
  236. package/dist/static/js/17.06cd7ac8.chunk.js +0 -2
  237. package/dist/static/js/17.06cd7ac8.chunk.js.map +0 -1
  238. package/dist/static/js/18.e02b6cd8.chunk.js +0 -2
  239. package/dist/static/js/18.e02b6cd8.chunk.js.map +0 -1
  240. package/dist/static/js/19.2d45340c.chunk.js +0 -2
  241. package/dist/static/js/19.2d45340c.chunk.js.map +0 -1
  242. package/dist/static/js/20.2be3997f.chunk.js +0 -3
  243. package/dist/static/js/20.2be3997f.chunk.js.map +0 -1
  244. package/dist/static/js/21.90337a55.chunk.js +0 -2
  245. package/dist/static/js/21.90337a55.chunk.js.map +0 -1
  246. package/dist/static/js/22.0c42f6ee.chunk.js +0 -2
  247. package/dist/static/js/22.0c42f6ee.chunk.js.map +0 -1
  248. package/dist/static/js/23.96d71d61.chunk.js +0 -3
  249. package/dist/static/js/23.96d71d61.chunk.js.map +0 -1
  250. package/dist/static/js/24.c8a6aef1.chunk.js +0 -2
  251. package/dist/static/js/24.c8a6aef1.chunk.js.map +0 -1
  252. package/dist/static/js/25.1549af44.chunk.js +0 -2
  253. package/dist/static/js/25.1549af44.chunk.js.map +0 -1
  254. package/dist/static/js/26.f5920959.chunk.js +0 -2
  255. package/dist/static/js/26.f5920959.chunk.js.map +0 -1
  256. package/dist/static/js/27.4c4b5337.chunk.js +0 -2
  257. package/dist/static/js/27.4c4b5337.chunk.js.map +0 -1
  258. package/dist/static/js/28.e4ae1c5b.chunk.js +0 -2
  259. package/dist/static/js/28.e4ae1c5b.chunk.js.map +0 -1
  260. package/dist/static/js/29.c8bcd088.chunk.js +0 -2
  261. package/dist/static/js/29.c8bcd088.chunk.js.map +0 -1
  262. package/dist/static/js/30.3f776fe2.chunk.js +0 -2
  263. package/dist/static/js/30.3f776fe2.chunk.js.map +0 -1
  264. package/dist/static/js/31.295a0045.chunk.js +0 -2
  265. package/dist/static/js/31.295a0045.chunk.js.map +0 -1
  266. package/dist/static/js/32.c6495395.chunk.js +0 -2
  267. package/dist/static/js/32.c6495395.chunk.js.map +0 -1
  268. package/dist/static/js/33.bc3f2778.chunk.js +0 -2
  269. package/dist/static/js/33.bc3f2778.chunk.js.map +0 -1
  270. package/dist/static/js/34.9c6f42a2.chunk.js +0 -2
  271. package/dist/static/js/34.9c6f42a2.chunk.js.map +0 -1
  272. package/dist/static/js/35.080ac296.chunk.js +0 -2
  273. package/dist/static/js/35.080ac296.chunk.js.map +0 -1
  274. package/dist/static/js/36.30926ca6.chunk.js +0 -2
  275. package/dist/static/js/36.30926ca6.chunk.js.map +0 -1
  276. package/dist/static/js/37.535e0baf.chunk.js +0 -2
  277. package/dist/static/js/37.535e0baf.chunk.js.map +0 -1
  278. package/dist/static/js/38.c6142d9d.chunk.js +0 -2
  279. package/dist/static/js/38.c6142d9d.chunk.js.map +0 -1
  280. package/dist/static/js/39.4e5e9e70.chunk.js +0 -2
  281. package/dist/static/js/39.4e5e9e70.chunk.js.map +0 -1
  282. package/dist/static/js/40.67f8a4cc.chunk.js +0 -2
  283. package/dist/static/js/40.67f8a4cc.chunk.js.map +0 -1
  284. package/dist/static/js/41.8dc69989.chunk.js +0 -2
  285. package/dist/static/js/41.8dc69989.chunk.js.map +0 -1
  286. package/dist/static/js/42.a8312848.chunk.js +0 -2
  287. package/dist/static/js/42.a8312848.chunk.js.map +0 -1
  288. package/dist/static/js/43.ce512d00.chunk.js +0 -2
  289. package/dist/static/js/43.ce512d00.chunk.js.map +0 -1
  290. package/dist/static/js/44.197bff30.chunk.js +0 -2
  291. package/dist/static/js/44.197bff30.chunk.js.map +0 -1
  292. package/dist/static/js/45.9c281539.chunk.js +0 -2
  293. package/dist/static/js/45.9c281539.chunk.js.map +0 -1
  294. package/dist/static/js/46.8625525a.chunk.js +0 -2
  295. package/dist/static/js/46.8625525a.chunk.js.map +0 -1
  296. package/dist/static/js/47.89e00f8b.chunk.js +0 -2
  297. package/dist/static/js/47.89e00f8b.chunk.js.map +0 -1
  298. package/dist/static/js/48.1150630c.chunk.js +0 -2
  299. package/dist/static/js/48.1150630c.chunk.js.map +0 -1
  300. package/dist/static/js/49.d628f230.chunk.js +0 -2
  301. package/dist/static/js/49.d628f230.chunk.js.map +0 -1
  302. package/dist/static/js/5.8b318946.chunk.js +0 -3
  303. package/dist/static/js/5.8b318946.chunk.js.map +0 -1
  304. package/dist/static/js/50.f54ba3ed.chunk.js +0 -2
  305. package/dist/static/js/50.f54ba3ed.chunk.js.map +0 -1
  306. package/dist/static/js/51.b1d2a0f9.chunk.js +0 -2
  307. package/dist/static/js/51.b1d2a0f9.chunk.js.map +0 -1
  308. package/dist/static/js/52.d9cdf428.chunk.js +0 -2
  309. package/dist/static/js/52.d9cdf428.chunk.js.map +0 -1
  310. package/dist/static/js/53.eb9374c8.chunk.js +0 -2
  311. package/dist/static/js/53.eb9374c8.chunk.js.map +0 -1
  312. package/dist/static/js/54.0246cd90.chunk.js +0 -2
  313. package/dist/static/js/54.0246cd90.chunk.js.map +0 -1
  314. package/dist/static/js/55.f6407d07.chunk.js +0 -2
  315. package/dist/static/js/55.f6407d07.chunk.js.map +0 -1
  316. package/dist/static/js/56.030f4c2c.chunk.js +0 -2
  317. package/dist/static/js/56.030f4c2c.chunk.js.map +0 -1
  318. package/dist/static/js/57.106fdb37.chunk.js +0 -2
  319. package/dist/static/js/57.106fdb37.chunk.js.map +0 -1
  320. package/dist/static/js/58.9efa9671.chunk.js +0 -2
  321. package/dist/static/js/58.9efa9671.chunk.js.map +0 -1
  322. package/dist/static/js/59.3b47d57a.chunk.js +0 -2
  323. package/dist/static/js/59.3b47d57a.chunk.js.map +0 -1
  324. package/dist/static/js/6.8ac679aa.chunk.js +0 -2
  325. package/dist/static/js/6.8ac679aa.chunk.js.map +0 -1
  326. package/dist/static/js/60.0335fabd.chunk.js +0 -2
  327. package/dist/static/js/60.0335fabd.chunk.js.map +0 -1
  328. package/dist/static/js/61.cf7f57fc.chunk.js +0 -2
  329. package/dist/static/js/61.cf7f57fc.chunk.js.map +0 -1
  330. package/dist/static/js/62.bb858ee5.chunk.js +0 -2
  331. package/dist/static/js/62.bb858ee5.chunk.js.map +0 -1
  332. package/dist/static/js/63.107ffad7.chunk.js +0 -2
  333. package/dist/static/js/63.107ffad7.chunk.js.map +0 -1
  334. package/dist/static/js/64.a485a8c8.chunk.js +0 -2
  335. package/dist/static/js/64.a485a8c8.chunk.js.map +0 -1
  336. package/dist/static/js/65.3593d4bb.chunk.js +0 -2
  337. package/dist/static/js/65.3593d4bb.chunk.js.map +0 -1
  338. package/dist/static/js/66.9202016a.chunk.js +0 -2
  339. package/dist/static/js/66.9202016a.chunk.js.map +0 -1
  340. package/dist/static/js/67.45ef3717.chunk.js +0 -2
  341. package/dist/static/js/67.45ef3717.chunk.js.map +0 -1
  342. package/dist/static/js/68.e638cd4b.chunk.js +0 -2
  343. package/dist/static/js/68.e638cd4b.chunk.js.map +0 -1
  344. package/dist/static/js/69.b404f87e.chunk.js +0 -2
  345. package/dist/static/js/69.b404f87e.chunk.js.map +0 -1
  346. package/dist/static/js/7.a488d90e.chunk.js +0 -2
  347. package/dist/static/js/7.a488d90e.chunk.js.map +0 -1
  348. package/dist/static/js/70.32ae1b4a.chunk.js +0 -2
  349. package/dist/static/js/70.32ae1b4a.chunk.js.map +0 -1
  350. package/dist/static/js/71.14e7b1f4.chunk.js +0 -2
  351. package/dist/static/js/71.14e7b1f4.chunk.js.map +0 -1
  352. package/dist/static/js/72.6f860cde.chunk.js +0 -2
  353. package/dist/static/js/72.6f860cde.chunk.js.map +0 -1
  354. package/dist/static/js/73.8839e5fd.chunk.js +0 -3
  355. package/dist/static/js/73.8839e5fd.chunk.js.LICENSE.txt +0 -11
  356. package/dist/static/js/73.8839e5fd.chunk.js.map +0 -1
  357. package/dist/static/js/74.da2b0a38.chunk.js +0 -2
  358. package/dist/static/js/74.da2b0a38.chunk.js.map +0 -1
  359. package/dist/static/js/8.ab0b80c1.chunk.js +0 -2
  360. package/dist/static/js/8.ab0b80c1.chunk.js.map +0 -1
  361. package/dist/static/js/9.12e26806.chunk.js +0 -2
  362. package/dist/static/js/9.12e26806.chunk.js.map +0 -1
  363. package/dist/static/js/main.5f1ec66e.chunk.js +0 -2
  364. package/dist/static/js/main.5f1ec66e.chunk.js.map +0 -1
  365. package/dist/static/js/polyfills-css-shim.4a931322.chunk.js +0 -2
  366. package/dist/static/js/polyfills-css-shim.4a931322.chunk.js.map +0 -1
  367. package/dist/static/js/runtime-main.bb79d895.js +0 -2
  368. package/dist/static/js/runtime-main.bb79d895.js.map +0 -1
  369. package/dist/static/media/getFetch.582d29c4.cjs +0 -1
  370. /package/dist/static/js/{0.71c0b4a8.chunk.js.LICENSE.txt → 0.edb27f5c.chunk.js.LICENSE.txt} +0 -0
  371. /package/dist/static/js/{5.8b318946.chunk.js.LICENSE.txt → 5.c9623f8e.chunk.js.LICENSE.txt} +0 -0
  372. /package/dist/static/js/{23.96d71d61.chunk.js.LICENSE.txt → polyfills-dom.c60c028d.chunk.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[50],{133:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const s={name:"@genesys/common-webcomponents",version:"2.59.1",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","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.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"}},i="spark-library",o="spark-component";let c=!1;function r(e,t){const n=window.newrelic;n&&(c||(!function(){const e=window.newrelic;if(!e)return;const[t,n,o]=s.version.split(".");e.addPageAction(i,{fullVersion:"".concat(t,".").concat(n,".").concat(o),majorVersion:t,minorVersion:"".concat(t,".").concat(n)})}(),c=!0),n.addPageAction(o,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:s.version})))}},58:function(e,t,n){"use strict";n.r(t),n.d(t,"gux_color_select",(function(){return c})),n.d(t,"gux_error_message_beta",(function(){return r})),n.d(t,"gux_input_color_option",(function(){return l}));var s=n(10),i=n(133);const o=["#203B73","#75A8FF","#8452CF","#1DA8B3","#B5B5EB","#CC3EBE","#5E6782","#FF8FDD","#868C1E","#DDD933"];let c=class{constructor(e){Object(s.j)(this,e)}onColorSelect(e){const t=e.target;this.color=t.value,this.input.value=t.value,this.input.dispatchEvent(new Event("input",{bubbles:!0,cancelable:!0})),this.input.dispatchEvent(new Event("change",{bubbles:!0}))}componentWillLoad(){this.input=this.root.querySelector('input[slot="input"]'),this.color=this.input.value}render(){return[Object(s.h)("div",{hidden:!0},Object(s.h)("slot",{name:"input"})),Object(s.h)("div",null,Object(s.h)("div",{class:"gux-input-color-matrix"},this.renderDefaultTiles()))]}renderDefaultTiles(){return o.map(((e,t)=>Object(s.h)("gux-input-color-option",{key:"".concat(e,"-").concat(t),value:e,active:this.color.toLowerCase()===e.toLowerCase()})))}get root(){return Object(s.g)(this)}};c.style="gux-color-select{display:inline-block;color:#2e394c}gux-color-select>div{box-sizing:border-box;padding:20px 0 12px;margin-top:2px;background-color:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-color-select .gux-input-color-matrix{display:flex;flex-wrap:wrap;align-content:flex-start;width:120px;padding:0 20px 8px;margin:0}gux-color-select .gux-input-color-matrix>*{display:none}gux-color-select .gux-input-color-matrix>gux-input-color-option{display:inline-block}";let r=class{constructor(e){Object(s.j)(this,e)}componentWillLoad(){Object(i.a)(this.root)}render(){return Object(s.h)("div",{class:"gux-container"},Object(s.h)("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),Object(s.h)("div",{class:"gux-message"},Object(s.h)("slot",null),Object(s.h)("slot",{name:"error"})))}get root(){return Object(s.g)(this)}};r.style=".gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;font-size:11px;color:#2e394c}.gux-container gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-container .gux-message{flex:0 1 auto;align-self:auto;order:0}";let l=class{constructor(e){Object(s.j)(this,e),this.colorSelect=Object(s.d)(this,"colorSelect",7)}render(){return Object(s.h)("button",{type:"button",value:this.value,class:this.active?"gux-input-color-option-active":"",disabled:!this.value,style:this.value&&{"background-color":this.value},title:this.value,onClick:this.onColorOptionClickHandler.bind(this)})}onColorOptionClickHandler(){this.colorSelect.emit(this.value)}};l.style="gux-input-color-option{color:#2e394c}gux-input-color-option>button{display:inline-block;flex:0 0 16px;width:16px;height:16px;padding:0;margin:4px;font-size:0;line-height:0;cursor:pointer;border:none}gux-input-color-option>button:not(:disabled):hover,gux-input-color-option>button:focus,gux-input-color-option>button.gux-input-color-option-active,gux-input-color-option>button:active{border:1px white solid;outline:1px solid #2a60c8}gux-input-color-option>button:disabled{cursor:default;background-color:#fdfdfd;border:1px solid #2e394c;opacity:0.5}gux-input-color-option button::-moz-focus-inner{border:none}"}}]);
2
+ //# sourceMappingURL=50.c95c6a30.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-color-select_3.entry.js"],"names":["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","componentPageAction","libVersionReported","trackComponent","element","metadata","newrelic","window","major","minor","patch","split","addPageAction","fullVersion","concat","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase","defaultColors","GuxColorSelect","constructor","hostRef","registerInstance","this","onColorSelect","event","colorOptionElement","target","color","value","input","dispatchEvent","Event","bubbles","cancelable","componentWillLoad","root","querySelector","render","h","hidden","class","renderDefaultTiles","map","index","key","active","getElement","style","GuxErrorMessageBeta","decorative","GuxInputColorOption","colorSelect","createEvent","disabled","title","onClick","onColorOptionClickHandler","bind","emit"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,MAlKa,wBAmKbC,WAlKkB,2CAmKlBC,MAlKa,CACb,SAkKAC,QAhKe,CACfC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjB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tD,CACAe,SACE,OAAQC,YAAE,SAAU,CAAEnD,KAAM,SAAUyC,MAAON,KAAKM,MAAOY,MAAOlB,KAAKuB,OAAS,gCAAkC,GAAIQ,UAAW/B,KAAKM,MAAOmB,MAAOzB,KAAKM,OAAS,CAAE,mBAAoBN,KAAKM,OAAS0B,MAAOhC,KAAKM,MAAO2B,QAASjC,KAAKkC,0BAA0BC,KAAKnC,OACtQ,CACAkC,4BACElC,KAAK6B,YAAYO,KAAKpC,KAAKM,MAC7B,GAEFsB,EAAoBH,MAdW,kmB","file":"static/js/50.c95c6a30.chunk.js","sourcesContent":["const name = \"@genesys/common-webcomponents\";\nconst version = \"2.59.1\";\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\t\"create-non-en-i18n-files\": \"node scripts/create-non-en-i18n-files.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","import { r as registerInstance, h, g as getElement, c as createEvent } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\n\n// Default color values\nconst defaultColors = [\n '#203B73',\n '#75A8FF',\n '#8452CF',\n '#1DA8B3',\n '#B5B5EB',\n '#CC3EBE',\n '#5E6782',\n '#FF8FDD',\n '#868C1E',\n '#DDD933'\n];\n\nconst guxColorSelectCss = \"gux-color-select{display:inline-block;color:#2e394c}gux-color-select>div{box-sizing:border-box;padding:20px 0 12px;margin-top:2px;background-color:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-color-select .gux-input-color-matrix{display:flex;flex-wrap:wrap;align-content:flex-start;width:120px;padding:0 20px 8px;margin:0}gux-color-select .gux-input-color-matrix>*{display:none}gux-color-select .gux-input-color-matrix>gux-input-color-option{display:inline-block}\";\n\nlet GuxColorSelect = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n onColorSelect(event) {\n const colorOptionElement = event.target;\n this.color = colorOptionElement.value;\n this.input.value = colorOptionElement.value;\n this.input.dispatchEvent(new Event('input', {\n bubbles: true,\n cancelable: true\n }));\n this.input.dispatchEvent(new Event('change', {\n bubbles: true\n }));\n }\n componentWillLoad() {\n this.input = this.root.querySelector('input[slot=\"input\"]');\n this.color = this.input.value;\n }\n render() {\n return [\n h(\"div\", { hidden: true }, h(\"slot\", { name: \"input\" })),\n h(\"div\", null, h(\"div\", { class: \"gux-input-color-matrix\" }, this.renderDefaultTiles()))\n ];\n }\n renderDefaultTiles() {\n return defaultColors.map((color, index) => (h(\"gux-input-color-option\", { key: `${color}-${index}`, value: color, active: this.color.toLowerCase() === color.toLowerCase() })));\n }\n get root() { return getElement(this); }\n};\nGuxColorSelect.style = guxColorSelectCss;\n\nconst guxErrorMessageBetaCss = \".gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;font-size:11px;color:#2e394c}.gux-container gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-container .gux-message{flex:0 1 auto;align-self:auto;order:0}\";\n\nlet GuxErrorMessageBeta = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n componentWillLoad() {\n trackComponent(this.root);\n }\n render() {\n return (h(\"div\", { class: \"gux-container\" }, h(\"gux-icon\", { \"icon-name\": \"alert-warning-octogon\", decorative: true }), h(\"div\", { class: \"gux-message\" }, h(\"slot\", null), h(\"slot\", { name: \"error\" }))));\n }\n get root() { return getElement(this); }\n};\nGuxErrorMessageBeta.style = guxErrorMessageBetaCss;\n\nconst guxInputColorOptionCss = \"gux-input-color-option{color:#2e394c}gux-input-color-option>button{display:inline-block;flex:0 0 16px;width:16px;height:16px;padding:0;margin:4px;font-size:0;line-height:0;cursor:pointer;border:none}gux-input-color-option>button:not(:disabled):hover,gux-input-color-option>button:focus,gux-input-color-option>button.gux-input-color-option-active,gux-input-color-option>button:active{border:1px white solid;outline:1px solid #2a60c8}gux-input-color-option>button:disabled{cursor:default;background-color:#fdfdfd;border:1px solid #2e394c;opacity:0.5}gux-input-color-option button::-moz-focus-inner{border:none}\";\n\nlet GuxInputColorOption = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.colorSelect = createEvent(this, \"colorSelect\", 7);\n }\n render() {\n return (h(\"button\", { type: \"button\", value: this.value, class: this.active ? 'gux-input-color-option-active' : '', disabled: !this.value, style: this.value && { 'background-color': this.value }, title: this.value, onClick: this.onColorOptionClickHandler.bind(this) }));\n }\n onColorOptionClickHandler() {\n this.colorSelect.emit(this.value);\n }\n};\nGuxInputColorOption.style = guxInputColorOptionCss;\n\nexport { GuxColorSelect as gux_color_select, GuxErrorMessageBeta as gux_error_message_beta, GuxInputColorOption as gux_input_color_option };\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[51],{133:function(t,e,s){"use strict";s.d(e,"a",(function(){return r}));const n={name:"@genesys/common-webcomponents",version:"2.59.1",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","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.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",i="spark-component";let c=!1;function r(t,e){const s=window.newrelic;s&&(c||(!function(){const t=window.newrelic;if(!t)return;const[e,s,i]=n.version.split(".");t.addPageAction(o,{fullVersion:"".concat(e,".").concat(s,".").concat(i),majorVersion:e,minorVersion:"".concat(e,".").concat(s)})}(),c=!0),s.addPageAction(i,Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:n.version})))}},63:function(t,e,s){"use strict";s.r(e),s.d(e,"gux_disclosure_button",(function(){return i}));var n=s(10),o=s(133);let i=class{constructor(t){Object(n.j)(this,t),this.active=Object(n.d)(this,"active",7),this.position="left",this.label="open",this.isOpen=!1,this.icon="arrow-solid-right"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){"right"===this.position?this.icon=this.isOpen?"arrow-solid-right":"arrow-solid-left":this.icon=this.isOpen?"arrow-solid-left":"arrow-solid-right"}componentWillLoad(){Object(o.a)(this.root,{variant:this.position}),this.updateIcon()}render(){const t=this.isOpen?"gux-active":"";return Object(n.h)("div",{class:"gux-disclosure-button-container gux-".concat(this.position)},Object(n.h)("button",{class:"gux-disclosure-button",onClick:()=>this.changeState()},Object(n.h)("gux-icon",{"icon-name":"".concat(this.icon),"screenreader-text":this.label})),Object(n.h)("div",{class:"gux-disclosure-panel gux-".concat(this.position," ").concat(t)},Object(n.h)("slot",{name:"panel-content"})))}get root(){return Object(n.g)(this)}static get watchers(){return{isOpen:["watchIsOpen"]}}};i.style="gux-disclosure-button{height:100%}gux-disclosure-button .gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}gux-disclosure-button .gux-disclosure-button-container.gux-right{justify-content:flex-end}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{width:16px;padding:0;margin:0;background:transparent;border-top:none;border-right:1px solid;border-bottom:none;border-left:1px solid}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button gux-icon{width:12px;height:12px}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button:focus{outline:none}gux-disclosure-button .gux-disclosure-panel{display:none;order:-1;width:100%}gux-disclosure-button .gux-disclosure-panel.gux-right{order:1}gux-disclosure-button .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-dark-theme{color:#fdfdfd}.gux-disclosure-button-dark-theme .gux-disclosure-button-container button{color:#fdfdfd;border-color:#202937}.gux-dark-theme gux-disclosure-button{color:#fdfdfd}.gux-dark-theme gux-disclosure-button .gux-disclosure-button-container button{color:#fdfdfd;border-color:#202937}gux-disclosure-button.gux-dark-theme{color:#fdfdfd}gux-disclosure-button.gux-dark-theme .gux-disclosure-button-container button{color:#fdfdfd;border-color:#202937}.gux-disclosure-button-light-theme{color:#2e394c}.gux-disclosure-button-light-theme .gux-disclosure-button-container button.gux-disclosure-button{color:#2e394c;border-color:#e2e6ee}.gux-light-theme gux-disclosure-button{color:#2e394c}.gux-light-theme gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{color:#2e394c;border-color:#e2e6ee}gux-disclosure-button.gux-light-theme{color:#2e394c}gux-disclosure-button.gux-light-theme .gux-disclosure-button-container button.gux-disclosure-button{color:#2e394c;border-color:#e2e6ee}gux-disclosure-button{color:#2e394c}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{color:#2e394c;border-color:#e2e6ee}"}}]);
2
+ //# sourceMappingURL=51.09c99283.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-disclosure-button.entry.js"],"names":["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","componentPageAction","libVersionReported","trackComponent","element","metadata","newrelic","window","major","minor","patch","split","addPageAction","fullVersion","concat","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase","GuxDisclosureButton","constructor","hostRef","registerInstance","this","active","createEvent","position","label","isOpen","icon","watchIsOpen","updateIcon","changeState","togglePanel","emit","componentWillLoad","root","variant","render","activeClass","h","class","onClick","getElement","watchers","style"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,MAlKa,wBAmKbC,WAlKkB,2CAmKlBC,MAlKa,CACb,SAkKAC,QAhKe,CACfC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SACR,mBAAoB,mCACpB,2BAA4B,2CAC5BC,IAAK,6DACL,aAAc,oEACdC,KAAM,6BACN,WAAY,6BACZ,kBAAmB,+CACnBC,OAAQ,uDACR,eAAgB,4BAChB,aAAc,4BACd,8BAA+B,2CAC/B,yBAA0B,uCAC1BC,KAAM,iEACNC,KAAM,iFACN,cAAe,yDACf,WAAY,6CACZ,WAAY,+EACZ,WAAY,iDACZ,UAAW,qBACX,0BAA2B,uCAC3B,6BAA8B,0CAC9B,kBAAmB,+BACnBC,OAAQ,eACR,gBAAiB,iBACjBC,QAAS,6DACTC,QAAS,mBACTC,QAAS,uBACT,cAAe,qCACfC,KAAM,4BACN,UAAW,8CACX,eAAgB,sBAChB,cAAe,qCACf,WAAY,qBACZ,2BAA4B,sCAC5B,kBAAmB,kCACnB,YAAa,2CACb,4BAA6B,uCAC7B,uBAAwB,6CACxB,aAAc,wCAqHdC,aAnHoB,CACpB,iBAAkB,UAClB,qBAAsB,SACtB,8BAA+B,SAC/BC,WAAY,UACZ,wBAAyB,UA+GzBC,gBA7GuB,CACvB,cAAe,UACf,oBAAqB,UACrB,kBAAmB,UACnB,kCAAmC,UACnC,yBAA0B,SAC1B,gBAAiB,SACjB,gBAAiB,SACjB,iBA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O,YAAWpB,KAAO,CACtC,mBAAWqB,GAAa,MAAO,CAC7B,OAAU,CAAC,eACV,GAELzB,EAAoB0B,MAtDW,6iE","file":"static/js/51.09c99283.chunk.js","sourcesContent":["const name = \"@genesys/common-webcomponents\";\nconst version = \"2.59.1\";\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\t\"create-non-en-i18n-files\": \"node scripts/create-non-en-i18n-files.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","import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\n\nconst guxDisclosureButtonCss = \"gux-disclosure-button{height:100%}gux-disclosure-button .gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}gux-disclosure-button .gux-disclosure-button-container.gux-right{justify-content:flex-end}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{width:16px;padding:0;margin:0;background:transparent;border-top:none;border-right:1px solid;border-bottom:none;border-left:1px solid}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button gux-icon{width:12px;height:12px}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button:focus{outline:none}gux-disclosure-button .gux-disclosure-panel{display:none;order:-1;width:100%}gux-disclosure-button .gux-disclosure-panel.gux-right{order:1}gux-disclosure-button .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-dark-theme{color:#fdfdfd}.gux-disclosure-button-dark-theme .gux-disclosure-button-container button{color:#fdfdfd;border-color:#202937}.gux-dark-theme gux-disclosure-button{color:#fdfdfd}.gux-dark-theme gux-disclosure-button .gux-disclosure-button-container button{color:#fdfdfd;border-color:#202937}gux-disclosure-button.gux-dark-theme{color:#fdfdfd}gux-disclosure-button.gux-dark-theme .gux-disclosure-button-container button{color:#fdfdfd;border-color:#202937}.gux-disclosure-button-light-theme{color:#2e394c}.gux-disclosure-button-light-theme .gux-disclosure-button-container button.gux-disclosure-button{color:#2e394c;border-color:#e2e6ee}.gux-light-theme gux-disclosure-button{color:#2e394c}.gux-light-theme gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{color:#2e394c;border-color:#e2e6ee}gux-disclosure-button.gux-light-theme{color:#2e394c}gux-disclosure-button.gux-light-theme .gux-disclosure-button-container button.gux-disclosure-button{color:#2e394c;border-color:#e2e6ee}gux-disclosure-button{color:#2e394c}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{color:#2e394c;border-color:#e2e6ee}\";\n\nlet GuxDisclosureButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.active = createEvent(this, \"active\", 7);\n /**\n * Indicates the position of the button panel\n */\n this.position = 'left';\n /**\n * Indicates the label for the disclosure button\n */\n this.label = 'open';\n /**\n * Used to open or close the disclosure panel\n */\n this.isOpen = false;\n /**\n * Indicated image used by button\n */\n this.icon = 'arrow-solid-right';\n }\n watchIsOpen() {\n this.updateIcon();\n }\n changeState() {\n this.togglePanel();\n this.active.emit(this.isOpen);\n }\n togglePanel() {\n this.isOpen = !this.isOpen;\n }\n updateIcon() {\n if (this.position === 'right') {\n this.icon = this.isOpen ? 'arrow-solid-right' : 'arrow-solid-left';\n }\n else {\n this.icon = this.isOpen ? 'arrow-solid-left' : 'arrow-solid-right';\n }\n }\n componentWillLoad() {\n trackComponent(this.root, { variant: this.position });\n this.updateIcon();\n }\n render() {\n const activeClass = this.isOpen ? 'gux-active' : '';\n return (h(\"div\", { class: `gux-disclosure-button-container gux-${this.position}` }, h(\"button\", { class: \"gux-disclosure-button\", onClick: () => this.changeState() }, h(\"gux-icon\", { \"icon-name\": `${this.icon}`, \"screenreader-text\": this.label })), h(\"div\", { class: `gux-disclosure-panel gux-${this.position} ${activeClass}` }, h(\"slot\", { name: \"panel-content\" }))));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"isOpen\": [\"watchIsOpen\"]\n }; }\n};\nGuxDisclosureButton.style = guxDisclosureButtonCss;\n\nexport { GuxDisclosureButton as gux_disclosure_button };\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[52],{133:function(e,t,s){"use strict";s.d(t,"a",(function(){return r}));const n={name:"@genesys/common-webcomponents",version:"2.59.1",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","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.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"}},i="spark-library",c="spark-component";let o=!1;function r(e,t){const s=window.newrelic;s&&(o||(!function(){const e=window.newrelic;if(!e)return;const[t,s,c]=n.version.split(".");e.addPageAction(i,{fullVersion:"".concat(t,".").concat(s,".").concat(c),majorVersion:t,minorVersion:"".concat(t,".").concat(s)})}(),o=!0),s.addPageAction(c,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:n.version})))}},64:function(e,t,s){"use strict";s.r(t),s.d(t,"gux_dismiss_button_beta",(function(){return r}));var n=s(10),i=s(133),c=s(139);const o={dismiss:"Dismiss"};let r=class{constructor(e){Object(n.j)(this,e)}async componentWillLoad(){Object(i.a)(this.root),this.i18n=await Object(c.b)(this.root,o)}render(){return Object(n.h)(n.a,{tabIndex:0},Object(n.h)("button",{type:"button",title:this.i18n("dismiss")},Object(n.h)("gux-icon",{"icon-name":"close","screenreader-text":this.i18n("dismiss")})))}static get delegatesFocus(){return!0}get root(){return Object(n.g)(this)}};r.style="button{position:absolute;top:0;right:0;padding:2px;color:#596373;background:transparent;border:none;border-radius:4px}button:not(:disabled):focus,button:not(:disabled):hover{color:#2e394c;cursor:pointer}button gux-icon{width:15px;height:15px;margin:4px;border-radius:4px}button:focus{outline:none}button:focus gux-icon{outline:none}button:focus:enabled gux-icon{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}"}}]);
2
+ //# sourceMappingURL=52.b612edf1.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-dismiss-button-beta.entry.js"],"names":["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","componentPageAction","libVersionReported","trackComponent","element","metadata","newrelic","window","major","minor","patch","split","addPageAction","fullVersion","concat","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase","translationResources","dismiss","GuxDismissButton","constructor","hostRef","registerInstance","this","componentWillLoad","root","buildI18nForComponent","render","h","Host","tabIndex","title","delegatesFocus","getElement","style"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,MAlKa,wBAmKbC,WAlKkB,2CAmKlBC,MAlKa,CACb,SAkKAC,QAhKe,CACfC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SAC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AaoE,YAAsBH,KAAKE,KAAMR,EACrD,CACAU,SACE,OAAQC,YAAEC,IAAM,CAAEC,SAAU,GAAKF,YAAE,SAAU,CAAEzC,KAAM,SAAU4C,MAAOR,KAAKjE,KAAK,YAAcsE,YAAE,WAAY,CAAE,YAAa,QAAS,oBAAqBL,KAAKjE,KAAK,cACrK,CACA,yBAAW0E,GAAmB,OAAO,CAAM,CAC3C,QAAIP,GAAS,OAAOQ,YAAWV,KAAO,GAExCJ,EAAiBe,MAhBW,ya","file":"static/js/52.b612edf1.chunk.js","sourcesContent":["const name = \"@genesys/common-webcomponents\";\nconst version = \"2.59.1\";\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\t\"create-non-en-i18n-files\": \"node scripts/create-non-en-i18n-files.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","import { r as registerInstance, h, H as Host, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\nimport { b as buildI18nForComponent } from './index-6d80d8e7.js';\n\nconst dismiss = \"Dismiss\";\nconst translationResources = {\n\tdismiss: dismiss\n};\n\nconst guxDismissButtonCss = \"button{position:absolute;top:0;right:0;padding:2px;color:#596373;background:transparent;border:none;border-radius:4px}button:not(:disabled):focus,button:not(:disabled):hover{color:#2e394c;cursor:pointer}button gux-icon{width:15px;height:15px;margin:4px;border-radius:4px}button:focus{outline:none}button:focus gux-icon{outline:none}button:focus:enabled gux-icon{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}\";\n\nlet GuxDismissButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n async componentWillLoad() {\n trackComponent(this.root);\n this.i18n = await buildI18nForComponent(this.root, translationResources);\n }\n render() {\n return (h(Host, { tabIndex: 0 }, h(\"button\", { type: \"button\", title: this.i18n('dismiss') }, h(\"gux-icon\", { \"icon-name\": \"close\", \"screenreader-text\": this.i18n('dismiss') }))));\n }\n static get delegatesFocus() { return true; }\n get root() { return getElement(this); }\n};\nGuxDismissButton.style = guxDismissButtonCss;\n\nexport { GuxDismissButton as gux_dismiss_button_beta };\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[53],{133:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const s={name:"@genesys/common-webcomponents",version:"2.59.1",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","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.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"}},i="spark-library",c="spark-component";let r=!1;function o(e,t){const n=window.newrelic;n&&(r||(!function(){const e=window.newrelic;if(!e)return;const[t,n,c]=s.version.split(".");e.addPageAction(i,{fullVersion:"".concat(t,".").concat(n,".").concat(c),majorVersion:t,minorVersion:"".concat(t,".").concat(n)})}(),r=!0),n.addPageAction(c,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:s.version})))}},71:function(e,t,n){"use strict";n.r(t),n.d(t,"gux_form_field_input_clear_button",(function(){return o}));var s=n(10),i=n(133),c=n(139);const r={clear:"Clear"};let o=class{constructor(e){Object(s.j)(this,e)}async componentWillLoad(){Object(i.a)(this.root),this.i18n=await Object(c.b)(this.root,r)}render(){return Object(s.h)("button",{tabIndex:-1,type:"button",title:this.i18n("clear")},Object(s.h)("gux-icon",{"icon-name":"close",decorative:!0}))}static get delegatesFocus(){return!0}get root(){return Object(s.g)(this)}};o.style="button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none;border-radius:4px}button:not(:disabled):focus,button:not(:disabled):hover{color:#2e394c;cursor:pointer}button gux-icon{width:12px;height:12px;margin:4px;border-radius:4px}button:focus{outline:none}button:focus:enabled gux-icon{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}"}}]);
2
+ //# sourceMappingURL=53.fb38f8b2.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-input-clear-button.entry.js"],"names":["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","componentPageAction","libVersionReported","trackComponent","element","metadata","newrelic","window","major","minor","patch","split","addPageAction","fullVersion","concat","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase","translationResources","clear","Gux","constructor","hostRef","registerInstance","this","componentWillLoad","root","buildI18nForComponent","render","h","tabIndex","title","decorative","delegatesFocus","getElement","style"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,MAlKa,wBAmKbC,WAlKkB,2CAmKlBC,MAlKa,CACb,SAkKAC,QAhKe,CACfC,MAAO,4FACP,gBAAiB,4BACjB,gBAA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Ae0B,KAAKE,MACpBF,KAAKjE,WAAaoE,YAAsBH,KAAKE,KAAMR,EACrD,CACAU,SACE,OAAQC,YAAE,SAAU,CAAEC,UAAW,EAAG1C,KAAM,SAAU2C,MAAOP,KAAKjE,KAAK,UAAYsE,YAAE,WAAY,CAAE,YAAa,QAASG,YAAY,IACrI,CACA,yBAAWC,GAAmB,OAAO,CAAM,CAC3C,QAAIP,GAAS,OAAOQ,YAAWV,KAAO,GAExCJ,EAAIe,MAhBoC,4Y","file":"static/js/53.fb38f8b2.chunk.js","sourcesContent":["const name = \"@genesys/common-webcomponents\";\nconst version = \"2.59.1\";\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\t\"create-non-en-i18n-files\": \"node scripts/create-non-en-i18n-files.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","import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\nimport { b as buildI18nForComponent } from './index-6d80d8e7.js';\n\nconst clear = \"Clear\";\nconst translationResources = {\n\tclear: clear\n};\n\nconst guxFormFieldInputClearButtonCss = \"button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none;border-radius:4px}button:not(:disabled):focus,button:not(:disabled):hover{color:#2e394c;cursor:pointer}button gux-icon{width:12px;height:12px;margin:4px;border-radius:4px}button:focus{outline:none}button:focus:enabled gux-icon{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}\";\n\nlet Gux = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n async componentWillLoad() {\n trackComponent(this.root);\n this.i18n = await buildI18nForComponent(this.root, translationResources);\n }\n render() {\n return (h(\"button\", { tabIndex: -1, type: \"button\", title: this.i18n('clear') }, h(\"gux-icon\", { \"icon-name\": \"close\", decorative: true })));\n }\n static get delegatesFocus() { return true; }\n get root() { return getElement(this); }\n};\nGux.style = guxFormFieldInputClearButtonCss;\n\nexport { Gux as gux_form_field_input_clear_button };\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[54],{133:function(e,t,s){"use strict";s.d(t,"a",(function(){return o}));const n={name:"@genesys/common-webcomponents",version:"2.59.1",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","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.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"}},i="spark-library",c="spark-component";let r=!1;function o(e,t){const s=window.newrelic;s&&(r||(!function(){const e=window.newrelic;if(!e)return;const[t,s,c]=n.version.split(".");e.addPageAction(i,{fullVersion:"".concat(t,".").concat(s,".").concat(c),majorVersion:t,minorVersion:"".concat(t,".").concat(s)})}(),r=!0),s.addPageAction(c,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:n.version})))}},85:function(e,t,s){"use strict";s.r(t),s.d(t,"gux_list",(function(){return r}));var n=s(10),i=s(133);const c=["gux-list-item:not([disabled])","gux-action-item:not([disabled])"].join(",");let r=class{constructor(e){Object(n.j)(this,e),this.changed=Object(n.d)(this,"changed",7),this.selectedIndex=-1,this.observer=new MutationObserver((()=>{this.performHighlight(this.highlight)}))}emitChanged(e){this.changed.emit(e)}itemSelected(e){e.detail&&(this.value=e.detail)}valueHandler(e){this.emitChanged(e)}async setFocusOnFirstItem(){this.selectedIndex=0,this.updateTabIndexes()}async setFocusOnLastItem(){const e=this.root.querySelectorAll(c);this.selectedIndex=e.length-1,this.updateTabIndexes()}async isLastItemSelected(){const e=this.root.querySelectorAll(c);return this.selectedIndex===e.length-1}async isFirstItemSelected(){return this.selectedIndex<=0}componentWillLoad(){Object(i.a)(this.root)}componentDidLoad(){this.performHighlight(this.highlight),this.observer.observe(this.root,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect()}render(){return this.performHighlight(this.highlight),this.updateTabIndexes(),Object(n.h)("div",{class:"gux-list-items-container",role:"list",tabindex:0,onKeyDown:e=>this.onKeyDown(e)},Object(n.h)("slot",null))}onKeyDown(e){const t=e.keyCode;if(-1===[38,40,35,36].indexOf(t))return;const s=this.root.querySelectorAll(c);let n=-1;switch(t){case 38:this.selectedIndex&&(n=this.selectedIndex-1,e.stopPropagation());break;case 36:this.selectedIndex&&(n=0);break;case 40:this.selectedIndex!==s.length-1&&(n=this.selectedIndex+1,e.stopPropagation());break;case 35:this.selectedIndex!==s.length-1&&(n=s.length-1)}-1!==n&&(this.selectedIndex=n)}updateTabIndexes(){const e=this.root.querySelectorAll(c);e&&-1!==this.selectedIndex&&e.forEach(((e,t)=>{t!==this.selectedIndex?e.setAttribute("tabindex","-1"):(e.setAttribute("tabindex","0"),e.focus(),setTimeout((()=>{this.value=e.value})))}))}performHighlight(e){const t=this.root.querySelectorAll("gux-text-highlight");t&&t.forEach((t=>{t.highlight=e}))}get root(){return Object(n.g)(this)}static get watchers(){return{value:["valueHandler"]}}};r.style="gux-list .gux-list-items-container{padding:8px 0;margin:0;list-style:none;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}"}}]);
2
+ //# sourceMappingURL=54.940ea13b.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-list.entry.js"],"names":["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","componentPageAction","libVersionReported","trackComponent","element","metadata","newrelic","window","major","minor","patch","split","addPageAction","fullVersion","concat","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase","validChildren","join","GuxList","constructor","hostRef","registerInstance","this","changed","createEvent","selectedIndex","observer","MutationObserver","performHighlight","highlight","emitChanged","value","emit","itemSelected","ev","detail","valueHandler","newValue","setFocusOnFirstItem","updateTabIndexes","setFocusOnLastItem","filteredList","root","querySelectorAll","length","isLastItemSelected","isFirstItemSelected","componentWillLoad","componentDidLoad","observe","childList","subtree","disconnectedCallback","disconnect","render","h","class","role","tabindex","onKeyDown","e","event","key","keyCode","indexOf","newIndex","stopPropagation","children","forEach","index","setAttribute","focus","setTimeout","items","getElement","watchers","style"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,MAlKa,wBAmKbC,WAlKkB,2CAmKlBC,MAlKa,CACb,SAkKAC,QAhKe,CACfC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SACR,mBAAoB,mCACpB,2BAA4B,2CAC5BC,IAAK,6DACL,aAAc,oEACdC,KAAM,6BACN,WAAY,6BACZ,kBAAmB,+CACnBC,OAAQ,uDACR,eAAgB,4BAChB,aAAc,4BACd,8BAA+B,2CAC/B,yBAA0B,uCAC1BC,KA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B,EAAaG,OAAS,IAC/CqB,EAAWxB,EAAaG,OAAS,IAIrB,IAAdqB,IACF3C,KAAKG,cAAgBwC,EAEzB,CACA1B,mBACE,MAAM4B,EAAW7C,KAAKoB,KAAKC,iBAAiB3B,GACvCmD,IAAoC,IAAxB7C,KAAKG,eAGtB0C,EAASC,SAAQ,CAACvE,EAASwE,KACrBA,IAAU/C,KAAKG,cACjB5B,EAAQyE,aAAa,WAAY,OAGjCzE,EAAQyE,aAAa,WAAY,KACjCzE,EAAQ0E,QACRC,YAAW,KACTlD,KAAKS,MAAQlC,EAAQkC,KAAK,IAE9B,GAEJ,CACAH,iBAAiBG,GACf,MAAM0C,EAAQnD,KAAKoB,KAAKC,iBAAiB,sBACpC8B,GAGLA,EAAML,SAASvE,IACbA,EAAQgC,UAAYE,CAAK,GAE7B,CACA,QAAIW,GAAS,OAAOgC,YAAWpD,KAAO,CACtC,mBAAWqD,GAAa,MAAO,CAC7B,MAAS,CAAC,gBACT,GAELzD,EAAQ0D,MAvJW,sL","file":"static/js/54.940ea13b.chunk.js","sourcesContent":["const name = \"@genesys/common-webcomponents\";\nconst version = \"2.59.1\";\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\t\"create-non-en-i18n-files\": \"node scripts/create-non-en-i18n-files.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","import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\n\nconst guxListCss = \"gux-list .gux-list-items-container{padding:8px 0;margin:0;list-style:none;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}\";\n\nconst validChildren = [\n 'gux-list-item:not([disabled])',\n 'gux-action-item:not([disabled])'\n].join(',');\nlet GuxList = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.changed = createEvent(this, \"changed\", 7);\n /**\n * The currently selected index.\n */\n this.selectedIndex = -1;\n /**\n * Using a mutation observer because component loading order is not quite right.\n * In this case we are attempting to update a component that updates a component.\n * What ends up happening is that there is no hook to make sure all components have loaded.\n * When the DOM load order gets fixed we should be able to remove this logic.\n * https://github.com/ionic-team/stencil/issues/1261\n */\n this.observer = new MutationObserver(() => {\n this.performHighlight(this.highlight);\n });\n }\n emitChanged(value) {\n this.changed.emit(value);\n }\n itemSelected(ev) {\n if (!ev.detail) {\n return;\n }\n this.value = ev.detail;\n }\n valueHandler(newValue) {\n this.emitChanged(newValue);\n }\n /*\n * Sets focus to the fist item in the list.\n */\n async setFocusOnFirstItem() {\n this.selectedIndex = 0;\n this.updateTabIndexes();\n }\n /*\n * Sets focus to the last item in the list.\n */\n async setFocusOnLastItem() {\n const filteredList = this.root.querySelectorAll(validChildren);\n this.selectedIndex = filteredList.length - 1;\n this.updateTabIndexes();\n }\n /**\n * Returns whether the last item in the list is selected.\n */\n async isLastItemSelected() {\n const filteredList = this.root.querySelectorAll(validChildren);\n return this.selectedIndex === filteredList.length - 1;\n }\n /**\n * Returns whether the first item in the list is selected.\n */\n async isFirstItemSelected() {\n return this.selectedIndex <= 0;\n }\n componentWillLoad() {\n trackComponent(this.root);\n }\n /**\n * Once the component is loaded\n */\n componentDidLoad() {\n this.performHighlight(this.highlight);\n this.observer.observe(this.root, { childList: true, subtree: true });\n }\n disconnectedCallback() {\n this.observer.disconnect();\n }\n render() {\n this.performHighlight(this.highlight);\n this.updateTabIndexes();\n return (h(\"div\", { class: \"gux-list-items-container\", role: \"list\", tabindex: 0, onKeyDown: e => this.onKeyDown(e) }, h(\"slot\", null)));\n }\n onKeyDown(event) {\n const validKeys = [38 /* Up */, 40 /* Down */, 35 /* End */, 36 /* Home */];\n const key = event.keyCode;\n if (validKeys.indexOf(key) === -1) {\n return;\n }\n const filteredList = this.root.querySelectorAll(validChildren);\n let newIndex = -1;\n switch (key) {\n case 38 /* Up */:\n if (this.selectedIndex) {\n newIndex = this.selectedIndex - 1;\n event.stopPropagation();\n }\n break;\n case 36 /* Home */:\n if (this.selectedIndex) {\n newIndex = 0;\n }\n break;\n case 40 /* Down */:\n if (this.selectedIndex !== filteredList.length - 1) {\n newIndex = this.selectedIndex + 1;\n event.stopPropagation();\n }\n break;\n case 35 /* End */:\n if (this.selectedIndex !== filteredList.length - 1) {\n newIndex = filteredList.length - 1;\n }\n break;\n }\n if (newIndex !== -1) {\n this.selectedIndex = newIndex;\n }\n }\n updateTabIndexes() {\n const children = this.root.querySelectorAll(validChildren);\n if (!children || this.selectedIndex === -1) {\n return;\n }\n children.forEach((element, index) => {\n if (index !== this.selectedIndex) {\n element.setAttribute('tabindex', '-1');\n }\n else {\n element.setAttribute('tabindex', '0');\n element.focus();\n setTimeout(() => {\n this.value = element.value;\n });\n }\n });\n }\n performHighlight(value) {\n const items = this.root.querySelectorAll('gux-text-highlight');\n if (!items) {\n return;\n }\n items.forEach((element) => {\n element.highlight = value;\n });\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"value\": [\"valueHandler\"]\n }; }\n};\nGuxList.style = guxListCss;\n\nexport { GuxList as gux_list };\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[55],{147:function(t,n,o){"use strict";o.d(n,"a",(function(){return i})),o.d(n,"b",(function(){return e})),o.d(n,"c",(function(){return u}));const e=250,u=100;function i(t,n){switch(t.key){case"ArrowUp":t.stopPropagation(),t.preventDefault(),function(t){const n=t.previousElementSibling;n?n.guxFocus():c(t)}(n);break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),function(t){const n=t.nextElementSibling;n?n.guxFocus():r(t)}(n);break;case"ArrowRight":case"ArrowLeft":t.preventDefault();break;case"Home":t.stopPropagation(),t.preventDefault(),r(n);break;case"End":t.stopPropagation(),t.preventDefault(),c(n)}}function r(t){const n=function(t){let n=t;for(;null!==n.previousElementSibling;)n=n.previousElementSibling;return n}(t);n&&n.guxFocus()}function c(t){const n=function(t){let n=t;for(;null!==n.nextElementSibling;)n=n.nextElementSibling;return n}(t);n&&n.guxFocus()}},86:function(t,n,o){"use strict";o.r(n),o.d(n,"gux_menu_option",(function(){return i}));var e=o(10),u=o(147);let i=class{constructor(t){Object(e.j)(this,t)}async guxFocus(){this.buttonElement.focus()}onKeydown(t){switch(Object(u.a)(t,this.root),t.key){case"ArrowRight":case"Enter":t.stopPropagation()}}render(){return Object(e.h)("button",{type:"button",class:"gux-menu-option-button",role:"menuitem","aria-haspopup":"false",tabIndex:-1,ref:t=>this.buttonElement=t},Object(e.h)("span",{class:"gux-menu-option-button-text"},Object(e.h)("slot",null)))}get root(){return Object(e.g)(this)}};i.style="gux-menu-option{display:block;flex:1 1 auto;align-self:auto}gux-menu-option .gux-menu-option-button{all:unset;width:100%;width:125px;height:32px;padding:0 16px;line-height:32px;color:#2e394c;background-color:#fdfdfd}gux-menu-option .gux-menu-option-button:focus-within,gux-menu-option .gux-menu-option-button:hover{color:#fdfdfd;background-color:#2a60c8}gux-menu-option .gux-menu-option-button:enabled{cursor:pointer}gux-menu-option .gux-menu-option-button .gux-menu-option-button-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}"}}]);
2
+ //# sourceMappingURL=55.0f323a4c.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-menu.common-af63e16f.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-menu-option.entry.js"],"names":["hideDelay","moveFocusDelay","menuNavigation","event","currentElement","key","stopPropagation","preventDefault","previousFocusableElement","previousElementSibling","guxFocus","focusLastSibling","focusPreviousSiblingLoop","nextFocusableElement","nextElementSibling","focusFirstSibling","focusNextSiblingLoop","firstFocusableElement","getFirstFocusableElement","lastFocusableElement","getLastFocusableElement","GuxMenuOption","constructor","hostRef","registerInstance","this","buttonElement","focus","onKeydown","root","render","h","type","class","role","tabIndex","ref","el","getElement","style"],"mappings":"+GAAA,4GAAMA,EAAY,IACZC,EAAiB,IACvB,SAASC,EAAeC,EAAOC,GAC7B,OAAQD,EAAME,KACZ,IAAK,UACHF,EAAMG,kBACNH,EAAMI,iBAsCZ,SAAkCH,GAChC,MAAMI,EAA2BJ,EAAeK,uBAC5CD,EACFA,EAAyBE,WAGzBC,EAAiBP,EAErB,CA7CMQ,CAAyBR,GACzB,MACF,IAAK,YACHD,EAAMG,kBACNH,EAAMI,iBA0CZ,SAA8BH,GAC5B,MAAMS,EAAuBT,EAAeU,mBACxCD,EACFA,EAAqBH,WAGrBK,EAAkBX,EAEtB,CAjDMY,CAAqBZ,GACrB,MACF,IAAK,aAGL,IAAK,YACHD,EAAMI,iBACN,MACF,IAAK,OACHJ,EAAMG,kBACNH,EAAMI,iBACNQ,EAAkBX,GAClB,MACF,IAAK,MACHD,EAAMG,kBACNH,EAAMI,iBACNI,EAAiBP,GAGvB,CACA,SAASW,EAAkBX,GACzB,MAAMa,EA6BR,SAAkCb,GAChC,IAAIa,EAAwBb,EAC5B,KAAwD,OAAjDa,EAAsBR,wBAC3BQ,EAAwBA,EAAsBR,uBAEhD,OAAOQ,CACT,CAnCgCC,CAAyBd,GACnDa,GACFA,EAAsBP,UAE1B,CACA,SAASC,EAAiBP,GACxB,MAAMe,EA8BR,SAAiCf,GAC/B,IAAIe,EAAuBf,EAC3B,KAAmD,OAA5Ce,EAAqBL,oBAC1BK,EAAuBA,EAAqBL,mBAE9C,OAAOK,CACT,CApC+BC,CAAwBhB,GACjDe,GACFA,EAAqBT,UAEzB,C,kCC3CA,4EAKA,IAAIW,EAAgB,MAClBC,YAAYC,GACVC,YAAiBC,KAAMF,EACzB,CAIA,cAAMb,GACJe,KAAKC,cAAcC,OACrB,CACAC,UAAUzB,GAER,OADAD,YAAeC,EAAOsB,KAAKI,MACnB1B,EAAME,KACZ,IAAK,aACL,IAAK,QACHF,EAAMG,kBAGZ,CACAwB,SACE,OAAQC,YAAE,SAAU,CAAEC,KAAM,SAAUC,MAAO,yBAA0BC,KAAM,WAAY,gBAAiB,QAASC,UAAW,EAAGC,IAAKC,GAAOZ,KAAKC,cAAgBW,GAAON,YAAE,OAAQ,CAAEE,MAAO,+BAAiCF,YAAE,OAAQ,OACzO,CACA,QAAIF,GAAS,OAAOS,YAAWb,KAAO,GAExCJ,EAAckB,MA1BW,kjB","file":"static/js/55.0f323a4c.chunk.js","sourcesContent":["const hideDelay = 250;\nconst moveFocusDelay = 100;\nfunction menuNavigation(event, currentElement) {\n switch (event.key) {\n case 'ArrowUp':\n event.stopPropagation();\n event.preventDefault();\n focusPreviousSiblingLoop(currentElement);\n break;\n case 'ArrowDown':\n event.stopPropagation();\n event.preventDefault();\n focusNextSiblingLoop(currentElement);\n break;\n case 'ArrowRight':\n event.preventDefault();\n break;\n case 'ArrowLeft':\n event.preventDefault();\n break;\n case 'Home':\n event.stopPropagation();\n event.preventDefault();\n focusFirstSibling(currentElement);\n break;\n case 'End':\n event.stopPropagation();\n event.preventDefault();\n focusLastSibling(currentElement);\n break;\n }\n}\nfunction focusFirstSibling(currentElement) {\n const firstFocusableElement = getFirstFocusableElement(currentElement);\n if (firstFocusableElement) {\n firstFocusableElement.guxFocus();\n }\n}\nfunction focusLastSibling(currentElement) {\n const lastFocusableElement = getLastFocusableElement(currentElement);\n if (lastFocusableElement) {\n lastFocusableElement.guxFocus();\n }\n}\nfunction focusPreviousSiblingLoop(currentElement) {\n const previousFocusableElement = currentElement.previousElementSibling;\n if (previousFocusableElement) {\n previousFocusableElement.guxFocus();\n }\n else {\n focusLastSibling(currentElement);\n }\n}\nfunction focusNextSiblingLoop(currentElement) {\n const nextFocusableElement = currentElement.nextElementSibling;\n if (nextFocusableElement) {\n nextFocusableElement.guxFocus();\n }\n else {\n focusFirstSibling(currentElement);\n }\n}\nfunction getFirstFocusableElement(currentElement) {\n let firstFocusableElement = currentElement;\n while (firstFocusableElement.previousElementSibling !== null) {\n firstFocusableElement = firstFocusableElement.previousElementSibling;\n }\n return firstFocusableElement;\n}\nfunction getLastFocusableElement(currentElement) {\n let lastFocusableElement = currentElement;\n while (lastFocusableElement.nextElementSibling !== null) {\n lastFocusableElement = lastFocusableElement.nextElementSibling;\n }\n return lastFocusableElement;\n}\n\nexport { menuNavigation as a, hideDelay as h, moveFocusDelay as m };\n","import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { a as menuNavigation } from './gux-menu.common-af63e16f.js';\n\nconst guxMenuOptionCss = \"gux-menu-option{display:block;flex:1 1 auto;align-self:auto}gux-menu-option .gux-menu-option-button{all:unset;width:100%;width:125px;height:32px;padding:0 16px;line-height:32px;color:#2e394c;background-color:#fdfdfd}gux-menu-option .gux-menu-option-button:focus-within,gux-menu-option .gux-menu-option-button:hover{color:#fdfdfd;background-color:#2a60c8}gux-menu-option .gux-menu-option-button:enabled{cursor:pointer}gux-menu-option .gux-menu-option-button .gux-menu-option-button-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}\";\n\nlet GuxMenuOption = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n /**\n * Focus on the components button element\n */\n async guxFocus() {\n this.buttonElement.focus();\n }\n onKeydown(event) {\n menuNavigation(event, this.root);\n switch (event.key) {\n case 'ArrowRight':\n case 'Enter':\n event.stopPropagation();\n break;\n }\n }\n render() {\n return (h(\"button\", { type: \"button\", class: \"gux-menu-option-button\", role: \"menuitem\", \"aria-haspopup\": \"false\", tabIndex: -1, ref: el => (this.buttonElement = el) }, h(\"span\", { class: \"gux-menu-option-button-text\" }, h(\"slot\", null))));\n }\n get root() { return getElement(this); }\n};\nGuxMenuOption.style = guxMenuOptionCss;\n\nexport { GuxMenuOption as gux_menu_option };\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[56],{112:function(e,t,n){"use strict";n.r(t),n.d(t,"gux_submenu",(function(){return i}));var o=n(10),u=n(147),s=n(148);let i=class{constructor(e){Object(o.j)(this,e),this.isShown=!1}forceUpdate(e){e&&this.popperInstance&&this.popperInstance.update()}async guxFocus(){this.buttonElement.focus()}onKeydown(e){switch(Object(u.a)(e,this.root),e.key){case"Enter":this.hideDelayTimeout=setTimeout((()=>{this.focusOnSubmenu()}),u.c),this.guxFocus();break;case"ArrowRight":e.stopPropagation(),this.show(),this.hideDelayTimeout=setTimeout((()=>{this.focusOnSubmenu()}),u.c);break;case"ArrowLeft":case"Escape":this.submenuContentElement.contains(e.target)&&e.stopPropagation(),this.guxFocus()}}onKeyup(e){if(" "===e.key)e.stopPropagation(),this.submenuContentElement.contains(document.activeElement)?this.root.focus():this.hideDelayTimeout=setTimeout((()=>{this.focusOnSubmenu()}),u.c)}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(e){this.submenuContentElement.contains(e.target)?this.hide():e.stopPropagation()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),u.b))}runPopper(){this.popperInstance=Object(s.a)(this.buttonElement,this.submenuElement,{modifiers:[{name:"offset",options:{offset:[-8,0]}},{name:"flip",enabled:!1}],placement:"right-start"})}destroyPopper(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}focusOnSubmenu(){if(this.submenuContentElement.contains(document.activeElement))return;Array.from(this.submenuContentElement.children)[0].guxFocus()}componentDidLoad(){this.runPopper()}disconnectedCallback(){this.destroyPopper()}render(){return Object(o.h)(o.a,null,Object(o.h)("button",{type:"button",class:"gux-submenu-button",role:"menuitem",tabIndex:-1,ref:e=>this.buttonElement=e,"aria-haspopup":"true","aria-expanded":this.isShown.toString()},Object(o.h)("span",{class:"gux-submenu-button-text"},this.label),Object(o.h)("gux-icon",{class:"gux-submenu-open-icon","icon-name":"chevron-small-right",decorative:!0})),Object(o.h)("div",{ref:e=>this.submenuElement=e,class:{"gux-submenu-wrapper":!0,"gux-shown":this.isShown}},Object(o.h)("div",{role:"menu",class:"gux-submenu-content",ref:e=>this.submenuContentElement=e},Object(o.h)("slot",null))))}get root(){return Object(o.g)(this)}static get watchers(){return{isShown:["forceUpdate"]}}};i.style="gux-submenu{display:block;flex:1 1 auto;align-self:auto}gux-submenu .gux-submenu-button{all:unset;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;width:129px;height:32px;padding:0 12px 0 16px;line-height:32px;color:#2e394c;background-color:#fdfdfd}gux-submenu .gux-submenu-button:focus-within,gux-submenu .gux-submenu-button:hover{color:#fdfdfd;background-color:#2a60c8}gux-submenu .gux-submenu-button .gux-submenu-button-text{flex:1 1 auto;align-self:auto;order:0;margin-right:12px;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}gux-submenu .gux-submenu-button .gux-submenu-open-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px}gux-submenu .gux-submenu-wrapper{display:none;flex-direction:column;padding:8px 0;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-submenu .gux-submenu-wrapper.gux-shown{display:flex}"},147:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return u}));const o=250,u=100;function s(e,t){switch(e.key){case"ArrowUp":e.stopPropagation(),e.preventDefault(),function(e){const t=e.previousElementSibling;t?t.guxFocus():r(e)}(t);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),function(e){const t=e.nextElementSibling;t?t.guxFocus():i(e)}(t);break;case"ArrowRight":case"ArrowLeft":e.preventDefault();break;case"Home":e.stopPropagation(),e.preventDefault(),i(t);break;case"End":e.stopPropagation(),e.preventDefault(),r(t)}}function i(e){const t=function(e){let t=e;for(;null!==t.previousElementSibling;)t=t.previousElementSibling;return t}(e);t&&t.guxFocus()}function r(e){const t=function(e){let t=e;for(;null!==t.nextElementSibling;)t=t.nextElementSibling;return t}(e);t&&t.guxFocus()}}}]);
2
+ //# sourceMappingURL=56.9d5b8236.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-submenu.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-menu.common-af63e16f.js"],"names":["GuxSubmenu","constructor","hostRef","registerInstance","this","isShown","forceUpdate","popperInstance","update","guxFocus","buttonElement","focus","onKeydown","event","menuNavigation","root","key","hideDelayTimeout","setTimeout","focusOnSubmenu","moveFocusDelay","stopPropagation","show","submenuContentElement","contains","target","onKeyup","document","activeElement","onmouseenter","onMouseleave","hide","onClick","onFocusin","onFocusout","clearTimeout","hideDelay","runPopper","createPopper","submenuElement","modifiers","name","options","offset","enabled","placement","destroyPopper","destroy","Array","from","children","componentDidLoad","disconnectedCallback","render","h","Host","type","class","role","tabIndex","ref","el","toString","label","decorative","getElement","watchers","style","currentElement","preventDefault","previousFocusableElement","previousElementSibling","focusLastSibling","focusPreviousSiblingLoop","nextFocusableElement","nextElementSibling","focusFirstSibling","focusNextSiblingLoop","firstFocusableElement","getFirstFocusableElement","lastFocusableElement","getLastFocusableElement"],"mappings":"+GAAA,iFAMA,IAAIA,EAAa,MACfC,YAAYC,GACVC,YAAiBC,KAAMF,GACvBE,KAAKC,SAAU,CACjB,CACAC,YAAYD,GACNA,GACED,KAAKG,gBACPH,KAAKG,eAAeC,QAG1B,CAIA,cAAMC,GACJL,KAAKM,cAAcC,OACrB,CACAC,UAAUC,GAER,OADAC,YAAeD,EAAOT,KAAKW,MACnBF,EAAMG,KACZ,IAAK,QACHZ,KAAKa,iBAAmBC,YAAW,KACjCd,KAAKe,gBAAgB,GACpBC,KACHhB,KAAKK,WACL,MACF,IAAK,aACHI,EAAMQ,kBACNjB,KAAKkB,OACL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DU,EAAsBP,wBAC3BO,EAAwBA,EAAsBP,uBAEhD,OAAOO,CACT,CAnCgCC,CAAyBX,GACnDU,GACFA,EAAsBrE,UAE1B,CACA,SAAS+D,EAAiBJ,GACxB,MAAMY,EA8BR,SAAiCZ,GAC/B,IAAIY,EAAuBZ,EAC3B,KAAmD,OAA5CY,EAAqBL,oBAC1BK,EAAuBA,EAAqBL,mBAE9C,OAAOK,CACT,CApC+BC,CAAwBb,GACjDY,GACFA,EAAqBvE,UAEzB,C","file":"static/js/56.9d5b8236.chunk.js","sourcesContent":["import { r as registerInstance, h, H as Host, g as getElement } from './index-5f3763b4.js';\nimport { a as menuNavigation, m as moveFocusDelay, h as hideDelay } from './gux-menu.common-af63e16f.js';\nimport { c as createPopper } from './popper-0d7cf9bb.js';\n\nconst guxSubmenuCss = \"gux-submenu{display:block;flex:1 1 auto;align-self:auto}gux-submenu .gux-submenu-button{all:unset;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;width:129px;height:32px;padding:0 12px 0 16px;line-height:32px;color:#2e394c;background-color:#fdfdfd}gux-submenu .gux-submenu-button:focus-within,gux-submenu .gux-submenu-button:hover{color:#fdfdfd;background-color:#2a60c8}gux-submenu .gux-submenu-button .gux-submenu-button-text{flex:1 1 auto;align-self:auto;order:0;margin-right:12px;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}gux-submenu .gux-submenu-button .gux-submenu-open-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px}gux-submenu .gux-submenu-wrapper{display:none;flex-direction:column;padding:8px 0;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-submenu .gux-submenu-wrapper.gux-shown{display:flex}\";\n\nlet GuxSubmenu = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.isShown = false;\n }\n forceUpdate(isShown) {\n if (isShown) {\n if (this.popperInstance) {\n this.popperInstance.update();\n }\n }\n }\n /**\n * Focus on the components button element\n */\n async guxFocus() {\n this.buttonElement.focus();\n }\n onKeydown(event) {\n menuNavigation(event, this.root);\n switch (event.key) {\n case 'Enter':\n this.hideDelayTimeout = setTimeout(() => {\n this.focusOnSubmenu();\n }, moveFocusDelay);\n this.guxFocus();\n break;\n case 'ArrowRight':\n event.stopPropagation();\n this.show();\n this.hideDelayTimeout = setTimeout(() => {\n this.focusOnSubmenu();\n }, moveFocusDelay);\n break;\n case 'ArrowLeft':\n case 'Escape':\n if (this.submenuContentElement.contains(event.target)) {\n event.stopPropagation();\n }\n this.guxFocus();\n break;\n }\n }\n // Using 'keyup' here because the native click handler behavior\n // for buttons is triggered on keyup when using the space key\n onKeyup(event) {\n switch (event.key) {\n case ' ':\n event.stopPropagation();\n if (this.submenuContentElement.contains(document.activeElement)) {\n this.root.focus();\n }\n else {\n this.hideDelayTimeout = setTimeout(() => {\n this.focusOnSubmenu();\n }, moveFocusDelay);\n }\n break;\n }\n }\n onmouseenter() {\n this.show();\n }\n onMouseleave() {\n this.hide();\n }\n onClick(event) {\n if (this.submenuContentElement.contains(event.target)) {\n this.hide();\n return;\n }\n event.stopPropagation();\n }\n onFocusin() {\n this.show();\n }\n onFocusout() {\n this.hide();\n }\n show() {\n clearTimeout(this.hideDelayTimeout);\n this.isShown = true;\n }\n hide() {\n if (this.isShown) {\n this.hideDelayTimeout = setTimeout(() => {\n this.isShown = false;\n }, hideDelay);\n }\n }\n runPopper() {\n this.popperInstance = createPopper(this.buttonElement, this.submenuElement, {\n modifiers: [\n {\n name: 'offset',\n options: {\n offset: [-8, 0]\n }\n },\n {\n name: 'flip',\n enabled: false\n }\n ],\n placement: 'right-start'\n });\n }\n destroyPopper() {\n if (this.popperInstance) {\n this.popperInstance.destroy();\n this.popperInstance = null;\n }\n }\n focusOnSubmenu() {\n if (this.submenuContentElement.contains(document.activeElement)) {\n return;\n }\n const menuItems = Array.from(this.submenuContentElement.children);\n const nextFocusableElement = menuItems[0];\n nextFocusableElement.guxFocus();\n }\n componentDidLoad() {\n this.runPopper();\n }\n disconnectedCallback() {\n this.destroyPopper();\n }\n render() {\n return (h(Host, null, h(\"button\", { type: \"button\", class: \"gux-submenu-button\", role: \"menuitem\", tabIndex: -1, ref: el => (this.buttonElement = el), \"aria-haspopup\": \"true\", \"aria-expanded\": this.isShown.toString() }, h(\"span\", { class: \"gux-submenu-button-text\" }, this.label), h(\"gux-icon\", { class: \"gux-submenu-open-icon\", \"icon-name\": \"chevron-small-right\", decorative: true })), h(\"div\", { ref: el => (this.submenuElement = el), class: {\n 'gux-submenu-wrapper': true,\n 'gux-shown': this.isShown\n } }, h(\"div\", { role: \"menu\", class: \"gux-submenu-content\", ref: el => (this.submenuContentElement = el) }, h(\"slot\", null)))));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"isShown\": [\"forceUpdate\"]\n }; }\n};\nGuxSubmenu.style = guxSubmenuCss;\n\nexport { GuxSubmenu as gux_submenu };\n","const hideDelay = 250;\nconst moveFocusDelay = 100;\nfunction menuNavigation(event, currentElement) {\n switch (event.key) {\n case 'ArrowUp':\n event.stopPropagation();\n event.preventDefault();\n focusPreviousSiblingLoop(currentElement);\n break;\n case 'ArrowDown':\n event.stopPropagation();\n event.preventDefault();\n focusNextSiblingLoop(currentElement);\n break;\n case 'ArrowRight':\n event.preventDefault();\n break;\n case 'ArrowLeft':\n event.preventDefault();\n break;\n case 'Home':\n event.stopPropagation();\n event.preventDefault();\n focusFirstSibling(currentElement);\n break;\n case 'End':\n event.stopPropagation();\n event.preventDefault();\n focusLastSibling(currentElement);\n break;\n }\n}\nfunction focusFirstSibling(currentElement) {\n const firstFocusableElement = getFirstFocusableElement(currentElement);\n if (firstFocusableElement) {\n firstFocusableElement.guxFocus();\n }\n}\nfunction focusLastSibling(currentElement) {\n const lastFocusableElement = getLastFocusableElement(currentElement);\n if (lastFocusableElement) {\n lastFocusableElement.guxFocus();\n }\n}\nfunction focusPreviousSiblingLoop(currentElement) {\n const previousFocusableElement = currentElement.previousElementSibling;\n if (previousFocusableElement) {\n previousFocusableElement.guxFocus();\n }\n else {\n focusLastSibling(currentElement);\n }\n}\nfunction focusNextSiblingLoop(currentElement) {\n const nextFocusableElement = currentElement.nextElementSibling;\n if (nextFocusableElement) {\n nextFocusableElement.guxFocus();\n }\n else {\n focusFirstSibling(currentElement);\n }\n}\nfunction getFirstFocusableElement(currentElement) {\n let firstFocusableElement = currentElement;\n while (firstFocusableElement.previousElementSibling !== null) {\n firstFocusableElement = firstFocusableElement.previousElementSibling;\n }\n return firstFocusableElement;\n}\nfunction getLastFocusableElement(currentElement) {\n let lastFocusableElement = currentElement;\n while (lastFocusableElement.nextElementSibling !== null) {\n lastFocusableElement = lastFocusableElement.nextElementSibling;\n }\n return lastFocusableElement;\n}\n\nexport { menuNavigation as a, hideDelay as h, moveFocusDelay as m };\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[57],{133:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));const s={name:"@genesys/common-webcomponents",version:"2.59.1",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","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.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",i="spark-component";let l=!1;function c(t,e){const n=window.newrelic;n&&(l||(!function(){const t=window.newrelic;if(!t)return;const[e,n,i]=s.version.split(".");t.addPageAction(o,{fullVersion:"".concat(e,".").concat(n,".").concat(i),majorVersion:e,minorVersion:"".concat(e,".").concat(n)})}(),l=!0),n.addPageAction(i,Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:s.version})))}},88:function(t,e,n){"use strict";n.r(e),n.d(e,"gux_modal",(function(){return i}));var s=n(10),o=n(133);let i=class{constructor(t){Object(s.j)(this,t),this.guxdismiss=Object(s.d)(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!1}handleKeyEvent(t){"Escape"===t.key&&this.onDismissHandler(t)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){const t=this.trapFocus?"trapfocuson":"trapfocusoff",e="".concat(this.size,"-").concat(t);Object(o.a)(this.root,{variant:e})}componentDidLoad(){var t,e,n;const s=this.getInitialFocusElement();s?("GUX-BUTTON"===s.tagName&&s.focusElement(),null===(t=s.focus)||void 0===t||t.call(s)):this.dismissButton&&(null===(n=(e=this.dismissButton).focus)||void 0===n||n.call(e))}render(){const t=this.hasModalTitleSlot(),e=this.hasFooterButtons();return Object(s.h)("div",{class:"gux-modal"},Object(s.h)("div",{class:"gux-modal-container gux-".concat(this.size)},this.renderModalTrapFocusEl(),Object(s.h)("gux-dismiss-button-beta",{onClick:this.onDismissHandler.bind(this),ref:t=>this.dismissButton=t}),t&&Object(s.h)("h1",{class:"gux-modal-header"},Object(s.h)("slot",{name:"title"})),Object(s.h)("div",{class:{"gux-modal-content":!0,"gux-no-buttons":!e}},Object(s.h)("p",null,Object(s.h)("slot",{name:"content"}))),e&&Object(s.h)("div",{class:"gux-button-footer"},Object(s.h)("div",{class:"gux-left-align-buttons"},Object(s.h)("slot",{name:"left-align-buttons"})),Object(s.h)("div",{class:"gux-right-align-buttons"},Object(s.h)("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return Object(s.h)("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(t){var e;t.stopPropagation();this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(e=this.triggerElement)||void 0===e||e.focus())}get root(){return Object(s.g)(this)}};i.style="gux-modal .gux-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}gux-modal .gux-modal .gux-modal-container{box-shadow:0 8px 24px rgba(32, 41, 55, 0.4);position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px}gux-modal .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}gux-modal .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}gux-modal .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px 8px;overflow-y:auto}gux-modal .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}gux-modal .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}gux-modal .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}gux-modal .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){gux-modal .gux-modal .gux-modal-container.gux-small,gux-modal .gux-modal .gux-modal-container.gux-medium,gux-modal .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}.gux-modal-dark-theme{color:#fdfdfd}.gux-modal-dark-theme .gux-modal-container{background:#2e394c}.gux-dark-theme gux-modal{color:#fdfdfd}.gux-dark-theme gux-modal .gux-modal-container{background:#2e394c}gux-modal.gux-dark-theme{color:#fdfdfd}gux-modal.gux-dark-theme .gux-modal-container{background:#2e394c}"}}]);
2
+ //# sourceMappingURL=57.883726f5.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-modal.entry.js"],"names":["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","componentPageAction","libVersionReported","trackComponent","element","metadata","newrelic","window","major","minor","patch","split","addPageAction","fullVersion","concat","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase","GuxModal","constructor","hostRef","registerInstance","this","guxdismiss","createEvent","size","trapFocus","handleKeyEvent","event","key","onDismissHandler","connectedCallback","triggerElement","document","activeElement","componentWillLoad","trapFocusVariant","componentVariant","root","variant","componentDidLoad","_a","_b","_c","initialFocusElement","getInitialFocusElement","focusElement","focus","call","dismissButton","render","hasModalTitleSlot","hasFooterButtons","h","class","renderModalTrapFocusEl","onClick","bind","ref","el","onFocus","tabindex","initialFocus","querySelector","undefined","Boolean","stopPropagation","emit","defaultPrevented","remove","getElement","style"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,Q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MAAO,qBAAuBD,YAAE,MAAO,CAAEC,MAAO,0BAA4BD,YAAE,OAAQ,CAAE7G,KAAM,wBAA0B6G,YAAE,MAAO,CAAEC,MAAO,2BAA6BD,YAAE,OAAQ,CAAE7G,KAAM,0BAA6B8E,KAAKiC,0BACnT,CAGAA,yBACE,GAAIjC,KAAKI,UACP,OAAQ2B,YAAE,OAAQ,CAAEO,QAASA,IAAMtC,KAAK2B,cAAcF,QAASc,SAAU,KAE7E,CACAhB,yBACE,OAAOvB,KAAKwC,aACRxC,KAAKgB,KAAKyB,cAAczC,KAAKwC,mBAC7BE,CACN,CACAb,oBACE,OAAOc,QAAQ3C,KAAKgB,KAAKyB,cAAc,kBACzC,CACAX,mBACE,OAAQa,QAAQ3C,KAAKgB,KAAKyB,cAAc,iCACtCE,QAAQ3C,KAAKgB,KAAKyB,cAAc,gCACpC,CACAjC,iBAAiBF,GACf,IAAIa,EACJb,EAAMsC,kBACe5C,KAAKC,WAAW4C,OACnBC,mBAChB9C,KAAKgB,KAAK+B,SACqB,QAA9B5B,EAAKnB,KAAKU,sBAAmC,IAAPS,GAAyBA,EAAGM,QAEvE,CACA,QAAIT,GAAS,OAAOgC,YAAWhD,KAAO,GAExCJ,EAASqD,MA9EW,gqE","file":"static/js/57.883726f5.chunk.js","sourcesContent":["const name = \"@genesys/common-webcomponents\";\nconst version = \"2.59.1\";\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\t\"create-non-en-i18n-files\": \"node scripts/create-non-en-i18n-files.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","import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\n\nconst guxModalCss = \"gux-modal .gux-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}gux-modal .gux-modal .gux-modal-container{box-shadow:0 8px 24px rgba(32, 41, 55, 0.4);position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px}gux-modal .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}gux-modal .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}gux-modal .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}gux-modal .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px 8px;overflow-y:auto}gux-modal .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}gux-modal .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}gux-modal .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}gux-modal .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){gux-modal .gux-modal .gux-modal-container.gux-small,gux-modal .gux-modal .gux-modal-container.gux-medium,gux-modal .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}.gux-modal-dark-theme{color:#fdfdfd}.gux-modal-dark-theme .gux-modal-container{background:#2e394c}.gux-dark-theme gux-modal{color:#fdfdfd}.gux-dark-theme gux-modal .gux-modal-container{background:#2e394c}gux-modal.gux-dark-theme{color:#fdfdfd}gux-modal.gux-dark-theme .gux-modal-container{background:#2e394c}\";\n\nlet GuxModal = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.guxdismiss = createEvent(this, \"guxdismiss\", 7);\n /**\n * Indicates the size of the modal (small, medium or large)\n */\n this.size = 'dynamic';\n this.trapFocus = false;\n }\n handleKeyEvent(event) {\n if (event.key === 'Escape') {\n this.onDismissHandler(event);\n }\n }\n connectedCallback() {\n this.triggerElement = document.activeElement;\n }\n componentWillLoad() {\n const trapFocusVariant = this.trapFocus ? 'trapfocuson' : 'trapfocusoff';\n const componentVariant = `${this.size}-${trapFocusVariant}`;\n trackComponent(this.root, { variant: componentVariant });\n }\n componentDidLoad() {\n var _a, _b, _c;\n const initialFocusElement = this.getInitialFocusElement();\n if (initialFocusElement) {\n if (initialFocusElement.tagName === 'GUX-BUTTON') {\n initialFocusElement.focusElement();\n }\n // using .focus?.() instead of .focus() as a workaround for a Stencil bug in unit tests\n // https://github.com/ionic-team/stencil/issues/1964\n (_a = initialFocusElement.focus) === null || _a === void 0 ? void 0 : _a.call(initialFocusElement);\n }\n else if (this.dismissButton) {\n (_c = (_b = this.dismissButton).focus) === null || _c === void 0 ? void 0 : _c.call(_b);\n }\n }\n render() {\n const hasModalTitleSlot = this.hasModalTitleSlot();\n const hasFooterButtons = this.hasFooterButtons();\n return (h(\"div\", { class: \"gux-modal\" }, h(\"div\", { class: `gux-modal-container gux-${this.size}` }, this.renderModalTrapFocusEl(), h(\"gux-dismiss-button-beta\", { onClick: this.onDismissHandler.bind(this), ref: el => (this.dismissButton = el) }), hasModalTitleSlot && (h(\"h1\", { class: \"gux-modal-header\" }, h(\"slot\", { name: \"title\" }))), h(\"div\", { class: {\n 'gux-modal-content': true,\n 'gux-no-buttons': !hasFooterButtons\n } }, h(\"p\", null, h(\"slot\", { name: \"content\" }))), hasFooterButtons && (h(\"div\", { class: \"gux-button-footer\" }, h(\"div\", { class: \"gux-left-align-buttons\" }, h(\"slot\", { name: \"left-align-buttons\" })), h(\"div\", { class: \"gux-right-align-buttons\" }, h(\"slot\", { name: \"right-align-buttons\" })))), this.renderModalTrapFocusEl())));\n }\n // When trap-focus is enabled, focusing this element\n // will immediately redirect focus back to the dismiss button at the top of the modal.\n renderModalTrapFocusEl() {\n if (this.trapFocus) {\n return (h(\"span\", { onFocus: () => this.dismissButton.focus(), tabindex: \"0\" }));\n }\n }\n getInitialFocusElement() {\n return this.initialFocus\n ? this.root.querySelector(this.initialFocus)\n : undefined;\n }\n hasModalTitleSlot() {\n return Boolean(this.root.querySelector('[slot=\"title\"]'));\n }\n hasFooterButtons() {\n return (Boolean(this.root.querySelector('[slot=\"left-align-buttons\"]')) ||\n Boolean(this.root.querySelector('[slot=\"right-align-buttons\"]')));\n }\n onDismissHandler(event) {\n var _a;\n event.stopPropagation();\n const dismissEvent = this.guxdismiss.emit();\n if (!dismissEvent.defaultPrevented) {\n this.root.remove();\n (_a = this.triggerElement) === null || _a === void 0 ? void 0 : _a.focus();\n }\n }\n get root() { return getElement(this); }\n};\nGuxModal.style = guxModalCss;\n\nexport { GuxModal as gux_modal };\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[58],{133:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const s={name:"@genesys/common-webcomponents",version:"2.59.1",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","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.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"}},i="spark-library",o="spark-component";let c=!1;function r(t,e){const n=window.newrelic;n&&(c||(!function(){const t=window.newrelic;if(!t)return;const[e,n,o]=s.version.split(".");t.addPageAction(i,{fullVersion:"".concat(e,".").concat(n,".").concat(o),majorVersion:e,minorVersion:"".concat(e,".").concat(n)})}(),c=!0),n.addPageAction(o,Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:s.version})))}},89:function(t,e,n){"use strict";n.r(e),n.d(e,"gux_notification_toast",(function(){return o}));var s=n(10),i=n(133);let o=class{constructor(t){Object(s.j)(this,t),this.guxdismiss=Object(s.d)(this,"guxdismiss",7),this.accent="neutral"}async componentWillLoad(){Object(i.a)(this.root,{variant:this.accent})}render(){return Object(s.h)(s.a,null,Object(s.h)("div",{class:"gux-icon gux-".concat(this.accent)},Object(s.h)("slot",{name:"icon"})),Object(s.h)("div",{class:"gux-content"},Object(s.h)("div",{class:"gux-title"},Object(s.h)("slot",{name:"title"})),Object(s.h)("div",{class:"gux-message"},Object(s.h)("slot",{name:"message"}))),Object(s.h)("gux-dismiss-button-beta",{onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation();this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return Object(s.g)(this)}};o.style="gux-notification-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-notification-toast .gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}gux-notification-toast .gux-icon gux-icon{width:24px;height:24px}gux-notification-toast .gux-icon.gux-alert{color:#ea0b0b}gux-notification-toast .gux-icon.gux-warning{color:#ffae00}gux-notification-toast .gux-icon.gux-positive{color:#3c8527}gux-notification-toast .gux-icon.gux-neutral{color:#203b73}gux-notification-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:flex-start;order:0}gux-notification-toast .gux-content .gux-title{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;font-size:14px;line-height:20px;color:#2e394c;text-overflow:ellipsis}gux-notification-toast .gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:24px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}gux-notification-toast .gux-dismiss-button{position:absolute;top:8px;right:8px;padding:0;font-size:11px;cursor:pointer;background:transparent;border:none}gux-notification-toast .gux-dismiss-button gux-icon{width:12px;height:12px}"}}]);
2
+ //# sourceMappingURL=58.0b33271d.chunk.js.map