genesys-spark-components 3.32.3 → 3.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (331) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  3. package/dist/cjs/gux-accordion-legacy.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-button-legacy.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-action-list-legacy.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-action-toast.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-badge-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-card-beta.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-disclosure-button.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +10 -6
  39. package/dist/cjs/gux-form-field-color.cjs.entry.js +12 -8
  40. package/dist/cjs/{gux-form-field-label-cb1bc6c7.js → gux-form-field-container-284d1d01.js} +7 -7
  41. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +12 -8
  42. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-number.cjs.entry.js +14 -9
  45. package/dist/cjs/gux-form-field-radio.cjs.entry.js +10 -6
  46. package/dist/cjs/gux-form-field-range.cjs.entry.js +11 -7
  47. package/dist/cjs/gux-form-field-search.cjs.entry.js +12 -8
  48. package/dist/cjs/gux-form-field-select.cjs.entry.js +12 -8
  49. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +14 -9
  50. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +12 -8
  51. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +23 -14
  52. package/dist/cjs/{gux-form-field.service-66dade5d.js → gux-form-field.service-8424f99d.js} +29 -13
  53. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +3 -6
  66. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-popover.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-table-beta.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-visualization-beta.cjs.entry.js +1 -1
  89. package/dist/cjs/has-slot-2e73d6e7.js +7 -0
  90. package/dist/cjs/loader.cjs.js +1 -1
  91. package/dist/cjs/{usage-tracking-aa9da6aa.js → usage-tracking-c0879d4b.js} +1 -1
  92. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.css +21 -0
  93. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +16 -10
  94. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +21 -0
  95. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +17 -13
  96. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +21 -0
  97. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +16 -12
  98. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +21 -0
  99. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +21 -16
  100. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.css +21 -0
  101. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +16 -10
  102. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +21 -0
  103. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +16 -12
  104. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +21 -0
  105. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +17 -13
  106. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +21 -0
  107. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +17 -13
  108. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +23 -1
  109. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +19 -14
  110. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +21 -0
  111. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +17 -13
  112. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.css +21 -0
  113. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +17 -12
  114. package/dist/collection/components/stable/gux-form-field/functional-components/functional-components.js +7 -0
  115. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-error/gux-form-field-error.js +2 -2
  116. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-help/gux-form-field-help.js +7 -0
  117. package/dist/collection/components/stable/gux-form-field/gux-form-field.service.js +18 -9
  118. package/dist/collection/utils/dom/get-slot-text-content.js +4 -0
  119. package/dist/deploy-info.json +3 -3
  120. package/dist/esm/genesys-webcomponents.js +1 -1
  121. package/dist/esm/gux-accordion-legacy.entry.js +1 -1
  122. package/dist/esm/gux-accordion.entry.js +1 -1
  123. package/dist/esm/gux-action-button-legacy.entry.js +1 -1
  124. package/dist/esm/gux-action-button.entry.js +1 -1
  125. package/dist/esm/gux-action-list-legacy.entry.js +1 -1
  126. package/dist/esm/gux-action-toast.entry.js +1 -1
  127. package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
  128. package/dist/esm/gux-announce-beta.entry.js +1 -1
  129. package/dist/esm/gux-badge-beta.entry.js +1 -1
  130. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  131. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  132. package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
  133. package/dist/esm/gux-button-multi.entry.js +1 -1
  134. package/dist/esm/gux-button-slot-beta.entry.js +1 -1
  135. package/dist/esm/gux-button.entry.js +1 -1
  136. package/dist/esm/gux-calendar.entry.js +1 -1
  137. package/dist/esm/gux-card-beta.entry.js +1 -1
  138. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  139. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  140. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  141. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  142. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
  143. package/dist/esm/gux-command-palette-legacy.entry.js +1 -1
  144. package/dist/esm/gux-content-search.entry.js +1 -1
  145. package/dist/esm/gux-copy-to-clipboard-beta.entry.js +1 -1
  146. package/dist/esm/gux-date-beta.entry.js +1 -1
  147. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  148. package/dist/esm/gux-datepicker.entry.js +1 -1
  149. package/dist/esm/gux-disclosure-button.entry.js +1 -1
  150. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  151. package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
  152. package/dist/esm/gux-dropdown-multi-beta.entry.js +1 -1
  153. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  154. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  155. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  156. package/dist/esm/gux-form-field-checkbox.entry.js +10 -6
  157. package/dist/esm/gux-form-field-color.entry.js +11 -7
  158. package/dist/esm/{gux-form-field-label-9c6f4df6.js → gux-form-field-container-2d8e8d4e.js} +7 -7
  159. package/dist/esm/gux-form-field-dropdown.entry.js +11 -7
  160. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  161. package/dist/esm/gux-form-field-legacy.entry.js +1 -1
  162. package/dist/esm/gux-form-field-number.entry.js +13 -8
  163. package/dist/esm/gux-form-field-radio.entry.js +10 -6
  164. package/dist/esm/gux-form-field-range.entry.js +11 -7
  165. package/dist/esm/gux-form-field-search.entry.js +11 -7
  166. package/dist/esm/gux-form-field-select.entry.js +11 -7
  167. package/dist/esm/gux-form-field-text-like.entry.js +13 -8
  168. package/dist/esm/gux-form-field-textarea.entry.js +11 -7
  169. package/dist/esm/gux-form-field-time-picker.entry.js +23 -14
  170. package/dist/esm/{gux-form-field.service-25a9237e.js → gux-form-field.service-e046de13.js} +29 -12
  171. package/dist/esm/gux-icon.entry.js +1 -1
  172. package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
  173. package/dist/esm/gux-list.entry.js +1 -1
  174. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  175. package/dist/esm/gux-loading-message-beta.entry.js +1 -1
  176. package/dist/esm/gux-modal.entry.js +1 -1
  177. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  178. package/dist/esm/gux-notification-toast.entry.js +1 -1
  179. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  180. package/dist/esm/gux-pagination-beta.entry.js +1 -1
  181. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  182. package/dist/esm/gux-pagination.entry.js +1 -1
  183. package/dist/esm/gux-panel-frame-legacy.entry.js +2 -5
  184. package/dist/esm/gux-popover-list.entry.js +1 -1
  185. package/dist/esm/gux-popover.entry.js +1 -1
  186. package/dist/esm/gux-radial-loading.entry.js +1 -1
  187. package/dist/esm/gux-radial-progress.entry.js +1 -1
  188. package/dist/esm/gux-rating.entry.js +1 -1
  189. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  190. package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
  191. package/dist/esm/gux-simple-toast.entry.js +1 -1
  192. package/dist/esm/gux-skip-navigation-list-beta.entry.js +1 -1
  193. package/dist/esm/gux-sort-control.entry.js +1 -1
  194. package/dist/esm/gux-switch.entry.js +1 -1
  195. package/dist/esm/gux-table-beta.entry.js +1 -1
  196. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  197. package/dist/esm/gux-tabs-legacy.entry.js +1 -1
  198. package/dist/esm/gux-tabs.entry.js +1 -1
  199. package/dist/esm/gux-tag-beta.entry.js +1 -1
  200. package/dist/esm/gux-text-highlight.entry.js +1 -1
  201. package/dist/esm/gux-text-label-legacy.entry.js +1 -1
  202. package/dist/esm/gux-time-beta.entry.js +1 -1
  203. package/dist/esm/gux-time-picker-beta.entry.js +1 -1
  204. package/dist/esm/gux-toggle.entry.js +1 -1
  205. package/dist/esm/gux-tooltip.entry.js +1 -1
  206. package/dist/esm/gux-visualization-beta.entry.js +1 -1
  207. package/dist/esm/has-slot-062ae63a.js +5 -0
  208. package/dist/esm/loader.js +1 -1
  209. package/dist/esm/{usage-tracking-208cef9e.js → usage-tracking-2c66c99e.js} +1 -1
  210. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  211. package/dist/genesys-webcomponents/{p-34873c24.entry.js → p-0250ec38.entry.js} +1 -1
  212. package/dist/genesys-webcomponents/{p-9b4f4a6e.entry.js → p-06b66c03.entry.js} +1 -1
  213. package/dist/genesys-webcomponents/{p-b3bbc23b.entry.js → p-073ec56a.entry.js} +1 -1
  214. package/dist/genesys-webcomponents/p-08bc2e6b.js +1 -0
  215. package/dist/genesys-webcomponents/p-0cd75697.entry.js +1 -0
  216. package/dist/genesys-webcomponents/{p-338324cc.entry.js → p-11f0edea.entry.js} +1 -1
  217. package/dist/genesys-webcomponents/{p-b4f80688.entry.js → p-147bc1a3.entry.js} +1 -1
  218. package/dist/genesys-webcomponents/{p-4c733037.entry.js → p-156b6426.entry.js} +1 -1
  219. package/dist/genesys-webcomponents/{p-5ae53925.entry.js → p-1abfd383.entry.js} +1 -1
  220. package/dist/genesys-webcomponents/p-1f6b2594.js +1 -0
  221. package/dist/genesys-webcomponents/{p-f57a152d.entry.js → p-21ba9a7f.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-4afebf77.entry.js → p-23ffa72d.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/{p-a51ff810.entry.js → p-2662a67f.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-1bd6dbe4.entry.js → p-273bc1c6.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-695049b5.entry.js → p-317446e2.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-47ff4961.entry.js → p-329d378d.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-78a09deb.entry.js → p-3762f90f.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-d402352c.entry.js → p-380e061c.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-4645a835.entry.js → p-3b4eac0f.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-f8471417.entry.js → p-3b7a1197.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/{p-dca6993e.entry.js → p-46e9f1e5.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/{p-6660bb1c.entry.js → p-48d4a2d9.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/{p-5912c734.entry.js → p-49e31361.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-afe37461.entry.js → p-51e573c3.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/p-53e27b9d.entry.js +1 -0
  236. package/dist/genesys-webcomponents/{p-a9d5a8c4.entry.js → p-589aa3f1.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-1563c1b6.entry.js → p-5aef7971.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-0afb6281.entry.js → p-5d44df27.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-27a4972a.entry.js → p-5d6f997d.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/p-62bfaa30.entry.js +1 -0
  241. package/dist/genesys-webcomponents/{p-c15ad970.entry.js → p-6b65e824.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-26c01f0c.entry.js → p-6decf853.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-3fb2cd78.entry.js → p-718b3059.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/p-737b4bc7.entry.js +1 -0
  245. package/dist/genesys-webcomponents/{p-9dd70ee6.entry.js → p-74ae8934.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-ae596c2f.entry.js → p-75818f24.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-3cca4425.entry.js → p-75b48160.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-4c13791d.entry.js → p-792f377c.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-7bf15d70.entry.js → p-79bbdf77.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-c4e6d6d9.entry.js → p-7c7f4d09.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-56a53028.entry.js → p-7cde4e52.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-80046670.entry.js → p-85a4b799.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-279e3d0c.entry.js → p-86fff4bd.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-4ebe7f33.entry.js → p-897fd715.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/p-8a19fe97.entry.js +1 -0
  256. package/dist/genesys-webcomponents/{p-fb4b4db3.entry.js → p-8b1849db.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/p-8b3fb85e.entry.js +1 -0
  258. package/dist/genesys-webcomponents/p-8e01a80b.entry.js +1 -0
  259. package/dist/genesys-webcomponents/p-905cd42a.entry.js +1 -0
  260. package/dist/genesys-webcomponents/{p-97065fec.entry.js → p-9728b179.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-b48c542d.js → p-98612f86.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-750e70ef.entry.js → p-99b16838.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-c3d32494.entry.js → p-9cb4524e.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-532d9004.entry.js → p-9edad064.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-1e174f48.entry.js → p-a07ee1c8.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/p-a1f5922b.entry.js +1 -0
  267. package/dist/genesys-webcomponents/{p-b2282e96.entry.js → p-a8dfe31f.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-b57a1503.entry.js → p-ab0bb650.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-411ce526.entry.js → p-ad7388a9.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-90b8aa76.entry.js → p-ae06a9ca.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-fbe5ce4b.entry.js → p-b0618ec3.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-6753b85e.entry.js → p-b1d58def.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-53b4cfe2.entry.js → p-b37f98b0.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-dec1b34f.entry.js → p-b4e5e3e9.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-eef4a31e.entry.js → p-b5f53c3f.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/p-b6edc0a4.entry.js +1 -0
  277. package/dist/genesys-webcomponents/{p-f8c11029.entry.js → p-b6f31665.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-faff15ba.entry.js → p-b788fd37.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-e5de66fd.entry.js → p-b871ee68.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/p-b8b8e461.entry.js +1 -0
  281. package/dist/genesys-webcomponents/{p-738fada9.entry.js → p-be169210.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/p-c168bf7e.entry.js +1 -0
  283. package/dist/genesys-webcomponents/{p-f7c7986b.entry.js → p-c2bcd13d.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-5748b8ba.entry.js → p-c7f7920e.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/p-c9576487.js +1 -0
  286. package/dist/genesys-webcomponents/{p-6d8ed01d.entry.js → p-cd21c84b.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-b5eafce9.entry.js → p-cf7ea922.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-1493f317.entry.js → p-d0e5d051.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-5872b921.entry.js → p-d41c9537.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-8cbf669c.entry.js → p-d745cd1d.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-236760ad.entry.js → p-de28eed0.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-b1ee8a37.entry.js → p-e19395aa.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-cbb743e4.entry.js → p-e1b41b8d.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-5d176c52.entry.js → p-e2e26bb3.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/p-e6cc6ee9.entry.js +1 -0
  296. package/dist/genesys-webcomponents/{p-cb4b6d73.entry.js → p-ebd1565a.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-f6bd4dd4.entry.js → p-ece30459.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-cbcd5fde.entry.js → p-f73e5bc3.entry.js} +1 -1
  299. package/dist/stencil-wrapper.js +1 -1
  300. package/dist/types/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.d.ts +2 -0
  301. package/dist/types/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.d.ts +2 -0
  302. package/dist/types/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.d.ts +2 -0
  303. package/dist/types/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.d.ts +2 -0
  304. package/dist/types/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.d.ts +2 -0
  305. package/dist/types/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.d.ts +2 -0
  306. package/dist/types/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.d.ts +2 -0
  307. package/dist/types/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.d.ts +2 -0
  308. package/dist/types/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.d.ts +2 -0
  309. package/dist/types/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.d.ts +2 -0
  310. package/dist/types/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.d.ts +3 -1
  311. package/dist/types/components/stable/gux-form-field/functional-components/functional-components.d.ts +7 -0
  312. package/dist/types/components/stable/gux-form-field/functional-components/gux-form-field-error/gux-form-field-error.d.ts +1 -1
  313. package/dist/types/components/stable/gux-form-field/functional-components/gux-form-field-help/gux-form-field-help.d.ts +6 -0
  314. package/dist/types/components/stable/gux-form-field/gux-form-field.service.d.ts +0 -2
  315. package/dist/types/utils/dom/get-slot-text-content.d.ts +1 -0
  316. package/package.json +1 -1
  317. package/dist/genesys-webcomponents/p-061af639.js +0 -1
  318. package/dist/genesys-webcomponents/p-1716b59b.entry.js +0 -1
  319. package/dist/genesys-webcomponents/p-2b82af25.entry.js +0 -1
  320. package/dist/genesys-webcomponents/p-2f6f5ecf.entry.js +0 -1
  321. package/dist/genesys-webcomponents/p-37d8c707.entry.js +0 -1
  322. package/dist/genesys-webcomponents/p-4d7be638.entry.js +0 -1
  323. package/dist/genesys-webcomponents/p-51252166.entry.js +0 -1
  324. package/dist/genesys-webcomponents/p-57587e93.entry.js +0 -1
  325. package/dist/genesys-webcomponents/p-669585de.entry.js +0 -1
  326. package/dist/genesys-webcomponents/p-7dcb5f01.entry.js +0 -1
  327. package/dist/genesys-webcomponents/p-9377abe2.entry.js +0 -1
  328. package/dist/genesys-webcomponents/p-b5c4192d.entry.js +0 -1
  329. package/dist/genesys-webcomponents/p-c079a476.js +0 -1
  330. package/dist/genesys-webcomponents/p-ee538d18.entry.js +0 -1
  331. package/dist/genesys-webcomponents/p-f76765f7.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as i,g as o}from"./p-39a696d6.js";import{c as l,o as s}from"./p-3f5341ea.js";import{O as r}from"./p-82eb8b00.js";import{p as a}from"./p-c10e41a9.js";import{t as n}from"./p-b48c542d.js";import{h as d,G as p,v as c}from"./p-c079a476.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const u=class{constructor(t){e(this,t),this.hasError=!1}onMutation(){this.hasError=d(this.root)}componentWillLoad(){this.setInput(),this.hasError=d(this.root),n(this.root)}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return t(i,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("div",{class:"gux-form-field-container"},t("div",{class:"gux-input-label"},t("div",{class:"gux-input"},t("slot",{name:"input",onSlotchange:()=>this.setInput()})),t("div",{class:"gux-label"},t("slot",{name:"label"}),t(p,{hasError:this.hasError},t("slot",{name:"error"}))))))}setInput(){this.input=this.root.querySelector('input[type="radio"][slot="input"]'),a(this.input),this.disabled=l(this.input),this.disabledObserver=s(this.input,(e=>{this.disabled=e})),c(this.root,this.input)}get root(){return o(this)}};(function(e,t,i,o){var l,s=arguments.length,r=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(l=e[a])&&(r=(s<3?l(r):s>3?l(t,i,r):l(t,i))||r);s>3&&r&&Object.defineProperty(t,i,r)})([r({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;line-height:16px;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-right: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-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:flex;flex-direction:row}.gux-input-label .gux-label{display:flex;flex-direction:column}::slotted(input[type='radio']){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='radio'])::before{grid-area:1;content:'';border-radius:50%}::slotted(input[type='radio']:focus-within)::before{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}::slotted(input[type='radio']: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='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\")}::slotted(input[type='radio']:not(:checked):not(:disabled):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='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\")}::slotted(input[type='radio']: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='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\")}::slotted(input[type='radio']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}";export{u as gux_form_field_radio}
@@ -1 +0,0 @@
1
- import{r as t,h as i,g as o}from"./p-39a696d6.js";import{c as e,o as r}from"./p-3f5341ea.js";import{O as s}from"./p-82eb8b00.js";import{a}from"./p-e2bea786.js";import{t as n}from"./p-b48c542d.js";import{G as l,a as h}from"./p-061af639.js";import{h as f,G as p,v as u,g as x}from"./p-c079a476.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const d=class{constructor(i){t(this,i),this.computedLabelPosition="above",this.hasError=!1}watchValue(t){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi-beta");i&&(i.hasError=t)}onMutation(){this.hasError=f(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=f(this.root),n(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return i(h,{labelPosition:this.computedLabelPosition},i(l,{position:this.computedLabelPosition,required:this.required},i("slot",{name:"label",onSlotchange:()=>this.setLabel()})),i("div",{class:"gux-input-and-error-container"},i("div",{class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-disabled":this.disabled}},i("slot",null)),i(p,{hasError:this.hasError},i("slot",{name:"error"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi-beta"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.disabled=e(this.dropdownElement),this.required=this.dropdownElement.required,this.disabledObserver=r(this.dropdownElement,(t=>{this.disabled=t})),this.requiredObserver=a(this.dropdownElement,(t=>{this.required=t})),u(this.root,this.listboxElement)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return o(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(t,i,o,e){var r,s=arguments.length,a=s<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,o):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,o,e);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(s<3?r(a):s>3?r(i,o,a):r(i,o))||a);s>3&&a&&Object.defineProperty(i,o,a)})([s({childList:!0,subtree:!0})],d.prototype,"onMutation",null),d.style=".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 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;line-height:16px;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-right: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:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom: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-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input.gux-disabled{pointer-events:none;opacity:0.5}";export{d as gux_form_field_dropdown}
@@ -1 +0,0 @@
1
- import{r as t,f as e,h as i,g as o}from"./p-39a696d6.js";import{b as n}from"./p-5fefa2ad.js";import{c as r,o as s}from"./p-3f5341ea.js";import{O as a}from"./p-82eb8b00.js";import{a as l}from"./p-e2bea786.js";import{p as u}from"./p-c10e41a9.js";import{t as p}from"./p-b48c542d.js";import{s as c}from"./p-8fe7daff.js";import{s as x}from"./p-d176c2ae.js";import{G as d,a as h}from"./p-061af639.js";import{h as g,a as f,c as b,G as m,v as w,g as v}from"./p-c079a476.js";import"./p-8a133b9b.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";const j={increment:"Increment",decrement:"Decrement"};const y=class{constructor(e){t(this,e),this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1}onMutation(){this.hasError=g(this.root)}async guxForceUpdate(){this.hasContent=f(this.input),this.hasError=g(this.root),e(this.root)}async componentWillLoad(){this.getI18nValue=await n(this.root,j),this.setInput(),this.setLabel(),this.hasError=g(this.root),p(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){const t=this.clearable&&this.hasContent&&!this.disabled;return i(h,{labelPosition:this.computedLabelPosition},i(d,{position:this.computedLabelPosition,required:this.required},i("slot",{name:"label",onSlotchange:()=>this.setLabel()})),i("div",{class:"gux-input-and-error-container"},i("div",{class:{"gux-input":!0,"gux-input-error":this.hasError},part:"input-section"},i("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-clear":t}},i("slot",{name:"input",onSlotchange:()=>this.setInput()}),t&&i("gux-form-field-input-clear-button",{onClick:()=>b(this.input)})),this.renderStepButtons(this.input,this.getI18nValue,this.disabled)),i(m,{hasError:this.hasError},i("slot",{name:"error"}))))}get variant(){const t=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.clearable?"clearable":"unclearable"}-${t}`}setInput(){this.input=this.root.querySelector('input[type="number"][slot="input"]'),this.hasContent=f(this.input),u(this.input),this.input.addEventListener("input",(()=>{this.hasContent=f(this.input)})),this.disabled=r(this.input),this.required=this.input.required,this.disabledObserver=s(this.input,(t=>{this.disabled=t})),this.requiredObserver=l(this.input,(t=>{this.required=t})),w(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=v(this.label,this.labelPosition)}renderStepButtons(t,e,o){return i("div",{class:"gux-step-buttons-container"},i("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:e("increment"),disabled:o,onClick:()=>this.stepUp(t)},i("gux-icon",{"icon-name":"chevron-small-up",decorative:!0})),i("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:e("decrement"),disabled:o,onClick:()=>this.stepDown(t)},i("gux-icon",{"icon-name":"chevron-small-down",decorative:!0})))}stepDown(t){""===t.value?c(t,t.min||"0",!1):(t.stepDown(),this.simulateNativeInputAndChangeEvents(t))}stepUp(t){""===t.value?c(t,t.min||"0",!1):(t.stepUp(),this.simulateNativeInputAndChangeEvents(t))}simulateNativeInputAndChangeEvents(t){x(t,"input"),x(t,"change")}get root(){return o(this)}};(function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);r>3&&s&&Object.defineProperty(e,i,s)})([a({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style=".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 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;line-height:16px;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-right: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:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom: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-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;width:100%}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px;font-family:inherit;font-size:12px;line-height:1.6667;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-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}.gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}.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-step-buttons-container .gux-step-button:not(:disabled):focus,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}";export{y as gux_form_field_number}
@@ -1 +0,0 @@
1
- import{r as t,h as i,H as e,g as r}from"./p-39a696d6.js";import{c as n,o}from"./p-3f5341ea.js";import{O as a}from"./p-82eb8b00.js";import{a as s}from"./p-e2bea786.js";import{p as g}from"./p-c10e41a9.js";import{t as p}from"./p-b48c542d.js";import{a as u,G as l}from"./p-061af639.js";import{h as x,G as h,v as d,g as c}from"./p-c079a476.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const f=class{constructor(i){t(this,i),this.computedLabelPosition="above",this.hasError=!1}onInput(t){this.updateValue(t.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.hasError=x(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=x(this.root),p(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition()}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return i(e,{class:{"gux-active":this.active}},i(u,{labelPosition:this.computedLabelPosition},i(l,{position:this.computedLabelPosition,required:this.required},i("slot",{name:"label",onSlotchange:()=>this.setLabel()})),i("div",{class:"gux-input-and-error-container"},this.renderRangeInput(),i(h,{hasError:this.hasError},i("slot",{name:"error"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=this.root.querySelector('input[type="range"][slot="input"]'),g(this.input),this.disabled=n(this.input),this.required=this.input.required,this.value=this.input.value,this.disabledObserver=o(this.input,(t=>{this.disabled=t})),this.requiredObserver=s(this.input,(t=>{this.required=t})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100),d(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}renderRangeInput(){return i("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled}},i("div",{class:"gux-range"},i("div",{class:"gux-track"},i("div",{class:"gux-progress",ref:t=>this.progressElement=t})),i("slot",{name:"input"}),i("div",{class:{"gux-range-tooltip-container":!0,"gux-hidden":!this.valueInTooltip},ref:t=>this.sliderTooltipContainer=t},i("div",{class:"gux-range-tooltip",ref:t=>this.sliderTooltip=t},this.getDisplayValue()))),i("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(t){this.value=t,this.updatePosition()}updatePosition(){const t=Number(this.input.value||0),i=Number(this.input.min||0),e=(t-i)/(Number(this.input.max||100)-i)*100;this.sliderTooltip&&(this.sliderTooltip.style.left=e-e/8/this.sliderTooltipContainer.offsetWidth*100+"%"),this.progressElement.style.width=`${e}%`}getDisplayValue(){return this.displayUnits?`${this.value}${this.displayUnits}`:this.value}get root(){return r(this)}};(function(t,i,e,r){var n,o=arguments.length,a=o<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,e,r);else for(var s=t.length-1;s>=0;s--)(n=t[s])&&(a=(o<3?n(a):o>3?n(i,e,a):n(i,e))||a);o>3&&a&&Object.defineProperty(i,e,a)})([a({childList:!0,subtree:!0})],f.prototype,"onMutation",null),f.style=".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 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;line-height:16px;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-right: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:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom: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-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(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-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-range-input-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-and-error-container .gux-range-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{width:100%;height:2px;margin:6px 0;background-color:#8a97ad}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{height:2px;background-color:#2a60c8}.gux-input-and-error-container .gux-range-input-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-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container{position:absolute;top:-50px;width:100%;height:32px;pointer-events:none}.gux-input-and-error-container .gux-range-tooltip-container.gux-hidden{display:none}.gux-input-and-error-container .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:var(--gux-zindex-tooltip, 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-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after,.gux-input-and-error-container .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-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after{margin-left:-4px;border-width:4px;border-top-color:#fdfdfd}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:#b4bccb}";export{f as gux_form_field_range}
@@ -1 +0,0 @@
1
- import{r as t,h as s,H as e,g as r}from"./p-39a696d6.js";import{l as a,n as o,f as i,p as n}from"./p-3834e291.js";import{t as c}from"./p-b48c542d.js";const l=["gux-list-item"],p=class{constructor(s){t(this,s)}componentWillLoad(){c(this.root)}onKeyDown(t){switch(t.key){case"ArrowUp":t.preventDefault(),n(this.root,l);break;case"Home":t.preventDefault(),i(this.root,l);break;case"ArrowDown":t.preventDefault(),o(this.root,l);break;case"End":t.preventDefault(),a(this.root,l)}}async guxFocusFirstItem(){i(this.root,l)}renderFocusTarget(){return s("span",{tabindex:"-1"})}render(){return s(e,{role:"list"},this.renderFocusTarget(),s("slot",null))}static get delegatesFocus(){return!0}get root(){return r(this)}};p.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}";export{p as gux_list}
@@ -1 +0,0 @@
1
- import{r as t,h as i,g as o}from"./p-39a696d6.js";import{c as e,o as r}from"./p-3f5341ea.js";import{O as n}from"./p-82eb8b00.js";import{a}from"./p-e2bea786.js";import{p as s}from"./p-c10e41a9.js";import{t as l}from"./p-b48c542d.js";import{G as p,a as u}from"./p-061af639.js";import{h as f,G as x,v as c,g as d}from"./p-c079a476.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const g=class{constructor(i){t(this,i),this.hasError=!1}onMutation(){this.hasError=f(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=f(this.root),l(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return i(u,{labelPosition:this.computedLabelPosition},i(p,{position:this.computedLabelPosition,required:this.required},i("slot",{name:"label",onSlotchange:()=>this.setLabel()})),i("div",{class:"gux-input-and-error-container"},i("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{name:"input",onSlotchange:()=>this.setInput()}))),i(x,{hasError:this.hasError},i("slot",{name:"error"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=this.root.querySelector('input[type="color"][slot="input"]'),s(this.input),this.disabled=e(this.input),this.required=this.input.required,this.disabledObserver=r(this.input,(t=>{this.disabled=t})),this.requiredObserver=a(this.input,(t=>{this.required=t})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=d(this.label,this.labelPosition)}get root(){return o(this)}};(function(t,i,o,e){var r,n=arguments.length,a=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,o):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,o,e);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(i,o,a):r(i,o))||a);n>3&&a&&Object.defineProperty(i,o,a)})([n({childList:!0,subtree:!0})],g.prototype,"onMutation",null),g.style=".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 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;line-height:16px;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-right: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:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom: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-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px;font-family:inherit;font-size:12px;line-height:1.6667;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-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:#ea0b0b}";export{g as gux_form_field_color}
@@ -1 +0,0 @@
1
- import{r as e,h as t,g as o}from"./p-39a696d6.js";import{c as i,o as r}from"./p-3f5341ea.js";import{O as n}from"./p-82eb8b00.js";import{a}from"./p-e2bea786.js";import{p as s}from"./p-c10e41a9.js";import{t as p}from"./p-b48c542d.js";import{G as l,a as u}from"./p-061af639.js";import{h as c,G as x,v as g,g as f}from"./p-c079a476.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const d=class{constructor(t){e(this,t),this.computedLabelPosition="above",this.hasError=!1}onMutation(){this.hasError=c(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=c(this.root),p(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return t(u,{labelPosition:this.computedLabelPosition},t(l,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()})),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},t("slot",{name:"input"}),t("gux-icon",{"icon-name":"ic-dropdown-arrow",decorative:!0}))),t(x,{hasError:this.hasError},t("slot",{name:"error"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),s(this.input),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=r(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=f(this.label,this.labelPosition)}get root(){return o(this)}};(function(e,t,o,i){var r,n=arguments.length,a=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(n<3?r(a):n>3?r(t,o,a):r(t,o))||a);n>3&&a&&Object.defineProperty(t,o,a)})([n({childList:!0,subtree:!0})],d.prototype,"onMutation",null),d.style=".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 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;line-height:16px;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-right: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:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom: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-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(select){flex:1 1 auto;align-self:auto;order:0;height:30px;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}::slotted(select)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .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.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:#2a60c8}.gux-input-and-error-container .gux-input .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-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;top:0;right:0;width:16px;height:16px;margin:8px;pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}";export{d as gux_form_field_select}
@@ -1 +0,0 @@
1
- import{r as e,h as o,g as n}from"./p-39a696d6.js";import{t as r}from"./p-b48c542d.js";const a=class{constructor(o){e(this,o)}componentWillLoad(){r(this.root)}renderOptionalSlot(e){if(function(e,o){return Boolean(e.querySelector(`[slot=${o}]`))}(this.root,e))switch(e){case"header":return o("header",{class:"gux-panel-header"},o("slot",{name:`${e}`}));case"body":return o("div",{class:"gux-panel-body"},o("slot",{name:`${e}`}));case"footer":return o("footer",{class:"gux-panel-footer"},o("slot",{name:`${e}`}))}}render(){return o("section",{class:"gux-panel-container"},this.renderOptionalSlot("header"),this.renderOptionalSlot("body"),this.renderOptionalSlot("footer"))}get root(){return n(this)}};a.style=".gux-panel-container{box-sizing:border-box;display:flex;flex-direction:column;height:100%;padding:8px 15px;color:#2e394c;background-color:#fdfdfd;border:1px solid #e2e6ee}.gux-panel-container .gux-panel-header,.gux-panel-container .gux-panel-body,.gux-panel-container .gux-panel-footer{box-sizing:border-box;width:100%}.gux-panel-container .gux-panel-header{flex-shrink:0;padding:0 8px;border-bottom:1px solid #e2e6ee}.gux-panel-container .gux-panel-body{flex-grow:1;padding:8px;overflow-y:auto}.gux-panel-container .gux-panel-footer{flex-shrink:0;padding:12px 8px;border-top:1px solid #e2e6ee}";export{a as gux_panel_frame_legacy}
@@ -1 +0,0 @@
1
- import{h as e}from"./p-39a696d6.js";import{r as o}from"./p-cbcbd1bb.js";import{l as r}from"./p-3184268e.js";import{s as i}from"./p-8fe7daff.js";const t=({hasError:o},r)=>e("div",{class:{"gux-form-field-error":!0,"gux-show":o}},e("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),e("div",{class:"gux-message"},r));function a(e){i(e,"",!0)}function n(e){return Boolean(e.querySelector('[slot="error"]'))}function s(e){var o;return null===(o=e.querySelector('[slot="error"]'))||void 0===o?void 0:o.textContent}function l(e){return Boolean(e.value)}function d(e,o){if(e)return["above","beside","screenreader"].includes(o)?o:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}function f(e,i){var t,a;if(function(e){return Boolean(e.querySelector('label[slot="label"]'))}(e)){const t=e.querySelector('label[slot="label"]'),a=Boolean(i.hasAttribute("id")),n=Boolean(t.hasAttribute("for"));if(!a&&n)r(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(a)if(a&&!n){const e=i.getAttribute("id");t.setAttribute("for",e)}else a&&n&&i.getAttribute("id")!==t.getAttribute("for")&&r(e.tagName.toLowerCase(),"The input id and label for attribute should match.");else{const e=o("gux-form-field-input");i.setAttribute("id",e),t.setAttribute("for",e)}}else r(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(n(e)){const r=e.querySelector('[slot="error"]'),a=o("gux-form-field-error"),n=(null===(t=i.getAttribute("aria-describedby"))||void 0===t?void 0:t.split(" ").filter((e=>!e.startsWith("gux-form-field-error"))))||[];r.setAttribute("id",a),n.push(a),n&&i.setAttribute("aria-describedby",n.join(" "))}else if(i.getAttribute("aria-describedby")){const e=(null===(a=i.getAttribute("aria-describedby"))||void 0===a?void 0:a.split(" ").filter((e=>!e.startsWith("gux-form-field-error"))))||[];i.setAttribute("aria-describedby",e.join(" "))}}function u(e,r,i){var t;const a=e.querySelector(`[slot=${i}]`),n=o(`gux-${i}`),s=(null===(t=r.getAttribute("aria-describedby"))||void 0===t?void 0:t.split(" ").filter((e=>!e.startsWith(`gux-${i}`))))||[];a.setAttribute("id",n),null==s||s.push(n),s&&r.setAttribute("aria-describedby",s.join(" "))}export{t as G,l as a,s as b,a as c,d as g,n as h,u as s,f as v}
@@ -1 +0,0 @@
1
- import{h as e,r as t,g as i}from"./p-39a696d6.js";import{b as r}from"./p-5fefa2ad.js";import{O as s}from"./p-82eb8b00.js";import{o,a}from"./p-e2bea786.js";import{t as l}from"./p-b48c542d.js";import{h as n,G as h,b as f,v as d,g as u}from"./p-c079a476.js";import"./p-8a133b9b.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const g=({labelPosition:t},i)=>e("fieldset",{class:{"gux-form-field-fieldset-container":!0,[`gux-${t}`]:!0}},i),p=({position:t,required:i},r)=>e("legend",{class:{"gux-form-field-legend-label":!0,[`gux-${t}`]:!0,"gux-required":i}},r),c={required:"Required"};const x=class{constructor(e){t(this,e),this.computedLabelPosition="above",this.hasError=!1}watchValue(e){const t=this.root.querySelector("gux-time-picker-beta");t&&(t.hasError=e)}onMutation(){this.hasError=n(this.root)}async componentWillLoad(){this.getI18nValue=await r(this.root,c),this.setInput(),this.setLabel(),this.hasError=n(this.root),l(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return e(g,{labelPosition:this.computedLabelPosition},e(p,{position:this.computedLabelPosition,required:this.required},e("slot",{name:"label",onSlotchange:()=>this.setLabel()}),this.renderScreenReaderText(this.getI18nValue("required"),this.required),this.renderScreenReaderText(f(this.root),this.hasError)),e("div",{class:"gux-input-and-error-container"},e("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},e("div",{class:{"gux-time-picker-container":!0,"gux-disabled":this.disabled}},e("slot",null))),e(h,{hasError:this.hasError},e("slot",{name:"error"}))))}renderScreenReaderText(t,i=!0){if(i)return e("gux-screen-reader-beta",null,t)}get variant(){return`timePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.timePickerElement=this.root.querySelector("gux-time-picker-beta"),this.disabled=this.timePickerElement.disabled,this.required=this.timePickerElement.required,this.disabledObserver=o(this.timePickerElement,(e=>{this.disabled=e})),this.requiredObserver=a(this.timePickerElement,(e=>{this.required=e})),d(this.root,this.timePickerElement)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=u(this.label,this.labelPosition)}get root(){return i(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,t,i,r){var s,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,r);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);o>3&&a&&Object.defineProperty(t,i,a)})([s({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{min-width:0;padding:0;margin:16px 0;border:none}.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;line-height:16px;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-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label{padding:0}.gux-form-field-legend-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-legend-label.gux-beside{position:relative;top:8px;float:left;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-legend-label.gux-above{margin-bottom:8px}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_time_picker}
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as o,g as i}from"./p-39a696d6.js";import{c as l,o as r}from"./p-3f5341ea.js";import{O as s}from"./p-82eb8b00.js";import{p as a}from"./p-c10e41a9.js";import{t as n}from"./p-b48c542d.js";import{h as d,G as c,v as p}from"./p-c079a476.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const u=class{constructor(t){e(this,t),this.hasError=!1}onMutation(){this.hasError=d(this.root)}componentWillLoad(){this.setInput(),this.hasError=d(this.root),n(this.root)}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return t(o,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("div",{class:"gux-form-field-container"},t("div",{class:"gux-input-label"},t("div",{class:"gux-input"},t("slot",{name:"input",onSlotchange:()=>this.setInput()})),t("div",{class:"gux-label"},t("slot",{name:"label"}),t(c,{hasError:this.hasError},t("slot",{name:"error"}))))))}setInput(){this.input=this.root.querySelector('input[type="checkbox"][slot="input"]'),a(this.input),this.disabled=l(this.input),this.disabledObserver=r(this.input,(e=>{this.disabled=e})),p(this.root,this.input)}get root(){return i(this)}};(function(e,t,o,i){var l,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(l=e[a])&&(s=(r<3?l(s):r>3?l(t,o,s):l(t,o))||s);r>3&&s&&Object.defineProperty(t,o,s)})([s({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;line-height:16px;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-right: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 viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' 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-label{display:flex;flex-direction:row}.gux-input-label .gux-label{display:flex;flex-direction:column}::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 viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' 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 viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:checked)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.69231 0H12.3077C13.287 0 14.2261 0.38901 14.9185 1.08145C15.611 1.77389 16 2.71305 16 3.69231V12.3077C16 13.287 15.611 14.2261 14.9185 14.9185C14.2261 15.611 13.287 16 12.3077 16H3.69231C2.71305 16 1.77389 15.611 1.08145 14.9185C0.38901 14.2261 0 13.287 0 12.3077V3.69231C0 2.71305 0.38901 1.77389 1.08145 1.08145C1.77389 0.38901 2.71305 0 3.69231 0ZM5.62483 11.5936C5.79089 11.7597 6.00122 11.8372 6.21155 11.8372C6.43295 11.8372 6.64329 11.7486 6.79827 11.5936L13.2854 5.10652C13.6064 4.78549 13.6064 4.25412 13.2854 3.93308C12.9643 3.61205 12.433 3.61205 12.1119 3.93308L6.21155 9.83348L3.87575 7.4866C3.55472 7.16557 3.02335 7.16557 2.70231 7.4866C2.38128 7.80764 2.38128 8.339 2.70231 8.66004L5.62483 11.5936Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:indeterminate)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.69231 1.84615H12.3077C13.3273 1.84615 14.1538 2.67271 14.1538 3.69231V12.3077C14.1538 13.3273 13.3273 14.1538 12.3077 14.1538H3.69231C2.67271 14.1538 1.84615 13.3273 1.84615 12.3077V3.69231C1.84615 2.67271 2.67271 1.84615 3.69231 1.84615ZM0 3.69231C0 1.6531 1.6531 0 3.69231 0H12.3077C14.3469 0 16 1.6531 16 3.69231V12.3077C16 14.3469 14.3469 16 12.3077 16H3.69231C1.6531 16 0 14.3469 0 12.3077V3.69231ZM4.00028 9.2308H12.0003C12.5049 9.2308 12.9234 8.81234 12.9234 8.30773C12.9234 7.80311 12.5049 7.38465 12.0003 7.38465H4.00028C3.49567 7.38465 3.07721 7.80311 3.07721 8.30773C3.07721 8.81234 3.49567 9.2308 4.00028 9.2308Z' 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}";export{u as gux_form_field_checkbox}