genesys-cloud-client-auth 0.0.2-build.37 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. package/LICENSE +2 -2
  2. package/dist/asset-manifest.json +209 -162
  3. package/dist/deploy-info.json +22 -0
  4. package/dist/genesys-cloud-client-auth.browser.min.js +1 -1
  5. package/dist/genesys-cloud-client-auth.browser.min.js.map +1 -1
  6. package/dist/index.html +1 -1
  7. package/dist/lib/cjs/authenticator.js +3 -3
  8. package/dist/lib/cjs/authenticator.js.map +1 -1
  9. package/dist/lib/cjs/parse-redirect.js +5 -5
  10. package/dist/lib/cjs/parse-redirect.js.map +1 -1
  11. package/dist/lib/cjs/types.d.ts +1 -1
  12. package/dist/lib/cjs/utils.d.ts +1 -1
  13. package/dist/lib/cjs/utils.js +2 -2
  14. package/dist/lib/cjs/utils.js.map +1 -1
  15. package/dist/lib/es/types.d.ts +1 -1
  16. package/dist/lib/es/utils.d.ts +1 -1
  17. package/dist/static/js/0.edb27f5c.chunk.js +3 -0
  18. package/dist/static/js/0.edb27f5c.chunk.js.map +1 -0
  19. package/dist/static/js/1.fb8750f9.chunk.js +2 -0
  20. package/dist/static/js/1.fb8750f9.chunk.js.map +1 -0
  21. package/dist/static/js/10.b5f91110.chunk.js +2 -0
  22. package/dist/static/js/10.b5f91110.chunk.js.map +1 -0
  23. package/dist/static/js/11.af6f8d77.chunk.js +2 -0
  24. package/dist/static/js/11.af6f8d77.chunk.js.map +1 -0
  25. package/dist/static/js/12.e8b2c21a.chunk.js +2 -0
  26. package/dist/static/js/12.e8b2c21a.chunk.js.map +1 -0
  27. package/dist/static/js/13.765af38c.chunk.js +2 -0
  28. package/dist/static/js/13.765af38c.chunk.js.map +1 -0
  29. package/dist/static/js/14.dc24fa84.chunk.js +2 -0
  30. package/dist/static/js/14.dc24fa84.chunk.js.map +1 -0
  31. package/dist/static/js/15.9d3c5e92.chunk.js +2 -0
  32. package/dist/static/js/15.9d3c5e92.chunk.js.map +1 -0
  33. package/dist/static/js/16.17cae18f.chunk.js +2 -0
  34. package/dist/static/js/16.17cae18f.chunk.js.map +1 -0
  35. package/dist/static/js/17.37a7bd60.chunk.js +2 -0
  36. package/dist/static/js/17.37a7bd60.chunk.js.map +1 -0
  37. package/dist/static/js/18.b3d93d8e.chunk.js +2 -0
  38. package/dist/static/js/18.b3d93d8e.chunk.js.map +1 -0
  39. package/dist/static/js/19.73f2c078.chunk.js +2 -0
  40. package/dist/static/js/19.73f2c078.chunk.js.map +1 -0
  41. package/dist/static/js/20.2dc963f0.chunk.js +2 -0
  42. package/dist/static/js/20.2dc963f0.chunk.js.map +1 -0
  43. package/dist/static/js/21.4d3fc628.chunk.js +2 -0
  44. package/dist/static/js/21.4d3fc628.chunk.js.map +1 -0
  45. package/dist/static/js/22.9d2a52b5.chunk.js +2 -0
  46. package/dist/static/js/22.9d2a52b5.chunk.js.map +1 -0
  47. package/dist/static/js/23.117d10f2.chunk.js +2 -0
  48. package/dist/static/js/23.117d10f2.chunk.js.map +1 -0
  49. package/dist/static/js/24.944f1f9b.chunk.js +2 -0
  50. package/dist/static/js/24.944f1f9b.chunk.js.map +1 -0
  51. package/dist/static/js/25.8522d872.chunk.js +2 -0
  52. package/dist/static/js/25.8522d872.chunk.js.map +1 -0
  53. package/dist/static/js/26.0bd957a1.chunk.js +2 -0
  54. package/dist/static/js/26.0bd957a1.chunk.js.map +1 -0
  55. package/dist/static/js/27.887ba6f3.chunk.js +2 -0
  56. package/dist/static/js/27.887ba6f3.chunk.js.map +1 -0
  57. package/dist/static/js/28.8b92091f.chunk.js +2 -0
  58. package/dist/static/js/28.8b92091f.chunk.js.map +1 -0
  59. package/dist/static/js/29.b0a5348a.chunk.js +2 -0
  60. package/dist/static/js/29.b0a5348a.chunk.js.map +1 -0
  61. package/dist/static/js/30.d58aa4bd.chunk.js +2 -0
  62. package/dist/static/js/30.d58aa4bd.chunk.js.map +1 -0
  63. package/dist/static/js/31.8bc6fb16.chunk.js +2 -0
  64. package/dist/static/js/31.8bc6fb16.chunk.js.map +1 -0
  65. package/dist/static/js/32.a6a85c40.chunk.js +2 -0
  66. package/dist/static/js/32.a6a85c40.chunk.js.map +1 -0
  67. package/dist/static/js/33.aa473951.chunk.js +2 -0
  68. package/dist/static/js/33.aa473951.chunk.js.map +1 -0
  69. package/dist/static/js/34.dbc7a54d.chunk.js +2 -0
  70. package/dist/static/js/34.dbc7a54d.chunk.js.map +1 -0
  71. package/dist/static/js/35.2b41332a.chunk.js +2 -0
  72. package/dist/static/js/35.2b41332a.chunk.js.map +1 -0
  73. package/dist/static/js/36.66a918eb.chunk.js +2 -0
  74. package/dist/static/js/36.66a918eb.chunk.js.map +1 -0
  75. package/dist/static/js/37.880d376e.chunk.js +3 -0
  76. package/dist/static/js/{20.2be3997f.chunk.js.LICENSE.txt → 37.880d376e.chunk.js.LICENSE.txt} +1 -1
  77. package/dist/static/js/37.880d376e.chunk.js.map +1 -0
  78. package/dist/static/js/38.3d8185bb.chunk.js +2 -0
  79. package/dist/static/js/38.3d8185bb.chunk.js.map +1 -0
  80. package/dist/static/js/39.754ffdce.chunk.js +2 -0
  81. package/dist/static/js/39.754ffdce.chunk.js.map +1 -0
  82. package/dist/static/js/40.8d53c8c4.chunk.js +2 -0
  83. package/dist/static/js/40.8d53c8c4.chunk.js.map +1 -0
  84. package/dist/static/js/41.4a3fc180.chunk.js +2 -0
  85. package/dist/static/js/41.4a3fc180.chunk.js.map +1 -0
  86. package/dist/static/js/42.adeca90f.chunk.js +2 -0
  87. package/dist/static/js/42.adeca90f.chunk.js.map +1 -0
  88. package/dist/static/js/43.36f67f1b.chunk.js +2 -0
  89. package/dist/static/js/43.36f67f1b.chunk.js.map +1 -0
  90. package/dist/static/js/44.4d96c33b.chunk.js +2 -0
  91. package/dist/static/js/44.4d96c33b.chunk.js.map +1 -0
  92. package/dist/static/js/45.02626866.chunk.js +2 -0
  93. package/dist/static/js/45.02626866.chunk.js.map +1 -0
  94. package/dist/static/js/46.0f08377a.chunk.js +2 -0
  95. package/dist/static/js/46.0f08377a.chunk.js.map +1 -0
  96. package/dist/static/js/47.7d7da0af.chunk.js +2 -0
  97. package/dist/static/js/47.7d7da0af.chunk.js.map +1 -0
  98. package/dist/static/js/48.26d10dc3.chunk.js +2 -0
  99. package/dist/static/js/48.26d10dc3.chunk.js.map +1 -0
  100. package/dist/static/js/49.f966b1fc.chunk.js +2 -0
  101. package/dist/static/js/49.f966b1fc.chunk.js.map +1 -0
  102. package/dist/static/js/5.c9623f8e.chunk.js +3 -0
  103. package/dist/static/js/5.c9623f8e.chunk.js.map +1 -0
  104. package/dist/static/js/50.c95c6a30.chunk.js +2 -0
  105. package/dist/static/js/50.c95c6a30.chunk.js.map +1 -0
  106. package/dist/static/js/51.09c99283.chunk.js +2 -0
  107. package/dist/static/js/51.09c99283.chunk.js.map +1 -0
  108. package/dist/static/js/52.b612edf1.chunk.js +2 -0
  109. package/dist/static/js/52.b612edf1.chunk.js.map +1 -0
  110. package/dist/static/js/53.fb38f8b2.chunk.js +2 -0
  111. package/dist/static/js/53.fb38f8b2.chunk.js.map +1 -0
  112. package/dist/static/js/54.940ea13b.chunk.js +2 -0
  113. package/dist/static/js/54.940ea13b.chunk.js.map +1 -0
  114. package/dist/static/js/55.0f323a4c.chunk.js +2 -0
  115. package/dist/static/js/55.0f323a4c.chunk.js.map +1 -0
  116. package/dist/static/js/56.9d5b8236.chunk.js +2 -0
  117. package/dist/static/js/56.9d5b8236.chunk.js.map +1 -0
  118. package/dist/static/js/57.883726f5.chunk.js +2 -0
  119. package/dist/static/js/57.883726f5.chunk.js.map +1 -0
  120. package/dist/static/js/58.0b33271d.chunk.js +2 -0
  121. package/dist/static/js/58.0b33271d.chunk.js.map +1 -0
  122. package/dist/static/js/59.8c50590b.chunk.js +2 -0
  123. package/dist/static/js/59.8c50590b.chunk.js.map +1 -0
  124. package/dist/static/js/6.e61fa6f6.chunk.js +2 -0
  125. package/dist/static/js/6.e61fa6f6.chunk.js.map +1 -0
  126. package/dist/static/js/60.a9da135f.chunk.js +2 -0
  127. package/dist/static/js/60.a9da135f.chunk.js.map +1 -0
  128. package/dist/static/js/61.fdec801b.chunk.js +2 -0
  129. package/dist/static/js/61.fdec801b.chunk.js.map +1 -0
  130. package/dist/static/js/62.bd5c9b92.chunk.js +2 -0
  131. package/dist/static/js/62.bd5c9b92.chunk.js.map +1 -0
  132. package/dist/static/js/63.51b2a768.chunk.js +2 -0
  133. package/dist/static/js/63.51b2a768.chunk.js.map +1 -0
  134. package/dist/static/js/64.ce04e880.chunk.js +2 -0
  135. package/dist/static/js/64.ce04e880.chunk.js.map +1 -0
  136. package/dist/static/js/65.b0dee0e4.chunk.js +2 -0
  137. package/dist/static/js/65.b0dee0e4.chunk.js.map +1 -0
  138. package/dist/static/js/66.ff9acb3c.chunk.js +2 -0
  139. package/dist/static/js/66.ff9acb3c.chunk.js.map +1 -0
  140. package/dist/static/js/67.2c3abbd0.chunk.js +2 -0
  141. package/dist/static/js/67.2c3abbd0.chunk.js.map +1 -0
  142. package/dist/static/js/68.e910f9bf.chunk.js +2 -0
  143. package/dist/static/js/68.e910f9bf.chunk.js.map +1 -0
  144. package/dist/static/js/69.d7127e9a.chunk.js +2 -0
  145. package/dist/static/js/69.d7127e9a.chunk.js.map +1 -0
  146. package/dist/static/js/7.5f708a6d.chunk.js +2 -0
  147. package/dist/static/js/7.5f708a6d.chunk.js.map +1 -0
  148. package/dist/static/js/70.e309686b.chunk.js +2 -0
  149. package/dist/static/js/70.e309686b.chunk.js.map +1 -0
  150. package/dist/static/js/71.6dddd458.chunk.js +2 -0
  151. package/dist/static/js/71.6dddd458.chunk.js.map +1 -0
  152. package/dist/static/js/72.c4e0c62d.chunk.js +2 -0
  153. package/dist/static/js/72.c4e0c62d.chunk.js.map +1 -0
  154. package/dist/static/js/73.5ab9be33.chunk.js +2 -0
  155. package/dist/static/js/73.5ab9be33.chunk.js.map +1 -0
  156. package/dist/static/js/74.eec26242.chunk.js +2 -0
  157. package/dist/static/js/74.eec26242.chunk.js.map +1 -0
  158. package/dist/static/js/75.574bcc06.chunk.js +2 -0
  159. package/dist/static/js/75.574bcc06.chunk.js.map +1 -0
  160. package/dist/static/js/76.a384ac81.chunk.js +2 -0
  161. package/dist/static/js/76.a384ac81.chunk.js.map +1 -0
  162. package/dist/static/js/77.2600e3ed.chunk.js +2 -0
  163. package/dist/static/js/77.2600e3ed.chunk.js.map +1 -0
  164. package/dist/static/js/78.9189f5ca.chunk.js +2 -0
  165. package/dist/static/js/78.9189f5ca.chunk.js.map +1 -0
  166. package/dist/static/js/79.0380c00b.chunk.js +2 -0
  167. package/dist/static/js/79.0380c00b.chunk.js.map +1 -0
  168. package/dist/static/js/8.62d1b039.chunk.js +2 -0
  169. package/dist/static/js/8.62d1b039.chunk.js.map +1 -0
  170. package/dist/static/js/80.4846f70b.chunk.js +2 -0
  171. package/dist/static/js/80.4846f70b.chunk.js.map +1 -0
  172. package/dist/static/js/81.4802c507.chunk.js +2 -0
  173. package/dist/static/js/81.4802c507.chunk.js.map +1 -0
  174. package/dist/static/js/82.56954654.chunk.js +2 -0
  175. package/dist/static/js/82.56954654.chunk.js.map +1 -0
  176. package/dist/static/js/83.8922d346.chunk.js +2 -0
  177. package/dist/static/js/83.8922d346.chunk.js.map +1 -0
  178. package/dist/static/js/84.d55272b0.chunk.js +2 -0
  179. package/dist/static/js/84.d55272b0.chunk.js.map +1 -0
  180. package/dist/static/js/85.7dd389fe.chunk.js +2 -0
  181. package/dist/static/js/85.7dd389fe.chunk.js.map +1 -0
  182. package/dist/static/js/86.e44f1414.chunk.js +2 -0
  183. package/dist/static/js/86.e44f1414.chunk.js.map +1 -0
  184. package/dist/static/js/87.b32bf884.chunk.js +2 -0
  185. package/dist/static/js/87.b32bf884.chunk.js.map +1 -0
  186. package/dist/static/js/88.362f1612.chunk.js +2 -0
  187. package/dist/static/js/88.362f1612.chunk.js.map +1 -0
  188. package/dist/static/js/89.b1afb0d8.chunk.js +2 -0
  189. package/dist/static/js/89.b1afb0d8.chunk.js.map +1 -0
  190. package/dist/static/js/9.9d6f0e1b.chunk.js +2 -0
  191. package/dist/static/js/9.9d6f0e1b.chunk.js.map +1 -0
  192. package/dist/static/js/90.22a231ad.chunk.js +2 -0
  193. package/dist/static/js/90.22a231ad.chunk.js.map +1 -0
  194. package/dist/static/js/91.0160e95d.chunk.js +2 -0
  195. package/dist/static/js/91.0160e95d.chunk.js.map +1 -0
  196. package/dist/static/js/92.ff5bae9a.chunk.js +2 -0
  197. package/dist/static/js/92.ff5bae9a.chunk.js.map +1 -0
  198. package/dist/static/js/93.982b5c40.chunk.js +2 -0
  199. package/dist/static/js/93.982b5c40.chunk.js.map +1 -0
  200. package/dist/static/js/94.74a0f47b.chunk.js +2 -0
  201. package/dist/static/js/94.74a0f47b.chunk.js.map +1 -0
  202. package/dist/static/js/95.8657b1a8.chunk.js +2 -0
  203. package/dist/static/js/95.8657b1a8.chunk.js.map +1 -0
  204. package/dist/static/js/96.b1ce4c6c.chunk.js +2 -0
  205. package/dist/static/js/96.b1ce4c6c.chunk.js.map +1 -0
  206. package/dist/static/js/97.ad09ed1c.chunk.js +2 -0
  207. package/dist/static/js/97.ad09ed1c.chunk.js.map +1 -0
  208. package/dist/static/js/98.79852574.chunk.js +2 -0
  209. package/dist/static/js/98.79852574.chunk.js.map +1 -0
  210. package/dist/static/js/main.8646e136.chunk.js +2 -0
  211. package/dist/static/js/main.8646e136.chunk.js.map +1 -0
  212. package/dist/static/js/polyfills-dom.c60c028d.chunk.js +3 -0
  213. package/dist/static/js/polyfills-dom.c60c028d.chunk.js.map +1 -0
  214. package/dist/static/js/runtime-main.c5235a78.js +2 -0
  215. package/dist/static/js/runtime-main.c5235a78.js.map +1 -0
  216. package/dist/static/media/getFetch.5fde86e3.cjs +1 -0
  217. package/package.json +4 -4
  218. package/CHANGELOG.md +0 -8
  219. package/dist/static/js/0.71c0b4a8.chunk.js +0 -3
  220. package/dist/static/js/0.71c0b4a8.chunk.js.map +0 -1
  221. package/dist/static/js/1.8399f811.chunk.js +0 -2
  222. package/dist/static/js/1.8399f811.chunk.js.map +0 -1
  223. package/dist/static/js/10.8fb6019a.chunk.js +0 -2
  224. package/dist/static/js/10.8fb6019a.chunk.js.map +0 -1
  225. package/dist/static/js/11.aa22b687.chunk.js +0 -2
  226. package/dist/static/js/11.aa22b687.chunk.js.map +0 -1
  227. package/dist/static/js/12.586642ff.chunk.js +0 -2
  228. package/dist/static/js/12.586642ff.chunk.js.map +0 -1
  229. package/dist/static/js/13.c0c5fd67.chunk.js +0 -2
  230. package/dist/static/js/13.c0c5fd67.chunk.js.map +0 -1
  231. package/dist/static/js/14.c3e0d008.chunk.js +0 -2
  232. package/dist/static/js/14.c3e0d008.chunk.js.map +0 -1
  233. package/dist/static/js/15.20587752.chunk.js +0 -2
  234. package/dist/static/js/15.20587752.chunk.js.map +0 -1
  235. package/dist/static/js/16.c19b0b1c.chunk.js +0 -2
  236. package/dist/static/js/16.c19b0b1c.chunk.js.map +0 -1
  237. package/dist/static/js/17.06cd7ac8.chunk.js +0 -2
  238. package/dist/static/js/17.06cd7ac8.chunk.js.map +0 -1
  239. package/dist/static/js/18.e02b6cd8.chunk.js +0 -2
  240. package/dist/static/js/18.e02b6cd8.chunk.js.map +0 -1
  241. package/dist/static/js/19.2d45340c.chunk.js +0 -2
  242. package/dist/static/js/19.2d45340c.chunk.js.map +0 -1
  243. package/dist/static/js/20.2be3997f.chunk.js +0 -3
  244. package/dist/static/js/20.2be3997f.chunk.js.map +0 -1
  245. package/dist/static/js/21.90337a55.chunk.js +0 -2
  246. package/dist/static/js/21.90337a55.chunk.js.map +0 -1
  247. package/dist/static/js/22.0c42f6ee.chunk.js +0 -2
  248. package/dist/static/js/22.0c42f6ee.chunk.js.map +0 -1
  249. package/dist/static/js/23.96d71d61.chunk.js +0 -3
  250. package/dist/static/js/23.96d71d61.chunk.js.map +0 -1
  251. package/dist/static/js/24.c8a6aef1.chunk.js +0 -2
  252. package/dist/static/js/24.c8a6aef1.chunk.js.map +0 -1
  253. package/dist/static/js/25.1549af44.chunk.js +0 -2
  254. package/dist/static/js/25.1549af44.chunk.js.map +0 -1
  255. package/dist/static/js/26.f5920959.chunk.js +0 -2
  256. package/dist/static/js/26.f5920959.chunk.js.map +0 -1
  257. package/dist/static/js/27.4c4b5337.chunk.js +0 -2
  258. package/dist/static/js/27.4c4b5337.chunk.js.map +0 -1
  259. package/dist/static/js/28.e4ae1c5b.chunk.js +0 -2
  260. package/dist/static/js/28.e4ae1c5b.chunk.js.map +0 -1
  261. package/dist/static/js/29.c8bcd088.chunk.js +0 -2
  262. package/dist/static/js/29.c8bcd088.chunk.js.map +0 -1
  263. package/dist/static/js/30.3f776fe2.chunk.js +0 -2
  264. package/dist/static/js/30.3f776fe2.chunk.js.map +0 -1
  265. package/dist/static/js/31.295a0045.chunk.js +0 -2
  266. package/dist/static/js/31.295a0045.chunk.js.map +0 -1
  267. package/dist/static/js/32.c6495395.chunk.js +0 -2
  268. package/dist/static/js/32.c6495395.chunk.js.map +0 -1
  269. package/dist/static/js/33.bc3f2778.chunk.js +0 -2
  270. package/dist/static/js/33.bc3f2778.chunk.js.map +0 -1
  271. package/dist/static/js/34.9c6f42a2.chunk.js +0 -2
  272. package/dist/static/js/34.9c6f42a2.chunk.js.map +0 -1
  273. package/dist/static/js/35.080ac296.chunk.js +0 -2
  274. package/dist/static/js/35.080ac296.chunk.js.map +0 -1
  275. package/dist/static/js/36.30926ca6.chunk.js +0 -2
  276. package/dist/static/js/36.30926ca6.chunk.js.map +0 -1
  277. package/dist/static/js/37.535e0baf.chunk.js +0 -2
  278. package/dist/static/js/37.535e0baf.chunk.js.map +0 -1
  279. package/dist/static/js/38.c6142d9d.chunk.js +0 -2
  280. package/dist/static/js/38.c6142d9d.chunk.js.map +0 -1
  281. package/dist/static/js/39.4e5e9e70.chunk.js +0 -2
  282. package/dist/static/js/39.4e5e9e70.chunk.js.map +0 -1
  283. package/dist/static/js/40.67f8a4cc.chunk.js +0 -2
  284. package/dist/static/js/40.67f8a4cc.chunk.js.map +0 -1
  285. package/dist/static/js/41.8dc69989.chunk.js +0 -2
  286. package/dist/static/js/41.8dc69989.chunk.js.map +0 -1
  287. package/dist/static/js/42.a8312848.chunk.js +0 -2
  288. package/dist/static/js/42.a8312848.chunk.js.map +0 -1
  289. package/dist/static/js/43.ce512d00.chunk.js +0 -2
  290. package/dist/static/js/43.ce512d00.chunk.js.map +0 -1
  291. package/dist/static/js/44.197bff30.chunk.js +0 -2
  292. package/dist/static/js/44.197bff30.chunk.js.map +0 -1
  293. package/dist/static/js/45.9c281539.chunk.js +0 -2
  294. package/dist/static/js/45.9c281539.chunk.js.map +0 -1
  295. package/dist/static/js/46.8625525a.chunk.js +0 -2
  296. package/dist/static/js/46.8625525a.chunk.js.map +0 -1
  297. package/dist/static/js/47.89e00f8b.chunk.js +0 -2
  298. package/dist/static/js/47.89e00f8b.chunk.js.map +0 -1
  299. package/dist/static/js/48.1150630c.chunk.js +0 -2
  300. package/dist/static/js/48.1150630c.chunk.js.map +0 -1
  301. package/dist/static/js/49.d628f230.chunk.js +0 -2
  302. package/dist/static/js/49.d628f230.chunk.js.map +0 -1
  303. package/dist/static/js/5.8b318946.chunk.js +0 -3
  304. package/dist/static/js/5.8b318946.chunk.js.map +0 -1
  305. package/dist/static/js/50.f54ba3ed.chunk.js +0 -2
  306. package/dist/static/js/50.f54ba3ed.chunk.js.map +0 -1
  307. package/dist/static/js/51.b1d2a0f9.chunk.js +0 -2
  308. package/dist/static/js/51.b1d2a0f9.chunk.js.map +0 -1
  309. package/dist/static/js/52.d9cdf428.chunk.js +0 -2
  310. package/dist/static/js/52.d9cdf428.chunk.js.map +0 -1
  311. package/dist/static/js/53.eb9374c8.chunk.js +0 -2
  312. package/dist/static/js/53.eb9374c8.chunk.js.map +0 -1
  313. package/dist/static/js/54.0246cd90.chunk.js +0 -2
  314. package/dist/static/js/54.0246cd90.chunk.js.map +0 -1
  315. package/dist/static/js/55.f6407d07.chunk.js +0 -2
  316. package/dist/static/js/55.f6407d07.chunk.js.map +0 -1
  317. package/dist/static/js/56.030f4c2c.chunk.js +0 -2
  318. package/dist/static/js/56.030f4c2c.chunk.js.map +0 -1
  319. package/dist/static/js/57.106fdb37.chunk.js +0 -2
  320. package/dist/static/js/57.106fdb37.chunk.js.map +0 -1
  321. package/dist/static/js/58.9efa9671.chunk.js +0 -2
  322. package/dist/static/js/58.9efa9671.chunk.js.map +0 -1
  323. package/dist/static/js/59.3b47d57a.chunk.js +0 -2
  324. package/dist/static/js/59.3b47d57a.chunk.js.map +0 -1
  325. package/dist/static/js/6.8ac679aa.chunk.js +0 -2
  326. package/dist/static/js/6.8ac679aa.chunk.js.map +0 -1
  327. package/dist/static/js/60.0335fabd.chunk.js +0 -2
  328. package/dist/static/js/60.0335fabd.chunk.js.map +0 -1
  329. package/dist/static/js/61.cf7f57fc.chunk.js +0 -2
  330. package/dist/static/js/61.cf7f57fc.chunk.js.map +0 -1
  331. package/dist/static/js/62.bb858ee5.chunk.js +0 -2
  332. package/dist/static/js/62.bb858ee5.chunk.js.map +0 -1
  333. package/dist/static/js/63.107ffad7.chunk.js +0 -2
  334. package/dist/static/js/63.107ffad7.chunk.js.map +0 -1
  335. package/dist/static/js/64.a485a8c8.chunk.js +0 -2
  336. package/dist/static/js/64.a485a8c8.chunk.js.map +0 -1
  337. package/dist/static/js/65.3593d4bb.chunk.js +0 -2
  338. package/dist/static/js/65.3593d4bb.chunk.js.map +0 -1
  339. package/dist/static/js/66.9202016a.chunk.js +0 -2
  340. package/dist/static/js/66.9202016a.chunk.js.map +0 -1
  341. package/dist/static/js/67.45ef3717.chunk.js +0 -2
  342. package/dist/static/js/67.45ef3717.chunk.js.map +0 -1
  343. package/dist/static/js/68.e638cd4b.chunk.js +0 -2
  344. package/dist/static/js/68.e638cd4b.chunk.js.map +0 -1
  345. package/dist/static/js/69.b404f87e.chunk.js +0 -2
  346. package/dist/static/js/69.b404f87e.chunk.js.map +0 -1
  347. package/dist/static/js/7.a488d90e.chunk.js +0 -2
  348. package/dist/static/js/7.a488d90e.chunk.js.map +0 -1
  349. package/dist/static/js/70.32ae1b4a.chunk.js +0 -2
  350. package/dist/static/js/70.32ae1b4a.chunk.js.map +0 -1
  351. package/dist/static/js/71.14e7b1f4.chunk.js +0 -2
  352. package/dist/static/js/71.14e7b1f4.chunk.js.map +0 -1
  353. package/dist/static/js/72.6f860cde.chunk.js +0 -2
  354. package/dist/static/js/72.6f860cde.chunk.js.map +0 -1
  355. package/dist/static/js/73.8839e5fd.chunk.js +0 -3
  356. package/dist/static/js/73.8839e5fd.chunk.js.LICENSE.txt +0 -11
  357. package/dist/static/js/73.8839e5fd.chunk.js.map +0 -1
  358. package/dist/static/js/74.da2b0a38.chunk.js +0 -2
  359. package/dist/static/js/74.da2b0a38.chunk.js.map +0 -1
  360. package/dist/static/js/8.ab0b80c1.chunk.js +0 -2
  361. package/dist/static/js/8.ab0b80c1.chunk.js.map +0 -1
  362. package/dist/static/js/9.12e26806.chunk.js +0 -2
  363. package/dist/static/js/9.12e26806.chunk.js.map +0 -1
  364. package/dist/static/js/main.4aab9f6d.chunk.js +0 -2
  365. package/dist/static/js/main.4aab9f6d.chunk.js.map +0 -1
  366. package/dist/static/js/polyfills-css-shim.4a931322.chunk.js +0 -2
  367. package/dist/static/js/polyfills-css-shim.4a931322.chunk.js.map +0 -1
  368. package/dist/static/js/runtime-main.847af914.js +0 -2
  369. package/dist/static/js/runtime-main.847af914.js.map +0 -1
  370. package/dist/static/media/getFetch.582d29c4.cjs +0 -1
  371. /package/dist/static/js/{0.71c0b4a8.chunk.js.LICENSE.txt → 0.edb27f5c.chunk.js.LICENSE.txt} +0 -0
  372. /package/dist/static/js/{5.8b318946.chunk.js.LICENSE.txt → 5.c9623f8e.chunk.js.LICENSE.txt} +0 -0
  373. /package/dist/static/js/{23.96d71d61.chunk.js.LICENSE.txt → polyfills-dom.c60c028d.chunk.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[12],{133:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));const i={name:"@genesys/common-webcomponents",version:"2.59.1",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},r="spark-library",o="spark-component";let s=!1;function a(e,t){const n=window.newrelic;n&&(s||(!function(){const e=window.newrelic;if(!e)return;const[t,n,o]=i.version.split(".");e.addPageAction(r,{fullVersion:"".concat(t,".").concat(n,".").concat(o),majorVersion:t,minorVersion:"".concat(t,".").concat(n)})}(),s=!0),n.addPageAction(o,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}},134:function(e,t,n){"use strict";function i(){return"".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"gux","-").concat(Math.random().toString(36).substr(2,10))}n.d(t,"a",(function(){return i}))},135:function(e,t,n){"use strict";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,"a",(function(){return i}))},136:function(e,t,n){"use strict";function i(e,t){setTimeout((()=>{throw new Error("[".concat(e,"] ").concat(t))}),0)}function r(e,t){setTimeout((()=>{console.warn("[".concat(e,"] ").concat(t))}),0)}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}))},137:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(135);function r(e,t,n){e.value=t,Object(i.a)(e,"input"),Object(i.a)(e,"change"),n&&e.focus()}},138:function(e,t,n){"use strict";function i(e,t){const n=new MutationObserver((n=>{n.forEach((()=>{t(e.hidden)}))}));return n.observe(e,{attributes:!0,attributeFilter:["hidden"]}),n}function r(e,t){const n=new MutationObserver((n=>{n.forEach((n=>{"disabled"===n.attributeName&&t(e.disabled)}))}));return n.observe(e,{attributes:!0}),n}function o(e,t){const n=new MutationObserver((n=>{n.forEach((n=>{"required"===n.attributeName&&t(e.required)}))}));return n.observe(e,{attributes:!0}),n}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r}))},140:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(10);function r(e){return(t,n)=>{const{connectedCallback:r,disconnectedCallback:o}=t;let s;t.connectedCallback=function(){const t=Object(i.g)(this),o=this[n];return s=new MutationObserver(o.bind(this)),s.observe(t,e),r&&r.call(this)},t.disconnectedCallback=function(){return s.disconnect(),o&&o.call(this)}}}},141:function(e,t,n){"use strict";function i(e){e.addEventListener("invalid",(e=>{e.preventDefault()}))}n.d(t,"a",(function(){return i}))},142:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return p}));var i=n(10),r=n(134),o=n(136),s=n(137);const a=(e,t)=>{let{hasError:n}=e;return Object(i.h)("div",{class:{"gux-form-field-error":!0,"gux-show":n}},Object(i.h)("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),Object(i.h)("div",{class:"gux-message"},t))};function c(e){Object(s.a)(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)){const n=e.querySelector('label[slot="label"]'),i=Boolean(t.hasAttribute("id")),s=Boolean(n.hasAttribute("for"));if(!i&&s)Object(o.b)(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){const e=t.getAttribute("id");n.setAttribute("for",e)}else i&&s&&t.getAttribute("id")!==n.getAttribute("for")&&Object(o.b)(e.tagName.toLowerCase(),"The input id and label for attribute should match.");else{const e=Object(r.a)("gux-form-field-input");t.setAttribute("id",e),n.setAttribute("for",e)}}else Object(o.b)(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)){const n=e.querySelector('[slot="error"]'),i=Object(r.a)("gux-form-field-error");n.setAttribute("id",i),t.setAttribute("aria-describedby",i)}else t.getAttribute("aria-describedby")&&t.getAttribute("aria-describedby").startsWith("gux-form-field-error")&&t.removeAttribute("aria-describedby")}},143:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n(10);const r=(e,t)=>{let{labelPosition:n}=e;return Object(i.h)("div",{class:{"gux-form-field-container":!0,["gux-".concat(n)]:!0}},t)},o=(e,t)=>{let{position:n,required:r}=e;return Object(i.h)("div",{class:{"gux-form-field-label":!0,["gux-".concat(n)]:!0,"gux-required":r}},t)}},78:function(e,t,n){"use strict";n.r(t),n.d(t,"gux_form_field_textarea_beta",(function(){return d}));var i=n(10),r=n(140),o=n(138),s=n(141),a=n(133),c=n(143),l=n(142);n(134),n(136),n(137),n(135);var u=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s};let d=class{constructor(e){Object(i.j)(this,e),this.computedLabelPosition="above",this.required=!0,this.hasError=!1}onMutation(){this.hasError=Object(l.e)(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=Object(l.e)(this.root),Object(a.a)(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return Object(i.h)(c.b,{labelPosition:this.computedLabelPosition},Object(i.h)(c.a,{position:this.computedLabelPosition,required:this.required},Object(i.h)("slot",{name:"label",onSlotchange:()=>this.setLabel()})),Object(i.h)("div",{class:"gux-input-and-error-container"},Object(i.h)("div",{ref:e=>this.textareaContainerElement=e,class:{"gux-input":!0,["gux-resize-".concat(this.resize)]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},Object(i.h)("slot",{name:"input"})),Object(i.h)(l.a,{hasError:this.hasError},Object(i.h)("slot",{name:"error"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return"".concat(this.resize,"-").concat(e)}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),Object(s.a)(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=Object(o.c)(this.input,(e=>{this.disabled=e})),this.requiredObserver=Object(o.a)(this.input,(e=>{this.required=e})),Object(l.f)(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=Object(l.d)(this.label,this.labelPosition)}updateHeight(e,t,n){"auto"===n&&e&&(e.dataset.replicatedValue=t.value,e.style.maxHeight=t.style.maxHeight)}get root(){return Object(i.g)(this)}};u([Object(r.a)({childList:!0,subtree:!0})],d.prototype,"onMutation",null),d.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:#2e394c}.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:#2e394c}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;color:#2e394c;resize:vertical;background-color:#f6f7f9;background-image:none;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px;min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}::slotted(textarea)::placeholder{color:#596373;opacity:1}::slotted(textarea)[disabled]{opacity:0.5}::slotted(textarea)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:block;border:1px solid #6b7585;border-radius:4px;outline:none}.gux-input-and-error-container .gux-input:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error{border-color:#ea0b0b}.gux-input-and-error-container .gux-input.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) ' ';min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}"}}]);
