genesys-spark-components 3.33.2 → 3.34.1

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 (324) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cjs/{DateTimeFormatter-74125e8f.js → DateTimeFormatter-642387ff.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 +2 -5
  6. package/dist/cjs/gux-action-button.cjs.entry.js +2 -5
  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 +2 -2
  10. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-badge-beta.cjs.entry.js +2 -2
  13. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -4
  16. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -4
  17. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +2 -2
  18. package/dist/cjs/gux-button.cjs.entry.js +2 -5
  19. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-card-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-content-search.cjs.entry.js +2 -2
  28. package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-date-beta.cjs.entry.js +3 -3
  30. package/dist/cjs/gux-date-time-beta.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-disclosure-button.cjs.entry.js +2 -2
  33. package/dist/cjs/gux-dismiss-button.cjs.entry.js +2 -2
  34. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +2 -2
  36. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-dropdown_3.cjs.entry.js +2 -2
  38. package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  44. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-number.cjs.entry.js +2 -2
  46. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +2 -2
  53. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-input-checkbox_7.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-input-search.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-input-text-like.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-listbox-multi.cjs.entry.js +2 -2
  60. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +2 -2
  64. package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-pagination-buttons-beta_3.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +2 -2
  70. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-popover.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-row-select.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-sort-control.cjs.entry.js +2 -2
  83. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-tab-advanced.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-tab-list.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-table-beta.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +2 -2
  91. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-tag-beta.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-time-beta.cjs.entry.js +3 -3
  96. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-toggle.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-visualization-beta.cjs.entry.js +2 -2
  100. package/dist/cjs/{index-d4f3e61e.js → index-6d7040d6.js} +11 -4
  101. package/dist/cjs/{usage-tracking-5b25a060.js → usage-tracking-506ebe34.js} +12 -12
  102. package/dist/collection/components/beta/gux-button-slot/gux-button-slot.css +22 -0
  103. package/dist/collection/components/beta/gux-button-slot/gux-button-slot.js +1 -1
  104. package/dist/collection/components/legacy/gux-action-button-legacy/gux-action-button.js +4 -7
  105. package/dist/collection/components/legacy/gux-action-button-legacy/gux-button.types.js +1 -0
  106. package/dist/collection/components/legacy/gux-button-multi-legacy/gux-button-multi.js +3 -6
  107. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +2 -5
  108. package/dist/collection/components/stable/gux-button/gux-button.css +14 -0
  109. package/dist/collection/components/stable/gux-button/gux-button.js +2 -5
  110. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +2 -5
  111. package/dist/deploy-info.json +3 -3
  112. package/dist/esm/{DateTimeFormatter-0b1795c4.js → DateTimeFormatter-bac9ad67.js} +1 -1
  113. package/dist/esm/gux-accordion-legacy.entry.js +1 -1
  114. package/dist/esm/gux-accordion.entry.js +1 -1
  115. package/dist/esm/gux-action-button-legacy.entry.js +2 -5
  116. package/dist/esm/gux-action-button.entry.js +2 -5
  117. package/dist/esm/gux-action-list-legacy.entry.js +1 -1
  118. package/dist/esm/gux-action-toast.entry.js +1 -1
  119. package/dist/esm/gux-advanced-dropdown.entry.js +2 -2
  120. package/dist/esm/gux-all-row-select.entry.js +1 -1
  121. package/dist/esm/gux-announce-beta.entry.js +1 -1
  122. package/dist/esm/gux-badge-beta.entry.js +2 -2
  123. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  124. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  125. package/dist/esm/gux-button-multi-legacy.entry.js +1 -4
  126. package/dist/esm/gux-button-multi.entry.js +1 -4
  127. package/dist/esm/gux-button-slot-beta.entry.js +2 -2
  128. package/dist/esm/gux-button.entry.js +2 -5
  129. package/dist/esm/gux-calendar.entry.js +2 -2
  130. package/dist/esm/gux-card-beta.entry.js +1 -1
  131. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  132. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  133. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  134. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  135. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
  136. package/dist/esm/gux-command-palette-legacy.entry.js +2 -2
  137. package/dist/esm/gux-content-search.entry.js +2 -2
  138. package/dist/esm/gux-copy-to-clipboard-beta.entry.js +2 -2
  139. package/dist/esm/gux-date-beta.entry.js +3 -3
  140. package/dist/esm/gux-date-time-beta.entry.js +3 -3
  141. package/dist/esm/gux-datepicker.entry.js +2 -2
  142. package/dist/esm/gux-disclosure-button.entry.js +2 -2
  143. package/dist/esm/gux-dismiss-button.entry.js +2 -2
  144. package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
  145. package/dist/esm/gux-dropdown-multi-beta.entry.js +2 -2
  146. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  147. package/dist/esm/gux-dropdown_3.entry.js +2 -2
  148. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  149. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  150. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  151. package/dist/esm/gux-form-field-color.entry.js +1 -1
  152. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  153. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  154. package/dist/esm/gux-form-field-legacy.entry.js +1 -1
  155. package/dist/esm/gux-form-field-number.entry.js +2 -2
  156. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  157. package/dist/esm/gux-form-field-range.entry.js +1 -1
  158. package/dist/esm/gux-form-field-search.entry.js +1 -1
  159. package/dist/esm/gux-form-field-select.entry.js +1 -1
  160. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  161. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  162. package/dist/esm/gux-form-field-time-picker.entry.js +2 -2
  163. package/dist/esm/gux-icon.entry.js +1 -1
  164. package/dist/esm/gux-input-checkbox_7.entry.js +1 -1
  165. package/dist/esm/gux-input-search.entry.js +1 -1
  166. package/dist/esm/gux-input-text-like.entry.js +1 -1
  167. package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
  168. package/dist/esm/gux-list.entry.js +1 -1
  169. package/dist/esm/gux-listbox-multi.entry.js +2 -2
  170. package/dist/esm/gux-loading-message-beta.entry.js +1 -1
  171. package/dist/esm/gux-modal.entry.js +1 -1
  172. package/dist/esm/gux-month-calendar.entry.js +1 -1
  173. package/dist/esm/gux-month-picker-beta.entry.js +2 -2
  174. package/dist/esm/gux-notification-toast.entry.js +1 -1
  175. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  176. package/dist/esm/gux-pagination-beta.entry.js +1 -1
  177. package/dist/esm/gux-pagination-buttons-beta_3.entry.js +1 -1
  178. package/dist/esm/gux-pagination-buttons_3.entry.js +1 -1
  179. package/dist/esm/gux-pagination-cursor.entry.js +2 -2
  180. package/dist/esm/gux-pagination.entry.js +1 -1
  181. package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
  182. package/dist/esm/gux-popover-list.entry.js +1 -1
  183. package/dist/esm/gux-popover.entry.js +1 -1
  184. package/dist/esm/gux-radial-loading.entry.js +2 -2
  185. package/dist/esm/gux-radial-progress.entry.js +1 -1
  186. package/dist/esm/gux-rating.entry.js +1 -1
  187. package/dist/esm/gux-row-select.entry.js +1 -1
  188. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  189. package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
  190. package/dist/esm/gux-simple-toast.entry.js +1 -1
  191. package/dist/esm/gux-skip-navigation-list-beta.entry.js +2 -2
  192. package/dist/esm/gux-sort-control.entry.js +2 -2
  193. package/dist/esm/gux-switch.entry.js +1 -1
  194. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  195. package/dist/esm/gux-tab-advanced.entry.js +1 -1
  196. package/dist/esm/gux-tab-list.entry.js +1 -1
  197. package/dist/esm/gux-table-beta.entry.js +2 -2
  198. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  199. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  200. package/dist/esm/gux-tabs-legacy.entry.js +2 -2
  201. package/dist/esm/gux-tabs.entry.js +1 -1
  202. package/dist/esm/gux-tag-beta.entry.js +2 -2
  203. package/dist/esm/gux-text-highlight.entry.js +1 -1
  204. package/dist/esm/gux-text-label-legacy.entry.js +1 -1
  205. package/dist/esm/gux-time-beta.entry.js +3 -3
  206. package/dist/esm/gux-time-picker-beta.entry.js +2 -2
  207. package/dist/esm/gux-toggle.entry.js +2 -2
  208. package/dist/esm/gux-tooltip.entry.js +1 -1
  209. package/dist/esm/gux-visualization-beta.entry.js +2 -2
  210. package/dist/esm/{index-5b4bc0a0.js → index-3e21de1b.js} +11 -4
  211. package/dist/esm/{usage-tracking-96cf9fb6.js → usage-tracking-d89a8c33.js} +12 -12
  212. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  213. package/dist/genesys-webcomponents/{p-5bb6e646.entry.js → p-00b31fd3.entry.js} +1 -1
  214. package/dist/genesys-webcomponents/{p-cc28aa6f.entry.js → p-00b86f88.entry.js} +1 -1
  215. package/dist/genesys-webcomponents/{p-3b8e852b.entry.js → p-00d269e5.entry.js} +1 -1
  216. package/dist/genesys-webcomponents/{p-ac02d10c.entry.js → p-02219781.entry.js} +1 -1
  217. package/dist/genesys-webcomponents/{p-395f5122.entry.js → p-032378a2.entry.js} +1 -1
  218. package/dist/genesys-webcomponents/{p-0d6caada.entry.js → p-04a59794.entry.js} +1 -1
  219. package/dist/genesys-webcomponents/{p-e2b08f38.entry.js → p-04a6bd62.entry.js} +1 -1
  220. package/dist/genesys-webcomponents/{p-e1086017.entry.js → p-05b0b405.entry.js} +1 -1
  221. package/dist/genesys-webcomponents/{p-d5ab7a9f.entry.js → p-08c15b5b.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-f8cfe0a2.entry.js → p-1098cdf9.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/{p-c97bef08.entry.js → p-12f50117.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-c931f9e0.entry.js → p-14076734.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-a50cca9e.entry.js → p-163a7345.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-8019b45a.entry.js → p-181b1765.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-d9b7f0e8.entry.js → p-18ee3a54.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-44e0c404.entry.js → p-1ae5e897.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-ec833afa.entry.js → p-1e2169ea.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-eee23618.entry.js → p-1ea4269e.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/{p-02773b58.entry.js → p-1f278d98.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/{p-88cea480.entry.js → p-1fbb72a2.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/{p-e692dc90.entry.js → p-203b8539.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-2a5f385b.entry.js → p-21dd2524.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-f4df3237.entry.js → p-2a8e7714.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-2ba86150.entry.js → p-2cdf181b.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-13a8888b.entry.js → p-2d5d4b67.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-17fbe438.entry.js → p-331d06fa.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-de41e7a7.entry.js → p-374426d7.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/{p-6de6f032.entry.js → p-38acefb0.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-b243336c.entry.js → p-39304370.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-9736480c.entry.js → p-4cd5a46e.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-f134c82c.entry.js → p-50e84a3c.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/p-5394e07c.entry.js +1 -0
  245. package/dist/genesys-webcomponents/{p-fff2677f.entry.js → p-548f594a.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-612f8271.entry.js → p-54d65cda.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-9c97f897.entry.js → p-585b35f9.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-b333703d.entry.js → p-5df781f3.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-a669ed1d.entry.js → p-665d3fad.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-0e1a0548.entry.js → p-6795810e.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-fb3d8c96.entry.js → p-696ecc69.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-9ebea53d.entry.js → p-6d06856f.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-1227635d.entry.js → p-6e3596bd.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-856ce017.entry.js → p-6ea228eb.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/{p-89c58c3a.entry.js → p-6f55fcd5.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-ffb7c669.entry.js → p-729d140d.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-0eabe6df.entry.js → p-74dfae2c.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-9fcc8cf4.entry.js → p-78b4dee7.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-5fefa2ad.js → p-7d64c6a5.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-20832abb.entry.js → p-7f765778.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-f937b98e.entry.js → p-7f9d0045.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-ce3f7414.entry.js → p-814fb64c.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-8311376f.entry.js → p-825a5714.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-5a589abb.entry.js → p-84745afa.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-c3d0ea87.entry.js → p-8616db32.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-3f84f872.entry.js → p-8d5d4d0b.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-99950260.entry.js → p-912bb4de.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-74bd3a35.entry.js → p-912da81b.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-44791beb.entry.js → p-99005fd5.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-8a2ce0cb.entry.js → p-9c226ba2.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-b0d0ceac.entry.js → p-9fb9f2df.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-ccfd51a6.entry.js → p-a1c82fa2.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-5c55d09e.entry.js → p-a2ae6a45.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-48c2c711.entry.js → p-a2fd4539.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-e74dcef4.entry.js → p-a6ca0137.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-843cdc1b.entry.js → p-a8e9774f.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-edaeab3e.entry.js → p-aa489406.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-bc63cf15.entry.js → p-b03760e1.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-ea529585.js → p-b842f374.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-3ed27f03.entry.js → p-c1f98218.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-7a82e301.entry.js → p-c853e834.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-926ea9d3.entry.js → p-c9c5e768.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-97f0ddb0.entry.js → p-cb76a373.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-18f9f4f3.entry.js → p-cb907c80.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-b2e182ae.entry.js → p-cbb129a2.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-9a8a23c9.entry.js → p-cf5313ef.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-126c5108.entry.js → p-d21007e5.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-e67877d8.entry.js → p-d239237c.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-48a73754.entry.js → p-d3044f49.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-aeb2cfd1.entry.js → p-d3a3494e.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-3326c18c.entry.js → p-d56eac15.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-1f01befe.entry.js → p-d8bfd5d7.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-211ed72d.js → p-d8ec0443.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-2be1afab.entry.js → p-db1c355f.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-612f8f37.entry.js → p-dc739594.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-b51e5e9c.entry.js → p-e00d6093.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-dd9dd851.entry.js → p-e0608928.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-81cf8a38.entry.js → p-e2eb33d5.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-981f3f16.entry.js → p-e31a111c.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-fb533904.entry.js → p-eb0a114c.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-273d76ee.entry.js → p-ecc8de53.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-0ed87821.entry.js → p-edc716d1.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/p-efffd596.entry.js +1 -0
  304. package/dist/genesys-webcomponents/{p-01342b32.entry.js → p-f13af9a1.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-91cfe312.entry.js → p-f26f38af.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-8e1876b4.entry.js → p-f510cd24.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-f3806e02.entry.js → p-f8cbeb87.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-fff62d25.entry.js → p-f95577f4.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-edd61c93.entry.js → p-fa7e4154.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-04a26a61.entry.js → p-fb01e3be.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-b5ff04f2.entry.js → p-fd17ea1a.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-05396620.entry.js → p-fd3465d7.entry.js} +1 -1
  313. package/dist/stencil-wrapper.js +1 -1
  314. package/dist/types/components/legacy/gux-action-button-legacy/gux-action-button.d.ts +1 -4
  315. package/dist/types/components/legacy/gux-action-button-legacy/gux-button.types.d.ts +2 -0
  316. package/dist/types/components/legacy/gux-button-multi-legacy/gux-button-multi.d.ts +1 -4
  317. package/dist/types/components/stable/gux-action-button/gux-action-button.d.ts +0 -3
  318. package/dist/types/components/stable/gux-button/gux-button.d.ts +0 -3
  319. package/dist/types/components/stable/gux-button/gux-button.types.d.ts +1 -1
  320. package/dist/types/components/stable/gux-button-multi/gux-button-multi.d.ts +0 -3
  321. package/dist/types/components.d.ts +7 -36
  322. package/package.json +12 -12
  323. package/dist/genesys-webcomponents/p-0cc3f469.entry.js +0 -1
  324. package/dist/genesys-webcomponents/p-692c2a9c.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as o,h as t,g as r}from"./p-39a696d6.js";import{t as e}from"./p-ea529585.js";const n=class{constructor(t){o(this,t),this.type="button",this.disabled=!1,this.accent="secondary"}componentWillLoad(){e(this.root,{variant:this.accent}),this.makeSlotContentDisableable()}render(){return t("button",{type:this.type,title:this.guxTitle,disabled:this.disabled,class:`gux-${this.accent}`},t("slot",null))}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>{this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())})),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>{this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}))}))}static get delegatesFocus(){return!0}get root(){return r(this)}};n.style=":host{display:inline-block;min-width:32px;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){width:16px;height:16px}::slotted(*){padding-left:4px;vertical-align:middle}::slotted(*:first-child){padding:0}button{width:100%;height:32px;padding:0 16px;overflow:hidden;color:#2e394c;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:#e2e6ee;border:none;border-radius:4px;font-size:12px;line-height:20px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}button[disabled]{color:rgba(46, 57, 76, 0.5);cursor:default;background-color:rgba(226, 230, 238, 0.5)}button:hover:enabled{background-color:#d7dce5}button:active:enabled{background-color:#c8cfda}button:focus:enabled{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}button.gux-tertiary{color:#2a60c8;background-color:#fdfdfd;border:1px solid #2a60c8}button.gux-tertiary[disabled]{color:rgba(42, 96, 200, 0.5);background-color:rgba(253, 253, 253, 0.5);border-color:rgba(42, 96, 200, 0.5)}button.gux-tertiary:hover:enabled{color:#fdfdfd;background-color:#2754ac}button.gux-tertiary:active:enabled{color:#fdfdfd;background-color:#23478f}button.gux-ghost{color:#2a60c8;background:none;border:none}button.gux-ghost[disabled]{color:rgba(42, 96, 200, 0.5)}button.gux-ghost:hover:enabled{color:#2754ac;background-color:rgba(222, 234, 255, 0.33)}button.gux-ghost:active:enabled{color:#2754ac;background-color:#deeaff}button.gux-primary{color:#fdfdfd;background-color:#2a60c8}button.gux-primary[disabled]{color:rgba(253, 253, 253, 0.5);background-color:rgba(42, 96, 200, 0.5)}button.gux-primary:hover:enabled{background-color:#2754ac}button.gux-primary:active:enabled{background-color:#23478f}";export{n as gux_button}
