genesys-spark-components 3.7.1 → 3.8.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 (278) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  3. package/dist/cjs/gux-accordion-legacy.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-button-legacy.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
  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-badge-beta.cjs.entry.js +2 -2
  12. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  13. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  18. package/dist/cjs/gux-card-beta.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +108 -16
  21. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-content-search.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  28. package/dist/cjs/gux-disclosure-button.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-dismiss-button.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-dropdown_3.cjs.entry.js +2 -2
  34. package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-number.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-input-checkbox_7.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-input-search.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-input-text-like.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-listbox-multi.cjs.entry.js +2 -2
  55. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-pagination-buttons-beta_3.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +2 -2
  62. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-popover.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  67. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-row-select.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-tab-advanced.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-tab-list.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-table-beta.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-tag-beta.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-toggle.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-visualization-beta.cjs.entry.js +2 -2
  88. package/dist/cjs/{index-57ec1998.js → index-d83bf15a.js} +6 -0
  89. package/dist/cjs/loader.cjs.js +1 -1
  90. package/dist/cjs/{usage-tracking-39a72be3.js → usage-tracking-fc8f0621.js} +1 -1
  91. package/dist/collection/components/beta/gux-chart-donut/gux-chart-donut.js +246 -15
  92. package/dist/deploy-info.json +3 -3
  93. package/dist/esm/genesys-webcomponents.js +1 -1
  94. package/dist/esm/gux-accordion-legacy.entry.js +1 -1
  95. package/dist/esm/gux-accordion.entry.js +1 -1
  96. package/dist/esm/gux-action-button-legacy.entry.js +2 -2
  97. package/dist/esm/gux-action-button.entry.js +2 -2
  98. package/dist/esm/gux-action-list-legacy.entry.js +1 -1
  99. package/dist/esm/gux-action-toast.entry.js +1 -1
  100. package/dist/esm/gux-advanced-dropdown.entry.js +2 -2
  101. package/dist/esm/gux-all-row-select.entry.js +1 -1
  102. package/dist/esm/gux-badge-beta.entry.js +2 -2
  103. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  104. package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
  105. package/dist/esm/gux-button-multi.entry.js +1 -1
  106. package/dist/esm/gux-button-slot-beta.entry.js +1 -1
  107. package/dist/esm/gux-button.entry.js +1 -1
  108. package/dist/esm/gux-calendar.entry.js +2 -2
  109. package/dist/esm/gux-card-beta.entry.js +1 -1
  110. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  111. package/dist/esm/gux-chart-donut-beta.entry.js +108 -16
  112. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  113. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  114. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
  115. package/dist/esm/gux-command-palette-legacy.entry.js +2 -2
  116. package/dist/esm/gux-content-search.entry.js +2 -2
  117. package/dist/esm/gux-copy-to-clipboard-beta.entry.js +2 -2
  118. package/dist/esm/gux-datepicker.entry.js +2 -2
  119. package/dist/esm/gux-disclosure-button.entry.js +2 -2
  120. package/dist/esm/gux-dismiss-button.entry.js +2 -2
  121. package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
  122. package/dist/esm/gux-dropdown-multi-beta.entry.js +2 -2
  123. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  124. package/dist/esm/gux-dropdown_3.entry.js +2 -2
  125. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  126. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  127. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  128. package/dist/esm/gux-form-field-color.entry.js +1 -1
  129. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  130. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  131. package/dist/esm/gux-form-field-legacy.entry.js +1 -1
  132. package/dist/esm/gux-form-field-number.entry.js +2 -2
  133. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  134. package/dist/esm/gux-form-field-range.entry.js +1 -1
  135. package/dist/esm/gux-form-field-search.entry.js +1 -1
  136. package/dist/esm/gux-form-field-select.entry.js +1 -1
  137. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  138. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  139. package/dist/esm/gux-icon.entry.js +1 -1
  140. package/dist/esm/gux-input-checkbox_7.entry.js +1 -1
  141. package/dist/esm/gux-input-search.entry.js +1 -1
  142. package/dist/esm/gux-input-text-like.entry.js +1 -1
  143. package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
  144. package/dist/esm/gux-list.entry.js +1 -1
  145. package/dist/esm/gux-listbox-multi.entry.js +2 -2
  146. package/dist/esm/gux-modal.entry.js +1 -1
  147. package/dist/esm/gux-notification-toast.entry.js +1 -1
  148. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  149. package/dist/esm/gux-pagination-beta.entry.js +1 -1
  150. package/dist/esm/gux-pagination-buttons-beta_3.entry.js +1 -1
  151. package/dist/esm/gux-pagination-buttons_3.entry.js +1 -1
  152. package/dist/esm/gux-pagination-cursor.entry.js +2 -2
  153. package/dist/esm/gux-pagination.entry.js +1 -1
  154. package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
  155. package/dist/esm/gux-popover-list.entry.js +1 -1
  156. package/dist/esm/gux-popover.entry.js +1 -1
  157. package/dist/esm/gux-radial-loading.entry.js +2 -2
  158. package/dist/esm/gux-radial-progress.entry.js +1 -1
  159. package/dist/esm/gux-rating.entry.js +1 -1
  160. package/dist/esm/gux-row-select.entry.js +1 -1
  161. package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
  162. package/dist/esm/gux-simple-toast.entry.js +1 -1
  163. package/dist/esm/gux-sort-control.entry.js +1 -1
  164. package/dist/esm/gux-switch.entry.js +1 -1
  165. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  166. package/dist/esm/gux-tab-advanced.entry.js +1 -1
  167. package/dist/esm/gux-tab-list.entry.js +1 -1
  168. package/dist/esm/gux-table-beta.entry.js +2 -2
  169. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  170. package/dist/esm/gux-tabs-legacy.entry.js +2 -2
  171. package/dist/esm/gux-tabs.entry.js +1 -1
  172. package/dist/esm/gux-tag-beta.entry.js +2 -2
  173. package/dist/esm/gux-text-highlight.entry.js +1 -1
  174. package/dist/esm/gux-text-label-legacy.entry.js +1 -1
  175. package/dist/esm/gux-time-picker-beta.entry.js +2 -2
  176. package/dist/esm/gux-toggle.entry.js +2 -2
  177. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  178. package/dist/esm/gux-visualization-beta.entry.js +2 -2
  179. package/dist/esm/{index-16dc4871.js → index-8fe81fcb.js} +6 -0
  180. package/dist/esm/loader.js +1 -1
  181. package/dist/esm/{usage-tracking-9ae70c67.js → usage-tracking-685e66d8.js} +1 -1
  182. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  183. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.he.json +1 -0
  184. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-pt.json +1 -0
  185. package/dist/genesys-webcomponents/{p-9869e6f4.entry.js → p-08149b75.entry.js} +1 -1
  186. package/dist/genesys-webcomponents/{p-b5867962.entry.js → p-08916658.entry.js} +1 -1
  187. package/dist/genesys-webcomponents/{p-7e8a517b.entry.js → p-09e45f58.entry.js} +1 -1
  188. package/dist/genesys-webcomponents/{p-16e8f471.entry.js → p-0d40f07c.entry.js} +1 -1
  189. package/dist/genesys-webcomponents/{p-1d09f345.entry.js → p-0e532979.entry.js} +1 -1
  190. package/dist/genesys-webcomponents/{p-a0a0d12d.entry.js → p-11c81c59.entry.js} +1 -1
  191. package/dist/genesys-webcomponents/{p-e122b070.entry.js → p-153939f8.entry.js} +1 -1
  192. package/dist/genesys-webcomponents/{p-90d3e8af.entry.js → p-1c516c64.entry.js} +1 -1
  193. package/dist/genesys-webcomponents/{p-717c426f.entry.js → p-1d0af54a.entry.js} +1 -1
  194. package/dist/genesys-webcomponents/{p-8a1b9201.entry.js → p-1db90137.entry.js} +1 -1
  195. package/dist/genesys-webcomponents/{p-fca55791.entry.js → p-1f1d594c.entry.js} +1 -1
  196. package/dist/genesys-webcomponents/{p-0c38f51c.entry.js → p-219ae25e.entry.js} +1 -1
  197. package/dist/genesys-webcomponents/{p-33c27a48.entry.js → p-237252d6.entry.js} +1 -1
  198. package/dist/genesys-webcomponents/{p-2092557f.entry.js → p-23a98827.entry.js} +1 -1
  199. package/dist/genesys-webcomponents/{p-5ebb0e5e.entry.js → p-244b490c.entry.js} +1 -1
  200. package/dist/genesys-webcomponents/{p-0dfa8f9f.entry.js → p-287eb532.entry.js} +1 -1
  201. package/dist/genesys-webcomponents/{p-bf05f0be.entry.js → p-2b588707.entry.js} +1 -1
  202. package/dist/genesys-webcomponents/{p-ddbe5e3d.entry.js → p-2b90afaa.entry.js} +1 -1
  203. package/dist/genesys-webcomponents/{p-050ab2cb.entry.js → p-3673e271.entry.js} +1 -1
  204. package/dist/genesys-webcomponents/{p-1d83549a.entry.js → p-371ed5df.entry.js} +1 -1
  205. package/dist/genesys-webcomponents/{p-2b24dcb6.entry.js → p-37c9b3fa.entry.js} +1 -1
  206. package/dist/genesys-webcomponents/{p-d820f160.entry.js → p-3944c1b3.entry.js} +1 -1
  207. package/dist/genesys-webcomponents/{p-78035895.entry.js → p-39e47544.entry.js} +1 -1
  208. package/dist/genesys-webcomponents/{p-523a0237.js → p-4154675a.js} +1 -1
  209. package/dist/genesys-webcomponents/{p-469eea38.entry.js → p-44234c4a.entry.js} +1 -1
  210. package/dist/genesys-webcomponents/p-44d85cb7.entry.js +1 -0
  211. package/dist/genesys-webcomponents/{p-c251e266.entry.js → p-47402638.entry.js} +1 -1
  212. package/dist/genesys-webcomponents/{p-8bc4b382.entry.js → p-4941466b.entry.js} +1 -1
  213. package/dist/genesys-webcomponents/{p-dbad07cb.entry.js → p-4b47b9a4.entry.js} +1 -1
  214. package/dist/genesys-webcomponents/p-5104c53b.entry.js +1 -0
  215. package/dist/genesys-webcomponents/{p-b98f76af.entry.js → p-5337e902.entry.js} +1 -1
  216. package/dist/genesys-webcomponents/{p-00519483.entry.js → p-54b9459a.entry.js} +1 -1
  217. package/dist/genesys-webcomponents/{p-84bc8565.entry.js → p-58bda5cc.entry.js} +1 -1
  218. package/dist/genesys-webcomponents/{p-646c8c96.entry.js → p-6144d461.entry.js} +1 -1
  219. package/dist/genesys-webcomponents/{p-d5939eb4.entry.js → p-61ce5baf.entry.js} +1 -1
  220. package/dist/genesys-webcomponents/p-645e56af.entry.js +1 -0
  221. package/dist/genesys-webcomponents/{p-013eb64c.entry.js → p-6486a070.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-e996ed62.entry.js → p-64cc92ae.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/{p-480ffa9e.entry.js → p-66c6e687.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-c6715c5a.entry.js → p-691014ea.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-e3aa0165.entry.js → p-6ccc7e05.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-eafca6fd.entry.js → p-6d1efc28.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-398cbe65.entry.js → p-6dcf7bdf.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-d30142cc.entry.js → p-75bf6f63.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-b0205823.entry.js → p-7971221c.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-5453b69f.entry.js → p-7a9a5e22.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/{p-6c8e24ef.entry.js → p-84e6bd3b.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/{p-659e0050.entry.js → p-8a39f50c.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/{p-9d36ee95.entry.js → p-8b235c66.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-3308c20e.entry.js → p-94b290da.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-2b7d8c71.entry.js → p-9597d043.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-166e7535.entry.js → p-95e403ce.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-b695ac46.entry.js → p-96163c8e.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-ccaedc78.entry.js → p-9f06be0e.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-44ac7dd3.entry.js → p-9f81f359.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/{p-c66803cf.entry.js → p-9ff6cdf6.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-1255480b.entry.js → p-9ffef09d.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-3e72de53.entry.js → p-a48f4a99.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-448d6c60.entry.js → p-a81c4219.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/{p-371cffc7.entry.js → p-add04063.entry.js} +1 -1
  245. package/dist/genesys-webcomponents/{p-7454d082.entry.js → p-b0aeb870.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-603a557b.entry.js → p-b60c1c22.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-54866ea0.entry.js → p-ba8a662f.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-3d888c4f.entry.js → p-bb51a260.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-5baa156e.entry.js → p-bead3d6f.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-92e0518f.entry.js → p-c0d6c8af.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-3a830867.entry.js → p-c36eb82d.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-440657a8.js → p-c4dce34e.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-98dd850d.entry.js → p-c54a51c4.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-a13ff6ec.entry.js → p-ca85d33a.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/{p-98229921.entry.js → p-ccec7f45.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-647dd4a5.entry.js → p-d06f88d4.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-9df54194.entry.js → p-d2caa510.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-573f5ff0.entry.js → p-d60e2cf7.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-b41cc336.entry.js → p-d7ead098.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-a2f34941.entry.js → p-d861df0b.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-9fe46900.entry.js → p-db597b21.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-cd9decab.entry.js → p-e4bd0fc4.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-9b6e59f2.entry.js → p-e4d6c92a.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-d8fb93d1.entry.js → p-e533777c.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-bb1431b6.entry.js → p-e7c4b37c.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-45517975.entry.js → p-e7e6f626.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-a09cb82d.entry.js → p-eb19e642.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-4b58fc7e.entry.js → p-eece2df4.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-2aac6bab.entry.js → p-f1080449.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-cb3d0262.entry.js → p-f8b31a6e.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-c13e9b91.entry.js → p-f9bef089.entry.js} +1 -1
  272. package/dist/stencil-wrapper.js +1 -1
  273. package/dist/types/components/beta/gux-chart-donut/gux-chart-donut.d.ts +9 -0
  274. package/dist/types/components.d.ts +16 -0
  275. package/package.json +1 -1
  276. package/dist/genesys-webcomponents/p-99b858d1.entry.js +0 -1
  277. package/dist/genesys-webcomponents/p-b1bffdc0.entry.js +0 -1
  278. package/dist/genesys-webcomponents/p-b1cb1a31.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,g as e}from"./p-e571f861.js";import{t as o}from"./p-440657a8.js";import{O as n}from"./p-49b1912a.js";const a=class{constructor(i){t(this,i),this.open=s(this,"open",7),this.close=s(this,"close",7),this.moveFocusDelay=100,this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const s=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,s.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":s.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){switch(t.key){case" ":t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():this.close.emit()}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){setTimeout((()=>{this.listElement.focus()}),this.moveFocusDelay)}focusFirstItemInPopupList(){setTimeout((()=>{this.listElement.guxFocusFirstItem()}),this.moveFocusDelay)}componentWillLoad(){o(this.root,{variant:this.accent})}render(){return i("gux-popup",{expanded:this.isOpen,disabled:this.disabled},i("div",{slot:"target",class:"gux-button-multi-container"},i("gux-button-slot-beta",{class:"gux-dropdown-button",accent:this.accent},i("button",{type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},i("span",null,this.text),i("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),i("div",{class:"gux-list-container",slot:"popup"},i("gux-list",{ref:t=>this.listElement=t},i("slot",null))))}get root(){return e(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,s,i,e){var o,n=arguments.length,a=n<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,e);else for(var h=t.length-1;h>=0;h--)(o=t[h])&&(a=(n<3?o(a):n>3?o(s,i,a):o(s,i))||a);n>3&&a&&Object.defineProperty(s,i,a)})([n({triggerEvents:"mousedown"})],a.prototype,"onClickOutside",null),a.style=":host{display:block;-webkit-user-select:none;user-select:none;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}.gux-button-multi-container .gux-dropdown-button button>*{vertical-align:middle}.gux-button-multi-container .gux-dropdown-button button gux-icon{width:16px;height:16px;margin-left:8px}.gux-list-container{padding:8px 0;margin:0;list-style:none;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}";export{a as gux_button_multi}
1
+ import{r as t,c as s,h as i,g as e}from"./p-e571f861.js";import{t as o}from"./p-c4dce34e.js";import{O as n}from"./p-49b1912a.js";const a=class{constructor(i){t(this,i),this.open=s(this,"open",7),this.close=s(this,"close",7),this.moveFocusDelay=100,this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const s=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,s.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":s.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){switch(t.key){case" ":t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():this.close.emit()}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){setTimeout((()=>{this.listElement.focus()}),this.moveFocusDelay)}focusFirstItemInPopupList(){setTimeout((()=>{this.listElement.guxFocusFirstItem()}),this.moveFocusDelay)}componentWillLoad(){o(this.root,{variant:this.accent})}render(){return i("gux-popup",{expanded:this.isOpen,disabled:this.disabled},i("div",{slot:"target",class:"gux-button-multi-container"},i("gux-button-slot-beta",{class:"gux-dropdown-button",accent:this.accent},i("button",{type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},i("span",null,this.text),i("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),i("div",{class:"gux-list-container",slot:"popup"},i("gux-list",{ref:t=>this.listElement=t},i("slot",null))))}get root(){return e(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,s,i,e){var o,n=arguments.length,a=n<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,e);else for(var h=t.length-1;h>=0;h--)(o=t[h])&&(a=(n<3?o(a):n>3?o(s,i,a):o(s,i))||a);n>3&&a&&Object.defineProperty(s,i,a)})([n({triggerEvents:"mousedown"})],a.prototype,"onClickOutside",null),a.style=":host{display:block;-webkit-user-select:none;user-select:none;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}.gux-button-multi-container .gux-dropdown-button button>*{vertical-align:middle}.gux-button-multi-container .gux-dropdown-button button gux-icon{width:16px;height:16px;margin-left:8px}.gux-list-container{padding:8px 0;margin:0;list-style:none;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}";export{a as gux_button_multi}
@@ -1 +1 @@
1
- import{r as t,h as i,g as n}from"./p-e571f861.js";import{b as e}from"./p-523a0237.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-e571f861.js";import{b as e}from"./p-4154675a.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,c as e,h as o,g as i}from"./p-e571f861.js";import{b as a}from"./p-523a0237.js";import"./p-8a133b9b.js";const s={clearSelection:"Clear {numberSelected} selected items"},n=class{constructor(o){t(this,o),this.guxclearselected=e(this,"guxclearselected",7),this.disabled=!1,this.numberSelected=0,this.label=""}onKeyDown(t){switch(t.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){this.disabled||this.guxclearselected.emit()}renderRemoveButton(){return o("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},o("gux-icon",{class:"gux-tag-remove-icon","icon-name":"close","screenreader-text":this.i18n("clearSelection",{numberSelected:this.numberSelected.toString()})}))}async componentWillRender(){this.i18n=await a(this.root,s)}render(){return o("div",{class:{"gux-tag":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString()},this.numberSelected.toString(),this.renderRemoveButton())}get root(){return i(this)}};n.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 4px 2px 8px;font-size:12px;font-weight:bold;color:#2e394c;background-color:#e2e6ee;border-radius:4px}.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:7px}.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{color:rgba(46, 57, 76, 0.5);background-color:rgba(226, 230, 238, 0.5)}";export{n as gux_dropdown_multi_tag}
1
+ import{r as t,c as e,h as o,g as i}from"./p-e571f861.js";import{b as a}from"./p-4154675a.js";import"./p-8a133b9b.js";const s={clearSelection:"Clear {numberSelected} selected items"},n=class{constructor(o){t(this,o),this.guxclearselected=e(this,"guxclearselected",7),this.disabled=!1,this.numberSelected=0,this.label=""}onKeyDown(t){switch(t.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){this.disabled||this.guxclearselected.emit()}renderRemoveButton(){return o("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},o("gux-icon",{class:"gux-tag-remove-icon","icon-name":"close","screenreader-text":this.i18n("clearSelection",{numberSelected:this.numberSelected.toString()})}))}async componentWillRender(){this.i18n=await a(this.root,s)}render(){return o("div",{class:{"gux-tag":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString()},this.numberSelected.toString(),this.renderRemoveButton())}get root(){return i(this)}};n.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 4px 2px 8px;font-size:12px;font-weight:bold;color:#2e394c;background-color:#e2e6ee;border-radius:4px}.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:7px}.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{color:rgba(46, 57, 76, 0.5);background-color:rgba(226, 230, 238, 0.5)}";export{n as gux_dropdown_multi_tag}
@@ -1 +1 @@
1
- import{r as t,h as s,g as i}from"./p-e571f861.js";import{m as r,g as n}from"./p-5ac4e2cf.js";import{t as h}from"./p-440657a8.js";const e=class{constructor(s){t(this,s),this.strategy="start"}componentWillLoad(){h(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",null,this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),i=this.text.substring(this.highlight.length);return s("span",null,s("mark",null,t),i)}return s("span",null,this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),i=t.remaining.substring(0,s),r=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=i+`<mark>${r}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{innerHTML:t.highlighted+t.remaining})}renderFuzzy(){if(r(this.highlight,this.text)){const t=n(this.highlight).reduce(((t,s)=>{const{0:i,index:r,input:n}=t.remaining.match(s),h=n.substring(0,r);return{highlighted:`${t.highlighted+h}<mark>${i}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{innerHTML:t.highlighted+t.remaining})}return s("span",null,this.text)}get root(){return i(this)}};export{e as gux_text_highlight}
1
+ import{r as t,h as s,g as i}from"./p-e571f861.js";import{m as r,g as n}from"./p-5ac4e2cf.js";import{t as h}from"./p-c4dce34e.js";const e=class{constructor(s){t(this,s),this.strategy="start"}componentWillLoad(){h(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",null,this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),i=this.text.substring(this.highlight.length);return s("span",null,s("mark",null,t),i)}return s("span",null,this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),i=t.remaining.substring(0,s),r=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=i+`<mark>${r}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{innerHTML:t.highlighted+t.remaining})}renderFuzzy(){if(r(this.highlight,this.text)){const t=n(this.highlight).reduce(((t,s)=>{const{0:i,index:r,input:n}=t.remaining.match(s),h=n.substring(0,r);return{highlighted:`${t.highlighted+h}<mark>${i}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{innerHTML:t.highlighted+t.remaining})}return s("span",null,this.text)}get root(){return i(this)}};export{e as gux_text_highlight}
@@ -1 +1 @@
1
- import{r as t,c as n,h as e,g as i}from"./p-e571f861.js";import{t as o}from"./p-440657a8.js";import{b as a}from"./p-523a0237.js";import{o as s}from"./p-e2bea786.js";import"./p-8a133b9b.js";const r={eraseBtnAria:"Clear",navigateNextBtn:"Next",navigatePreviousBtn:"Previous",totalMatches:"{currentMatch, number} of {matchCount, number}"},c=class{constructor(e){t(this,e),this.guxcurrentmatchchanged=n(this,"guxcurrentmatchchanged",7),this.matchCount=0,this.currentMatch=0}async clear(){this.disabled||(this.matchCount=0,this.currentMatch=0,this.value="",this.emitCurrentMatchChanged(),this.resetInputSlottedElement())}async componentWillLoad(){o(this.root),this.i18n=await a(this.root,r),this.inputSlottedElement=this.root.querySelector("input"),this.disabled=this.inputSlottedElement.disabled,this.value=this.inputSlottedElement.value,this.disabledObserver=s(this.inputSlottedElement,(t=>{this.disabled=t})),this.inputSlottedElement.addEventListener("input",(t=>this.onInput(t)))}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return e("div",{class:{"gux-content-search":!0,"gux-disabled":this.disabled}},e("div",{class:"gux-search-icon"},e("gux-icon",{decorative:!0,"icon-name":"search"})),e("slot",null),this.getNavigationPanel())}getNavigationPanel(){if(this.showNavigationPanel()){const t=this.disableNavigationPanel();return e("div",{class:"gux-content-control-panel"},e("div",{class:{"gux-navigation-panel":!0,"gux-navigation-disabled":t},title:this.matchCountResult()},e("span",{class:{"gux-navigation-result":!0,"gux-navigation-result-disabled":t},"aria-label":this.matchCountResult()},this.matchCountResult()),e("button",{type:"button",class:"gux-previous-button",title:this.i18n("navigatePreviousBtn"),"aria-label":this.i18n("navigatePreviousBtn"),onClick:()=>this.previousClick(),disabled:t},e("gux-icon",{decorative:!0,"icon-name":"arrow-solid-up"})),e("button",{type:"button",class:"gux-next-button",title:this.i18n("navigateNextBtn"),"aria-label":this.i18n("navigateNextBtn"),onClick:()=>this.nextClick(),disabled:t},e("gux-icon",{decorative:!0,"icon-name":"arrow-solid-down"}))),e("button",{type:"button",class:"gux-clear-button",title:this.i18n("eraseBtnAria"),"aria-label":this.i18n("eraseBtnAria"),onClick:()=>this.clear(),disabled:this.disabled},e("gux-icon",{decorative:!0,"icon-name":"close"})))}return null}matchCountResult(){return this.i18n("totalMatches",{currentMatch:this.getNormalizedCurrentMatch(),matchCount:this.getNormalizedMatchCount()})}showNavigationPanel(){return""!==this.value}disableNavigationPanel(){return this.disabled||this.getNormalizedMatchCount()<=0}getNormalizedMatchCount(){return this.matchCount&&Number.isInteger(this.matchCount)&&this.matchCount>=0?Number(this.matchCount):0}getNormalizedCurrentMatch(){return this.currentMatch&&Number.isInteger(this.currentMatch)&&this.currentMatch>=0&&this.currentMatch<=this.getNormalizedMatchCount()&&this.getNormalizedMatchCount()>0?Number(this.currentMatch):0}resetInputSlottedElement(){this.inputSlottedElement.value="",this.inputSlottedElement.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0})),this.inputSlottedElement.dispatchEvent(new InputEvent("change",{bubbles:!0}))}nextClick(){this.disableNavigationPanel()||(this.currentMatch=this.getNormalizedCurrentMatch()===this.getNormalizedMatchCount()?1:this.getNormalizedCurrentMatch()+1,this.emitCurrentMatchChanged())}previousClick(){this.disableNavigationPanel()||(this.currentMatch=1===this.getNormalizedCurrentMatch()||0===this.getNormalizedCurrentMatch()?this.getNormalizedMatchCount():this.getNormalizedCurrentMatch()-1,this.emitCurrentMatchChanged())}onInput(t){this.value=t.target.value}emitCurrentMatchChanged(){this.guxcurrentmatchchanged.emit(this.getNormalizedCurrentMatch())}get root(){return i(this)}};c.style=":host{display:inline-block;width:300px;min-width:300px;color:#596373}::slotted(input){box-sizing:border-box;width:100%;height:32px;padding:4px 12px;font-family:inherit;font-size:12px;line-height:1.6667;background-color:#fdfdfd;background-image:none;border:1px solid #6b7585;border-radius:2px;flex-basis:100%;flex-shrink:1;min-width:0;height:22px;padding:0;color:#2e394c;background-color:#f6f7f9;border:0;border-radius:0;outline:none}::slotted(input)::placeholder{color:#596373}::slotted(input).gux-focused,::slotted(input):focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}::slotted(input).gux-focused,::slotted(input):focus{border:0;outline:none;box-shadow:none}.gux-content-search{box-sizing:border-box;display:flex;flex-direction:row;width:100%;height:32px;padding:4px 0 4px 0;margin:4px 0;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-content-search.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-content-search:focus,.gux-content-search:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}.gux-content-search .gux-search-icon{display:flex;flex-shrink:0;align-items:center;padding:0 4px 0 8px}.gux-content-search .gux-search-icon:disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-content-search .gux-search-icon gux-icon{width:16px;height:16px}.gux-content-search .gux-content-control-panel{box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;align-content:center;align-items:center;justify-content:flex-end;height:22px;padding:0;line-height:1.6667}.gux-content-search .gux-content-control-panel button{display:block;align-items:center;overflow:hidden;color:#596373;cursor:pointer;background:none;border:none;border-radius:4px;outline:none}.gux-content-search .gux-content-control-panel button:disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-content-search .gux-content-control-panel button:not(:disabled):hover,.gux-content-search .gux-content-control-panel button:not(:disabled):focus{color:#2e394c}.gux-content-search .gux-content-control-panel button:focus:enabled{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-content-search .gux-content-control-panel button gux-icon{width:16px;height:16px}.gux-content-search .gux-content-control-panel .gux-clear-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-right:8px;margin-left:8px}.gux-content-search .gux-content-control-panel .gux-navigation-disabled{pointer-events:auto;cursor:default;opacity:0.5}.gux-content-search .gux-content-control-panel .gux-navigation-panel{display:flex;align-content:center;align-items:center;justify-content:flex-end;border-right:1px solid #596373}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-result{align-items:center;padding-left:8px;font-family:inherit;font-size:12px;white-space:nowrap}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-previous-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-left:4px}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-next-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-right:4px}";export{c as gux_content_search}
1
+ import{r as t,c as n,h as e,g as i}from"./p-e571f861.js";import{t as o}from"./p-c4dce34e.js";import{b as a}from"./p-4154675a.js";import{o as s}from"./p-e2bea786.js";import"./p-8a133b9b.js";const r={eraseBtnAria:"Clear",navigateNextBtn:"Next",navigatePreviousBtn:"Previous",totalMatches:"{currentMatch, number} of {matchCount, number}"},c=class{constructor(e){t(this,e),this.guxcurrentmatchchanged=n(this,"guxcurrentmatchchanged",7),this.matchCount=0,this.currentMatch=0}async clear(){this.disabled||(this.matchCount=0,this.currentMatch=0,this.value="",this.emitCurrentMatchChanged(),this.resetInputSlottedElement())}async componentWillLoad(){o(this.root),this.i18n=await a(this.root,r),this.inputSlottedElement=this.root.querySelector("input"),this.disabled=this.inputSlottedElement.disabled,this.value=this.inputSlottedElement.value,this.disabledObserver=s(this.inputSlottedElement,(t=>{this.disabled=t})),this.inputSlottedElement.addEventListener("input",(t=>this.onInput(t)))}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return e("div",{class:{"gux-content-search":!0,"gux-disabled":this.disabled}},e("div",{class:"gux-search-icon"},e("gux-icon",{decorative:!0,"icon-name":"search"})),e("slot",null),this.getNavigationPanel())}getNavigationPanel(){if(this.showNavigationPanel()){const t=this.disableNavigationPanel();return e("div",{class:"gux-content-control-panel"},e("div",{class:{"gux-navigation-panel":!0,"gux-navigation-disabled":t},title:this.matchCountResult()},e("span",{class:{"gux-navigation-result":!0,"gux-navigation-result-disabled":t},"aria-label":this.matchCountResult()},this.matchCountResult()),e("button",{type:"button",class:"gux-previous-button",title:this.i18n("navigatePreviousBtn"),"aria-label":this.i18n("navigatePreviousBtn"),onClick:()=>this.previousClick(),disabled:t},e("gux-icon",{decorative:!0,"icon-name":"arrow-solid-up"})),e("button",{type:"button",class:"gux-next-button",title:this.i18n("navigateNextBtn"),"aria-label":this.i18n("navigateNextBtn"),onClick:()=>this.nextClick(),disabled:t},e("gux-icon",{decorative:!0,"icon-name":"arrow-solid-down"}))),e("button",{type:"button",class:"gux-clear-button",title:this.i18n("eraseBtnAria"),"aria-label":this.i18n("eraseBtnAria"),onClick:()=>this.clear(),disabled:this.disabled},e("gux-icon",{decorative:!0,"icon-name":"close"})))}return null}matchCountResult(){return this.i18n("totalMatches",{currentMatch:this.getNormalizedCurrentMatch(),matchCount:this.getNormalizedMatchCount()})}showNavigationPanel(){return""!==this.value}disableNavigationPanel(){return this.disabled||this.getNormalizedMatchCount()<=0}getNormalizedMatchCount(){return this.matchCount&&Number.isInteger(this.matchCount)&&this.matchCount>=0?Number(this.matchCount):0}getNormalizedCurrentMatch(){return this.currentMatch&&Number.isInteger(this.currentMatch)&&this.currentMatch>=0&&this.currentMatch<=this.getNormalizedMatchCount()&&this.getNormalizedMatchCount()>0?Number(this.currentMatch):0}resetInputSlottedElement(){this.inputSlottedElement.value="",this.inputSlottedElement.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0})),this.inputSlottedElement.dispatchEvent(new InputEvent("change",{bubbles:!0}))}nextClick(){this.disableNavigationPanel()||(this.currentMatch=this.getNormalizedCurrentMatch()===this.getNormalizedMatchCount()?1:this.getNormalizedCurrentMatch()+1,this.emitCurrentMatchChanged())}previousClick(){this.disableNavigationPanel()||(this.currentMatch=1===this.getNormalizedCurrentMatch()||0===this.getNormalizedCurrentMatch()?this.getNormalizedMatchCount():this.getNormalizedCurrentMatch()-1,this.emitCurrentMatchChanged())}onInput(t){this.value=t.target.value}emitCurrentMatchChanged(){this.guxcurrentmatchchanged.emit(this.getNormalizedCurrentMatch())}get root(){return i(this)}};c.style=":host{display:inline-block;width:300px;min-width:300px;color:#596373}::slotted(input){box-sizing:border-box;width:100%;height:32px;padding:4px 12px;font-family:inherit;font-size:12px;line-height:1.6667;background-color:#fdfdfd;background-image:none;border:1px solid #6b7585;border-radius:2px;flex-basis:100%;flex-shrink:1;min-width:0;height:22px;padding:0;color:#2e394c;background-color:#f6f7f9;border:0;border-radius:0;outline:none}::slotted(input)::placeholder{color:#596373}::slotted(input).gux-focused,::slotted(input):focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}::slotted(input).gux-focused,::slotted(input):focus{border:0;outline:none;box-shadow:none}.gux-content-search{box-sizing:border-box;display:flex;flex-direction:row;width:100%;height:32px;padding:4px 0 4px 0;margin:4px 0;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-content-search.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-content-search:focus,.gux-content-search:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}.gux-content-search .gux-search-icon{display:flex;flex-shrink:0;align-items:center;padding:0 4px 0 8px}.gux-content-search .gux-search-icon:disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-content-search .gux-search-icon gux-icon{width:16px;height:16px}.gux-content-search .gux-content-control-panel{box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;align-content:center;align-items:center;justify-content:flex-end;height:22px;padding:0;line-height:1.6667}.gux-content-search .gux-content-control-panel button{display:block;align-items:center;overflow:hidden;color:#596373;cursor:pointer;background:none;border:none;border-radius:4px;outline:none}.gux-content-search .gux-content-control-panel button:disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-content-search .gux-content-control-panel button:not(:disabled):hover,.gux-content-search .gux-content-control-panel button:not(:disabled):focus{color:#2e394c}.gux-content-search .gux-content-control-panel button:focus:enabled{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-content-search .gux-content-control-panel button gux-icon{width:16px;height:16px}.gux-content-search .gux-content-control-panel .gux-clear-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-right:8px;margin-left:8px}.gux-content-search .gux-content-control-panel .gux-navigation-disabled{pointer-events:auto;cursor:default;opacity:0.5}.gux-content-search .gux-content-control-panel .gux-navigation-panel{display:flex;align-content:center;align-items:center;justify-content:flex-end;border-right:1px solid #596373}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-result{align-items:center;padding-left:8px;font-family:inherit;font-size:12px;white-space:nowrap}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-previous-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-left:4px}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-next-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-right:4px}";export{c as gux_content_search}