genesys-spark-components 3.46.2 → 3.46.4

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 (301) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/capitalize-first-letter-8e2f04e5.js +7 -0
  3. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  4. package/dist/cjs/gux-accordion-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-action-button-legacy.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-action-list-legacy.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-action-toast.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-advanced-dropdown.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 +1 -1
  13. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-calendar.cjs.entry.js +16 -16
  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 +1 -1
  27. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-disclosure-button.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-number.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-inline-alert-beta.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-popover.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-table-beta.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -6
  79. package/dist/cjs/gux-table-toolbar-beta.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -1
  81. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-visualization-beta.cjs.entry.js +1 -1
  93. package/dist/cjs/loader.cjs.js +1 -1
  94. package/dist/cjs/{usage-tracking-d42544b3.js → usage-tracking-597b25ee.js} +1 -1
  95. package/dist/collection/components/beta/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -0
  96. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +6 -16
  97. package/dist/collection/components/stable/gux-calendar/gux-calendar.service.js +10 -0
  98. package/dist/deploy-info.json +3 -3
  99. package/dist/esm/capitalize-first-letter-d2512ec0.js +5 -0
  100. package/dist/esm/genesys-webcomponents.js +1 -1
  101. package/dist/esm/gux-accordion-legacy.entry.js +1 -1
  102. package/dist/esm/gux-accordion.entry.js +1 -1
  103. package/dist/esm/gux-action-button-legacy.entry.js +1 -1
  104. package/dist/esm/gux-action-button.entry.js +1 -1
  105. package/dist/esm/gux-action-list-legacy.entry.js +1 -1
  106. package/dist/esm/gux-action-toast.entry.js +1 -1
  107. package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
  108. package/dist/esm/gux-announce-beta.entry.js +1 -1
  109. package/dist/esm/gux-badge-beta.entry.js +1 -1
  110. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  111. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  112. package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
  113. package/dist/esm/gux-button-multi.entry.js +1 -1
  114. package/dist/esm/gux-button-slot-beta.entry.js +1 -1
  115. package/dist/esm/gux-button.entry.js +1 -1
  116. package/dist/esm/gux-calendar.entry.js +16 -16
  117. package/dist/esm/gux-card-beta.entry.js +1 -1
  118. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  119. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  120. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  121. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  122. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
  123. package/dist/esm/gux-command-palette-legacy.entry.js +1 -1
  124. package/dist/esm/gux-content-search.entry.js +1 -1
  125. package/dist/esm/gux-copy-to-clipboard-beta.entry.js +1 -1
  126. package/dist/esm/gux-date-beta.entry.js +1 -1
  127. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  128. package/dist/esm/gux-datepicker.entry.js +1 -1
  129. package/dist/esm/gux-disclosure-button.entry.js +1 -1
  130. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  131. package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
  132. package/dist/esm/gux-dropdown-multi-beta.entry.js +1 -1
  133. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  134. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  135. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  136. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  137. package/dist/esm/gux-form-field-color.entry.js +1 -1
  138. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  139. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  140. package/dist/esm/gux-form-field-legacy.entry.js +1 -1
  141. package/dist/esm/gux-form-field-number.entry.js +1 -1
  142. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  143. package/dist/esm/gux-form-field-range.entry.js +1 -1
  144. package/dist/esm/gux-form-field-search.entry.js +1 -1
  145. package/dist/esm/gux-form-field-select.entry.js +1 -1
  146. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  147. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  148. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  149. package/dist/esm/gux-icon.entry.js +1 -1
  150. package/dist/esm/gux-inline-alert-beta.entry.js +1 -1
  151. package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
  152. package/dist/esm/gux-list.entry.js +1 -1
  153. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  154. package/dist/esm/gux-loading-message-beta.entry.js +1 -1
  155. package/dist/esm/gux-modal.entry.js +1 -1
  156. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  157. package/dist/esm/gux-notification-toast.entry.js +1 -1
  158. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  159. package/dist/esm/gux-pagination-beta.entry.js +1 -1
  160. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  161. package/dist/esm/gux-pagination.entry.js +1 -1
  162. package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
  163. package/dist/esm/gux-popover-list.entry.js +1 -1
  164. package/dist/esm/gux-popover.entry.js +1 -1
  165. package/dist/esm/gux-radial-loading.entry.js +1 -1
  166. package/dist/esm/gux-radial-progress.entry.js +1 -1
  167. package/dist/esm/gux-rating.entry.js +1 -1
  168. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  169. package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
  170. package/dist/esm/gux-simple-toast.entry.js +1 -1
  171. package/dist/esm/gux-skip-navigation-list-beta.entry.js +1 -1
  172. package/dist/esm/gux-sort-control.entry.js +1 -1
  173. package/dist/esm/gux-switch.entry.js +1 -1
  174. package/dist/esm/gux-table-beta.entry.js +1 -1
  175. package/dist/esm/gux-table-toolbar-action.entry.js +2 -5
  176. package/dist/esm/gux-table-toolbar-beta.entry.js +1 -1
  177. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -1
  178. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  179. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  180. package/dist/esm/gux-tabs-legacy.entry.js +1 -1
  181. package/dist/esm/gux-tabs.entry.js +1 -1
  182. package/dist/esm/gux-tag-beta.entry.js +1 -1
  183. package/dist/esm/gux-text-highlight.entry.js +1 -1
  184. package/dist/esm/gux-text-label-legacy.entry.js +1 -1
  185. package/dist/esm/gux-time-beta.entry.js +1 -1
  186. package/dist/esm/gux-time-picker-beta.entry.js +1 -1
  187. package/dist/esm/gux-toggle.entry.js +1 -1
  188. package/dist/esm/gux-tooltip.entry.js +1 -1
  189. package/dist/esm/gux-visualization-beta.entry.js +1 -1
  190. package/dist/esm/loader.js +1 -1
  191. package/dist/esm/{usage-tracking-6d442031.js → usage-tracking-e3819efe.js} +1 -1
  192. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  193. package/dist/genesys-webcomponents/{p-cd79ca1e.entry.js → p-005b9fc9.entry.js} +1 -1
  194. package/dist/genesys-webcomponents/{p-2e758c0b.entry.js → p-02ec5ca4.entry.js} +1 -1
  195. package/dist/genesys-webcomponents/{p-2404e5cd.entry.js → p-0446a120.entry.js} +1 -1
  196. package/dist/genesys-webcomponents/{p-c42a5be9.entry.js → p-0981f7fd.entry.js} +1 -1
  197. package/dist/genesys-webcomponents/{p-96794685.entry.js → p-0c4c5ce6.entry.js} +1 -1
  198. package/dist/genesys-webcomponents/{p-d3eeae8f.entry.js → p-0d2d5034.entry.js} +1 -1
  199. package/dist/genesys-webcomponents/{p-e7dc7a27.entry.js → p-0f870061.entry.js} +1 -1
  200. package/dist/genesys-webcomponents/{p-b4fa4844.entry.js → p-15aa6b7c.entry.js} +1 -1
  201. package/dist/genesys-webcomponents/{p-3fd75c29.entry.js → p-1786fcff.entry.js} +1 -1
  202. package/dist/genesys-webcomponents/{p-1a5dfa9f.entry.js → p-19bcb3aa.entry.js} +1 -1
  203. package/dist/genesys-webcomponents/{p-25fe6b9a.entry.js → p-1e70efda.entry.js} +1 -1
  204. package/dist/genesys-webcomponents/{p-2c312f85.entry.js → p-20430b1a.entry.js} +1 -1
  205. package/dist/genesys-webcomponents/{p-9324fcb8.entry.js → p-20ba0ce1.entry.js} +1 -1
  206. package/dist/genesys-webcomponents/{p-f9e7ca3a.entry.js → p-24e6091c.entry.js} +1 -1
  207. package/dist/genesys-webcomponents/p-251befef.js +1 -0
  208. package/dist/genesys-webcomponents/p-26785894.entry.js +1 -0
  209. package/dist/genesys-webcomponents/{p-68224479.entry.js → p-2766c87a.entry.js} +1 -1
  210. package/dist/genesys-webcomponents/{p-7e2b8640.entry.js → p-28bdcd31.entry.js} +1 -1
  211. package/dist/genesys-webcomponents/p-2bc35802.entry.js +1 -0
  212. package/dist/genesys-webcomponents/p-339e9899.entry.js +1 -0
  213. package/dist/genesys-webcomponents/p-355be9c4.entry.js +1 -0
  214. package/dist/genesys-webcomponents/{p-0b4669e8.entry.js → p-3581f638.entry.js} +1 -1
  215. package/dist/genesys-webcomponents/p-431cdbb6.entry.js +1 -0
  216. package/dist/genesys-webcomponents/{p-15988216.entry.js → p-43220c95.entry.js} +1 -1
  217. package/dist/genesys-webcomponents/{p-e7074602.entry.js → p-433ab47c.entry.js} +1 -1
  218. package/dist/genesys-webcomponents/{p-4f862b1d.entry.js → p-4849f54b.entry.js} +1 -1
  219. package/dist/genesys-webcomponents/{p-23fa2a1e.entry.js → p-49f0d55f.entry.js} +1 -1
  220. package/dist/genesys-webcomponents/{p-08a2b9f8.entry.js → p-4b158c94.entry.js} +1 -1
  221. package/dist/genesys-webcomponents/{p-99666f89.entry.js → p-4f08d6a2.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-2d50e946.entry.js → p-51389620.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/{p-28b1b22e.entry.js → p-5cd5d51f.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-9167970b.entry.js → p-5d5c5a48.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-203d802f.entry.js → p-643a42a0.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-da98417f.entry.js → p-65aae05c.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-3c3a0f70.entry.js → p-65c75c44.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-6597b663.entry.js → p-694661fc.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-9e8467f2.entry.js → p-6f155480.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-3656236e.entry.js → p-706d96a1.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/{p-e0e19b8c.entry.js → p-70909f63.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/{p-720e02d8.entry.js → p-7492fb16.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/{p-df1d11f0.entry.js → p-7b1ad9b4.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-cfdb4205.entry.js → p-7b1d2c5b.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-ee6fe59f.entry.js → p-7d49e5ae.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-a82d37c2.entry.js → p-7eea55f4.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-7875a264.entry.js → p-80502219.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-88ee5426.entry.js → p-83054745.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-9b8cc0f7.entry.js → p-89c58899.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/{p-f342ed3e.entry.js → p-8fb52b69.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-8fb7b25a.entry.js → p-99be39e9.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/p-a020860e.entry.js +1 -0
  243. package/dist/genesys-webcomponents/{p-f6840821.entry.js → p-a59a62bb.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/{p-e92a1afb.entry.js → p-a86ee62a.entry.js} +1 -1
  245. package/dist/genesys-webcomponents/{p-596cb4e7.entry.js → p-ab19bab2.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-98d40a24.entry.js → p-ab6243ae.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-9074a58f.entry.js → p-b29da9f7.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-5d836f5f.entry.js → p-b476ec85.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-6b66c762.entry.js → p-b5b80c93.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/p-b604f404.entry.js +1 -0
  251. package/dist/genesys-webcomponents/{p-16d47734.entry.js → p-b6a58489.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/p-b86185a4.entry.js +1 -0
  253. package/dist/genesys-webcomponents/p-b98999f2.entry.js +1 -0
  254. package/dist/genesys-webcomponents/p-bbd0d54f.entry.js +1 -0
  255. package/dist/genesys-webcomponents/{p-b3cd2713.entry.js → p-c02b2cc7.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-7c49a729.entry.js → p-c1dbebaf.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-804a1d67.entry.js → p-c673601b.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/p-c733ea48.entry.js +1 -0
  259. package/dist/genesys-webcomponents/{p-b69bcb15.entry.js → p-c75f610e.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-03d88f7b.entry.js → p-c9723734.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-4c0e3e67.entry.js → p-c9e1e061.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-d5466b38.entry.js → p-ca187f8a.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-f9d3110a.entry.js → p-cfa48f7e.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-a571061d.entry.js → p-d04e142f.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-5ad5c908.entry.js → p-d2784a55.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/p-d47a884b.entry.js +1 -0
  267. package/dist/genesys-webcomponents/{p-4c877227.entry.js → p-d557f742.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-00653a47.entry.js → p-d65f6a17.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/p-d701b8da.entry.js +1 -0
  270. package/dist/genesys-webcomponents/{p-fafc4634.entry.js → p-d7638179.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-215d3878.entry.js → p-d919b911.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-f409a0c4.entry.js → p-dbbf6acc.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-677ed372.entry.js → p-dbd16fc1.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-57daa44a.entry.js → p-dc5f2e0b.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-0cc51b7e.entry.js → p-dd7ba46e.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-e8c8be7a.entry.js → p-e162987e.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-a4279bf2.entry.js → p-e86d1ae8.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-ded19337.entry.js → p-ed33c6cd.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-0a6d003e.entry.js → p-ee2457ea.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-4c296c2a.entry.js → p-f309ebcc.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-5675a8a0.js → p-f3db22e5.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-9ffea044.entry.js → p-f97ae7f5.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-b2e26592.entry.js → p-f9fbeb2a.entry.js} +1 -1
  284. package/dist/stencil-wrapper.js +1 -1
  285. package/dist/types/components/stable/gux-calendar/gux-calendar.d.ts +0 -2
  286. package/dist/types/components/stable/gux-calendar/gux-calendar.service.d.ts +2 -0
  287. package/dist/types/stencil-wrapper.d.ts +1 -1
  288. package/package.json +1 -1
  289. package/dist/genesys-webcomponents/p-0cd2a54a.entry.js +0 -1
  290. package/dist/genesys-webcomponents/p-1e9ec0c5.entry.js +0 -1
  291. package/dist/genesys-webcomponents/p-2fd389ec.entry.js +0 -1
  292. package/dist/genesys-webcomponents/p-59cee7f0.entry.js +0 -1
  293. package/dist/genesys-webcomponents/p-757b1039.entry.js +0 -1
  294. package/dist/genesys-webcomponents/p-93d2bb91.entry.js +0 -1
  295. package/dist/genesys-webcomponents/p-9ffc2841.entry.js +0 -1
  296. package/dist/genesys-webcomponents/p-aca124f0.entry.js +0 -1
  297. package/dist/genesys-webcomponents/p-bb86939c.entry.js +0 -1
  298. package/dist/genesys-webcomponents/p-be10a3bc.entry.js +0 -1
  299. package/dist/genesys-webcomponents/p-c2c0faf1.entry.js +0 -1
  300. package/dist/genesys-webcomponents/p-d185b745.entry.js +0 -1
  301. package/dist/genesys-webcomponents/p-ef3207af.entry.js +0 -1
@@ -1 +1 @@
1
- const e=[function(e){const[t,n,...o]=e.split(".");return{name:"spark-library",metadata:{fullVersion:`${t}.${n}.${o.join(".")}`,majorVersion:t,minorVersion:`${t}.${n}`}}}("3.46.2")];function t(){const n=window.newrelic;if(n){for(let o=0;o<20;o++){if(0==e.length)return void setTimeout(t,3e4);const o=e.shift();n.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:e.length}))}setTimeout(t,3e4)}}let n=!1;function o(o,i){window.newrelic&&(n||(n=!0,t()),document.contains(o)&&e.push({name:"spark-component",metadata:Object.assign(Object.assign({},i),{component:o.tagName.toLowerCase(),version:"3.46.2"})}))}export{o as t}
1
+ const e=[function(e){const[t,n,...o]=e.split(".");return{name:"spark-library",metadata:{fullVersion:`${t}.${n}.${o.join(".")}`,majorVersion:t,minorVersion:`${t}.${n}`}}}("3.46.4")];function t(){const n=window.newrelic;if(n){for(let o=0;o<20;o++){if(0==e.length)return void setTimeout(t,3e4);const o=e.shift();n.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:e.length}))}setTimeout(t,3e4)}}let n=!1;function o(o,i){window.newrelic&&(n||(n=!0,t()),document.contains(o)&&e.push({name:"spark-component",metadata:Object.assign(Object.assign({},i),{component:o.tagName.toLowerCase(),version:"3.46.4"})}))}export{o as t}
@@ -1 +1 @@
1
- import{r as t,h as s,g as i}from"./p-7a1d01cb.js";import{m as r,g as n}from"./p-5ac4e2cf.js";import{t as h}from"./p-5675a8a0.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-7a1d01cb.js";import{m as r,g as n}from"./p-5ac4e2cf.js";import{t as h}from"./p-f3db22e5.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 e,c as t,h as s,g as o}from"./p-7a1d01cb.js";import{o as i}from"./p-93904222.js";import{O as n}from"./p-f77f86a9.js";import{a as r}from"./p-091f51f6.js";import{t as p}from"./p-5675a8a0.js";import{b as a}from"./p-0d3c1ee5.js";import"./p-8a133b9b.js";const u={searchAria:"Search"};const c=class{constructor(s){e(this,s),this.input=t(this,"input",7),this.filter=t(this,"filter",7),this.disabled=!1,this.noFilter=!1,this.filterDebounceTimeout=500,this.dropdownHeight="320px"}watchValue(e){this.opened&&e&&this.closeDropdown(!1)}get value(){var e;return null===(e=this.currentlySelectedOption)||void 0===e?void 0:e.text}getSelectedValues(){return Promise.resolve([this.value])}async setLabeledBy(e){this.srLabelledby=e}onClickOutside(){this.closeDropdown(!1)}async componentWillLoad(){p(this.root),this.i18n=await a(this.root,u),this.handleSelectionChange=this.handleSelectionChange.bind(this),this.updateSelectionState(),this.addOptionListener(),this.slotObserver=i(this.root,(()=>this.updateSelectionState()))}disconnectedCallback(){this.slotObserver.disconnect()}render(){return s("gux-popup",{expanded:this.opened,disabled:this.disabled},s("div",{slot:"target",class:"gux-select-field",onMouseDown:()=>this.inputMouseDown()},s("a",{ref:e=>this.inputBox=e,class:"gux-select-input","aria-labelledby":this.srLabelledby,tabindex:"0",onKeyDown:e=>this.inputKeyDown(e)},this.placeholder&&!this.value&&s("span",{class:"gux-select-placeholder",title:this.placeholder},this.placeholder),this.value&&s("span",{class:"gux-select-value",title:this.value},this.value)),s("div",{class:"gux-icon-wrapper"},s("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"}))),s("div",{slot:"popup",class:"gux-advanced-dropdown-menu"},s("div",{class:"gux-dropdown-menu-container"},s("gux-form-field-search",{"label-position":"screenreader"},s("label",{slot:"label"},this.i18n("searchAria")),s("input",{slot:"input",type:"search",onInput:e=>{this.handleSearchInput(e)},ref:e=>this.searchInput=e})),s("div",{class:"gux-dropdown-options",style:{maxHeight:this.dropdownHeight},onKeyDown:e=>this.optionsKeyDown(e)},s("slot",null)))))}updateSelectionState(){this.selectionOptions=this.getSelectionOptions(),this.currentlySelectedOption=this.selectionOptions.find((e=>e.selected))}addOptionListener(){this.root.addEventListener("selectedChanged",(e=>this.handleSelectionChange(e)))}handleSelectionChange({target:e}){const t=e;this.closeDropdown(!0),this.currentlySelectedOption!==t&&(this.currentlySelectedOption&&(this.currentlySelectedOption.selected=!1),this.currentlySelectedOption=t,this.input.emit(t.value))}getSelectionOptions(){const e=this.root.querySelectorAll("gux-dropdown-option");return Array.from(e)}inputMouseDown(){this.disabled||(this.opened?this.closeDropdown(!0):this.openDropdown(!1))}getFocusIndex(){return this.selectionOptions.findIndex((e=>e.matches(":focus")))}optionsKeyDown(e){switch(e.key){case"ArrowUp":{e.preventDefault();const t=this.getFocusIndex();t>0&&this.selectionOptions[t-1].focus();break}case"ArrowDown":{e.preventDefault();const t=this.getFocusIndex();t<this.selectionOptions.length-1&&this.selectionOptions[t+1].focus();break}case"Home":if(!this.selectionOptions.length)return;this.selectionOptions[0].focus();break;case"End":if(!this.selectionOptions.length)return;this.selectionOptions[this.selectionOptions.length-1].focus()}}inputKeyDown(e){switch(e.key){case"ArrowUp":case"ArrowDown":case" ":this.openDropdown(!0)}}handleSearchInput(e){e.stopPropagation(),clearTimeout(this.filterDebounceTimer),this.filterDebounceTimer=setTimeout((()=>this.searchRequested()),this.filterDebounceTimeout)}searchRequested(){this.filter.emit(this.searchInput.value),this.setFilteredOptions()}setFilteredOptions(){const e=this.searchInput.value;if(!this.noFilter)for(const t of this.selectionOptions)t.shouldFilter(e).then((e=>{t.filtered=e}))}changeFocusToSearch(){r((()=>{this.searchInput.focus()}))}openDropdown(e){this.opened=!0,e&&this.changeFocusToSearch()}closeDropdown(e){this.opened=!1,this.searchInput.value="",this.setFilteredOptions(),e&&this.inputBox.focus()}get root(){return o(this)}static get watchers(){return{disabled:["watchValue"]}}};(function(e,t,s,o){var i,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,o);else for(var p=e.length-1;p>=0;p--)(i=e[p])&&(r=(n<3?i(r):n>3?i(t,s,r):i(t,s))||r);n>3&&r&&Object.defineProperty(t,s,r)})([n({triggerEvents:"mousedown"})],c.prototype,"onClickOutside",null),c.style=":host{color:#2e394c}gux-popup{display:block;margin:4px 0}gux-popup .gux-select-field{position:relative;width:100%;height:32px}gux-popup .gux-select-field a.gux-select-input{position:absolute;top:0;right:0;bottom:0;left:0;padding:6px 24px 6px 12px;overflow:hidden;color:#2e394c;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;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-popup .gux-select-field a.gux-select-input .gux-select-placeholder,gux-popup .gux-select-field a.gux-select-input .gux-select-value{line-height:20px}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder{color:#596373}gux-popup .gux-select-field a.gux-select-input:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}gux-popup .gux-select-field .gux-icon-wrapper{position:absolute;top:1px;right:8px;bottom:0;display:flex;align-items:center;overflow:hidden;cursor:pointer}gux-popup .gux-select-field .gux-icon-wrapper gux-icon{width:16px;height:16px;color:#596373}gux-popup .gux-select-field:hover .gux-icon-wrapper gux-icon{color:#2e394c}gux-popup .gux-advanced-dropdown-menu{width:100%;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 0 2px 0 rgba(32, 41, 55, 0.24);box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search{margin:8px 16px}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-cancel-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-results-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}gux-popup .gux-dropdown-options{padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border-radius:4px;box-shadow:none}";export{c as gux_advanced_dropdown}
1
+ import{r as e,c as t,h as s,g as o}from"./p-7a1d01cb.js";import{o as i}from"./p-93904222.js";import{O as n}from"./p-f77f86a9.js";import{a as r}from"./p-091f51f6.js";import{t as p}from"./p-f3db22e5.js";import{b as a}from"./p-0d3c1ee5.js";import"./p-8a133b9b.js";const u={searchAria:"Search"};const c=class{constructor(s){e(this,s),this.input=t(this,"input",7),this.filter=t(this,"filter",7),this.disabled=!1,this.noFilter=!1,this.filterDebounceTimeout=500,this.dropdownHeight="320px"}watchValue(e){this.opened&&e&&this.closeDropdown(!1)}get value(){var e;return null===(e=this.currentlySelectedOption)||void 0===e?void 0:e.text}getSelectedValues(){return Promise.resolve([this.value])}async setLabeledBy(e){this.srLabelledby=e}onClickOutside(){this.closeDropdown(!1)}async componentWillLoad(){p(this.root),this.i18n=await a(this.root,u),this.handleSelectionChange=this.handleSelectionChange.bind(this),this.updateSelectionState(),this.addOptionListener(),this.slotObserver=i(this.root,(()=>this.updateSelectionState()))}disconnectedCallback(){this.slotObserver.disconnect()}render(){return s("gux-popup",{expanded:this.opened,disabled:this.disabled},s("div",{slot:"target",class:"gux-select-field",onMouseDown:()=>this.inputMouseDown()},s("a",{ref:e=>this.inputBox=e,class:"gux-select-input","aria-labelledby":this.srLabelledby,tabindex:"0",onKeyDown:e=>this.inputKeyDown(e)},this.placeholder&&!this.value&&s("span",{class:"gux-select-placeholder",title:this.placeholder},this.placeholder),this.value&&s("span",{class:"gux-select-value",title:this.value},this.value)),s("div",{class:"gux-icon-wrapper"},s("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"}))),s("div",{slot:"popup",class:"gux-advanced-dropdown-menu"},s("div",{class:"gux-dropdown-menu-container"},s("gux-form-field-search",{"label-position":"screenreader"},s("label",{slot:"label"},this.i18n("searchAria")),s("input",{slot:"input",type:"search",onInput:e=>{this.handleSearchInput(e)},ref:e=>this.searchInput=e})),s("div",{class:"gux-dropdown-options",style:{maxHeight:this.dropdownHeight},onKeyDown:e=>this.optionsKeyDown(e)},s("slot",null)))))}updateSelectionState(){this.selectionOptions=this.getSelectionOptions(),this.currentlySelectedOption=this.selectionOptions.find((e=>e.selected))}addOptionListener(){this.root.addEventListener("selectedChanged",(e=>this.handleSelectionChange(e)))}handleSelectionChange({target:e}){const t=e;this.closeDropdown(!0),this.currentlySelectedOption!==t&&(this.currentlySelectedOption&&(this.currentlySelectedOption.selected=!1),this.currentlySelectedOption=t,this.input.emit(t.value))}getSelectionOptions(){const e=this.root.querySelectorAll("gux-dropdown-option");return Array.from(e)}inputMouseDown(){this.disabled||(this.opened?this.closeDropdown(!0):this.openDropdown(!1))}getFocusIndex(){return this.selectionOptions.findIndex((e=>e.matches(":focus")))}optionsKeyDown(e){switch(e.key){case"ArrowUp":{e.preventDefault();const t=this.getFocusIndex();t>0&&this.selectionOptions[t-1].focus();break}case"ArrowDown":{e.preventDefault();const t=this.getFocusIndex();t<this.selectionOptions.length-1&&this.selectionOptions[t+1].focus();break}case"Home":if(!this.selectionOptions.length)return;this.selectionOptions[0].focus();break;case"End":if(!this.selectionOptions.length)return;this.selectionOptions[this.selectionOptions.length-1].focus()}}inputKeyDown(e){switch(e.key){case"ArrowUp":case"ArrowDown":case" ":this.openDropdown(!0)}}handleSearchInput(e){e.stopPropagation(),clearTimeout(this.filterDebounceTimer),this.filterDebounceTimer=setTimeout((()=>this.searchRequested()),this.filterDebounceTimeout)}searchRequested(){this.filter.emit(this.searchInput.value),this.setFilteredOptions()}setFilteredOptions(){const e=this.searchInput.value;if(!this.noFilter)for(const t of this.selectionOptions)t.shouldFilter(e).then((e=>{t.filtered=e}))}changeFocusToSearch(){r((()=>{this.searchInput.focus()}))}openDropdown(e){this.opened=!0,e&&this.changeFocusToSearch()}closeDropdown(e){this.opened=!1,this.searchInput.value="",this.setFilteredOptions(),e&&this.inputBox.focus()}get root(){return o(this)}static get watchers(){return{disabled:["watchValue"]}}};(function(e,t,s,o){var i,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,o);else for(var p=e.length-1;p>=0;p--)(i=e[p])&&(r=(n<3?i(r):n>3?i(t,s,r):i(t,s))||r);n>3&&r&&Object.defineProperty(t,s,r)})([n({triggerEvents:"mousedown"})],c.prototype,"onClickOutside",null),c.style=":host{color:#2e394c}gux-popup{display:block;margin:4px 0}gux-popup .gux-select-field{position:relative;width:100%;height:32px}gux-popup .gux-select-field a.gux-select-input{position:absolute;top:0;right:0;bottom:0;left:0;padding:6px 24px 6px 12px;overflow:hidden;color:#2e394c;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;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-popup .gux-select-field a.gux-select-input .gux-select-placeholder,gux-popup .gux-select-field a.gux-select-input .gux-select-value{line-height:20px}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder{color:#596373}gux-popup .gux-select-field a.gux-select-input:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}gux-popup .gux-select-field .gux-icon-wrapper{position:absolute;top:1px;right:8px;bottom:0;display:flex;align-items:center;overflow:hidden;cursor:pointer}gux-popup .gux-select-field .gux-icon-wrapper gux-icon{width:16px;height:16px;color:#596373}gux-popup .gux-select-field:hover .gux-icon-wrapper gux-icon{color:#2e394c}gux-popup .gux-advanced-dropdown-menu{width:100%;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 0 2px 0 rgba(32, 41, 55, 0.24);box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search{margin:8px 16px}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-cancel-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-results-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}gux-popup .gux-dropdown-options{padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border-radius:4px;box-shadow:none}";export{c as gux_advanced_dropdown}
@@ -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
- export const CDN_URL = 'https://app.mypurecloud.com/spark-components/build-assets/3.46.1-298/genesys-webcomponents/';
9
+ export const CDN_URL = 'https://app.mypurecloud.com/spark-components/build-assets/3.46.3-302/genesys-webcomponents/';
10
10
  export async function registerElements() {
11
11
  if (CDN_URL) {
12
12
  await defineCustomElements(window, { resourcesUrl: CDN_URL });
@@ -48,8 +48,6 @@ export declare class GuxCalendar {
48
48
  resetCalendarView(value: Date): Promise<void>;
49
49
  incrementPreviewDateByMonth(increment: number): void;
50
50
  setValueAndEmit(value: Date | [Date, Date]): Promise<void>;
51
- getMonthLabel(index: number): string;
52
- getYearLabel(index: number): number;
53
51
  outOfBounds(date: Date): boolean;
54
52
  generateDatesFrom(month: number, startDate: Date, length: number): IDateElement[];
55
53
  create2DArray(arr: IDateElement[], chunkSize: number): IDateElement[][];
@@ -1,2 +1,4 @@
1
1
  export declare function firstDateInMonth(month: number, year: number, startDayOfWeek: number): Date;
2
2
  export declare function getWeekdays(locale: Intl.LocalesArgument, startDayOfWeek: number): string[];
3
+ export declare function getOffsetMonthDate(baseDate: Date, monthDelta: number): Date;
4
+ export declare function getDateMonthAndYearString(date: Date, locale: string): string;
@@ -1,2 +1,2 @@
1
- export declare const CDN_URL = "https://app.mypurecloud.com/spark-components/build-assets/3.46.1-298/genesys-webcomponents/";
1
+ export declare const CDN_URL = "https://app.mypurecloud.com/spark-components/build-assets/3.46.3-302/genesys-webcomponents/";
2
2
  export declare function registerElements(): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesys-spark-components",
3
- "version": "3.46.2",
3
+ "version": "3.46.4",
4
4
  "description": "Common webcomponents",
5
5
  "license": "MIT",
6
6
  "main": "dist/stencil-wrapper.js",
@@ -1 +0,0 @@
1
- import{r as t,h as s,H as r,g as o}from"./p-7a1d01cb.js";import{t as a}from"./p-5675a8a0.js";import{D as e}from"./p-7732c756.js";import{g as i}from"./p-0d3c1ee5.js";import"./p-8a133b9b.js";const p=class{constructor(s){t(this,s),this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){a(this.root),this.formatter=new e(i(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 +0,0 @@
1
- import{r as t,h as o,g as s}from"./p-7a1d01cb.js";import{t as i}from"./p-5675a8a0.js";const e=class{constructor(o){t(this,o),this.iconOnly=!1,this.accent="secondary"}componentWillLoad(){i(this.root)}render(){return o("gux-button-slot-beta",{accent:this.accent},o("button",{type:"button",class:"gux-action-title"},o("slot",{name:"icon"}),o("span",{class:{"gux-sr-only":this.iconOnly}},o("slot",{name:"text"}))))}get root(){return s(this)}};e.style=".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-action-title{display:flex;flex-direction:row;gap:8px;align-items:center}.gux-action-title slot[name='icon']::slotted(gux-icon){width:16px;height:16px}";export{e as gux_table_toolbar_custom_action}
@@ -1 +0,0 @@
1
- import{r as t,f as i,h as e,g as o}from"./p-7a1d01cb.js";import{c as r,o as s}from"./p-3f5341ea.js";import{O as n}from"./p-939b6e89.js";import{a}from"./p-e2bea786.js";import{p as l}from"./p-c10e41a9.js";import{h as p}from"./p-08bc2e6b.js";import{h,s as f,c as u,G as x,a as g,v as c,g as d}from"./p-f38a8393.js";import{G as m,a as b}from"./p-b6ea91fa.js";import{t as w}from"./p-5675a8a0.js";import"./p-cbcbd1bb.js";import"./p-45fec011.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const y=class{constructor(i){t(this,i),this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help")}async guxForceUpdate(){this.hasContent=h(this.input),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),i(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&f(this.root,this.input,"prefix"),this.hasSuffix&&f(this.root,this.input,"suffix"),w(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return e(b,{labelPosition:this.computedLabelPosition},e(m,{position:this.computedLabelPosition,required:this.required},e("slot",{name:"label",onSlotchange:()=>this.setLabel()})),e("div",{class:"gux-input-and-error-container"},e("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},e("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix}},e("slot",{name:"prefix"}),e("slot",{name:"input"}),e("slot",{name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&e("gux-form-field-input-clear-button",{onClick:()=>u(this.input)}))),e(x,{show:this.hasError},e("slot",{name:"error"})),e(g,{show:!this.hasError&&this.hasHelp},e("slot",{name:"help"}))))}get variant(){const t=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${t}`}setInput(){this.input=this.root.querySelector('input[type="email"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=h(this.input),l(this.input),this.input.addEventListener("input",(()=>{this.hasContent=h(this.input)})),this.disabled=r(this.input),this.required=this.input.required,this.disabledObserver=s(this.input,(t=>{this.disabled=t})),this.requiredObserver=a(this.input,(t=>{this.required=t})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=d(this.label,this.labelPosition)}get root(){return o(this)}};(function(t,i,e,o){var r,s=arguments.length,n=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,e,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(i,e,n):r(i,e))||n);s>3&&n&&Object.defineProperty(i,e,n)})([n({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style=".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.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(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}slot[name='prefix'],slot[name='suffix']{color:#2e394c;white-space:nowrap}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .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-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:right}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}";export{y as gux_form_field_text_like}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as e,g as i}from"./p-7a1d01cb.js";import{t as o}from"./p-5675a8a0.js";import{b as n}from"./p-0d3c1ee5.js";import"./p-8a133b9b.js";const a={previous:"Previous",next:"Next"},r=class{constructor(e){t(this,e),this.guxPaginationCursorchange=s(this,"guxPaginationCursorchange",7),this.hasPrevious=!1,this.hasNext=!1}onButtonClick(t){("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){o(this.root),this.i18n=await n(this.root,a)}render(){return[e("gux-button-slot-beta",{accent:"secondary"},e("button",{type:"button",title:this.i18n("previous"),disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},e("gux-icon",{decorative:!0,iconName:"chevron-small-left"}))),e("gux-button-slot-beta",{accent:"secondary"},e("button",{type:"button",title:this.i18n("next"),disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},e("gux-icon",{decorative:!0,iconName:"chevron-small-right"})))]}get root(){return i(this)}};r.style=":host{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:space-between}";export{r as gux_pagination_cursor}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as n,g as a}from"./p-7a1d01cb.js";import{a as s}from"./p-091f51f6.js";import{a as i,c as r,b as o,f as d}from"./p-4f26144b.js";import{t as h}from"./p-5675a8a0.js";import{g as l,a as c}from"./p-0d3c1ee5.js";import"./p-8a133b9b.js";function u(t,e){g(t,"remove",e)}function g(t=[],e,n){const a=[].concat(t);for(const t of a)t.classList[e](n)}const x=class{constructor(n){t(this,n),this.input=e(this,"input",7),this.value="",this.minDate="",this.maxDate="",this.mode="single",this.numberOfMonths=1,this.previewValue=new Date,this.selectingDate=null,this.locale="en"}emitInput(){this.input.emit(this.value)}async setValue(t){if("range"===this.mode&&t instanceof Array){const[e,n]=t;this.value=i(e,n),this.previewValue=r(this.value)[0]}else{const e=t;this.value=o(e),this.previewValue=e}}async focusPreviewDate(){const t=this.root.shadowRoot.querySelector(`td[data-date="${this.previewValue.getTime()}"]`);t&&t.focus()}async resetCalendarView(t){this.previewValue=t}incrementPreviewDateByMonth(t){this.previewValue=new Date(this.previewValue.getFullYear(),this.previewValue.getMonth()+t,15,0,0,0),s((()=>{this.focusPreviewDate()}))}async setValueAndEmit(t){await this.setValue(t),this.emitInput()}getMonthLabel(t){const e=new Date(this.previewValue.getTime());e.setDate(1),e.setMonth(e.getMonth()+t);const n=e.toLocaleString(this.locale,{month:"long"});return n.charAt(0).toUpperCase()+n.slice(1)}getYearLabel(t){const e=new Date(this.previewValue.getTime());return e.setMonth(e.getMonth()+t),e.getFullYear()}outOfBounds(t){return""!==this.maxDate&&d(this.maxDate)<t||""!==this.minDate&&d(this.minDate)>t}generateDatesFrom(t,e,n){const a=[],s=new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0);for(let e=0;e<n;e++){const e=new Date(s.getFullYear(),s.getMonth(),s.getDate(),0,0,0,0),n=[];let i=!1,o=!1;e.getMonth()!==t&&(n.push("gux-not-in-month"),i=!0,"range"===this.mode&&(n.push("gux-hidden"),o=!0)),this.outOfBounds(e)&&(n.push("gux-disabled"),i=!0);let h=!1;if("range"===this.mode){const[t,a]=r(this.value),s=t.getTime(),i=a.getTime();e.getTime()===s?(h=!0,n.push("gux-selected"),n.push("gux-start-date")):e.getTime()===i&&(h=!0,n.push("gux-selected"),n.push("gux-end-date"))}else{const t=d(this.value).getTime();e.getTime()===t&&(h=!0,n.push("gux-selected"))}a.push({class:n.join(" "),date:e,hidden:o,disabled:i,selected:h}),s.setDate(s.getDate()+1)}return a}create2DArray(t,e){const n=[];for(let a=0;a<e-1;a++){const s=t.slice(a*e,a*e+e);this.weekShouldBeDisplayed(s)&&n.push(s)}return n}weekShouldBeDisplayed(t){const e=t.find((t=>!t.hidden));return t.length&&!!e}getMonthDays(t){const e=new Date(this.previewValue.getTime());e.setDate(1),e.setMonth(e.getMonth()+t);const n=e.getMonth(),a=function(t,e,n){const a=new Date(e,t,1,1,0,0,0),s=-1*(n-a.getDay()-7)%7;return new Date(a.getTime()-864e5*s)}(n,e.getFullYear(),this.startDayOfWeek),s=this.generateDatesFrom(n,a,42);return this.create2DArray(s,7)}addDays(t,e){const n=new Date(t.valueOf());return n.setDate(n.getDate()+e),n}getAllDatesElements(){const t=this.root.shadowRoot.querySelectorAll("td");return Array.from(t)}getAllSelectableDatesElements(){const t=this.root.shadowRoot.querySelectorAll('td[tabindex="0"]');return Array.from(t)}getRangeDatesElements(t,e){const n=[];let a;a=e<t?this.getRangeDates(e,t):this.getRangeDates(t,e);for(const t of a){const e=this.root.shadowRoot.querySelector(`td[data-date="${t.getTime()}"]:not(.gux-hidden)`);e&&n.push(e)}return n}getRangeDates(t,e){const n=[];let a=t;for(;a<=e;)n.push(new Date(a)),a=this.addDays(a,1);return n}async onDateClick(t){if(!this.outOfBounds(t))if("range"!==this.mode)await this.setValueAndEmit(t);else if(null===this.selectingDate)u(this.getAllDatesElements(),"gux-hovered"),this.selectingDate=new Date(t.valueOf()),this.value=i(t,t);else{const e=this.root.shadowRoot.querySelector(`td[data-date="${t.getTime()}"]`);e&&e.classList.add("gux-selected"),this.updateRangeElements(),await this.setValueAndEmit([this.selectingDate,t]),this.previewValue=t,this.selectingDate=null}}onDateMouseEnter(t){"range"===this.mode&&null!==this.selectingDate&&(this.value=i(t,this.selectingDate),this.updateRangeElements())}updateRangeElements(){if("range"===this.mode){u(this.getAllDatesElements(),"gux-hovered");const[t,e]=r(this.value);g(this.getRangeDatesElements(t,e),"add","gux-hovered")}}async onKeyDown(t){switch(t.key){case" ":case"Enter":t.preventDefault(),await this.onDateClick(this.previewValue);break;case"ArrowDown":t.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+7)),this.onDateMouseEnter(this.previewValue),s((()=>{this.focusPreviewDate()}));break;case"ArrowUp":t.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-7)),this.onDateMouseEnter(this.previewValue),s((()=>{this.focusPreviewDate()}));break;case"ArrowLeft":t.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-1)),this.onDateMouseEnter(this.previewValue),s((()=>{this.focusPreviewDate()}));break;case"ArrowRight":t.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+1)),this.onDateMouseEnter(this.previewValue),s((()=>{this.focusPreviewDate()}));break;case"PageUp":this.incrementPreviewDateByMonth(1),this.onDateMouseEnter(this.previewValue);break;case"PageDown":this.incrementPreviewDateByMonth(-1),this.onDateMouseEnter(this.previewValue)}}componentWillLoad(){if(h(this.root,{variant:this.mode}),this.locale=l(this.root),this.startDayOfWeek=this.startDayOfWeek||c(this.locale),!this.value){const t=new Date;t.setHours(0,0,0,0),this.value="range"===this.mode?i(t,t):o(t)}this.previewValue=d(this.value)}componentDidRender(){this.updateRangeElements()}renderMonthHeader(){return n("div",{class:"gux-month-list"},Array.from(Array(this.numberOfMonths).keys()).map((t=>n("label",null,this.getMonthLabel(t)," ",this.getYearLabel(t)))))}renderCalendarTable(t){return n("table",null,n("tr",null,function(t,e){const n=[],a=new Date(1970,0,4);for(let e=0;e<7;e++){const e=a.toLocaleString(t,{weekday:"narrow"});n.push(e),a.setDate(a.getDate()+1)}return(s=n).concat(s.splice(0,(i=e)>s.length?i%s.length:i));var s,i}(this.locale,this.startDayOfWeek).map((t=>n("th",null,t)))),this.getMonthDays(t).map((e=>n("tr",null,e.map((e=>n("td",{tabindex:e.selected?"0":"-1",class:e.class,"aria-hidden":e.hidden?"true":"false","aria-disabled":e.disabled?"true":"false","data-date":e.date.getTime(),onClick:()=>{this.onDateClick(e.date)},onMouseEnter:()=>this.onDateMouseEnter(e.date),onKeyDown:t=>{this.onKeyDown(t)}},e.date.getDate(),n("span",{class:"gux-sr-only"},this.getMonthLabel(t)," ",e.date.getFullYear()))))))))}render(){return n("div",{class:"gux-calendar"},n("div",{class:"gux-header"},n("button",{type:"button",class:"gux-left",onClick:()=>this.incrementPreviewDateByMonth(-1),tabindex:"-1","aria-hidden":"true"},n("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})),this.renderMonthHeader(),n("button",{type:"button",class:"gux-right",onClick:()=>this.incrementPreviewDateByMonth(1),tabindex:"-1","aria-hidden":"true"},n("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),n("div",{class:"gux-content"},Array.from(Array(this.numberOfMonths).keys()).map((t=>this.renderCalendarTable(t)))))}get root(){return a(this)}};x.style=":host{display:inline-block}.gux-calendar{margin-top:2px;border:1px solid #b4bccb;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24);border-radius:4px}.gux-calendar .gux-header{position:relative;display:flex;align-items:center;justify-content:space-between;height:16px;padding:16px;color:#fdfdfd;background-color:#2a60c8;border-top-left-radius:3px;border-top-right-radius:3px}.gux-calendar .gux-header button{position:absolute;padding:5px;color:#fdfdfd;cursor:pointer;background:none;border:none;outline:none}.gux-calendar .gux-header button:focus{outline:#75a8ff auto 5px}.gux-calendar .gux-header button.gux-left{left:18px}.gux-calendar .gux-header button.gux-right{right:18px}.gux-calendar .gux-header button gux-icon{width:16px;height:16px;pointer-events:none}.gux-calendar .gux-header .gux-month-list{display:flex;justify-content:space-between;width:100%}.gux-calendar .gux-header .gux-month-list label{width:100%;text-align:center;font-size:12px;line-height:20px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}.gux-calendar .gux-content{display:flex;padding:20px 24px;color:#2e394c;background-color:#fdfdfd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.gux-calendar .gux-content table{width:168px;text-align:left;table-layout:fixed;border-spacing:0;-ms-user-select:none;user-select:none}.gux-calendar .gux-content table:not(:last-child){padding-right:24px}.gux-calendar .gux-content table tr{height:28px}.gux-calendar .gux-content table tr:empty{display:none}.gux-calendar .gux-content table tr th,.gux-calendar .gux-content table tr td{width:28px;height:28px;padding:0;margin:0;text-align:center;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}.gux-calendar .gux-content table tr th{font-family:Roboto, sans-serif;font-weight:400;font-weight:700}.gux-calendar .gux-content table tr td{cursor:pointer}.gux-calendar .gux-content table tr td.gux-hovered{background-color:#deeaff}.gux-calendar .gux-content table tr td.gux-selected{color:#fdfdfd;background-color:#2a60c8;border-radius:4px}.gux-calendar .gux-content table tr td.gux-selected.gux-start-date{border-radius:4px 0 0 4px}.gux-calendar .gux-content table tr td.gux-selected.gux-end-date{border-radius:0 4px 4px 0}.gux-calendar .gux-content table tr td:hover:not(.gux-calendar .gux-content table tr td.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-end-date){color:#fdfdfd;background-color:#2a60c8;border-radius:4px}.gux-calendar .gux-content table tr td.gux-disabled{color:rgba(46, 57, 76, 0.5);pointer-events:none}.gux-calendar .gux-content table tr td.gux-not-in-month{color:rgba(107, 117, 133, 0.5)}.gux-calendar .gux-content table tr td.gux-not-in-month:hover{color:#2e394c;background-color:#e2e6ee}.gux-calendar .gux-content table tr td.gux-not-in-month.gux-hidden{visibility:hidden}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{x as gux_calendar}
@@ -1 +0,0 @@
1
- import{r as t,h as o,g as r}from"./p-7a1d01cb.js";import{t as e}from"./p-5675a8a0.js";import{b as i}from"./p-0d3c1ee5.js";import"./p-8a133b9b.js";const s={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"},a=class{constructor(o){t(this,o),this.accent="secondary",this.iconOnly=!1}returnActionLocale(t){return this.i18n(`action${o=t,o.charAt(0).toUpperCase()+o.slice(1)}`);var o}returnActionTypeIcon(t){return"revert"==t?"reset":t}async componentWillLoad(){e(this.root,{variant:this.action}),this.i18n=await i(this.root,s)}render(){return o("gux-table-toolbar-custom-action",{"icon-only":this.iconOnly,accent:this.accent},o("span",{slot:"text"},this.returnActionLocale(this.action)),o("gux-icon",{slot:"icon","icon-name":this.returnActionTypeIcon(this.action),decorative:!0}))}get root(){return r(this)}};export{a as gux_table_toolbar_action}
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as s,g as i}from"./p-7a1d01cb.js";import{t as r}from"./p-5675a8a0.js";import{b as a}from"./p-091f51f6.js";const e=class{constructor(o){t(this,o),this.politeness="polite"}async guxAnnounce(t){this.containerElement.innerText="",a((()=>{this.containerElement.innerText=t}))}componentWillLoad(){r(this.root)}render(){return o(s,{"aria-live":this.politeness},o("slot",null),o("div",{ref:t=>this.containerElement=t}))}get root(){return i(this)}};e.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{e as gux_announce_beta}
@@ -1 +0,0 @@
1
- import{r as t,h as o,g as s}from"./p-7a1d01cb.js";import{t as e}from"./p-5675a8a0.js";import{O as i}from"./p-f77f86a9.js";import{b as n}from"./p-0d3c1ee5.js";import{b as a}from"./p-091f51f6.js";import"./p-8a133b9b.js";const r={additionalActions:"Additional Actions"};const c=class{constructor(o){t(this,o),this.expanded=!1}handleKeyDown(t){const o=t.composedPath();switch(t.key){case"Escape":this.expanded=!1,o.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":o.includes(this.dropdownButton)&&(t.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){switch(t.key){case" ":t.composedPath().includes(this.dropdownButton)&&(this.expanded=!0,this.focusFirstItemInPopupList())}}toggle(){this.expanded=!this.expanded,this.expanded&&this.focusPopupList()}onClickOutside(){this.expanded=!1}focusPopupList(){a((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){a((()=>{this.listElement.guxFocusFirstItem()}))}async componentWillLoad(){this.i18n=await n(this.root,r),e(this.root)}render(){return o("gux-popup",{expanded:this.expanded},o("div",{slot:"target",class:"gux-toolbar-menu-container"},o("gux-button-slot-beta",{class:"gux-menu-button"},o("button",{type:"button",ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},o("gux-icon",{"screenreader-text":this.i18n("additionalActions"),"icon-name":"menu-kebab-horizontal"})))),o("div",{class:"gux-list-container",slot:"popup"},o("gux-list",{ref:t=>this.listElement=t},o("slot",null))))}static get delegatesFocus(){return!0}get root(){return s(this)}};(function(t,o,s,e){var i,n=arguments.length,a=n<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,o,s,e);else for(var r=t.length-1;r>=0;r--)(i=t[r])&&(a=(n<3?i(a):n>3?i(o,s,a):i(o,s))||a);n>3&&a&&Object.defineProperty(o,s,a)})([i({triggerEvents:"mousedown"})],c.prototype,"onClickOutside",null),c.style=":host{display:block;margin:0 4px 0 4px;-webkit-user-select:none;user-select:none;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}>*{vertical-align:middle}.gux-menu-button button{color:#2e394c;cursor:grab;background-color:#e2e6ee;border:none}.gux-menu-button button gux-icon{width:16px;height:16px}.gux-list-container{width:fit-content;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{c as gux_table_toolbar_menu_button}
@@ -1 +0,0 @@
1
- import{r as t,h as s,H as r,g as o}from"./p-7a1d01cb.js";import{t as i}from"./p-5675a8a0.js";import{D as a}from"./p-7732c756.js";import{g as e}from"./p-0d3c1ee5.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.formatTime(new Date(this.datetime),this.format))}get root(){return o(this)}};export{p as gux_time_beta}
@@ -1 +0,0 @@
1
- import{r as t,h as s,H as r,g as o}from"./p-7a1d01cb.js";import{t as a}from"./p-5675a8a0.js";import{D as e}from"./p-7732c756.js";import{g as i}from"./p-0d3c1ee5.js";import"./p-8a133b9b.js";const p=class{constructor(s){t(this,s),this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){a(this.root),this.formatter=new e(i(this.root))}render(){return s(r,null,this.formatter.formatDate(new Date(this.datetime),this.format))}get root(){return o(this)}};export{p as gux_date_beta}
@@ -1 +0,0 @@
1
- import{r as t,h as e,g as i}from"./p-7a1d01cb.js";import{c as o,o as r}from"./p-3f5341ea.js";import{O as n}from"./p-939b6e89.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 f,v as u,g as x}from"./p-f38a8393.js";import{G as h,a as g}from"./p-b6ea91fa.js";import{t as c}from"./p-5675a8a0.js";import"./p-cbcbd1bb.js";import"./p-45fec011.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const d=class{constructor(e){t(this,e),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"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return e(g,{labelPosition:this.computedLabelPosition},e(h,{position:this.computedLabelPosition,required:this.required},e("slot",{name:"label",onSlotchange:()=>this.setLabel()})),e("div",{class:"gux-input-and-error-container"},e("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},e("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},e("slot",{name:"input",onSlotchange:()=>this.setInput()}))),e(p,{show:this.hasError},e("slot",{name:"error"})),e(f,{show:!this.hasError&&this.hasHelp},e("slot",{name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=this.root.querySelector('input[type="color"][slot="input"]'),s(this.input),this.disabled=o(this.input),this.required=this.input.required,this.disabledObserver=r(this.input,(t=>{this.disabled=t})),this.requiredObserver=a(this.input,(t=>{this.required=t})),u(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return i(this)}};(function(t,e,i,o){var r,n=arguments.length,a=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,i,a):r(e,i))||a);n>3&&a&&Object.defineProperty(e,i,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(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:#ea0b0b}";export{d as gux_form_field_color}
@@ -1 +0,0 @@
1
- import{r,h as s,g as t}from"./p-7a1d01cb.js";import{t as a}from"./p-5675a8a0.js";const e=class{constructor(s){r(this,s)}componentWillLoad(){a(this.root)}render(){return s("gux-radial-loading",{class:"gux-spinner","screenreader-text":this.screenreaderText,context:"full-page"})}get root(){return t(this)}};e.style=":host{display:flex}.gux-spinner{margin:auto}";export{e as gux_page_loading_spinner}
@@ -1 +0,0 @@
1
- import{r as t,h as e,g as i}from"./p-7a1d01cb.js";import{c as o,o as r}from"./p-3f5341ea.js";import{O as a}from"./p-939b6e89.js";import{a as n}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 d,v as h,g as u}from"./p-f38a8393.js";import{G as x,a as f}from"./p-b6ea91fa.js";import{t as g}from"./p-5675a8a0.js";import"./p-cbcbd1bb.js";import"./p-45fec011.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const c=class{constructor(e){t(this,e),this.computedLabelPosition="above",this.required=!0,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"),g(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return e(f,{labelPosition:this.computedLabelPosition},e(x,{position:this.computedLabelPosition,required:this.required},e("slot",{name:"label",onSlotchange:()=>this.setLabel()})),e("div",{class:"gux-input-and-error-container"},e("div",{ref:t=>this.textareaContainerElement=t,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},e("slot",{name:"input"})),e(p,{show:this.hasError},e("slot",{name:"error"})),e(d,{show:!this.hasError&&this.hasHelp},e("slot",{name:"help"}))))}get variant(){const t=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${t}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),s(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=o(this.input),this.required=this.input.required,this.disabledObserver=r(this.input,(t=>{this.disabled=t})),this.requiredObserver=n(this.input,(t=>{this.required=t})),h(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=u(this.label,this.labelPosition)}updateHeight(t,e,i){"auto"===i&&t&&(t.dataset.replicatedValue=e.value,t.style.maxHeight=e.style.maxHeight)}get root(){return i(this)}};(function(t,e,i,o){var r,a=arguments.length,n=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(n=(a<3?r(n):a>3?r(e,i,n):r(e,i))||n);a>3&&n&&Object.defineProperty(e,i,n)})([a({childList:!0,subtree:!0})],c.prototype,"onMutation",null),c.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(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;color:#2e394c;resize:vertical;background-color:#f6f7f9;background-image:none;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px;min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}::slotted(textarea)::placeholder{color:#596373;opacity:1}::slotted(textarea)[disabled]{opacity:0.5}::slotted(textarea)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:block;border:1px solid #6b7585;border-radius:4px;outline:none}.gux-input-and-error-container .gux-input:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error{border-color:#ea0b0b}.gux-input-and-error-container .gux-input.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) ' ';min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}";export{c as gux_form_field_textarea}