genesys-spark-components 3.34.0 → 3.34.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cjs/{DateTimeFormatter-74125e8f.js → DateTimeFormatter-642387ff.js} +1 -1
  3. package/dist/cjs/gux-accordion-legacy.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-button-legacy.cjs.entry.js +2 -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-announce-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-badge-beta.cjs.entry.js +2 -2
  13. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -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 +2 -2
  20. package/dist/cjs/gux-card-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-content-search.cjs.entry.js +2 -2
  28. package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-date-beta.cjs.entry.js +3 -3
  30. package/dist/cjs/gux-date-time-beta.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-disclosure-button.cjs.entry.js +2 -2
  33. package/dist/cjs/gux-dismiss-button.cjs.entry.js +2 -2
  34. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +2 -2
  36. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-dropdown_3.cjs.entry.js +2 -2
  38. package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  44. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-number.cjs.entry.js +2 -2
  46. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +2 -2
  53. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-input-checkbox_7.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-input-search.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-input-text-like.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-listbox-multi.cjs.entry.js +2 -2
  60. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +2 -2
  64. package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-pagination-buttons-beta_3.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +2 -2
  70. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-popover.cjs.entry.js +7 -1
  74. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-row-select.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-sort-control.cjs.entry.js +2 -2
  83. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-tab-advanced.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-tab-list.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-table-beta.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +2 -2
  91. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-tag-beta.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-time-beta.cjs.entry.js +3 -3
  96. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-toggle.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-visualization-beta.cjs.entry.js +2 -2
  100. package/dist/cjs/{index-d4f3e61e.js → index-6d7040d6.js} +11 -4
  101. package/dist/cjs/{usage-tracking-a55bbb7a.js → usage-tracking-90b0b930.js} +12 -12
  102. package/dist/collection/components/stable/gux-popover/gux-popover.js +6 -0
  103. package/dist/deploy-info.json +3 -3
  104. package/dist/esm/{DateTimeFormatter-0b1795c4.js → DateTimeFormatter-bac9ad67.js} +1 -1
  105. package/dist/esm/gux-accordion-legacy.entry.js +1 -1
  106. package/dist/esm/gux-accordion.entry.js +1 -1
  107. package/dist/esm/gux-action-button-legacy.entry.js +2 -2
  108. package/dist/esm/gux-action-button.entry.js +2 -2
  109. package/dist/esm/gux-action-list-legacy.entry.js +1 -1
  110. package/dist/esm/gux-action-toast.entry.js +1 -1
  111. package/dist/esm/gux-advanced-dropdown.entry.js +2 -2
  112. package/dist/esm/gux-all-row-select.entry.js +1 -1
  113. package/dist/esm/gux-announce-beta.entry.js +1 -1
  114. package/dist/esm/gux-badge-beta.entry.js +2 -2
  115. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  116. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  117. package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
  118. package/dist/esm/gux-button-multi.entry.js +1 -1
  119. package/dist/esm/gux-button-slot-beta.entry.js +1 -1
  120. package/dist/esm/gux-button.entry.js +1 -1
  121. package/dist/esm/gux-calendar.entry.js +2 -2
  122. package/dist/esm/gux-card-beta.entry.js +1 -1
  123. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  124. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  125. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  126. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  127. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
  128. package/dist/esm/gux-command-palette-legacy.entry.js +2 -2
  129. package/dist/esm/gux-content-search.entry.js +2 -2
  130. package/dist/esm/gux-copy-to-clipboard-beta.entry.js +2 -2
  131. package/dist/esm/gux-date-beta.entry.js +3 -3
  132. package/dist/esm/gux-date-time-beta.entry.js +3 -3
  133. package/dist/esm/gux-datepicker.entry.js +2 -2
  134. package/dist/esm/gux-disclosure-button.entry.js +2 -2
  135. package/dist/esm/gux-dismiss-button.entry.js +2 -2
  136. package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
  137. package/dist/esm/gux-dropdown-multi-beta.entry.js +2 -2
  138. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  139. package/dist/esm/gux-dropdown_3.entry.js +2 -2
  140. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  141. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  142. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  143. package/dist/esm/gux-form-field-color.entry.js +1 -1
  144. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  145. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  146. package/dist/esm/gux-form-field-legacy.entry.js +1 -1
  147. package/dist/esm/gux-form-field-number.entry.js +2 -2
  148. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  149. package/dist/esm/gux-form-field-range.entry.js +1 -1
  150. package/dist/esm/gux-form-field-search.entry.js +1 -1
  151. package/dist/esm/gux-form-field-select.entry.js +1 -1
  152. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  153. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  154. package/dist/esm/gux-form-field-time-picker.entry.js +2 -2
  155. package/dist/esm/gux-icon.entry.js +1 -1
  156. package/dist/esm/gux-input-checkbox_7.entry.js +1 -1
  157. package/dist/esm/gux-input-search.entry.js +1 -1
  158. package/dist/esm/gux-input-text-like.entry.js +1 -1
  159. package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
  160. package/dist/esm/gux-list.entry.js +1 -1
  161. package/dist/esm/gux-listbox-multi.entry.js +2 -2
  162. package/dist/esm/gux-loading-message-beta.entry.js +1 -1
  163. package/dist/esm/gux-modal.entry.js +1 -1
  164. package/dist/esm/gux-month-calendar.entry.js +1 -1
  165. package/dist/esm/gux-month-picker-beta.entry.js +2 -2
  166. package/dist/esm/gux-notification-toast.entry.js +1 -1
  167. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  168. package/dist/esm/gux-pagination-beta.entry.js +1 -1
  169. package/dist/esm/gux-pagination-buttons-beta_3.entry.js +1 -1
  170. package/dist/esm/gux-pagination-buttons_3.entry.js +1 -1
  171. package/dist/esm/gux-pagination-cursor.entry.js +2 -2
  172. package/dist/esm/gux-pagination.entry.js +1 -1
  173. package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
  174. package/dist/esm/gux-popover-list.entry.js +1 -1
  175. package/dist/esm/gux-popover.entry.js +7 -1
  176. package/dist/esm/gux-radial-loading.entry.js +2 -2
  177. package/dist/esm/gux-radial-progress.entry.js +1 -1
  178. package/dist/esm/gux-rating.entry.js +1 -1
  179. package/dist/esm/gux-row-select.entry.js +1 -1
  180. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  181. package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
  182. package/dist/esm/gux-simple-toast.entry.js +1 -1
  183. package/dist/esm/gux-skip-navigation-list-beta.entry.js +2 -2
  184. package/dist/esm/gux-sort-control.entry.js +2 -2
  185. package/dist/esm/gux-switch.entry.js +1 -1
  186. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  187. package/dist/esm/gux-tab-advanced.entry.js +1 -1
  188. package/dist/esm/gux-tab-list.entry.js +1 -1
  189. package/dist/esm/gux-table-beta.entry.js +2 -2
  190. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  191. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  192. package/dist/esm/gux-tabs-legacy.entry.js +2 -2
  193. package/dist/esm/gux-tabs.entry.js +1 -1
  194. package/dist/esm/gux-tag-beta.entry.js +2 -2
  195. package/dist/esm/gux-text-highlight.entry.js +1 -1
  196. package/dist/esm/gux-text-label-legacy.entry.js +1 -1
  197. package/dist/esm/gux-time-beta.entry.js +3 -3
  198. package/dist/esm/gux-time-picker-beta.entry.js +2 -2
  199. package/dist/esm/gux-toggle.entry.js +2 -2
  200. package/dist/esm/gux-tooltip.entry.js +1 -1
  201. package/dist/esm/gux-visualization-beta.entry.js +2 -2
  202. package/dist/esm/{index-5b4bc0a0.js → index-3e21de1b.js} +11 -4
  203. package/dist/esm/{usage-tracking-b1b7a2ab.js → usage-tracking-5e1ba7f7.js} +12 -12
  204. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  205. package/dist/genesys-webcomponents/{p-2e1c8eae.entry.js → p-03481479.entry.js} +1 -1
  206. package/dist/genesys-webcomponents/{p-4938ffac.entry.js → p-0511ea74.entry.js} +1 -1
  207. package/dist/genesys-webcomponents/{p-e2eb4e48.entry.js → p-088066aa.entry.js} +1 -1
  208. package/dist/genesys-webcomponents/{p-19c85119.entry.js → p-0a924828.entry.js} +1 -1
  209. package/dist/genesys-webcomponents/{p-760c0c5b.entry.js → p-0c7760a6.entry.js} +1 -1
  210. package/dist/genesys-webcomponents/{p-a6367bd1.entry.js → p-0dbc7bf2.entry.js} +1 -1
  211. package/dist/genesys-webcomponents/{p-d0748580.entry.js → p-0dd20aca.entry.js} +1 -1
  212. package/dist/genesys-webcomponents/{p-101bd0e6.entry.js → p-12932303.entry.js} +1 -1
  213. package/dist/genesys-webcomponents/{p-11349063.entry.js → p-137719a1.entry.js} +1 -1
  214. package/dist/genesys-webcomponents/{p-a50cca9e.entry.js → p-163a7345.entry.js} +1 -1
  215. package/dist/genesys-webcomponents/{p-477df601.entry.js → p-196a4af2.entry.js} +1 -1
  216. package/dist/genesys-webcomponents/{p-e2757bdf.entry.js → p-1dc5389f.entry.js} +1 -1
  217. package/dist/genesys-webcomponents/{p-befc6c33.entry.js → p-1e11d6e4.entry.js} +1 -1
  218. package/dist/genesys-webcomponents/{p-1728ec2b.entry.js → p-22e1b417.entry.js} +1 -1
  219. package/dist/genesys-webcomponents/{p-2c8f9c9e.entry.js → p-235390ad.entry.js} +1 -1
  220. package/dist/genesys-webcomponents/{p-7b64e6f8.entry.js → p-291b3f50.entry.js} +1 -1
  221. package/dist/genesys-webcomponents/{p-0792ff3c.entry.js → p-2967a9fe.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/p-2a2315af.entry.js +1 -0
  223. package/dist/genesys-webcomponents/{p-625962f9.entry.js → p-3539dd94.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-4b9278a1.entry.js → p-3557fe16.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-286e0bcb.entry.js → p-3b3be403.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-97eb19d9.entry.js → p-3ba11086.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-ea91f32e.entry.js → p-3dcd80f7.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-bdf4b767.entry.js → p-43245056.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-462da1b6.entry.js → p-47e146c0.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-ae3b80eb.entry.js → p-48fd3fa1.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/{p-9736480c.entry.js → p-4cd5a46e.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/p-4fd9444f.entry.js +1 -0
  233. package/dist/genesys-webcomponents/{p-fc8eafc2.entry.js → p-4ffc5f7c.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-ae0ccb4e.js → p-52aad620.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-f8907ce8.entry.js → p-575b89da.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-96dc7d3d.entry.js → p-5809ad17.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-9c97f897.entry.js → p-585b35f9.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-a723f5b9.entry.js → p-59184fc8.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/p-5caa2ca0.entry.js +1 -0
  240. package/dist/genesys-webcomponents/{p-3d9360ae.entry.js → p-5ceb146b.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-33ea92dd.entry.js → p-5dba97c8.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-b333703d.entry.js → p-5df781f3.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-0abf4bc5.entry.js → p-5f5da942.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/p-616b8919.entry.js +1 -0
  245. package/dist/genesys-webcomponents/{p-22ec8629.entry.js → p-6a5dfd60.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/p-6c04c5da.entry.js +1 -0
  247. package/dist/genesys-webcomponents/{p-65289beb.entry.js → p-6d88e2ab.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-1227635d.entry.js → p-6e3596bd.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-7a7d401a.entry.js → p-700d55d7.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-5d9e1049.entry.js → p-734edf93.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/p-73ed26a1.entry.js +1 -0
  252. package/dist/genesys-webcomponents/{p-b58ec623.entry.js → p-75f445a1.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-73ef6909.entry.js → p-76129360.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-b9e3197a.entry.js → p-76f67c80.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/{p-fd56f9b7.entry.js → p-7b8b5614.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-230b348e.entry.js → p-7c391634.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-5fefa2ad.js → p-7d64c6a5.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-ed492684.entry.js → p-7ed03525.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-b72db7b0.entry.js → p-7fee69c7.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-c3d0ea87.entry.js → p-8616db32.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-c7d88e91.entry.js → p-87348098.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-c5191978.entry.js → p-8adf5bd9.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-642a119d.entry.js → p-8f2acf87.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-18c93ef5.entry.js → p-8f81725e.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-88be9f6d.entry.js → p-963686db.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-0c81f0df.entry.js → p-969b72ac.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-a8e594b7.entry.js → p-9aa5845b.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-afd685a9.entry.js → p-9e9323f2.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-cfccfa1d.entry.js → p-9f1ba315.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-3f95d60f.entry.js → p-a1f2b973.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-1f38744d.entry.js → p-a5cfce4e.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-e74dcef4.entry.js → p-a6ca0137.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-c3657be4.entry.js → p-ad855412.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-0d13c042.entry.js → p-ae8c4304.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-2235282b.entry.js → p-b4414360.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-fdbf9f90.entry.js → p-b6e61de0.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-3d0e8268.entry.js → p-b8c555a5.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/p-ba496e59.entry.js +1 -0
  279. package/dist/genesys-webcomponents/{p-f01484b2.entry.js → p-bf4bee50.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-6ae590cf.entry.js → p-bfa46fc4.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/p-c3516719.entry.js +1 -0
  282. package/dist/genesys-webcomponents/{p-e4857f81.entry.js → p-c3b6fbb4.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/p-c4197c68.entry.js +1 -0
  284. package/dist/genesys-webcomponents/{p-fa7f1f8e.entry.js → p-c6b24898.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-8144c41f.entry.js → p-ce0f0eb7.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-75f4a4a9.entry.js → p-cee64733.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-3f1f6a82.entry.js → p-cfaa1df6.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-e67877d8.entry.js → p-d239237c.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-4425767c.entry.js → p-d4951dba.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-3326c18c.entry.js → p-d56eac15.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-2a7b77b6.entry.js → p-d7b95364.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-211ed72d.js → p-d8ec0443.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-2be1afab.entry.js → p-db1c355f.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-c40e9548.entry.js → p-dbbc1d8a.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-d17b9698.entry.js → p-de2d7dc3.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-3e5e06bd.entry.js → p-e16973f2.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-b6f9a907.entry.js → p-eea2e2ce.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-91cfe312.entry.js → p-f26f38af.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-9a4db7d5.entry.js → p-f296d898.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-1955a959.entry.js → p-f7e01406.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-edd61c93.entry.js → p-fa7e4154.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-04a26a61.entry.js → p-fb01e3be.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-e5be33f6.entry.js → p-fdcd48cc.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-b7656e98.entry.js → p-ff4032b7.entry.js} +1 -1
  305. package/dist/stencil-wrapper.js +1 -1
  306. package/package.json +12 -12
  307. package/dist/genesys-webcomponents/p-09ce6a67.entry.js +0 -1
  308. package/dist/genesys-webcomponents/p-542d3fec.entry.js +0 -1
  309. package/dist/genesys-webcomponents/p-64f86f96.entry.js +0 -1
  310. package/dist/genesys-webcomponents/p-ae6bac35.entry.js +0 -1
  311. package/dist/genesys-webcomponents/p-ae8632a3.entry.js +0 -1
  312. package/dist/genesys-webcomponents/p-c14cadec.entry.js +0 -1
  313. package/dist/genesys-webcomponents/p-c8c4bf34.entry.js +0 -1
  314. package/dist/genesys-webcomponents/p-dc493ed9.entry.js +0 -1
  315. package/dist/genesys-webcomponents/p-f1f4c0ba.entry.js +0 -1
@@ -3733,8 +3733,8 @@ function createDefaultFormatters(cache) {
3733
3733
  }
3734
3734
  var IntlMessageFormat = /** @class */ (function () {
3735
3735
  function IntlMessageFormat(message, locales, overrideFormats, opts) {
3736
- var _this = this;
3737
3736
  if (locales === void 0) { locales = IntlMessageFormat.defaultLocale; }
3737
+ var _this = this;
3738
3738
  this.formatterCache = {
3739
3739
  number: {},
3740
3740
  dateTime: {},
@@ -3765,9 +3765,13 @@ var IntlMessageFormat = /** @class */ (function () {
3765
3765
  this.formatToParts = function (values) {
3766
3766
  return formatToParts(_this.ast, _this.locales, _this.formatters, _this.formats, values, undefined, _this.message);
3767
3767
  };
3768
- this.resolvedOptions = function () { return ({
3769
- locale: _this.resolvedLocale.toString(),
3770
- }); };
3768
+ this.resolvedOptions = function () {
3769
+ var _a;
3770
+ return ({
3771
+ locale: ((_a = _this.resolvedLocale) === null || _a === void 0 ? void 0 : _a.toString()) ||
3772
+ Intl.NumberFormat.supportedLocalesOf(_this.locales)[0],
3773
+ });
3774
+ };
3771
3775
  this.getAst = function () { return _this.ast; };
3772
3776
  // Defined first because it's used to build the format pattern.
3773
3777
  this.locales = locales;
@@ -3808,6 +3812,9 @@ var IntlMessageFormat = /** @class */ (function () {
3808
3812
  });
3809
3813
  IntlMessageFormat.memoizedDefaultLocale = null;
3810
3814
  IntlMessageFormat.resolveLocale = function (locales) {
3815
+ if (typeof Intl.Locale === 'undefined') {
3816
+ return;
3817
+ }
3811
3818
  var supportedLocales = Intl.NumberFormat.supportedLocalesOf(locales);
3812
3819
  if (supportedLocales.length > 0) {
3813
3820
  return new Intl.Locale(supportedLocales[0]);
@@ -1,5 +1,5 @@
1
1
  const name = "genesys-spark-components";
2
- const version = "3.34.0";
2
+ const version = "3.34.2";
3
3
  const description = "Common webcomponents";
4
4
  const license = "MIT";
5
5
  const main = "dist/stencil-wrapper.js";
@@ -61,7 +61,7 @@ const scripts = {
61
61
  };
62
62
  const dependencies = {
63
63
  "@popperjs/core": "^2.11.6",
64
- "intl-messageformat": "^9.13.0",
64
+ "intl-messageformat": "^10.1.5",
65
65
  "requestanimationframe-timer": "^3.0.3",
66
66
  sortablejs: "^1.15.0",
67
67
  "stencil-click-outside": "^1.8.0",
@@ -70,8 +70,8 @@ const dependencies = {
70
70
  "vega-lite": "^5.5.0"
71
71
  };
72
72
  const devDependencies = {
73
- "@babel/core": "^7.19.1",
74
- "@babel/preset-env": "^7.19.1",
73
+ "@babel/core": "^7.19.3",
74
+ "@babel/preset-env": "^7.19.3",
75
75
  "@commitlint/cli": "^17.1.2",
76
76
  "@commitlint/config-conventional": "^17.1.0",
77
77
  "@stencil/core": "^2.18.0",
@@ -83,14 +83,14 @@ const devDependencies = {
83
83
  "@types/puppeteer": "^5.4.6",
84
84
  "@types/resize-observer-browser": "^0.1.7",
85
85
  "@types/sortablejs": "^1.15.0",
86
- "@typescript-eslint/eslint-plugin": "^5.38.0",
87
- "@typescript-eslint/parser": "^5.38.0",
86
+ "@typescript-eslint/eslint-plugin": "^5.38.1",
87
+ "@typescript-eslint/parser": "^5.38.1",
88
88
  "axe-live": "^1.0.1",
89
89
  "babel-loader": "^8.2.5",
90
90
  commitizen: "^4.2.5",
91
91
  concurrently: "^7.4.0",
92
92
  "cz-conventional-changelog": "^3.3.0",
93
- eslint: "^8.23.1",
93
+ eslint: "^8.24.0",
94
94
  "eslint-config-prettier": "^8.5.0",
95
95
  "eslint-plugin-jest": "^26.9.0",
96
96
  "eslint-plugin-jsdoc": "^39.3.6",
@@ -108,9 +108,9 @@ const devDependencies = {
108
108
  "jest-environment-node": "^27.5.1",
109
109
  "jest-junit": "^13.2.0",
110
110
  "jest-silent-reporter": "^0.5.0",
111
- jsdom: "^19.0.0",
112
- "lint-staged": "^12.5.0",
113
- marked: "^4.1.0",
111
+ jsdom: "^20.0.1",
112
+ "lint-staged": "^13.0.3",
113
+ marked: "^4.1.1",
114
114
  "mutation-observer": "^1.0.3",
115
115
  "node-fetch": "^3.2.10",
116
116
  "postcss-html": "^1.5.0",
@@ -122,14 +122,14 @@ const devDependencies = {
122
122
  "rollup-plugin-less": "^1.1.3",
123
123
  "semver-sort": "^1.0.0",
124
124
  "standard-version": "^9.5.0",
125
- stylelint: "^14.12.1",
125
+ stylelint: "^14.13.0",
126
126
  "stylelint-config-html": "^1.1.0",
127
127
  "stylelint-config-prettier": "^9.0.3",
128
128
  "stylelint-config-recess-order": "^3.0.0",
129
129
  "stylelint-config-standard": "^25.0.0",
130
130
  svgo: "^2.8.0",
131
131
  "ts-loader": "^9.4.1",
132
- typescript: "^4.8.3",
132
+ typescript: "^4.8.4",
133
133
  weekstart: "^1.1.0",
134
134
  xmldom: "^0.6.0"
135
135
  };
@@ -1 +1 @@
1
- import{p as e,b as o}from"./p-39a696d6.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o(JSON.parse('[["p-f8907ce8",[[4,"gux-form-field-legacy",{"clearable":[4],"resize":[1],"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"labelPosition":[1,"label-position"],"slottedElementType":[32],"computedLabelPosition":[32],"required":[32],"hasError":[32]}]]],["p-fd56f9b7",[[1,"gux-pagination",{"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"layout":[1],"totalPages":[32]}]]],["p-e2eb4e48",[[1,"gux-pagination-beta",{"layout":[1],"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"totalPages":[32],"displayedLayout":[32]}]]],["p-3e5e06bd",[[0,"gux-command-palette-legacy",{"filterValue":[32],"visible":[32],"open":[64],"close":[64]}]]],["p-4b9278a1",[[1,"gux-month-picker-beta",{"value":[1025],"min":[1],"max":[1],"disabled":[4],"expanded":[32],"locale":[32]},[[0,"keydown","onKeyDown"]]]]],["p-e67877d8",[[4,"gux-tab-advanced",{"tabId":[1,"tab-id"],"guxDisabled":[4,"gux-disabled"],"active":[32],"popoverHidden":[32],"hasAnimated":[32],"guxSetActive":[64],"guxGetActive":[64],"guxFocus":[64]},[[0,"focusin","onFocusin"],[0,"focusout","onFocusout"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[0,"click","onClick"],[1,"mousedown","onMouseDown"]]]]],["p-642a119d",[[1,"gux-time-picker-beta",{"value":[1025],"interval":[2],"disabled":[4],"required":[4],"hasError":[4,"has-error"],"clockType":[1025,"clock-type"],"expanded":[32]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","handleKeydown"]]]]],["p-19c85119",[[17,"gux-toggle",{"checked":[1028],"disabled":[4],"loading":[4],"checkedLabel":[1,"checked-label"],"uncheckedLabel":[1,"unchecked-label"],"labelPosition":[1,"label-position"],"errorMessage":[1,"error-message"],"displayInline":[4,"display-inline"]},[[0,"click","onClick"],[0,"keydown","onKeydown"]]]]],["p-a5b67e24",[[4,"gux-tab-legacy",{"tabId":[1,"tab-id"],"active":[4],"tabIconName":[1,"tab-icon-name"],"popoverHidden":[32],"hasAnimated":[32]}]]],["p-3d0e8268",[[1,"gux-tag-beta",{"color":[1],"value":[1],"disabled":[4],"removable":[4],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-c3d0ea87",[[0,"gux-row-select",{"selected":[1028],"disabled":[4]},[[0,"input","onCheck"]]]]],["p-8144c41f",[[1,"gux-simple-toast",{"accent":[1]}]]],["p-fc2c7fe0",[[4,"gux-tab",{"tabId":[1,"tab-id"],"guxDisabled":[4,"gux-disabled"],"active":[32],"guxSetActive":[64],"guxFocus":[64],"guxGetActive":[64]},[[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-477df601",[[1,"gux-icon",{"iconName":[1,"icon-name"],"decorative":[4],"screenreaderText":[1,"screenreader-text"],"svgHtml":[32]}]]],["p-befc6c33",[[1,"gux-action-button",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-625962f9",[[1,"gux-action-button-legacy",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-96dc7d3d",[[1,"gux-advanced-dropdown",{"disabled":[4],"placeholder":[1],"noFilter":[4,"no-filter"],"filterDebounceTimeout":[2,"filter-debounce-timeout"],"dropdownHeight":[1,"dropdown-height"],"srLabelledby":[32],"opened":[32],"currentlySelectedOption":[32],"selectionOptions":[32],"getSelectedValues":[64],"setLabeledBy":[64]}]]],["p-b6f9a907",[[1,"gux-button-multi",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-73ef6909",[[1,"gux-button-multi-legacy",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-fa7f1f8e",[[1,"gux-dropdown-multi-beta",{"value":[1025],"disabled":[4],"required":[4],"placeholder":[1],"filterable":[4],"hasError":[4,"has-error"],"expanded":[32],"filter":[32],"getSelectedValues":[64]},[[0,"keydown","onKeydown"],[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"guxclearselected","onGuxclearselected"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"]]]]],["p-2be1afab",[[0,"gux-all-row-select",{"selected":[1028],"setIndeterminate":[64]},[[0,"input","onCheck"]]]]],["p-afd685a9",[[1,"gux-badge-beta",{"color":[1],"bold":[4],"label":[32]}]]],["p-2e1c8eae",[[1,"gux-copy-to-clipboard-beta",{"tooltipContent":[32]},[[1,"mouseleave","onMouseleave"],[0,"focusout","onFocusout"],[0,"focus","onFocus"]]]]],["p-11349063",[[1,"gux-datepicker",{"value":[1025],"label":[1],"numberOfMonths":[1026,"number-of-months"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"mode":[1],"format":[1],"disabled":[4],"formattedValue":[32],"minDateDate":[32],"maxDateDate":[32],"toFormattedValue":[32],"active":[32]},[[0,"keydown","onKeyDown"],[1,"mousedown","onMouseDown"]]]]],["p-2235282b",[[4,"gux-dropdown-legacy",{"mode":[1],"disabled":[4],"value":[1025],"placeholder":[1],"filterable":[4],"opened":[32],"forcedGhostValue":[32],"srLabeledBy":[32],"setLabeledBy":[64],"setSelected":[64]}]]],["p-e5be33f6",[[1,"gux-form-field-number",{"clearable":[4],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32],"hasHelp":[32],"guxForceUpdate":[64]}]]],["p-b72db7b0",[[1,"gux-form-field-time-picker",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-4938ffac",[[1,"gux-modal",{"size":[1],"trapFocus":[4,"trap-focus"],"initialFocus":[1,"initial-focus"]},[[0,"keydown","handleKeyEvent"]]]]],["p-d0748580",[[1,"gux-notification-toast",{"accent":[1]}]]],["p-09ce6a67",[[1,"gux-pagination-cursor",{"hasPrevious":[4,"has-previous"],"hasNext":[4,"has-next"]}]]],["p-ae6bac35",[[1,"gux-popover",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-f01484b2",[[1,"gux-table-beta",{"compact":[4],"objectTable":[4,"object-table"],"emptyMessage":[1,"empty-message"],"resizableColumns":[4,"resizable-columns"],"isVerticalScroll":[32],"isHorizontalScroll":[32],"isScrolledToFirstCell":[32],"isScrolledToLastCell":[32],"columnResizeHover":[32],"getSelected":[64]},[[3,"scroll","onScroll"],[0,"internalallrowselectchange","onInternalAllRowSelectChange"],[0,"internalrowselectchange","onInternalRowSelectChange"],[3,"mousemove","onMouseMove"],[1,"mousedown","onMouseDown"],[3,"mouseup","onMouseUp"]]]]],["p-1227635d",[[4,"gux-table-select-menu",{"dropdownDisabled":[4,"dropdown-disabled"],"popoverHidden":[32]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-ae3b80eb",[[4,"gux-accordion-legacy",{"headingLevel":[2,"heading-level"],"arrowPosition":[1,"arrow-position"],"sections":[32],"open":[64],"close":[64],"toggle":[64]}]]],["p-41f05a68",[[1,"gux-accordion-section",{"arrowPosition":[1,"arrow-position"],"contentLayout":[1,"content-layout"],"open":[1028],"disabled":[4],"reverseHeadings":[4,"reverse-headings"]}]]],["p-75f4a4a9",[[1,"gux-blank-state-beta",{"blankStateSize":[32]}]]],["p-d47c8f4b",[[1,"gux-breadcrumb-item",{"href":[1]}]]],["p-c40e9548",[[1,"gux-chart-column-beta",{"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"xFieldName":[1,"x-field-name"],"yFieldName":[1,"y-field-name"],"xAxisTitle":[1,"x-axis-title"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"legendPosition":[1,"legend-position"],"chartLayers":[16],"embedOptions":[16]}]]],["p-88be9f6d",[[1,"gux-chart-donut-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"innerRadius":[2,"inner-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"gauge":[4],"centerText":[1,"center-text"],"centerSubText":[1,"center-sub-text"],"showTooltip":[4,"show-tooltip"],"tooltipOptions":[16],"legendX":[2,"legend-x"],"legendY":[2,"legend-y"],"legendFontSize":[2,"legend-font-size"],"legendSymbolSize":[2,"legend-symbol-size"],"embedOptions":[16]}]]],["p-e4857f81",[[1,"gux-chart-line-beta",{"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"includeDataPointMarkers":[4,"include-data-point-markers"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"strokeDash":[4,"stroke-dash"],"interpolation":[1],"embedOptions":[16]}]]],["p-a723f5b9",[[1,"gux-chart-pie-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"embedOptions":[16]}]]],["p-c3657be4",[[1,"gux-chart-scatter-plot-beta",{"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"useShape":[1,"use-shape"],"embedOptions":[16]}]]],["p-3d9360ae",[[1,"gux-content-search",{"matchCount":[1026,"match-count"],"currentMatch":[1026,"current-match"],"disabled":[32],"value":[32],"clear":[64]}]]],["p-7a7d401a",[[1,"gux-disclosure-button",{"position":[1],"label":[1],"isOpen":[1028,"is-open"],"icon":[32]}]]],["p-0abf4bc5",[[1,"gux-form-field-color",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-dc493ed9",[[1,"gux-form-field-dropdown",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-760c0c5b",[[1,"gux-form-field-radio",{"disabled":[32],"hasError":[32],"hasHelp":[32]}]]],["p-9a4db7d5",[[1,"gux-form-field-range",{"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32],"value":[32],"active":[32],"valueWatcherId":[32]},[[0,"input","onInput"],[0,"focusin","onMousedown"],[1,"mousedown","onMousedown"],[0,"focusout","onMouseup"],[1,"mouseup","onMouseup"]]]]],["p-fdbf9f90",[[1,"gux-form-field-select",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-a6367bd1",[[1,"gux-form-field-textarea",{"resize":[1],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-c14cadec",[[1,"gux-page-loading-spinner",{"screenreaderText":[1,"screenreader-text"]}]]],["p-18c93ef5",[[1,"gux-radial-progress",{"value":[2],"max":[2],"scale":[2],"screenreaderText":[1,"screenreader-text"]}]]],["p-97eb19d9",[[1,"gux-rating",{"value":[1026],"maxValue":[2,"max-value"],"disabled":[4],"readonly":[4]},[[0,"click","onClick"],[0,"keydown","onKeyDown"]]]]],["p-b38cbec4",[[0,"gux-side-panel-button",{"icon":[1],"altText":[1,"alt-text"],"isSelected":[4,"is-selected"]}]]],["p-7b64e6f8",[[17,"gux-sort-control",{"includeUnsorted":[4,"include-unsorted"],"headerContent":[32],"active":[32],"sort":[32],"isLeftAlignIcon":[32]}]]],["p-3cee3c32",[[4,"gux-submenu",{"label":[1],"isShown":[32],"guxFocus":[64]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-9736480c",[[4,"gux-tab-advanced-list",{"showNewTabButton":[4,"show-new-tab-button"],"tabLimit":[2,"tab-limit"],"allowSort":[4,"allow-sort"],"focused":[32],"disableAddTabButton":[32],"tabTriggers":[32],"hasScrollbar":[32],"keyboardSort":[32],"initialSortIndex":[32],"sortTarget":[32],"ariaLiveAlert":[32],"guxSetActive":[64]},[[0,"focusin","onFocusin"],[0,"focusout","onFocusout"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-940e5dec",[[4,"gux-tab-dropdown-option-legacy",{"optionId":[1,"option-id"],"iconName":[1,"icon-name"]}]]],["p-b333703d",[[4,"gux-tab-list",{"focused":[32],"tabTriggers":[32],"hasHorizontalScrollbar":[32],"hasVerticalScrollbar":[32],"isScrolledToBeginning":[32],"isScrolledToEnd":[32],"guxSetActive":[64]},[[0,"focusout","onFocusout"],[0,"hasVerticalScrollbar","onHasVerticalScrollBar"],[3,"scroll","onScroll"],[0,"keydown","onKeydown"]]]]],["p-1728ec2b",[[1,"gux-tabs-legacy",{"allowSort":[4,"allow-sort"],"showNewTabButton":[4,"show-new-tab-button"],"value":[1],"tabLimit":[2,"tab-limit"],"disableAddTabButton":[32],"hasScrollbar":[32]},[[0,"internaltabselected","internaltabselectedHandler"]]]]],["p-d01b852c",[[4,"gux-truncate-beta",{"maxLines":[2,"max-lines"],"setShowTooltip":[64],"setHideTooltip":[64]}]]],["p-a8e594b7",[[1,"gux-accordion",{"singleOpenSection":[4,"single-open-section"]},[[0,"internalsectionopened","handleInternalsectionopened"]]]]],["p-4a3da574",[[1,"gux-action-item",{"text":[1],"value":[16],"disabled":[4]},[[0,"click","handleClick"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-6028c32a",[[1,"gux-action-list-divider"]]],["p-b7656e98",[[1,"gux-action-toast"]]],["p-c8c4bf34",[[1,"gux-announce-beta",{"politeness":[1],"guxAnnounce":[64]}]]],["p-fc8eafc2",[[1,"gux-breadcrumbs",{"accent":[1]}]]],["p-ea91f32e",[[17,"gux-button",{"type":[1],"guxTitle":[1,"gux-title"],"disabled":[4],"accent":[1]}]]],["p-c7d88e91",[[1,"gux-card-beta",{"accent":[1]}]]],["p-3d5bc6db",[[0,"gux-command-action",{"text":[1],"details":[1],"common":[4],"recent":[4],"shortcut":[1],"invokePress":[64]}]]],["p-33ea92dd",[[1,"gux-date-beta",{"datetime":[1],"format":[1]}]]],["p-f1f4c0ba",[[1,"gux-date-time-beta",{"datetime":[1],"format":[1]}]]],["p-3802f75e",[[0,"gux-dropdown-option",{"value":[1],"disabled":[4],"filtered":[1540],"selected":[1540],"text":[1],"highlight":[32],"getDisplayedValue":[64],"shouldFilter":[64]}]]],["p-101bd0e6",[[1,"gux-flyout-menu-beta",{"isShown":[32]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-f3315768",[[1,"gux-list-divider"]]],["p-3b3750fd",[[1,"gux-list-divider-legacy"]]],["p-2a7b77b6",[[1,"gux-listbox-multi",{"value":[1025],"filter":[1],"selectedValues":[32],"listboxOptions":[32],"allListboxOptionsFiltered":[32],"guxSelectActive":[64]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mousemove","onMousemove"],[0,"click","onClick"]]]]],["p-e2757bdf",[[1,"gux-loading-message-beta",{"hasAdditionalGuidance":[32],"loadingMessageSize":[32]}]]],["p-617c216c",[[4,"gux-menu"]]],["p-19016dbb",[[4,"gux-menu-option",{"guxFocus":[64]},[[0,"keydown","onKeydown"]]]]],["p-072069d4",[[4,"gux-option-legacy",{"value":[1],"disabled":[4],"text":[1025],"selected":[516],"shouldFilter":[64]}]]],["p-92f61f75",[[4,"gux-option-multi",{"value":[1],"active":[4],"selected":[4],"disabled":[4],"filtered":[4],"hovered":[1028]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]]]],["p-230b348e",[[1,"gux-panel-frame-legacy"]]],["p-1955a959",[[4,"gux-side-panel-legacy",{"isOpen":[4,"is-open"],"position":[1]}]]],["p-ff5f76be",[[17,"gux-skip-navigation-item"]]],["p-22ec8629",[[17,"gux-skip-navigation-list-beta"]]],["p-65289beb",[[1,"gux-switch",{"value":[1025],"layout":[1],"switchItems":[32]},[[0,"click","onClick"]]]]],["p-5e0a36fa",[[4,"gux-switch-item",{"value":[1],"selected":[4],"disabled":[4]},[[0,"click","onClick"]]]]],["p-7ee4570d",[[4,"gux-tab-advanced-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-5d08bb94",[[4,"gux-tab-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-ed492684",[[1,"gux-tabs",{"activeTab":[1025,"active-tab"],"orientation":[1],"alignment":[1],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-cfccfa1d",[[1,"gux-tabs-advanced",{"activeTab":[1025,"active-tab"],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-3f95d60f",[[4,"gux-text-label-legacy",{"label":[1],"position":[1]}]]],["p-64f86f96",[[1,"gux-time-beta",{"datetime":[1],"format":[1]}]]],["p-9c97f897",[[17,"gux-month-calendar",{"value":[1025],"min":[1],"max":[1],"year":[32],"locale":[32],"guxFocus":[64]}]]],["p-b58ec623",[[1,"gux-form-field-search",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"clearable":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32],"hasHelp":[32]}]]],["p-0c81f0df",[[1,"gux-calendar",{"value":[1025],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"mode":[1],"numberOfMonths":[2,"number-of-months"],"startDayOfWeek":[32],"previewValue":[32],"selectingDate":[32],"setValue":[64],"focusPreviewDate":[64],"resetCalendarView":[64]}]]],["p-e74dcef4",[[1,"gux-dropdown-multi-tag",{"disabled":[4],"numberSelected":[2,"number-selected"],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-cc60367a",[[0,"gux-toggle-slider",{"checked":[4],"disabled":[4],"guxAriaLabel":[1,"gux-aria-label"],"labelId":[1,"label-id"],"errorId":[1,"error-id"]}]]],["p-553fd4e4",[[17,"gux-list-item",{"disabled":[4]},[[1,"mouseup","onMouseup"],[1,"mouseover","onMouseover"]]]]],["p-ae8632a3",[[1,"gux-screen-reader-beta"]]],["p-038ea6d9",[[1,"gux-table-select-popover",{"for":[1],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-c5191978",[[1,"gux-form-field-text-like",{"clearable":[4],"labelPosition":[1,"label-position"],"hasPrefix":[32],"hasSuffix":[32],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32],"hasHelp":[32],"guxForceUpdate":[64]}]]],["p-d17b9698",[[1,"gux-popover-list",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-286e0bcb",[[1,"gux-list-item-legacy",{"text":[1],"value":[8],"strategy":[1]},[[0,"click","handleClick"],[0,"keydown","handleKeyDown"]]],[1,"gux-list-legacy",{"value":[1040],"highlight":[1],"selectedIndex":[32],"setFocusOnFirstItem":[64],"setFocusOnLastItem":[64],"isLastItemSelected":[64],"isFirstItemSelected":[64]},[[0,"selected","itemSelected"]]]]],["p-1f38744d",[[1,"gux-error-message-beta"]]],["p-2c8f9c9e",[[1,"gux-form-field-checkbox",{"disabled":[32],"hasError":[32],"hasHelp":[32]}]]],["p-3326c18c",[[4,"gux-input-search",{"hasContent":[32],"disabled":[32]}]]],["p-edd61c93",[[4,"gux-input-text-like",{"clearable":[4],"hasContent":[32],"disabled":[32]}]]],["p-0d13c042",[[1,"gux-action-list-legacy",{"selectedIndex":[32],"setFocusOnFirstItem":[64],"setFocusOnLastItem":[64],"isLastItemSelected":[64],"isFirstItemSelected":[64]},[[0,"keydown","onKeyDown"]]]]],["p-5d9e1049",[[0,"gux-text-highlight",{"text":[1],"highlight":[1],"strategy":[1]}]]],["p-3f1f6a82",[[1,"gux-dropdown",{"value":[1025],"disabled":[4],"required":[4],"placeholder":[1],"filterable":[4],"hasError":[4,"has-error"],"expanded":[32],"filter":[32]},[[0,"keydown","onKeydown"],[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"]]],[1,"gux-listbox",{"value":[1025],"filter":[1],"selectedValues":[32],"listboxOptions":[32],"allListboxOptionsFiltered":[32],"guxSelectActive":[64]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mousemove","onMousemove"],[0,"click","onClick"]]],[4,"gux-option",{"value":[1],"active":[4],"selected":[4],"disabled":[4],"filtered":[4],"hovered":[1028]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]]]],["p-a50cca9e",[[0,"gux-pagination-items-per-page",{"itemsPerPage":[2,"items-per-page"]},[[0,"change","handleChange"]]],[0,"gux-pagination-buttons",{"currentPage":[2,"current-page"],"totalPages":[2,"total-pages"],"layout":[1]}],[0,"gux-pagination-item-counts",{"totalItems":[2,"total-items"],"currentPage":[2,"current-page"],"itemsPerPage":[2,"items-per-page"]}]]],["p-91cfe312",[[0,"gux-pagination-items-per-page-beta",{"itemsPerPage":[2,"items-per-page"]},[[0,"change","handleChange"]]],[0,"gux-pagination-buttons-beta",{"currentPage":[2,"current-page"],"totalPages":[2,"total-pages"],"layout":[1]}],[0,"gux-pagination-item-counts-beta",{"totalItems":[2,"total-items"],"currentPage":[2,"current-page"],"itemsPerPage":[2,"items-per-page"]}]]],["p-542d3fec",[[17,"gux-list",{"guxFocusFirstItem":[64]},[[0,"keydown","onKeyDown"]]]]],["p-4425767c",[[1,"gux-radial-loading",{"context":[1],"screenreaderText":[1,"screenreader-text"]}]]],["p-b9e3197a",[[1,"gux-tooltip",{"for":[1],"placement":[1025],"isShown":[32],"showTooltip":[64],"hideTooltip":[64]},[[9,"keydown","handleKeyDown"]]]]],["p-0672347e",[[4,"gux-tooltip-title",{"hasTooltip":[32],"showTooltip":[32],"iconOnly":[32],"titleName":[32],"setShowTooltip":[64],"setHideTooltip":[64]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onmouseleave"],[1,"mousedown","onmousedown"]]]]],["p-1fa5e36d",[[17,"gux-month-list",{"guxFocusFirstItem":[64]},[[0,"keydown","onKeyDown"]]],[17,"gux-month-list-item",{"value":[1],"disabled":[4],"selected":[4]},[[1,"mouseup","onMouseup"],[1,"mouseover","onMouseover"]]]]],["p-a010db45",[[4,"gux-color-select",{"color":[32]},[[0,"colorSelect","onColorSelect"]]],[0,"gux-input-color-option",{"active":[4],"value":[1]}]]],["p-0792ff3c",[[1,"gux-visualization-beta",{"visualizationSpec":[16],"embedOptions":[16]}]]],["p-bdf4b767",[[17,"gux-form-field-input-clear-button"]]],["p-04a26a61",[[4,"gux-input-color",{"guxLabelDescribedby":[1,"gux-label-describedby"],"guxErrorDescribedby":[1,"gux-error-describedby"],"guxRequired":[4,"gux-required"],"disabled":[32],"color":[32],"opened":[32],"colorOnOpen":[32]},[[8,"click","onClick"],[0,"input","onInput"]]],[4,"gux-input-number",{"clearable":[4],"hasContent":[32],"disabled":[32]}],[4,"gux-input-select",{"disabled":[32]}],[4,"gux-input-checkbox"],[4,"gux-input-radio"],[4,"gux-input-range",{"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"disabled":[32],"value":[32],"active":[32],"valueWatcherId":[32]},[[0,"input","onInput"],[0,"focusin","onMousedown"],[1,"mousedown","onMousedown"],[0,"focusout","onMouseup"],[1,"mouseup","onMouseup"]]],[4,"gux-input-textarea",{"resize":[1]}]]],["p-462da1b6",[[17,"gux-dismiss-button"]]],["p-6ae590cf",[[1,"gux-button-slot-beta",{"accent":[1]}]]],["p-a5fb3291",[[1,"gux-popup",{"expanded":[4],"disabled":[4]}]]]]'),e)));
1
+ import{p as e,b as o}from"./p-39a696d6.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o(JSON.parse('[["p-575b89da",[[4,"gux-form-field-legacy",{"clearable":[4],"resize":[1],"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"labelPosition":[1,"label-position"],"slottedElementType":[32],"computedLabelPosition":[32],"required":[32],"hasError":[32]}]]],["p-7b8b5614",[[1,"gux-pagination",{"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"layout":[1],"totalPages":[32]}]]],["p-088066aa",[[1,"gux-pagination-beta",{"layout":[1],"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"totalPages":[32],"displayedLayout":[32]}]]],["p-e16973f2",[[0,"gux-command-palette-legacy",{"filterValue":[32],"visible":[32],"open":[64],"close":[64]}]]],["p-3557fe16",[[1,"gux-month-picker-beta",{"value":[1025],"min":[1],"max":[1],"disabled":[4],"expanded":[32],"locale":[32]},[[0,"keydown","onKeyDown"]]]]],["p-d239237c",[[4,"gux-tab-advanced",{"tabId":[1,"tab-id"],"guxDisabled":[4,"gux-disabled"],"active":[32],"popoverHidden":[32],"hasAnimated":[32],"guxSetActive":[64],"guxGetActive":[64],"guxFocus":[64]},[[0,"focusin","onFocusin"],[0,"focusout","onFocusout"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[0,"click","onClick"],[1,"mousedown","onMouseDown"]]]]],["p-8f2acf87",[[1,"gux-time-picker-beta",{"value":[1025],"interval":[2],"disabled":[4],"required":[4],"hasError":[4,"has-error"],"clockType":[1025,"clock-type"],"expanded":[32]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","handleKeydown"]]]]],["p-0a924828",[[17,"gux-toggle",{"checked":[1028],"disabled":[4],"loading":[4],"checkedLabel":[1,"checked-label"],"uncheckedLabel":[1,"unchecked-label"],"labelPosition":[1,"label-position"],"errorMessage":[1,"error-message"],"displayInline":[4,"display-inline"]},[[0,"click","onClick"],[0,"keydown","onKeydown"]]]]],["p-a5b67e24",[[4,"gux-tab-legacy",{"tabId":[1,"tab-id"],"active":[4],"tabIconName":[1,"tab-icon-name"],"popoverHidden":[32],"hasAnimated":[32]}]]],["p-b8c555a5",[[1,"gux-tag-beta",{"color":[1],"value":[1],"disabled":[4],"removable":[4],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-8616db32",[[0,"gux-row-select",{"selected":[1028],"disabled":[4]},[[0,"input","onCheck"]]]]],["p-ce0f0eb7",[[1,"gux-simple-toast",{"accent":[1]}]]],["p-fc2c7fe0",[[4,"gux-tab",{"tabId":[1,"tab-id"],"guxDisabled":[4,"gux-disabled"],"active":[32],"guxSetActive":[64],"guxFocus":[64],"guxGetActive":[64]},[[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-196a4af2",[[1,"gux-icon",{"iconName":[1,"icon-name"],"decorative":[4],"screenreaderText":[1,"screenreader-text"],"svgHtml":[32]}]]],["p-1e11d6e4",[[1,"gux-action-button",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-3539dd94",[[1,"gux-action-button-legacy",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-5809ad17",[[1,"gux-advanced-dropdown",{"disabled":[4],"placeholder":[1],"noFilter":[4,"no-filter"],"filterDebounceTimeout":[2,"filter-debounce-timeout"],"dropdownHeight":[1,"dropdown-height"],"srLabelledby":[32],"opened":[32],"currentlySelectedOption":[32],"selectionOptions":[32],"getSelectedValues":[64],"setLabeledBy":[64]}]]],["p-eea2e2ce",[[1,"gux-button-multi",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-76129360",[[1,"gux-button-multi-legacy",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-c6b24898",[[1,"gux-dropdown-multi-beta",{"value":[1025],"disabled":[4],"required":[4],"placeholder":[1],"filterable":[4],"hasError":[4,"has-error"],"expanded":[32],"filter":[32],"getSelectedValues":[64]},[[0,"keydown","onKeydown"],[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"guxclearselected","onGuxclearselected"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"]]]]],["p-db1c355f",[[0,"gux-all-row-select",{"selected":[1028],"setIndeterminate":[64]},[[0,"input","onCheck"]]]]],["p-9e9323f2",[[1,"gux-badge-beta",{"color":[1],"bold":[4],"label":[32]}]]],["p-03481479",[[1,"gux-copy-to-clipboard-beta",{"tooltipContent":[32]},[[1,"mouseleave","onMouseleave"],[0,"focusout","onFocusout"],[0,"focus","onFocus"]]]]],["p-137719a1",[[1,"gux-datepicker",{"value":[1025],"label":[1],"numberOfMonths":[1026,"number-of-months"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"mode":[1],"format":[1],"disabled":[4],"formattedValue":[32],"minDateDate":[32],"maxDateDate":[32],"toFormattedValue":[32],"active":[32]},[[0,"keydown","onKeyDown"],[1,"mousedown","onMouseDown"]]]]],["p-b4414360",[[4,"gux-dropdown-legacy",{"mode":[1],"disabled":[4],"value":[1025],"placeholder":[1],"filterable":[4],"opened":[32],"forcedGhostValue":[32],"srLabeledBy":[32],"setLabeledBy":[64],"setSelected":[64]}]]],["p-fdcd48cc",[[1,"gux-form-field-number",{"clearable":[4],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32],"hasHelp":[32],"guxForceUpdate":[64]}]]],["p-7fee69c7",[[1,"gux-form-field-time-picker",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-0511ea74",[[1,"gux-modal",{"size":[1],"trapFocus":[4,"trap-focus"],"initialFocus":[1,"initial-focus"]},[[0,"keydown","handleKeyEvent"]]]]],["p-0dd20aca",[[1,"gux-notification-toast",{"accent":[1]}]]],["p-c3516719",[[1,"gux-pagination-cursor",{"hasPrevious":[4,"has-previous"],"hasNext":[4,"has-next"]}]]],["p-6c04c5da",[[1,"gux-popover",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-bf4bee50",[[1,"gux-table-beta",{"compact":[4],"objectTable":[4,"object-table"],"emptyMessage":[1,"empty-message"],"resizableColumns":[4,"resizable-columns"],"isVerticalScroll":[32],"isHorizontalScroll":[32],"isScrolledToFirstCell":[32],"isScrolledToLastCell":[32],"columnResizeHover":[32],"getSelected":[64]},[[3,"scroll","onScroll"],[0,"internalallrowselectchange","onInternalAllRowSelectChange"],[0,"internalrowselectchange","onInternalRowSelectChange"],[3,"mousemove","onMouseMove"],[1,"mousedown","onMouseDown"],[3,"mouseup","onMouseUp"]]]]],["p-6e3596bd",[[4,"gux-table-select-menu",{"dropdownDisabled":[4,"dropdown-disabled"],"popoverHidden":[32]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-48fd3fa1",[[4,"gux-accordion-legacy",{"headingLevel":[2,"heading-level"],"arrowPosition":[1,"arrow-position"],"sections":[32],"open":[64],"close":[64],"toggle":[64]}]]],["p-41f05a68",[[1,"gux-accordion-section",{"arrowPosition":[1,"arrow-position"],"contentLayout":[1,"content-layout"],"open":[1028],"disabled":[4],"reverseHeadings":[4,"reverse-headings"]}]]],["p-cee64733",[[1,"gux-blank-state-beta",{"blankStateSize":[32]}]]],["p-d47c8f4b",[[1,"gux-breadcrumb-item",{"href":[1]}]]],["p-dbbc1d8a",[[1,"gux-chart-column-beta",{"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"xFieldName":[1,"x-field-name"],"yFieldName":[1,"y-field-name"],"xAxisTitle":[1,"x-axis-title"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"legendPosition":[1,"legend-position"],"chartLayers":[16],"embedOptions":[16]}]]],["p-963686db",[[1,"gux-chart-donut-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"innerRadius":[2,"inner-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"gauge":[4],"centerText":[1,"center-text"],"centerSubText":[1,"center-sub-text"],"showTooltip":[4,"show-tooltip"],"tooltipOptions":[16],"legendX":[2,"legend-x"],"legendY":[2,"legend-y"],"legendFontSize":[2,"legend-font-size"],"legendSymbolSize":[2,"legend-symbol-size"],"embedOptions":[16]}]]],["p-c3b6fbb4",[[1,"gux-chart-line-beta",{"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"includeDataPointMarkers":[4,"include-data-point-markers"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"strokeDash":[4,"stroke-dash"],"interpolation":[1],"embedOptions":[16]}]]],["p-59184fc8",[[1,"gux-chart-pie-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"embedOptions":[16]}]]],["p-ad855412",[[1,"gux-chart-scatter-plot-beta",{"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"useShape":[1,"use-shape"],"embedOptions":[16]}]]],["p-5ceb146b",[[1,"gux-content-search",{"matchCount":[1026,"match-count"],"currentMatch":[1026,"current-match"],"disabled":[32],"value":[32],"clear":[64]}]]],["p-700d55d7",[[1,"gux-disclosure-button",{"position":[1],"label":[1],"isOpen":[1028,"is-open"],"icon":[32]}]]],["p-5f5da942",[[1,"gux-form-field-color",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-73ed26a1",[[1,"gux-form-field-dropdown",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-0c7760a6",[[1,"gux-form-field-radio",{"disabled":[32],"hasError":[32],"hasHelp":[32]}]]],["p-f296d898",[[1,"gux-form-field-range",{"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32],"value":[32],"active":[32],"valueWatcherId":[32]},[[0,"input","onInput"],[0,"focusin","onMousedown"],[1,"mousedown","onMousedown"],[0,"focusout","onMouseup"],[1,"mouseup","onMouseup"]]]]],["p-b6e61de0",[[1,"gux-form-field-select",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-0dbc7bf2",[[1,"gux-form-field-textarea",{"resize":[1],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-616b8919",[[1,"gux-page-loading-spinner",{"screenreaderText":[1,"screenreader-text"]}]]],["p-8f81725e",[[1,"gux-radial-progress",{"value":[2],"max":[2],"scale":[2],"screenreaderText":[1,"screenreader-text"]}]]],["p-3ba11086",[[1,"gux-rating",{"value":[1026],"maxValue":[2,"max-value"],"disabled":[4],"readonly":[4]},[[0,"click","onClick"],[0,"keydown","onKeyDown"]]]]],["p-b38cbec4",[[0,"gux-side-panel-button",{"icon":[1],"altText":[1,"alt-text"],"isSelected":[4,"is-selected"]}]]],["p-291b3f50",[[17,"gux-sort-control",{"includeUnsorted":[4,"include-unsorted"],"headerContent":[32],"active":[32],"sort":[32],"isLeftAlignIcon":[32]}]]],["p-3cee3c32",[[4,"gux-submenu",{"label":[1],"isShown":[32],"guxFocus":[64]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-4cd5a46e",[[4,"gux-tab-advanced-list",{"showNewTabButton":[4,"show-new-tab-button"],"tabLimit":[2,"tab-limit"],"allowSort":[4,"allow-sort"],"focused":[32],"disableAddTabButton":[32],"tabTriggers":[32],"hasScrollbar":[32],"keyboardSort":[32],"initialSortIndex":[32],"sortTarget":[32],"ariaLiveAlert":[32],"guxSetActive":[64]},[[0,"focusin","onFocusin"],[0,"focusout","onFocusout"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-940e5dec",[[4,"gux-tab-dropdown-option-legacy",{"optionId":[1,"option-id"],"iconName":[1,"icon-name"]}]]],["p-5df781f3",[[4,"gux-tab-list",{"focused":[32],"tabTriggers":[32],"hasHorizontalScrollbar":[32],"hasVerticalScrollbar":[32],"isScrolledToBeginning":[32],"isScrolledToEnd":[32],"guxSetActive":[64]},[[0,"focusout","onFocusout"],[0,"hasVerticalScrollbar","onHasVerticalScrollBar"],[3,"scroll","onScroll"],[0,"keydown","onKeydown"]]]]],["p-22e1b417",[[1,"gux-tabs-legacy",{"allowSort":[4,"allow-sort"],"showNewTabButton":[4,"show-new-tab-button"],"value":[1],"tabLimit":[2,"tab-limit"],"disableAddTabButton":[32],"hasScrollbar":[32]},[[0,"internaltabselected","internaltabselectedHandler"]]]]],["p-d01b852c",[[4,"gux-truncate-beta",{"maxLines":[2,"max-lines"],"setShowTooltip":[64],"setHideTooltip":[64]}]]],["p-9aa5845b",[[1,"gux-accordion",{"singleOpenSection":[4,"single-open-section"]},[[0,"internalsectionopened","handleInternalsectionopened"]]]]],["p-4a3da574",[[1,"gux-action-item",{"text":[1],"value":[16],"disabled":[4]},[[0,"click","handleClick"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-6028c32a",[[1,"gux-action-list-divider"]]],["p-ff4032b7",[[1,"gux-action-toast"]]],["p-5caa2ca0",[[1,"gux-announce-beta",{"politeness":[1],"guxAnnounce":[64]}]]],["p-4ffc5f7c",[[1,"gux-breadcrumbs",{"accent":[1]}]]],["p-3dcd80f7",[[17,"gux-button",{"type":[1],"guxTitle":[1,"gux-title"],"disabled":[4],"accent":[1]}]]],["p-87348098",[[1,"gux-card-beta",{"accent":[1]}]]],["p-3d5bc6db",[[0,"gux-command-action",{"text":[1],"details":[1],"common":[4],"recent":[4],"shortcut":[1],"invokePress":[64]}]]],["p-5dba97c8",[[1,"gux-date-beta",{"datetime":[1],"format":[1]}]]],["p-4fd9444f",[[1,"gux-date-time-beta",{"datetime":[1],"format":[1]}]]],["p-3802f75e",[[0,"gux-dropdown-option",{"value":[1],"disabled":[4],"filtered":[1540],"selected":[1540],"text":[1],"highlight":[32],"getDisplayedValue":[64],"shouldFilter":[64]}]]],["p-12932303",[[1,"gux-flyout-menu-beta",{"isShown":[32]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-f3315768",[[1,"gux-list-divider"]]],["p-3b3750fd",[[1,"gux-list-divider-legacy"]]],["p-d7b95364",[[1,"gux-listbox-multi",{"value":[1025],"filter":[1],"selectedValues":[32],"listboxOptions":[32],"allListboxOptionsFiltered":[32],"guxSelectActive":[64]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mousemove","onMousemove"],[0,"click","onClick"]]]]],["p-1dc5389f",[[1,"gux-loading-message-beta",{"hasAdditionalGuidance":[32],"loadingMessageSize":[32]}]]],["p-617c216c",[[4,"gux-menu"]]],["p-19016dbb",[[4,"gux-menu-option",{"guxFocus":[64]},[[0,"keydown","onKeydown"]]]]],["p-072069d4",[[4,"gux-option-legacy",{"value":[1],"disabled":[4],"text":[1025],"selected":[516],"shouldFilter":[64]}]]],["p-92f61f75",[[4,"gux-option-multi",{"value":[1],"active":[4],"selected":[4],"disabled":[4],"filtered":[4],"hovered":[1028]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]]]],["p-7c391634",[[1,"gux-panel-frame-legacy"]]],["p-f7e01406",[[4,"gux-side-panel-legacy",{"isOpen":[4,"is-open"],"position":[1]}]]],["p-ff5f76be",[[17,"gux-skip-navigation-item"]]],["p-6a5dfd60",[[17,"gux-skip-navigation-list-beta"]]],["p-6d88e2ab",[[1,"gux-switch",{"value":[1025],"layout":[1],"switchItems":[32]},[[0,"click","onClick"]]]]],["p-5e0a36fa",[[4,"gux-switch-item",{"value":[1],"selected":[4],"disabled":[4]},[[0,"click","onClick"]]]]],["p-7ee4570d",[[4,"gux-tab-advanced-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-5d08bb94",[[4,"gux-tab-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-7ed03525",[[1,"gux-tabs",{"activeTab":[1025,"active-tab"],"orientation":[1],"alignment":[1],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-9f1ba315",[[1,"gux-tabs-advanced",{"activeTab":[1025,"active-tab"],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-a1f2b973",[[4,"gux-text-label-legacy",{"label":[1],"position":[1]}]]],["p-ba496e59",[[1,"gux-time-beta",{"datetime":[1],"format":[1]}]]],["p-585b35f9",[[17,"gux-month-calendar",{"value":[1025],"min":[1],"max":[1],"year":[32],"locale":[32],"guxFocus":[64]}]]],["p-75f445a1",[[1,"gux-form-field-search",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"clearable":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32],"hasHelp":[32]}]]],["p-969b72ac",[[1,"gux-calendar",{"value":[1025],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"mode":[1],"numberOfMonths":[2,"number-of-months"],"startDayOfWeek":[32],"previewValue":[32],"selectingDate":[32],"setValue":[64],"focusPreviewDate":[64],"resetCalendarView":[64]}]]],["p-a6ca0137",[[1,"gux-dropdown-multi-tag",{"disabled":[4],"numberSelected":[2,"number-selected"],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-cc60367a",[[0,"gux-toggle-slider",{"checked":[4],"disabled":[4],"guxAriaLabel":[1,"gux-aria-label"],"labelId":[1,"label-id"],"errorId":[1,"error-id"]}]]],["p-553fd4e4",[[17,"gux-list-item",{"disabled":[4]},[[1,"mouseup","onMouseup"],[1,"mouseover","onMouseover"]]]]],["p-c4197c68",[[1,"gux-screen-reader-beta"]]],["p-038ea6d9",[[1,"gux-table-select-popover",{"for":[1],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-8adf5bd9",[[1,"gux-form-field-text-like",{"clearable":[4],"labelPosition":[1,"label-position"],"hasPrefix":[32],"hasSuffix":[32],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32],"hasHelp":[32],"guxForceUpdate":[64]}]]],["p-de2d7dc3",[[1,"gux-popover-list",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-3b3be403",[[1,"gux-list-item-legacy",{"text":[1],"value":[8],"strategy":[1]},[[0,"click","handleClick"],[0,"keydown","handleKeyDown"]]],[1,"gux-list-legacy",{"value":[1040],"highlight":[1],"selectedIndex":[32],"setFocusOnFirstItem":[64],"setFocusOnLastItem":[64],"isLastItemSelected":[64],"isFirstItemSelected":[64]},[[0,"selected","itemSelected"]]]]],["p-a5cfce4e",[[1,"gux-error-message-beta"]]],["p-235390ad",[[1,"gux-form-field-checkbox",{"disabled":[32],"hasError":[32],"hasHelp":[32]}]]],["p-d56eac15",[[4,"gux-input-search",{"hasContent":[32],"disabled":[32]}]]],["p-fa7e4154",[[4,"gux-input-text-like",{"clearable":[4],"hasContent":[32],"disabled":[32]}]]],["p-ae8c4304",[[1,"gux-action-list-legacy",{"selectedIndex":[32],"setFocusOnFirstItem":[64],"setFocusOnLastItem":[64],"isLastItemSelected":[64],"isFirstItemSelected":[64]},[[0,"keydown","onKeyDown"]]]]],["p-734edf93",[[0,"gux-text-highlight",{"text":[1],"highlight":[1],"strategy":[1]}]]],["p-cfaa1df6",[[1,"gux-dropdown",{"value":[1025],"disabled":[4],"required":[4],"placeholder":[1],"filterable":[4],"hasError":[4,"has-error"],"expanded":[32],"filter":[32]},[[0,"keydown","onKeydown"],[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"]]],[1,"gux-listbox",{"value":[1025],"filter":[1],"selectedValues":[32],"listboxOptions":[32],"allListboxOptionsFiltered":[32],"guxSelectActive":[64]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mousemove","onMousemove"],[0,"click","onClick"]]],[4,"gux-option",{"value":[1],"active":[4],"selected":[4],"disabled":[4],"filtered":[4],"hovered":[1028]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]]]],["p-163a7345",[[0,"gux-pagination-items-per-page",{"itemsPerPage":[2,"items-per-page"]},[[0,"change","handleChange"]]],[0,"gux-pagination-buttons",{"currentPage":[2,"current-page"],"totalPages":[2,"total-pages"],"layout":[1]}],[0,"gux-pagination-item-counts",{"totalItems":[2,"total-items"],"currentPage":[2,"current-page"],"itemsPerPage":[2,"items-per-page"]}]]],["p-f26f38af",[[0,"gux-pagination-items-per-page-beta",{"itemsPerPage":[2,"items-per-page"]},[[0,"change","handleChange"]]],[0,"gux-pagination-buttons-beta",{"currentPage":[2,"current-page"],"totalPages":[2,"total-pages"],"layout":[1]}],[0,"gux-pagination-item-counts-beta",{"totalItems":[2,"total-items"],"currentPage":[2,"current-page"],"itemsPerPage":[2,"items-per-page"]}]]],["p-2a2315af",[[17,"gux-list",{"guxFocusFirstItem":[64]},[[0,"keydown","onKeyDown"]]]]],["p-d4951dba",[[1,"gux-radial-loading",{"context":[1],"screenreaderText":[1,"screenreader-text"]}]]],["p-76f67c80",[[1,"gux-tooltip",{"for":[1],"placement":[1025],"isShown":[32],"showTooltip":[64],"hideTooltip":[64]},[[9,"keydown","handleKeyDown"]]]]],["p-0672347e",[[4,"gux-tooltip-title",{"hasTooltip":[32],"showTooltip":[32],"iconOnly":[32],"titleName":[32],"setShowTooltip":[64],"setHideTooltip":[64]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onmouseleave"],[1,"mousedown","onmousedown"]]]]],["p-1fa5e36d",[[17,"gux-month-list",{"guxFocusFirstItem":[64]},[[0,"keydown","onKeyDown"]]],[17,"gux-month-list-item",{"value":[1],"disabled":[4],"selected":[4]},[[1,"mouseup","onMouseup"],[1,"mouseover","onMouseover"]]]]],["p-a010db45",[[4,"gux-color-select",{"color":[32]},[[0,"colorSelect","onColorSelect"]]],[0,"gux-input-color-option",{"active":[4],"value":[1]}]]],["p-2967a9fe",[[1,"gux-visualization-beta",{"visualizationSpec":[16],"embedOptions":[16]}]]],["p-43245056",[[17,"gux-form-field-input-clear-button"]]],["p-fb01e3be",[[4,"gux-input-color",{"guxLabelDescribedby":[1,"gux-label-describedby"],"guxErrorDescribedby":[1,"gux-error-describedby"],"guxRequired":[4,"gux-required"],"disabled":[32],"color":[32],"opened":[32],"colorOnOpen":[32]},[[8,"click","onClick"],[0,"input","onInput"]]],[4,"gux-input-number",{"clearable":[4],"hasContent":[32],"disabled":[32]}],[4,"gux-input-select",{"disabled":[32]}],[4,"gux-input-checkbox"],[4,"gux-input-radio"],[4,"gux-input-range",{"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"disabled":[32],"value":[32],"active":[32],"valueWatcherId":[32]},[[0,"input","onInput"],[0,"focusin","onMousedown"],[1,"mousedown","onMousedown"],[0,"focusout","onMouseup"],[1,"mouseup","onMouseup"]]],[4,"gux-input-textarea",{"resize":[1]}]]],["p-47e146c0",[[17,"gux-dismiss-button"]]],["p-bfa46fc4",[[1,"gux-button-slot-beta",{"accent":[1]}]]],["p-a5fb3291",[[1,"gux-popup",{"expanded":[4],"disabled":[4]}]]]]'),e)));
@@ -1 +1 @@
1
- import{r as o,h as i,g as t}from"./p-39a696d6.js";import{t as c}from"./p-ae0ccb4e.js";import{b as e}from"./p-5fefa2ad.js";import"./p-8a133b9b.js";const r={clickToCopy:"Click to Copy",copyToClipboard:"Copy to clipboard",enterToCopy:"Press Enter to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},p=class{constructor(i){o(this,i),this.tooltipContent="offerClick"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}onFocus(){this.tooltipContent="offerEnter"}resetTooltip(){this.tooltipContent="offerClick"}onCopyToClipboard(){navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="success"})).catch((()=>{this.tooltipContent="error"}))}async componentWillLoad(){c(this.root),this.i18n=await e(this.root,r)}render(){return i("button",{onClick:this.onCopyToClipboard.bind(this),class:"gux-copy-to-clipboard-wrapper",title:this.i18n("copyToClipboard")},i("div",{class:"gux-copy-content"},i("slot",{name:"content"}),i("gux-icon",{"icon-name":"copy",decorative:!0})),i("gux-tooltip",{placement:"bottom-end"},"success"===this.tooltipContent?i("gux-icon",{"icon-name":"badge-check",decorative:!0}):"","error"===this.tooltipContent?i("gux-icon",{"icon-name":"badge-x",decorative:!0}):"","offerClick"===this.tooltipContent?this.i18n("clickToCopy"):"","offerEnter"===this.tooltipContent?this.i18n("enterToCopy"):"","success"===this.tooltipContent?this.i18n("copySuccess"):"","error"===this.tooltipContent?this.i18n("copyFailure"):""))}get root(){return t(this)}};p.style="button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;align-items:inherit;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:0 2px;margin-right:4px}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name='copy']{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name='copy']{width:16px;height:16px;padding:2px;visibility:hidden;background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper:focus{outline:none}.gux-copy-to-clipboard-wrapper:focus ::slotted(*){background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper:focus gux-icon[icon-name='copy']{visibility:visible}.gux-copy-to-clipboard-wrapper gux-tooltip{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon{width:16px;height:16px;padding-right:8px}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name='badge-check']{color:#3c8527}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name='badge-x']{color:#ea0b0b}.focus-and-hover-copy-content ::slotted(*){background-color:#deeaff;border-radius:4px}.focus-and-hover-copy-content gux-icon[icon-name='copy']{visibility:visible}";export{p as gux_copy_to_clipboard_beta}
1
+ import{r as o,h as i,g as t}from"./p-39a696d6.js";import{t as c}from"./p-52aad620.js";import{b as r}from"./p-7d64c6a5.js";import"./p-8a133b9b.js";const e={clickToCopy:"Click to Copy",copyToClipboard:"Copy to clipboard",enterToCopy:"Press Enter to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},p=class{constructor(i){o(this,i),this.tooltipContent="offerClick"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}onFocus(){this.tooltipContent="offerEnter"}resetTooltip(){this.tooltipContent="offerClick"}onCopyToClipboard(){navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="success"})).catch((()=>{this.tooltipContent="error"}))}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,e)}render(){return i("button",{onClick:this.onCopyToClipboard.bind(this),class:"gux-copy-to-clipboard-wrapper",title:this.i18n("copyToClipboard")},i("div",{class:"gux-copy-content"},i("slot",{name:"content"}),i("gux-icon",{"icon-name":"copy",decorative:!0})),i("gux-tooltip",{placement:"bottom-end"},"success"===this.tooltipContent?i("gux-icon",{"icon-name":"badge-check",decorative:!0}):"","error"===this.tooltipContent?i("gux-icon",{"icon-name":"badge-x",decorative:!0}):"","offerClick"===this.tooltipContent?this.i18n("clickToCopy"):"","offerEnter"===this.tooltipContent?this.i18n("enterToCopy"):"","success"===this.tooltipContent?this.i18n("copySuccess"):"","error"===this.tooltipContent?this.i18n("copyFailure"):""))}get root(){return t(this)}};p.style="button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;align-items:inherit;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:0 2px;margin-right:4px}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name='copy']{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name='copy']{width:16px;height:16px;padding:2px;visibility:hidden;background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper:focus{outline:none}.gux-copy-to-clipboard-wrapper:focus ::slotted(*){background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper:focus gux-icon[icon-name='copy']{visibility:visible}.gux-copy-to-clipboard-wrapper gux-tooltip{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon{width:16px;height:16px;padding-right:8px}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name='badge-check']{color:#3c8527}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name='badge-x']{color:#ea0b0b}.focus-and-hover-copy-content ::slotted(*){background-color:#deeaff;border-radius:4px}.focus-and-hover-copy-content gux-icon[icon-name='copy']{visibility:visible}";export{p as gux_copy_to_clipboard_beta}
@@ -1 +1 @@
1
- import{r as t,c as o,h as n,g as a}from"./p-39a696d6.js";import{t as i}from"./p-ae0ccb4e.js";const s=class{constructor(n){t(this,n),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0}handleKeyEvent(t){"Escape"===t.key&&this.onDismissHandler(t)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){i(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var t,o,n;const a=this.getInitialFocusElement();a?null===(t=a.focus)||void 0===t||t.call(a):this.dismissButton&&(null===(n=(o=this.dismissButton).focus)||void 0===n||n.call(o))}render(){const t=this.hasModalTitleSlot(),o=this.hasFooterButtons();return n("div",{class:"gux-modal"},n("div",{class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),n("gux-dismiss-button",{onClick:this.onDismissHandler.bind(this),ref:t=>this.dismissButton=t}),t&&n("h1",{class:"gux-modal-header"},n("slot",{name:"title"})),n("div",{class:{"gux-modal-content":!0,"gux-no-buttons":!o}},n("p",null,n("slot",{name:"content"}))),o&&n("div",{class:"gux-button-footer"},n("div",{class:"gux-left-align-buttons"},n("slot",{name:"left-align-buttons"})),n("div",{class:"gux-right-align-buttons"},n("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return n("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(t){var o;t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return a(this)}};s.style=":host .gux-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--gux-zindex-modal, 1);display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}:host .gux-modal .gux-modal-container{box-shadow:0 8px 24px rgba(32, 41, 55, 0.4);position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px}:host .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px;overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}:host .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}:host .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{s as gux_modal}
1
+ import{r as t,c as o,h as a,g as n}from"./p-39a696d6.js";import{t as i}from"./p-52aad620.js";const s=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0}handleKeyEvent(t){"Escape"===t.key&&this.onDismissHandler(t)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){i(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var t,o,a;const n=this.getInitialFocusElement();n?null===(t=n.focus)||void 0===t||t.call(n):this.dismissButton&&(null===(a=(o=this.dismissButton).focus)||void 0===a||a.call(o))}render(){const t=this.hasModalTitleSlot(),o=this.hasFooterButtons();return a("div",{class:"gux-modal"},a("div",{class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),a("gux-dismiss-button",{onClick:this.onDismissHandler.bind(this),ref:t=>this.dismissButton=t}),t&&a("h1",{class:"gux-modal-header"},a("slot",{name:"title"})),a("div",{class:{"gux-modal-content":!0,"gux-no-buttons":!o}},a("p",null,a("slot",{name:"content"}))),o&&a("div",{class:"gux-button-footer"},a("div",{class:"gux-left-align-buttons"},a("slot",{name:"left-align-buttons"})),a("div",{class:"gux-right-align-buttons"},a("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return a("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(t){var o;t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return n(this)}};s.style=":host .gux-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--gux-zindex-modal, 1);display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}:host .gux-modal .gux-modal-container{box-shadow:0 8px 24px rgba(32, 41, 55, 0.4);position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px}:host .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px;overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}:host .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}:host .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{s as gux_modal}
@@ -1 +1 @@
1
- import{r as t,c as i,d as a,h as n,g as e}from"./p-39a696d6.js";import{t as s}from"./p-ae0ccb4e.js";const o=class{constructor(a){t(this,a),this.guxpaginationchange=i(this,"guxpaginationchange",7),this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25}setPage(t){if(t<0)return void this.setPage(this.totalPages>0?1:0);const i=this.calculateTotalPages(this.totalItems,this.itemsPerPage);t>i?this.setPage(i):(this.currentPage=t,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(t){this.itemsPerPage=t.detail,this.setPage(1)}handleInternalcurrentpagechange(t){this.setPage(t.detail)}calculateTotalPages(t,i){return Math.ceil(t/i)}calculateCurrentPage(t,i){return Math.max(t>0?1:0,Math.min(i,t))}checkPaginationContainerWidthForLayout(){a((()=>{const t=this.root.shadowRoot.querySelector(".gux-pagination-container");this.displayedLayout=t.clientWidth<810?"simple":this.layout}))}componentWillLoad(){s(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),setTimeout((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return n("div",{class:"gux-pagination-container"},n("div",{class:"gux-pagination-info"},n("gux-pagination-item-counts-beta",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&n("gux-pagination-items-per-page-beta",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),n("div",{class:"gux-pagination-change"},n("gux-pagination-buttons-beta",{layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return e(this)}};o.style=":host{display:block;border-top:1px solid #e2e6ee}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:40px;margin:12px 12px 0 12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0;margin-left:24px}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{o as gux_pagination_beta}
1
+ import{r as t,c as i,d as a,h as n,g as e}from"./p-39a696d6.js";import{t as s}from"./p-52aad620.js";const o=class{constructor(a){t(this,a),this.guxpaginationchange=i(this,"guxpaginationchange",7),this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25}setPage(t){if(t<0)return void this.setPage(this.totalPages>0?1:0);const i=this.calculateTotalPages(this.totalItems,this.itemsPerPage);t>i?this.setPage(i):(this.currentPage=t,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(t){this.itemsPerPage=t.detail,this.setPage(1)}handleInternalcurrentpagechange(t){this.setPage(t.detail)}calculateTotalPages(t,i){return Math.ceil(t/i)}calculateCurrentPage(t,i){return Math.max(t>0?1:0,Math.min(i,t))}checkPaginationContainerWidthForLayout(){a((()=>{const t=this.root.shadowRoot.querySelector(".gux-pagination-container");this.displayedLayout=t.clientWidth<810?"simple":this.layout}))}componentWillLoad(){s(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),setTimeout((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return n("div",{class:"gux-pagination-container"},n("div",{class:"gux-pagination-info"},n("gux-pagination-item-counts-beta",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&n("gux-pagination-items-per-page-beta",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),n("div",{class:"gux-pagination-change"},n("gux-pagination-buttons-beta",{layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return e(this)}};o.style=":host{display:block;border-top:1px solid #e2e6ee}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:40px;margin:12px 12px 0 12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0;margin-left:24px}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{o as gux_pagination_beta}
@@ -1 +1 @@
1
- import{r as t,c as e,h as g,H as l,g as i}from"./p-39a696d6.js";import{t as a}from"./p-ae0ccb4e.js";import{r as s}from"./p-cbcbd1bb.js";import{b as o}from"./p-5fefa2ad.js";import"./p-8a133b9b.js";const n={defaultAriaLabel:"Toggle Switch"},r=class{constructor(g){t(this,g),this.check=e(this,"check",7),this.labelId=s("gux-toggle-label"),this.errorId=s("gux-toggle-error"),this.checked=!1,this.disabled=!1,this.loading=!1,this.labelPosition="right",this.displayInline=!1}onClick(){this.toggle()}onKeydown(t){switch(t.key){case"Enter":case" ":t.preventDefault(),this.toggle()}}toggle(){this.disabled||this.loading||this.check.emit(!this.checked).defaultPrevented||(this.checked=!this.checked)}getAriaLabel(){return this.root.getAttribute("aria-label")||this.root.title||this.i18n("defaultAriaLabel")}async componentWillLoad(){this.i18n=await o(this.root,n),a(this.root,{variant:this.checkedLabel||this.uncheckedLabel?"labled":"unlabled"})}renderLoading(){if(this.loading)return g("div",{class:"gux-toggle-label-loading"},g("gux-radial-loading",{context:"input"}))}renderLabel(){if(this.uncheckedLabel&&this.checkedLabel)return g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.checked?this.checkedLabel:this.uncheckedLabel),this.renderLoading()),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.checkedLabel),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.uncheckedLabel))))}renderError(){if(this.errorMessage)return g("div",{id:this.errorId,class:"gux-toggle-error"},g("gux-error-message-beta",null,this.errorMessage))}render(){return g(l,{class:{"gux-display-inline":this.displayInline}},g("div",{class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading}},g("div",{class:"gux-toggle-input"},g("gux-toggle-slider",{checked:this.checked,disabled:this.disabled||this.loading,guxAriaLabel:this.getAriaLabel(),labelId:this.checkedLabel&&this.uncheckedLabel?this.labelId:"",errorId:this.errorMessage?this.errorId:""}),this.renderLabel()),this.renderError()))}static get delegatesFocus(){return!0}get root(){return i(this)}};r.style=":host{display:block;margin:2px;color:#2e394c;outline:none}:host(.gux-display-inline){display:inline-block}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:0.5}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{place-items:end}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:right}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block;padding:0 4px}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{display:grid;grid-template-areas:'inner-div';place-items:start}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner{position:relative;grid-area:inner-div}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner.gux-hidden{visibility:hidden}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}";export{r as gux_toggle}
1
+ import{r as t,c as e,h as g,H as l,g as i}from"./p-39a696d6.js";import{t as a}from"./p-52aad620.js";import{r as s}from"./p-cbcbd1bb.js";import{b as o}from"./p-7d64c6a5.js";import"./p-8a133b9b.js";const n={defaultAriaLabel:"Toggle Switch"},r=class{constructor(g){t(this,g),this.check=e(this,"check",7),this.labelId=s("gux-toggle-label"),this.errorId=s("gux-toggle-error"),this.checked=!1,this.disabled=!1,this.loading=!1,this.labelPosition="right",this.displayInline=!1}onClick(){this.toggle()}onKeydown(t){switch(t.key){case"Enter":case" ":t.preventDefault(),this.toggle()}}toggle(){this.disabled||this.loading||this.check.emit(!this.checked).defaultPrevented||(this.checked=!this.checked)}getAriaLabel(){return this.root.getAttribute("aria-label")||this.root.title||this.i18n("defaultAriaLabel")}async componentWillLoad(){this.i18n=await o(this.root,n),a(this.root,{variant:this.checkedLabel||this.uncheckedLabel?"labled":"unlabled"})}renderLoading(){if(this.loading)return g("div",{class:"gux-toggle-label-loading"},g("gux-radial-loading",{context:"input"}))}renderLabel(){if(this.uncheckedLabel&&this.checkedLabel)return g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.checked?this.checkedLabel:this.uncheckedLabel),this.renderLoading()),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.checkedLabel),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.uncheckedLabel))))}renderError(){if(this.errorMessage)return g("div",{id:this.errorId,class:"gux-toggle-error"},g("gux-error-message-beta",null,this.errorMessage))}render(){return g(l,{class:{"gux-display-inline":this.displayInline}},g("div",{class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading}},g("div",{class:"gux-toggle-input"},g("gux-toggle-slider",{checked:this.checked,disabled:this.disabled||this.loading,guxAriaLabel:this.getAriaLabel(),labelId:this.checkedLabel&&this.uncheckedLabel?this.labelId:"",errorId:this.errorMessage?this.errorId:""}),this.renderLabel()),this.renderError()))}static get delegatesFocus(){return!0}get root(){return i(this)}};r.style=":host{display:block;margin:2px;color:#2e394c;outline:none}:host(.gux-display-inline){display:inline-block}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:0.5}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{place-items:end}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:right}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block;padding:0 4px}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{display:grid;grid-template-areas:'inner-div';place-items:start}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner{position:relative;grid-area:inner-div}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner.gux-hidden{visibility:hidden}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}";export{r as gux_toggle}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,g as o}from"./p-39a696d6.js";import{c as l,o as s}from"./p-3f5341ea.js";import{O as r}from"./p-82eb8b00.js";import{p as a}from"./p-c10e41a9.js";import{h as n}from"./p-08bc2e6b.js";import{G as d,a as p,v as c}from"./p-1f6b2594.js";import{t as f}from"./p-ae0ccb4e.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const g=class{constructor(t){e(this,t),this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help"),f(this.root)}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return t(i,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("div",{class:"gux-form-field-container"},t("div",{class:"gux-input-label"},t("div",{class:"gux-input"},t("slot",{name:"input",onSlotchange:()=>this.setInput()})),t("div",{class:"gux-label"},t("slot",{name:"label"}),t(d,{show:this.hasError},t("slot",{name:"error"})),t(p,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))))}setInput(){this.input=this.root.querySelector('input[type="radio"][slot="input"]'),a(this.input),this.disabled=l(this.input),this.disabledObserver=s(this.input,(e=>{this.disabled=e})),c(this.root,this.input)}get root(){return o(this)}};(function(e,t,i,o){var l,s=arguments.length,r=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(l=e[a])&&(r=(s<3?l(r):s>3?l(t,i,r):l(t,i))||r);s>3&&r&&Object.defineProperty(t,i,r)})([r({childList:!0,subtree:!0})],g.prototype,"onMutation",null),g.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.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}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:flex;flex-direction:row}.gux-input-label .gux-label{display:flex;flex-direction:column}::slotted(input[type='radio']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;cursor:pointer;border:0;-webkit-appearance:none;appearance:none;outline:none}::slotted(input[type='radio'])::before{grid-area:1;content:'';border-radius:50%}::slotted(input[type='radio']:focus-within)::before{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}::slotted(input[type='radio']:not(:checked))::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%2377828f'/%3E%3C/svg%3E\")}::slotted(input[type='radio']:not(:checked):not(:disabled):hover)::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='radio']:checked)::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.026 5.262a2.8 2.8 0 1 0 .001 5.601 2.8 2.8 0 0 0-.001-5.601zm0-2.2c-2.761 0-5 2.211-5 4.938s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='radio']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}";export{g as gux_form_field_radio}
1
+ import{r as e,h as t,H as i,g as o}from"./p-39a696d6.js";import{c as l,o as s}from"./p-3f5341ea.js";import{O as r}from"./p-82eb8b00.js";import{p as a}from"./p-c10e41a9.js";import{h as n}from"./p-08bc2e6b.js";import{G as d,a as p,v as f}from"./p-1f6b2594.js";import{t as c}from"./p-52aad620.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const g=class{constructor(t){e(this,t),this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help"),c(this.root)}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return t(i,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("div",{class:"gux-form-field-container"},t("div",{class:"gux-input-label"},t("div",{class:"gux-input"},t("slot",{name:"input",onSlotchange:()=>this.setInput()})),t("div",{class:"gux-label"},t("slot",{name:"label"}),t(d,{show:this.hasError},t("slot",{name:"error"})),t(p,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))))}setInput(){this.input=this.root.querySelector('input[type="radio"][slot="input"]'),a(this.input),this.disabled=l(this.input),this.disabledObserver=s(this.input,(e=>{this.disabled=e})),f(this.root,this.input)}get root(){return o(this)}};(function(e,t,i,o){var l,s=arguments.length,r=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(l=e[a])&&(r=(s<3?l(r):s>3?l(t,i,r):l(t,i))||r);s>3&&r&&Object.defineProperty(t,i,r)})([r({childList:!0,subtree:!0})],g.prototype,"onMutation",null),g.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.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}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:flex;flex-direction:row}.gux-input-label .gux-label{display:flex;flex-direction:column}::slotted(input[type='radio']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;cursor:pointer;border:0;-webkit-appearance:none;appearance:none;outline:none}::slotted(input[type='radio'])::before{grid-area:1;content:'';border-radius:50%}::slotted(input[type='radio']:focus-within)::before{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}::slotted(input[type='radio']:not(:checked))::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%2377828f'/%3E%3C/svg%3E\")}::slotted(input[type='radio']:not(:checked):not(:disabled):hover)::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='radio']:checked)::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.026 5.262a2.8 2.8 0 1 0 .001 5.601 2.8 2.8 0 0 0-.001-5.601zm0-2.2c-2.761 0-5 2.211-5 4.938s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='radio']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}";export{g as gux_form_field_radio}
@@ -1 +1 @@
1
- import{r as t,h as e,g as i}from"./p-39a696d6.js";import{c as o,o as r}from"./p-3f5341ea.js";import{O as n}from"./p-82eb8b00.js";import{a}from"./p-e2bea786.js";import{p as s}from"./p-c10e41a9.js";import{h as l}from"./p-08bc2e6b.js";import{G as p,a as d,v as h,g as u}from"./p-1f6b2594.js";import{G as x,a as f}from"./p-c9576487.js";import{t as g}from"./p-ae0ccb4e.js";import"./p-cbcbd1bb.js";import"./p-3184268e.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=a(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,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})],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}
1
+ import{r as t,h as e,g as i}from"./p-39a696d6.js";import{c as o,o as r}from"./p-3f5341ea.js";import{O as n}from"./p-82eb8b00.js";import{a}from"./p-e2bea786.js";import{p as s}from"./p-c10e41a9.js";import{h as l}from"./p-08bc2e6b.js";import{G as p,a as d,v as h,g as u}from"./p-1f6b2594.js";import{G as x,a as f}from"./p-c9576487.js";import{t as g}from"./p-52aad620.js";import"./p-cbcbd1bb.js";import"./p-3184268e.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=a(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,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})],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}
@@ -1 +1 @@
1
- import{r as t,c as o,h as i,H as e,g as s}from"./p-39a696d6.js";import{t as n}from"./p-ae0ccb4e.js";const a=class{constructor(i){t(this,i),this.guxdismiss=o(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return i(e,null,i("div",{class:`gux-icon gux-${this.accent}`},i("slot",{name:"icon"})),i("div",{class:"gux-content"},i("div",{class:"gux-title"},i("slot",{name:"title"})),i("div",{class:"gux-message"},i("slot",{name:"message"}))),i("gux-dismiss-button",{onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};a.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:flex-start;order:0}.gux-content .gux-title{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;font-size:14px;line-height:20px;color:#2e394c;text-overflow:ellipsis}.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:24px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}";export{a as gux_notification_toast}
1
+ import{r as t,c as o,h as i,H as e,g as s}from"./p-39a696d6.js";import{t as n}from"./p-52aad620.js";const a=class{constructor(i){t(this,i),this.guxdismiss=o(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return i(e,null,i("div",{class:`gux-icon gux-${this.accent}`},i("slot",{name:"icon"})),i("div",{class:"gux-content"},i("div",{class:"gux-title"},i("slot",{name:"title"})),i("div",{class:"gux-message"},i("slot",{name:"message"}))),i("gux-dismiss-button",{onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};a.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:flex-start;order:0}.gux-content .gux-title{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;font-size:14px;line-height:20px;color:#2e394c;text-overflow:ellipsis}.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:24px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}";export{a as gux_notification_toast}
@@ -1 +1 @@
1
- import{r as t,h as o,H as e,g as s}from"./p-39a696d6.js";import{t as i}from"./p-ae0ccb4e.js";import{m as r,h as n}from"./p-a02c3341.js";import{c as a}from"./p-ec26fc38.js";const u=class{constructor(o){t(this,o),this.isShown=!1}forceUpdate(t){t&&this.popperInstance&&this.popperInstance.update()}onKeydown(t){if(t.stopPropagation(),this.isShown)switch(t.key){case"Escape":case"ArrowLeft":case"ArrowUp":return void this.root.focus();case"ArrowDown":return t.preventDefault(),void this.focusOnMenu();case"Enter":return void(this.hideDelayTimeout=setTimeout((()=>{this.focusOnMenu()}),r))}}onKeyup(t){switch(t.stopPropagation(),t.key){case" ":return void(this.menuContentElement.contains(document.activeElement)?this.root.focus():this.hideDelayTimeout=setTimeout((()=>{this.focusOnMenu()}),r))}}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(t){0!==t.detail&&this.hide(),this.root.focus()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),n))}runPopper(){this.popperInstance=a(this.targetElement,document.querySelector("gux-menu"),{modifiers:[{name:"offset",options:{offset:[0,16]}},{name:"arrow",options:{padding:16}}],placement:"bottom-start"})}destroyPopper(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}focusOnMenu(){if(this.menuContentElement.contains(document.activeElement))return;const t=this.root.querySelector("gux-menu");Array.from(t.children)[0].guxFocus()}componentWillLoad(){i(this.root)}componentDidLoad(){this.runPopper()}disconnectedCallback(){this.destroyPopper()}render(){return o(e,{tabIndex:0,"aria-haspopup":"true"},o("span",{ref:t=>this.targetElement=t},o("slot",{name:"target"})),o("div",{class:{"gux-flyout-menu-content":!0,"gux-shown":this.isShown},ref:t=>this.menuContentElement=t},o("slot",{name:"menu"})))}get root(){return s(this)}static get watchers(){return{isShown:["forceUpdate"]}}};u.style=":host{z-index:var(--gux-zindex-popover, 2);color:#2e394c;cursor:default}:host(:focus){outline:none}:host(:focus-visible){outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-flyout-menu-content{display:none;margin:0}.gux-flyout-menu-content.gux-shown{display:flex}.gux-arrow,.gux-arrow::before{position:absolute;top:-3px;width:10px;height:10px;background:inherit}.gux-arrow::before{visibility:visible;content:'';border-top:1px solid #b4bccb;border-left:1px solid #b4bccb;transform:rotate(45deg)}";export{u as gux_flyout_menu_beta}
1
+ import{r as t,h as o,H as s,g as e}from"./p-39a696d6.js";import{t as i}from"./p-52aad620.js";import{m as r,h as n}from"./p-a02c3341.js";import{c as a}from"./p-ec26fc38.js";const u=class{constructor(o){t(this,o),this.isShown=!1}forceUpdate(t){t&&this.popperInstance&&this.popperInstance.update()}onKeydown(t){if(t.stopPropagation(),this.isShown)switch(t.key){case"Escape":case"ArrowLeft":case"ArrowUp":return void this.root.focus();case"ArrowDown":return t.preventDefault(),void this.focusOnMenu();case"Enter":return void(this.hideDelayTimeout=setTimeout((()=>{this.focusOnMenu()}),r))}}onKeyup(t){switch(t.stopPropagation(),t.key){case" ":return void(this.menuContentElement.contains(document.activeElement)?this.root.focus():this.hideDelayTimeout=setTimeout((()=>{this.focusOnMenu()}),r))}}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(t){0!==t.detail&&this.hide(),this.root.focus()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),n))}runPopper(){this.popperInstance=a(this.targetElement,document.querySelector("gux-menu"),{modifiers:[{name:"offset",options:{offset:[0,16]}},{name:"arrow",options:{padding:16}}],placement:"bottom-start"})}destroyPopper(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}focusOnMenu(){if(this.menuContentElement.contains(document.activeElement))return;const t=this.root.querySelector("gux-menu");Array.from(t.children)[0].guxFocus()}componentWillLoad(){i(this.root)}componentDidLoad(){this.runPopper()}disconnectedCallback(){this.destroyPopper()}render(){return o(s,{tabIndex:0,"aria-haspopup":"true"},o("span",{ref:t=>this.targetElement=t},o("slot",{name:"target"})),o("div",{class:{"gux-flyout-menu-content":!0,"gux-shown":this.isShown},ref:t=>this.menuContentElement=t},o("slot",{name:"menu"})))}get root(){return e(this)}static get watchers(){return{isShown:["forceUpdate"]}}};u.style=":host{z-index:var(--gux-zindex-popover, 2);color:#2e394c;cursor:default}:host(:focus){outline:none}:host(:focus-visible){outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-flyout-menu-content{display:none;margin:0}.gux-flyout-menu-content.gux-shown{display:flex}.gux-arrow,.gux-arrow::before{position:absolute;top:-3px;width:10px;height:10px;background:inherit}.gux-arrow::before{visibility:visible;content:'';border-top:1px solid #b4bccb;border-left:1px solid #b4bccb;transform:rotate(45deg)}";export{u as gux_flyout_menu_beta}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,g as s}from"./p-39a696d6.js";import{t as a}from"./p-ae0ccb4e.js";import{r as n}from"./p-cbcbd1bb.js";import{b as r}from"./p-5fefa2ad.js";import{f as d,a as c,b as u,c as h}from"./p-4f26144b.js";import{O as o}from"./p-d915144d.js";import{c as l}from"./p-ec26fc38.js";import"./p-8a133b9b.js";const p={start:"Start",end:"End",date:"Date",toggleCalendar:"Toggle calendar view"};function g(t,e){let i=new Date(e.getTime());return i.setDate(i.getDate()+t),t<0?i.getDate()>e.getDate()&&(i=new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0)):i.getDate()<e.getDate()&&i.setMonth(i.getMonth()-1),i}function x(t,e){const i=new Date(e.valueOf()),s=function(t){let e=t;for(;e<0;)e+=12;return e%=12,e}(i.getMonth()+t);return i.setMonth(s),i.setFullYear(e.getFullYear()),i.getMonth()!==s?x(t,g(-1,e)):i}function f(t,e){const i=t[e];return i&&"/"!==i?i:t[e-1]}function k(t){return t.match(/\W/)[0]}function b(t){const e=k(t);return t.split(e).reduce(((t,e)=>t.concat(e[0])),[])}function m(t,e){return{selectionStart:t.indexOf(e),selectionEnd:t.lastIndexOf(e)+1}}const w=class{constructor(i){t(this,i),this.input=e(this,"input",7),this.yearFormat="yyyy",this.isSelectingRangeWithMouse=!1,this.lastYear=(new Date).getFullYear(),this.startInputId=n("gux-datepicker"),this.endInputId=n("gux-datepicker"),this.label="",this.numberOfMonths=1,this.minDate="",this.maxDate="",this.mode="single",this.format="mm/dd/yyyy",this.disabled=!1,this.formattedValue="",this.toFormattedValue="",this.active=!1}watchValue(){this.updateDate()}watchMinDate(t){this.minDateDate=t?d(t):null}watchMaxDate(t){this.maxDateDate=t?d(t):null}watchFormat(t){t.includes("yyyy")||(this.yearFormat="yy"),this.intervalOrder=b(t),this.lastIntervalRange=this.initialIntervalRange}watchActiveCalendar(t){if(!0===t){const t=d(this.value.split("/")[0]);this.calendarElement.resetCalendarView(t)}}onKeyDown(t){if(this.isInputFieldEvent(t))switch(this.focusedField=this.getInputFieldFromEvent(t),t.key){case"Enter":case"Escape":this.focusedField.blur(),this.active=!1;break;case"Tab":break;case"ArrowDown":t.preventDefault(),this.increment(-1),this.setCursorRange();break;case"ArrowUp":t.preventDefault(),this.increment(1),this.setCursorRange();break;case"ArrowLeft":{t.preventDefault();const e=function(t,e){const i=b(t),s=f(t,e.selectionStart),a=i.indexOf(s);return m(t,i[(a+i.length-1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange();break}case"ArrowRight":{t.preventDefault();const e=function(t,e){const i=b(t),s=f(t,e.selectionStart),a=i.indexOf(s);return m(t,i[(a+1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange();break}default:t.preventDefault(),this.isSelectingRangeWithMouse||(this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.updateIntervalValue(t),this.setCursorRange())}else switch(t.key){case"Enter":case"Escape":case" ":{this.active=!1;const t=this.root.shadowRoot.querySelector(".gux-calendar-toggle-button");setTimeout((()=>{t.focus()}),100);break}case"Tab":this.active&&(this.active=!1)}}onMouseDown(t){this.isInputFieldEvent(t)&&(this.isSelectingRangeWithMouse=!0);const e=t.composedPath(),i=e.includes(this.datepickerElement);Array.from(this.root.shadowRoot.querySelectorAll(".gux-calendar-toggle-button")).every((t=>!e.includes(t)))&&(this.active=i)}onClickOutside(){this.active=!1}onInputFocusIn(t){this.focusedField=this.getInputFieldFromEvent(t),this.isSelectingRangeWithMouse||setTimeout((()=>this.setRange()))}onInputFocusOut(){this.lastIntervalRange=this.initialIntervalRange}onInputMouseUp(t){t.preventDefault(),this.lastIntervalRange=m(this.format,f(this.format,this.focusedField.selectionStart)),this.setRange(),this.isSelectingRangeWithMouse=!1}isInputFieldEvent(t){const e=t.composedPath();return e.includes(this.inputElement)||e.includes(this.toInputElement)}get initialIntervalRange(){return m(this.format,f(this.format,0))}getInputFieldFromEvent(t){return t.composedPath()[0]}updateIntervalValue(t){const e=parseInt(t.key,10);if(!isNaN(e)){const i=this.focusedField.value.slice(this.focusedField.selectionStart,this.focusedField.selectionEnd);"y"===f(this.format,this.focusedField.selectionStart)&&"yyyy"===this.yearFormat?this.typeYearValue(i,t.key):this.canSetDate(e)?(this.updateSelection(this.focusedField,`${i[1]}${t.key}`),this.setValue()):(this.updateSelection(this.focusedField,`0${t.key}`.replace("00","01")),this.setValue())}}updateSelection(t,e){t.value=t.value.substr(0,this.intervalRange.selectionStart)+e+t.value.substr(this.intervalRange.selectionEnd)}getCalendarLabels(){return function(t,e,i){const s=t.split(",").map((t=>t.trim()));return"range"===e?[s[0]||i[0],s[1]||i[1]]:"range"===e||s[0]?[s[0]]:[i[2]]}(this.label,this.mode,[this.i18n("start"),this.i18n("end"),this.i18n("date")])}stringToDate(t){const e=k(this.format),i=this.format.toLowerCase().split(e),s=t.split(e),a=parseInt(s[i.indexOf(this.yearFormat)],10),n=parseInt(s[i.indexOf("mm")],10)-1,r=parseInt(s[i.indexOf("dd")],10),d=new Date(a,n,r);return"yy"===this.yearFormat&&d.getFullYear()<1970&&this.lastYear>1970&&d.setFullYear(d.getFullYear()+100),d}onCalendarSelect(t){this.value=t.target.value,t.stopPropagation(),this.input.emit(this.value),this.updateDate(),this.inputElement.value=this.formattedValue,"range"===this.mode&&(this.toInputElement.value=this.toFormattedValue),document.activeElement===this.inputElement&&document.activeElement===this.toInputElement||(this.active=!1)}setValue(){if("range"===this.mode){const t=this.stringToDate(this.inputElement.value),e=this.stringToDate(this.toInputElement.value);this.value=c(t,e),this.updateDate(),this.calendarElement.setValue([t,e])}else{const t=this.stringToDate(this.inputElement.value);this.value=u(t),this.updateDate(),this.calendarElement.setValue(t)}this.input.emit(this.value)}setRange(){this.setIntervalRange(this.lastIntervalRange),this.setCursorRange()}typeYearValue(t,e){" "!==t[0]?this.updateSelection(this.focusedField,` ${e}`):(this.updateSelection(this.focusedField,`${t.substr(1)}${e}`),(t.substr(1)+e).includes(" ")||this.setValue())}canSetDate(t){const e=parseInt([this.focusedField.value[this.intervalRange.selectionEnd-1].toString(),t].join(""),10);if(e)switch(f(this.format,this.focusedField.selectionStart)){case"d":{const t=d(this.value);if(e<=new Date(t.getFullYear(),t.getMonth()+1,0).getDate())return!0;break}case"m":if(e<=12)return!0;break;case"y":return!0}return!1}getMapAndRegexFromField(t){const e={dd:`0${t.getDate()}`.slice(-2),mm:`0${t.getMonth()+1}`.slice(-2)};return"yyyy"===this.yearFormat?e.yyyy=t.getFullYear().toString():e.yy=t.getFullYear().toString().slice(-2),{map:e,regexp:new RegExp(Object.keys(e).join("|"),"gi")}}updateDate(){if("range"===this.mode){const[t,e]=h(this.value),{map:i,regexp:s}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(s,(t=>i[t]));const{map:a,regexp:n}=this.getMapAndRegexFromField(e);this.toFormattedValue=this.format.replace(n,(t=>a[t]))}else{const t=d(this.value),{map:e,regexp:i}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(i,(t=>e[t]))}}setCursorRange(){this.intervalRange&&(this.focusedField.setSelectionRange(0,100),this.focusedField.setSelectionRange(this.intervalRange.selectionStart,this.intervalRange.selectionEnd))}toggleCalendar(){this.active=!this.active,this.active&&setTimeout((()=>{this.calendarElement.focusPreviewDate()}),100)}setIntervalRange(t){this.intervalRange=t}getCombinedFocusedDateValue(){return"range"===this.mode?this.getRangeFocusedDateValue():this.getFocusedDateValue()}getFocusedDateValue(){return d(this.value)}getRangeFocusedDateValue(){const[t,e]=h(this.value);return this.focusedField===this.inputElement?t:e}increment(t){const e=f(this.format,this.focusedField.selectionStart),i=this.getCombinedFocusedDateValue();let s;switch(e){case"d":s=g(t,i);break;case"m":s=x(t,i);break;case"y":s=function(t,e){const i=new Date(e.valueOf());return i.setFullYear(e.getFullYear()+t),i}(t,i)}var a,n,r;a=s,n=this.minDateDate,((r=this.maxDateDate)&&r<a||n&&n>a)&&(s=i),this.lastYear=s.getFullYear(),this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.focusedField.value=function(t,e){const i=k(e);return e.split(i).map((e=>{switch(e[0]){case"d":return function(t){return`0${t.getDate().toString()}`.slice(-2)}(t);case"m":return function(t){return`0${(t.getMonth()+1).toString()}`.slice(-2)}(t);case"y":return function(t,e){return"yyyy"===e?t.getFullYear().toString():t.getFullYear().toString().slice(-2)}(t,e)}})).join(i)}(s,this.format),this.setValue()}async componentWillLoad(){if(a(this.root,{variant:this.mode}),this.i18n=await r(this.root,p),this.watchMinDate(this.minDate),this.watchMaxDate(this.maxDate),this.watchFormat(this.format),!this.value){const t=new Date;t.setHours(0,0,0,0),this.value="range"===this.mode?c(t,t):u(t),"range"===this.mode&&this.numberOfMonths<2&&(this.numberOfMonths=2)}this.updateDate()}componentDidLoad(){this.popperInstance=l(this.datepickerElement,this.calendarElement,{modifiers:[{name:"offset",options:{offset:[0,-3]}}],placement:"bottom-start"})}componentDidUpdate(){var t;null===(t=this.popperInstance)||void 0===t||t.forceUpdate()}disconnectedCallback(){var t;null===(t=this.popperInstance)||void 0===t||t.destroy()}renderCalendarToggleButton(){return i("button",{class:"gux-calendar-toggle-button",type:"button",onClick:()=>this.toggleCalendar(),"aria-expanded":this.active.toString(),"aria-label":this.i18n("toggleCalendar"),disabled:this.disabled},i("gux-icon",{decorative:!0,"icon-name":"calendar"}))}renderCalendar(){return i("gux-calendar",{tabIndex:-1,ref:t=>this.calendarElement=t,value:this.value,mode:this.mode,onInput:t=>this.onCalendarSelect(t),minDate:this.minDate,maxDate:this.maxDate,numberOfMonths:this.numberOfMonths})}renderStartDateField(){return i("div",{class:"gux-datepicker-field"},i("label",{htmlFor:this.startInputId,class:{"gux-datepicker-field-label":!0,"gux-sr-only":"single"===this.mode&&!this.label}},this.getCalendarLabels()[0]),i("div",{class:"gux-datepicker-field-input"},i("div",{class:"gux-datepicker-field-text-input"},i("input",{id:this.startInputId,type:"text",onClick:t=>this.onInputMouseUp(t),onFocusin:t=>this.onInputFocusIn(t),onFocusout:()=>this.onInputFocusOut(),ref:t=>this.inputElement=t,value:this.formattedValue,disabled:this.disabled}),this.renderCalendarToggleButton()),this.renderCalendar()))}renderEndDateField(){return"single"===this.mode?null:i("div",{class:"gux-datepicker-field"},i("label",{htmlFor:this.endInputId,class:"gux-datepicker-field-label"},this.getCalendarLabels()[1]),i("div",{class:"gux-datepicker-field-input"},i("div",{class:"gux-datepicker-field-text-input"},i("input",{id:this.endInputId,type:"text",ref:t=>this.toInputElement=t,onMouseUp:t=>this.onInputMouseUp(t),onFocusin:t=>this.onInputFocusIn(t),onFocusout:()=>this.onInputFocusOut(),value:this.toFormattedValue,disabled:this.disabled}),this.renderCalendarToggleButton())))}render(){return i("div",{class:{"gux-datepicker":!0,"gux-active":this.active,"gux-disabled":this.disabled},ref:t=>this.datepickerElement=t},this.renderStartDateField(),this.renderEndDateField())}get root(){return s(this)}static get watchers(){return{value:["watchValue"],minDate:["watchMinDate"],maxDate:["watchMaxDate"],format:["watchFormat"],active:["watchActiveCalendar"]}}};(function(t,e,i,s){var a,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var d=t.length-1;d>=0;d--)(a=t[d])&&(r=(n<3?a(r):n>3?a(e,i,r):a(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)})([o({triggerEvents:"mousedown"})],w.prototype,"onClickOutside",null),w.style=":host{display:block}.gux-datepicker{display:inline-block}.gux-datepicker.gux-disabled{pointer-events:none;cursor:default}.gux-datepicker.gux-disabled .gux-datepicker-field .gux-datepicker-field-input{opacity:0.5}.gux-datepicker .gux-datepicker-field{display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-content:flex-start;align-items:center;justify-content:flex-start}.gux-datepicker .gux-datepicker-field~.gux-datepicker-field{margin-left:20px}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-label{flex:0 1 auto;align-self:auto;order:0;margin-right:8px;font-size:12px;font-weight:bold;line-height:20px}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input{position:relative;flex:0 1 auto;align-self:auto;order:0;margin:4px 0}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:4px;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:4px 8px 4px 8px;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-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input{flex:1 1 auto;align-self:auto;order:0;width:100px;overflow:hidden;color:#2e394c;background-color:#f6f7f9;border:none;outline:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::placeholder{color:#596373;opacity:1}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-cancel-button,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-results-button,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:#2e394c;cursor:pointer}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button gux-icon{width:16px;height:16px}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input gux-calendar{z-index:var(--gux-zindex-popup, 1);display:none}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{color:#2a60c8}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus,.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:#2a60c8}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input gux-calendar{display:block}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{w as gux_datepicker}
1
+ import{r as t,c as e,h as i,g as s}from"./p-39a696d6.js";import{t as a}from"./p-52aad620.js";import{r as n}from"./p-cbcbd1bb.js";import{b as r}from"./p-7d64c6a5.js";import{f as d,a as c,b as u,c as h}from"./p-4f26144b.js";import{O as o}from"./p-d915144d.js";import{c as l}from"./p-ec26fc38.js";import"./p-8a133b9b.js";const p={start:"Start",end:"End",date:"Date",toggleCalendar:"Toggle calendar view"};function g(t,e){let i=new Date(e.getTime());return i.setDate(i.getDate()+t),t<0?i.getDate()>e.getDate()&&(i=new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0)):i.getDate()<e.getDate()&&i.setMonth(i.getMonth()-1),i}function x(t,e){const i=new Date(e.valueOf()),s=function(t){let e=t;for(;e<0;)e+=12;return e%=12,e}(i.getMonth()+t);return i.setMonth(s),i.setFullYear(e.getFullYear()),i.getMonth()!==s?x(t,g(-1,e)):i}function f(t,e){const i=t[e];return i&&"/"!==i?i:t[e-1]}function k(t){return t.match(/\W/)[0]}function b(t){const e=k(t);return t.split(e).reduce(((t,e)=>t.concat(e[0])),[])}function m(t,e){return{selectionStart:t.indexOf(e),selectionEnd:t.lastIndexOf(e)+1}}const w=class{constructor(i){t(this,i),this.input=e(this,"input",7),this.yearFormat="yyyy",this.isSelectingRangeWithMouse=!1,this.lastYear=(new Date).getFullYear(),this.startInputId=n("gux-datepicker"),this.endInputId=n("gux-datepicker"),this.label="",this.numberOfMonths=1,this.minDate="",this.maxDate="",this.mode="single",this.format="mm/dd/yyyy",this.disabled=!1,this.formattedValue="",this.toFormattedValue="",this.active=!1}watchValue(){this.updateDate()}watchMinDate(t){this.minDateDate=t?d(t):null}watchMaxDate(t){this.maxDateDate=t?d(t):null}watchFormat(t){t.includes("yyyy")||(this.yearFormat="yy"),this.intervalOrder=b(t),this.lastIntervalRange=this.initialIntervalRange}watchActiveCalendar(t){if(!0===t){const t=d(this.value.split("/")[0]);this.calendarElement.resetCalendarView(t)}}onKeyDown(t){if(this.isInputFieldEvent(t))switch(this.focusedField=this.getInputFieldFromEvent(t),t.key){case"Enter":case"Escape":this.focusedField.blur(),this.active=!1;break;case"Tab":break;case"ArrowDown":t.preventDefault(),this.increment(-1),this.setCursorRange();break;case"ArrowUp":t.preventDefault(),this.increment(1),this.setCursorRange();break;case"ArrowLeft":{t.preventDefault();const e=function(t,e){const i=b(t),s=f(t,e.selectionStart),a=i.indexOf(s);return m(t,i[(a+i.length-1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange();break}case"ArrowRight":{t.preventDefault();const e=function(t,e){const i=b(t),s=f(t,e.selectionStart),a=i.indexOf(s);return m(t,i[(a+1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange();break}default:t.preventDefault(),this.isSelectingRangeWithMouse||(this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.updateIntervalValue(t),this.setCursorRange())}else switch(t.key){case"Enter":case"Escape":case" ":{this.active=!1;const t=this.root.shadowRoot.querySelector(".gux-calendar-toggle-button");setTimeout((()=>{t.focus()}),100);break}case"Tab":this.active&&(this.active=!1)}}onMouseDown(t){this.isInputFieldEvent(t)&&(this.isSelectingRangeWithMouse=!0);const e=t.composedPath(),i=e.includes(this.datepickerElement);Array.from(this.root.shadowRoot.querySelectorAll(".gux-calendar-toggle-button")).every((t=>!e.includes(t)))&&(this.active=i)}onClickOutside(){this.active=!1}onInputFocusIn(t){this.focusedField=this.getInputFieldFromEvent(t),this.isSelectingRangeWithMouse||setTimeout((()=>this.setRange()))}onInputFocusOut(){this.lastIntervalRange=this.initialIntervalRange}onInputMouseUp(t){t.preventDefault(),this.lastIntervalRange=m(this.format,f(this.format,this.focusedField.selectionStart)),this.setRange(),this.isSelectingRangeWithMouse=!1}isInputFieldEvent(t){const e=t.composedPath();return e.includes(this.inputElement)||e.includes(this.toInputElement)}get initialIntervalRange(){return m(this.format,f(this.format,0))}getInputFieldFromEvent(t){return t.composedPath()[0]}updateIntervalValue(t){const e=parseInt(t.key,10);if(!isNaN(e)){const i=this.focusedField.value.slice(this.focusedField.selectionStart,this.focusedField.selectionEnd);"y"===f(this.format,this.focusedField.selectionStart)&&"yyyy"===this.yearFormat?this.typeYearValue(i,t.key):this.canSetDate(e)?(this.updateSelection(this.focusedField,`${i[1]}${t.key}`),this.setValue()):(this.updateSelection(this.focusedField,`0${t.key}`.replace("00","01")),this.setValue())}}updateSelection(t,e){t.value=t.value.substr(0,this.intervalRange.selectionStart)+e+t.value.substr(this.intervalRange.selectionEnd)}getCalendarLabels(){return function(t,e,i){const s=t.split(",").map((t=>t.trim()));return"range"===e?[s[0]||i[0],s[1]||i[1]]:"range"===e||s[0]?[s[0]]:[i[2]]}(this.label,this.mode,[this.i18n("start"),this.i18n("end"),this.i18n("date")])}stringToDate(t){const e=k(this.format),i=this.format.toLowerCase().split(e),s=t.split(e),a=parseInt(s[i.indexOf(this.yearFormat)],10),n=parseInt(s[i.indexOf("mm")],10)-1,r=parseInt(s[i.indexOf("dd")],10),d=new Date(a,n,r);return"yy"===this.yearFormat&&d.getFullYear()<1970&&this.lastYear>1970&&d.setFullYear(d.getFullYear()+100),d}onCalendarSelect(t){this.value=t.target.value,t.stopPropagation(),this.input.emit(this.value),this.updateDate(),this.inputElement.value=this.formattedValue,"range"===this.mode&&(this.toInputElement.value=this.toFormattedValue),document.activeElement===this.inputElement&&document.activeElement===this.toInputElement||(this.active=!1)}setValue(){if("range"===this.mode){const t=this.stringToDate(this.inputElement.value),e=this.stringToDate(this.toInputElement.value);this.value=c(t,e),this.updateDate(),this.calendarElement.setValue([t,e])}else{const t=this.stringToDate(this.inputElement.value);this.value=u(t),this.updateDate(),this.calendarElement.setValue(t)}this.input.emit(this.value)}setRange(){this.setIntervalRange(this.lastIntervalRange),this.setCursorRange()}typeYearValue(t,e){" "!==t[0]?this.updateSelection(this.focusedField,` ${e}`):(this.updateSelection(this.focusedField,`${t.substr(1)}${e}`),(t.substr(1)+e).includes(" ")||this.setValue())}canSetDate(t){const e=parseInt([this.focusedField.value[this.intervalRange.selectionEnd-1].toString(),t].join(""),10);if(e)switch(f(this.format,this.focusedField.selectionStart)){case"d":{const t=d(this.value);if(e<=new Date(t.getFullYear(),t.getMonth()+1,0).getDate())return!0;break}case"m":if(e<=12)return!0;break;case"y":return!0}return!1}getMapAndRegexFromField(t){const e={dd:`0${t.getDate()}`.slice(-2),mm:`0${t.getMonth()+1}`.slice(-2)};return"yyyy"===this.yearFormat?e.yyyy=t.getFullYear().toString():e.yy=t.getFullYear().toString().slice(-2),{map:e,regexp:new RegExp(Object.keys(e).join("|"),"gi")}}updateDate(){if("range"===this.mode){const[t,e]=h(this.value),{map:i,regexp:s}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(s,(t=>i[t]));const{map:a,regexp:n}=this.getMapAndRegexFromField(e);this.toFormattedValue=this.format.replace(n,(t=>a[t]))}else{const t=d(this.value),{map:e,regexp:i}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(i,(t=>e[t]))}}setCursorRange(){this.intervalRange&&(this.focusedField.setSelectionRange(0,100),this.focusedField.setSelectionRange(this.intervalRange.selectionStart,this.intervalRange.selectionEnd))}toggleCalendar(){this.active=!this.active,this.active&&setTimeout((()=>{this.calendarElement.focusPreviewDate()}),100)}setIntervalRange(t){this.intervalRange=t}getCombinedFocusedDateValue(){return"range"===this.mode?this.getRangeFocusedDateValue():this.getFocusedDateValue()}getFocusedDateValue(){return d(this.value)}getRangeFocusedDateValue(){const[t,e]=h(this.value);return this.focusedField===this.inputElement?t:e}increment(t){const e=f(this.format,this.focusedField.selectionStart),i=this.getCombinedFocusedDateValue();let s;switch(e){case"d":s=g(t,i);break;case"m":s=x(t,i);break;case"y":s=function(t,e){const i=new Date(e.valueOf());return i.setFullYear(e.getFullYear()+t),i}(t,i)}var a,n,r;a=s,n=this.minDateDate,((r=this.maxDateDate)&&r<a||n&&n>a)&&(s=i),this.lastYear=s.getFullYear(),this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.focusedField.value=function(t,e){const i=k(e);return e.split(i).map((e=>{switch(e[0]){case"d":return function(t){return`0${t.getDate().toString()}`.slice(-2)}(t);case"m":return function(t){return`0${(t.getMonth()+1).toString()}`.slice(-2)}(t);case"y":return function(t,e){return"yyyy"===e?t.getFullYear().toString():t.getFullYear().toString().slice(-2)}(t,e)}})).join(i)}(s,this.format),this.setValue()}async componentWillLoad(){if(a(this.root,{variant:this.mode}),this.i18n=await r(this.root,p),this.watchMinDate(this.minDate),this.watchMaxDate(this.maxDate),this.watchFormat(this.format),!this.value){const t=new Date;t.setHours(0,0,0,0),this.value="range"===this.mode?c(t,t):u(t),"range"===this.mode&&this.numberOfMonths<2&&(this.numberOfMonths=2)}this.updateDate()}componentDidLoad(){this.popperInstance=l(this.datepickerElement,this.calendarElement,{modifiers:[{name:"offset",options:{offset:[0,-3]}}],placement:"bottom-start"})}componentDidUpdate(){var t;null===(t=this.popperInstance)||void 0===t||t.forceUpdate()}disconnectedCallback(){var t;null===(t=this.popperInstance)||void 0===t||t.destroy()}renderCalendarToggleButton(){return i("button",{class:"gux-calendar-toggle-button",type:"button",onClick:()=>this.toggleCalendar(),"aria-expanded":this.active.toString(),"aria-label":this.i18n("toggleCalendar"),disabled:this.disabled},i("gux-icon",{decorative:!0,"icon-name":"calendar"}))}renderCalendar(){return i("gux-calendar",{tabIndex:-1,ref:t=>this.calendarElement=t,value:this.value,mode:this.mode,onInput:t=>this.onCalendarSelect(t),minDate:this.minDate,maxDate:this.maxDate,numberOfMonths:this.numberOfMonths})}renderStartDateField(){return i("div",{class:"gux-datepicker-field"},i("label",{htmlFor:this.startInputId,class:{"gux-datepicker-field-label":!0,"gux-sr-only":"single"===this.mode&&!this.label}},this.getCalendarLabels()[0]),i("div",{class:"gux-datepicker-field-input"},i("div",{class:"gux-datepicker-field-text-input"},i("input",{id:this.startInputId,type:"text",onClick:t=>this.onInputMouseUp(t),onFocusin:t=>this.onInputFocusIn(t),onFocusout:()=>this.onInputFocusOut(),ref:t=>this.inputElement=t,value:this.formattedValue,disabled:this.disabled}),this.renderCalendarToggleButton()),this.renderCalendar()))}renderEndDateField(){return"single"===this.mode?null:i("div",{class:"gux-datepicker-field"},i("label",{htmlFor:this.endInputId,class:"gux-datepicker-field-label"},this.getCalendarLabels()[1]),i("div",{class:"gux-datepicker-field-input"},i("div",{class:"gux-datepicker-field-text-input"},i("input",{id:this.endInputId,type:"text",ref:t=>this.toInputElement=t,onMouseUp:t=>this.onInputMouseUp(t),onFocusin:t=>this.onInputFocusIn(t),onFocusout:()=>this.onInputFocusOut(),value:this.toFormattedValue,disabled:this.disabled}),this.renderCalendarToggleButton())))}render(){return i("div",{class:{"gux-datepicker":!0,"gux-active":this.active,"gux-disabled":this.disabled},ref:t=>this.datepickerElement=t},this.renderStartDateField(),this.renderEndDateField())}get root(){return s(this)}static get watchers(){return{value:["watchValue"],minDate:["watchMinDate"],maxDate:["watchMaxDate"],format:["watchFormat"],active:["watchActiveCalendar"]}}};(function(t,e,i,s){var a,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var d=t.length-1;d>=0;d--)(a=t[d])&&(r=(n<3?a(r):n>3?a(e,i,r):a(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)})([o({triggerEvents:"mousedown"})],w.prototype,"onClickOutside",null),w.style=":host{display:block}.gux-datepicker{display:inline-block}.gux-datepicker.gux-disabled{pointer-events:none;cursor:default}.gux-datepicker.gux-disabled .gux-datepicker-field .gux-datepicker-field-input{opacity:0.5}.gux-datepicker .gux-datepicker-field{display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-content:flex-start;align-items:center;justify-content:flex-start}.gux-datepicker .gux-datepicker-field~.gux-datepicker-field{margin-left:20px}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-label{flex:0 1 auto;align-self:auto;order:0;margin-right:8px;font-size:12px;font-weight:bold;line-height:20px}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input{position:relative;flex:0 1 auto;align-self:auto;order:0;margin:4px 0}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:4px;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:4px 8px 4px 8px;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-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input{flex:1 1 auto;align-self:auto;order:0;width:100px;overflow:hidden;color:#2e394c;background-color:#f6f7f9;border:none;outline:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::placeholder{color:#596373;opacity:1}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-cancel-button,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-results-button,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:#2e394c;cursor:pointer}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button gux-icon{width:16px;height:16px}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input gux-calendar{z-index:var(--gux-zindex-popup, 1);display:none}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{color:#2a60c8}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus,.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:#2a60c8}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input gux-calendar{display:block}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{w as gux_datepicker}
@@ -1 +1 @@
1
- import{r as t,c as n,h as i,g as a}from"./p-39a696d6.js";import{b as e}from"./p-5fefa2ad.js";import"./p-8a133b9b.js";const o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"},s=class{constructor(i){t(this,i),this.internalcurrentpagechange=n(this,"internalcurrentpagechange",3),this.layout="full"}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}setPageFromInput(t){const n=parseInt(t,10);!n||isNaN(n)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(n)}getPageListEnteries(t,n){return class{static getPageList(t,n){if(n<=10)return[...Array(n).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}}));if(t<=5)return[...[...Array(6).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}];if(t>n-5){const i=[...Array(6).keys()].map((i=>{const a=i+n-5;return{pageNumber:a,display:String(a),current:a===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:n-6,display:"...",current:!1},...i]}const i=[...Array(5).keys()].map((n=>{const i=n+t-2;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...i,{pageNumber:t+3,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}]}}.getPageList(t,n).reduce(((t,n)=>t.concat(i("button",n.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(n.pageNumber)},n.display))),[])}getSmallPagePicker(){return i("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return i("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return i("div",{class:"gux-pagination-buttons-input-container"},i("div",null,this.i18n("page")),i("div",{class:"gux-pagination-buttons-input"},i("gux-form-field-text-like",{"label-position":"screenreader"},i("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),i("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),i("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await e(this.root,o)}render(){return i("div",{class:`gux-pagination-buttons-container gux-${this.layout}`},i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-left"}))),i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})))),this.getPagePicker(this.layout),i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-right"})))))}get root(){return a(this)}};s.style="gux-pagination-buttons{color:#2e394c}gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-end}gux-pagination-buttons .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group gux-button-slot-beta:not(:first-of-type){margin-left:4px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px;margin:0 8px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:inherit;text-align:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding:0 4px;margin:0 4px;background:inherit;border:none;border-radius:2px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{font-weight:600}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{color:#2a60c8;cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:12px}";const r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},u=class{constructor(n){t(this,n),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await e(this.root,r)}render(){return i("div",{class:"gux-pagination-item-counts-container"},i("span",{class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),i("span",null,this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return a(this)}};u.style="gux-pagination-item-counts{color:#2e394c}gux-pagination-item-counts .gux-pagination-item-counts-container{white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-container .gux-pagination-item-counts-range{font-weight:bold}";const g={perPage:"per page",itemsPerPage:"Items per page"},p=class{constructor(i){t(this,i),this.internalitemsperpagechange=n(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const n=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(n)}async componentWillLoad(){this.i18n=await e(this.root,g)}getDropdown(){return i("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`},i("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},i("gux-option",{value:"25"},"25"),i("gux-option",{value:"50"},"50"),i("gux-option",{value:"75"},"75"),i("gux-option",{value:"100"},"100")))}render(){return i("div",{class:"gux-pagination-items-per-page-container"},i("div",{class:"gux-pagination-items-per-page-picker"},this.getDropdown()),i("div",null,this.i18n("perPage")))}get root(){return a(this)}};p.style="gux-pagination-items-per-page{color:#2e394c}gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}gux-pagination-items-per-page .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker{margin:0 8px 0 16px}";export{s as gux_pagination_buttons,u as gux_pagination_item_counts,p as gux_pagination_items_per_page}
1
+ import{r as t,c as n,h as i,g as a}from"./p-39a696d6.js";import{b as e}from"./p-7d64c6a5.js";import"./p-8a133b9b.js";const o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"},s=class{constructor(i){t(this,i),this.internalcurrentpagechange=n(this,"internalcurrentpagechange",3),this.layout="full"}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}setPageFromInput(t){const n=parseInt(t,10);!n||isNaN(n)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(n)}getPageListEnteries(t,n){return class{static getPageList(t,n){if(n<=10)return[...Array(n).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}}));if(t<=5)return[...[...Array(6).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}];if(t>n-5){const i=[...Array(6).keys()].map((i=>{const a=i+n-5;return{pageNumber:a,display:String(a),current:a===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:n-6,display:"...",current:!1},...i]}const i=[...Array(5).keys()].map((n=>{const i=n+t-2;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...i,{pageNumber:t+3,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}]}}.getPageList(t,n).reduce(((t,n)=>t.concat(i("button",n.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(n.pageNumber)},n.display))),[])}getSmallPagePicker(){return i("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return i("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return i("div",{class:"gux-pagination-buttons-input-container"},i("div",null,this.i18n("page")),i("div",{class:"gux-pagination-buttons-input"},i("gux-form-field-text-like",{"label-position":"screenreader"},i("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),i("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),i("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await e(this.root,o)}render(){return i("div",{class:`gux-pagination-buttons-container gux-${this.layout}`},i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-left"}))),i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})))),this.getPagePicker(this.layout),i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),i("gux-button-slot-beta",{accent:"secondary"},i("button",{title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-right"})))))}get root(){return a(this)}};s.style="gux-pagination-buttons{color:#2e394c}gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-end}gux-pagination-buttons .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group gux-button-slot-beta:not(:first-of-type){margin-left:4px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px;margin:0 8px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:inherit;text-align:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding:0 4px;margin:0 4px;background:inherit;border:none;border-radius:2px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{font-weight:600}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{color:#2a60c8;cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:12px}";const r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},u=class{constructor(n){t(this,n),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await e(this.root,r)}render(){return i("div",{class:"gux-pagination-item-counts-container"},i("span",{class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),i("span",null,this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return a(this)}};u.style="gux-pagination-item-counts{color:#2e394c}gux-pagination-item-counts .gux-pagination-item-counts-container{white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-container .gux-pagination-item-counts-range{font-weight:bold}";const g={perPage:"per page",itemsPerPage:"Items per page"},p=class{constructor(i){t(this,i),this.internalitemsperpagechange=n(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const n=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(n)}async componentWillLoad(){this.i18n=await e(this.root,g)}getDropdown(){return i("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`},i("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},i("gux-option",{value:"25"},"25"),i("gux-option",{value:"50"},"50"),i("gux-option",{value:"75"},"75"),i("gux-option",{value:"100"},"100")))}render(){return i("div",{class:"gux-pagination-items-per-page-container"},i("div",{class:"gux-pagination-items-per-page-picker"},this.getDropdown()),i("div",null,this.i18n("perPage")))}get root(){return a(this)}};p.style="gux-pagination-items-per-page{color:#2e394c}gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}gux-pagination-items-per-page .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker{margin:0 8px 0 16px}";export{s as gux_pagination_buttons,u as gux_pagination_item_counts,p as gux_pagination_items_per_page}