genesys-cloud-client-auth 0.0.2-build.37 → 1.0.0-develop.3

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 (359) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE +2 -2
  3. package/README.md +4 -2
  4. package/dist/asset-manifest.json +192 -163
  5. package/dist/deploy-info.json +22 -0
  6. package/dist/genesys-cloud-client-auth.browser.min.js +1 -1
  7. package/dist/index.html +1 -1
  8. package/dist/lib/cjs/version.js +1 -1
  9. package/dist/lib/es/version.js +1 -1
  10. package/dist/manifest.json +20 -0
  11. package/dist/static/css/main.045d96b0.css +2 -0
  12. package/dist/static/css/main.045d96b0.css.map +1 -0
  13. package/dist/static/js/1089.fb722233.chunk.js +2 -0
  14. package/dist/static/js/1089.fb722233.chunk.js.map +1 -0
  15. package/dist/static/js/1158.76a41325.chunk.js +2 -0
  16. package/dist/static/js/1158.76a41325.chunk.js.map +1 -0
  17. package/dist/static/js/1166.1486fbcd.chunk.js +2 -0
  18. package/dist/static/js/1166.1486fbcd.chunk.js.map +1 -0
  19. package/dist/static/js/131.3f61f67c.chunk.js +2 -0
  20. package/dist/static/js/131.3f61f67c.chunk.js.map +1 -0
  21. package/dist/static/js/1344.19a70535.chunk.js +2 -0
  22. package/dist/static/js/1344.19a70535.chunk.js.map +1 -0
  23. package/dist/static/js/1433.d57f6003.chunk.js +2 -0
  24. package/dist/static/js/1433.d57f6003.chunk.js.map +1 -0
  25. package/dist/static/js/1498.98292821.chunk.js +2 -0
  26. package/dist/static/js/1498.98292821.chunk.js.map +1 -0
  27. package/dist/static/js/1507.84125ab7.chunk.js +2 -0
  28. package/dist/static/js/1507.84125ab7.chunk.js.map +1 -0
  29. package/dist/static/js/1544.fcbc0609.chunk.js +2 -0
  30. package/dist/static/js/1544.fcbc0609.chunk.js.map +1 -0
  31. package/dist/static/js/1642.13e001a0.chunk.js +2 -0
  32. package/dist/static/js/1642.13e001a0.chunk.js.map +1 -0
  33. package/dist/static/js/1697.c1eba654.chunk.js +2 -0
  34. package/dist/static/js/1697.c1eba654.chunk.js.map +1 -0
  35. package/dist/static/js/1718.d222d0d2.chunk.js +2 -0
  36. package/dist/static/js/1718.d222d0d2.chunk.js.map +1 -0
  37. package/dist/static/js/1978.b9b0b630.chunk.js +2 -0
  38. package/dist/static/js/1978.b9b0b630.chunk.js.map +1 -0
  39. package/dist/static/js/2131.e90e6224.chunk.js +2 -0
  40. package/dist/static/js/2131.e90e6224.chunk.js.map +1 -0
  41. package/dist/static/js/2291.98b84fa5.chunk.js +2 -0
  42. package/dist/static/js/2291.98b84fa5.chunk.js.map +1 -0
  43. package/dist/static/js/2361.28c72454.chunk.js +2 -0
  44. package/dist/static/js/2361.28c72454.chunk.js.map +1 -0
  45. package/dist/static/js/2609.69b7ee3f.chunk.js +2 -0
  46. package/dist/static/js/2609.69b7ee3f.chunk.js.map +1 -0
  47. package/dist/static/js/2618.08776cf8.chunk.js +2 -0
  48. package/dist/static/js/2618.08776cf8.chunk.js.map +1 -0
  49. package/dist/static/js/2657.08f5fe94.chunk.js +2 -0
  50. package/dist/static/js/2657.08f5fe94.chunk.js.map +1 -0
  51. package/dist/static/js/2939.a53af515.chunk.js +2 -0
  52. package/dist/static/js/2939.a53af515.chunk.js.map +1 -0
  53. package/dist/static/js/2959.b68475ee.chunk.js +2 -0
  54. package/dist/static/js/2959.b68475ee.chunk.js.map +1 -0
  55. package/dist/static/js/3183.0483907e.chunk.js +2 -0
  56. package/dist/static/js/3183.0483907e.chunk.js.map +1 -0
  57. package/dist/static/js/3184.b5c03e4a.chunk.js +2 -0
  58. package/dist/static/js/3184.b5c03e4a.chunk.js.map +1 -0
  59. package/dist/static/js/3326.58fe8ed8.chunk.js +2 -0
  60. package/dist/static/js/3326.58fe8ed8.chunk.js.map +1 -0
  61. package/dist/static/js/3431.330e6907.chunk.js +2 -0
  62. package/dist/static/js/3431.330e6907.chunk.js.map +1 -0
  63. package/dist/static/js/3466.d53f9938.chunk.js +2 -0
  64. package/dist/static/js/3466.d53f9938.chunk.js.map +1 -0
  65. package/dist/static/js/3534.ee2022f0.chunk.js +2 -0
  66. package/dist/static/js/3534.ee2022f0.chunk.js.map +1 -0
  67. package/dist/static/js/3649.47036a0d.chunk.js +2 -0
  68. package/dist/static/js/3649.47036a0d.chunk.js.map +1 -0
  69. package/dist/static/js/3821.dbe9ef88.chunk.js +2 -0
  70. package/dist/static/js/3821.dbe9ef88.chunk.js.map +1 -0
  71. package/dist/static/js/3982.1668cd90.chunk.js +2 -0
  72. package/dist/static/js/3982.1668cd90.chunk.js.map +1 -0
  73. package/dist/static/js/4173.64f75901.chunk.js +2 -0
  74. package/dist/static/js/4173.64f75901.chunk.js.map +1 -0
  75. package/dist/static/js/4192.35098ff0.chunk.js +2 -0
  76. package/dist/static/js/4192.35098ff0.chunk.js.map +1 -0
  77. package/dist/static/js/4202.6a101f57.chunk.js +2 -0
  78. package/dist/static/js/4202.6a101f57.chunk.js.map +1 -0
  79. package/dist/static/js/4242.625e5aa9.chunk.js +2 -0
  80. package/dist/static/js/4242.625e5aa9.chunk.js.map +1 -0
  81. package/dist/static/js/4248.d69f59fd.chunk.js +2 -0
  82. package/dist/static/js/4248.d69f59fd.chunk.js.map +1 -0
  83. package/dist/static/js/4618.2b652181.chunk.js +2 -0
  84. package/dist/static/js/4618.2b652181.chunk.js.map +1 -0
  85. package/dist/static/js/4774.03877b96.chunk.js +2 -0
  86. package/dist/static/js/4774.03877b96.chunk.js.map +1 -0
  87. package/dist/static/js/4777.07210d5d.chunk.js +2 -0
  88. package/dist/static/js/4777.07210d5d.chunk.js.map +1 -0
  89. package/dist/static/js/4826.f3719274.chunk.js +2 -0
  90. package/dist/static/js/4826.f3719274.chunk.js.map +1 -0
  91. package/dist/static/js/501.3f46836b.chunk.js +2 -0
  92. package/dist/static/js/501.3f46836b.chunk.js.map +1 -0
  93. package/dist/static/js/5122.046ab4b7.chunk.js +2 -0
  94. package/dist/static/js/5122.046ab4b7.chunk.js.map +1 -0
  95. package/dist/static/js/5160.465b3a5d.chunk.js +2 -0
  96. package/dist/static/js/5160.465b3a5d.chunk.js.map +1 -0
  97. package/dist/static/js/546.40835589.chunk.js +2 -0
  98. package/dist/static/js/546.40835589.chunk.js.map +1 -0
  99. package/dist/static/js/5503.cc3b1fda.chunk.js +2 -0
  100. package/dist/static/js/5503.cc3b1fda.chunk.js.map +1 -0
  101. package/dist/static/js/5572.565c5d80.chunk.js +2 -0
  102. package/dist/static/js/5572.565c5d80.chunk.js.map +1 -0
  103. package/dist/static/js/599.a5cb72b5.chunk.js +2 -0
  104. package/dist/static/js/599.a5cb72b5.chunk.js.map +1 -0
  105. package/dist/static/js/6033.174d7635.chunk.js +2 -0
  106. package/dist/static/js/6033.174d7635.chunk.js.map +1 -0
  107. package/dist/static/js/6069.5c81dae7.chunk.js +2 -0
  108. package/dist/static/js/6069.5c81dae7.chunk.js.map +1 -0
  109. package/dist/static/js/6151.c5cf5a85.chunk.js +2 -0
  110. package/dist/static/js/6151.c5cf5a85.chunk.js.map +1 -0
  111. package/dist/static/js/6237.a9b576a4.chunk.js +2 -0
  112. package/dist/static/js/6237.a9b576a4.chunk.js.map +1 -0
  113. package/dist/static/js/6326.156b4248.chunk.js +2 -0
  114. package/dist/static/js/6326.156b4248.chunk.js.map +1 -0
  115. package/dist/static/js/6474.03947fd7.chunk.js +2 -0
  116. package/dist/static/js/6474.03947fd7.chunk.js.map +1 -0
  117. package/dist/static/js/6571.301eecac.chunk.js +2 -0
  118. package/dist/static/js/6571.301eecac.chunk.js.map +1 -0
  119. package/dist/static/js/6632.0676b230.chunk.js +2 -0
  120. package/dist/static/js/6632.0676b230.chunk.js.map +1 -0
  121. package/dist/static/js/6769.fcdb896c.chunk.js +2 -0
  122. package/dist/static/js/6769.fcdb896c.chunk.js.map +1 -0
  123. package/dist/static/js/6982.60585ab3.chunk.js +2 -0
  124. package/dist/static/js/6982.60585ab3.chunk.js.map +1 -0
  125. package/dist/static/js/7076.37939eb2.chunk.js +2 -0
  126. package/dist/static/js/7076.37939eb2.chunk.js.map +1 -0
  127. package/dist/static/js/7120.0b0ef311.chunk.js +3 -0
  128. package/dist/static/js/{20.2be3997f.chunk.js.LICENSE.txt → 7120.0b0ef311.chunk.js.LICENSE.txt} +1 -1
  129. package/dist/static/js/7120.0b0ef311.chunk.js.map +1 -0
  130. package/dist/static/js/7150.840301cb.chunk.js +2 -0
  131. package/dist/static/js/7150.840301cb.chunk.js.map +1 -0
  132. package/dist/static/js/7153.250bf93b.chunk.js +2 -0
  133. package/dist/static/js/7153.250bf93b.chunk.js.map +1 -0
  134. package/dist/static/js/7307.8656856b.chunk.js +2 -0
  135. package/dist/static/js/7307.8656856b.chunk.js.map +1 -0
  136. package/dist/static/js/742.64af67d8.chunk.js +2 -0
  137. package/dist/static/js/742.64af67d8.chunk.js.map +1 -0
  138. package/dist/static/js/754.b1c84197.chunk.js +2 -0
  139. package/dist/static/js/754.b1c84197.chunk.js.map +1 -0
  140. package/dist/static/js/7610.97a0a5b5.chunk.js +2 -0
  141. package/dist/static/js/7610.97a0a5b5.chunk.js.map +1 -0
  142. package/dist/static/js/765.2a78cffe.chunk.js +2 -0
  143. package/dist/static/js/765.2a78cffe.chunk.js.map +1 -0
  144. package/dist/static/js/7803.bfe8c40f.chunk.js +2 -0
  145. package/dist/static/js/7803.bfe8c40f.chunk.js.map +1 -0
  146. package/dist/static/js/7895.629e8650.chunk.js +2 -0
  147. package/dist/static/js/7895.629e8650.chunk.js.map +1 -0
  148. package/dist/static/js/8025.ecb1d6bc.chunk.js +2 -0
  149. package/dist/static/js/8025.ecb1d6bc.chunk.js.map +1 -0
  150. package/dist/static/js/8086.ef9f2d3b.chunk.js +2 -0
  151. package/dist/static/js/8086.ef9f2d3b.chunk.js.map +1 -0
  152. package/dist/static/js/8105.46b996bf.chunk.js +2 -0
  153. package/dist/static/js/8105.46b996bf.chunk.js.map +1 -0
  154. package/dist/static/js/819.a55f578b.chunk.js +2 -0
  155. package/dist/static/js/819.a55f578b.chunk.js.map +1 -0
  156. package/dist/static/js/8300.e15dbcd8.chunk.js +2 -0
  157. package/dist/static/js/8300.e15dbcd8.chunk.js.map +1 -0
  158. package/dist/static/js/8324.b769efff.chunk.js +2 -0
  159. package/dist/static/js/8324.b769efff.chunk.js.map +1 -0
  160. package/dist/static/js/8366.b2c2daee.chunk.js +2 -0
  161. package/dist/static/js/8366.b2c2daee.chunk.js.map +1 -0
  162. package/dist/static/js/8524.95396ee8.chunk.js +2 -0
  163. package/dist/static/js/8524.95396ee8.chunk.js.map +1 -0
  164. package/dist/static/js/8644.c87452a5.chunk.js +2 -0
  165. package/dist/static/js/8644.c87452a5.chunk.js.map +1 -0
  166. package/dist/static/js/8674.d4aa33fd.chunk.js +2 -0
  167. package/dist/static/js/8674.d4aa33fd.chunk.js.map +1 -0
  168. package/dist/static/js/8717.76b643a4.chunk.js +2 -0
  169. package/dist/static/js/8717.76b643a4.chunk.js.map +1 -0
  170. package/dist/static/js/872.5c96c93a.chunk.js +2 -0
  171. package/dist/static/js/872.5c96c93a.chunk.js.map +1 -0
  172. package/dist/static/js/8762.d3fad692.chunk.js +2 -0
  173. package/dist/static/js/8762.d3fad692.chunk.js.map +1 -0
  174. package/dist/static/js/8782.af6b6665.chunk.js +3 -0
  175. package/dist/static/js/{0.71c0b4a8.chunk.js.LICENSE.txt → 8782.af6b6665.chunk.js.LICENSE.txt} +0 -0
  176. package/dist/static/js/8782.af6b6665.chunk.js.map +1 -0
  177. package/dist/static/js/894.a8fe019e.chunk.js +2 -0
  178. package/dist/static/js/894.a8fe019e.chunk.js.map +1 -0
  179. package/dist/static/js/9057.702da8f9.chunk.js +2 -0
  180. package/dist/static/js/9057.702da8f9.chunk.js.map +1 -0
  181. package/dist/static/js/9090.60a5cb5b.chunk.js +2 -0
  182. package/dist/static/js/9090.60a5cb5b.chunk.js.map +1 -0
  183. package/dist/static/js/9117.200d2100.chunk.js +2 -0
  184. package/dist/static/js/9117.200d2100.chunk.js.map +1 -0
  185. package/dist/static/js/9131.d5d0ab82.chunk.js +2 -0
  186. package/dist/static/js/9131.d5d0ab82.chunk.js.map +1 -0
  187. package/dist/static/js/9296.e374c7dc.chunk.js +2 -0
  188. package/dist/static/js/9296.e374c7dc.chunk.js.map +1 -0
  189. package/dist/static/js/932.4f62c387.chunk.js +2 -0
  190. package/dist/static/js/932.4f62c387.chunk.js.map +1 -0
  191. package/dist/static/js/9584.967e5482.chunk.js +2 -0
  192. package/dist/static/js/9584.967e5482.chunk.js.map +1 -0
  193. package/dist/static/js/9679.87a204b1.chunk.js +2 -0
  194. package/dist/static/js/9679.87a204b1.chunk.js.map +1 -0
  195. package/dist/static/js/9745.63a6678a.chunk.js +2 -0
  196. package/dist/static/js/9745.63a6678a.chunk.js.map +1 -0
  197. package/dist/static/js/9750.1310ef55.chunk.js +2 -0
  198. package/dist/static/js/9750.1310ef55.chunk.js.map +1 -0
  199. package/dist/static/js/main.fd57b2ac.js +3 -0
  200. package/dist/static/js/{5.8b318946.chunk.js.LICENSE.txt → main.fd57b2ac.js.LICENSE.txt} +2 -0
  201. package/dist/static/js/main.fd57b2ac.js.map +1 -0
  202. package/dist/static/media/{getFetch.582d29c4.cjs → getFetch.c780682470504fffbd04.cjs} +0 -0
  203. package/dist/v1/genesys-cloud-client-auth.browser.min.js +2 -0
  204. package/dist/v1.0.0/genesys-cloud-client-auth.browser.min.js +2 -0
  205. package/package.json +73 -71
  206. package/dist/static/css/main.3508dc5f.chunk.css +0 -2
  207. package/dist/static/css/main.3508dc5f.chunk.css.map +0 -1
  208. package/dist/static/js/0.71c0b4a8.chunk.js +0 -3
  209. package/dist/static/js/0.71c0b4a8.chunk.js.map +0 -1
  210. package/dist/static/js/1.8399f811.chunk.js +0 -2
  211. package/dist/static/js/1.8399f811.chunk.js.map +0 -1
  212. package/dist/static/js/10.8fb6019a.chunk.js +0 -2
  213. package/dist/static/js/10.8fb6019a.chunk.js.map +0 -1
  214. package/dist/static/js/11.aa22b687.chunk.js +0 -2
  215. package/dist/static/js/11.aa22b687.chunk.js.map +0 -1
  216. package/dist/static/js/12.586642ff.chunk.js +0 -2
  217. package/dist/static/js/12.586642ff.chunk.js.map +0 -1
  218. package/dist/static/js/13.c0c5fd67.chunk.js +0 -2
  219. package/dist/static/js/13.c0c5fd67.chunk.js.map +0 -1
  220. package/dist/static/js/14.c3e0d008.chunk.js +0 -2
  221. package/dist/static/js/14.c3e0d008.chunk.js.map +0 -1
  222. package/dist/static/js/15.20587752.chunk.js +0 -2
  223. package/dist/static/js/15.20587752.chunk.js.map +0 -1
  224. package/dist/static/js/16.c19b0b1c.chunk.js +0 -2
  225. package/dist/static/js/16.c19b0b1c.chunk.js.map +0 -1
  226. package/dist/static/js/17.06cd7ac8.chunk.js +0 -2
  227. package/dist/static/js/17.06cd7ac8.chunk.js.map +0 -1
  228. package/dist/static/js/18.e02b6cd8.chunk.js +0 -2
  229. package/dist/static/js/18.e02b6cd8.chunk.js.map +0 -1
  230. package/dist/static/js/19.2d45340c.chunk.js +0 -2
  231. package/dist/static/js/19.2d45340c.chunk.js.map +0 -1
  232. package/dist/static/js/20.2be3997f.chunk.js +0 -3
  233. package/dist/static/js/20.2be3997f.chunk.js.map +0 -1
  234. package/dist/static/js/21.90337a55.chunk.js +0 -2
  235. package/dist/static/js/21.90337a55.chunk.js.map +0 -1
  236. package/dist/static/js/22.0c42f6ee.chunk.js +0 -2
  237. package/dist/static/js/22.0c42f6ee.chunk.js.map +0 -1
  238. package/dist/static/js/23.96d71d61.chunk.js +0 -3
  239. package/dist/static/js/23.96d71d61.chunk.js.LICENSE.txt +0 -17
  240. package/dist/static/js/23.96d71d61.chunk.js.map +0 -1
  241. package/dist/static/js/24.c8a6aef1.chunk.js +0 -2
  242. package/dist/static/js/24.c8a6aef1.chunk.js.map +0 -1
  243. package/dist/static/js/25.1549af44.chunk.js +0 -2
  244. package/dist/static/js/25.1549af44.chunk.js.map +0 -1
  245. package/dist/static/js/26.f5920959.chunk.js +0 -2
  246. package/dist/static/js/26.f5920959.chunk.js.map +0 -1
  247. package/dist/static/js/27.4c4b5337.chunk.js +0 -2
  248. package/dist/static/js/27.4c4b5337.chunk.js.map +0 -1
  249. package/dist/static/js/28.e4ae1c5b.chunk.js +0 -2
  250. package/dist/static/js/28.e4ae1c5b.chunk.js.map +0 -1
  251. package/dist/static/js/29.c8bcd088.chunk.js +0 -2
  252. package/dist/static/js/29.c8bcd088.chunk.js.map +0 -1
  253. package/dist/static/js/30.3f776fe2.chunk.js +0 -2
  254. package/dist/static/js/30.3f776fe2.chunk.js.map +0 -1
  255. package/dist/static/js/31.295a0045.chunk.js +0 -2
  256. package/dist/static/js/31.295a0045.chunk.js.map +0 -1
  257. package/dist/static/js/32.c6495395.chunk.js +0 -2
  258. package/dist/static/js/32.c6495395.chunk.js.map +0 -1
  259. package/dist/static/js/33.bc3f2778.chunk.js +0 -2
  260. package/dist/static/js/33.bc3f2778.chunk.js.map +0 -1
  261. package/dist/static/js/34.9c6f42a2.chunk.js +0 -2
  262. package/dist/static/js/34.9c6f42a2.chunk.js.map +0 -1
  263. package/dist/static/js/35.080ac296.chunk.js +0 -2
  264. package/dist/static/js/35.080ac296.chunk.js.map +0 -1
  265. package/dist/static/js/36.30926ca6.chunk.js +0 -2
  266. package/dist/static/js/36.30926ca6.chunk.js.map +0 -1
  267. package/dist/static/js/37.535e0baf.chunk.js +0 -2
  268. package/dist/static/js/37.535e0baf.chunk.js.map +0 -1
  269. package/dist/static/js/38.c6142d9d.chunk.js +0 -2
  270. package/dist/static/js/38.c6142d9d.chunk.js.map +0 -1
  271. package/dist/static/js/39.4e5e9e70.chunk.js +0 -2
  272. package/dist/static/js/39.4e5e9e70.chunk.js.map +0 -1
  273. package/dist/static/js/40.67f8a4cc.chunk.js +0 -2
  274. package/dist/static/js/40.67f8a4cc.chunk.js.map +0 -1
  275. package/dist/static/js/41.8dc69989.chunk.js +0 -2
  276. package/dist/static/js/41.8dc69989.chunk.js.map +0 -1
  277. package/dist/static/js/42.a8312848.chunk.js +0 -2
  278. package/dist/static/js/42.a8312848.chunk.js.map +0 -1
  279. package/dist/static/js/43.ce512d00.chunk.js +0 -2
  280. package/dist/static/js/43.ce512d00.chunk.js.map +0 -1
  281. package/dist/static/js/44.197bff30.chunk.js +0 -2
  282. package/dist/static/js/44.197bff30.chunk.js.map +0 -1
  283. package/dist/static/js/45.9c281539.chunk.js +0 -2
  284. package/dist/static/js/45.9c281539.chunk.js.map +0 -1
  285. package/dist/static/js/46.8625525a.chunk.js +0 -2
  286. package/dist/static/js/46.8625525a.chunk.js.map +0 -1
  287. package/dist/static/js/47.89e00f8b.chunk.js +0 -2
  288. package/dist/static/js/47.89e00f8b.chunk.js.map +0 -1
  289. package/dist/static/js/48.1150630c.chunk.js +0 -2
  290. package/dist/static/js/48.1150630c.chunk.js.map +0 -1
  291. package/dist/static/js/49.d628f230.chunk.js +0 -2
  292. package/dist/static/js/49.d628f230.chunk.js.map +0 -1
  293. package/dist/static/js/5.8b318946.chunk.js +0 -3
  294. package/dist/static/js/5.8b318946.chunk.js.map +0 -1
  295. package/dist/static/js/50.f54ba3ed.chunk.js +0 -2
  296. package/dist/static/js/50.f54ba3ed.chunk.js.map +0 -1
  297. package/dist/static/js/51.b1d2a0f9.chunk.js +0 -2
  298. package/dist/static/js/51.b1d2a0f9.chunk.js.map +0 -1
  299. package/dist/static/js/52.d9cdf428.chunk.js +0 -2
  300. package/dist/static/js/52.d9cdf428.chunk.js.map +0 -1
  301. package/dist/static/js/53.eb9374c8.chunk.js +0 -2
  302. package/dist/static/js/53.eb9374c8.chunk.js.map +0 -1
  303. package/dist/static/js/54.0246cd90.chunk.js +0 -2
  304. package/dist/static/js/54.0246cd90.chunk.js.map +0 -1
  305. package/dist/static/js/55.f6407d07.chunk.js +0 -2
  306. package/dist/static/js/55.f6407d07.chunk.js.map +0 -1
  307. package/dist/static/js/56.030f4c2c.chunk.js +0 -2
  308. package/dist/static/js/56.030f4c2c.chunk.js.map +0 -1
  309. package/dist/static/js/57.106fdb37.chunk.js +0 -2
  310. package/dist/static/js/57.106fdb37.chunk.js.map +0 -1
  311. package/dist/static/js/58.9efa9671.chunk.js +0 -2
  312. package/dist/static/js/58.9efa9671.chunk.js.map +0 -1
  313. package/dist/static/js/59.3b47d57a.chunk.js +0 -2
  314. package/dist/static/js/59.3b47d57a.chunk.js.map +0 -1
  315. package/dist/static/js/6.8ac679aa.chunk.js +0 -2
  316. package/dist/static/js/6.8ac679aa.chunk.js.map +0 -1
  317. package/dist/static/js/60.0335fabd.chunk.js +0 -2
  318. package/dist/static/js/60.0335fabd.chunk.js.map +0 -1
  319. package/dist/static/js/61.cf7f57fc.chunk.js +0 -2
  320. package/dist/static/js/61.cf7f57fc.chunk.js.map +0 -1
  321. package/dist/static/js/62.bb858ee5.chunk.js +0 -2
  322. package/dist/static/js/62.bb858ee5.chunk.js.map +0 -1
  323. package/dist/static/js/63.107ffad7.chunk.js +0 -2
  324. package/dist/static/js/63.107ffad7.chunk.js.map +0 -1
  325. package/dist/static/js/64.a485a8c8.chunk.js +0 -2
  326. package/dist/static/js/64.a485a8c8.chunk.js.map +0 -1
  327. package/dist/static/js/65.3593d4bb.chunk.js +0 -2
  328. package/dist/static/js/65.3593d4bb.chunk.js.map +0 -1
  329. package/dist/static/js/66.9202016a.chunk.js +0 -2
  330. package/dist/static/js/66.9202016a.chunk.js.map +0 -1
  331. package/dist/static/js/67.45ef3717.chunk.js +0 -2
  332. package/dist/static/js/67.45ef3717.chunk.js.map +0 -1
  333. package/dist/static/js/68.e638cd4b.chunk.js +0 -2
  334. package/dist/static/js/68.e638cd4b.chunk.js.map +0 -1
  335. package/dist/static/js/69.b404f87e.chunk.js +0 -2
  336. package/dist/static/js/69.b404f87e.chunk.js.map +0 -1
  337. package/dist/static/js/7.a488d90e.chunk.js +0 -2
  338. package/dist/static/js/7.a488d90e.chunk.js.map +0 -1
  339. package/dist/static/js/70.32ae1b4a.chunk.js +0 -2
  340. package/dist/static/js/70.32ae1b4a.chunk.js.map +0 -1
  341. package/dist/static/js/71.14e7b1f4.chunk.js +0 -2
  342. package/dist/static/js/71.14e7b1f4.chunk.js.map +0 -1
  343. package/dist/static/js/72.6f860cde.chunk.js +0 -2
  344. package/dist/static/js/72.6f860cde.chunk.js.map +0 -1
  345. package/dist/static/js/73.8839e5fd.chunk.js +0 -3
  346. package/dist/static/js/73.8839e5fd.chunk.js.LICENSE.txt +0 -11
  347. package/dist/static/js/73.8839e5fd.chunk.js.map +0 -1
  348. package/dist/static/js/74.da2b0a38.chunk.js +0 -2
  349. package/dist/static/js/74.da2b0a38.chunk.js.map +0 -1
  350. package/dist/static/js/8.ab0b80c1.chunk.js +0 -2
  351. package/dist/static/js/8.ab0b80c1.chunk.js.map +0 -1
  352. package/dist/static/js/9.12e26806.chunk.js +0 -2
  353. package/dist/static/js/9.12e26806.chunk.js.map +0 -1
  354. package/dist/static/js/main.4aab9f6d.chunk.js +0 -2
  355. package/dist/static/js/main.4aab9f6d.chunk.js.map +0 -1
  356. package/dist/static/js/polyfills-css-shim.4a931322.chunk.js +0 -2
  357. package/dist/static/js/polyfills-css-shim.4a931322.chunk.js.map +0 -1
  358. package/dist/static/js/runtime-main.847af914.js +0 -2
  359. package/dist/static/js/runtime-main.847af914.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[4777],{4777:function(e,t,n){n.r(t),n.d(t,{gux_form_field_color_beta:function(){return f}});var i=n(5671),r=n(3144),o=n(4723),s=n(4351),c=n(5618),a=n(997),l=n(8125),u=n(5361),d=n(2457),p=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},f=function(){function e(t){(0,i.Z)(this,e),(0,o.r)(this,t),this.hasError=!1}return(0,r.Z)(e,[{key:"onMutation",value:function(){this.hasError=(0,d.h)(this.root)}},{key:"componentWillLoad",value:function(){this.setInput(),this.setLabel(),this.hasError=(0,d.h)(this.root),(0,l.t)(this.root,{variant:this.variant})}},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}},{key:"render",value:function(){var e=this;return(0,o.h)(u.a,{labelPosition:this.computedLabelPosition},(0,o.h)(u.G,{position:this.computedLabelPosition,required:this.required},(0,o.h)("slot",{name:"label",onSlotchange:function(){return e.setLabel()}})),(0,o.h)("div",{class:"gux-input-and-error-container"},(0,o.h)("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},(0,o.h)("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},(0,o.h)("slot",{name:"input",onSlotchange:function(){return e.setInput()}}))),(0,o.h)(d.G,{hasError:this.hasError},(0,o.h)("slot",{name:"error"}))))}},{key:"variant",get:function(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}},{key:"setInput",value:function(){var e=this;this.input=this.root.querySelector('input[type="color"][slot="input"]'),(0,a.p)(this.input),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=(0,c.o)(this.input,(function(t){e.disabled=t})),this.requiredObserver=(0,c.a)(this.input,(function(t){e.required=t})),(0,d.v)(this.root,this.input)}},{key:"setLabel",value:function(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=(0,d.g)(this.label,this.labelPosition)}},{key:"root",get:function(){return(0,o.g)(this)}}]),e}();p([(0,s.O)({childList:!0,subtree:!0})],f.prototype,"onMutation",null),f.style=".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#33383d}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#33383d}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#33383d;text-align:right;text-overflow:ellipsis;background-color:#f8f8f8;border:none;outline:none}::slotted(input)::placeholder{color:#666f7b;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:#ea0b0b}"},5361:function(e,t,n){n.d(t,{G:function(){return s},a:function(){return o}});var i=n(4942),r=n(4723),o=function(e,t){var n=e.labelPosition;return(0,r.h)("div",{class:(0,i.Z)({"gux-form-field-container":!0},"gux-".concat(n),!0)},t)},s=function(e,t){var n,o=e.position,s=e.required;return(0,r.h)("div",{class:(n={"gux-form-field-label":!0},(0,i.Z)(n,"gux-".concat(o),!0),(0,i.Z)(n,"gux-required",s),n)},t)}},2457:function(e,t,n){n.d(t,{G:function(){return c},a:function(){return u},c:function(){return a},g:function(){return d},h:function(){return l},v:function(){return p}});var i=n(4723),r=n(1782),o=n(2183),s=n(5569),c=function(e,t){var n=e.hasError;return(0,i.h)("div",{class:{"gux-form-field-error":!0,"gux-show":n}},(0,i.h)("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),(0,i.h)("div",{class:"gux-message"},t))};function a(e){(0,s.s)(e,"",!0)}function l(e){return Boolean(e.querySelector('[slot="error"]'))}function u(e){return Boolean(e.value)}function d(e,t){if(e)return["above","beside","screenreader"].includes(t)?t:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}function p(e,t){if(function(e){return Boolean(e.querySelector('label[slot="label"]'))}(e)){var n=e.querySelector('label[slot="label"]'),i=Boolean(t.hasAttribute("id")),s=Boolean(n.hasAttribute("for"));if(!i&&s)(0,o.l)(e.tagName.toLowerCase(),'A "for" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the "for" attribute from the label. If there is no input id and no "for" attribute provided, the component will automatically generate an id and link it to the "for" attribute.');else if(i)if(i&&!s){var c=t.getAttribute("id");n.setAttribute("for",c)}else i&&s&&t.getAttribute("id")!==n.getAttribute("for")&&(0,o.l)(e.tagName.toLowerCase(),"The input id and label for attribute should match.");else{var a=(0,r.r)("gux-form-field-input");t.setAttribute("id",a),n.setAttribute("for",a)}}else(0,o.l)(e.tagName.toLowerCase(),'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to "screenreader" to visually hide the label.');if(l(e)){var u=e.querySelector('[slot="error"]'),d=(0,r.r)("gux-form-field-error");u.setAttribute("id",d),t.setAttribute("aria-describedby",d)}else t.getAttribute("aria-describedby")&&t.getAttribute("aria-describedby").startsWith("gux-form-field-error")&&t.removeAttribute("aria-describedby")}},2183:function(e,t,n){function i(e,t){setTimeout((function(){throw new Error("[".concat(e,"] ").concat(t))}),0)}function r(e,t){setTimeout((function(){console.warn("[".concat(e,"] ").concat(t))}),0)}n.d(t,{a:function(){return r},l:function(){return i}})},5618:function(e,t,n){function i(e,t){var n=new MutationObserver((function(n){n.forEach((function(){t(e.hidden)}))}));return n.observe(e,{attributes:!0,attributeFilter:["hidden"]}),n}function r(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"disabled"===n.attributeName&&t(e.disabled)}))}));return n.observe(e,{attributes:!0}),n}function o(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"required"===n.attributeName&&t(e.required)}))}));return n.observe(e,{attributes:!0}),n}n.d(t,{a:function(){return o},b:function(){return i},o:function(){return r}})},4351:function(e,t,n){n.d(t,{O:function(){return r}});var i=n(4723);function r(e){return function(t,n){var r,o=t.connectedCallback,s=t.disconnectedCallback;t.connectedCallback=function(){var t=(0,i.g)(this),s=this[n];return(r=new MutationObserver(s.bind(this))).observe(t,e),o&&o.call(this)},t.disconnectedCallback=function(){return r.disconnect(),s&&s.call(this)}}}},997:function(e,t,n){function i(e){e.addEventListener("invalid",(function(e){e.preventDefault()}))}n.d(t,{p:function(){return i}})},1782:function(e,t,n){function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"gux";return"".concat(e,"-").concat(Math.random().toString(36).substr(2,10))}n.d(t,{r:function(){return i}})},5569:function(e,t,n){n.d(t,{s:function(){return r}});var i=n(6863);function r(e,t,n){e.value=t,(0,i.s)(e,"input"),(0,i.s)(e,"change"),n&&e.focus()}},6863:function(e,t,n){function i(e,t){switch(t){case"change":return e.dispatchEvent(new InputEvent("change",{bubbles:!0}));case"input":return e.dispatchEvent(new InputEvent("input",{bubbles:!0}))}}n.d(t,{s:function(){return i}})},8125:function(e,t,n){n.d(t,{t:function(){return c}});var i=n(885),r={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},o="spark-library",s=!1;function c(e,t){var n=window.newrelic;n&&(s||(!function(){var e=window.newrelic;if(!e)return;var t=r.version.split("."),n=(0,i.Z)(t,3),s=n[0],c=n[1],a=n[2];e.addPageAction(o,{fullVersion:"".concat(s,".").concat(c,".").concat(a),majorVersion:s,minorVersion:"".concat(s,".").concat(c)})}(),s=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:r.version})))}}}]);
2
+ //# sourceMappingURL=4777.07210d5d.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/4777.07210d5d.chunk.js","mappings":"wQAcIA,EAAoD,SAAUC,EAAYC,EAAQC,EAAKC,GACzF,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,kBAAZQ,SAAoD,oBAArBA,QAAQC,SAChDJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QAE9C,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KACtCT,EAAIJ,EAAWa,MACjBL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GACzE,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,GAE1DO,EAAiB,WACnB,WAAYC,IAAS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ACA,sBAsBJ,cAAe,CACf,oBAAqB,CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBAEtBC,GAAqB,EAKzB,SAAS1J,EAAegE,EAAS2F,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAF,KASP,WACE,IAAME,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BtD,EAAYC,QAAQuD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAL,EAASM,cAAcT,EAAmB,CACxCU,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAZ,GAAqB,GAEvBE,EAASM,cAlBiB,kBAkBkBjL,OAAOsL,OAAOtL,OAAOsL,OAAO,GAAIZ,GAAW,CAAEnG,UAAWQ,EAAQlB,QAAQ7B,cAAesF,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-color-beta.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-label-49e29743.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field.servce-8bb23dbf.js","../node_modules/@genesys/common-webcomponents/dist/esm/log-error-3d08c2b1.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-attribute-change-2b01c315.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-mutation-678b39ea.js","../node_modules/@genesys/common-webcomponents/dist/esm/prevent-browser-validation-styling-d16c3f4c.js","../node_modules/@genesys/common-webcomponents/dist/esm/random-html-id-8e3f658c.js","../node_modules/@genesys/common-webcomponents/dist/esm/set-input-value-5adeaccc.js","../node_modules/@genesys/common-webcomponents/dist/esm/simulate-native-event-ac69961f.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { O as OnMutation } from './on-mutation-678b39ea.js';\nimport { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';\nimport { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\nimport { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-49e29743.js';\nimport { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.servce-8bb23dbf.js';\nimport './random-html-id-8e3f658c.js';\nimport './log-error-3d08c2b1.js';\nimport './set-input-value-5adeaccc.js';\nimport './simulate-native-event-ac69961f.js';\n\nconst guxFormFieldColorCss = \".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#33383d}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#33383d}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#33383d;text-align:right;text-overflow:ellipsis;background-color:#f8f8f8;border:none;outline:none}::slotted(input)::placeholder{color:#666f7b;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:#ea0b0b}\";\n\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\")\n r = Reflect.decorate(decorators, target, key, desc);\n else\n for (var i = decorators.length - 1; i >= 0; i--)\n if (d = decorators[i])\n r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nlet GuxFormFieldColor = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.hasError = false;\n }\n onMutation() {\n this.hasError = hasErrorSlot(this.root);\n }\n componentWillLoad() {\n this.setInput();\n this.setLabel();\n this.hasError = hasErrorSlot(this.root);\n trackComponent(this.root, { variant: this.variant });\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n this.requiredObserver.disconnect();\n }\n render() {\n return (h(GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, h(GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, h(\"slot\", { name: \"label\", onSlotchange: () => this.setLabel() })), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"div\", { class: {\n 'gux-input': true,\n 'gux-input-error': this.hasError\n } }, h(\"div\", { class: {\n 'gux-input-container': true,\n 'gux-disabled': this.disabled\n } }, h(\"slot\", { name: \"input\", onSlotchange: () => this.setInput() }))), h(GuxFormFieldError, { hasError: this.hasError }, h(\"slot\", { name: \"error\" })))));\n }\n get variant() {\n return this.labelPosition ? this.labelPosition.toLowerCase() : 'none';\n }\n setInput() {\n this.input = this.root.querySelector('input[type=\"color\"][slot=\"input\"]');\n preventBrowserValidationStyling(this.input);\n this.disabled = this.input.disabled;\n this.required = this.input.required;\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n this.requiredObserver = onRequiredChange(this.input, (required) => {\n this.required = required;\n });\n validateFormIds(this.root, this.input);\n }\n setLabel() {\n this.label = this.root.querySelector('label[slot=\"label\"]');\n this.computedLabelPosition = getComputedLabelPosition(this.label, this.labelPosition);\n }\n get root() { return getElement(this); }\n};\n__decorate([\n OnMutation({ childList: true, subtree: true })\n], GuxFormFieldColor.prototype, \"onMutation\", null);\nGuxFormFieldColor.style = guxFormFieldColorCss;\n\nexport { GuxFormFieldColor as gux_form_field_color_beta };\n","import { h } from './index-5f3763b4.js';\n\nconst GuxFormFieldContainer = ({ labelPosition }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-container': true,\n [`gux-${labelPosition}`]: true\n } }, children));\n};\n\nconst GuxFormFieldLabel = ({ position, required }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-label': true,\n [`gux-${position}`]: true,\n 'gux-required': required\n } }, children));\n};\n\nexport { GuxFormFieldLabel as G, GuxFormFieldContainer as a };\n","import { h } from './index-5f3763b4.js';\nimport { r as randomHTMLId } from './random-html-id-8e3f658c.js';\nimport { l as logError } from './log-error-3d08c2b1.js';\nimport { s as setInputValue } from './set-input-value-5adeaccc.js';\n\nconst GuxFormFieldError = ({ hasError }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-error': true,\n 'gux-show': hasError\n } },\n h(\"gux-icon\", { \"icon-name\": \"alert-warning-octogon\", decorative: true }),\n h(\"div\", { class: \"gux-message\" }, children)));\n};\n\nfunction clearInput(input) {\n setInputValue(input, '', true);\n}\nfunction hasErrorSlot(root) {\n return Boolean(root.querySelector('[slot=\"error\"]'));\n}\nfunction hasContent(input) {\n return Boolean(input.value);\n}\nfunction getComputedLabelPosition(label, labelPosition) {\n if (label) {\n if (['above', 'beside', 'screenreader'].includes(labelPosition)) {\n return labelPosition;\n }\n else if (label.offsetWidth > 1 && label.offsetWidth < 40) {\n return 'beside';\n }\n else {\n return 'above';\n }\n }\n}\nfunction validateFormIds(root, input) {\n if (hasLabelSlot(root)) {\n const label = root.querySelector('label[slot=\"label\"]');\n const inputHasId = Boolean(input.hasAttribute('id'));\n const labelHasFor = Boolean(label.hasAttribute('for'));\n if (!inputHasId && labelHasFor) {\n logError(root.tagName.toLowerCase(), 'A \"for\" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the \"for\" attribute from the label. If there is no input id and no \"for\" attribute provided, the component will automatically generate an id and link it to the \"for\" attribute.');\n }\n else if (!inputHasId) {\n const defaultInputId = randomHTMLId('gux-form-field-input');\n input.setAttribute('id', defaultInputId);\n label.setAttribute('for', defaultInputId);\n }\n else if (inputHasId && !labelHasFor) {\n const forId = input.getAttribute('id');\n label.setAttribute('for', forId);\n }\n else if (inputHasId &&\n labelHasFor &&\n input.getAttribute('id') !== label.getAttribute('for')) {\n logError(root.tagName.toLowerCase(), 'The input id and label for attribute should match.');\n }\n }\n else {\n logError(root.tagName.toLowerCase(), 'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to \"screenreader\" to visually hide the label.');\n }\n if (hasErrorSlot(root)) {\n const error = root.querySelector('[slot=\"error\"]');\n const errorId = randomHTMLId('gux-form-field-error');\n error.setAttribute('id', errorId);\n input.setAttribute('aria-describedby', errorId);\n }\n else if (input.getAttribute('aria-describedby') &&\n input.getAttribute('aria-describedby').startsWith('gux-form-field-error')) {\n input.removeAttribute('aria-describedby');\n }\n}\nfunction hasLabelSlot(root) {\n return Boolean(root.querySelector('label[slot=\"label\"]'));\n}\n\nexport { GuxFormFieldError as G, hasContent as a, clearInput as c, getComputedLabelPosition as g, hasErrorSlot as h, validateFormIds as v };\n","function logError(component, message) {\n setTimeout(() => {\n throw new Error(`[${component}] ${message}`);\n }, 0);\n}\nfunction logWarn(component, message) {\n setTimeout(() => {\n console.warn(`[${component}] ${message}`);\n }, 0);\n}\n\nexport { logWarn as a, logError as l };\n","function onHiddenChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(() => {\n callback(element.hidden);\n });\n });\n observer.observe(element, {\n attributes: true,\n attributeFilter: ['hidden']\n });\n return observer;\n}\nfunction onDisabledChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(mutation => {\n if (mutation.attributeName === 'disabled') {\n callback(element.disabled);\n }\n });\n });\n observer.observe(element, { attributes: true });\n return observer;\n}\nfunction onRequiredChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(mutation => {\n if (mutation.attributeName === 'required') {\n callback(element.required);\n }\n });\n });\n observer.observe(element, { attributes: true });\n return observer;\n}\n\nexport { onRequiredChange as a, onHiddenChange as b, onDisabledChange as o };\n","import { g as getElement } from './index-5f3763b4.js';\n\nfunction OnMutation(opt) {\n return (proto, methodName) => {\n const { connectedCallback, disconnectedCallback } = proto;\n let onMutationObserver;\n proto.connectedCallback = function () {\n const host = getElement(this);\n const method = this[methodName];\n onMutationObserver = new MutationObserver(method.bind(this));\n onMutationObserver.observe(host, opt);\n return connectedCallback && connectedCallback.call(this);\n };\n proto.disconnectedCallback = function () {\n onMutationObserver.disconnect();\n return disconnectedCallback && disconnectedCallback.call(this);\n };\n };\n}\n\nexport { OnMutation as O };\n","function preventBrowserValidationStyling(input) {\n input.addEventListener('invalid', event => {\n event.preventDefault();\n });\n}\n\nexport { preventBrowserValidationStyling as p };\n","function randomHTMLId(prefix = 'gux') {\n return `${prefix}-${Math.random().toString(36).substr(2, 10)}`;\n}\n\nexport { randomHTMLId as r };\n","import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';\n\nfunction setInputValue(input, value, focusAfter) {\n input.value = value;\n simulateNativeEvent(input, 'input');\n simulateNativeEvent(input, 'change');\n if (focusAfter) {\n input.focus();\n }\n}\n\nexport { setInputValue as s };\n","function simulateNativeEvent(targetElement, nativeEventName) {\n switch (nativeEventName) {\n case 'change':\n return targetElement.dispatchEvent(new InputEvent('change', {\n bubbles: true\n }));\n case 'input':\n return targetElement.dispatchEvent(new InputEvent('input', {\n bubbles: true\n }));\n }\n}\n\nexport { simulateNativeEvent as s };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","GuxFormFieldColor","hostRef","registerInstance","this","hasError","hasErrorSlot","root","setInput","setLabel","trackComponent","variant","disabledObserver","disconnect","requiredObserver","h","GuxFormFieldContainer","labelPosition","computedLabelPosition","GuxFormFieldLabel","position","required","name","onSlotchange","class","disabled","GuxFormFieldError","toLowerCase","input","querySelector","preventBrowserValidationStyling","onDisabledChange","onRequiredChange","validateFormIds","label","getComputedLabelPosition","getElement","OnMutation","childList","subtree","prototype","style","children","decorative","clearInput","setInputValue","Boolean","hasContent","value","includes","offsetWidth","hasLabelSlot","inputHasId","hasAttribute","labelHasFor","logError","tagName","forId","getAttribute","setAttribute","defaultInputId","randomHTMLId","error","errorId","startsWith","removeAttribute","component","message","setTimeout","Error","logWarn","console","warn","onHiddenChange","element","callback","observer","MutationObserver","mutations","forEach","hidden","observe","attributes","attributeFilter","mutation","attributeName","opt","proto","methodName","onMutationObserver","connectedCallback","disconnectedCallback","host","method","bind","call","addEventListener","event","preventDefault","prefix","Math","random","toString","substr","focusAfter","simulateNativeEvent","focus","targetElement","nativeEventName","dispatchEvent","InputEvent","bubbles","packageInfo","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","assign"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[4826],{4826:function(t,e,n){n.r(e),n.d(e,{gux_disclosure_button:function(){return c}});var s=n(5671),o=n(3144),i=n(4723),r=n(8125),c=function(){function t(e){(0,s.Z)(this,t),(0,i.r)(this,e),this.active=(0,i.c)(this,"active",7),this.position="left",this.label="open",this.isOpen=!1,this.icon="arrow-solid-right"}return(0,o.Z)(t,[{key:"watchIsOpen",value:function(){this.updateIcon()}},{key:"changeState",value:function(){this.togglePanel(),this.active.emit(this.isOpen)}},{key:"togglePanel",value:function(){this.isOpen=!this.isOpen}},{key:"updateIcon",value:function(){"right"===this.position?this.icon=this.isOpen?"arrow-solid-right":"arrow-solid-left":this.icon=this.isOpen?"arrow-solid-left":"arrow-solid-right"}},{key:"componentWillLoad",value:function(){(0,r.t)(this.root,{variant:this.position}),this.updateIcon()}},{key:"render",value:function(){var t=this,e=this.isOpen?"gux-active":"";return(0,i.h)("div",{class:"gux-disclosure-button-container gux-".concat(this.position)},(0,i.h)("button",{class:"gux-disclosure-button",onClick:function(){return t.changeState()}},(0,i.h)("gux-icon",{"icon-name":"".concat(this.icon),"screenreader-text":this.label})),(0,i.h)("div",{class:"gux-disclosure-panel gux-".concat(this.position," ").concat(e)},(0,i.h)("slot",{name:"panel-content"})))}},{key:"root",get:function(){return(0,i.g)(this)}}],[{key:"watchers",get:function(){return{isOpen:["watchIsOpen"]}}}]),t}();c.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:#222529}.gux-dark-theme gux-disclosure-button{color:#fdfdfd}.gux-dark-theme gux-disclosure-button .gux-disclosure-button-container button{color:#fdfdfd;border-color:#222529}gux-disclosure-button.gux-dark-theme{color:#fdfdfd}gux-disclosure-button.gux-dark-theme .gux-disclosure-button-container button{color:#fdfdfd;border-color:#222529}.gux-disclosure-button-light-theme{color:#33383d}.gux-disclosure-button-light-theme .gux-disclosure-button-container button.gux-disclosure-button{color:#33383d;border-color:#e4e9f0}.gux-light-theme gux-disclosure-button{color:#33383d}.gux-light-theme gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{color:#33383d;border-color:#e4e9f0}gux-disclosure-button.gux-light-theme{color:#33383d}gux-disclosure-button.gux-light-theme .gux-disclosure-button-container button.gux-disclosure-button{color:#33383d;border-color:#e4e9f0}gux-disclosure-button{color:#33383d}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{color:#33383d;border-color:#e4e9f0}"},8125:function(t,e,n){n.d(e,{t:function(){return c}});var s=n(885),o={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},i="spark-library",r=!1;function c(t,e){var n=window.newrelic;n&&(r||(!function(){var t=window.newrelic;if(!t)return;var e=o.version.split("."),n=(0,s.Z)(e,3),r=n[0],c=n[1],l=n[2];t.addPageAction(i,{fullVersion:"".concat(r,".").concat(c,".").concat(l),majorVersion:r,minorVersion:"".concat(r,".").concat(c)})}(),r=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:o.version})))}}}]);
2
+ //# sourceMappingURL=4826.f3719274.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/4826.f3719274.chunk.js","mappings":"mNAKIA,EAAmB,WACrB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,QAASC,EAAAA,EAAAA,GAAYF,KAAM,SAAU,GAI1CA,KAAKG,SAAW,OAIhBH,KAAKI,MAAQ,OAIbJ,KAAKK,QAAS,EAIdL,KAAKM,KAAO,oBAnBO,0CAqBrB,WACEN,KAAKO,eAtBc,yBAwBrB,WACEP,KAAKQ,cACLR,KAAKC,OAAOQ,KAAKT,KAAKK,UA1BH,yBA4BrB,WACEL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XsB,KAAM,6CAoDPC,WAjDkB,CAClB,QAAW,CACV,mCAEDC,MAAO,CACN,eAAgB,CACf,EACA,QACA,CACC,cACA,iBAwCHZ,UAnCiB,CACjB,QAAW,CACV,4BACA,gCACA,6BAEDY,MAAO,CACN,4BAA6B,KAC7B,yBAA0B,KAC1B,2BAA4B,EAC3B,EACA,CACCC,YAAa,CACZ,UACA,sBAsBJ,cAAe,CACf,oBAAqB,CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBAEtBC,GAAqB,EAKzB,SAAS/D,EAAegE,EAASC,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAH,KASP,WACE,IAAMG,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BvD,EAAYC,QAAQwD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAL,EAASM,cAAcV,EAAmB,CACxCW,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAb,GAAqB,GAEvBG,EAASM,cAlBiB,kBAkBkBK,OAAOC,OAAOD,OAAOC,OAAO,GAAIb,GAAW,CAAEc,UAAWf,EAAQgB,QAAQC,cAAerE,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-disclosure-button.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst guxDisclosureButtonCss = \"gux-disclosure-button{height:100%}gux-disclosure-button .gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}gux-disclosure-button .gux-disclosure-button-container.gux-right{justify-content:flex-end}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{width:16px;padding:0;margin:0;background:transparent;border-top:none;border-right:1px solid;border-bottom:none;border-left:1px solid}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button gux-icon{width:12px;height:12px}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button:focus{outline:none}gux-disclosure-button .gux-disclosure-panel{display:none;order:-1;width:100%}gux-disclosure-button .gux-disclosure-panel.gux-right{order:1}gux-disclosure-button .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-dark-theme{color:#fdfdfd}.gux-disclosure-button-dark-theme .gux-disclosure-button-container button{color:#fdfdfd;border-color:#222529}.gux-dark-theme gux-disclosure-button{color:#fdfdfd}.gux-dark-theme gux-disclosure-button .gux-disclosure-button-container button{color:#fdfdfd;border-color:#222529}gux-disclosure-button.gux-dark-theme{color:#fdfdfd}gux-disclosure-button.gux-dark-theme .gux-disclosure-button-container button{color:#fdfdfd;border-color:#222529}.gux-disclosure-button-light-theme{color:#33383d}.gux-disclosure-button-light-theme .gux-disclosure-button-container button.gux-disclosure-button{color:#33383d;border-color:#e4e9f0}.gux-light-theme gux-disclosure-button{color:#33383d}.gux-light-theme gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{color:#33383d;border-color:#e4e9f0}gux-disclosure-button.gux-light-theme{color:#33383d}gux-disclosure-button.gux-light-theme .gux-disclosure-button-container button.gux-disclosure-button{color:#33383d;border-color:#e4e9f0}gux-disclosure-button{color:#33383d}gux-disclosure-button .gux-disclosure-button-container button.gux-disclosure-button{color:#33383d;border-color:#e4e9f0}\";\n\nlet GuxDisclosureButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.active = createEvent(this, \"active\", 7);\n /**\n * Indicates the position of the button panel\n */\n this.position = 'left';\n /**\n * Indicates the label for the disclosure button\n */\n this.label = 'open';\n /**\n * Used to open or close the disclosure panel\n */\n this.isOpen = false;\n /**\n * Indicated image used by button\n */\n this.icon = 'arrow-solid-right';\n }\n watchIsOpen() {\n this.updateIcon();\n }\n changeState() {\n this.togglePanel();\n this.active.emit(this.isOpen);\n }\n togglePanel() {\n this.isOpen = !this.isOpen;\n }\n updateIcon() {\n if (this.position === 'right') {\n this.icon = this.isOpen ? 'arrow-solid-right' : 'arrow-solid-left';\n }\n else {\n this.icon = this.isOpen ? 'arrow-solid-left' : 'arrow-solid-right';\n }\n }\n componentWillLoad() {\n trackComponent(this.root, { variant: this.position });\n this.updateIcon();\n }\n render() {\n const activeClass = this.isOpen ? 'gux-active' : '';\n return (h(\"div\", { class: `gux-disclosure-button-container gux-${this.position}` }, h(\"button\", { class: \"gux-disclosure-button\", onClick: () => this.changeState() }, h(\"gux-icon\", { \"icon-name\": `${this.icon}`, \"screenreader-text\": this.label })), h(\"div\", { class: `gux-disclosure-panel gux-${this.position} ${activeClass}` }, h(\"slot\", { name: \"panel-content\" }))));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"isOpen\": [\"watchIsOpen\"]\n }; }\n};\nGuxDisclosureButton.style = guxDisclosureButtonCss;\n\nexport { GuxDisclosureButton as gux_disclosure_button };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["GuxDisclosureButton","hostRef","registerInstance","this","active","createEvent","position","label","isOpen","icon","updateIcon","togglePanel","emit","trackComponent","root","variant","activeClass","h","class","onClick","changeState","name","getElement","style","packageInfo","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","element","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[501],{501:function(t,e,n){n.r(e),n.d(e,{gux_action_button:function(){return p}});var i=n(4165),s=n(5861),o=n(5671),c=n(3144),r=n(4723),l=n(8125),a=n(8782),u={actionButtonDropdown:"Dropdown for {buttonTitle}"},p=function(){function t(e){(0,o.Z)(this,t),(0,r.r)(this,e),this.open=(0,r.c)(this,"open",7),this.close=(0,r.c)(this,"close",7),this.actionClick=(0,r.c)(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}return(0,c.Z)(t,[{key:"toggle",value:function(){this.isOpen=!this.isOpen}},{key:"handleFocusOut",value:function(t){this.root.contains(t.relatedTarget)||(this.isOpen=!1)}},{key:"handleKeyDown",value:function(t){this.root.contains(t.target)||(this.isOpen=!1)}},{key:"watchDisabled",value:function(t){t&&(this.isOpen=!1)}},{key:"watchValue",value:function(t){t?this.open.emit():this.close.emit()}},{key:"onActionClick",value:function(){this.actionClick.emit()}},{key:"onKeyUpEvent",value:function(t){switch(t.key){case"Escape":this.isOpen=!1,this.dropdownButton.focus();break;case"ArrowDown":this.listElement.contains(t.target)||(this.isOpen=!0,this.listElement.setFocusOnFirstItem())}}},{key:"componentWillLoad",value:function(){var t=(0,s.Z)((0,i.Z)().mark((function t(){return(0,i.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(0,l.t)(this.root,{variant:this.type}),t.next=3,(0,a.b)(this.root,u);case 3:this.i18n=t.sent;case 4:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"render",value:function(){var t=this;return(0,r.h)("div",{class:"gux-action-button-container"},(0,r.h)("gux-popup-beta",{expanded:this.isOpen,disabled:this.disabled},(0,r.h)("div",{slot:"target",class:"gux-action-button-container"},(0,r.h)("gux-button-slot-beta",{class:"gux-action-button",accent:this.accent},(0,r.h)("button",{type:this.type,disabled:this.disabled,onClick:function(){return t.onActionClick()}},this.text)),(0,r.h)("gux-button-slot-beta",{class:"gux-dropdown-button",accent:this.accent},(0,r.h)("button",{type:this.type,disabled:this.disabled,ref:function(e){return t.dropdownButton=e},onClick:function(){return t.toggle()},onKeyUp:function(e){return t.onKeyUpEvent(e)},"aria-haspopup":"listbox","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("actionButtonDropdown",{buttonTitle:this.text})},(0,r.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),(0,r.h)("gux-list",{slot:"popup",ref:function(e){return t.listElement=e}},(0,r.h)("slot",null))))}},{key:"root",get:function(){return(0,r.g)(this)}}],[{key:"watchers",get:function(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}}]),t}();p.style="gux-action-button{display:block;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-action-button .gux-action-button-container{min-width:128px}gux-action-button .gux-action-button-container>*{vertical-align:middle}gux-action-button .gux-action-button-container .gux-action-button{width:calc(100% - 33px);margin-right:1px}gux-action-button .gux-action-button-container .gux-action-button button{width:100%;max-width:none;text-align:center;border-top-right-radius:0;border-bottom-right-radius:0}gux-action-button .gux-action-button-container .gux-dropdown-button button{width:32px;min-width:0;padding:0;border-top-left-radius:0;border-bottom-left-radius:0}gux-action-button .gux-action-button-container .gux-dropdown-button button gux-icon{width:16px;height:16px}"},8125:function(t,e,n){n.d(e,{t:function(){return r}});var i=n(885),s={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},o="spark-library",c=!1;function r(t,e){var n=window.newrelic;n&&(c||(!function(){var t=window.newrelic;if(!t)return;var e=s.version.split("."),n=(0,i.Z)(e,3),c=n[0],r=n[1],l=n[2];t.addPageAction(o,{fullVersion:"".concat(c,".").concat(r,".").concat(l),majorVersion:c,minorVersion:"".concat(c,".").concat(r)})}(),c=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:s.version})))}}}]);
2
+ //# sourceMappingURL=501.3f46836b.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/501.3f46836b.chunk.js","mappings":"2OAKMA,EAAmB,CACxBC,qBAF4B,8BAOzBC,EAAe,WACjB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,MAAOC,EAAAA,EAAAA,GAAYF,KAAM,OAAQ,GACtCA,KAAKG,OAAQD,EAAAA,EAAAA,GAAYF,KAAM,QAAS,GACxCA,KAAKI,aAAcF,EAAAA,EAAAA,GAAYF,KAAM,cAAe,GAIpDA,KAAKK,KAAO,SAIZL,KAAKM,UAAW,EAIhBN,KAAKO,OAAS,YAIdP,KAAKQ,QAAS,EArBC,qCAuBjB,WACER,KAAKQ,QAAUR,KAAKQ,SAxBL,4BA0BjB,SAAeC,GACRT,KAAKU,KAAKC,SAASF,EAAEG,iBACxBZ,KAAKQ,QAAS,KA5BD,2BA+BjB,SAAcC,GACRT,KAAKU,KAAKC,SAASF,EAAEI,UAGzBb,KAAKQ,QAAS,KAnCC,2BAqCjB,SAAcF,GACRA,IACFN,KAAKQ,QAAS,KAvCD,wBA0CjB,SAAWM,GACLA,EACFd,K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AOD,SACxB,IAAKA,EACH,OAEF,MAA8BtD,EAAYE,QAAQsD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAL,EAASM,cAAcV,EAAmB,CACxCW,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAb,GAAqB,GAEvBG,EAASM,cAlBiB,kBAkBkBK,OAAOC,OAAOD,OAAOC,OAAO,GAAIb,GAAW,CAAEc,UAAWf,EAAQgB,QAAQC,cAAenE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-action-button.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\n\nconst actionButtonDropdown = \"Dropdown for {buttonTitle}\";\nconst defaultResources = {\n\tactionButtonDropdown: actionButtonDropdown\n};\n\nconst guxActionButtonCss = \"gux-action-button{display:block;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-action-button .gux-action-button-container{min-width:128px}gux-action-button .gux-action-button-container>*{vertical-align:middle}gux-action-button .gux-action-button-container .gux-action-button{width:calc(100% - 33px);margin-right:1px}gux-action-button .gux-action-button-container .gux-action-button button{width:100%;max-width:none;text-align:center;border-top-right-radius:0;border-bottom-right-radius:0}gux-action-button .gux-action-button-container .gux-dropdown-button button{width:32px;min-width:0;padding:0;border-top-left-radius:0;border-bottom-left-radius:0}gux-action-button .gux-action-button-container .gux-dropdown-button button gux-icon{width:16px;height:16px}\";\n\nlet GuxActionButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.open = createEvent(this, \"open\", 7);\n this.close = createEvent(this, \"close\", 7);\n this.actionClick = createEvent(this, \"actionClick\", 7);\n /**\n * The component button type\n */\n this.type = 'button';\n /**\n * Disables the action button.\n */\n this.disabled = false;\n /**\n * The component accent (secondary or primary).\n */\n this.accent = 'secondary';\n /**\n * It is used to open or not the list.\n */\n this.isOpen = false;\n }\n toggle() {\n this.isOpen = !this.isOpen;\n }\n handleFocusOut(e) {\n if (!this.root.contains(e.relatedTarget)) {\n this.isOpen = false;\n }\n }\n handleKeyDown(e) {\n if (this.root.contains(e.target)) {\n return;\n }\n this.isOpen = false;\n }\n watchDisabled(disabled) {\n if (disabled) {\n this.isOpen = false;\n }\n }\n watchValue(newValue) {\n if (newValue) {\n this.open.emit();\n }\n else {\n this.close.emit();\n }\n }\n onActionClick() {\n this.actionClick.emit();\n }\n onKeyUpEvent(event) {\n switch (event.key) {\n case 'Escape':\n this.isOpen = false;\n this.dropdownButton.focus();\n break;\n case 'ArrowDown':\n if (!this.listElement.contains(event.target)) {\n this.isOpen = true;\n this.listElement.setFocusOnFirstItem();\n }\n break;\n }\n }\n async componentWillLoad() {\n trackComponent(this.root, { variant: this.type });\n this.i18n = await buildI18nForComponent(this.root, defaultResources);\n }\n render() {\n return (h(\"div\", { class: \"gux-action-button-container\" }, h(\"gux-popup-beta\", { expanded: this.isOpen, disabled: this.disabled }, h(\"div\", { slot: \"target\", class: \"gux-action-button-container\" }, h(\"gux-button-slot-beta\", { class: \"gux-action-button\", accent: this.accent }, h(\"button\", { type: this.type, disabled: this.disabled, onClick: () => this.onActionClick() }, this.text)), h(\"gux-button-slot-beta\", { class: \"gux-dropdown-button\", accent: this.accent }, h(\"button\", { type: this.type, disabled: this.disabled, ref: el => (this.dropdownButton = el), onClick: () => this.toggle(), onKeyUp: e => this.onKeyUpEvent(e), \"aria-haspopup\": \"listbox\", \"aria-expanded\": this.isOpen.toString(), \"aria-label\": this.i18n('actionButtonDropdown', {\n buttonTitle: this.text\n }) }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-down\" })))), h(\"gux-list\", { slot: \"popup\", ref: el => (this.listElement = el) }, h(\"slot\", null)))));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"disabled\": [\"watchDisabled\"],\n \"isOpen\": [\"watchValue\"]\n }; }\n};\nGuxActionButton.style = guxActionButtonCss;\n\nexport { GuxActionButton as gux_action_button };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["defaultResources","actionButtonDropdown","GuxActionButton","hostRef","registerInstance","this","open","createEvent","close","actionClick","type","disabled","accent","isOpen","e","root","contains","relatedTarget","target","newValue","emit","event","key","dropdownButton","focus","listElement","setFocusOnFirstItem","trackComponent","variant","buildI18nForComponent","i18n","h","class","expanded","slot","onClick","onActionClick","text","ref","el","toggle","onKeyUp","onKeyUpEvent","toString","buttonTitle","decorative","getElement","style","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","element","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[5122],{5122:function(t,e,o){o.r(e),o.d(e,{gux_tooltip_title_beta:function(){return c}});var i=o(5671),r=o(3144),n=o(4723),l=o(2183),c=function(){function t(e){(0,i.Z)(this,t),(0,n.r)(this,e),this.titleName="",this.showTooltip=!0}return(0,r.Z)(t,[{key:"componentWillLoad",value:function(){var t=this;this.root.querySelector("gux-icon")&&1===this.root.children.length?this.root.querySelector("gux-icon").hasAttribute("screenreader-text")?this.titleName=this.root.querySelector("gux-icon").getAttribute("screenreader-text"):(0,l.l)("gux-tooltip-title-beta","No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip."):(Array.from(this.root.children).map((function(e){"GUX-ICON"!==e.tagName?t.titleName+=e.innerHTML:e.classList.add("gux-tooltip-icon-decorative")})),this.checkForTooltipHideOrShow())}},{key:"checkForTooltipHideOrShow",value:function(){var t=this.root.clientWidth;this.tabWidth&&t<this.tabWidth&&(this.showTooltip=!1)}},{key:"render",value:function(){return[(0,n.h)("span",{class:"gux-title-container"},(0,n.h)("slot",null)),this.renderTooltip()]}},{key:"renderTooltip",value:function(){if(this.showTooltip)return(0,n.h)("gux-tooltip",null,this.titleName)}},{key:"root",get:function(){return(0,n.g)(this)}}]),t}();c.style="gux-tooltip-title-beta{cursor:default}gux-tooltip-title-beta gux-tooltip{text-align:left;overflow-wrap:break-word;white-space:normal}gux-tooltip-title-beta .gux-title-container{display:flex}gux-tooltip-title-beta .gux-title-container gux-icon{flex-shrink:0}gux-tooltip-title-beta .gux-title-container gux-icon.gux-tooltip-icon-decorative{margin-right:8px}gux-tooltip-title-beta .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}"},2183:function(t,e,o){function i(t,e){setTimeout((function(){throw new Error("[".concat(t,"] ").concat(e))}),0)}function r(t,e){setTimeout((function(){console.warn("[".concat(t,"] ").concat(e))}),0)}o.d(e,{a:function(){return r},l:function(){return i}})}}]);
2
+ //# sourceMappingURL=5122.046ab4b7.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/5122.046ab4b7.chunk.js","mappings":"oNAKIA,EAAe,WACjB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,UAAY,GACjBD,KAAKE,aAAc,EAJJ,gDAMjB,WAAoB,WACdF,KAAKG,KAAKC,cAAc,aACI,IAA9BJ,KAAKG,KAAKE,SAASC,OACfN,KAAKG,KAAKC,cAAc,YAAYG,aAAa,qBACnDP,KAAKC,UAAYD,KAAKG,KACnBC,cAAc,YACdI,aAAa,sBAGhBC,EAAAA,EAAAA,GAAS,yBAA0B,2LAIpBC,MAAMC,KAAKX,KAAKG,KAAKE,UAC7BO,KAAI,SAAAC,GACa,aAApBA,EAAQC,QACV,EAAKb,WAAaY,EAAQE,UAG1BF,EAAQG,UAAUC,IAAI,kCAG1BjB,KAAKkB,+BA5BQ,uCA+BjB,WACE,IAAMC,EAAcnB,KAAKG,KAAKgB,YAC1BnB,KAAKoB,UAAYD,EAAcnB,KAAKoB,WACtCpB,KAAKE,aAAc,KAlCN,oBAsCjB,WACE,MAAO,EACLmB,EAAAA,EAAAA,GAAE,OAAQ,CAAEC,MAAO,wBAAyBD,EAAAA,EAAAA,GAAE,OAAQ,OACtDrB,KAAKuB,mBAzCQ,2BA4CjB,WACE,GAAIvB,KAAKE,YACP,OAAOmB,EAAAA,EAAAA,GAAE,cAAe,KAAMrB,KAAKC,aA9CtB,gBAiDjB,WAAa,OAAOuB,EAAAA,EAAAA,GAAWxB,UAjDd,KAmDnBH,EAAgB4B,MArDW,4b,qBCH3B,SAAShB,EAASiB,EAAWC,GAC3BC,YAAW,WACT,MAAM,IAAIC,MAAJ,WAAcH,EAAd,aAA4BC,MACjC,GAEL,SAASG,EAAQJ,EAAWC,GAC1BC,YAAW,WACTG,QAAQC,KAAR,WAAiBN,EAAjB,aAA+BC,MAC9B,G","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-tooltip-title-beta.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/log-error-3d08c2b1.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { l as logError } from './log-error-3d08c2b1.js';\n\nconst guxTooltipTitleCss = \"gux-tooltip-title-beta{cursor:default}gux-tooltip-title-beta gux-tooltip{text-align:left;overflow-wrap:break-word;white-space:normal}gux-tooltip-title-beta .gux-title-container{display:flex}gux-tooltip-title-beta .gux-title-container gux-icon{flex-shrink:0}gux-tooltip-title-beta .gux-title-container gux-icon.gux-tooltip-icon-decorative{margin-right:8px}gux-tooltip-title-beta .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}\";\n\nlet GuxTooltipTitle = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.titleName = '';\n this.showTooltip = true;\n }\n componentWillLoad() {\n if (this.root.querySelector('gux-icon') &&\n this.root.children.length === 1) {\n if (this.root.querySelector('gux-icon').hasAttribute('screenreader-text')) {\n this.titleName = this.root\n .querySelector('gux-icon')\n .getAttribute('screenreader-text');\n }\n else {\n logError('gux-tooltip-title-beta', 'No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip.');\n }\n }\n else {\n const children = Array.from(this.root.children);\n children.map(element => {\n if (element.tagName !== 'GUX-ICON') {\n this.titleName += element.innerHTML;\n }\n else {\n element.classList.add('gux-tooltip-icon-decorative');\n }\n });\n this.checkForTooltipHideOrShow();\n }\n }\n checkForTooltipHideOrShow() {\n const clientWidth = this.root.clientWidth;\n if (this.tabWidth && clientWidth < this.tabWidth) {\n this.showTooltip = false;\n return;\n }\n }\n render() {\n return [\n h(\"span\", { class: \"gux-title-container\" }, h(\"slot\", null)),\n this.renderTooltip()\n ];\n }\n renderTooltip() {\n if (this.showTooltip) {\n return h(\"gux-tooltip\", null, this.titleName);\n }\n }\n get root() { return getElement(this); }\n};\nGuxTooltipTitle.style = guxTooltipTitleCss;\n\nexport { GuxTooltipTitle as gux_tooltip_title_beta };\n","function logError(component, message) {\n setTimeout(() => {\n throw new Error(`[${component}] ${message}`);\n }, 0);\n}\nfunction logWarn(component, message) {\n setTimeout(() => {\n console.warn(`[${component}] ${message}`);\n }, 0);\n}\n\nexport { logWarn as a, logError as l };\n"],"names":["GuxTooltipTitle","hostRef","registerInstance","this","titleName","showTooltip","root","querySelector","children","length","hasAttribute","getAttribute","logError","Array","from","map","element","tagName","innerHTML","classList","add","checkForTooltipHideOrShow","clientWidth","tabWidth","h","class","renderTooltip","getElement","style","component","message","setTimeout","Error","logWarn","console","warn"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[5160],{2417:function(e,t,n){function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1/0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return isNaN(e)?NaN:Math.min(Math.max(e,t),n)}n.d(t,{c:function(){return s}})},5160:function(e,t,n){n.r(t),n.d(t,{gux_rating:function(){return p}});var s=n(2982),i=n(885),r=n(5671),a=n(3144),c=n(4723),o=n(6863),l=n(2417),u=n(8125),p=function(){function e(t){(0,r.Z)(this,e),(0,c.r)(this,t),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1}return(0,a.Z)(e,[{key:"onClick",value:function(e){if(e.stopPropagation(),!this.disabled&&!this.readonly){var t=e.composedPath(),n=(0,i.Z)(t,1)[0].closest("gux-icon"),s=Array.from(this.ratingElement.children).findIndex((function(e){return e===n}))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)&&this.updateRatingValue(s-.5)}}},{key:"onKeyDown",value:function(e){if(e.stopPropagation(),!this.disabled&&!this.readonly)switch(e.key){case"ArrowUp":case"ArrowLeft":e.preventDefault(),this.updateRatingValue(this.value-.5);break;case"ArrowDown":case"ArrowRight":e.preventDefault(),this.updateRatingValue(this.value+.5);break;case"End":e.preventDefault(),this.updateRatingValue(1/0);break;case"Home":e.preventDefault(),this.updateRatingValue(-1/0)}}},{key:"updateRatingValue",value:function(e){var t=(0,l.c)(e,0,Array.from(this.ratingElement.children).length);this.value!==t&&(this.value=t,(0,o.s)(this.root,"input"),(0,o.s)(this.root,"change"))}},{key:"getRatingStarElements",value:function(){var e=this;return(0,s.Z)(Array(this.maxValue).keys()).reduce((function(t,n){return n+.5===e.value?t.concat("rating-partial"):n+1<=e.value?t.concat("rating-active"):t.concat("rating")}),[]).map((function(e){return(0,c.h)("gux-icon",{"icon-name":e,decorative:!0})}))}},{key:"getTabIndex",value:function(){return this.disabled?-1:0}},{key:"componentWillLoad",value:function(){(0,u.t)(this.root)}},{key:"render",value:function(){var e=this;return(0,c.h)(c.H,{role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly,"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},(0,c.h)("div",{ref:function(t){return e.ratingElement=t},class:{"gux-rating-start-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}},{key:"root",get:function(){return(0,c.g)(this)}}]),e}();p.style=":host{display:inline-flex}:host:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-rating-start-container{color:#33383d}.gux-rating-start-container.gux-disabled{opacity:0.5}.gux-rating-start-container gux-icon{width:24px;height:24px}"},6863:function(e,t,n){function s(e,t){switch(t){case"change":return e.dispatchEvent(new InputEvent("change",{bubbles:!0}));case"input":return e.dispatchEvent(new InputEvent("input",{bubbles:!0}))}}n.d(t,{s:function(){return s}})},8125:function(e,t,n){n.d(t,{t:function(){return c}});var s=n(885),i={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},r="spark-library",a=!1;function c(e,t){var n=window.newrelic;n&&(a||(!function(){var e=window.newrelic;if(!e)return;var t=i.version.split("."),n=(0,s.Z)(t,3),a=n[0],c=n[1],o=n[2];e.addPageAction(r,{fullVersion:"".concat(a,".").concat(c,".").concat(o),majorVersion:a,minorVersion:"".concat(a,".").concat(c)})}(),a=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}}}]);
2
+ //# sourceMappingURL=5160.465b3a5d.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/5160.465b3a5d.chunk.js","mappings":"4GAAA,SAASA,EAAMC,GAA4C,IAArCC,EAAqC,wDAA5BC,IAAUC,EAAkB,uDAAVD,IAC/C,OAAIE,MAAMJ,GACDK,IAEFC,KAAKC,IAAID,KAAKE,IAAIR,EAAOC,GAAQE,G,yLCGtCM,EAAS,WACX,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,MAAQ,EACbD,KAAKE,SAAW,EAChBF,KAAKG,UAAW,EAChBH,KAAKI,UAAW,EANP,sCAQX,SAAQC,GAEN,GADAA,EAAMC,mBACFN,KAAKG,WAAYH,KAAKI,SAA1B,CAGA,MAAyBC,EAAME,eACzBC,GADN,eACkCC,QAAQ,YAEpCC,EADmBC,MAAMC,KAAKZ,KAAKa,cAAcC,UAAUC,WAAU,SAAAC,GAAK,OAAIA,IAAUR,KAC3C,EAC/CE,IAA4BV,KAAKC,MAAQ,GAC3CD,KAAKiB,kBAAkBP,GAEhBA,IAA4BV,KAAKC,MACxCD,KAAKiB,kBAAkB,GAEhBP,IAA4BhB,KAAKwB,MAAMlB,KAAKC,QACnDD,KAAKiB,kBAAkBP,EAA0B,OAxB1C,uBA2BX,SAAUL,GAER,GADAA,EAAMC,mBACFN,KAAKG,WAAYH,KAAKI,SAG1B,OAA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KA,EACH,OAEF,MAA8BxD,EAAYE,QAAQwD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAL,EAASM,cAAcV,EAAmB,CACxCW,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAb,GAAqB,GAEvBG,EAASM,cAlBiB,kBAkBkBK,OAAOC,OAAOD,OAAOC,OAAO,GAAIb,GAAW,CAAEc,UAAWf,EAAQgB,QAAQC,cAAerE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/clamp-6bdb0367.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-rating.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/simulate-native-event-ac69961f.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["function clamp(input, lower = -Infinity, upper = Infinity) {\n if (isNaN(input)) {\n return NaN;\n }\n return Math.min(Math.max(input, lower), upper);\n}\n\nexport { clamp as c };\n","import { r as registerInstance, h, H as Host, g as getElement } from './index-5f3763b4.js';\nimport { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';\nimport { c as clamp } from './clamp-6bdb0367.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst guxRatingCss = \":host{display:inline-flex}:host:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-rating-start-container{color:#33383d}.gux-rating-start-container.gux-disabled{opacity:0.5}.gux-rating-start-container gux-icon{width:24px;height:24px}\";\n\nlet GuxRating = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.value = 0;\n this.maxValue = 5;\n this.disabled = false;\n this.readonly = false;\n }\n onClick(event) {\n event.stopPropagation();\n if (this.disabled || this.readonly) {\n return;\n }\n const [clickedElement] = event.composedPath();\n const ratingStar = clickedElement.closest('gux-icon');\n const clickedStarIndex = Array.from(this.ratingElement.children).findIndex(child => child === ratingStar);\n const clickedStarNominalValue = clickedStarIndex + 1;\n if (clickedStarNominalValue === this.value + 0.5) {\n this.updateRatingValue(clickedStarNominalValue);\n }\n else if (clickedStarNominalValue === this.value) {\n this.updateRatingValue(0);\n }\n else if (clickedStarNominalValue !== Math.floor(this.value)) {\n this.updateRatingValue(clickedStarNominalValue - 0.5);\n }\n }\n onKeyDown(event) {\n event.stopPropagation();\n if (this.disabled || this.readonly) {\n return;\n }\n switch (event.key) {\n case 'ArrowUp':\n case 'ArrowLeft':\n event.preventDefault();\n this.updateRatingValue(this.value - 0.5);\n break;\n case 'ArrowDown':\n case 'ArrowRight':\n event.preventDefault();\n this.updateRatingValue(this.value + 0.5);\n break;\n case 'End':\n event.preventDefault();\n this.updateRatingValue(Infinity);\n break;\n case 'Home':\n event.preventDefault();\n this.updateRatingValue(-Infinity);\n break;\n }\n }\n updateRatingValue(newValue) {\n const validatedNewValue = clamp(newValue, 0, Array.from(this.ratingElement.children).length);\n if (this.value !== validatedNewValue) {\n this.value = validatedNewValue;\n simulateNativeEvent(this.root, 'input');\n simulateNativeEvent(this.root, 'change');\n }\n }\n getRatingStarElements() {\n return [...Array(this.maxValue).keys()]\n .reduce((acc, cv) => {\n if (cv + 0.5 === this.value) {\n return acc.concat('rating-partial');\n }\n else if (cv + 1 <= this.value) {\n return acc.concat('rating-active');\n }\n return acc.concat('rating');\n }, [])\n .map(iconName => h(\"gux-icon\", { \"icon-name\": iconName, decorative: true }));\n }\n getTabIndex() {\n return this.disabled ? -1 : 0;\n }\n componentWillLoad() {\n trackComponent(this.root);\n }\n render() {\n return (h(Host, { role: \"spinbutton\", tabindex: this.getTabIndex(), \"aria-readonly\": this.readonly, \"aria-valuenow\": this.value, \"aria-valuemin\": \"0\", \"aria-valuemax\": this.maxValue }, h(\"div\", { ref: (el) => (this.ratingElement = el), class: {\n 'gux-rating-start-container': true,\n 'gux-disabled': this.disabled\n } }, this.getRatingStarElements())));\n }\n get root() { return getElement(this); }\n};\nGuxRating.style = guxRatingCss;\n\nexport { GuxRating as gux_rating };\n","function simulateNativeEvent(targetElement, nativeEventName) {\n switch (nativeEventName) {\n case 'change':\n return targetElement.dispatchEvent(new InputEvent('change', {\n bubbles: true\n }));\n case 'input':\n return targetElement.dispatchEvent(new InputEvent('input', {\n bubbles: true\n }));\n }\n}\n\nexport { simulateNativeEvent as s };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["clamp","input","lower","Infinity","upper","isNaN","NaN","Math","min","max","GuxRating","hostRef","registerInstance","this","value","maxValue","disabled","readonly","event","stopPropagation","composedPath","ratingStar","closest","clickedStarNominalValue","Array","from","ratingElement","children","findIndex","child","updateRatingValue","floor","key","preventDefault","newValue","validatedNewValue","length","simulateNativeEvent","root","keys","reduce","acc","cv","concat","map","iconName","h","decorative","trackComponent","Host","role","tabindex","getTabIndex","ref","el","class","getRatingStarElements","getElement","style","targetElement","nativeEventName","dispatchEvent","InputEvent","bubbles","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","element","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[546],{546:function(t,e,i){i.r(e),i.d(e,{gux_action_item:function(){return c}});var n=i(5671),a=i(3144),o=i(4723),c=function(){function t(e){(0,n.Z)(this,t),(0,o.r)(this,e),this.press=(0,o.c)(this,"press",7),this.disabled=!1}return(0,a.Z)(t,[{key:"handleClick",value:function(){this.onItemClicked()}},{key:"onKeydown",value:function(t){switch(t.key){case"Enter":case"Space":return void this.onItemClicked()}}},{key:"onItemClicked",value:function(){this.disabled||this.press.emit(this.value)}},{key:"render",value:function(){return(0,o.h)(o.H,{role:"listitem"},(0,o.h)("span",{class:"gux-action-item"},this.text,(0,o.h)("slot",null)))}}]),t}();c.style="gux-action-item .gux-action-item{display:flex;height:max-content;padding:0 16px;line-height:32px;word-wrap:break-word;cursor:pointer}gux-action-item .gux-action-item .gux-text{width:100%}gux-action-item:focus:not([disabled]) .gux-action-item,gux-action-item:active:not([disabled]) .gux-action-item,gux-action-item:hover:not([disabled]) .gux-action-item{color:#fdfdfd;background:#2a60c8}gux-action-item[disabled] .gux-action-item{pointer-events:none;cursor:default;opacity:0.5}"}}]);
2
+ //# sourceMappingURL=546.40835589.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/546.40835589.chunk.js","mappings":"iMAIIA,EAAa,WACf,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,OAAQC,EAAAA,EAAAA,GAAYF,KAAM,QAAS,GACxCA,KAAKG,UAAW,EAJH,0CAMf,WACEH,KAAKI,kBAPQ,uBASf,SAAUC,GACR,OAAQA,EAAMC,KACZ,IAAK,QACL,IAAK,QAEH,YADAN,KAAKI,mBAbI,2BAiBf,WACOJ,KAAKG,UACRH,KAAKC,MAAMM,KAAKP,KAAKQ,SAnBV,oBAsBf,WACE,OAAQC,EAAAA,EAAAA,GAAEC,EAAAA,EAAM,CAAEC,KAAM,aAAcF,EAAAA,EAAAA,GAAE,OAAQ,CAAEG,MAAO,mBAAqBZ,KAAKa,MAAMJ,EAAAA,EAAAA,GAAE,OAAQ,YAvBtF,KA0BjBZ,EAAciB,MA5BW","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-action-item.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host } from './index-5f3763b4.js';\n\nconst guxActionItemCss = \"gux-action-item .gux-action-item{display:flex;height:max-content;padding:0 16px;line-height:32px;word-wrap:break-word;cursor:pointer}gux-action-item .gux-action-item .gux-text{width:100%}gux-action-item:focus:not([disabled]) .gux-action-item,gux-action-item:active:not([disabled]) .gux-action-item,gux-action-item:hover:not([disabled]) .gux-action-item{color:#fdfdfd;background:#2a60c8}gux-action-item[disabled] .gux-action-item{pointer-events:none;cursor:default;opacity:0.5}\";\n\nlet GuxActionItem = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.press = createEvent(this, \"press\", 7);\n this.disabled = false;\n }\n handleClick() {\n this.onItemClicked();\n }\n onKeydown(event) {\n switch (event.key) {\n case 'Enter':\n case 'Space':\n this.onItemClicked();\n return;\n }\n }\n onItemClicked() {\n if (!this.disabled) {\n this.press.emit(this.value);\n }\n }\n render() {\n return (h(Host, { role: \"listitem\" }, h(\"span\", { class: \"gux-action-item\" }, this.text, h(\"slot\", null))));\n }\n};\nGuxActionItem.style = guxActionItemCss;\n\nexport { GuxActionItem as gux_action_item };\n"],"names":["GuxActionItem","hostRef","registerInstance","this","press","createEvent","disabled","onItemClicked","event","key","emit","value","h","Host","role","class","text","style"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[5503],{5503:function(t,n,e){e.r(n),e.d(n,{gux_input_text_like:function(){return p}});var i=e(4165),u=e(5861),r=e(5671),o=e(3144),a=e(4723),c=e(8782),s=e(5569),l=e(5618),d={clear:"Clear"},p=function(){function t(n){(0,r.Z)(this,t),(0,a.r)(this,n),this.hasContent=!1}return(0,o.Z)(t,[{key:"clearInput",value:function(){(0,s.s)(this.input,"",!0)}},{key:"setHasContent",value:function(){this.hasContent=Boolean(this.input.value)}},{key:"renderClearButton",value:function(){return this.clearable&&this.hasContent&&!this.disabled?(0,a.h)("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.getI18nValue("clear"),disabled:this.disabled,onClick:this.clearInput.bind(this)},(0,a.h)("gux-icon",{"icon-name":"close",decorative:!0})):null}},{key:"componentWillLoad",value:function(){var t=(0,u.Z)((0,i.Z)().mark((function t(){var n=this;return(0,i.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,c.b)(this.root,d);case 2:this.getI18nValue=t.sent,this.input=this.root.querySelector('input[slot="input"]'),this.setHasContent(),this.disabled=this.input.disabled,this.input.addEventListener("input",(function(){n.setHasContent()})),this.disabledObserver=(0,l.o)(this.input,(function(t){n.disabled=t}));case 8:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect()}},{key:"render",value:function(){return(0,a.h)("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},(0,a.h)("slot",{name:"input"}),this.renderClearButton())}},{key:"root",get:function(){return(0,a.g)(this)}}]),t}();p.style="gux-input-text-like{display:block}gux-input-text-like .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:4px 8px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16)}gux-input-text-like .gux-input-container.gux-disabled{opacity:0.5}gux-input-text-like .gux-input-container input{flex:1 1 auto;align-self:auto;order:0;color:#33383d;background-color:#f8f8f8;border:none;outline:none}gux-input-text-like .gux-input-container input::placeholder{color:#666f7b;opacity:1}gux-input-text-like .gux-input-container .gux-clear-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;margin-left:8px;color:#666f7b;background:transparent;border:none;border-radius:4px}gux-input-text-like .gux-input-container .gux-clear-button:not(:disabled):focus,gux-input-text-like .gux-input-container .gux-clear-button:not(:disabled):hover{color:#33383d;cursor:pointer}gux-input-text-like .gux-input-container .gux-clear-button gux-icon{width:12px;height:12px;margin:4px;border-radius:4px}gux-input-text-like .gux-input-container .gux-clear-button:focus{outline:none}gux-input-text-like .gux-input-container .gux-clear-button:focus:enabled gux-icon{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}gux-input-text-like .gux-input-container:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}"},5618:function(t,n,e){function i(t,n){var e=new MutationObserver((function(e){e.forEach((function(){n(t.hidden)}))}));return e.observe(t,{attributes:!0,attributeFilter:["hidden"]}),e}function u(t,n){var e=new MutationObserver((function(e){e.forEach((function(e){"disabled"===e.attributeName&&n(t.disabled)}))}));return e.observe(t,{attributes:!0}),e}function r(t,n){var e=new MutationObserver((function(e){e.forEach((function(e){"required"===e.attributeName&&n(t.required)}))}));return e.observe(t,{attributes:!0}),e}e.d(n,{a:function(){return r},b:function(){return i},o:function(){return u}})},5569:function(t,n,e){e.d(n,{s:function(){return u}});var i=e(6863);function u(t,n,e){t.value=n,(0,i.s)(t,"input"),(0,i.s)(t,"change"),e&&t.focus()}},6863:function(t,n,e){function i(t,n){switch(n){case"change":return t.dispatchEvent(new InputEvent("change",{bubbles:!0}));case"input":return t.dispatchEvent(new InputEvent("input",{bubbles:!0}))}}e.d(n,{s:function(){return i}})}}]);
2
+ //# sourceMappingURL=5503.cc3b1fda.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/5503.cc3b1fda.chunk.js","mappings":"yPAOMA,EAAqB,CAC1BC,MAFa,SAOVC,EAAgB,WAClB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,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C,gBAAiB,CAAC,YAEbP,EAET,SAAST,EAAiBO,EAASC,GACjC,IAAMC,EAAW,IAAIC,kBAAiB,SAAAC,GACpCA,EAAUC,SAAQ,SAAAK,GACe,aAA3BA,EAASC,eACXV,EAASD,EAAQxB,gBAKvB,OADA0B,EAASK,QAAQP,EAAS,CAAEQ,YAAY,IACjCN,EAET,SAASU,EAAiBZ,EAASC,GACjC,IAAMC,EAAW,IAAIC,kBAAiB,SAAAC,GACpCA,EAAUC,SAAQ,SAAAK,GACe,aAA3BA,EAASC,eACXV,EAASD,EAAQa,gBAKvB,OADAX,EAASK,QAAQP,EAAS,CAAEQ,YAAY,IACjCN,E,kJC9BT,SAAS/B,EAAcC,EAAOE,EAAOwC,GACnC1C,EAAME,MAAQA,GACdyC,EAAAA,EAAAA,GAAoB3C,EAAO,UAC3B2C,EAAAA,EAAAA,GAAoB3C,EAAO,UACvB0C,GACF1C,EAAM4C,U,qBCPV,SAASD,EAAoBE,EAAeC,GAC1C,OAAQA,GACN,IAAK,SACH,OAAOD,EAAcE,cAAc,IAAIC,WAAW,SAAU,CAC1DC,SAAS,KAEb,IAAK,QACH,OAAOJ,EAAcE,cAAc,IAAIC,WAAW,QAAS,CACzDC,SAAS,M","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-input-text-like.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-attribute-change-2b01c315.js","../node_modules/@genesys/common-webcomponents/dist/esm/set-input-value-5adeaccc.js","../node_modules/@genesys/common-webcomponents/dist/esm/simulate-native-event-ac69961f.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\nimport { s as setInputValue } from './set-input-value-5adeaccc.js';\nimport { o as onDisabledChange } from './on-attribute-change-2b01c315.js';\nimport './simulate-native-event-ac69961f.js';\n\nconst clear = \"Clear\";\nconst componentResources = {\n\tclear: clear\n};\n\nconst guxInputTextLikeCss = \"gux-input-text-like{display:block}gux-input-text-like .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:4px 8px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16)}gux-input-text-like .gux-input-container.gux-disabled{opacity:0.5}gux-input-text-like .gux-input-container input{flex:1 1 auto;align-self:auto;order:0;color:#33383d;background-color:#f8f8f8;border:none;outline:none}gux-input-text-like .gux-input-container input::placeholder{color:#666f7b;opacity:1}gux-input-text-like .gux-input-container .gux-clear-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;margin-left:8px;color:#666f7b;background:transparent;border:none;border-radius:4px}gux-input-text-like .gux-input-container .gux-clear-button:not(:disabled):focus,gux-input-text-like .gux-input-container .gux-clear-button:not(:disabled):hover{color:#33383d;cursor:pointer}gux-input-text-like .gux-input-container .gux-clear-button gux-icon{width:12px;height:12px;margin:4px;border-radius:4px}gux-input-text-like .gux-input-container .gux-clear-button:focus{outline:none}gux-input-text-like .gux-input-container .gux-clear-button:focus:enabled gux-icon{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}gux-input-text-like .gux-input-container:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}\";\n\nlet GuxInputTextLike = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.hasContent = false;\n }\n clearInput() {\n setInputValue(this.input, '', true);\n }\n setHasContent() {\n this.hasContent = Boolean(this.input.value);\n }\n renderClearButton() {\n if (this.clearable && this.hasContent && !this.disabled) {\n return (h(\"button\", { class: \"gux-clear-button\", tabIndex: -1, type: \"button\", title: this.getI18nValue('clear'), disabled: this.disabled, onClick: this.clearInput.bind(this) }, h(\"gux-icon\", { \"icon-name\": \"close\", decorative: true })));\n }\n return null;\n }\n async componentWillLoad() {\n this.getI18nValue = await buildI18nForComponent(this.root, componentResources);\n this.input = this.root.querySelector('input[slot=\"input\"]');\n this.setHasContent();\n this.disabled = this.input.disabled;\n this.input.addEventListener('input', () => {\n this.setHasContent();\n });\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n }\n render() {\n return (h(\"div\", { class: {\n 'gux-input-container': true,\n 'gux-disabled': this.disabled\n } }, h(\"slot\", { name: \"input\" }), this.renderClearButton()));\n }\n get root() { return getElement(this); }\n};\nGuxInputTextLike.style = guxInputTextLikeCss;\n\nexport { GuxInputTextLike as gux_input_text_like };\n","function onHiddenChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(() => {\n callback(element.hidden);\n });\n });\n observer.observe(element, {\n attributes: true,\n attributeFilter: ['hidden']\n });\n return observer;\n}\nfunction onDisabledChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(mutation => {\n if (mutation.attributeName === 'disabled') {\n callback(element.disabled);\n }\n });\n });\n observer.observe(element, { attributes: true });\n return observer;\n}\nfunction onRequiredChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(mutation => {\n if (mutation.attributeName === 'required') {\n callback(element.required);\n }\n });\n });\n observer.observe(element, { attributes: true });\n return observer;\n}\n\nexport { onRequiredChange as a, onHiddenChange as b, onDisabledChange as o };\n","import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';\n\nfunction setInputValue(input, value, focusAfter) {\n input.value = value;\n simulateNativeEvent(input, 'input');\n simulateNativeEvent(input, 'change');\n if (focusAfter) {\n input.focus();\n }\n}\n\nexport { setInputValue as s };\n","function simulateNativeEvent(targetElement, nativeEventName) {\n switch (nativeEventName) {\n case 'change':\n return targetElement.dispatchEvent(new InputEvent('change', {\n bubbles: true\n }));\n case 'input':\n return targetElement.dispatchEvent(new InputEvent('input', {\n bubbles: true\n }));\n }\n}\n\nexport { simulateNativeEvent as s };\n"],"names":["componentResources","clear","GuxInputTextLike","hostRef","registerInstance","this","hasContent","setInputValue","input","Boolean","value","clearable","disabled","h","class","tabIndex","type","title","getI18nValue","onClick","clearInput","bind","decorative","buildI18nForComponent","root","querySelector","setHasContent","addEventListener","disabledObserver","onDisabledChange","disconnect","name","renderClearButton","getElement","style","onHiddenChange","element","callback","observer","MutationObserver","mutations","forEach","hidden","observe","attributes","attributeFilter","mutation","attributeName","onRequiredChange","required","focusAfter","simulateNativeEvent","focus","targetElement","nativeEventName","dispatchEvent","InputEvent","bubbles"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[5572],{5572:function(e,t,i){i.r(t),i.d(t,{gux_text_field_legacy:function(){return d}});var r=i(4165),l=i(5861),n=i(2982),o=i(5671),u=i(3144),s=i(4723),c=i(8782),a=i(8125),g={eraseBtnAria:"Clear"},d=function(){function e(t){(0,o.Z)(this,e),(0,s.r)(this,t),this.input=(0,s.c)(this,"input",7),this.value="",this.type="text",this.disabled=!1,this.readonly=!1,this.validation=null,this.errorMessage="",this.errorMessageType="error",this.debounceTimeout=500,this.eraseLabel="",this.useClearButton=!0,this.classList=[]}return(0,u.Z)(e,[{key:"showClearButton",value:function(){return this.useClearButton&&this.value&&!this.readonly}},{key:"emitInput",value:function(e){e.preventDefault(),e.stopPropagation(),this.value=e.target.value,this.input.emit(e.target.value)}},{key:"emitFocusEvent",value:function(e){this.root.dispatchEvent(new FocusEvent(e.type,e))}},{key:"watchValue",value:function(e){var t=this;window.clearTimeout(this.timeout),this.timeout=window.setTimeout((function(){t._testValue(e)}),this.debounceTimeout)}},{key:"_testValue",value:function(e){if(this.validation)if(this.validation instanceof RegExp)this.validation.test(e)?this.errorMessage="":(this.errorMessageType="error",this.errorMessage=this.internalErrorMessage);else if("function"===typeof this.validation){var t=this.validation(e);t?t.warning?(this.errorMessageType="warning",this.errorMessage=t.warning):t.error?(this.errorMessageType="error",this.errorMessage=t.error):this.errorMessage="":(this.errorMessageType="error",this.errorMessage=this.internalErrorMessage)}}},{key:"getClassList",value:function(){var e=[];return this.errorMessage&&(e=[].concat((0,n.Z)(e),["gux-".concat(this.errorMessageType)])),this.disabled&&(e=[].concat((0,n.Z)(e),["gux-disabled"])),e.join(" ")}},{key:"componentWillLoad",value:function(){var e=(0,l.Z)((0,r.Z)().mark((function e(){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,a.t)(this.root,{variant:this.type}),this.internalErrorMessage=this.errorMessage,e.next=4,(0,c.b)(this.root,g);case 4:this.i18n=e.sent;case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"componentDidLoad",value:function(){this.firstValue=this.value,this._testValue(this.value)}},{key:"getIconByMessageType",value:function(e){return"warning"===e?"ic-alert-triangle":"ic-alert-octo"}},{key:"clear",value:function(){var e=(0,l.Z)((0,r.Z)().mark((function e(){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.disabled){e.next=2;break}return e.abrupt("return");case 2:this.value="",this.inputElement.value="",this.inputElement.focus(),this.input.emit(this.value);case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setLabelledBy",value:function(){var e=(0,l.Z)((0,r.Z)().mark((function e(t){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.srLabelledby=t;case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"setInputFocus",value:function(){var e=(0,l.Z)((0,r.Z)().mark((function e(){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.inputElement.focus();case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this;return[(0,s.h)("div",{class:this.getClassList()},(0,s.h)("div",{class:"gux-field"},(0,s.h)("input",{class:this.showClearButton()?"gux-text-clearable":"",type:this.type,value:this.value,ref:function(t){return e.inputElement=t},"aria-label":this.srLabel,"aria-labelledby":this.srLabelledby,disabled:this.disabled,readonly:this.readonly,placeholder:this.placeholder,onInput:function(t){return e.emitInput(t)},onFocus:function(t){return e.emitFocusEvent(t)},onBlur:function(t){return e.emitFocusEvent(t)}}),this.showClearButton()&&(0,s.h)("button",{type:"button",class:"gux-clear-button",title:this.eraseLabel,"aria-label":this.i18n("eraseBtnAria"),onClick:function(){return e.clear()}},(0,s.h)("gux-icon",{decorative:!0,"icon-name":"close"}))),this.errorMessage&&(0,s.h)("div",{class:"gux-error"},(0,s.h)("gux-icon",{decorative:!0,"icon-name":this.getIconByMessageType(this.errorMessageType)}),(0,s.h)("label",null,this.errorMessage))),(0,s.h)("slot",null)]}},{key:"root",get:function(){return(0,s.g)(this)}}],[{key:"watchers",get:function(){return{value:["watchValue"]}}}]),e}();d.style="gux-text-field-legacy{display:block}gux-text-field-legacy>div{margin:4px 0}gux-text-field-legacy>div.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-text-field-legacy>div.gux-error input,gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b;outline:0}gux-text-field-legacy>div.gux-error input:focus,gux-text-field-legacy>div.gux-warning input:focus,gux-text-field-legacy>div.gux-error input:hover,gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b;outline:0}gux-text-field-legacy>div.gux-error .gux-error,gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy>div.gux-error .gux-error i,gux-text-field-legacy>div.gux-warning .gux-error i{margin-right:4px}gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy>div>div.gux-field{position:relative;height:32px}gux-text-field-legacy .gux-field{position:relative}gux-text-field-legacy .gux-field input{box-sizing:border-box;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#fdfdfd;background-image:none;border:1px solid #77828f;border-radius:2px}gux-text-field-legacy .gux-field input::placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-moz-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input.gux-focused,gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}gux-text-field-legacy .gux-field input.gux-text-clearable{padding-right:25px}gux-text-field-legacy .gux-field button{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;color:#666f7b;cursor:pointer;background:none;border:none;outline:none}.gux-text-field-light-theme>div.gux-error input,.gux-text-field-light-theme>div.gux-warning input{border-color:#ea0b0b}.gux-text-field-light-theme>div.gux-error input:focus,.gux-text-field-light-theme>div.gux-warning input:focus,.gux-text-field-light-theme>div.gux-error input:hover,.gux-text-field-light-theme>div.gux-warning input:hover{border-color:#ea0b0b}.gux-text-field-light-theme>div.gux-error .gux-error,.gux-text-field-light-theme>div.gux-warning .gux-error{color:#ea0b0b}.gux-text-field-light-theme>div.gux-warning .gux-error i{color:#ffae00}.gux-text-field-light-theme .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}.gux-text-field-light-theme .gux-field input::placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input::-webkit-input-placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input::-ms-input-placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input::-moz-placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-text-field-light-theme .gux-field button{color:#666f7b}.gux-light-theme gux-text-field-legacy>div.gux-error input,.gux-light-theme gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-error input:focus,.gux-light-theme gux-text-field-legacy>div.gux-warning input:focus,.gux-light-theme gux-text-field-legacy>div.gux-error input:hover,.gux-light-theme gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-error .gux-error,.gux-light-theme gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}.gux-light-theme gux-text-field-legacy .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}.gux-light-theme gux-text-field-legacy .gux-field input::placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input::-moz-placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-light-theme gux-text-field-legacy .gux-field button{color:#666f7b}gux-text-field-legacy.gux-light-theme>div.gux-error input,gux-text-field-legacy.gux-light-theme>div.gux-warning input{border-color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-error input:focus,gux-text-field-legacy.gux-light-theme>div.gux-warning input:focus,gux-text-field-legacy.gux-light-theme>div.gux-error input:hover,gux-text-field-legacy.gux-light-theme>div.gux-warning input:hover{border-color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-error .gux-error,gux-text-field-legacy.gux-light-theme>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy.gux-light-theme .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}gux-text-field-legacy.gux-light-theme .gux-field input::placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input::-webkit-input-placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input::-ms-input-placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input::-moz-placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-text-field-legacy.gux-light-theme .gux-field button{color:#666f7b}gux-text-field-legacy>div.gux-error input,gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b}gux-text-field-legacy>div.gux-error input:focus,gux-text-field-legacy>div.gux-warning input:focus,gux-text-field-legacy>div.gux-error input:hover,gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b}gux-text-field-legacy>div.gux-error .gux-error,gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}gux-text-field-legacy .gux-field input::placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-moz-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-text-field-legacy .gux-field button{color:#666f7b}"},8125:function(e,t,i){i.d(t,{t:function(){return u}});var r=i(885),l={name:"@genesys/common-webcomponents",version:"2.55.3",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},n="spark-library",o=!1;function u(e,t){var i=window.newrelic;i&&(o||(!function(){var e=window.newrelic;if(!e)return;var t=l.version.split("."),i=(0,r.Z)(t,3),o=i[0],u=i[1],s=i[2];e.addPageAction(n,{fullVersion:"".concat(o,".").concat(u,".").concat(s),majorVersion:o,minorVersion:"".concat(o,".").concat(u)})}(),o=!0),i.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:l.version})))}}}]);
2
+ //# sourceMappingURL=5572.565c5d80.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/5572.565c5d80.chunk.js","mappings":"2PAKMA,EAAqB,CAC1BC,aAFoB,SAOjBC,EAAkB,WACpB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,OAAQC,EAAAA,EAAAA,GAAYF,KAAM,QAAS,GAIxCA,KAAKG,MAAQ,GAIbH,KAAKI,KAAO,OAIZJ,KAAKK,UAAW,EAIhBL,KAAKM,UAAW,EAIhBN,KAAKO,WAAa,KAIlBP,KAAKQ,aAAe,GAIpBR,KAAKS,iBAAmB,QAIxBT,KAAKU,gBAAkB,IAIvBV,KAAKW,WAAa,GAKlBX,KAAKY,gBAAiB,EACtBZ,KAAKa,UAAY,GA7CC,8CA+CpB,WACE,OAAOb,KAAKY,gBAAkBZ,KAAKG,QAAUH,KAAKM,WAhDhC,uBAkDpB,SAAUQ,GACRA,EAAMC,iBACND,EAAME,kBACNhB,KAAKG,MAAQW,EAAMG,OAAOd,MAC1BH,KAAKC,MAAMiB,KAAKJ,EAAMG,OAAOd,SAtDX,4BAwDpB,SAAeW,GACbd,KAAKmB,KAAKC,cAAc,IAAIC,WAAWP,EAAMV,KAAMU,MAzDjC,wBA2DpB,SAAWQ,GAAU,WACnBC,OAAOC,aAAaxB,KAAKyB,SACzBzB,KAAKyB,QAAUF,OAAOG,YAAW,WAC/B,EAAKC,WAAWL,KACftB,KAAKU,mBA/DU,wBAiEpB,SAAWP,GACT,GA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QC,cAAejE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-text-field-legacy.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst eraseBtnAria = \"Clear\";\nconst textFieldResources = {\n\teraseBtnAria: eraseBtnAria\n};\n\nconst guxTextFieldCss = \"gux-text-field-legacy{display:block}gux-text-field-legacy>div{margin:4px 0}gux-text-field-legacy>div.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-text-field-legacy>div.gux-error input,gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b;outline:0}gux-text-field-legacy>div.gux-error input:focus,gux-text-field-legacy>div.gux-warning input:focus,gux-text-field-legacy>div.gux-error input:hover,gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b;outline:0}gux-text-field-legacy>div.gux-error .gux-error,gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy>div.gux-error .gux-error i,gux-text-field-legacy>div.gux-warning .gux-error i{margin-right:4px}gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy>div>div.gux-field{position:relative;height:32px}gux-text-field-legacy .gux-field{position:relative}gux-text-field-legacy .gux-field input{box-sizing:border-box;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#fdfdfd;background-image:none;border:1px solid #77828f;border-radius:2px}gux-text-field-legacy .gux-field input::placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-moz-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input.gux-focused,gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}gux-text-field-legacy .gux-field input.gux-text-clearable{padding-right:25px}gux-text-field-legacy .gux-field button{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;color:#666f7b;cursor:pointer;background:none;border:none;outline:none}.gux-text-field-light-theme>div.gux-error input,.gux-text-field-light-theme>div.gux-warning input{border-color:#ea0b0b}.gux-text-field-light-theme>div.gux-error input:focus,.gux-text-field-light-theme>div.gux-warning input:focus,.gux-text-field-light-theme>div.gux-error input:hover,.gux-text-field-light-theme>div.gux-warning input:hover{border-color:#ea0b0b}.gux-text-field-light-theme>div.gux-error .gux-error,.gux-text-field-light-theme>div.gux-warning .gux-error{color:#ea0b0b}.gux-text-field-light-theme>div.gux-warning .gux-error i{color:#ffae00}.gux-text-field-light-theme .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}.gux-text-field-light-theme .gux-field input::placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input::-webkit-input-placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input::-ms-input-placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input::-moz-placeholder{color:#666f7b}.gux-text-field-light-theme .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-text-field-light-theme .gux-field button{color:#666f7b}.gux-light-theme gux-text-field-legacy>div.gux-error input,.gux-light-theme gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-error input:focus,.gux-light-theme gux-text-field-legacy>div.gux-warning input:focus,.gux-light-theme gux-text-field-legacy>div.gux-error input:hover,.gux-light-theme gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-error .gux-error,.gux-light-theme gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}.gux-light-theme gux-text-field-legacy .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}.gux-light-theme gux-text-field-legacy .gux-field input::placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input::-moz-placeholder{color:#666f7b}.gux-light-theme gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-light-theme gux-text-field-legacy .gux-field button{color:#666f7b}gux-text-field-legacy.gux-light-theme>div.gux-error input,gux-text-field-legacy.gux-light-theme>div.gux-warning input{border-color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-error input:focus,gux-text-field-legacy.gux-light-theme>div.gux-warning input:focus,gux-text-field-legacy.gux-light-theme>div.gux-error input:hover,gux-text-field-legacy.gux-light-theme>div.gux-warning input:hover{border-color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-error .gux-error,gux-text-field-legacy.gux-light-theme>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy.gux-light-theme .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}gux-text-field-legacy.gux-light-theme .gux-field input::placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input::-webkit-input-placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input::-ms-input-placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input::-moz-placeholder{color:#666f7b}gux-text-field-legacy.gux-light-theme .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-text-field-legacy.gux-light-theme .gux-field button{color:#666f7b}gux-text-field-legacy>div.gux-error input,gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b}gux-text-field-legacy>div.gux-error input:focus,gux-text-field-legacy>div.gux-warning input:focus,gux-text-field-legacy>div.gux-error input:hover,gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b}gux-text-field-legacy>div.gux-error .gux-error,gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy .gux-field input{color:#33383d;background-color:#fdfdfd;border:1px solid #e4e9f0;border-radius:4px}gux-text-field-legacy .gux-field input::placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input::-moz-placeholder{color:#666f7b}gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-text-field-legacy .gux-field button{color:#666f7b}\";\n\nlet GuxTextFieldLegacy = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.input = createEvent(this, \"input\", 7);\n /**\n * Indicate the input value\n */\n this.value = '';\n /**\n * Indicate the input type\n */\n this.type = 'text';\n /**\n * Disable the input and prevent interactions.\n */\n this.disabled = false;\n /**\n * Set the input in readonly mode\n */\n this.readonly = false;\n /**\n * The input validation.\n */\n this.validation = null;\n /**\n * The message displayed on validation failure.\n */\n this.errorMessage = '';\n /**\n * The message type (warning or error)\n */\n this.errorMessageType = \"error\" /* Error */;\n /**\n * Timeout between input and validation.\n */\n this.debounceTimeout = 500;\n /**\n * The label for the erase button\n */\n this.eraseLabel = '';\n /**\n * Determines whether or not the 'x' clear button is displayed when the input\n * contains text.\n */\n this.useClearButton = true;\n this.classList = [];\n }\n showClearButton() {\n return this.useClearButton && this.value && !this.readonly;\n }\n emitInput(event) {\n event.preventDefault();\n event.stopPropagation();\n this.value = event.target.value;\n this.input.emit(event.target.value);\n }\n emitFocusEvent(event) {\n this.root.dispatchEvent(new FocusEvent(event.type, event));\n }\n watchValue(newValue) {\n window.clearTimeout(this.timeout);\n this.timeout = window.setTimeout(() => {\n this._testValue(newValue);\n }, this.debounceTimeout);\n }\n _testValue(value) {\n if (!this.validation) {\n return;\n }\n if (this.validation instanceof RegExp) {\n if (!this.validation.test(value)) {\n this.errorMessageType = \"error\" /* Error */;\n this.errorMessage = this.internalErrorMessage;\n }\n else {\n this.errorMessage = '';\n }\n }\n else if (typeof this.validation === 'function') {\n const validation = this.validation(value);\n if (validation) {\n if (validation.warning) {\n this.errorMessageType = \"warning\" /* Warning */;\n this.errorMessage = validation.warning;\n }\n else if (validation.error) {\n this.errorMessageType = \"error\" /* Error */;\n this.errorMessage = validation.error;\n }\n else {\n this.errorMessage = '';\n }\n }\n else {\n this.errorMessageType = \"error\" /* Error */;\n this.errorMessage = this.internalErrorMessage;\n }\n }\n }\n getClassList() {\n let classList = [];\n if (this.errorMessage) {\n classList = [...classList, `gux-${this.errorMessageType}`];\n }\n if (this.disabled) {\n classList = [...classList, 'gux-disabled'];\n }\n return classList.join(' ');\n }\n async componentWillLoad() {\n trackComponent(this.root, { variant: this.type });\n this.internalErrorMessage = this.errorMessage;\n this.i18n = await buildI18nForComponent(this.root, textFieldResources);\n }\n componentDidLoad() {\n this.firstValue = this.value;\n this._testValue(this.value);\n }\n getIconByMessageType(type) {\n return type === 'warning' ? 'ic-alert-triangle' : 'ic-alert-octo';\n }\n /**\n * Clears the input.\n */\n async clear() {\n if (this.disabled) {\n return;\n }\n this.value = '';\n this.inputElement.value = '';\n this.inputElement.focus();\n this.input.emit(this.value);\n }\n /**\n * Provides an aria-labelledby element for this component.\n * @param id The value for aria-labeledby.\n */\n async setLabelledBy(id) {\n this.srLabelledby = id;\n }\n /**\n * Sets the input focus to the text input.\n */\n async setInputFocus() {\n this.inputElement.focus();\n }\n render() {\n return [\n h(\"div\", { class: this.getClassList() }, h(\"div\", { class: \"gux-field\" }, h(\"input\", { class: this.showClearButton() ? 'gux-text-clearable' : '', type: this.type, value: this.value, ref: el => (this.inputElement = el), \"aria-label\": this.srLabel, \"aria-labelledby\": this.srLabelledby, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, onInput: e => this.emitInput(e), onFocus: e => this.emitFocusEvent(e), onBlur: e => this.emitFocusEvent(e) }), this.showClearButton() && (h(\"button\", { type: \"button\", class: \"gux-clear-button\", title: this.eraseLabel, \"aria-label\": this.i18n('eraseBtnAria'), onClick: () => this.clear() }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"close\" })))), this.errorMessage && (h(\"div\", { class: \"gux-error\" }, h(\"gux-icon\", { decorative: true, \"icon-name\": this.getIconByMessageType(this.errorMessageType) }), h(\"label\", null, this.errorMessage)))),\n h(\"slot\", null)\n ];\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"value\": [\"watchValue\"]\n }; }\n};\nGuxTextFieldLegacy.style = guxTextFieldCss;\n\nexport { GuxTextFieldLegacy as gux_text_field_legacy };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"names":["textFieldResources","eraseBtnAria","GuxTextFieldLegacy","hostRef","registerInstance","this","input","createEvent","value","type","disabled","readonly","validation","errorMessage","errorMessageType","debounceTimeout","eraseLabel","useClearButton","classList","event","preventDefault","stopPropagation","target","emit","root","dispatchEvent","FocusEvent","newValue","window","clearTimeout","timeout","setTimeout","_testValue","RegExp","test","internalErrorMessage","warning","error","join","trackComponent","variant","buildI18nForComponent","i18n","firstValue","inputElement","focus","id","srLabelledby","h","class","getClassList","showClearButton","ref","el","srLabel","placeholder","onInput","e","emitInput","onFocus","emitFocusEvent","onBlur","title","onClick","clear","decorative","getIconByMessageType","getElement","style","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","lint","predev","prepare","release","stencil","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","element","metadata","newrelic","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"sourceRoot":""}