2
+ //# sourceMappingURL=12.e8b2c21a.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js","../node_modules/@genesys/common-webcomponents/dist/esm/random-html-id-8e3f658c.js","../node_modules/@genesys/common-webcomponents/dist/esm/simulate-native-event-ac69961f.js","../node_modules/@genesys/common-webcomponents/dist/esm/log-error-3d08c2b1.js","../node_modules/@genesys/common-webcomponents/dist/esm/set-input-value-5adeaccc.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/gux-form-field.servce-8bb23dbf.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-label-49e29743.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-textarea-beta.entry.js"],"names":["packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","componentPageAction","libVersionReported","trackComponent","element","metadata","newrelic","window","major","minor","patch","split","addPageAction","fullVersion","concat","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase","randomHTMLId","arguments","length","undefined","Math","random","toString","substr","simulateNativeEvent","targetElement","nativeEventName","dispatchEvent","InputEvent","bubbles","logError","message","setTimeout","Error","logWarn","console","warn","setInputValue","input","value","focusAfter","focus","onHiddenChange","callback","observer","MutationObserver","mutations","forEach","hidden","observe","attributes","attributeFilter","onDisabledChange","mutation","attributeName","disabled","onRequiredChange","required","OnMutation","opt","proto","methodName","connectedCallback","disconnectedCallback","onMutationObserver","host","getElement","this","method","bind","call","disconnect","preventBrowserValidationStyling","addEventListener","event","preventDefault","GuxFormFieldError","_ref","children","hasError","h","class","decorative","clearInput","hasErrorSlot","root","Boolean","querySelector","hasContent","getComputedLabelPosition","label","labelPosition","includes","offsetWidth","validateFormIds","hasLabelSlot","inputHasId","hasAttribute","labelHasFor","forId","getAttribute","setAttribute","defaultInputId","error","errorId","startsWith","removeAttribute","GuxFormFieldContainer","GuxFormFieldLabel","_ref2","position","__decorate","decorators","target","key","desc","d","c","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","GuxFormFieldTextarea","constructor","hostRef","registerInstance","computedLabelPosition","onMutation","componentWillLoad","setInput","setLabel","variant","componentDidLoad","updateHeight","textareaContainerElement","resize","disabledObserver","requiredObserver","render","onSlotchange","ref","el","labelPositionVariant","container","dataset","replicatedValue","style","maxHeight","childList","subtree","prototype"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,MAlKa,wBAmKbC,WAlKkB,2CAmKlBC,MAlKa,CACb,SAkKAC,QAhKe,CACfC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SACR,mBAAoB,mCACpB,2BAA4B,2CAC5BC,IAAK,6DACL,aAAc,oEACdC,KAAM,6BACN,WAAY,6BACZ,kBAAmB,+CACn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cesContent":["const name = \"@genesys/common-webcomponents\";\nconst version = \"2.59.1\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\t\"create-non-en-i18n-files\": \"node scripts/create-non-en-i18n-files.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n","function randomHTMLId(prefix = 'gux') {\n return `${prefix}-${Math.random().toString(36).substr(2, 10)}`;\n}\n\nexport { randomHTMLId as r };\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","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","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 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","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","import { h } from './index-5f3763b4.js';\n\nconst GuxFormFieldContainer = ({ labelPosition }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-container': true,\n [`gux-${labelPosition}`]: true\n } }, children));\n};\n\nconst GuxFormFieldLabel = ({ position, required }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-label': true,\n [`gux-${position}`]: true,\n 'gux-required': required\n } }, children));\n};\n\nexport { GuxFormFieldLabel as G, GuxFormFieldContainer as a };\n","import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { O as OnMutation } from './on-mutation-678b39ea.js';\nimport { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';\nimport { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\nimport { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-49e29743.js';\nimport { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.servce-8bb23dbf.js';\nimport './random-html-id-8e3f658c.js';\nimport './log-error-3d08c2b1.js';\nimport './set-input-value-5adeaccc.js';\nimport './simulate-native-event-ac69961f.js';\n\nconst guxFormFieldTextareaCss = \".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.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:#2e394c}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;color:#2e394c;resize:vertical;background-color:#f6f7f9;background-image:none;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px;min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}::slotted(textarea)::placeholder{color:#596373;opacity:1}::slotted(textarea)[disabled]{opacity:0.5}::slotted(textarea)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:block;border:1px solid #6b7585;border-radius:4px;outline:none}.gux-input-and-error-container .gux-input:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error{border-color:#ea0b0b}.gux-input-and-error-container .gux-input.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) ' ';min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}\";\n\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\")\n r = Reflect.decorate(decorators, target, key, desc);\n else\n for (var i = decorators.length - 1; i >= 0; i--)\n if (d = decorators[i])\n r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nlet GuxFormFieldTextarea = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.computedLabelPosition = 'above';\n this.required = true;\n this.hasError = false;\n }\n onMutation() {\n this.hasError = hasErrorSlot(this.root);\n }\n componentWillLoad() {\n this.setInput();\n this.setLabel();\n this.hasError = hasErrorSlot(this.root);\n trackComponent(this.root, { variant: this.variant });\n }\n componentDidLoad() {\n this.updateHeight(this.textareaContainerElement, this.input, this.resize);\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n this.requiredObserver.disconnect();\n }\n render() {\n return (h(GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, h(GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, h(\"slot\", { name: \"label\", onSlotchange: () => this.setLabel() })), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"div\", { ref: el => (this.textareaContainerElement = el), class: {\n 'gux-input': true,\n [`gux-resize-${this.resize}`]: true,\n 'gux-disabled': this.disabled,\n 'gux-input-error': this.hasError\n } }, h(\"slot\", { name: \"input\" })), h(GuxFormFieldError, { hasError: this.hasError }, h(\"slot\", { name: \"error\" })))));\n }\n get variant() {\n const labelPositionVariant = this.labelPosition\n ? this.labelPosition.toLowerCase()\n : 'none';\n return `${this.resize}-${labelPositionVariant}`;\n }\n setInput() {\n this.input = this.root.querySelector('textarea[slot=\"input\"]');\n preventBrowserValidationStyling(this.input);\n this.updateHeight(this.textareaContainerElement, this.input, this.resize);\n this.input.addEventListener('input', () => {\n this.updateHeight(this.textareaContainerElement, this.input, this.resize);\n });\n this.disabled = this.input.disabled;\n this.required = this.input.required;\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n this.requiredObserver = onRequiredChange(this.input, (required) => {\n this.required = required;\n });\n validateFormIds(this.root, this.input);\n }\n setLabel() {\n this.label = this.root.querySelector('label[slot=\"label\"]');\n this.computedLabelPosition = getComputedLabelPosition(this.label, this.labelPosition);\n }\n updateHeight(container, input, resize) {\n if (resize === 'auto') {\n if (container) {\n container.dataset.replicatedValue = input.value;\n container.style.maxHeight = input.style.maxHeight;\n }\n }\n }\n get root() { return getElement(this); }\n};\n__decorate([\n OnMutation({ childList: true, subtree: true })\n], GuxFormFieldTextarea.prototype, \"onMutation\", null);\nGuxFormFieldTextarea.style = guxFormFieldTextareaCss;\n\nexport { GuxFormFieldTextarea as gux_form_field_textarea_beta };\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[13],{133:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));const i={name:"@genesys/common-webcomponents",version:"2.59.1",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},r="spark-library",o="spark-component";let a=!1;function u(e,t){const n=window.newrelic;n&&(a||(!function(){const e=window.newrelic;if(!e)return;const[t,n,o]=i.version.split(".");e.addPageAction(r,{fullVersion:"".concat(t,".").concat(n,".").concat(o),majorVersion:t,minorVersion:"".concat(t,".").concat(n)})}(),a=!0),n.addPageAction(o,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}},134:function(e,t,n){"use strict";function i(){return"".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"gux","-").concat(Math.random().toString(36).substr(2,10))}n.d(t,"a",(function(){return i}))},135:function(e,t,n){"use strict";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,"a",(function(){return i}))},136:function(e,t,n){"use strict";function i(e,t){setTimeout((()=>{throw new Error("[".concat(e,"] ").concat(t))}),0)}function r(e,t){setTimeout((()=>{console.warn("[".concat(e,"] ").concat(t))}),0)}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}))},137:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(135);function r(e,t,n){e.value=t,Object(i.a)(e,"input"),Object(i.a)(e,"change"),n&&e.focus()}},138:function(e,t,n){"use strict";function i(e,t){const n=new MutationObserver((n=>{n.forEach((()=>{t(e.hidden)}))}));return n.observe(e,{attributes:!0,attributeFilter:["hidden"]}),n}function r(e,t){const n=new MutationObserver((n=>{n.forEach((n=>{"disabled"===n.attributeName&&t(e.disabled)}))}));return n.observe(e,{attributes:!0}),n}function o(e,t){const n=new MutationObserver((n=>{n.forEach((n=>{"required"===n.attributeName&&t(e.required)}))}));return n.observe(e,{attributes:!0}),n}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r}))},140:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(10);function r(e){return(t,n)=>{const{connectedCallback:r,disconnectedCallback:o}=t;let a;t.connectedCallback=function(){const t=Object(i.g)(this),o=this[n];return a=new MutationObserver(o.bind(this)),a.observe(t,e),r&&r.call(this)},t.disconnectedCallback=function(){return a.disconnect(),o&&o.call(this)}}}},141:function(e,t,n){"use strict";function i(e){e.addEventListener("invalid",(e=>{e.preventDefault()}))}n.d(t,"a",(function(){return i}))},151:function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return E}));var r="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{};for(var o=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},n.exports),n.exports}((function(e){(function(){var t,n,r,o,a,u;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof i&&null!==i&&i.hrtime?(e.exports=function(){return(t()-a)/1e6},n=i.hrtime,o=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),u=1e9*i.uptime(),a=o-u):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(r)})),a="undefined"===typeof window?r:window,u=["moz","webkit"],s="AnimationFrame",c=a["request"+s],l=a["cancel"+s]||a["cancelRequest"+s],p=0;!c&&p<u.length;p++)c=a[u[p]+"Request"+s],l=a[u[p]+"Cancel"+s]||a[u[p]+"CancelRequest"+s];if(!c||!l){var d=0,g=0,h=[];c=function(e){if(0===h.length){var t=o(),n=Math.max(0,16.666666666666668-(t-d));d=n+t,setTimeout((function(){var e=h.slice(0);h.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(d)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return h.push({handle:++g,callback:e,cancelled:!1}),g},l=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}var b,x=function(e){return c.call(a,e)};x.cancel=function(){l.apply(a,arguments)},x.polyfill=function(e){e||(e=a),e.requestAnimationFrame=c,e.cancelAnimationFrame=l},function(e){e[e.MODE_TIMEOUT=0]="MODE_TIMEOUT",e[e.MODE_INTERVAL=1]="MODE_INTERVAL"}(b||(b={}));const f=new Map,m=new Set;let v=!1,w=0;function y(){return(new Date).getTime()}function j(e){const{fn:t,args:n}=e;t(...n)}const O=e=>(t,n)=>{const{nextTick:i,ms:r,mode:o}=t;e-i>=0&&(m.add(t),o===b.MODE_TIMEOUT?f.delete(n):f.set(n,{...t,nextTick:i+r}))};function k(){if(0===f.size)return void(v=!1);const e=y();f.forEach(O(e)),0!==m.size&&(m.forEach(j),m.clear()),0!==f.size?x(k):v=!1}const E=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];return function(e){let{fn:t,ms:n,args:i,mode:r}=e;if(!t)return null;const o=w;return f.set(o,{fn:t,ms:n,nextTick:y()+n,args:i,mode:r}),v||(v=!0,x(k)),w+=1,o}({fn:e,ms:t,args:i,mode:b.MODE_INTERVAL})},I=function(e){null!=e&&f.has(e)&&f.delete(e)}}).call(this,n(23),n(152))},152:function(e,t){var n,i,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"===typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var s,c=[],l=!1,p=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):p=-1,c.length&&g())}function g(){if(!l){var e=u(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++p<t;)s&&s[p].run();p=-1,t=c.length}s=null,l=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{return i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function b(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||u(g)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=b,r.addListener=b,r.once=b,r.off=b,r.removeListener=b,r.removeAllListeners=b,r.emit=b,r.prependListener=b,r.prependOnceListener=b,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},79:function(e,t,n){"use strict";n.r(t),n.d(t,"gux_form_field",(function(){return b})),n.d(t,"gux_input_checkbox",(function(){return x})),n.d(t,"gux_input_color",(function(){return m})),n.d(t,"gux_input_number",(function(){return w})),n.d(t,"gux_input_radio",(function(){return y})),n.d(t,"gux_input_range",(function(){return j})),n.d(t,"gux_input_select",(function(){return O})),n.d(t,"gux_input_textarea",(function(){return k}));var i=n(10),r=n(140),o=n(134),a=n(136),u=n(138),s=n(141),c=n(133),l=n(139),p=n(137),d=n(135),g=n(151);var h=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};let b=class{constructor(e){Object(i.j)(this,e),this.errorId=Object(o.a)("gux-form-field-error"),this.labelId=Object(o.a)("gux-form-field-label"),this.defaultInputId=Object(o.a)("gux-form-field"),this.computedLabelPosition="above",this.required=!0,this.hasError=!1}onMutation(){this.hasError=Boolean(this.root.querySelector('[slot="error"]'))}componentWillLoad(){this.input=this.root.querySelector('input[slot="input"], select[slot="input"], textarea[slot="input"]'),this.label=this.root.querySelector('label[slot="label"]'),this.slottedElementType=this.input.tagName.toLowerCase(),this.required=this.input.required,this.requiredObserver=Object(u.a)(this.input,(e=>{this.required=e})),Object(s.a)(this.input);const e=this.labelPosition?this.labelPosition.toLowerCase():"none";if("input"===this.slottedElementType){const t=this.input.getAttribute("type");Object(c.a)(this.root,{variant:"".concat(this.slottedElementType,"-").concat(t,"-").concat(e)})}else Object(c.a)(this.root,{variant:"".concat(this.slottedElementType,"-").concat(e)})}componentWillRender(){this.computedLabelPosition=this.getComputedLabelPosition(this.label,this.labelPosition),this.validateFormIds()}disconnectedCallback(){this.requiredObserver.disconnect()}renderInputCheckbox(e){return Object(i.h)("div",null,Object(i.h)("gux-input-checkbox",{class:{"gux-input-error":e}},Object(i.h)("slot",{name:"input"}),Object(i.h)("slot",{name:"label"})),this.renderError(e))}renderInputRadio(){return Object(i.h)("gux-input-radio",null,Object(i.h)("slot",{name:"input"}),Object(i.h)("slot",{name:"label"}))}renderInputColor(e){return Object(i.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),Object(i.h)("div",{class:"gux-input-and-error-container"},Object(i.h)("gux-input-color",{"gux-label-describedby":this.labelId,"gux-error-describedby":this.errorId,"gux-required":this.required,class:{"gux-input-error":e}},Object(i.h)("slot",{name:"input"})),this.renderError(e)))}renderInputRange(e,t){return Object(i.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),Object(i.h)("gux-input-range",{"display-units":e,"value-in-tooltip":t},Object(i.h)("slot",{name:"input"})))}renderInputNumber(e,t){return Object(i.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),Object(i.h)("div",{class:"gux-input-and-error-container"},Object(i.h)("gux-input-number",{class:{"gux-input-error":t},slot:"input",clearable:e},Object(i.h)("slot",{name:"input"})),this.renderError(t)))}renderInputSelect(e){return Object(i.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),Object(i.h)("div",{class:"gux-input-and-error-container"},Object(i.h)("gux-input-select",{slot:"input",class:{"gux-input-error":e}},Object(i.h)("slot",{name:"input"})),this.renderError(e)))}renderInputTextLike(e,t){return Object(i.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),Object(i.h)("div",{class:"gux-input-and-error-container"},Object(i.h)("gux-input-text-like",{class:{"gux-input-error":t},slot:"input",clearable:e},Object(i.h)("slot",{name:"input"})),this.renderError(t)))}renderInputSearch(e){return Object(i.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),Object(i.h)("div",{class:"gux-input-and-error-container"},Object(i.h)("gux-input-search",null,Object(i.h)("slot",{name:"input"})),this.renderError(e)))}renderInputTextArea(e){return Object(i.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),Object(i.h)("div",{class:"gux-input-and-error-container"},Object(i.h)("gux-input-textarea",{class:{"gux-input-error":e},slot:"input",resize:this.resize},Object(i.h)("slot",{name:"input"})),this.renderError(e)))}render(){const e=this.input.getAttribute("type");switch(this.slottedElementType){case"input":switch(e){case"checkbox":return this.renderInputCheckbox(this.hasError);case"radio":return this.renderInputRadio();case"color":return this.renderInputColor(this.hasError);case"range":return this.renderInputRange(this.displayUnits,this.valueInTooltip);case"email":case"password":case"text":return this.renderInputTextLike(this.clearable,this.hasError);case"number":return this.renderInputNumber(this.clearable,this.hasError);case"search":return this.renderInputSearch(this.hasError);default:return Object(i.h)("div",null,Object(i.h)("slot",{name:"label"}),Object(i.h)("slot",{name:"input"}),Object(i.h)("slot",{name:"error"}))}case"select":return this.renderInputSelect(this.hasError);case"textarea":return this.renderInputTextArea(this.hasError);default:return Object(i.h)("div",null,Object(i.h)("slot",{name:"label"}),Object(i.h)("slot",{name:"input"}),Object(i.h)("slot",{name:"error"}))}}validateFormIds(){if(this.label){if("color"===this.input.getAttribute("type"))return this.label.getAttribute("id")&&(this.labelId=this.label.getAttribute("id")),void this.label.setAttribute("id",this.labelId);const e=!!this.input.hasAttribute("id"),t=!!this.label.hasAttribute("for");if(!e&&t)Object(a.b)("gux-form-field",'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(e)if(e&&!t){const e=this.input.getAttribute("id");this.label.setAttribute("for",e)}else e&&t&&this.input.getAttribute("id")!==this.label.getAttribute("for")&&Object(a.b)("gux-form-field","The input id and label for attribute should match.");else this.input.setAttribute("id",this.defaultInputId),this.label.setAttribute("for",this.defaultInputId)}else Object(a.b)("gux-form-field",'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.');this.hasErrorSlot()?this.input.setAttribute("aria-describedby",this.errorId):this.input.getAttribute("aria-describedby")&&this.input.getAttribute("aria-describedby").startsWith("gux-form-field-error")&&this.input.removeAttribute("aria-describedby")}getComputedLabelPosition(e,t){if(e)return["above","beside","screenreader"].includes(t)?t:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}hasErrorSlot(){return!!this.root.querySelector('[slot="error"]')}renderLabel(e){return Object(i.h)("div",{class:{"gux-label-container":!0,"gux-required":e}},Object(i.h)("slot",{name:"label",slot:"label"}))}renderError(e){return Object(i.h)("div",{id:this.errorId,class:{"gux-error":!0,"gux-show":e}},Object(i.h)("gux-error-message-beta",null,Object(i.h)("slot",{name:"error"})))}get root(){return Object(i.g)(this)}};h([Object(r.a)({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style="gux-form-field{display:block;color:#2e394c}gux-form-field .gux-label-and-input-and-error-container{margin:16px 0}gux-form-field .gux-label-and-input-and-error-container label{font-size:12px;font-weight:bold;line-height:20px}gux-form-field .gux-label-and-input-and-error-container input,gux-form-field .gux-label-and-input-and-error-container select{width:100%;font-size:12px}gux-form-field .gux-label-and-input-and-error-container .gux-input-container input{overflow:hidden;text-overflow:ellipsis}gux-form-field .gux-label-and-input-and-error-container .gux-input-error .gux-input-container{border-color:#ea0b0b}gux-form-field .gux-label-and-input-and-error-container .gux-input-error textarea{border-color:#ea0b0b}gux-form-field .gux-label-and-input-and-error-container .gux-input-error .gux-input-color-main-element{border-color:#ea0b0b}gux-form-field .gux-label-and-input-and-error-container .gux-input-and-error-container{flex-grow:1}gux-form-field .gux-label-and-input-and-error-container.gux-beside{display:flex;flex-direction:row}gux-form-field .gux-label-and-input-and-error-container.gux-beside .gux-label-container{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-range,gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-select,gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-text-like,gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-search{flex:1 1 auto}gux-form-field .gux-label-and-input-and-error-container.gux-screenreader label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-form-field .gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}gux-form-field .gux-error{display:none;margin:4px 0}gux-form-field .gux-error.gux-show{display:block}";let x=class{constructor(e){Object(i.j)(this,e)}render(){return Object(i.h)("div",{class:"gux-input-checkbox-container"},Object(i.h)("slot",{name:"input"}),Object(i.h)("slot",{name:"label"}))}};x.style="gux-input-checkbox{display:block;color:#2e394c}gux-input-checkbox .gux-input-checkbox-container{position:relative;padding-left:24px;line-height:24px}gux-input-checkbox input{position:absolute;z-index:-1;opacity:0}gux-input-checkbox label{display:inline-block;font-size:12px}gux-input-checkbox label:hover{cursor:pointer}gux-input-checkbox label::after{position:absolute;top:4px;left:4px;display:block;width:16px;height:16px;content:'';border-radius:15%}gux-input-checkbox input:focus-within~label::after{box-shadow:0 0 3px 2px #aac9ff}gux-input-checkbox input:not(:checked)~label::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%2377828f' /%3E%3C/svg%3E\")}gux-input-checkbox.gux-input-error input:not(:checked)~label::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%23ea0b0b' /%3E%3C/svg%3E\")}gux-input-checkbox input:not(:checked):not(:disabled):not(:indeterminate)~label:hover::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%232a60c8' /%3E%3C/svg%3E\")}gux-input-checkbox input:checked~label::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 1.467h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zM6.8 11 3.638 7.941l.89-.932L6.8 9.2l3.947-3.861.891.932z' fill='%232a60c8' /%3E%3C/svg%3E\")}gux-input-checkbox input:indeterminate~label::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.138 8.467h7v-1h-7zm7-7h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zm2 10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2z' fill='%232a60c8' /%3E%3C/svg%3E\")}gux-input-checkbox input:disabled~label::after,gux-input-checkbox input:disabled~label{cursor:not-allowed;opacity:0.5}";const f={required:"Required"};let m=class{constructor(e){Object(i.j)(this,e),this.requiredId=Object(o.a)("gux-input-color-required")}onClick(e){const t=e.target;this.root.contains(t)||this.setOpened(!1)}onInput(e){const t=e.target;this.color=t.value}async componentWillLoad(){this.i18n=await Object(l.b)(this.root,f),this.input=this.root.querySelector('input[slot="input"]'),this.input.addEventListener("change",(e=>{this.opened&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())})),this.disabledObserver=Object(u.c)(this.input,(e=>{this.disabled=e})),this.disabled=this.input.disabled,this.color=this.input.value}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return Object(i.h)("section",null,Object(i.h)("span",{class:"gux-hidden",id:this.requiredId},this.i18n("required")),Object(i.h)("button",{"aria-describedby":"".concat(this.guxLabelDescribedby," ").concat(this.guxRequired?this.requiredId:""," ").concat(this.guxErrorDescribedby),"aria-expanded":this.opened?"true":"false",type:"button",class:{"gux-input-color-main-element":!0,"gux-opened":this.opened},disabled:this.disabled,onClick:this.clickHandler.bind(this)},Object(i.h)("div",{class:"gux-input-color-selected-color",style:{background:this.color}}),Object(i.h)("div",{class:"gux-input-color-color-name"},this.color),Object(i.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})),Object(i.h)("gux-color-select",{class:{"gux-input-color-color-select":!0,"gux-opened":this.opened}},Object(i.h)("slot",{name:"input",slot:"input"})))}setOpened(e){this.colorOnOpen&&this.colorOnOpen!==this.color&&(this.colorOnOpen=this.color,this.input.dispatchEvent(new Event("change",{bubbles:!0}))),this.colorOnOpen=this.color,this.opened=e}clickHandler(){this.disabled||this.setOpened(!this.opened)}get root(){return Object(i.g)(this)}};m.style="gux-input-color{color:#2e394c}gux-input-color>section{position:relative;display:inline-block;width:160px}gux-input-color>gux-input-color-option{display:none}gux-input-color .gux-input-color-main-element{box-sizing:border-box;width:100%;padding:0;margin:0;cursor:pointer;user-select:none;background-color:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;outline:none;box-shadow:0 0 0 0 transparent;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);transition:box-shadow 0.2s}gux-input-color .gux-input-color-main-element:focus,gux-input-color .gux-input-color-main-element.gux-opened{border-color:#2a60c8;outline:none;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-input-color .gux-input-color-main-element:disabled{pointer-events:none;cursor:default;opacity:0.5}gux-input-color .gux-input-color-main-element:hover gux-icon,gux-input-color .gux-input-color-main-element:focus gux-icon{color:#2e394c}gux-input-color .gux-input-color-selected-color{float:left;padding:8px;margin:8px 12px}gux-input-color .gux-input-color-color-name{float:left;margin:9px 0;font-size:12px}gux-input-color .gux-input-color-color-select{position:absolute;top:100%;left:0;z-index:1;display:none;width:100%}gux-input-color .gux-input-color-color-select.gux-opened{display:inherit}gux-input-color gux-icon{position:absolute;top:0;right:0;display:flex;align-items:center;width:16px;height:100%;padding:0 7px;overflow:hidden;color:#596373;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}gux-input-color .gux-hidden{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";const v={clear:"Clear",increment:"Increment",decrement:"Decrement"};let w=class{constructor(e){Object(i.j)(this,e),this.hasContent=!1}clearInput(){Object(p.a)(this.input,"",!0)}setHasContent(){this.hasContent=Boolean(this.input.value)}simulateNativeInputAndChangeEvents(){Object(d.a)(this.input,"input"),Object(d.a)(this.input,"change")}stepUp(){""===this.input.value?Object(p.a)(this.input,this.input.min||"0",!1):(this.input.stepUp(),this.simulateNativeInputAndChangeEvents())}stepDown(){""===this.input.value?Object(p.a)(this.input,this.input.min||"0",!1):(this.input.stepDown(),this.simulateNativeInputAndChangeEvents())}renderClearButton(){return this.clearable&&this.hasContent&&!this.disabled?Object(i.h)("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.getI18nValue("clear"),disabled:this.disabled,onClick:this.clearInput.bind(this)},Object(i.h)("gux-icon",{"icon-name":"close",decorative:!0})):null}renderStepButtons(){return Object(i.h)("div",{class:"gux-step-buttons-container"},Object(i.h)("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:this.getI18nValue("increment"),disabled:this.disabled,onClick:()=>this.stepUp()},Object(i.h)("gux-icon",{"icon-name":"chevron-small-up",decorative:!0})),Object(i.h)("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:this.getI18nValue("decrement"),disabled:this.disabled,onClick:()=>this.stepDown()},Object(i.h)("gux-icon",{"icon-name":"chevron-small-down",decorative:!0})))}async componentWillLoad(){this.getI18nValue=await Object(l.b)(this.root,v),this.input=this.root.querySelector('input[slot="input"]'),this.setHasContent(),this.disabled=this.input.disabled,this.input.addEventListener("input",(()=>{this.setHasContent()})),this.disabledObserver=Object(u.c)(this.input,(e=>{this.disabled=e}))}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return Object(i.h)("div",{class:{"gux-input-number-container":!0,"gux-disabled":this.disabled}},Object(i.h)("div",{class:"gux-input-container"},Object(i.h)("slot",{name:"input"}),this.renderClearButton()),this.renderStepButtons())}get root(){return Object(i.g)(this)}};w.style="gux-input-number{position:relative;display:block}gux-input-number .gux-input-number-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}gux-input-number .gux-input-number-container.gux-disabled{opacity:0.5}gux-input-number .gux-input-number-container .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}gux-input-number .gux-input-number-container .gux-input-container input{flex:1 1 auto;align-self:auto;order:0;color:#2e394c;text-align:right;background-color:#f6f7f9;border:none;outline:none;}gux-input-number .gux-input-number-container .gux-input-container input::placeholder{color:#596373;opacity:1}gux-input-number .gux-input-number-container .gux-input-container input::-webkit-outer-spin-button,gux-input-number .gux-input-number-container .gux-input-container input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}gux-input-number .gux-input-number-container .gux-input-container input[type='number']{-moz-appearance:textfield}gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none}gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button:not(:disabled):focus,gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button gux-icon{width:12px;height:12px}gux-input-number .gux-input-number-container .gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none}gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button:not(:disabled):focus,gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}gux-input-number .gux-input-number-container:focus-within .gux-input-container{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}";let y=class{constructor(e){Object(i.j)(this,e)}render(){return Object(i.h)("div",{class:"gux-input-radio-container"},Object(i.h)("slot",{name:"input"}),Object(i.h)("slot",{name:"label"}))}};y.style="gux-input-radio{display:block;color:#2e394c}gux-input-radio .gux-input-radio-container{position:relative;padding-left:24px;line-height:24px}gux-input-radio input{position:absolute;z-index:-1;opacity:0}gux-input-radio label{display:inline-block;font-size:12px}gux-input-radio label::after{position:absolute;top:4px;left:4px;display:block;width:16px;height:16px;content:'';border-radius:50%}gux-input-radio input:focus-within~label::after{box-shadow:0 0 2px 1px #aac9ff, inset 0 0 2px 1px #aac9ff}gux-input-radio input:not(:checked)~label::after{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%2377828f'/%3E%3C/svg%3E\")}gux-input-radio input:not(:checked):not(:disabled)~label:hover::after{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%232a60c8'/%3E%3C/svg%3E\")}gux-input-radio input:checked~label::after{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.026 5.262a2.8 2.8 0 1 0 .001 5.601 2.8 2.8 0 0 0-.001-5.601zm0-2.2c-2.761 0-5 2.211-5 4.938s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill='%232a60c8'/%3E%3C/svg%3E\")}gux-input-radio input:disabled~label::after,gux-input-radio input:disabled~label{cursor:not-allowed;opacity:0.5}";let j=class{constructor(e){Object(i.j)(this,e),this.valueInTooltip=!1}onInput(e){const t=e.target;this.updateValue(t.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){const e=Number(this.input.value||0),t=Number(this.input.min||0),n=(e-t)/(Number(this.input.max||100)-t)*100;if(this.sliderTooltip){const e=this.sliderTooltipContainer.offsetWidth,t=Math.round(1e3*(n/100-n/8/e))/10;this.sliderTooltip.style.left="".concat(t,"%")}this.progressElement.style.width="".concat(n,"%")}getDisplayValue(){return this.displayUnits?"".concat(this.value).concat(this.displayUnits):this.value}componentWillLoad(){this.input=this.root.querySelector('input[slot="input"]'),this.disabled=this.input.disabled,this.value=this.input.value,this.disabledObserver=Object(u.c)(this.input,(e=>{this.disabled=e})),this.valueWatcherId=Object(g.b)((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100)}componentDidLoad(){this.updatePosition()}disconnectedCallback(){this.disabledObserver.disconnect(),Object(g.a)(this.valueWatcherId)}render(){return Object(i.h)("div",{class:{"gux-container":!0,"gux-disabled":this.disabled}},Object(i.h)("div",{class:{"gux-range":!0,"gux-active":this.active}},Object(i.h)("div",{class:"gux-track"},Object(i.h)("div",{class:"gux-progress",ref:e=>this.progressElement=e})),Object(i.h)("slot",{name:"input"}),Object(i.h)("div",{class:{"gux-range-tooltip-container":!0,"gux-hidden":!this.valueInTooltip},ref:e=>this.sliderTooltipContainer=e},Object(i.h)("div",{class:"gux-range-tooltip",ref:e=>this.sliderTooltip=e},this.getDisplayValue()))),Object(i.h)("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}get root(){return Object(i.g)(this)}};j.style="gux-input-range .gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;height:32px;font-size:12px}gux-input-range .gux-container.gux-disabled{pointer-events:none;opacity:0.5}gux-input-range .gux-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}gux-input-range .gux-container .gux-range .gux-track{width:100%;height:2px;margin:6px 0;background-color:#8a97ad}gux-input-range .gux-container .gux-range .gux-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']{position:absolute;width:100%;height:2px;margin:6px 0;margin-top:calc(-1 * (12px / 2 + 2px));background:transparent;-webkit-appearance:none}gux-input-range .gux-container .gux-range input[type='range']:focus{outline:none}gux-input-range .gux-container .gux-range input[type='range']::-webkit-slider-runnable-track{width:100%;height:2px;margin:6px 0;background-color:#8a97ad;background:transparent}gux-input-range .gux-container .gux-range input[type='range']::-webkit-slider-runnable-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-webkit-slider-thumb{display:block;width:12px;height:12px;cursor:pointer;border-radius:100%;margin-top:-5px;-webkit-appearance:none;background:#2a60c8;border:0 solid #2a60c8}gux-input-range .gux-container .gux-range input[type='range']:focus::-webkit-slider-runnable-track{background:rgba(13, 13, 13, 0)}gux-input-range .gux-container .gux-range input[type='range']::-moz-range-track{width:100%;height:2px;margin:6px 0;background-color:#8a97ad;background:transparent}gux-input-range .gux-container .gux-range input[type='range']::-moz-range-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-moz-range-thumb{display:block;width:12px;height:12px;cursor:pointer;border-radius:100%;margin-top:-5px;background:#2a60c8;border:0 solid #2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-ms-track{width:100%;height:2px;margin:6px 0;background-color:#8a97ad;color:transparent;background:transparent;border-color:transparent;border-width:12px 0}gux-input-range .gux-container .gux-range input[type='range']::-ms-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-ms-fill-lower{background:rgba(0, 0, 0, 0)}gux-input-range .gux-container .gux-range input[type='range']::-ms-fill-upper{background:transparent}gux-input-range .gux-container .gux-range input[type='range']::-ms-thumb{display:block;width:12px;height:12px;cursor:pointer;border-radius:100%;background:#2a60c8;border:0 solid #2a60c8}gux-input-range .gux-container .gux-range input[type='range']:focus::-ms-fill-lower{background:transparent}gux-input-range .gux-container .gux-range input[type='range']:focus::-ms-fill-upper{background:rgba(13, 13, 13, 0)}gux-input-range .gux-container .gux-range.gux-active input[type='range']::-webkit-slider-thumb{transform:scale(1.5)}gux-input-range .gux-container .gux-range.gux-active input[type='range']::-moz-range-thumb{transform:scale(1.5)}gux-input-range .gux-container .gux-range.gux-active input[type='range']::-ms-thumb{transform:scale(1.5)}gux-input-range .gux-container .gux-display{flex:0 1 auto;align-self:auto;order:0;height:32px;margin:0 0 0 16px;line-height:32px;text-align:right}gux-input-range .gux-container .gux-display.gux-hidden{display:none}gux-input-range .gux-range-tooltip-container{position:absolute;top:-50px;width:100%;height:32px;visibility:hidden}gux-input-range .gux-range-tooltip-container .gux-range-tooltip{font-family:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px;position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;width:50px;height:32px;margin-left:-20px;visibility:hidden;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-input-range .gux-range-tooltip-container .gux-range-tooltip::after,gux-input-range .gux-range-tooltip-container .gux-range-tooltip::before{position:absolute;top:100%;left:50%;width:0;height:0;pointer-events:none;content:' ';border:solid transparent}gux-input-range .gux-range-tooltip-container .gux-range-tooltip::after{margin-left:-4px;border-width:4px;border-top-color:#fdfdfd}gux-input-range .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:#b4bccb}gux-input-range input[type='range']:hover~.gux-range-tooltip-container:not(.gux-hidden),gux-input-range input[type='range']:focus~.gux-range-tooltip-container:not(.gux-hidden),gux-input-range input[type='range']:active~.gux-range-tooltip-container:not(.gux-hidden){visibility:visible}gux-input-range input[type='range']:hover~.gux-range-tooltip-container:not(.gux-hidden) .gux-range-tooltip,gux-input-range input[type='range']:focus~.gux-range-tooltip-container:not(.gux-hidden) .gux-range-tooltip,gux-input-range input[type='range']:active~.gux-range-tooltip-container:not(.gux-hidden) .gux-range-tooltip{visibility:visible}";let O=class{constructor(e){Object(i.j)(this,e)}async componentWillLoad(){this.input=this.root.querySelector('select[slot="input"]'),this.disabled=this.input.disabled,this.disabledObserver=Object(u.c)(this.input,(e=>{this.disabled=e}))}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return Object(i.h)("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},Object(i.h)("slot",{name:"input"}),Object(i.h)("gux-icon",{decorative:!0,iconName:"ic-dropdown-arrow"}))}get root(){return Object(i.g)(this)}};O.style="gux-input-select{position:relative;display:block}gux-input-select .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;font-family:inherit;font-size:12px;line-height:1.66666667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px}gux-input-select .gux-input-container.gux-disabled{pointer-events:none;opacity:0.5}gux-input-select .gux-input-container:hover gux-icon{color:#2a60c8}gux-input-select .gux-input-container select{flex:1 1 auto;align-self:auto;order:0;height:32px;padding:0 32px 0 12px;margin:0;color:#2e394c;background-color:#f6f7f9;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);-moz-appearance:none;-webkit-appearance:none;appearance:none}gux-input-select .gux-input-container gux-icon{position:absolute;top:0;right:0;width:16px;height:16px;margin:8px;pointer-events:none}gux-input-select .gux-input-container:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}";let k=class{constructor(e){Object(i.j)(this,e),this.resize="none"}componentWillLoad(){this.input=this.root.querySelector('textarea[slot="input"]'),this.input.addEventListener("input",(()=>{this.updateHeight()}))}componentDidLoad(){this.updateHeight()}updateHeight(){"auto"===this.resize&&(this.containerElement.dataset.replicatedValue=this.input.value,this.containerElement.style.maxHeight=this.input.style.maxHeight)}render(){return Object(i.h)("div",{ref:e=>this.containerElement=e,class:"gux-resize-".concat(this.resize)},Object(i.h)("slot",{name:"input"}))}get root(){return Object(i.g)(this)}};k.style="gux-input-textarea{position:relative;display:block}gux-input-textarea .gux-resize-none textarea{resize:none}gux-input-textarea .gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}gux-input-textarea .gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) ' ';min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0;border:1px solid #6b7585}gux-input-textarea .gux-resize-auto textarea{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}gux-input-textarea textarea{flex:1 1 auto;align-self:auto;order:0;font-family:inherit;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px;color:#2e394c;background-color:#f6f7f9;background-image:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0;border:1px solid #6b7585}gux-input-textarea textarea::placeholder{color:#596373;opacity:1}gux-input-textarea textarea:focus-within{border-color:#2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-input-textarea textarea[disabled]{opacity:0.5}"}}]);
2
+ //# sourceMappingURL=13.765af38c.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js","../node_modules/@genesys/common-webcomponents/dist/esm/random-html-id-8e3f658c.js","../node_modules/@genesys/common-webcomponents/dist/esm/simulate-native-event-ac69961f.js","../node_modules/@genesys/common-webcomponents/dist/esm/log-error-3d08c2b1.js","../node_modules/@genesys/common-webcomponents/dist/esm/set-input-value-5adeaccc.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/index-488e2fcc.js","../node_modules/process/browser.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field_8.entry.js"],"names":["packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","componentPageAction","libVersionReported","trackComponent","element","metadata","newrelic","window","major","minor","patch","split","addPageAction","fullVersion","concat","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase","randomHTMLId","arguments","length","undefined","Math","random","toString","substr","simulateNativeEvent","targetElement","nativeEventName","dispatchEvent","InputEvent","bubbles","logError","message","setTimeout","Error","logWarn","console","warn","setInputValue","input","value","focusAfter","focus","onHiddenChange","callback","observer","MutationObserver","mutations","forEach","hidden","observe","attributes","attributeFilter","onDisabledChange","mutation","attributeName","disabled","onRequiredChange","required","OnMutation","opt","proto","methodName","connectedCallback","disconnectedCallback","onMutationObserver","host","getElement","this","method","bind","call","disconnect","preventBrowserValidationStyling","addEventListener","event","preventDefault","commonjsGlobal","globalThis","global","self","performanceNow","fn","basedir","module","exports","require","base","commonjsRequire","createCommonjsModule","getNanoSeconds","hrtime","loadTime","moduleLoadTime","nodeLoadTime","upTime","performance","now","process","hr","uptime","Date","getTime","root","vendors","suffix","raf","caf","i","last","id","queue","_now","next","max","cp","slice","cancelled","e","round","push","handle","MODE","raf_1","cancel","apply","polyfill","object","requestAnimationFrame","cancelAnimationFrame","fnMap","Map","executionSet","Set","rafStarted","startId","getTimeStamp","executeFn","args","checkTick","currentTimeTick","nextTick","ms","mode","add","MODE_TIMEOUT","delete","set","loop","size","clear","setInterval","_len","Array","_key","_ref","currentId","addId","MODE_INTERVAL","clearInterval","has","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","clearTimeout","currentQueue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","len","run","marker","runClearTimeout","Item","array","noop","prototype","title","browser","env","argv","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","cwd","chdir","dir","umask","__decorate","decorators","target","key","desc","d","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","GuxFormField","constructor","hostRef","registerInstance","errorId","labelId","defaultInputId","computedLabelPosition","hasError","onMutation","Boolean","querySelector","componentWillLoad","label","slottedElementType","requiredObserver","labelPositionVariant","labelPosition","getAttribute","variant","componentWillRender","getComputedLabelPosition","validateFormIds","renderInputCheckbox","h","class","renderError","renderInputRadio","renderInputColor","renderLabel","renderInputRange","displayUnits","valueInTooltip","renderInputNumber","clearable","slot","renderInputSelect","renderInputTextLike","renderInputSearch","renderInputTextArea","resize","render","setAttribute","inputHasId","hasAttribute","labelHasFor","forId","hasErrorSlot","startsWith","removeAttribute","includes","offsetWidth","childList","subtree","style","GuxInputCheckbox","colorInputResources","GuxInputColor","requiredId","onClick","contains","setOpened","onInput","color","buildI18nForComponent","opened","stopImmediatePropagation","stopPropagation","disabledObserver","guxLabelDescribedby","guxRequired","guxErrorDescribedby","clickHandler","background","decorative","colorOnOpen","Event","componentResources","increment","decrement","GuxInputNumber","hasContent","clearInput","setHasContent","simulateNativeInputAndChangeEvents","stepUp","min","stepDown","renderClearButton","tabIndex","getI18nValue","renderStepButtons","GuxInputRadio","GuxInputRange","updateValue","onMousedown","active","onMouseup","newValue","updatePosition","Number","placementPercentage","sliderTooltip","width","sliderTooltipContainer","offset","left","progressElement","getDisplayValue","valueWatcherId","componentDidLoad","ref","el","GuxInputSelect","iconName","GuxInputTextArea","updateHeight","containerElement","dataset","replicatedValue","maxHeight"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,MAlKa,wBAmKbC,WAlKkB,2CAmKlBC,MAlKa,CACb,SAkKAC,QAhKe,CACfC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SACR,mBAAoB,mCACpB,2BAA4B,2CAC5BC,IAAK,6DACL,aAAc,oEACdC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AAE,OAAQ,CAAEvS,KAAM,UACtH,CACA,QAAIgK,GAAS,OAAOpC,YAAWC,KAAO,GAExCqQ,EAAiB7D,MA3BW,+wC","file":"static/js/13.765af38c.chunk.js","sourcesContent":["const name = \"@genesys/common-webcomponents\";\nconst version = \"2.59.1\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\t\"create-non-en-i18n-files\": \"node scripts/create-non-en-i18n-files.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n","function randomHTMLId(prefix = 'gux') {\n return `${prefix}-${Math.random().toString(36).substr(2, 10)}`;\n}\n\nexport { randomHTMLId as r };\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","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","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 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","var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\nfunction createCommonjsModule(fn, basedir, module) {\n\treturn module = {\n\t\tpath: basedir,\n\t\texports: {},\n\t\trequire: function (path, base) {\n\t\t\treturn commonjsRequire();\n\t\t}\n\t}, fn(module, module.exports), module.exports;\n}\n\nfunction commonjsRequire () {\n\tthrow new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');\n}\n\nvar performanceNow = createCommonjsModule(function (module) {\n// Generated by CoffeeScript 1.12.2\n(function() {\n var getNanoSeconds, hrtime, loadTime, moduleLoadTime, nodeLoadTime, upTime;\n\n if ((typeof performance !== \"undefined\" && performance !== null) && performance.now) {\n module.exports = function() {\n return performance.now();\n };\n } else if ((typeof process !== \"undefined\" && process !== null) && process.hrtime) {\n module.exports = function() {\n return (getNanoSeconds() - nodeLoadTime) / 1e6;\n };\n hrtime = process.hrtime;\n getNanoSeconds = function() {\n var hr;\n hr = hrtime();\n return hr[0] * 1e9 + hr[1];\n };\n moduleLoadTime = getNanoSeconds();\n upTime = process.uptime() * 1e9;\n nodeLoadTime = moduleLoadTime - upTime;\n } else if (Date.now) {\n module.exports = function() {\n return Date.now() - loadTime;\n };\n loadTime = Date.now();\n } else {\n module.exports = function() {\n return new Date().getTime() - loadTime;\n };\n loadTime = new Date().getTime();\n }\n\n}).call(commonjsGlobal);\n\n//# sourceMappingURL=performance-now.js.map\n});\n\nvar root = typeof window === 'undefined' ? commonjsGlobal : window\n , vendors = ['moz', 'webkit']\n , suffix = 'AnimationFrame'\n , raf = root['request' + suffix]\n , caf = root['cancel' + suffix] || root['cancelRequest' + suffix];\n\nfor(var i = 0; !raf && i < vendors.length; i++) {\n raf = root[vendors[i] + 'Request' + suffix];\n caf = root[vendors[i] + 'Cancel' + suffix]\n || root[vendors[i] + 'CancelRequest' + suffix];\n}\n\n// Some versions of FF have rAF but not cAF\nif(!raf || !caf) {\n var last = 0\n , id = 0\n , queue = []\n , frameDuration = 1000 / 60;\n\n raf = function(callback) {\n if(queue.length === 0) {\n var _now = performanceNow()\n , next = Math.max(0, frameDuration - (_now - last));\n last = next + _now;\n setTimeout(function() {\n var cp = queue.slice(0);\n // Clear queue here to prevent\n // callbacks from appending listeners\n // to the current frame's queue\n queue.length = 0;\n for(var i = 0; i < cp.length; i++) {\n if(!cp[i].cancelled) {\n try{\n cp[i].callback(last);\n } catch(e) {\n setTimeout(function() { throw e }, 0);\n }\n }\n }\n }, Math.round(next));\n }\n queue.push({\n handle: ++id,\n callback: callback,\n cancelled: false\n });\n return id\n };\n\n caf = function(handle) {\n for(var i = 0; i < queue.length; i++) {\n if(queue[i].handle === handle) {\n queue[i].cancelled = true;\n }\n }\n };\n}\n\nvar raf_1 = function(fn) {\n // Wrap in a new function to prevent\n // `cancel` potentially being assigned\n // to the native rAF function\n return raf.call(root, fn)\n};\nvar cancel = function() {\n caf.apply(root, arguments);\n};\nvar polyfill = function(object) {\n if (!object) {\n object = root;\n }\n object.requestAnimationFrame = raf;\n object.cancelAnimationFrame = caf;\n};\nraf_1.cancel = cancel;\nraf_1.polyfill = polyfill;\n\nvar MODE;\n(function (MODE) {\n MODE[MODE[\"MODE_TIMEOUT\"] = 0] = \"MODE_TIMEOUT\";\n MODE[MODE[\"MODE_INTERVAL\"] = 1] = \"MODE_INTERVAL\";\n})(MODE || (MODE = {}));\nconst fnMap = new Map();\nconst executionSet = new Set();\nlet rafStarted = false;\nlet startId = 0;\nfunction getTimeStamp() {\n return new Date().getTime();\n}\nfunction executeFn(value) {\n const { fn, args } = value;\n fn(...args);\n}\nfunction runFunction() {\n if (executionSet.size === 0)\n return;\n executionSet.forEach(executeFn);\n executionSet.clear();\n}\nconst checkTick = (currentTimeTick) => (value, id) => {\n const { nextTick, ms, mode } = value;\n if (currentTimeTick - nextTick >= 0) {\n executionSet.add(value);\n if (mode === MODE.MODE_TIMEOUT) {\n fnMap.delete(id);\n }\n else {\n fnMap.set(id, {\n ...value,\n nextTick: nextTick + ms,\n });\n }\n }\n};\nfunction loop() {\n if (fnMap.size === 0) {\n rafStarted = false;\n return;\n }\n const currentTimeTick = getTimeStamp();\n fnMap.forEach(checkTick(currentTimeTick));\n runFunction();\n if (fnMap.size === 0) {\n rafStarted = false;\n return;\n }\n raf_1(loop);\n}\nfunction addId({ fn, ms, args, mode }) {\n if (!fn)\n return null;\n const currentId = startId;\n fnMap.set(currentId, {\n fn,\n ms,\n nextTick: getTimeStamp() + ms,\n args,\n mode,\n });\n if (!rafStarted) {\n rafStarted = true;\n raf_1(loop);\n }\n startId += 1;\n return currentId;\n}\nfunction removeId(id) {\n if (id == null)\n return;\n if (fnMap.has(id)) {\n fnMap.delete(id);\n }\n}\nconst setInterval = (fn, ms = 0, ...args) => addId({ fn, ms, args, mode: MODE.MODE_INTERVAL });\nconst clearInterval = removeId;\n\nexport { clearInterval as c, setInterval as s };\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { O as OnMutation } from './on-mutation-678b39ea.js';\nimport { r as randomHTMLId } from './random-html-id-8e3f658c.js';\nimport { l as logError } from './log-error-3d08c2b1.js';\nimport { a as onRequiredChange, o as onDisabledChange } from './on-attribute-change-2b01c315.js';\nimport { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\nimport { b as buildI18nForComponent } from './index-6d80d8e7.js';\nimport { s as setInputValue } from './set-input-value-5adeaccc.js';\nimport { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';\nimport { s as setInterval, c as clearInterval } from './index-488e2fcc.js';\n\nconst guxFormFieldCss = \"gux-form-field{display:block;color:#2e394c}gux-form-field .gux-label-and-input-and-error-container{margin:16px 0}gux-form-field .gux-label-and-input-and-error-container label{font-size:12px;font-weight:bold;line-height:20px}gux-form-field .gux-label-and-input-and-error-container input,gux-form-field .gux-label-and-input-and-error-container select{width:100%;font-size:12px}gux-form-field .gux-label-and-input-and-error-container .gux-input-container input{overflow:hidden;text-overflow:ellipsis}gux-form-field .gux-label-and-input-and-error-container .gux-input-error .gux-input-container{border-color:#ea0b0b}gux-form-field .gux-label-and-input-and-error-container .gux-input-error textarea{border-color:#ea0b0b}gux-form-field .gux-label-and-input-and-error-container .gux-input-error .gux-input-color-main-element{border-color:#ea0b0b}gux-form-field .gux-label-and-input-and-error-container .gux-input-and-error-container{flex-grow:1}gux-form-field .gux-label-and-input-and-error-container.gux-beside{display:flex;flex-direction:row}gux-form-field .gux-label-and-input-and-error-container.gux-beside .gux-label-container{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-range,gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-select,gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-text-like,gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-search{flex:1 1 auto}gux-form-field .gux-label-and-input-and-error-container.gux-screenreader label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-form-field .gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}gux-form-field .gux-error{display:none;margin:4px 0}gux-form-field .gux-error.gux-show{display:block}\";\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 GuxFormField = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.errorId = randomHTMLId('gux-form-field-error');\n this.labelId = randomHTMLId('gux-form-field-label');\n this.defaultInputId = randomHTMLId('gux-form-field');\n this.computedLabelPosition = 'above';\n this.required = true;\n this.hasError = false;\n }\n onMutation() {\n this.hasError = Boolean(this.root.querySelector('[slot=\"error\"]'));\n }\n componentWillLoad() {\n this.input = this.root.querySelector('input[slot=\"input\"], select[slot=\"input\"], textarea[slot=\"input\"]');\n this.label = this.root.querySelector('label[slot=\"label\"]');\n this.slottedElementType =\n this.input.tagName.toLowerCase();\n this.required = this.input.required;\n this.requiredObserver = onRequiredChange(this.input, (required) => {\n this.required = required;\n });\n preventBrowserValidationStyling(this.input);\n const labelPositionVariant = this.labelPosition\n ? this.labelPosition.toLowerCase()\n : 'none';\n if (this.slottedElementType === 'input') {\n const type = this.input.getAttribute('type');\n trackComponent(this.root, {\n variant: `${this.slottedElementType}-${type}-${labelPositionVariant}`\n });\n }\n else {\n trackComponent(this.root, {\n variant: `${this.slottedElementType}-${labelPositionVariant}`\n });\n }\n }\n componentWillRender() {\n this.computedLabelPosition = this.getComputedLabelPosition(this.label, this.labelPosition);\n this.validateFormIds();\n }\n disconnectedCallback() {\n this.requiredObserver.disconnect();\n }\n renderInputCheckbox(hasError) {\n return (h(\"div\", null, h(\"gux-input-checkbox\", { class: { 'gux-input-error': hasError } }, h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"label\" })), this.renderError(hasError)));\n }\n renderInputRadio() {\n return (h(\"gux-input-radio\", null, h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"label\" })));\n }\n renderInputColor(hasError) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"gux-input-color\", { \"gux-label-describedby\": this.labelId, \"gux-error-describedby\": this.errorId, \"gux-required\": this.required, class: {\n 'gux-input-error': hasError\n } }, h(\"slot\", { name: \"input\" })), this.renderError(hasError))));\n }\n renderInputRange(displayUnits, valueInTooltip) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"gux-input-range\", { \"display-units\": displayUnits, \"value-in-tooltip\": valueInTooltip }, h(\"slot\", { name: \"input\" }))));\n }\n renderInputNumber(clearable, hasError) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"gux-input-number\", { class: {\n 'gux-input-error': hasError\n }, slot: \"input\", clearable: clearable }, h(\"slot\", { name: \"input\" })), this.renderError(hasError))));\n }\n renderInputSelect(hasError) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"gux-input-select\", { slot: \"input\", class: {\n 'gux-input-error': hasError\n } }, h(\"slot\", { name: \"input\" })), this.renderError(hasError))));\n }\n renderInputTextLike(clearable, hasError) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"gux-input-text-like\", { class: {\n 'gux-input-error': hasError\n }, slot: \"input\", clearable: clearable }, h(\"slot\", { name: \"input\" })), this.renderError(hasError))));\n }\n renderInputSearch(hasError) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"gux-input-search\", null, h(\"slot\", { name: \"input\" })), this.renderError(hasError))));\n }\n renderInputTextArea(hasError) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"gux-input-textarea\", { class: {\n 'gux-input-error': hasError\n }, slot: \"input\", resize: this.resize }, h(\"slot\", { name: \"input\" })), this.renderError(hasError))));\n }\n render() {\n const type = this.input.getAttribute('type');\n switch (this.slottedElementType) {\n case 'input':\n switch (type) {\n case 'checkbox':\n return this.renderInputCheckbox(this.hasError);\n case 'radio':\n return this.renderInputRadio();\n case 'color':\n return this.renderInputColor(this.hasError);\n case 'range':\n return this.renderInputRange(this.displayUnits, this.valueInTooltip);\n case 'email':\n case 'password':\n case 'text':\n return this.renderInputTextLike(this.clearable, this.hasError);\n case 'number':\n return this.renderInputNumber(this.clearable, this.hasError);\n case 'search':\n return this.renderInputSearch(this.hasError);\n default:\n return (h(\"div\", null, h(\"slot\", { name: \"label\" }), h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"error\" })));\n }\n case 'select':\n return this.renderInputSelect(this.hasError);\n case 'textarea':\n return this.renderInputTextArea(this.hasError);\n default:\n return (h(\"div\", null, h(\"slot\", { name: \"label\" }), h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"error\" })));\n }\n }\n validateFormIds() {\n if (this.label) {\n if (this.input.getAttribute('type') === 'color') {\n if (this.label.getAttribute('id')) {\n this.labelId = this.label.getAttribute('id');\n }\n this.label.setAttribute('id', this.labelId);\n return;\n }\n const inputHasId = !!this.input.hasAttribute('id');\n const labelHasFor = !!this.label.hasAttribute('for');\n if (!inputHasId && labelHasFor) {\n logError('gux-form-field', '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 this.input.setAttribute('id', this.defaultInputId);\n this.label.setAttribute('for', this.defaultInputId);\n }\n else if (inputHasId && !labelHasFor) {\n const forId = this.input.getAttribute('id');\n this.label.setAttribute('for', forId);\n }\n else if (inputHasId &&\n labelHasFor &&\n this.input.getAttribute('id') !== this.label.getAttribute('for')) {\n logError('gux-form-field', 'The input id and label for attribute should match.');\n }\n }\n else {\n logError('gux-form-field', '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 (this.hasErrorSlot()) {\n this.input.setAttribute('aria-describedby', this.errorId);\n }\n else if (this.input.getAttribute('aria-describedby') &&\n this.input\n .getAttribute('aria-describedby')\n .startsWith('gux-form-field-error')) {\n this.input.removeAttribute('aria-describedby');\n }\n }\n 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 }\n hasErrorSlot() {\n return !!this.root.querySelector('[slot=\"error\"]');\n }\n renderLabel(required) {\n return (h(\"div\", { class: {\n 'gux-label-container': true,\n 'gux-required': required\n } }, h(\"slot\", { name: \"label\", slot: \"label\" })));\n }\n renderError(hasError) {\n return (h(\"div\", { id: this.errorId, class: {\n 'gux-error': true,\n 'gux-show': hasError\n } }, h(\"gux-error-message-beta\", null, h(\"slot\", { name: \"error\" }))));\n }\n get root() { return getElement(this); }\n};\n__decorate([\n OnMutation({ childList: true, subtree: true })\n], GuxFormField.prototype, \"onMutation\", null);\nGuxFormField.style = guxFormFieldCss;\n\nconst guxInputCheckboxCss = \"gux-input-checkbox{display:block;color:#2e394c}gux-input-checkbox .gux-input-checkbox-container{position:relative;padding-left:24px;line-height:24px}gux-input-checkbox input{position:absolute;z-index:-1;opacity:0}gux-input-checkbox label{display:inline-block;font-size:12px}gux-input-checkbox label:hover{cursor:pointer}gux-input-checkbox label::after{position:absolute;top:4px;left:4px;display:block;width:16px;height:16px;content:'';border-radius:15%}gux-input-checkbox input:focus-within~label::after{box-shadow:0 0 3px 2px #aac9ff}gux-input-checkbox input:not(:checked)~label::after{background-image:url(\\\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%2377828f' /%3E%3C/svg%3E\\\")}gux-input-checkbox.gux-input-error input:not(:checked)~label::after{background-image:url(\\\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%23ea0b0b' /%3E%3C/svg%3E\\\")}gux-input-checkbox input:not(:checked):not(:disabled):not(:indeterminate)~label:hover::after{background-image:url(\\\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%232a60c8' /%3E%3C/svg%3E\\\")}gux-input-checkbox input:checked~label::after{background-image:url(\\\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 1.467h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zM6.8 11 3.638 7.941l.89-.932L6.8 9.2l3.947-3.861.891.932z' fill='%232a60c8' /%3E%3C/svg%3E\\\")}gux-input-checkbox input:indeterminate~label::after{background-image:url(\\\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.138 8.467h7v-1h-7zm7-7h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zm2 10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2z' fill='%232a60c8' /%3E%3C/svg%3E\\\")}gux-input-checkbox input:disabled~label::after,gux-input-checkbox input:disabled~label{cursor:not-allowed;opacity:0.5}\";\n\nlet GuxInputCheckbox = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return (h(\"div\", { class: \"gux-input-checkbox-container\" }, h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"label\" })));\n }\n};\nGuxInputCheckbox.style = guxInputCheckboxCss;\n\nconst required = \"Required\";\nconst colorInputResources = {\n\trequired: required\n};\n\nconst guxInputColorCss = \"gux-input-color{color:#2e394c}gux-input-color>section{position:relative;display:inline-block;width:160px}gux-input-color>gux-input-color-option{display:none}gux-input-color .gux-input-color-main-element{box-sizing:border-box;width:100%;padding:0;margin:0;cursor:pointer;user-select:none;background-color:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;outline:none;box-shadow:0 0 0 0 transparent;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);transition:box-shadow 0.2s}gux-input-color .gux-input-color-main-element:focus,gux-input-color .gux-input-color-main-element.gux-opened{border-color:#2a60c8;outline:none;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-input-color .gux-input-color-main-element:disabled{pointer-events:none;cursor:default;opacity:0.5}gux-input-color .gux-input-color-main-element:hover gux-icon,gux-input-color .gux-input-color-main-element:focus gux-icon{color:#2e394c}gux-input-color .gux-input-color-selected-color{float:left;padding:8px;margin:8px 12px}gux-input-color .gux-input-color-color-name{float:left;margin:9px 0;font-size:12px}gux-input-color .gux-input-color-color-select{position:absolute;top:100%;left:0;z-index:1;display:none;width:100%}gux-input-color .gux-input-color-color-select.gux-opened{display:inherit}gux-input-color gux-icon{position:absolute;top:0;right:0;display:flex;align-items:center;width:16px;height:100%;padding:0 7px;overflow:hidden;color:#596373;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}gux-input-color .gux-hidden{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}\";\n\nlet GuxInputColor = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.requiredId = randomHTMLId('gux-input-color-required');\n }\n onClick(e) {\n const element = e.target;\n if (!this.root.contains(element)) {\n this.setOpened(false);\n }\n }\n onInput(e) {\n const input = e.target;\n this.color = input.value;\n }\n async componentWillLoad() {\n this.i18n = await buildI18nForComponent(this.root, colorInputResources);\n this.input = this.root.querySelector('input[slot=\"input\"]');\n this.input.addEventListener('change', (e) => {\n if (this.opened) {\n e.stopImmediatePropagation();\n e.stopPropagation();\n e.preventDefault();\n }\n });\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n this.disabled = this.input.disabled;\n this.color = this.input.value;\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n }\n render() {\n return (h(\"section\", null, h(\"span\", { class: \"gux-hidden\", id: this.requiredId }, this.i18n('required')), h(\"button\", { \"aria-describedby\": `${this.guxLabelDescribedby} ${this.guxRequired ? this.requiredId : ''} ${this.guxErrorDescribedby}`, \"aria-expanded\": this.opened ? 'true' : 'false', type: \"button\", class: {\n 'gux-input-color-main-element': true,\n 'gux-opened': this.opened\n }, disabled: this.disabled, onClick: this.clickHandler.bind(this) }, h(\"div\", { class: \"gux-input-color-selected-color\", style: { background: this.color } }), h(\"div\", { class: \"gux-input-color-color-name\" }, this.color), h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-down\" })), h(\"gux-color-select\", { class: {\n 'gux-input-color-color-select': true,\n 'gux-opened': this.opened\n } }, h(\"slot\", { name: \"input\", slot: \"input\" }))));\n }\n setOpened(opened) {\n if (this.colorOnOpen && this.colorOnOpen !== this.color) {\n this.colorOnOpen = this.color;\n this.input.dispatchEvent(new Event('change', {\n bubbles: true\n }));\n }\n this.colorOnOpen = this.color;\n this.opened = opened;\n }\n clickHandler() {\n if (!this.disabled) {\n this.setOpened(!this.opened);\n }\n }\n get root() { return getElement(this); }\n};\nGuxInputColor.style = guxInputColorCss;\n\nconst clear = \"Clear\";\nconst increment = \"Increment\";\nconst decrement = \"Decrement\";\nconst componentResources = {\n\tclear: clear,\n\tincrement: increment,\n\tdecrement: decrement\n};\n\nconst guxInputNumberCss = \"gux-input-number{position:relative;display:block}gux-input-number .gux-input-number-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}gux-input-number .gux-input-number-container.gux-disabled{opacity:0.5}gux-input-number .gux-input-number-container .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}gux-input-number .gux-input-number-container .gux-input-container input{flex:1 1 auto;align-self:auto;order:0;color:#2e394c;text-align:right;background-color:#f6f7f9;border:none;outline:none;}gux-input-number .gux-input-number-container .gux-input-container input::placeholder{color:#596373;opacity:1}gux-input-number .gux-input-number-container .gux-input-container input::-webkit-outer-spin-button,gux-input-number .gux-input-number-container .gux-input-container input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}gux-input-number .gux-input-number-container .gux-input-container input[type='number']{-moz-appearance:textfield}gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none}gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button:not(:disabled):focus,gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button gux-icon{width:12px;height:12px}gux-input-number .gux-input-number-container .gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none}gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button:not(:disabled):focus,gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}gux-input-number .gux-input-number-container:focus-within .gux-input-container{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}\";\n\nlet GuxInputNumber = 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 simulateNativeInputAndChangeEvents() {\n simulateNativeEvent(this.input, 'input');\n simulateNativeEvent(this.input, 'change');\n }\n stepUp() {\n if (this.input.value === '') {\n setInputValue(this.input, this.input.min || '0', false);\n }\n else {\n this.input.stepUp();\n this.simulateNativeInputAndChangeEvents();\n }\n }\n stepDown() {\n if (this.input.value === '') {\n setInputValue(this.input, this.input.min || '0', false);\n }\n else {\n this.input.stepDown();\n this.simulateNativeInputAndChangeEvents();\n }\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 renderStepButtons() {\n return (h(\"div\", { class: \"gux-step-buttons-container\" }, h(\"button\", { class: \"gux-step-button\", tabIndex: -1, type: \"button\", title: this.getI18nValue('increment'), disabled: this.disabled, onClick: () => this.stepUp() }, h(\"gux-icon\", { \"icon-name\": \"chevron-small-up\", decorative: true })), h(\"button\", { class: \"gux-step-button\", tabIndex: -1, type: \"button\", title: this.getI18nValue('decrement'), disabled: this.disabled, onClick: () => this.stepDown() }, h(\"gux-icon\", { \"icon-name\": \"chevron-small-down\", decorative: true }))));\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-number-container': true,\n 'gux-disabled': this.disabled\n } }, h(\"div\", { class: \"gux-input-container\" }, h(\"slot\", { name: \"input\" }), this.renderClearButton()), this.renderStepButtons()));\n }\n get root() { return getElement(this); }\n};\nGuxInputNumber.style = guxInputNumberCss;\n\nconst guxInputRadioCss = \"gux-input-radio{display:block;color:#2e394c}gux-input-radio .gux-input-radio-container{position:relative;padding-left:24px;line-height:24px}gux-input-radio input{position:absolute;z-index:-1;opacity:0}gux-input-radio label{display:inline-block;font-size:12px}gux-input-radio label::after{position:absolute;top:4px;left:4px;display:block;width:16px;height:16px;content:'';border-radius:50%}gux-input-radio input:focus-within~label::after{box-shadow:0 0 2px 1px #aac9ff, inset 0 0 2px 1px #aac9ff}gux-input-radio input:not(:checked)~label::after{background-image:url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%2377828f'/%3E%3C/svg%3E\\\")}gux-input-radio input:not(:checked):not(:disabled)~label:hover::after{background-image:url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%232a60c8'/%3E%3C/svg%3E\\\")}gux-input-radio input:checked~label::after{background-image:url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.026 5.262a2.8 2.8 0 1 0 .001 5.601 2.8 2.8 0 0 0-.001-5.601zm0-2.2c-2.761 0-5 2.211-5 4.938s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill='%232a60c8'/%3E%3C/svg%3E\\\")}gux-input-radio input:disabled~label::after,gux-input-radio input:disabled~label{cursor:not-allowed;opacity:0.5}\";\n\nlet GuxInputRadio = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return (h(\"div\", { class: \"gux-input-radio-container\" }, h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"label\" })));\n }\n};\nGuxInputRadio.style = guxInputRadioCss;\n\nconst guxInputRangeCss = \"gux-input-range .gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;height:32px;font-size:12px}gux-input-range .gux-container.gux-disabled{pointer-events:none;opacity:0.5}gux-input-range .gux-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}gux-input-range .gux-container .gux-range .gux-track{width:100%;height:2px;margin:6px 0;background-color:#8a97ad}gux-input-range .gux-container .gux-range .gux-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']{position:absolute;width:100%;height:2px;margin:6px 0;margin-top:calc(-1 * (12px / 2 + 2px));background:transparent;-webkit-appearance:none}gux-input-range .gux-container .gux-range input[type='range']:focus{outline:none}gux-input-range .gux-container .gux-range input[type='range']::-webkit-slider-runnable-track{width:100%;height:2px;margin:6px 0;background-color:#8a97ad;background:transparent}gux-input-range .gux-container .gux-range input[type='range']::-webkit-slider-runnable-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-webkit-slider-thumb{display:block;width:12px;height:12px;cursor:pointer;border-radius:100%;margin-top:-5px;-webkit-appearance:none;background:#2a60c8;border:0 solid #2a60c8}gux-input-range .gux-container .gux-range input[type='range']:focus::-webkit-slider-runnable-track{background:rgba(13, 13, 13, 0)}gux-input-range .gux-container .gux-range input[type='range']::-moz-range-track{width:100%;height:2px;margin:6px 0;background-color:#8a97ad;background:transparent}gux-input-range .gux-container .gux-range input[type='range']::-moz-range-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-moz-range-thumb{display:block;width:12px;height:12px;cursor:pointer;border-radius:100%;margin-top:-5px;background:#2a60c8;border:0 solid #2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-ms-track{width:100%;height:2px;margin:6px 0;background-color:#8a97ad;color:transparent;background:transparent;border-color:transparent;border-width:12px 0}gux-input-range .gux-container .gux-range input[type='range']::-ms-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-ms-fill-lower{background:rgba(0, 0, 0, 0)}gux-input-range .gux-container .gux-range input[type='range']::-ms-fill-upper{background:transparent}gux-input-range .gux-container .gux-range input[type='range']::-ms-thumb{display:block;width:12px;height:12px;cursor:pointer;border-radius:100%;background:#2a60c8;border:0 solid #2a60c8}gux-input-range .gux-container .gux-range input[type='range']:focus::-ms-fill-lower{background:transparent}gux-input-range .gux-container .gux-range input[type='range']:focus::-ms-fill-upper{background:rgba(13, 13, 13, 0)}gux-input-range .gux-container .gux-range.gux-active input[type='range']::-webkit-slider-thumb{transform:scale(1.5)}gux-input-range .gux-container .gux-range.gux-active input[type='range']::-moz-range-thumb{transform:scale(1.5)}gux-input-range .gux-container .gux-range.gux-active input[type='range']::-ms-thumb{transform:scale(1.5)}gux-input-range .gux-container .gux-display{flex:0 1 auto;align-self:auto;order:0;height:32px;margin:0 0 0 16px;line-height:32px;text-align:right}gux-input-range .gux-container .gux-display.gux-hidden{display:none}gux-input-range .gux-range-tooltip-container{position:absolute;top:-50px;width:100%;height:32px;visibility:hidden}gux-input-range .gux-range-tooltip-container .gux-range-tooltip{font-family:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px;position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;width:50px;height:32px;margin-left:-20px;visibility:hidden;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-input-range .gux-range-tooltip-container .gux-range-tooltip::after,gux-input-range .gux-range-tooltip-container .gux-range-tooltip::before{position:absolute;top:100%;left:50%;width:0;height:0;pointer-events:none;content:' ';border:solid transparent}gux-input-range .gux-range-tooltip-container .gux-range-tooltip::after{margin-left:-4px;border-width:4px;border-top-color:#fdfdfd}gux-input-range .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:#b4bccb}gux-input-range input[type='range']:hover~.gux-range-tooltip-container:not(.gux-hidden),gux-input-range input[type='range']:focus~.gux-range-tooltip-container:not(.gux-hidden),gux-input-range input[type='range']:active~.gux-range-tooltip-container:not(.gux-hidden){visibility:visible}gux-input-range input[type='range']:hover~.gux-range-tooltip-container:not(.gux-hidden) .gux-range-tooltip,gux-input-range input[type='range']:focus~.gux-range-tooltip-container:not(.gux-hidden) .gux-range-tooltip,gux-input-range input[type='range']:active~.gux-range-tooltip-container:not(.gux-hidden) .gux-range-tooltip{visibility:visible}\";\n\nlet GuxInputRange = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.valueInTooltip = false;\n }\n onInput(e) {\n const input = e.target;\n this.updateValue(input.value);\n }\n onMousedown() {\n if (!this.disabled) {\n this.active = true;\n }\n }\n onMouseup() {\n this.active = false;\n }\n updateValue(newValue) {\n this.value = newValue;\n this.updatePosition();\n }\n updatePosition() {\n const value = Number(this.input.value || 0);\n const min = Number(this.input.min || 0);\n const max = Number(this.input.max || 100);\n const placementPercentage = ((value - min) / (max - min)) * 100;\n if (this.sliderTooltip) {\n const width = this.sliderTooltipContainer.offsetWidth;\n // Round tooltip position to the tenths place to prevent snapshot inconsistencies\n const offset = Math.round((placementPercentage / 100 - placementPercentage / 8 / width) * 1000) / 10;\n this.sliderTooltip.style.left = `${offset}%`;\n }\n this.progressElement.style.width = `${placementPercentage}%`;\n }\n getDisplayValue() {\n if (this.displayUnits) {\n return `${this.value}${this.displayUnits}`;\n }\n return this.value;\n }\n // Using componentWillLoad() instead of connectedCallback() here to fix\n // a bug caused by a race condition. Refer to COMUI-541 for details\n componentWillLoad() {\n this.input = this.root.querySelector('input[slot=\"input\"]');\n this.disabled = this.input.disabled;\n this.value = this.input.value;\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n this.valueWatcherId = setInterval(() => {\n if (this.value !== this.input.value) {\n this.updateValue(this.input.value);\n }\n }, 100);\n }\n componentDidLoad() {\n this.updatePosition();\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n clearInterval(this.valueWatcherId);\n }\n render() {\n return (h(\"div\", { class: {\n 'gux-container': true,\n 'gux-disabled': this.disabled\n } }, h(\"div\", { class: {\n 'gux-range': true,\n 'gux-active': this.active\n } }, h(\"div\", { class: \"gux-track\" }, h(\"div\", { class: \"gux-progress\", ref: el => (this.progressElement = el) })), h(\"slot\", { name: \"input\" }), h(\"div\", { class: {\n 'gux-range-tooltip-container': true,\n 'gux-hidden': !this.valueInTooltip\n }, ref: el => (this.sliderTooltipContainer = el) }, h(\"div\", { class: \"gux-range-tooltip\", ref: el => (this.sliderTooltip = el) }, this.getDisplayValue()))), h(\"div\", { class: {\n 'gux-display': true,\n 'gux-hidden': this.valueInTooltip\n } }, this.getDisplayValue())));\n }\n get root() { return getElement(this); }\n};\nGuxInputRange.style = guxInputRangeCss;\n\nconst guxInputSelectCss = \"gux-input-select{position:relative;display:block}gux-input-select .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;font-family:inherit;font-size:12px;line-height:1.66666667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px}gux-input-select .gux-input-container.gux-disabled{pointer-events:none;opacity:0.5}gux-input-select .gux-input-container:hover gux-icon{color:#2a60c8}gux-input-select .gux-input-container select{flex:1 1 auto;align-self:auto;order:0;height:32px;padding:0 32px 0 12px;margin:0;color:#2e394c;background-color:#f6f7f9;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);-moz-appearance:none;-webkit-appearance:none;appearance:none}gux-input-select .gux-input-container gux-icon{position:absolute;top:0;right:0;width:16px;height:16px;margin:8px;pointer-events:none}gux-input-select .gux-input-container:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}\";\n\nlet GuxInputSelect = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n async componentWillLoad() {\n this.input = this.root.querySelector('select[slot=\"input\"]');\n this.disabled = this.input.disabled;\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\" }), h(\"gux-icon\", { decorative: true, iconName: \"ic-dropdown-arrow\" })));\n }\n get root() { return getElement(this); }\n};\nGuxInputSelect.style = guxInputSelectCss;\n\nconst guxInputTextareaCss = \"gux-input-textarea{position:relative;display:block}gux-input-textarea .gux-resize-none textarea{resize:none}gux-input-textarea .gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}gux-input-textarea .gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) ' ';min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0;border:1px solid #6b7585}gux-input-textarea .gux-resize-auto textarea{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}gux-input-textarea textarea{flex:1 1 auto;align-self:auto;order:0;font-family:inherit;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px;color:#2e394c;background-color:#f6f7f9;background-image:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0;border:1px solid #6b7585}gux-input-textarea textarea::placeholder{color:#596373;opacity:1}gux-input-textarea textarea:focus-within{border-color:#2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-input-textarea textarea[disabled]{opacity:0.5}\";\n\nlet GuxInputTextArea = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.resize = 'none';\n }\n componentWillLoad() {\n this.input = this.root.querySelector('textarea[slot=\"input\"]');\n this.input.addEventListener('input', () => {\n this.updateHeight();\n });\n }\n componentDidLoad() {\n this.updateHeight();\n }\n updateHeight() {\n if (this.resize === 'auto') {\n this.containerElement.dataset.replicatedValue = this.input.value;\n this.containerElement.style.maxHeight = this.input.style.maxHeight;\n }\n }\n render() {\n return (h(\"div\", { ref: el => (this.containerElement = el), class: `gux-resize-${this.resize}` }, h(\"slot\", { name: \"input\" })));\n }\n get root() { return getElement(this); }\n};\nGuxInputTextArea.style = guxInputTextareaCss;\n\nexport { GuxFormField as gux_form_field, GuxInputCheckbox as gux_input_checkbox, GuxInputColor as gux_input_color, GuxInputNumber as gux_input_number, GuxInputRadio as gux_input_radio, GuxInputRange as gux_input_range, GuxInputSelect as gux_input_select, GuxInputTextArea as gux_input_textarea };\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[14],{133:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));const i={name:"@genesys/common-webcomponents",version:"2.59.1",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},s="spark-library",r="spark-component";let o=!1;function c(e,t){const n=window.newrelic;n&&(o||(!function(){const e=window.newrelic;if(!e)return;const[t,n,r]=i.version.split(".");e.addPageAction(s,{fullVersion:"".concat(t,".").concat(n,".").concat(r),majorVersion:t,minorVersion:"".concat(t,".").concat(n)})}(),o=!0),n.addPageAction(r,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}},134:function(e,t,n){"use strict";function i(){return"".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"gux","-").concat(Math.random().toString(36).substr(2,10))}n.d(t,"a",(function(){return i}))},135:function(e,t,n){"use strict";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,"a",(function(){return i}))},136:function(e,t,n){"use strict";function i(e,t){setTimeout((()=>{throw new Error("[".concat(e,"] ").concat(t))}),0)}function s(e,t){setTimeout((()=>{console.warn("[".concat(e,"] ").concat(t))}),0)}n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return i}))},137:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(135);function s(e,t,n){e.value=t,Object(i.a)(e,"input"),Object(i.a)(e,"change"),n&&e.focus()}},138:function(e,t,n){"use strict";function i(e,t){const n=new MutationObserver((n=>{n.forEach((()=>{t(e.hidden)}))}));return n.observe(e,{attributes:!0,attributeFilter:["hidden"]}),n}function s(e,t){const n=new MutationObserver((n=>{n.forEach((n=>{"disabled"===n.attributeName&&t(e.disabled)}))}));return n.observe(e,{attributes:!0}),n}function r(e,t){const n=new MutationObserver((n=>{n.forEach((n=>{"required"===n.attributeName&&t(e.required)}))}));return n.observe(e,{attributes:!0}),n}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return s}))},140:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(10);function s(e){return(t,n)=>{const{connectedCallback:s,disconnectedCallback:r}=t;let o;t.connectedCallback=function(){const t=Object(i.g)(this),r=this[n];return o=new MutationObserver(r.bind(this)),o.observe(t,e),s&&s.call(this)},t.disconnectedCallback=function(){return o.disconnect(),r&&r.call(this)}}}},141:function(e,t,n){"use strict";function i(e){e.addEventListener("invalid",(e=>{e.preventDefault()}))}n.d(t,"a",(function(){return i}))},142:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return p}));var i=n(10),s=n(134),r=n(136),o=n(137);const c=(e,t)=>{let{hasError:n}=e;return Object(i.h)("div",{class:{"gux-form-field-error":!0,"gux-show":n}},Object(i.h)("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),Object(i.h)("div",{class:"gux-message"},t))};function a(e){Object(o.a)(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)){const n=e.querySelector('label[slot="label"]'),i=Boolean(t.hasAttribute("id")),o=Boolean(n.hasAttribute("for"));if(!i&&o)Object(r.b)(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&&!o){const e=t.getAttribute("id");n.setAttribute("for",e)}else i&&o&&t.getAttribute("id")!==n.getAttribute("for")&&Object(r.b)(e.tagName.toLowerCase(),"The input id and label for attribute should match.");else{const e=Object(s.a)("gux-form-field-input");t.setAttribute("id",e),n.setAttribute("for",e)}}else Object(r.b)(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)){const n=e.querySelector('[slot="error"]'),i=Object(s.a)("gux-form-field-error");n.setAttribute("id",i),t.setAttribute("aria-describedby",i)}else t.getAttribute("aria-describedby")&&t.getAttribute("aria-describedby").startsWith("gux-form-field-error")&&t.removeAttribute("aria-describedby")}},69:function(e,t,n){"use strict";n.r(t),n.d(t,"gux_form_field_checkbox_beta",(function(){return u}));var i=n(10),s=n(140),r=n(138),o=n(141),c=n(133),a=n(142);n(134),n(136),n(137),n(135);var l=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let u=class{constructor(e){Object(i.j)(this,e),this.hasError=!1}onMutation(){this.hasError=Object(a.e)(this.root)}componentWillLoad(){this.setInput(),this.hasError=Object(a.e)(this.root),Object(c.a)(this.root)}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return Object(i.h)(i.a,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},Object(i.h)("div",{class:"gux-form-field-container"},Object(i.h)("div",{class:"gux-input"},Object(i.h)("slot",{name:"input",onSlotchange:()=>this.setInput()}),Object(i.h)("slot",{name:"label"})),Object(i.h)(a.a,{hasError:this.hasError},Object(i.h)("slot",{name:"error"}))))}setInput(){this.input=this.root.querySelector('input[type="checkbox"][slot="input"]'),Object(o.a)(this.input),this.disabled=this.input.disabled,this.disabledObserver=Object(r.c)(this.input,(e=>{this.disabled=e})),Object(a.f)(this.root,this.input)}get root(){return Object(i.g)(this)}};l([Object(s.a)({childList:!0,subtree:!0})],u.prototype,"onMutation",null),u.style=".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:#2e394c}.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}:host{display:block;color:#2e394c}:host(.gux-input-error) ::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%23ea0b0b' /%3E%3C/svg%3E\")}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input{position:relative;height:24px;line-height:24px}::slotted(input[type='checkbox']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;cursor:pointer;border:0;-webkit-appearance:none;appearance:none;outline:none}::slotted(input[type='checkbox'])::before{grid-area:1;content:'';border-radius:15%}::slotted(input[type='checkbox']:focus-within)::before{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%2377828f' /%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%232a60c8' /%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:checked)::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 1.467h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zM6.8 11 3.638 7.941l.89-.932L6.8 9.2l3.947-3.861.891.932z' fill='%232a60c8' /%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:indeterminate)::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.138 8.467h7v-1h-7zm7-7h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zm2 10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2z' fill='%232a60c8' /%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}"}}]);
2
+ //# sourceMappingURL=14.dc24fa84.chunk.js.map