1
+ import{r as o,h as t,g as r}from"./p-39a696d6.js";import{t as e}from"./p-b842f374.js";const n=class{constructor(t){o(this,t),this.type="button",this.disabled=!1,this.accent="secondary"}componentWillLoad(){e(this.root,{variant:this.accent}),this.makeSlotContentDisableable()}render(){return t("button",{type:this.type,title:this.guxTitle,disabled:this.disabled,class:`gux-${this.accent}`},t("slot",null))}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>{this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())})),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>{this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}))}))}static get delegatesFocus(){return!0}get root(){return r(this)}};n.style=":host{display:inline-block;min-width:32px;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){width:16px;height:16px}::slotted(*){padding-left:4px;vertical-align:middle}::slotted(*:first-child){padding:0}button{width:100%;height:32px;padding:0 16px;overflow:hidden;color:#2e394c;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:#e2e6ee;border:none;border-radius:4px;font-size:12px;line-height:20px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}button[disabled]{color:rgba(46, 57, 76, 0.5);cursor:default;background-color:rgba(226, 230, 238, 0.5)}button:hover:enabled{background-color:#d7dce5}button:active:enabled{background-color:#c8cfda}button:focus:enabled{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}button.gux-tertiary{color:#2a60c8;background-color:#fdfdfd;border:1px solid #2a60c8}button.gux-tertiary[disabled]{color:rgba(42, 96, 200, 0.5);background-color:rgba(253, 253, 253, 0.5);border-color:rgba(42, 96, 200, 0.5)}button.gux-tertiary:hover:enabled{color:#fdfdfd;background-color:#2754ac}button.gux-tertiary:active:enabled{color:#fdfdfd;background-color:#23478f}button.gux-ghost{color:#2a60c8;background:none;border:none}button.gux-ghost[disabled]{color:rgba(42, 96, 200, 0.5)}button.gux-ghost:hover:enabled{color:#2754ac;background-color:rgba(222, 234, 255, 0.33)}button.gux-ghost:active:enabled{color:#2754ac;background-color:#deeaff}button.gux-primary{color:#fdfdfd;background-color:#2a60c8}button.gux-primary[disabled]{color:rgba(253, 253, 253, 0.5);background-color:rgba(42, 96, 200, 0.5)}button.gux-primary:hover:enabled{background-color:#2754ac}button.gux-primary:active:enabled{background-color:#23478f}button.gux-danger{color:#fdfdfd;background-color:#ea0b0b}button.gux-danger[disabled]{color:rgba(253, 253, 253, 0.5);background-color:rgba(234, 11, 11, 0.5)}button.gux-danger:hover:enabled{background-color:#cc0a0a}button.gux-danger:active:enabled{background-color:#ad0808}";export{n as gux_button}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,H as r,g as o}from"./p-39a696d6.js";import{t as i}from"./p-b842f374.js";import{D as a}from"./p-d8ec0443.js";import{g as e}from"./p-7d64c6a5.js";import"./p-8a133b9b.js";const p=class{constructor(s){t(this,s),this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){i(this.root),this.formatter=new a(e(this.root))}render(){return s(r,null,this.formatter.formatDateTime(new Date(this.datetime),this.format))}get root(){return o(this)}};export{p as gux_date_time_beta}
@@ -1 +1 @@
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 l}from"./p-ea529585.js";const c=["gux-list-item"],p=class{constructor(s){t(this,s)}componentWillLoad(){l(this.root)}onKeyDown(t){switch(t.key){case"ArrowUp":t.preventDefault(),n(this.root,c);break;case"Home":t.preventDefault(),i(this.root,c);break;case"ArrowDown":t.preventDefault(),o(this.root,c);break;case"End":t.preventDefault(),a(this.root,c)}}async guxFocusFirstItem(){i(this.root,c)}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
+ 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 l}from"./p-b842f374.js";const c=["gux-list-item"],p=class{constructor(s){t(this,s)}componentWillLoad(){l(this.root)}onKeyDown(t){switch(t.key){case"ArrowUp":t.preventDefault(),n(this.root,c);break;case"Home":t.preventDefault(),i(this.root,c);break;case"ArrowDown":t.preventDefault(),o(this.root,c);break;case"End":t.preventDefault(),a(this.root,c)}}async guxFocusFirstItem(){i(this.root,c)}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 +1 @@
1
- import{r as t,c as n,h as i,g as a}from"./p-39a696d6.js";import{b as e}from"./p-5fefa2ad.js";import"./p-8a133b9b.js";const o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"},s=class{constructor(i){t(this,i),this.internalcurrentpagechange=n(this,"internalcurrentpagechange",3),this.layout="advanced"}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,n){return class{static getPageList(t,n){if(n<=10)return[...Array(n).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}}));if(t<=5)return[...[...Array(6).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}];if(t>n-5){const i=[...Array(6).keys()].map((i=>{const a=i+n-5;return{pageNumber:a,display:String(a),current:a===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:n-6,display:"...",current:!1},...i]}const i=[...Array(5).keys()].map((n=>{const i=n+t-2;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...i,{pageNumber:t+3,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}]}}.getPageList(t,n).reduce(((t,n)=>t.concat(i("button",n.current?{class:"gux-pagination-buttons-list-current"}:{class:"gux-pagination-buttons-list-target",onClick:()=>this.handleClickPage(n.pageNumber)},n.display))),[])}getSmallPagePicker(){return i("div",{class:"gux-pagination-buttons-spacer"})}getFullPagePicker(){return i("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getPagePicker(t){return"simple"===t?this.getSmallPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await e(this.root,o)}render(){return i("div",{class:`gux-pagination-buttons-container gux-${this.layout}`},i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-left"}))),i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})))),this.getPagePicker(this.layout),i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-right"})))))}get root(){return a(this)}};s.style="gux-pagination-buttons-beta{color:#2e394c}gux-pagination-buttons-beta .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-end}gux-pagination-buttons-beta .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-group gux-button-slot-beta:not(:first-of-type){margin-left:8px}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px;margin:0 8px}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:inherit;text-align:center}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current,gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{height:32px;padding:0 8px;margin:0;background:inherit;border:none}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current:focus-visible,gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:focus-visible{border:3px solid #aac9ff;border-radius:5px;outline:none}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{font-weight:600}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{color:#2a60c8;cursor:pointer}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:8px}";const r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},g=class{constructor(n){t(this,n),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await e(this.root,r)}getPaginationItemCountsRange(){if(this.totalItems)return i("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return i("div",{class:"gux-pagination-item-counts-container"},i("span",{class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),this.getPaginationItemCountsRange())}get root(){return a(this)}};g.style="gux-pagination-item-counts-beta{color:#2e394c}gux-pagination-item-counts-beta .gux-pagination-item-counts-container{white-space:nowrap}gux-pagination-item-counts-beta .gux-pagination-item-counts-container .gux-pagination-item-counts-range{font-weight:bold}";const u={perPage:"per page",itemsPerPage:"Items per page"},p=class{constructor(i){t(this,i),this.internalitemsperpagechange=n(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const n=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(n)}async componentWillLoad(){this.i18n=await e(this.root,u)}getDropdown(){return i("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`},i("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},i("gux-option",{value:"25"},"25"),i("gux-option",{value:"50"},"50"),i("gux-option",{value:"75"},"75"),i("gux-option",{value:"100"},"100")))}render(){return i("div",{class:"gux-pagination-items-per-page-container"},i("div",{class:"gux-pagination-items-per-page-picker"},this.getDropdown()),i("div",null,this.i18n("perPage")))}get root(){return a(this)}};p.style="gux-pagination-items-per-page-beta{color:#2e394c}gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker{margin:0 8px 0 16px}gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{bottom:100%;display:flex;flex-direction:column-reverse}";export{s as gux_pagination_buttons_beta,g as gux_pagination_item_counts_beta,p as gux_pagination_items_per_page_beta}
1
+ import{r as t,c as n,h as i,g as a}from"./p-39a696d6.js";import{b as e}from"./p-7d64c6a5.js";import"./p-8a133b9b.js";const o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"},s=class{constructor(i){t(this,i),this.internalcurrentpagechange=n(this,"internalcurrentpagechange",3),this.layout="advanced"}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,n){return class{static getPageList(t,n){if(n<=10)return[...Array(n).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}}));if(t<=5)return[...[...Array(6).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}];if(t>n-5){const i=[...Array(6).keys()].map((i=>{const a=i+n-5;return{pageNumber:a,display:String(a),current:a===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:n-6,display:"...",current:!1},...i]}const i=[...Array(5).keys()].map((n=>{const i=n+t-2;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...i,{pageNumber:t+3,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}]}}.getPageList(t,n).reduce(((t,n)=>t.concat(i("button",n.current?{class:"gux-pagination-buttons-list-current"}:{class:"gux-pagination-buttons-list-target",onClick:()=>this.handleClickPage(n.pageNumber)},n.display))),[])}getSmallPagePicker(){return i("div",{class:"gux-pagination-buttons-spacer"})}getFullPagePicker(){return i("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getPagePicker(t){return"simple"===t?this.getSmallPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await e(this.root,o)}render(){return i("div",{class:`gux-pagination-buttons-container gux-${this.layout}`},i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-left"}))),i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})))),this.getPagePicker(this.layout),i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-right"})))))}get root(){return a(this)}};s.style="gux-pagination-buttons-beta{color:#2e394c}gux-pagination-buttons-beta .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-end}gux-pagination-buttons-beta .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-group gux-button-slot-beta:not(:first-of-type){margin-left:8px}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px;margin:0 8px}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:inherit;text-align:center}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current,gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{height:32px;padding:0 8px;margin:0;background:inherit;border:none}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current:focus-visible,gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:focus-visible{border:3px solid #aac9ff;border-radius:5px;outline:none}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{font-weight:600}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{color:#2a60c8;cursor:pointer}gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:8px}";const r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},g=class{constructor(n){t(this,n),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await e(this.root,r)}getPaginationItemCountsRange(){if(this.totalItems)return i("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return i("div",{class:"gux-pagination-item-counts-container"},i("span",{class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),this.getPaginationItemCountsRange())}get root(){return a(this)}};g.style="gux-pagination-item-counts-beta{color:#2e394c}gux-pagination-item-counts-beta .gux-pagination-item-counts-container{white-space:nowrap}gux-pagination-item-counts-beta .gux-pagination-item-counts-container .gux-pagination-item-counts-range{font-weight:bold}";const u={perPage:"per page",itemsPerPage:"Items per page"},p=class{constructor(i){t(this,i),this.internalitemsperpagechange=n(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const n=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(n)}async componentWillLoad(){this.i18n=await e(this.root,u)}getDropdown(){return i("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`},i("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},i("gux-option",{value:"25"},"25"),i("gux-option",{value:"50"},"50"),i("gux-option",{value:"75"},"75"),i("gux-option",{value:"100"},"100")))}render(){return i("div",{class:"gux-pagination-items-per-page-container"},i("div",{class:"gux-pagination-items-per-page-picker"},this.getDropdown()),i("div",null,this.i18n("perPage")))}get root(){return a(this)}};p.style="gux-pagination-items-per-page-beta{color:#2e394c}gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker{margin:0 8px 0 16px}gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{bottom:100%;display:flex;flex-direction:column-reverse}";export{s as gux_pagination_buttons_beta,g as gux_pagination_item_counts_beta,p as gux_pagination_items_per_page_beta}
@@ -1 +1 @@
1
- import{r as t,c as s,h as e,g as i}from"./p-39a696d6.js";import{b as n}from"./p-5fefa2ad.js";import{t as o}from"./p-ea529585.js";import{g as r}from"./p-8a133b9b.js";import{o as a}from"./p-93904222.js";import{t as c}from"./p-e310debb.js";const h=class{constructor(e){t(this,e),this.guxsortchanged=s(this,"guxsortchanged",7),this.includeUnsorted=!1,this.active=!1,this.sort="none",this.isLeftAlignIcon=!1}async componentWillLoad(){o(this.root),this.i18n=await n(this.root,c,"gux-table"),this.tableHeader=r("th",this.root),this.thObserver=a(this.tableHeader,(()=>{this.setState()}),{attributes:!0,childList:!1,subtree:!1}),this.setState()}disconnectedCallback(){this.thObserver.disconnect()}onClick(){this.guxsortchanged.emit({columnName:this.tableHeader.dataset.columnName,sortDirection:this.getNextSort(this.sort)})}setState(){this.headerContent=this.tableHeader.textContent,this.isLeftAlignIcon=this.tableHeader.hasAttribute("data-cell-numeric")||this.tableHeader.hasAttribute("data-cell-action");const t=this.tableHeader.getAttribute("aria-sort");switch(t){case"ascending":case"descending":this.active=!0,this.sort=t;break;default:this.active=!1,this.sort="none"}}getIconName(t){switch(t){case"descending":return"arrow-solid-up";case"ascending":default:return"arrow-solid-down"}}getNextSort(t){switch(t){case"none":return"ascending";case"ascending":return"descending";case"descending":default:return this.includeUnsorted?"none":"ascending"}}getSRText(t){switch(t){case"ascending":return this.i18n("ascendingColumnSort",{headerContent:this.headerContent});case"descending":return this.i18n(this.includeUnsorted?"descendingColumnSortIncludeUnsorted":"descendingColumnSort",{headerContent:this.headerContent});default:return this.i18n("noColumnSort",{headerContent:this.headerContent})}}render(){return e("div",{class:"gux-container"},e("button",{class:{"gux-sort-button":!0,"gux-active":this.active},type:"button",onClick:()=>this.onClick()},e("span",{class:"gux-sr-only"},this.getSRText(this.sort)),e("gux-icon",{class:{"gux-sort-icon":!0,"gux-left":this.isLeftAlignIcon},"icon-name":this.getIconName(this.sort),decorative:!0})),e("div",{class:"gux-resize-spacer"}))}static get delegatesFocus(){return!0}get root(){return i(this)}};h.style=".gux-container{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:flex-start;align-items:center;justify-content:flex-start;border-top:3px solid transparent;border-bottom:3px solid transparent}.gux-container:focus-within{border-bottom-color:#75a8ff}.gux-container .gux-sort-button{all:unset;flex:1 1 auto;align-self:stretch;order:0;cursor:pointer}.gux-container .gux-sort-button .gux-sort-icon{float:right;width:16px;height:16px;margin:8px;color:#d7dce5}.gux-container .gux-sort-button .gux-sort-icon.gux-left{float:left}.gux-container .gux-sort-button.gux-active .gux-sort-icon{color:#2e394c}.gux-container .gux-resize-spacer{flex:0 1 auto;align-self:stretch;order:0;width:2px}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{h as gux_sort_control}
1
+ import{r as t,c as s,h as e,g as i}from"./p-39a696d6.js";import{b as n}from"./p-7d64c6a5.js";import{t as o}from"./p-b842f374.js";import{g as r}from"./p-8a133b9b.js";import{o as a}from"./p-93904222.js";import{t as c}from"./p-e310debb.js";const h=class{constructor(e){t(this,e),this.guxsortchanged=s(this,"guxsortchanged",7),this.includeUnsorted=!1,this.active=!1,this.sort="none",this.isLeftAlignIcon=!1}async componentWillLoad(){o(this.root),this.i18n=await n(this.root,c,"gux-table"),this.tableHeader=r("th",this.root),this.thObserver=a(this.tableHeader,(()=>{this.setState()}),{attributes:!0,childList:!1,subtree:!1}),this.setState()}disconnectedCallback(){this.thObserver.disconnect()}onClick(){this.guxsortchanged.emit({columnName:this.tableHeader.dataset.columnName,sortDirection:this.getNextSort(this.sort)})}setState(){this.headerContent=this.tableHeader.textContent,this.isLeftAlignIcon=this.tableHeader.hasAttribute("data-cell-numeric")||this.tableHeader.hasAttribute("data-cell-action");const t=this.tableHeader.getAttribute("aria-sort");switch(t){case"ascending":case"descending":this.active=!0,this.sort=t;break;default:this.active=!1,this.sort="none"}}getIconName(t){switch(t){case"descending":return"arrow-solid-up";case"ascending":default:return"arrow-solid-down"}}getNextSort(t){switch(t){case"none":return"ascending";case"ascending":return"descending";case"descending":default:return this.includeUnsorted?"none":"ascending"}}getSRText(t){switch(t){case"ascending":return this.i18n("ascendingColumnSort",{headerContent:this.headerContent});case"descending":return this.i18n(this.includeUnsorted?"descendingColumnSortIncludeUnsorted":"descendingColumnSort",{headerContent:this.headerContent});default:return this.i18n("noColumnSort",{headerContent:this.headerContent})}}render(){return e("div",{class:"gux-container"},e("button",{class:{"gux-sort-button":!0,"gux-active":this.active},type:"button",onClick:()=>this.onClick()},e("span",{class:"gux-sr-only"},this.getSRText(this.sort)),e("gux-icon",{class:{"gux-sort-icon":!0,"gux-left":this.isLeftAlignIcon},"icon-name":this.getIconName(this.sort),decorative:!0})),e("div",{class:"gux-resize-spacer"}))}static get delegatesFocus(){return!0}get root(){return i(this)}};h.style=".gux-container{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:flex-start;align-items:center;justify-content:flex-start;border-top:3px solid transparent;border-bottom:3px solid transparent}.gux-container:focus-within{border-bottom-color:#75a8ff}.gux-container .gux-sort-button{all:unset;flex:1 1 auto;align-self:stretch;order:0;cursor:pointer}.gux-container .gux-sort-button .gux-sort-icon{float:right;width:16px;height:16px;margin:8px;color:#d7dce5}.gux-container .gux-sort-button .gux-sort-icon.gux-left{float:left}.gux-container .gux-sort-button.gux-active .gux-sort-icon{color:#2e394c}.gux-container .gux-resize-spacer{flex:0 1 auto;align-self:stretch;order:0;width:2px}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{h as gux_sort_control}
@@ -1 +1 @@
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{h as l}from"./p-08bc2e6b.js";import{G as p,a as u,v as x,g as c}from"./p-1f6b2594.js";import{G as f,a as g}from"./p-c9576487.js";import{t as h}from"./p-ea529585.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,this.hasHelp=!1}onMutation(){this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help"),h(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return t(g,{labelPosition:this.computedLabelPosition},t(f,{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(p,{show:this.hasError},t("slot",{name:"error"})),t(u,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}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})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(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}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}: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
+ 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{h as l}from"./p-08bc2e6b.js";import{G as p,a as u,v as x,g as c}from"./p-1f6b2594.js";import{G as f,a as g}from"./p-c9576487.js";import{t as h}from"./p-b842f374.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,this.hasHelp=!1}onMutation(){this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help"),h(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return t(g,{labelPosition:this.computedLabelPosition},t(f,{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(p,{show:this.hasError},t("slot",{name:"error"})),t(u,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}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})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(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}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}: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 +1 @@
1
- import{r as o,c as a,h as g,g as t}from"./p-39a696d6.js";import{b as e}from"./p-5fefa2ad.js";import{t as r}from"./p-ea529585.js";import"./p-8a133b9b.js";const u={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"},l=class{constructor(g){o(this,g),this.guxdelete=a(this,"guxdelete",7),this.color="default",this.disabled=!1,this.removable=!1}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit(this.value)}onSlotChange(o){const a=o.composedPath()[0].assignedNodes();this.label=a.map((o=>o.textContent)).join("")}renderTagTitle(){return g("gux-tooltip-title",null,g("span",null,g("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return g("div",{class:"gux-sr-only"},this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return g("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},g("gux-icon",{class:"gux-tag-remove-icon","icon-name":"close","screenreader-text":this.i18n("remove-tag",{label:this.label})}))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await e(this.root,u)}render(){return g("div",{class:{"gux-tag":!0,[`gux-${this.color}`]:!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return t(this)}};l.style=":host{display:inline-block}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;padding:2px 8px;font-size:12px;font-weight:bold;color:#fdfdfd;background-color:#2e394c;border-radius:4px}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){height:20px;font-size:16px}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-tag .gux-tag-remove-button{all:unset;display:flex;align-content:center;align-items:center;justify-content:center;margin-left:8px}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{width:16px;height:16px;border-radius:25%}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:none;box-shadow:0 0 0 1px transparent, 0 0 0 2px #aac9ff}.gux-tag.gux-disabled{background-color:rgba(46, 57, 76, 0.5)}.gux-tag.gux-default{background-color:#2e394c}.gux-tag.gux-default.gux-disabled{background-color:rgba(46, 57, 76, 0.5)}.gux-tag.gux-default-subtle{color:#2e394c;background-color:#e2e6ee}.gux-tag.gux-default-subtle.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(226, 230, 238, 0.5)}.gux-tag.gux-navy{background-color:#203b73}.gux-tag.gux-navy.gux-disabled{background-color:rgba(32, 59, 115, 0.5)}.gux-tag.gux-blue{color:#2e394c;background-color:#75a8ff}.gux-tag.gux-blue.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(117, 168, 255, 0.5)}.gux-tag.gux-electric-purple{background-color:#8452cf}.gux-tag.gux-electric-purple.gux-disabled{background-color:rgba(132, 82, 207, 0.5)}.gux-tag.gux-aqua-green{color:#202937;background-color:#1da8b3}.gux-tag.gux-aqua-green.gux-disabled{color:rgba(32, 41, 55, 0.5);background-color:rgba(29, 168, 179, 0.5)}.gux-tag.gux-fuscha{color:#000000;background-color:#cc3ebe}.gux-tag.gux-fuscha.gux-disabled{color:rgba(0, 0, 0, 0.5);background-color:rgba(204, 62, 190, 0.5)}.gux-tag.gux-fuchsia{color:#000000;background-color:#cc3ebe}.gux-tag.gux-fuchsia.gux-disabled{color:rgba(0, 0, 0, 0.5);background-color:rgba(204, 62, 190, 0.5)}.gux-tag.gux-dark-purple{background-color:#5e5782}.gux-tag.gux-dark-purple.gux-disabled{background-color:rgba(94, 87, 130, 0.5)}.gux-tag.gux-bubblegum-pink{color:#2e394c;background-color:#ff8fdd}.gux-tag.gux-bubblegum-pink.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(255, 143, 221, 0.5)}.gux-tag.gux-olive-green{color:#151d28;background-color:#868c1e}.gux-tag.gux-olive-green.gux-disabled{color:rgba(21, 29, 40, 0.5);background-color:rgba(134, 140, 30, 0.5)}.gux-tag.gux-lilac{color:#2e394c;background-color:#b5b5eb}.gux-tag.gux-lilac.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(181, 181, 235, 0.5)}.gux-tag.gux-alert-yellow-green{color:#2e394c;background-color:#ddd933}.gux-tag.gux-alert-yellow-green.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(221, 217, 51, 0.5)}";export{l as gux_tag_beta}
1
+ import{r as o,c as g,h as a,g as t}from"./p-39a696d6.js";import{b as e}from"./p-7d64c6a5.js";import{t as r}from"./p-b842f374.js";import"./p-8a133b9b.js";const u={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"},l=class{constructor(a){o(this,a),this.guxdelete=g(this,"guxdelete",7),this.color="default",this.disabled=!1,this.removable=!1}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit(this.value)}onSlotChange(o){const g=o.composedPath()[0].assignedNodes();this.label=g.map((o=>o.textContent)).join("")}renderTagTitle(){return a("gux-tooltip-title",null,a("span",null,a("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return a("div",{class:"gux-sr-only"},this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return a("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},a("gux-icon",{class:"gux-tag-remove-icon","icon-name":"close","screenreader-text":this.i18n("remove-tag",{label:this.label})}))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await e(this.root,u)}render(){return a("div",{class:{"gux-tag":!0,[`gux-${this.color}`]:!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return t(this)}};l.style=":host{display:inline-block}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;padding:2px 8px;font-size:12px;font-weight:bold;color:#fdfdfd;background-color:#2e394c;border-radius:4px}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){height:20px;font-size:16px}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-tag .gux-tag-remove-button{all:unset;display:flex;align-content:center;align-items:center;justify-content:center;margin-left:8px}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{width:16px;height:16px;border-radius:25%}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:none;box-shadow:0 0 0 1px transparent, 0 0 0 2px #aac9ff}.gux-tag.gux-disabled{background-color:rgba(46, 57, 76, 0.5)}.gux-tag.gux-default{background-color:#2e394c}.gux-tag.gux-default.gux-disabled{background-color:rgba(46, 57, 76, 0.5)}.gux-tag.gux-default-subtle{color:#2e394c;background-color:#e2e6ee}.gux-tag.gux-default-subtle.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(226, 230, 238, 0.5)}.gux-tag.gux-navy{background-color:#203b73}.gux-tag.gux-navy.gux-disabled{background-color:rgba(32, 59, 115, 0.5)}.gux-tag.gux-blue{color:#2e394c;background-color:#75a8ff}.gux-tag.gux-blue.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(117, 168, 255, 0.5)}.gux-tag.gux-electric-purple{background-color:#8452cf}.gux-tag.gux-electric-purple.gux-disabled{background-color:rgba(132, 82, 207, 0.5)}.gux-tag.gux-aqua-green{color:#202937;background-color:#1da8b3}.gux-tag.gux-aqua-green.gux-disabled{color:rgba(32, 41, 55, 0.5);background-color:rgba(29, 168, 179, 0.5)}.gux-tag.gux-fuscha{color:#000000;background-color:#cc3ebe}.gux-tag.gux-fuscha.gux-disabled{color:rgba(0, 0, 0, 0.5);background-color:rgba(204, 62, 190, 0.5)}.gux-tag.gux-fuchsia{color:#000000;background-color:#cc3ebe}.gux-tag.gux-fuchsia.gux-disabled{color:rgba(0, 0, 0, 0.5);background-color:rgba(204, 62, 190, 0.5)}.gux-tag.gux-dark-purple{background-color:#5e5782}.gux-tag.gux-dark-purple.gux-disabled{background-color:rgba(94, 87, 130, 0.5)}.gux-tag.gux-bubblegum-pink{color:#2e394c;background-color:#ff8fdd}.gux-tag.gux-bubblegum-pink.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(255, 143, 221, 0.5)}.gux-tag.gux-olive-green{color:#151d28;background-color:#868c1e}.gux-tag.gux-olive-green.gux-disabled{color:rgba(21, 29, 40, 0.5);background-color:rgba(134, 140, 30, 0.5)}.gux-tag.gux-lilac{color:#2e394c;background-color:#b5b5eb}.gux-tag.gux-lilac.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(181, 181, 235, 0.5)}.gux-tag.gux-alert-yellow-green{color:#2e394c;background-color:#ddd933}.gux-tag.gux-alert-yellow-green.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(221, 217, 51, 0.5)}";export{l as gux_tag_beta}
@@ -1 +1 @@
1
- import{r as t,h as i,g as n}from"./p-39a696d6.js";import{b as e}from"./p-5fefa2ad.js";import{s as o}from"./p-8fe7daff.js";import{o as u}from"./p-e2bea786.js";import"./p-8a133b9b.js";import"./p-d176c2ae.js";const r={clear:"Clear"},a=class{constructor(i){t(this,i),this.hasContent=!1}clearInput(){o(this.input,"",!0)}setHasContent(){this.hasContent=Boolean(this.input.value)}renderClearButton(){return this.clearable&&this.hasContent&&!this.disabled?i("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.getI18nValue("clear"),disabled:this.disabled,onClick:this.clearInput.bind(this)},i("gux-icon",{"icon-name":"close",decorative:!0})):null}async componentWillLoad(){this.getI18nValue=await e(this.root,r),this.input=this.root.querySelector('input[slot="input"]'),this.setHasContent(),this.disabled=this.input.disabled,this.input.addEventListener("input",(()=>{this.setHasContent()})),this.disabledObserver=u(this.input,(t=>{this.disabled=t}))}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return i("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{name:"input"}),this.renderClearButton())}get root(){return n(this)}};a.style="gux-input-text-like{display:block}gux-input-text-like .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:4px 8px 4px 12px;font-family:inherit;font-size:12px;line-height:1.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-text-like .gux-input-container.gux-disabled{opacity:0.5}gux-input-text-like .gux-input-container input{flex:1 1 auto;align-self:auto;order:0;color:#2e394c;background-color:#f6f7f9;border:none;outline:none}gux-input-text-like .gux-input-container input::placeholder{color:#596373;opacity:1}gux-input-text-like .gux-input-container .gux-clear-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;margin-left:8px;color:#596373;background:transparent;border:none;border-radius:4px}gux-input-text-like .gux-input-container .gux-clear-button:not(:disabled):focus,gux-input-text-like .gux-input-container .gux-clear-button:not(:disabled):hover{color:#2e394c;cursor:pointer}gux-input-text-like .gux-input-container .gux-clear-button gux-icon{width:12px;height:12px;margin:4px;border-radius:4px}gux-input-text-like .gux-input-container .gux-clear-button:focus{outline:none}gux-input-text-like .gux-input-container .gux-clear-button:focus:enabled gux-icon{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}gux-input-text-like .gux-input-container:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}";export{a as gux_input_text_like}
1
+ import{r as t,h as i,g as n}from"./p-39a696d6.js";import{b as e}from"./p-7d64c6a5.js";import{s as o}from"./p-8fe7daff.js";import{o as u}from"./p-e2bea786.js";import"./p-8a133b9b.js";import"./p-d176c2ae.js";const r={clear:"Clear"},a=class{constructor(i){t(this,i),this.hasContent=!1}clearInput(){o(this.input,"",!0)}setHasContent(){this.hasContent=Boolean(this.input.value)}renderClearButton(){return this.clearable&&this.hasContent&&!this.disabled?i("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.getI18nValue("clear"),disabled:this.disabled,onClick:this.clearInput.bind(this)},i("gux-icon",{"icon-name":"close",decorative:!0})):null}async componentWillLoad(){this.getI18nValue=await e(this.root,r),this.input=this.root.querySelector('input[slot="input"]'),this.setHasContent(),this.disabled=this.input.disabled,this.input.addEventListener("input",(()=>{this.setHasContent()})),this.disabledObserver=u(this.input,(t=>{this.disabled=t}))}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return i("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{name:"input"}),this.renderClearButton())}get root(){return n(this)}};a.style="gux-input-text-like{display:block}gux-input-text-like .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:4px 8px 4px 12px;font-family:inherit;font-size:12px;line-height:1.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-text-like .gux-input-container.gux-disabled{opacity:0.5}gux-input-text-like .gux-input-container input{flex:1 1 auto;align-self:auto;order:0;color:#2e394c;background-color:#f6f7f9;border:none;outline:none}gux-input-text-like .gux-input-container input::placeholder{color:#596373;opacity:1}gux-input-text-like .gux-input-container .gux-clear-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;margin-left:8px;color:#596373;background:transparent;border:none;border-radius:4px}gux-input-text-like .gux-input-container .gux-clear-button:not(:disabled):focus,gux-input-text-like .gux-input-container .gux-clear-button:not(:disabled):hover{color:#2e394c;cursor:pointer}gux-input-text-like .gux-input-container .gux-clear-button gux-icon{width:12px;height:12px;margin:4px;border-radius:4px}gux-input-text-like .gux-input-container .gux-clear-button:focus{outline:none}gux-input-text-like .gux-input-container .gux-clear-button:focus:enabled gux-icon{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}gux-input-text-like .gux-input-container:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}";export{a as gux_input_text_like}
@@ -1 +1 @@
1
- import{r as t,h as n,g as e}from"./p-39a696d6.js";import{b as i}from"./p-5fefa2ad.js";import{r as o}from"./p-cbcbd1bb.js";import{o as r}from"./p-e2bea786.js";import{s as a}from"./p-8fe7daff.js";import{s as u}from"./p-d176c2ae.js";import{c as s,a as g}from"./p-112455b1.js";import"./p-8a133b9b.js";const p=class{constructor(n){t(this,n)}render(){return n("div",{class:"gux-input-checkbox-container"},n("slot",{name:"input"}),n("slot",{name:"label"}))}};p.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 c={required:"Required"},l=class{constructor(n){t(this,n),this.requiredId=o("gux-input-color-required")}onClick(t){this.root.contains(t.target)||this.setOpened(!1)}onInput(t){this.color=t.target.value}async componentWillLoad(){this.i18n=await i(this.root,c),this.input=this.root.querySelector('input[slot="input"]'),this.input.addEventListener("change",(t=>{this.opened&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())})),this.disabledObserver=r(this.input,(t=>{this.disabled=t})),this.disabled=this.input.disabled,this.color=this.input.value}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return n("section",null,n("span",{class:"gux-hidden",id:this.requiredId},this.i18n("required")),n("button",{"aria-describedby":`${this.guxLabelDescribedby} ${this.guxRequired?this.requiredId:""} ${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)},n("div",{class:"gux-input-color-selected-color",style:{background:this.color}}),n("div",{class:"gux-input-color-color-name"},this.color),n("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})),n("gux-color-select",{class:{"gux-input-color-color-select":!0,"gux-opened":this.opened}},n("slot",{name:"input",slot:"input"})))}setOpened(t){this.colorOnOpen&&this.colorOnOpen!==this.color&&(this.colorOnOpen=this.color,this.input.dispatchEvent(new Event("change",{bubbles:!0}))),this.colorOnOpen=this.color,this.opened=t}clickHandler(){this.disabled||this.setOpened(!this.opened)}get root(){return e(this)}};l.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:var(--gux-zindex-popup, 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 x={clear:"Clear",increment:"Increment",decrement:"Decrement"},d=class{constructor(n){t(this,n),this.hasContent=!1}clearInput(){a(this.input,"",!0)}setHasContent(){this.hasContent=Boolean(this.input.value)}simulateNativeInputAndChangeEvents(){u(this.input,"input"),u(this.input,"change")}stepUp(){""===this.input.value?a(this.input,this.input.min||"0",!1):(this.input.stepUp(),this.simulateNativeInputAndChangeEvents())}stepDown(){""===this.input.value?a(this.input,this.input.min||"0",!1):(this.input.stepDown(),this.simulateNativeInputAndChangeEvents())}renderClearButton(){return this.clearable&&this.hasContent&&!this.disabled?n("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.getI18nValue("clear"),disabled:this.disabled,onClick:this.clearInput.bind(this)},n("gux-icon",{"icon-name":"close",decorative:!0})):null}renderStepButtons(){return n("div",{class:"gux-step-buttons-container"},n("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:this.getI18nValue("increment"),disabled:this.disabled,onClick:()=>this.stepUp()},n("gux-icon",{"icon-name":"chevron-small-up",decorative:!0})),n("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:this.getI18nValue("decrement"),disabled:this.disabled,onClick:()=>this.stepDown()},n("gux-icon",{"icon-name":"chevron-small-down",decorative:!0})))}async componentWillLoad(){this.getI18nValue=await i(this.root,x),this.input=this.root.querySelector('input[slot="input"]'),this.setHasContent(),this.disabled=this.input.disabled,this.input.addEventListener("input",(()=>{this.setHasContent()})),this.disabledObserver=r(this.input,(t=>{this.disabled=t}))}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return n("div",{class:{"gux-input-number-container":!0,"gux-disabled":this.disabled}},n("div",{class:"gux-input-container"},n("slot",{name:"input"}),this.renderClearButton()),this.renderStepButtons())}get root(){return e(this)}};d.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;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-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)}";const h=class{constructor(n){t(this,n)}render(){return n("div",{class:"gux-input-radio-container"},n("slot",{name:"input"}),n("slot",{name:"label"}))}};h.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}";for(var b=s((function(t){(function(){var n,e,i,o,r,a;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(t.exports=function(){return(n()-r)/1e6},e=process.hrtime,o=(n=function(){var t;return 1e9*(t=e())[0]+t[1]})(),a=1e9*process.uptime(),r=o-a):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(g)})),m="undefined"==typeof window?g:window,f=["moz","webkit"],w="AnimationFrame",v=m["request"+w],k=m["cancel"+w]||m["cancelRequest"+w],y=0;!v&&y<f.length;y++)v=m[f[y]+"Request"+w],k=m[f[y]+"Cancel"+w]||m[f[y]+"CancelRequest"+w];if(!v||!k){var z=0,C=0,E=[];v=function(t){if(0===E.length){var n=b(),e=Math.max(0,16.666666666666668-(n-z));z=e+n,setTimeout((function(){var t=E.slice(0);E.length=0;for(var n=0;n<t.length;n++)if(!t[n].cancelled)try{t[n].callback(z)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(e))}return E.push({handle:++C,callback:t,cancelled:!1}),C},k=function(t){for(var n=0;n<E.length;n++)E[n].handle===t&&(E[n].cancelled=!0)}}var M,_=function(t){return v.call(m,t)};_.cancel=function(){k.apply(m,arguments)},_.polyfill=function(t){t||(t=m),t.requestAnimationFrame=v,t.cancelAnimationFrame=k},function(t){t[t.MODE_TIMEOUT=0]="MODE_TIMEOUT",t[t.MODE_INTERVAL=1]="MODE_INTERVAL"}(M||(M={}));const D=new Map,j=new Set;let B=!1,I=0;function L(){return(new Date).getTime()}function q(t){const{fn:n,args:e}=t;n(...e)}function T(){if(0===D.size)return void(B=!1);const t=L();D.forEach((t=>(n,e)=>{const{nextTick:i,ms:o,mode:r}=n;t-i>=0&&(j.add(n),r===M.MODE_TIMEOUT?D.delete(e):D.set(e,{...n,nextTick:i+o}))})(t)),0!==j.size&&(j.forEach(q),j.clear()),0!==D.size?_(T):B=!1}const $=class{constructor(n){t(this,n),this.valueInTooltip=!1}onInput(t){this.updateValue(t.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}updateValue(t){this.value=t,this.updatePosition()}updatePosition(){const t=Number(this.input.value||0),n=Number(this.input.min||0),e=(t-n)/(Number(this.input.max||100)-n)*100;if(this.sliderTooltip){const t=Math.round(1e3*(e/100-e/8/this.sliderTooltipContainer.offsetWidth))/10;this.sliderTooltip.style.left=`${t}%`}this.progressElement.style.width=`${e}%`}getDisplayValue(){return this.displayUnits?`${this.value}${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=r(this.input,(t=>{this.disabled=t})),this.valueWatcherId=((t,n=0,...e)=>function({fn:t,ms:n,args:e,mode:i}){if(!t)return null;const o=I;return D.set(o,{fn:t,ms:n,nextTick:L()+n,args:e,mode:i}),B||(B=!0,_(T)),I+=1,o}({fn:t,ms:n,args:e,mode:M.MODE_INTERVAL}))((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100)}componentDidLoad(){this.updatePosition()}disconnectedCallback(){this.disabledObserver.disconnect(),function(t){null!=t&&D.has(t)&&D.delete(t)}(this.valueWatcherId)}render(){return n("div",{class:{"gux-container":!0,"gux-disabled":this.disabled}},n("div",{class:{"gux-range":!0,"gux-active":this.active}},n("div",{class:"gux-track"},n("div",{class:"gux-progress",ref:t=>this.progressElement=t})),n("slot",{name:"input"}),n("div",{class:{"gux-range-tooltip-container":!0,"gux-hidden":!this.valueInTooltip},ref:t=>this.sliderTooltipContainer=t},n("div",{class:"gux-range-tooltip",ref:t=>this.sliderTooltip=t},this.getDisplayValue()))),n("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}get root(){return e(this)}};$.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}";const R=class{constructor(n){t(this,n)}componentWillLoad(){this.input=this.root.querySelector('select[slot="input"]'),this.disabled=this.input.disabled,this.disabledObserver=r(this.input,(t=>{this.disabled=t}))}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return n("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},n("slot",{name:"input"}),n("gux-icon",{decorative:!0,iconName:"ic-dropdown-arrow"}))}get root(){return e(this)}};R.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.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-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}";const N=class{constructor(n){t(this,n),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 n("div",{ref:t=>this.containerElement=t,class:`gux-resize-${this.resize}`},n("slot",{name:"input"}))}get root(){return e(this)}};N.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}";export{p as gux_input_checkbox,l as gux_input_color,d as gux_input_number,h as gux_input_radio,$ as gux_input_range,R as gux_input_select,N as gux_input_textarea}
1
+ import{r as t,h as n,g as e}from"./p-39a696d6.js";import{b as i}from"./p-7d64c6a5.js";import{r as o}from"./p-cbcbd1bb.js";import{o as r}from"./p-e2bea786.js";import{s as a}from"./p-8fe7daff.js";import{s as u}from"./p-d176c2ae.js";import{c as s,a as g}from"./p-112455b1.js";import"./p-8a133b9b.js";const p=class{constructor(n){t(this,n)}render(){return n("div",{class:"gux-input-checkbox-container"},n("slot",{name:"input"}),n("slot",{name:"label"}))}};p.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 c={required:"Required"},l=class{constructor(n){t(this,n),this.requiredId=o("gux-input-color-required")}onClick(t){this.root.contains(t.target)||this.setOpened(!1)}onInput(t){this.color=t.target.value}async componentWillLoad(){this.i18n=await i(this.root,c),this.input=this.root.querySelector('input[slot="input"]'),this.input.addEventListener("change",(t=>{this.opened&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())})),this.disabledObserver=r(this.input,(t=>{this.disabled=t})),this.disabled=this.input.disabled,this.color=this.input.value}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return n("section",null,n("span",{class:"gux-hidden",id:this.requiredId},this.i18n("required")),n("button",{"aria-describedby":`${this.guxLabelDescribedby} ${this.guxRequired?this.requiredId:""} ${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)},n("div",{class:"gux-input-color-selected-color",style:{background:this.color}}),n("div",{class:"gux-input-color-color-name"},this.color),n("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})),n("gux-color-select",{class:{"gux-input-color-color-select":!0,"gux-opened":this.opened}},n("slot",{name:"input",slot:"input"})))}setOpened(t){this.colorOnOpen&&this.colorOnOpen!==this.color&&(this.colorOnOpen=this.color,this.input.dispatchEvent(new Event("change",{bubbles:!0}))),this.colorOnOpen=this.color,this.opened=t}clickHandler(){this.disabled||this.setOpened(!this.opened)}get root(){return e(this)}};l.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:var(--gux-zindex-popup, 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 x={clear:"Clear",increment:"Increment",decrement:"Decrement"},d=class{constructor(n){t(this,n),this.hasContent=!1}clearInput(){a(this.input,"",!0)}setHasContent(){this.hasContent=Boolean(this.input.value)}simulateNativeInputAndChangeEvents(){u(this.input,"input"),u(this.input,"change")}stepUp(){""===this.input.value?a(this.input,this.input.min||"0",!1):(this.input.stepUp(),this.simulateNativeInputAndChangeEvents())}stepDown(){""===this.input.value?a(this.input,this.input.min||"0",!1):(this.input.stepDown(),this.simulateNativeInputAndChangeEvents())}renderClearButton(){return this.clearable&&this.hasContent&&!this.disabled?n("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.getI18nValue("clear"),disabled:this.disabled,onClick:this.clearInput.bind(this)},n("gux-icon",{"icon-name":"close",decorative:!0})):null}renderStepButtons(){return n("div",{class:"gux-step-buttons-container"},n("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:this.getI18nValue("increment"),disabled:this.disabled,onClick:()=>this.stepUp()},n("gux-icon",{"icon-name":"chevron-small-up",decorative:!0})),n("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:this.getI18nValue("decrement"),disabled:this.disabled,onClick:()=>this.stepDown()},n("gux-icon",{"icon-name":"chevron-small-down",decorative:!0})))}async componentWillLoad(){this.getI18nValue=await i(this.root,x),this.input=this.root.querySelector('input[slot="input"]'),this.setHasContent(),this.disabled=this.input.disabled,this.input.addEventListener("input",(()=>{this.setHasContent()})),this.disabledObserver=r(this.input,(t=>{this.disabled=t}))}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return n("div",{class:{"gux-input-number-container":!0,"gux-disabled":this.disabled}},n("div",{class:"gux-input-container"},n("slot",{name:"input"}),this.renderClearButton()),this.renderStepButtons())}get root(){return e(this)}};d.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;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-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)}";const h=class{constructor(n){t(this,n)}render(){return n("div",{class:"gux-input-radio-container"},n("slot",{name:"input"}),n("slot",{name:"label"}))}};h.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}";for(var b=s((function(t){(function(){var n,e,i,o,r,a;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(t.exports=function(){return(n()-r)/1e6},e=process.hrtime,o=(n=function(){var t;return 1e9*(t=e())[0]+t[1]})(),a=1e9*process.uptime(),r=o-a):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(g)})),m="undefined"==typeof window?g:window,f=["moz","webkit"],w="AnimationFrame",v=m["request"+w],k=m["cancel"+w]||m["cancelRequest"+w],y=0;!v&&y<f.length;y++)v=m[f[y]+"Request"+w],k=m[f[y]+"Cancel"+w]||m[f[y]+"CancelRequest"+w];if(!v||!k){var z=0,C=0,E=[];v=function(t){if(0===E.length){var n=b(),e=Math.max(0,16.666666666666668-(n-z));z=e+n,setTimeout((function(){var t=E.slice(0);E.length=0;for(var n=0;n<t.length;n++)if(!t[n].cancelled)try{t[n].callback(z)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(e))}return E.push({handle:++C,callback:t,cancelled:!1}),C},k=function(t){for(var n=0;n<E.length;n++)E[n].handle===t&&(E[n].cancelled=!0)}}var M,_=function(t){return v.call(m,t)};_.cancel=function(){k.apply(m,arguments)},_.polyfill=function(t){t||(t=m),t.requestAnimationFrame=v,t.cancelAnimationFrame=k},function(t){t[t.MODE_TIMEOUT=0]="MODE_TIMEOUT",t[t.MODE_INTERVAL=1]="MODE_INTERVAL"}(M||(M={}));const D=new Map,j=new Set;let B=!1,I=0;function L(){return(new Date).getTime()}function q(t){const{fn:n,args:e}=t;n(...e)}function T(){if(0===D.size)return void(B=!1);const t=L();D.forEach((t=>(n,e)=>{const{nextTick:i,ms:o,mode:r}=n;t-i>=0&&(j.add(n),r===M.MODE_TIMEOUT?D.delete(e):D.set(e,{...n,nextTick:i+o}))})(t)),0!==j.size&&(j.forEach(q),j.clear()),0!==D.size?_(T):B=!1}const $=class{constructor(n){t(this,n),this.valueInTooltip=!1}onInput(t){this.updateValue(t.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}updateValue(t){this.value=t,this.updatePosition()}updatePosition(){const t=Number(this.input.value||0),n=Number(this.input.min||0),e=(t-n)/(Number(this.input.max||100)-n)*100;if(this.sliderTooltip){const t=Math.round(1e3*(e/100-e/8/this.sliderTooltipContainer.offsetWidth))/10;this.sliderTooltip.style.left=`${t}%`}this.progressElement.style.width=`${e}%`}getDisplayValue(){return this.displayUnits?`${this.value}${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=r(this.input,(t=>{this.disabled=t})),this.valueWatcherId=((t,n=0,...e)=>function({fn:t,ms:n,args:e,mode:i}){if(!t)return null;const o=I;return D.set(o,{fn:t,ms:n,nextTick:L()+n,args:e,mode:i}),B||(B=!0,_(T)),I+=1,o}({fn:t,ms:n,args:e,mode:M.MODE_INTERVAL}))((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100)}componentDidLoad(){this.updatePosition()}disconnectedCallback(){this.disabledObserver.disconnect(),function(t){null!=t&&D.has(t)&&D.delete(t)}(this.valueWatcherId)}render(){return n("div",{class:{"gux-container":!0,"gux-disabled":this.disabled}},n("div",{class:{"gux-range":!0,"gux-active":this.active}},n("div",{class:"gux-track"},n("div",{class:"gux-progress",ref:t=>this.progressElement=t})),n("slot",{name:"input"}),n("div",{class:{"gux-range-tooltip-container":!0,"gux-hidden":!this.valueInTooltip},ref:t=>this.sliderTooltipContainer=t},n("div",{class:"gux-range-tooltip",ref:t=>this.sliderTooltip=t},this.getDisplayValue()))),n("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}get root(){return e(this)}};$.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}";const R=class{constructor(n){t(this,n)}componentWillLoad(){this.input=this.root.querySelector('select[slot="input"]'),this.disabled=this.input.disabled,this.disabledObserver=r(this.input,(t=>{this.disabled=t}))}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return n("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},n("slot",{name:"input"}),n("gux-icon",{decorative:!0,iconName:"ic-dropdown-arrow"}))}get root(){return e(this)}};R.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.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-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}";const N=class{constructor(n){t(this,n),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 n("div",{ref:t=>this.containerElement=t,class:`gux-resize-${this.resize}`},n("slot",{name:"input"}))}get root(){return e(this)}};N.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}";export{p as gux_input_checkbox,l as gux_input_color,d as gux_input_number,h as gux_input_radio,$ as gux_input_range,R as gux_input_select,N as gux_input_textarea}
@@ -1 +1 @@
1
- import{r as o,h as i,g as t}from"./p-39a696d6.js";import{t as c}from"./p-ea529585.js";import{b as e}from"./p-5fefa2ad.js";import"./p-8a133b9b.js";const r={clickToCopy:"Click to Copy",copyToClipboard:"Copy to clipboard",enterToCopy:"Press Enter to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},p=class{constructor(i){o(this,i),this.tooltipContent="offerClick"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}onFocus(){this.tooltipContent="offerEnter"}resetTooltip(){this.tooltipContent="offerClick"}onCopyToClipboard(){navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="success"})).catch((()=>{this.tooltipContent="error"}))}async componentWillLoad(){c(this.root),this.i18n=await e(this.root,r)}render(){return i("button",{onClick:this.onCopyToClipboard.bind(this),class:"gux-copy-to-clipboard-wrapper",title:this.i18n("copyToClipboard")},i("div",{class:"gux-copy-content"},i("slot",{name:"content"}),i("gux-icon",{"icon-name":"copy",decorative:!0})),i("gux-tooltip",{placement:"bottom-end"},"success"===this.tooltipContent?i("gux-icon",{"icon-name":"badge-check",decorative:!0}):"","error"===this.tooltipContent?i("gux-icon",{"icon-name":"badge-x",decorative:!0}):"","offerClick"===this.tooltipContent?this.i18n("clickToCopy"):"","offerEnter"===this.tooltipContent?this.i18n("enterToCopy"):"","success"===this.tooltipContent?this.i18n("copySuccess"):"","error"===this.tooltipContent?this.i18n("copyFailure"):""))}get root(){return t(this)}};p.style="button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;align-items:inherit;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:0 2px;margin-right:4px}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name='copy']{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name='copy']{width:16px;height:16px;padding:2px;visibility:hidden;background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper:focus{outline:none}.gux-copy-to-clipboard-wrapper:focus ::slotted(*){background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper:focus gux-icon[icon-name='copy']{visibility:visible}.gux-copy-to-clipboard-wrapper gux-tooltip{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon{width:16px;height:16px;padding-right:8px}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name='badge-check']{color:#3c8527}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name='badge-x']{color:#ea0b0b}.focus-and-hover-copy-content ::slotted(*){background-color:#deeaff;border-radius:4px}.focus-and-hover-copy-content gux-icon[icon-name='copy']{visibility:visible}";export{p as gux_copy_to_clipboard_beta}
1
+ import{r as o,h as i,g as t}from"./p-39a696d6.js";import{t as c}from"./p-b842f374.js";import{b as r}from"./p-7d64c6a5.js";import"./p-8a133b9b.js";const e={clickToCopy:"Click to Copy",copyToClipboard:"Copy to clipboard",enterToCopy:"Press Enter to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},p=class{constructor(i){o(this,i),this.tooltipContent="offerClick"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}onFocus(){this.tooltipContent="offerEnter"}resetTooltip(){this.tooltipContent="offerClick"}onCopyToClipboard(){navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="success"})).catch((()=>{this.tooltipContent="error"}))}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,e)}render(){return i("button",{onClick:this.onCopyToClipboard.bind(this),class:"gux-copy-to-clipboard-wrapper",title:this.i18n("copyToClipboard")},i("div",{class:"gux-copy-content"},i("slot",{name:"content"}),i("gux-icon",{"icon-name":"copy",decorative:!0})),i("gux-tooltip",{placement:"bottom-end"},"success"===this.tooltipContent?i("gux-icon",{"icon-name":"badge-check",decorative:!0}):"","error"===this.tooltipContent?i("gux-icon",{"icon-name":"badge-x",decorative:!0}):"","offerClick"===this.tooltipContent?this.i18n("clickToCopy"):"","offerEnter"===this.tooltipContent?this.i18n("enterToCopy"):"","success"===this.tooltipContent?this.i18n("copySuccess"):"","error"===this.tooltipContent?this.i18n("copyFailure"):""))}get root(){return t(this)}};p.style="button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;align-items:inherit;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:0 2px;margin-right:4px}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name='copy']{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name='copy']{width:16px;height:16px;padding:2px;visibility:hidden;background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper:focus{outline:none}.gux-copy-to-clipboard-wrapper:focus ::slotted(*){background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper:focus gux-icon[icon-name='copy']{visibility:visible}.gux-copy-to-clipboard-wrapper gux-tooltip{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon{width:16px;height:16px;padding-right:8px}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name='badge-check']{color:#3c8527}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name='badge-x']{color:#ea0b0b}.focus-and-hover-copy-content ::slotted(*){background-color:#deeaff;border-radius:4px}.focus-and-hover-copy-content gux-icon[icon-name='copy']{visibility:visible}";export{p as gux_copy_to_clipboard_beta}
@@ -1 +1 @@
1
- import{r as t,h as o,g as s}from"./p-39a696d6.js";import{t as r}from"./p-ea529585.js";const n=class{constructor(o){t(this,o),this.singleOpenSection=!1}handleInternalsectionopened(t){t.stopImmediatePropagation(),this.singleOpenSection&&this.getAccordionSections().forEach((o=>{o!==t.target&&this.closeSection(o)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((t,o)=>(t&&this.closeSection(o),t||o.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(t){t.disabled||(t.open=!1)}render(){return o("slot",null)}get root(){return s(this)}};n.style="gux-accordion{-custom-noop:noop}";export{n as gux_accordion}
1
+ import{r as t,h as o,g as s}from"./p-39a696d6.js";import{t as r}from"./p-b842f374.js";const n=class{constructor(o){t(this,o),this.singleOpenSection=!1}handleInternalsectionopened(t){t.stopImmediatePropagation(),this.singleOpenSection&&this.getAccordionSections().forEach((o=>{o!==t.target&&this.closeSection(o)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((t,o)=>(t&&this.closeSection(o),t||o.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(t){t.disabled||(t.open=!1)}render(){return o("slot",null)}get root(){return s(this)}};n.style="gux-accordion{-custom-noop:noop}";export{n as gux_accordion}
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { defineCustomElements } from '../dist/loader';
8
8
  // Value templated out during build process (see scripts/wrap-stencil.js)
9
- const CDN_URL = 'https://app.mypurecloud.com/spark-components/build-assets/3.33.1-205/genesys-webcomponents/';
9
+ const CDN_URL = 'https://app.mypurecloud.com/spark-components/build-assets/3.34.0-209/genesys-webcomponents/';
10
10
  export function registerElements() {
11
11
  if (CDN_URL) {
12
12
  defineCustomElements(window, { resourcesUrl: CDN_URL });
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, JSX } from '../../../stencil-public-runtime';
2
- import { GuxButtonAccent, GuxButtonType } from '../../stable/gux-button/gux-button.types';
2
+ import { GuxButtonAccent, GuxButtonType } from './gux-button.types';
3
3
  export declare class GuxActionButtonLegacy {
4
4
  private dropdownButton;
5
5
  private moveFocusDelay;
@@ -30,9 +30,6 @@ export declare class GuxActionButtonLegacy {
30
30
  * Disables the action button.
31
31
  */
32
32
  disabled: boolean;
33
- /**
34
- * The component accent (secondary or primary).
35
- */
36
33
  accent: GuxButtonAccent;
37
34
  /**
38
35
  * It is used to open or not the list.
@@ -0,0 +1,2 @@
1
+ export declare type GuxButtonAccent = 'primary' | 'secondary' | 'tertiary';
2
+ export declare type GuxButtonType = 'button' | 'submit' | 'reset';
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, JSX } from '../../../stencil-public-runtime';
2
- import { GuxButtonAccent } from '../../stable/gux-button/gux-button.types';
2
+ import { GuxButtonAccent } from '../gux-action-button-legacy/gux-button.types';
3
3
  export declare class GuxButtonMultiLegacy {
4
4
  private root;
5
5
  listElement: HTMLGuxActionListLegacyElement;
@@ -21,9 +21,6 @@ export declare class GuxButtonMultiLegacy {
21
21
  * Disables the action button.
22
22
  */
23
23
  disabled: boolean;
24
- /**
25
- * The component accent (secondary or primary).
26
- */
27
24
  accent: GuxButtonAccent;
28
25
  /**
29
26
  * It is used to open or not the list.
@@ -30,9 +30,6 @@ export declare class GuxActionButton {
30
30
  * Disables the action button.
31
31
  */
32
32
  disabled: boolean;
33
- /**
34
- * The component accent (secondary or primary).
35
- */
36
33
  accent: GuxButtonAccent;
37
34
  /**
38
35
  * It is used to open or not the list.
@@ -14,9 +14,6 @@ export declare class GuxButton {
14
14
  * Indicate if the button is disabled or not
15
15
  */
16
16
  disabled: boolean;
17
- /**
18
- * The component accent (secondary or primary).
19
- */
20
17
  accent: GuxButtonAccent;
21
18
  componentWillLoad(): void;
22
19
  render(): JSX.Element;
@@ -1,2 +1,2 @@
1
- export declare type GuxButtonAccent = 'primary' | 'secondary' | 'tertiary' | 'ghost';
1
+ export declare type GuxButtonAccent = 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'danger';
2
2
  export declare type GuxButtonType = 'button' | 'submit' | 'reset';
@@ -24,9 +24,6 @@ export declare class GuxButtonMulti {
24
24
  * Disables the action button.
25
25
  */
26
26
  disabled: boolean;
27
- /**
28
- * The component accent (secondary or primary).
29
- */
30
27
  accent: GuxButtonAccent;
31
28
  /**
32
29
  * It is used to open or not the list.
@@ -8,6 +8,7 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { GuxAccordionLegacyArrowPosition } from "./components/legacy/gux-accordion-legacy/gux-accordion.types";
9
9
  import { GuxAccordionSectionArrowPosition, GuxAccordionSectionContentLayout } from "./components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.types";
10
10
  import { GuxButtonAccent, GuxButtonType } from "./components/stable/gux-button/gux-button.types";
11
+ import { GuxButtonAccent as GuxButtonAccent1, GuxButtonType as GuxButtonType1 } from "./components/legacy/gux-action-button-legacy/gux-button.types";
11
12
  import { GuxAnnouncePoliteness } from "./components/beta/gux-announce/gux-announce.types";
12
13
  import { GuxBadgeColor } from "./components/beta/gux-badge/gux-badge.types";
13
14
  import { GuxBreadcrumbAccent } from "./components/stable/gux-breadcrumbs/gux-breadcrumbs.types";
@@ -80,9 +81,6 @@ export namespace Components {
80
81
  "reverseHeadings": boolean;
81
82
  }
82
83
  interface GuxActionButton {
83
- /**
84
- * The component accent (secondary or primary).
85
- */
86
84
  "accent": GuxButtonAccent;
87
85
  /**
88
86
  * Disables the action button.
@@ -102,10 +100,7 @@ export namespace Components {
102
100
  "type": GuxButtonType;
103
101
  }
104
102
  interface GuxActionButtonLegacy {
105
- /**
106
- * The component accent (secondary or primary).
107
- */
108
- "accent": GuxButtonAccent;
103
+ "accent": GuxButtonAccent1;
109
104
  /**
110
105
  * Disables the action button.
111
106
  */
@@ -121,7 +116,7 @@ export namespace Components {
121
116
  /**
122
117
  * The component button type
123
118
  */
124
- "type": GuxButtonType;
119
+ "type": GuxButtonType1;
125
120
  }
126
121
  interface GuxActionItem {
127
122
  "disabled": boolean;
@@ -199,9 +194,6 @@ export namespace Components {
199
194
  "accent": GuxBreadcrumbAccent;
200
195
  }
201
196
  interface GuxButton {
202
- /**
203
- * The component accent (secondary or primary).
204
- */
205
197
  "accent": GuxButtonAccent;
206
198
  /**
207
199
  * Indicate if the button is disabled or not
@@ -217,9 +209,6 @@ export namespace Components {
217
209
  "type": GuxButtonType;
218
210
  }
219
211
  interface GuxButtonMulti {
220
- /**
221
- * The component accent (secondary or primary).
222
- */
223
212
  "accent": GuxButtonAccent;
224
213
  /**
225
214
  * Disables the action button.
@@ -235,10 +224,7 @@ export namespace Components {
235
224
  "text": string;
236
225
  }
237
226
  interface GuxButtonMultiLegacy {
238
- /**
239
- * The component accent (secondary or primary).
240
- */
241
- "accent": GuxButtonAccent;
227
+ "accent": GuxButtonAccent1;
242
228
  /**
243
229
  * Disables the action button.
244
230
  */
@@ -2615,9 +2601,6 @@ declare namespace LocalJSX {
2615
2601
  "reverseHeadings"?: boolean;
2616
2602
  }
2617
2603
  interface GuxActionButton {
2618
- /**
2619
- * The component accent (secondary or primary).
2620
- */
2621
2604
  "accent"?: GuxButtonAccent;
2622
2605
  /**
2623
2606
  * Disables the action button.
@@ -2649,10 +2632,7 @@ declare namespace LocalJSX {
2649
2632
  "type"?: GuxButtonType;
2650
2633
  }
2651
2634
  interface GuxActionButtonLegacy {
2652
- /**
2653
- * The component accent (secondary or primary).
2654
- */
2655
- "accent"?: GuxButtonAccent;
2635
+ "accent"?: GuxButtonAccent1;
2656
2636
  /**
2657
2637
  * Disables the action button.
2658
2638
  */
@@ -2680,7 +2660,7 @@ declare namespace LocalJSX {
2680
2660
  /**
2681
2661
  * The component button type
2682
2662
  */
2683
- "type"?: GuxButtonType;
2663
+ "type"?: GuxButtonType1;
2684
2664
  }
2685
2665
  interface GuxActionItem {
2686
2666
  "disabled"?: boolean;
@@ -2750,9 +2730,6 @@ declare namespace LocalJSX {
2750
2730
  "accent"?: GuxBreadcrumbAccent;
2751
2731
  }
2752
2732
  interface GuxButton {
2753
- /**
2754
- * The component accent (secondary or primary).
2755
- */
2756
2733
  "accent"?: GuxButtonAccent;
2757
2734
  /**
2758
2735
  * Indicate if the button is disabled or not
@@ -2768,9 +2745,6 @@ declare namespace LocalJSX {
2768
2745
  "type"?: GuxButtonType;
2769
2746
  }
2770
2747
  interface GuxButtonMulti {
2771
- /**
2772
- * The component accent (secondary or primary).
2773
- */
2774
2748
  "accent"?: GuxButtonAccent;
2775
2749
  /**
2776
2750
  * Disables the action button.
@@ -2794,10 +2768,7 @@ declare namespace LocalJSX {
2794
2768
  "text"?: string;
2795
2769
  }
2796
2770
  interface GuxButtonMultiLegacy {
2797
- /**
2798
- * The component accent (secondary or primary).
2799
- */
2800
- "accent"?: GuxButtonAccent;
2771
+ "accent"?: GuxButtonAccent1;
2801
2772
  /**
2802
2773
  * Disables the action button.
2803
2774
  */