genesys-spark-components 4.231.2 → 4.232.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (862) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  2. package/dist/cjs/{get-valid-timezone-Du33aUbY.js → get-valid-timezone-DXdWPVFz.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +6 -6
  4. package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
  5. package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
  7. package/dist/cjs/gux-actionable-inline-alert-beta.cjs.entry.js +2 -2
  8. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
  9. package/dist/cjs/gux-ai-indicator-beta.cjs.entry.js +31 -0
  10. package/dist/cjs/gux-ai-powered-badge-beta.cjs.entry.js +4 -4
  11. package/dist/cjs/gux-ai-spinner-loader-beta.cjs.entry.js +5 -5
  12. package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
  13. package/dist/cjs/gux-announce-beta.cjs.entry.js +3 -3
  14. package/dist/cjs/gux-avatar-beta.cjs.entry.js +5 -5
  15. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +4 -4
  16. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +9 -9
  18. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +3 -3
  19. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +4 -4
  20. package/dist/cjs/gux-badge.cjs.entry.js +5 -5
  21. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +5 -5
  22. package/dist/cjs/gux-blank-state.cjs.entry.js +4 -4
  23. package/dist/cjs/gux-branch-multi.cjs.entry.js +5 -5
  24. package/dist/cjs/gux-branch.cjs.entry.js +4 -4
  25. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
  27. package/dist/cjs/gux-button-multi.cjs.entry.js +4 -4
  28. package/dist/cjs/gux-button-slot.cjs.entry.js +4 -4
  29. package/dist/cjs/gux-button_2.cjs.entry.js +8 -8
  30. package/dist/cjs/gux-calendar-beta.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-calendar.cjs.entry.js +12 -12
  32. package/dist/cjs/gux-card.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +4 -4
  34. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
  36. package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
  38. package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
  39. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
  40. package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
  41. package/dist/cjs/gux-cta-group.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
  43. package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
  44. package/dist/cjs/gux-datepicker.cjs.entry.js +16 -16
  45. package/dist/cjs/gux-day-beta.cjs.entry.js +3 -3
  46. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  47. package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
  48. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
  49. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
  50. package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
  51. package/dist/cjs/gux-dropdown_3.cjs.entry.js +8 -8
  52. package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
  53. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +4 -4
  54. package/dist/cjs/gux-flyout-menu.cjs.entry.js +5 -5
  55. package/dist/cjs/gux-form-beta.cjs.entry.js +2 -2
  56. package/dist/cjs/gux-form-description.cjs.entry.js +2 -2
  57. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +8 -8
  58. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +6 -6
  59. package/dist/cjs/gux-form-field-color.cjs.entry.js +42 -8
  60. package/dist/cjs/{gux-form-field-container-CEC5Hm16.js → gux-form-field-container-hTZqdcZZ.js} +1 -1
  61. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
  62. package/dist/cjs/{gux-form-field-error-CuPbJnEB.js → gux-form-field-error-Csxri5IS.js} +1 -1
  63. package/dist/cjs/{gux-form-field-fieldset-container-ymVqngT8.js → gux-form-field-fieldset-container-C0ViaU--.js} +1 -1
  64. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +7 -7
  65. package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
  66. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
  67. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  68. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +14 -27
  69. package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
  70. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
  71. package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
  72. package/dist/cjs/gux-form-field-range.cjs.entry.js +8 -8
  73. package/dist/cjs/gux-form-field-search.cjs.entry.js +8 -8
  74. package/dist/cjs/gux-form-field-select.cjs.entry.js +8 -8
  75. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +9 -9
  76. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
  77. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
  78. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
  79. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-form-footer.cjs.entry.js +4 -4
  81. package/dist/cjs/gux-form-heading.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +3 -3
  83. package/dist/cjs/gux-icon.cjs.entry.js +3 -3
  84. package/dist/cjs/gux-illustration-beta.cjs.entry.js +4 -4
  85. package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
  86. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +6 -6
  87. package/dist/cjs/gux-label-info-beta.cjs.entry.js +3 -3
  88. package/dist/cjs/gux-leaf-multi.cjs.entry.js +4 -4
  89. package/dist/cjs/gux-leaf.cjs.entry.js +4 -4
  90. package/dist/cjs/gux-link-beta.cjs.entry.js +3 -3
  91. package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-list.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  95. package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
  96. package/dist/cjs/gux-logo-beta.cjs.entry.js +6 -6
  97. package/dist/cjs/gux-logomark-beta.cjs.entry.js +4 -4
  98. package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-menu.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
  101. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +4 -4
  102. package/dist/cjs/gux-modal.cjs.entry.js +3 -3
  103. package/dist/cjs/gux-month-calendar.cjs.entry.js +3 -3
  104. package/dist/cjs/gux-month-list_2.cjs.entry.js +3 -3
  105. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
  106. package/dist/cjs/gux-notification-indicator-beta.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
  108. package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
  110. package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
  111. package/dist/cjs/gux-option-status-beta.cjs.entry.js +3 -3
  112. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
  114. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
  115. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
  118. package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
  119. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +6 -6
  120. package/dist/cjs/gux-popover-beta.cjs.entry.js +23 -10
  121. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +36 -12
  122. package/dist/cjs/gux-popover-list.cjs.entry.js +5 -5
  123. package/dist/cjs/gux-popup.cjs.entry.js +4 -4
  124. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +5 -5
  125. package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
  126. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  127. package/dist/cjs/gux-rating.cjs.entry.js +5 -5
  128. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +5 -5
  129. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +9 -9
  130. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +3 -3
  131. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +6 -6
  132. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +5 -5
  133. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +5 -5
  134. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  135. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +7 -7
  136. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +3 -3
  137. package/dist/cjs/gux-row-select.cjs.entry.js +3 -3
  138. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +3 -3
  139. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -3
  140. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +5 -5
  142. package/dist/cjs/gux-select-all.cjs.entry.js +4 -4
  143. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +4 -4
  144. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +3 -3
  145. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +4 -4
  146. package/dist/cjs/gux-side-panel-header-mini.cjs.entry.js +4 -4
  147. package/dist/cjs/gux-side-panel-header.cjs.entry.js +3 -3
  148. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +3 -3
  149. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +3 -3
  150. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
  152. package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
  153. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +3 -3
  154. package/dist/cjs/gux-step-title.cjs.entry.js +3 -3
  155. package/dist/cjs/gux-step.cjs.entry.js +5 -5
  156. package/dist/cjs/gux-stepper-beta.cjs.entry.js +4 -4
  157. package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
  158. package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
  159. package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
  160. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
  161. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
  162. package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
  163. package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
  164. package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
  165. package/dist/cjs/gux-tab.cjs.entry.js +3 -3
  166. package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
  167. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
  168. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
  169. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
  170. package/dist/cjs/gux-table-toolbar.cjs.entry.js +115 -23
  171. package/dist/cjs/gux-table.cjs.entry.js +5 -5
  172. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
  173. package/dist/cjs/gux-tabs.cjs.entry.js +4 -4
  174. package/dist/cjs/gux-tag.cjs.entry.js +5 -5
  175. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  176. package/dist/cjs/gux-time-beta.cjs.entry.js +5 -5
  177. package/dist/cjs/gux-time-picker.cjs.entry.js +5 -5
  178. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
  179. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
  180. package/dist/cjs/gux-toast.cjs.entry.js +4 -4
  181. package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
  182. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  183. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +5 -5
  184. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +3 -3
  185. package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
  186. package/dist/cjs/gux-tooltip_2.cjs.entry.js +9 -9
  187. package/dist/cjs/gux-tree-beta.cjs.entry.js +5 -5
  188. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +5 -5
  189. package/dist/cjs/{gux-tree-multi.service-C8hSe-Gy.js → gux-tree-multi.service-CCBtZ66V.js} +1 -1
  190. package/dist/cjs/{gux-tree.service-G-gnQsTk.js → gux-tree.service-0BtkCvA3.js} +1 -1
  191. package/dist/cjs/{index-DVtwB70Y.js → index-D5gbJ1qH.js} +1 -1
  192. package/dist/cjs/index-npRUdf7N.js +2988 -0
  193. package/dist/cjs/loader.cjs.js +2 -2
  194. package/dist/cjs/{on-click-outside-Z81yLXW0.js → on-click-outside-JPx_Y2im.js} +1 -1
  195. package/dist/cjs/{on-mutation-DIPpoQ8V.js → on-mutation-BW38lSRA.js} +1 -1
  196. package/dist/cjs/{on-resize-DeB269GR.js → on-resize-yxt3gZhq.js} +1 -1
  197. package/dist/cjs/{usage-CWS5rSpe.js → usage-DmL6VX-Z.js} +1 -1
  198. package/dist/collection/collection-manifest.json +1 -0
  199. package/dist/collection/components/beta/gux-ai-indicator/gux-ai-indicator.css +9 -0
  200. package/dist/collection/components/beta/gux-ai-indicator/gux-ai-indicator.js +31 -0
  201. package/dist/collection/components/beta/gux-ai-indicator/tests/gux-ai-indicator.common.js +8 -0
  202. package/dist/collection/components/beta/gux-ai-powered-badge/gux-ai-powered-badge.js +1 -1
  203. package/dist/collection/components/beta/gux-ai-spinner-loader/gux-ai-spinner-loader.js +2 -2
  204. package/dist/collection/components/beta/gux-announce/gux-announce.js +1 -1
  205. package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/gux-avatar-change-photo.js +1 -1
  206. package/dist/collection/components/beta/gux-avatar/gux-avatar-focusable/gux-avatar-focusable.js +1 -1
  207. package/dist/collection/components/beta/gux-avatar/gux-avatar.js +2 -2
  208. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.js +1 -1
  209. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.js +2 -2
  210. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.js +1 -1
  211. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.js +2 -2
  212. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.js +2 -2
  213. package/dist/collection/components/beta/gux-blank-state-beta/gux-blank-state.js +2 -2
  214. package/dist/collection/components/beta/gux-blank-state-beta/gux-illustration/gux-illustration.js +2 -2
  215. package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.js +1 -1
  216. package/dist/collection/components/beta/gux-cloud-logo/gux-cloud-logo.js +1 -1
  217. package/dist/collection/components/beta/gux-cloud-logomark/gux-cloud-logomark.js +1 -1
  218. package/dist/collection/components/beta/gux-cta-group/gux-cta-group.js +1 -1
  219. package/dist/collection/components/beta/gux-date/gux-date.js +1 -1
  220. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +1 -1
  221. package/dist/collection/components/beta/gux-day/gux-day.js +1 -1
  222. package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +1 -1
  223. package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js +1 -1
  224. package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/gux-form-fieldset-heading.js +1 -1
  225. package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.js +2 -2
  226. package/dist/collection/components/beta/gux-form/gux-form-heading/gux-form-heading.js +1 -1
  227. package/dist/collection/components/beta/gux-form/gux-form.js +1 -1
  228. package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
  229. package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.js +1 -1
  230. package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
  231. package/dist/collection/components/beta/gux-link/gux-link.js +1 -1
  232. package/dist/collection/components/beta/gux-logo/gux-logo.js +3 -3
  233. package/dist/collection/components/beta/gux-logomark/gux-logomark.js +1 -1
  234. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
  235. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +1 -1
  236. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
  237. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
  238. package/dist/collection/components/beta/gux-notification-indicator/gux-notification-indicator.js +1 -1
  239. package/dist/collection/components/beta/gux-option-status/gux-option-status.js +2 -2
  240. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +2 -2
  241. package/dist/collection/components/beta/gux-popover-beta/gux-popover.css +3 -0
  242. package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +19 -6
  243. package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +33 -9
  244. package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.js +2 -2
  245. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.js +2 -2
  246. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +1 -1
  247. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.js +1 -1
  248. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +2 -2
  249. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +2 -2
  250. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.js +2 -2
  251. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.js +1 -1
  252. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +1 -1
  253. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.js +3 -3
  254. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +1 -1
  255. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  256. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-divider/gux-segmented-control-divider.js +1 -1
  257. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  258. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
  259. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
  260. package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
  261. package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +2 -2
  262. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-header/gux-side-panel-header.js +1 -1
  263. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-header-mini/gux-side-panel-header-mini.js +1 -1
  264. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
  265. package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
  266. package/dist/collection/components/beta/gux-status-indicator/gux-status-indicator.js +1 -1
  267. package/dist/collection/components/beta/gux-stepper/gux-step/gux-step-title/gux-step-title.js +1 -1
  268. package/dist/collection/components/beta/gux-stepper/gux-step/gux-step.js +3 -3
  269. package/dist/collection/components/beta/gux-stepper/gux-stepper.js +2 -2
  270. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  271. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  272. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  273. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  274. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  275. package/dist/collection/components/beta/gux-tooltip-pointer-beta/gux-tooltip-pointer.js +1 -1
  276. package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.js +2 -2
  277. package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.js +2 -2
  278. package/dist/collection/components/beta/gux-tree/gux-tree.js +2 -2
  279. package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.js +3 -3
  280. package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.js +2 -2
  281. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +2 -2
  282. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  283. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  284. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  285. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  286. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  287. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  288. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  289. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  290. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  291. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +2 -2
  292. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  293. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  294. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  295. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  296. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  297. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  298. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  299. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  300. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  301. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  302. package/dist/collection/components/stable/gux-button/gux-button.css +12 -0
  303. package/dist/collection/components/stable/gux-button/gux-button.js +3 -3
  304. package/dist/collection/components/stable/gux-button/tests/gux-button.common.js +21 -64
  305. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  306. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.css +19 -0
  307. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +2 -2
  308. package/dist/collection/components/stable/gux-button-slot/tests/gux-button-slot.common.js +52 -210
  309. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +11 -11
  310. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  311. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  312. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  313. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  314. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  315. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  316. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +12 -12
  317. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.service.js +2 -2
  318. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  319. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  320. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  321. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  322. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  323. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  324. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  325. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  326. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  327. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  328. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +17 -3
  329. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  330. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  331. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +2 -2
  332. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
  333. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  334. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  335. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  336. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  337. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  338. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  339. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  340. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  341. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  342. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  343. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  344. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
  345. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  346. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  347. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  348. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  349. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  350. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  351. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  352. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  353. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  354. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  355. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +2 -2
  356. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  357. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  358. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  359. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  360. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -23
  361. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  362. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  363. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +2 -2
  364. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  365. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  366. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  367. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  368. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  369. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  370. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  371. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  372. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +1 -1
  373. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +2 -2
  374. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  375. package/dist/collection/components/stable/gux-table/gux-table.css +1 -0
  376. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  377. package/dist/collection/components/stable/gux-table/tests/gux-table.common.js +53 -0
  378. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  379. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  380. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  381. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +43 -19
  382. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  383. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  384. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  385. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  386. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  387. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  388. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  389. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  390. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  391. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  392. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  393. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  394. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  395. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  396. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  397. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  398. package/dist/collection/utils/dom/on-input-value-change.js +26 -0
  399. package/dist/collection/utils/dom/slot-cache.js +82 -0
  400. package/dist/collection/utils/function/debounce.js +23 -0
  401. package/dist/esm/genesys-webcomponents.js +3 -3
  402. package/dist/esm/{get-valid-timezone-DoEFbkU_.js → get-valid-timezone-CiKGbmJt.js} +1 -1
  403. package/dist/esm/gux-accordion-section.entry.js +6 -6
  404. package/dist/esm/gux-accordion.entry.js +3 -3
  405. package/dist/esm/gux-action-button.entry.js +5 -5
  406. package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
  407. package/dist/esm/gux-actionable-inline-alert-beta.entry.js +2 -2
  408. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
  409. package/dist/esm/gux-ai-indicator-beta.entry.js +29 -0
  410. package/dist/esm/gux-ai-powered-badge-beta.entry.js +4 -4
  411. package/dist/esm/gux-ai-spinner-loader-beta.entry.js +5 -5
  412. package/dist/esm/gux-all-row-select.entry.js +3 -3
  413. package/dist/esm/gux-announce-beta.entry.js +3 -3
  414. package/dist/esm/gux-avatar-beta.entry.js +5 -5
  415. package/dist/esm/gux-avatar-change-photo-beta.entry.js +4 -4
  416. package/dist/esm/gux-avatar-focusable-beta.entry.js +2 -2
  417. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +9 -9
  418. package/dist/esm/gux-avatar-group-beta.entry.js +3 -3
  419. package/dist/esm/gux-avatar-group-item-beta.entry.js +4 -4
  420. package/dist/esm/gux-badge.entry.js +5 -5
  421. package/dist/esm/gux-blank-state-beta.entry.js +5 -5
  422. package/dist/esm/gux-blank-state.entry.js +4 -4
  423. package/dist/esm/gux-branch-multi.entry.js +5 -5
  424. package/dist/esm/gux-branch.entry.js +4 -4
  425. package/dist/esm/gux-breadcrumb-item.entry.js +2 -2
  426. package/dist/esm/gux-breadcrumbs.entry.js +4 -4
  427. package/dist/esm/gux-button-multi.entry.js +4 -4
  428. package/dist/esm/gux-button-slot.entry.js +4 -4
  429. package/dist/esm/gux-button_2.entry.js +8 -8
  430. package/dist/esm/gux-calendar-beta.entry.js +3 -3
  431. package/dist/esm/gux-calendar.entry.js +12 -12
  432. package/dist/esm/gux-card.entry.js +4 -4
  433. package/dist/esm/gux-cloud-logo-beta.entry.js +4 -4
  434. package/dist/esm/gux-cloud-logomark-beta.entry.js +4 -4
  435. package/dist/esm/gux-column-manager-item.entry.js +5 -5
  436. package/dist/esm/gux-column-manager.entry.js +4 -4
  437. package/dist/esm/gux-content-search.entry.js +5 -5
  438. package/dist/esm/gux-context-menu.entry.js +6 -6
  439. package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
  440. package/dist/esm/gux-create-option.entry.js +4 -4
  441. package/dist/esm/gux-cta-group.entry.js +2 -2
  442. package/dist/esm/gux-date-beta.entry.js +5 -5
  443. package/dist/esm/gux-date-time-beta.entry.js +5 -5
  444. package/dist/esm/gux-datepicker.entry.js +16 -16
  445. package/dist/esm/gux-day-beta.entry.js +3 -3
  446. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  447. package/dist/esm/gux-dismiss-button.entry.js +5 -5
  448. package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
  449. package/dist/esm/gux-dropdown-multi.entry.js +6 -6
  450. package/dist/esm/gux-dropdown-option.entry.js +2 -2
  451. package/dist/esm/gux-dropdown_3.entry.js +8 -8
  452. package/dist/esm/gux-file-list-item.entry.js +5 -5
  453. package/dist/esm/gux-flag-icon-beta.entry.js +4 -4
  454. package/dist/esm/gux-flyout-menu.entry.js +5 -5
  455. package/dist/esm/gux-form-beta.entry.js +2 -2
  456. package/dist/esm/gux-form-description.entry.js +2 -2
  457. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
  458. package/dist/esm/gux-form-field-checkbox.entry.js +7 -7
  459. package/dist/esm/gux-form-field-color.entry.js +43 -9
  460. package/dist/esm/{gux-form-field-container-DnRIKsCy.js → gux-form-field-container-DFaxFFI1.js} +1 -1
  461. package/dist/esm/gux-form-field-dropdown.entry.js +10 -10
  462. package/dist/esm/{gux-form-field-error-C1R31tLg.js → gux-form-field-error-djiZU2Ab.js} +1 -1
  463. package/dist/esm/{gux-form-field-fieldset-container-AXYw2QwF.js → gux-form-field-fieldset-container-BlF78czj.js} +1 -1
  464. package/dist/esm/gux-form-field-file-beta.entry.js +8 -8
  465. package/dist/esm/gux-form-field-file.entry.js +7 -7
  466. package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
  467. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  468. package/dist/esm/gux-form-field-number_2.entry.js +15 -28
  469. package/dist/esm/gux-form-field-phone.entry.js +11 -11
  470. package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
  471. package/dist/esm/gux-form-field-radio.entry.js +7 -7
  472. package/dist/esm/gux-form-field-range.entry.js +9 -9
  473. package/dist/esm/gux-form-field-search.entry.js +9 -9
  474. package/dist/esm/gux-form-field-select.entry.js +9 -9
  475. package/dist/esm/gux-form-field-text-like.entry.js +10 -10
  476. package/dist/esm/gux-form-field-textarea.entry.js +8 -8
  477. package/dist/esm/gux-form-field-time-picker.entry.js +11 -11
  478. package/dist/esm/gux-form-field-time-zone-picker.entry.js +10 -10
  479. package/dist/esm/{gux-form-field.service-Nq3AAQGS.js → gux-form-field.service-C8ZnDb1J.js} +1 -1
  480. package/dist/esm/gux-form-fieldset-heading.entry.js +2 -2
  481. package/dist/esm/gux-form-footer.entry.js +4 -4
  482. package/dist/esm/gux-form-heading.entry.js +2 -2
  483. package/dist/esm/gux-icon-tooltip-beta.entry.js +3 -3
  484. package/dist/esm/gux-icon.entry.js +3 -3
  485. package/dist/esm/gux-illustration-beta.entry.js +4 -4
  486. package/dist/esm/gux-inline-alert.entry.js +5 -5
  487. package/dist/esm/gux-inline-dropdown-beta.entry.js +6 -6
  488. package/dist/esm/gux-label-info-beta.entry.js +3 -3
  489. package/dist/esm/gux-leaf-multi.entry.js +4 -4
  490. package/dist/esm/gux-leaf.entry.js +4 -4
  491. package/dist/esm/gux-link-beta.entry.js +3 -3
  492. package/dist/esm/gux-list-divider.entry.js +2 -2
  493. package/dist/esm/gux-list-item.entry.js +2 -2
  494. package/dist/esm/gux-list.entry.js +3 -3
  495. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  496. package/dist/esm/gux-loading-message.entry.js +3 -3
  497. package/dist/esm/gux-logo-beta.entry.js +6 -6
  498. package/dist/esm/gux-logomark-beta.entry.js +4 -4
  499. package/dist/esm/gux-menu-option.entry.js +2 -2
  500. package/dist/esm/gux-menu.entry.js +2 -2
  501. package/dist/esm/gux-modal-legacy.entry.js +4 -4
  502. package/dist/esm/gux-modal-side-panel-beta.entry.js +4 -4
  503. package/dist/esm/gux-modal.entry.js +3 -3
  504. package/dist/esm/gux-month-calendar.entry.js +3 -3
  505. package/dist/esm/gux-month-list_2.entry.js +3 -3
  506. package/dist/esm/gux-month-picker-beta.entry.js +5 -5
  507. package/dist/esm/gux-notification-indicator-beta.entry.js +3 -3
  508. package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
  509. package/dist/esm/gux-option-group-beta.entry.js +2 -2
  510. package/dist/esm/gux-option-icon.entry.js +3 -3
  511. package/dist/esm/gux-option-multi.entry.js +4 -4
  512. package/dist/esm/gux-option-status-beta.entry.js +3 -3
  513. package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
  514. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
  515. package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
  516. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  517. package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
  518. package/dist/esm/gux-pagination-legacy.entry.js +3 -3
  519. package/dist/esm/gux-pagination.entry.js +3 -3
  520. package/dist/esm/gux-phone-input-beta.entry.js +6 -6
  521. package/dist/esm/gux-popover-beta.entry.js +23 -10
  522. package/dist/esm/gux-popover-list-beta.entry.js +36 -12
  523. package/dist/esm/gux-popover-list.entry.js +5 -5
  524. package/dist/esm/gux-popup.entry.js +4 -4
  525. package/dist/esm/gux-prompt-input-beta.entry.js +5 -5
  526. package/dist/esm/gux-radial-loading.entry.js +4 -4
  527. package/dist/esm/gux-radial-progress.entry.js +2 -2
  528. package/dist/esm/gux-rating.entry.js +5 -5
  529. package/dist/esm/gux-rich-highlight-list-item.entry.js +5 -5
  530. package/dist/esm/gux-rich-style-list-item_3.entry.js +9 -9
  531. package/dist/esm/gux-rich-text-editor-action-group.entry.js +3 -3
  532. package/dist/esm/gux-rich-text-editor-action-link.entry.js +6 -6
  533. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +5 -5
  534. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +5 -5
  535. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  536. package/dist/esm/gux-rich-text-editor-beta.entry.js +7 -7
  537. package/dist/esm/gux-rich-text-editor-list.entry.js +3 -3
  538. package/dist/esm/gux-row-select.entry.js +3 -3
  539. package/dist/esm/gux-screen-reader-beta.entry.js +3 -3
  540. package/dist/esm/gux-segmented-control-beta.entry.js +3 -3
  541. package/dist/esm/gux-segmented-control-divider.entry.js +2 -2
  542. package/dist/esm/gux-segmented-control-item.entry.js +5 -5
  543. package/dist/esm/gux-select-all.entry.js +4 -4
  544. package/dist/esm/gux-selector-card-beta.entry.js +5 -5
  545. package/dist/esm/gux-selector-cards-beta.entry.js +3 -3
  546. package/dist/esm/gux-side-panel-beta.entry.js +4 -4
  547. package/dist/esm/gux-side-panel-header-mini.entry.js +4 -4
  548. package/dist/esm/gux-side-panel-header.entry.js +3 -3
  549. package/dist/esm/gux-side-panel-heading.entry.js +3 -3
  550. package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
  551. package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
  552. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  553. package/dist/esm/gux-sort-control.entry.js +5 -5
  554. package/dist/esm/gux-status-indicator-beta.entry.js +3 -3
  555. package/dist/esm/gux-step-title.entry.js +3 -3
  556. package/dist/esm/gux-step.entry.js +5 -5
  557. package/dist/esm/gux-stepper-beta.entry.js +4 -4
  558. package/dist/esm/gux-submenu.entry.js +4 -4
  559. package/dist/esm/gux-switch-item.entry.js +2 -2
  560. package/dist/esm/gux-switch-legacy.entry.js +3 -3
  561. package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
  562. package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
  563. package/dist/esm/gux-tab-advanced.entry.js +4 -4
  564. package/dist/esm/gux-tab-list.entry.js +5 -5
  565. package/dist/esm/gux-tab-panel.entry.js +2 -2
  566. package/dist/esm/gux-tab.entry.js +3 -3
  567. package/dist/esm/gux-table-select-menu.entry.js +3 -3
  568. package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
  569. package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
  570. package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
  571. package/dist/esm/gux-table-toolbar.entry.js +115 -23
  572. package/dist/esm/gux-table.entry.js +5 -5
  573. package/dist/esm/gux-tabs-advanced.entry.js +3 -3
  574. package/dist/esm/gux-tabs.entry.js +4 -4
  575. package/dist/esm/gux-tag.entry.js +5 -5
  576. package/dist/esm/gux-text-highlight.entry.js +2 -2
  577. package/dist/esm/gux-time-beta.entry.js +5 -5
  578. package/dist/esm/gux-time-picker.entry.js +5 -5
  579. package/dist/esm/gux-time-zone-beta.entry.js +4 -4
  580. package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
  581. package/dist/esm/gux-toast.entry.js +4 -4
  582. package/dist/esm/gux-toggle-slider.entry.js +3 -3
  583. package/dist/esm/gux-toggle.entry.js +5 -5
  584. package/dist/esm/gux-tooltip-base-beta_2.entry.js +5 -5
  585. package/dist/esm/gux-tooltip-pointer-beta.entry.js +3 -3
  586. package/dist/esm/gux-tooltip-title.entry.js +5 -5
  587. package/dist/esm/gux-tooltip_2.entry.js +9 -9
  588. package/dist/esm/gux-tree-beta.entry.js +5 -5
  589. package/dist/esm/gux-tree-multi-beta.entry.js +5 -5
  590. package/dist/esm/{gux-tree-multi.service-CqlM5Ark.js → gux-tree-multi.service-DywkmQ9D.js} +1 -1
  591. package/dist/esm/{gux-tree.service-By2DE0TG.js → gux-tree.service-DrsSO_cH.js} +1 -1
  592. package/dist/esm/index-CW7z6RPd.js +2955 -0
  593. package/dist/esm/{index-BaLo2k_8.js → index-DV83JT5I.js} +1 -1
  594. package/dist/esm/loader.js +3 -3
  595. package/dist/esm/{on-click-outside-EUgJi7Nq.js → on-click-outside-DGKD-rDs.js} +1 -1
  596. package/dist/esm/{on-mutation-Buvv8P1w.js → on-mutation-hyjKEYin.js} +1 -1
  597. package/dist/esm/{on-resize-BIGJ_lme.js → on-resize-DLnYi7-d.js} +1 -1
  598. package/dist/esm/{usage-Dr0IUVkV.js → usage-DJF3J0o5.js} +1 -1
  599. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  600. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  601. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  602. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  603. package/dist/genesys-webcomponents/{p-d57a5805.entry.js → p-01f98190.entry.js} +1 -1
  604. package/dist/genesys-webcomponents/{p-dd7eaed1.entry.js → p-029991ef.entry.js} +1 -1
  605. package/dist/genesys-webcomponents/{p-463aaba3.entry.js → p-075ae898.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/p-099bbe9b.entry.js +1 -0
  607. package/dist/genesys-webcomponents/{p-2a6de111.entry.js → p-0bc31770.entry.js} +1 -1
  608. package/dist/genesys-webcomponents/{p-cd881656.entry.js → p-0d656a4a.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/{p-c0aa14b7.entry.js → p-0d788313.entry.js} +1 -1
  610. package/dist/genesys-webcomponents/{p-645b7604.entry.js → p-0d7ff126.entry.js} +1 -1
  611. package/dist/genesys-webcomponents/{p-fda453df.entry.js → p-0d91c408.entry.js} +1 -1
  612. package/dist/genesys-webcomponents/p-0f67c827.entry.js +1 -0
  613. package/dist/genesys-webcomponents/{p-e909cf42.entry.js → p-106c244e.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/{p-00acd489.entry.js → p-12a9ba23.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/p-135684b6.entry.js +1 -0
  616. package/dist/genesys-webcomponents/p-16670266.entry.js +1 -0
  617. package/dist/genesys-webcomponents/p-18e92e3f.entry.js +1 -0
  618. package/dist/genesys-webcomponents/{p-4f9af39e.entry.js → p-1b0ea6db.entry.js} +1 -1
  619. package/dist/genesys-webcomponents/{p-0618fa88.entry.js → p-1df36e6b.entry.js} +1 -1
  620. package/dist/genesys-webcomponents/{p-c7961ebe.entry.js → p-1e4e1dbe.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/{p-befd7539.entry.js → p-1ffe5ce8.entry.js} +1 -1
  622. package/dist/genesys-webcomponents/p-25bdf930.entry.js +1 -0
  623. package/dist/genesys-webcomponents/p-2642c41b.entry.js +1 -0
  624. package/dist/genesys-webcomponents/{p-20a4a8e1.entry.js → p-27d8c83a.entry.js} +1 -1
  625. package/dist/genesys-webcomponents/{p-6b25ba5d.entry.js → p-286d0db1.entry.js} +1 -1
  626. package/dist/genesys-webcomponents/{p-87cfd989.entry.js → p-2c3b6935.entry.js} +1 -1
  627. package/dist/genesys-webcomponents/{p-61d03878.entry.js → p-2ef4f418.entry.js} +1 -1
  628. package/dist/genesys-webcomponents/{p-6dab1705.entry.js → p-34fb56d6.entry.js} +1 -1
  629. package/dist/genesys-webcomponents/{p-2bfc6bce.entry.js → p-351e75d6.entry.js} +1 -1
  630. package/dist/genesys-webcomponents/{p-13ef1834.entry.js → p-36b4a04c.entry.js} +1 -1
  631. package/dist/genesys-webcomponents/{p-f93cac1b.entry.js → p-36fd77ac.entry.js} +1 -1
  632. package/dist/genesys-webcomponents/{p-750f5684.entry.js → p-37cba21e.entry.js} +1 -1
  633. package/dist/genesys-webcomponents/{p-a1595513.entry.js → p-39c520ad.entry.js} +1 -1
  634. package/dist/genesys-webcomponents/{p-169895cb.entry.js → p-3d817d8c.entry.js} +1 -1
  635. package/dist/genesys-webcomponents/p-3edea9a5.entry.js +1 -0
  636. package/dist/genesys-webcomponents/{p-0458262e.entry.js → p-3ff3c2f2.entry.js} +1 -1
  637. package/dist/genesys-webcomponents/{p-ccd2917a.entry.js → p-400a35b8.entry.js} +1 -1
  638. package/dist/genesys-webcomponents/{p-80ca9b80.entry.js → p-41f99975.entry.js} +1 -1
  639. package/dist/genesys-webcomponents/{p-5d57f755.entry.js → p-4208fd7b.entry.js} +1 -1
  640. package/dist/genesys-webcomponents/{p-d1b889a8.entry.js → p-4292c053.entry.js} +1 -1
  641. package/dist/genesys-webcomponents/{p-a63120c5.entry.js → p-42ca6f93.entry.js} +1 -1
  642. package/dist/genesys-webcomponents/p-4411aab6.entry.js +1 -0
  643. package/dist/genesys-webcomponents/{p-b1a32810.entry.js → p-4524116b.entry.js} +1 -1
  644. package/dist/genesys-webcomponents/{p-9f8578bc.entry.js → p-45485bb7.entry.js} +1 -1
  645. package/dist/genesys-webcomponents/{p-bc40af25.entry.js → p-4584e55c.entry.js} +1 -1
  646. package/dist/genesys-webcomponents/{p-a8cdd808.entry.js → p-46020b29.entry.js} +1 -1
  647. package/dist/genesys-webcomponents/{p-7f92119c.entry.js → p-4690a96a.entry.js} +1 -1
  648. package/dist/genesys-webcomponents/{p-c88d8930.entry.js → p-48037bcf.entry.js} +1 -1
  649. package/dist/genesys-webcomponents/{p-3bcf4af8.entry.js → p-496d9e79.entry.js} +1 -1
  650. package/dist/genesys-webcomponents/p-4bf1d492.entry.js +1 -0
  651. package/dist/genesys-webcomponents/{p-34136f37.entry.js → p-4c053a50.entry.js} +1 -1
  652. package/dist/genesys-webcomponents/p-4e4e77c1.entry.js +1 -0
  653. package/dist/genesys-webcomponents/{p-68ab5243.entry.js → p-4fb8d5ed.entry.js} +1 -1
  654. package/dist/genesys-webcomponents/{p-5afc0da1.entry.js → p-51109833.entry.js} +1 -1
  655. package/dist/genesys-webcomponents/{p-5245261a.entry.js → p-53ee28c2.entry.js} +1 -1
  656. package/dist/genesys-webcomponents/{p-b13cea3c.entry.js → p-54afd51e.entry.js} +1 -1
  657. package/dist/genesys-webcomponents/{p-6f2d7dc6.entry.js → p-579132ae.entry.js} +1 -1
  658. package/dist/genesys-webcomponents/{p-3ed1fd82.entry.js → p-59dc088d.entry.js} +1 -1
  659. package/dist/genesys-webcomponents/{p-f0ad712a.entry.js → p-5a13a136.entry.js} +1 -1
  660. package/dist/genesys-webcomponents/{p-b147cc89.entry.js → p-5a8507d7.entry.js} +1 -1
  661. package/dist/genesys-webcomponents/{p-e97a9279.entry.js → p-5b4dfbe7.entry.js} +1 -1
  662. package/dist/genesys-webcomponents/{p-1f4bb786.entry.js → p-5d9139b3.entry.js} +1 -1
  663. package/dist/genesys-webcomponents/p-5eda5c95.entry.js +1 -0
  664. package/dist/genesys-webcomponents/{p-0348afe8.entry.js → p-6040abe1.entry.js} +1 -1
  665. package/dist/genesys-webcomponents/{p-3f438b6f.entry.js → p-6556b850.entry.js} +1 -1
  666. package/dist/genesys-webcomponents/{p-42f284c5.entry.js → p-65dbc037.entry.js} +1 -1
  667. package/dist/genesys-webcomponents/{p-8c3e79b5.entry.js → p-6645986a.entry.js} +1 -1
  668. package/dist/genesys-webcomponents/p-67b9d863.entry.js +1 -0
  669. package/dist/genesys-webcomponents/{p-d23446b1.entry.js → p-6945d8c3.entry.js} +1 -1
  670. package/dist/genesys-webcomponents/p-6a0315df.entry.js +1 -0
  671. package/dist/genesys-webcomponents/{p-e0315031.entry.js → p-6a4b0716.entry.js} +1 -1
  672. package/dist/genesys-webcomponents/{p-91739c31.entry.js → p-6afe497d.entry.js} +1 -1
  673. package/dist/genesys-webcomponents/p-6ccebdf8.entry.js +1 -0
  674. package/dist/genesys-webcomponents/{p-d5289c1c.entry.js → p-6d3dd715.entry.js} +1 -1
  675. package/dist/genesys-webcomponents/p-6f38fcae.entry.js +1 -0
  676. package/dist/genesys-webcomponents/p-6fd48b45.entry.js +1 -0
  677. package/dist/genesys-webcomponents/p-725c31e1.entry.js +1 -0
  678. package/dist/genesys-webcomponents/{p-40aac3b9.entry.js → p-73791940.entry.js} +1 -1
  679. package/dist/genesys-webcomponents/{p-8990f902.entry.js → p-75ad3fc5.entry.js} +1 -1
  680. package/dist/genesys-webcomponents/p-7630c024.entry.js +1 -0
  681. package/dist/genesys-webcomponents/{p-21736cce.entry.js → p-76692443.entry.js} +1 -1
  682. package/dist/genesys-webcomponents/{p-3fc3a2da.entry.js → p-775fdcc8.entry.js} +1 -1
  683. package/dist/genesys-webcomponents/{p-5bab1f26.entry.js → p-7762cd54.entry.js} +1 -1
  684. package/dist/genesys-webcomponents/{p-b213dbcd.entry.js → p-77a06243.entry.js} +1 -1
  685. package/dist/genesys-webcomponents/{p-363ea63f.entry.js → p-78ff1663.entry.js} +1 -1
  686. package/dist/genesys-webcomponents/{p-1MK2QR3u.js → p-7Jfa0k54.js} +1 -1
  687. package/dist/genesys-webcomponents/{p-717d64e9.entry.js → p-7b0d5f09.entry.js} +1 -1
  688. package/dist/genesys-webcomponents/{p-46816acd.entry.js → p-7b20b1e9.entry.js} +1 -1
  689. package/dist/genesys-webcomponents/{p-458e0af6.entry.js → p-7ce0e0e3.entry.js} +1 -1
  690. package/dist/genesys-webcomponents/{p-5dab51a4.entry.js → p-7d030c05.entry.js} +1 -1
  691. package/dist/genesys-webcomponents/p-7d243dc4.entry.js +1 -0
  692. package/dist/genesys-webcomponents/{p-ba21e155.entry.js → p-7dad57ed.entry.js} +1 -1
  693. package/dist/genesys-webcomponents/p-7eed5ea6.entry.js +1 -0
  694. package/dist/genesys-webcomponents/{p-b38e89fe.entry.js → p-7f8e1d2e.entry.js} +1 -1
  695. package/dist/genesys-webcomponents/{p-5646f503.entry.js → p-80f81e4e.entry.js} +1 -1
  696. package/dist/genesys-webcomponents/{p-4069b6c4.entry.js → p-81287577.entry.js} +1 -1
  697. package/dist/genesys-webcomponents/{p-b82676fe.entry.js → p-83cc0500.entry.js} +1 -1
  698. package/dist/genesys-webcomponents/p-8417ccac.entry.js +1 -0
  699. package/dist/genesys-webcomponents/{p-e49eebe3.entry.js → p-841c6bf2.entry.js} +1 -1
  700. package/dist/genesys-webcomponents/p-856e8213.entry.js +1 -0
  701. package/dist/genesys-webcomponents/{p-ec7d3ea6.entry.js → p-85e9ada1.entry.js} +1 -1
  702. package/dist/genesys-webcomponents/{p-f965f4da.entry.js → p-86a6bd80.entry.js} +1 -1
  703. package/dist/genesys-webcomponents/{p-67a12c6b.entry.js → p-8931283d.entry.js} +1 -1
  704. package/dist/genesys-webcomponents/p-8abd4979.entry.js +1 -0
  705. package/dist/genesys-webcomponents/{p-9f253e95.entry.js → p-8e2d53c8.entry.js} +1 -1
  706. package/dist/genesys-webcomponents/{p-6a43ed82.entry.js → p-8e31196d.entry.js} +1 -1
  707. package/dist/genesys-webcomponents/{p-390a79b3.entry.js → p-91b69e9e.entry.js} +1 -1
  708. package/dist/genesys-webcomponents/{p-87e1303c.entry.js → p-92408ec1.entry.js} +1 -1
  709. package/dist/genesys-webcomponents/{p-a54f0046.entry.js → p-9384f729.entry.js} +1 -1
  710. package/dist/genesys-webcomponents/{p-905c05a0.entry.js → p-94a45dd4.entry.js} +1 -1
  711. package/dist/genesys-webcomponents/{p-31294261.entry.js → p-97260bce.entry.js} +1 -1
  712. package/dist/genesys-webcomponents/{p-8c0b5fe5.entry.js → p-98389b73.entry.js} +1 -1
  713. package/dist/genesys-webcomponents/{p-56938531.entry.js → p-9862fdd0.entry.js} +1 -1
  714. package/dist/genesys-webcomponents/{p-c083308c.entry.js → p-99a7a75b.entry.js} +1 -1
  715. package/dist/genesys-webcomponents/{p-ca88c00d.entry.js → p-9a8b2e87.entry.js} +1 -1
  716. package/dist/genesys-webcomponents/{p-6f2e61ae.entry.js → p-9ab6145e.entry.js} +1 -1
  717. package/dist/genesys-webcomponents/{p-04704cef.entry.js → p-9de605ff.entry.js} +1 -1
  718. package/dist/genesys-webcomponents/{p-Cok0g8Bp.js → p-AdM1Un4y.js} +1 -1
  719. package/dist/genesys-webcomponents/{p-BnGNuTSJ.js → p-B00vXHqr.js} +1 -1
  720. package/dist/genesys-webcomponents/{p-DIsfll29.js → p-B55UEWA8.js} +1 -1
  721. package/dist/genesys-webcomponents/{p-BiHCyfaN.js → p-BmJEQySK.js} +1 -1
  722. package/dist/genesys-webcomponents/p-CW7z6RPd.js +2 -0
  723. package/dist/genesys-webcomponents/{p-C1tZMARN.js → p-D-Iy-JTL.js} +1 -1
  724. package/dist/genesys-webcomponents/{p-Dr0IUVkV.js → p-DJF3J0o5.js} +1 -1
  725. package/dist/genesys-webcomponents/{p-DJfLLpzO.js → p-DYtJNWnZ.js} +1 -1
  726. package/dist/genesys-webcomponents/{p-CAJ6P2Xh.js → p-D_4wz9ez.js} +1 -1
  727. package/dist/genesys-webcomponents/{p-D42gZGEO.js → p-PyAf0Vv-.js} +1 -1
  728. package/dist/genesys-webcomponents/{p-_CWahCOH.js → p-QDdMA8yS.js} +1 -1
  729. package/dist/genesys-webcomponents/{p-4ac7192b.entry.js → p-a2586e0c.entry.js} +1 -1
  730. package/dist/genesys-webcomponents/{p-8b9ac4e0.entry.js → p-a2d2be6d.entry.js} +1 -1
  731. package/dist/genesys-webcomponents/p-a4ecc44a.entry.js +1 -0
  732. package/dist/genesys-webcomponents/{p-2bde8179.entry.js → p-a52c9379.entry.js} +1 -1
  733. package/dist/genesys-webcomponents/{p-bc5d3c6a.entry.js → p-a72c1620.entry.js} +1 -1
  734. package/dist/genesys-webcomponents/{p-6a0e9f5c.entry.js → p-a965cad6.entry.js} +1 -1
  735. package/dist/genesys-webcomponents/{p-2177421b.entry.js → p-aa8a7125.entry.js} +1 -1
  736. package/dist/genesys-webcomponents/{p-2fcc2cbd.entry.js → p-ab3bf378.entry.js} +1 -1
  737. package/dist/genesys-webcomponents/{p-5eee3da2.entry.js → p-ab783b85.entry.js} +1 -1
  738. package/dist/genesys-webcomponents/{p-59049e4d.entry.js → p-ac1c8fd8.entry.js} +1 -1
  739. package/dist/genesys-webcomponents/p-ad6473e9.entry.js +1 -0
  740. package/dist/genesys-webcomponents/{p-f3fd8bf7.entry.js → p-af7932c7.entry.js} +1 -1
  741. package/dist/genesys-webcomponents/p-afc0c986.entry.js +1 -0
  742. package/dist/genesys-webcomponents/p-b0c158b6.entry.js +1 -0
  743. package/dist/genesys-webcomponents/{p-b6e733f3.entry.js → p-b214f2dd.entry.js} +1 -1
  744. package/dist/genesys-webcomponents/{p-fa5f464b.entry.js → p-b250e52b.entry.js} +1 -1
  745. package/dist/genesys-webcomponents/p-b365228d.entry.js +1 -0
  746. package/dist/genesys-webcomponents/p-b5fbeed6.entry.js +1 -0
  747. package/dist/genesys-webcomponents/{p-93e0a79d.entry.js → p-b7bae5a8.entry.js} +1 -1
  748. package/dist/genesys-webcomponents/p-ba6c1a01.entry.js +1 -0
  749. package/dist/genesys-webcomponents/p-bafed36d.entry.js +1 -0
  750. package/dist/genesys-webcomponents/{p-295c290e.entry.js → p-bed1baba.entry.js} +1 -1
  751. package/dist/genesys-webcomponents/{p-f0da4967.entry.js → p-c03e2363.entry.js} +1 -1
  752. package/dist/genesys-webcomponents/{p-16a8abd9.entry.js → p-c28eebe8.entry.js} +1 -1
  753. package/dist/genesys-webcomponents/p-c2d8c92a.entry.js +1 -0
  754. package/dist/genesys-webcomponents/{p-cf339c76.entry.js → p-c6cad9a7.entry.js} +1 -1
  755. package/dist/genesys-webcomponents/{p-f201be17.entry.js → p-c6dc7c7a.entry.js} +1 -1
  756. package/dist/genesys-webcomponents/{p-3febdd34.entry.js → p-c75b8ae4.entry.js} +1 -1
  757. package/dist/genesys-webcomponents/p-c763ad2f.entry.js +1 -0
  758. package/dist/genesys-webcomponents/p-c85554e7.entry.js +1 -0
  759. package/dist/genesys-webcomponents/{p-6dcd7f2e.entry.js → p-c902f718.entry.js} +1 -1
  760. package/dist/genesys-webcomponents/{p-c66fa160.entry.js → p-cc099c88.entry.js} +1 -1
  761. package/dist/genesys-webcomponents/{p-eab6e7e2.entry.js → p-ce63dfa7.entry.js} +1 -1
  762. package/dist/genesys-webcomponents/{p-4c2b671c.entry.js → p-cefa3c3d.entry.js} +1 -1
  763. package/dist/genesys-webcomponents/{p-0ec3ea7a.entry.js → p-cf85f4f0.entry.js} +1 -1
  764. package/dist/genesys-webcomponents/{p-b40bda15.entry.js → p-cff06e47.entry.js} +1 -1
  765. package/dist/genesys-webcomponents/{p-314f1f43.entry.js → p-d0eb26c0.entry.js} +1 -1
  766. package/dist/genesys-webcomponents/{p-cb13b8b5.entry.js → p-d3986f32.entry.js} +1 -1
  767. package/dist/genesys-webcomponents/{p-83572db9.entry.js → p-d3efce09.entry.js} +1 -1
  768. package/dist/genesys-webcomponents/p-da9461bd.entry.js +1 -0
  769. package/dist/genesys-webcomponents/p-db55c972.entry.js +1 -0
  770. package/dist/genesys-webcomponents/{p-67aaf6a2.entry.js → p-db88a3f9.entry.js} +1 -1
  771. package/dist/genesys-webcomponents/{p-7a8033e5.entry.js → p-dcfc7553.entry.js} +1 -1
  772. package/dist/genesys-webcomponents/{p-1852c626.entry.js → p-deb38c3f.entry.js} +1 -1
  773. package/dist/genesys-webcomponents/{p-09ec4b4e.entry.js → p-df2c159f.entry.js} +1 -1
  774. package/dist/genesys-webcomponents/{p-ce1e52b0.entry.js → p-e050f688.entry.js} +1 -1
  775. package/dist/genesys-webcomponents/{p-63c409e0.entry.js → p-e05aa050.entry.js} +1 -1
  776. package/dist/genesys-webcomponents/{p-aafbfb78.entry.js → p-e1ebbb4f.entry.js} +1 -1
  777. package/dist/genesys-webcomponents/{p-9b433707.entry.js → p-e8dd8865.entry.js} +1 -1
  778. package/dist/genesys-webcomponents/{p-299bca70.entry.js → p-e975c43a.entry.js} +1 -1
  779. package/dist/genesys-webcomponents/{p-40bd981e.entry.js → p-e9c9cff6.entry.js} +2 -2
  780. package/dist/genesys-webcomponents/p-eab4291b.entry.js +1 -0
  781. package/dist/genesys-webcomponents/{p-57d0d802.entry.js → p-ebee3b09.entry.js} +1 -1
  782. package/dist/genesys-webcomponents/p-eca4b4f2.entry.js +1 -0
  783. package/dist/genesys-webcomponents/{p-0dc21e40.entry.js → p-efca97d3.entry.js} +1 -1
  784. package/dist/genesys-webcomponents/{p-738e7879.entry.js → p-f0d4249d.entry.js} +1 -1
  785. package/dist/genesys-webcomponents/{p-19c0d225.entry.js → p-f11d9759.entry.js} +1 -1
  786. package/dist/genesys-webcomponents/{p-3b65540f.entry.js → p-f2966dd8.entry.js} +1 -1
  787. package/dist/genesys-webcomponents/{p-f82b5e73.entry.js → p-f3a79ccf.entry.js} +1 -1
  788. package/dist/genesys-webcomponents/p-f49bc29a.entry.js +1 -0
  789. package/dist/genesys-webcomponents/{p-9fc11ca7.entry.js → p-f7268a23.entry.js} +1 -1
  790. package/dist/genesys-webcomponents/{p-e46ab0fd.entry.js → p-f7c11cc6.entry.js} +1 -1
  791. package/dist/genesys-webcomponents/{p-c0e48fd2.entry.js → p-f7d46264.entry.js} +1 -1
  792. package/dist/genesys-webcomponents/{p-fc204d38.entry.js → p-f9cb0e1a.entry.js} +1 -1
  793. package/dist/genesys-webcomponents/p-fa515d94.entry.js +1 -0
  794. package/dist/genesys-webcomponents/{p-e5a88d6e.entry.js → p-fd6af38d.entry.js} +1 -1
  795. package/dist/genesys-webcomponents/p-fea69e85.entry.js +1 -0
  796. package/dist/genesys-webcomponents/{p-6f172667.entry.js → p-ff374fc5.entry.js} +1 -1
  797. package/dist/genesys-webcomponents/{p-c827b353.entry.js → p-ffaaf6b7.entry.js} +1 -1
  798. package/dist/genesys-webcomponents/p-uAcnLSYY.js +1 -0
  799. package/dist/stencil-wrapper.js +1 -1
  800. package/dist/types/components/beta/gux-ai-indicator/gux-ai-indicator.d.ts +11 -0
  801. package/dist/types/components/beta/gux-ai-indicator/tests/gux-ai-indicator.common.d.ts +8 -0
  802. package/dist/types/components/beta/gux-popover-list-beta/gux-popover-list.d.ts +2 -0
  803. package/dist/types/components/legacy/gux-pagination-legacy/gux-pagination.types.d.ts +1 -1
  804. package/dist/types/components/stable/gux-button/gux-button.types.d.ts +1 -1
  805. package/dist/types/components/stable/gux-button-slot/gux-button-slot.types.d.ts +1 -1
  806. package/dist/types/components/stable/gux-calendar/gux-calendar.types.d.ts +1 -2
  807. package/dist/types/components/stable/gux-datepicker/gux-datepicker.types.d.ts +1 -2
  808. package/dist/types/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.d.ts +1 -0
  809. package/dist/types/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.d.ts +0 -1
  810. package/dist/types/components/stable/gux-pagination/gux-pagination.types.d.ts +1 -1
  811. package/dist/types/components/stable/gux-table-toolbar/gux-table-toolbar.d.ts +4 -5
  812. package/dist/types/components.d.ts +17 -4
  813. package/dist/types/stencil-wrapper.d.ts +1 -1
  814. package/dist/types/utils/dom/on-input-value-change.d.ts +9 -0
  815. package/dist/types/utils/dom/slot-cache.d.ts +105 -0
  816. package/dist/types/utils/function/debounce.d.ts +45 -0
  817. package/package.json +1 -1
  818. package/dist/cjs/index-CBglYKJO.js +0 -2984
  819. package/dist/esm/index-D63QQ8rP.js +0 -2951
  820. package/dist/genesys-webcomponents/p-03e152a8.entry.js +0 -1
  821. package/dist/genesys-webcomponents/p-0a08d686.entry.js +0 -1
  822. package/dist/genesys-webcomponents/p-0ooLeagG.js +0 -1
  823. package/dist/genesys-webcomponents/p-10190ff6.entry.js +0 -1
  824. package/dist/genesys-webcomponents/p-12d1b16d.entry.js +0 -1
  825. package/dist/genesys-webcomponents/p-157c89d2.entry.js +0 -1
  826. package/dist/genesys-webcomponents/p-16729a06.entry.js +0 -1
  827. package/dist/genesys-webcomponents/p-1747001a.entry.js +0 -1
  828. package/dist/genesys-webcomponents/p-2608c67c.entry.js +0 -1
  829. package/dist/genesys-webcomponents/p-2c2598bc.entry.js +0 -1
  830. package/dist/genesys-webcomponents/p-2cec1ba1.entry.js +0 -1
  831. package/dist/genesys-webcomponents/p-30a9dfb7.entry.js +0 -1
  832. package/dist/genesys-webcomponents/p-39fd89b0.entry.js +0 -1
  833. package/dist/genesys-webcomponents/p-3a889501.entry.js +0 -1
  834. package/dist/genesys-webcomponents/p-3bc1efc3.entry.js +0 -1
  835. package/dist/genesys-webcomponents/p-4613f5dd.entry.js +0 -1
  836. package/dist/genesys-webcomponents/p-50486969.entry.js +0 -1
  837. package/dist/genesys-webcomponents/p-59e8b36e.entry.js +0 -1
  838. package/dist/genesys-webcomponents/p-5eb7aadb.entry.js +0 -1
  839. package/dist/genesys-webcomponents/p-60d0f9af.entry.js +0 -1
  840. package/dist/genesys-webcomponents/p-6923d293.entry.js +0 -1
  841. package/dist/genesys-webcomponents/p-6c0ef50a.entry.js +0 -1
  842. package/dist/genesys-webcomponents/p-704b239c.entry.js +0 -1
  843. package/dist/genesys-webcomponents/p-74c63715.entry.js +0 -1
  844. package/dist/genesys-webcomponents/p-7bc830d6.entry.js +0 -1
  845. package/dist/genesys-webcomponents/p-7d430eb1.entry.js +0 -1
  846. package/dist/genesys-webcomponents/p-7f903e1e.entry.js +0 -1
  847. package/dist/genesys-webcomponents/p-80127020.entry.js +0 -1
  848. package/dist/genesys-webcomponents/p-80b70fbd.entry.js +0 -1
  849. package/dist/genesys-webcomponents/p-8b0eb2fb.entry.js +0 -1
  850. package/dist/genesys-webcomponents/p-921f34d9.entry.js +0 -1
  851. package/dist/genesys-webcomponents/p-935beebd.entry.js +0 -1
  852. package/dist/genesys-webcomponents/p-977a0852.entry.js +0 -1
  853. package/dist/genesys-webcomponents/p-9ed2fd5a.entry.js +0 -1
  854. package/dist/genesys-webcomponents/p-D63QQ8rP.js +0 -2
  855. package/dist/genesys-webcomponents/p-a1527232.entry.js +0 -1
  856. package/dist/genesys-webcomponents/p-a9e00d4b.entry.js +0 -1
  857. package/dist/genesys-webcomponents/p-b57882e4.entry.js +0 -1
  858. package/dist/genesys-webcomponents/p-c5798cce.entry.js +0 -1
  859. package/dist/genesys-webcomponents/p-e94a57f0.entry.js +0 -1
  860. package/dist/genesys-webcomponents/p-eaec9262.entry.js +0 -1
  861. package/dist/genesys-webcomponents/p-f3bb83e3.entry.js +0 -1
  862. package/dist/genesys-webcomponents/p-fe422fcc.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,a as i}from"./p-D63QQ8rP.js";import{O as a}from"./p-0ooLeagG.js";import{w as o}from"./p-kLXvN2m9.js";import{a as r}from"./p-Bg4q97BS.js";import{t as n}from"./p-Dr0IUVkV.js";const c=["primary","secondary","tertiary"];const u=class{constructor(s){t(this,s),this.open=e(this,"open",7),this.close=e(this,"close",7),this.disabled=!1,this.accent="secondary",this.guxAriaLabel="",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"Enter":case"ArrowDown":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){r((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){r((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){r((()=>{this.listElement.guxFocusLastItem()}))}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return s("gux-popup",{key:"e2cbbbc30193cd29d65e394cf1da7a103f070f1f",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"4651b5e9c7160da26967668ea735b43e28d3f5bc",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"85790ef5516bc93e368267d42c979268cd8a23a9",class:"gux-dropdown-button",accent:(t=this.accent,c.find((e=>e===t))?t:"secondary")},s("button",{key:"527a68847c9cf1b5ec5009b174b8c3f5de0fde78",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.guxAriaLabel},s("slot",{key:"6de1c02ba18fa0d564a0bc501375c5b1102445f6",name:"title"}),s("gux-icon",{key:"403ff34a22cfbd3028059a935bef26814ac0357b",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"8826d07924e1798df07af844ccb6758b3c0b43e4",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"e1898c303afd51118db7aa086b00f48fe4b66d78",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},s("slot",{key:"a872d533781b500a729d102548cfa07e8b7926fd"}))));var t}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{disabled:[{watchDisabled:0}],isOpen:[{watchValue:0}]}}};(function(t,e,s,i){var a,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,s,r):a(e,s))||r);o>3&&r&&Object.defineProperty(e,s,r)})([a()],u.prototype,"onClickOutside",null),u.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{margin-inline-start:var(--gse-ui-button-gap)}.gux-list-container{max-inline-size:220px;max-block-size:var(--gse-ui-menu-maxHeight);margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_button_multi}
1
+ import{r as t,c as e,h as s,a as i}from"./p-CW7z6RPd.js";import{O as a}from"./p-uAcnLSYY.js";import{w as o}from"./p-kLXvN2m9.js";import{a as r}from"./p-Bg4q97BS.js";import{t as n}from"./p-DJF3J0o5.js";const c=["primary","secondary","tertiary"];const u=class{constructor(s){t(this,s),this.open=e(this,"open",7),this.close=e(this,"close",7),this.disabled=!1,this.accent="secondary",this.guxAriaLabel="",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"Enter":case"ArrowDown":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){r((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){r((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){r((()=>{this.listElement.guxFocusLastItem()}))}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return s("gux-popup",{key:"f0a41b056b5315866f9a41bcba1f59e6dbbeda95",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"2e074c7b2de255e761241bd9521cea7b6c87daa7",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"8c6a53e2d6c05f9c1d7dc9c3150e80dd4a285da3",class:"gux-dropdown-button",accent:(t=this.accent,c.find((e=>e===t))?t:"secondary")},s("button",{key:"c6fa90bd38089677a8c25bd1416f960fe6f7bbd9",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.guxAriaLabel},s("slot",{key:"98f630bb816206a6698694a8253a1de9af3eff07",name:"title"}),s("gux-icon",{key:"2f0d5b6cffc9d2edfcab32ca64222b47776a598b",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"6eb3850062e9da4b0da0d4a790d694be315722db",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"f642579bb3fcea1528b99ecb8878e08e2453fc99",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},s("slot",{key:"45a0ecda870329d8499d8ed423290f63bec6d252"}))));var t}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{disabled:[{watchDisabled:0}],isOpen:[{watchValue:0}]}}};(function(t,e,s,i){var a,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,s,r):a(e,s))||r);o>3&&r&&Object.defineProperty(e,s,r)})([a()],u.prototype,"onClickOutside",null),u.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{margin-inline-start:var(--gse-ui-button-gap)}.gux-list-container{max-inline-size:220px;max-block-size:var(--gse-ui-menu-maxHeight);margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_button_multi}
@@ -1 +1 @@
1
- import{r as e,h as r,H as i}from"./p-D63QQ8rP.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"c819f7ab4c147562119eceb6f76f2028222794c2",role:"presentation"})}};o.style=":host{position:relative;display:flex;inline-size:100%;block-size:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
1
+ import{r as e,h as r,H as i}from"./p-CW7z6RPd.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"0123153a3238b6be9f3a71106981dfc89839b014",role:"presentation"})}};o.style=":host{position:relative;display:flex;inline-size:100%;block-size:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
@@ -1 +1 @@
1
- import{r as t,c as a,h as e,a as i}from"./p-D63QQ8rP.js";import{b as n}from"./p-DJfLLpzO.js";import"./p-Cd4R0amv.js";var o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"};class s{static getPageList(t,a){if(a<=10)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=5)return[...[...Array(6).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-5){const e=[...Array(6).keys()].map((e=>{const i=e+a-5;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(5).keys()].map((a=>{const e=a+t-2;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(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 a=parseInt(t,10);!a||isNaN(a)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(a)}getPageListEnteries(t,a){return s.getPageList(t,a).reduce(((t,a)=>t.concat(e("button",a.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(a.pageNumber)},a.display))),[])}getSmallPagePicker(){return e("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return e("div",{class:"gux-pagination-buttons-input-container"},e("div",null,this.i18n("page")),e("div",{class:"gux-pagination-buttons-input"},e("gux-form-field-text-like",{"label-position":"screenreader"},e("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),e("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),e("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 n(this.root,o)}render(){return e("div",{key:"a17ddcc50c603c47b4c52310a1899e77b8196e35",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"7a24100ee08bca0bdfa8194e15f7fc3f7e94c159",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"d0e0dac9089eccd163f4c8214e1276082e4bd786",accent:"ghost"},e("button",{key:"7a6c32733af74bfba8fa9b2eb78f958c1cbb3082",title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"59d55d8dbe9ef4af16a55389d52ed1a706ee7170",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"7792f536b562baf71f9fab64307b190bc19cb0d1",accent:"ghost"},e("button",{key:"b4609a7cd1304db6a05a1ca00703d9000cfd60f7",title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"508db6dc47a2c0cf46a88240b4164366604b0b7f",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPagePicker(this.layout),e("div",{key:"b5c9a280c8eda204f59bc0a94d61a3a4e6156614",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"4378486535fde585b1cfc7a036947fd0eb8b4fbb",accent:"ghost"},e("button",{key:"5425d9d4f1bad36dee54ab652ec25497b46dae1a",title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"db2cf7a0594fb6c40f37de3d6eaf8877921cdeba",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"07eb6ad28ff313f56af5d1372dc4bfbce20718da",accent:"ghost"},e("button",{key:"8add4e3406f41dd6e3cf2383e9955f94b7967dd0",title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"1765b2853f276d459d46350d7e8941d49d76cb46",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons-legacy .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons-legacy .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .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-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:60px;text-align:center;background-color:transparent}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);padding-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);background:inherit;border:none}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset))}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);cursor:pointer;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:var(--gse-ui-dataTableItems-tablePagination-padding)}";var r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"};const u=class{constructor(a){t(this,a),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 n(this.root,r)}render(){return e("div",{key:"637fe756cbe77ef181bd8fe212794d7b16c0dd4d",class:"gux-pagination-item-counts-container"},e("span",{key:"e4c1ed928045d1641bf5e5a24c7050810dd4ba88",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"bd103bc2f75c5c41d191d36cd85266515c6fcfad"},this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return i(this)}};u.style="gux-pagination-item-counts-legacy .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";var l={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"};const c=class{constructor(e){t(this,e),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,l)}getDropdown(){return e("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},e("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},e("gux-option",{value:"25"},"25"),e("gux-option",{value:"50"},"50"),e("gux-option",{value:"75"},"75"),e("gux-option",{value:"100"},"100")))}render(){return e("div",{key:"b2a085d054fec9c2eb76c50a63cff0a556761416",class:"gux-pagination-items-per-page-container"},e("div",{key:"a23af6a6bc68af50b5d05094785c5f711cef6801",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{key:"309e62936d577969cf20ff9af0153a2e4c576f7d",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};c.style="gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{g as gux_pagination_buttons_legacy,u as gux_pagination_item_counts_legacy,c as gux_pagination_items_per_page_legacy}
1
+ import{r as t,c as a,h as e,a as i}from"./p-CW7z6RPd.js";import{b as n}from"./p-DYtJNWnZ.js";import"./p-Cd4R0amv.js";var o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"};class s{static getPageList(t,a){if(a<=10)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=5)return[...[...Array(6).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-5){const e=[...Array(6).keys()].map((e=>{const i=e+a-5;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(5).keys()].map((a=>{const e=a+t-2;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(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 a=parseInt(t,10);!a||isNaN(a)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(a)}getPageListEnteries(t,a){return s.getPageList(t,a).reduce(((t,a)=>t.concat(e("button",a.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(a.pageNumber)},a.display))),[])}getSmallPagePicker(){return e("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return e("div",{class:"gux-pagination-buttons-input-container"},e("div",null,this.i18n("page")),e("div",{class:"gux-pagination-buttons-input"},e("gux-form-field-text-like",{"label-position":"screenreader"},e("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),e("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),e("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 n(this.root,o)}render(){return e("div",{key:"c31a131a34f59d801d217f5d685ac9ad9e78ad55",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"d483874080a4e56c77d0b0235a51a601cbef27eb",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"f3a3942a20027919e25d3ecbc30ae2095e084605",accent:"ghost"},e("button",{key:"4de3a0b6ea4c22c505da99336dc49ae6059efbe6",title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"69ea5e48f20a85321824e3f4afeda8d8a98d56bf",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"5ae8b8143800c022dc3f71108e1f569e356724df",accent:"ghost"},e("button",{key:"e85bf1100eb510757f63b47a7e640e6a050d7861",title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"987b14f7ed0cbcbbbc072921bdf31eab85ef15a6",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPagePicker(this.layout),e("div",{key:"8f1e3bdafa5958c1169b3a856d02193890d397ef",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"edf6fa6a2f34a9c38c4f6f7341ec623c11303134",accent:"ghost"},e("button",{key:"068fa3957ed99d12834e3f3189a7ea66c1cdea9e",title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"c972ed4973d81081c932452f82652c82975cd547",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"ec0352d99b3f6e2c6c9274e6440988dd2a06993e",accent:"ghost"},e("button",{key:"60ccb63addd7e23364ca6d0b5bfd730bbe6ad399",title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"3efc6195cad81ee1cb94ec913b4c53c91f695827",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons-legacy .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons-legacy .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .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-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:60px;text-align:center;background-color:transparent}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);padding-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);background:inherit;border:none}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset))}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);cursor:pointer;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:var(--gse-ui-dataTableItems-tablePagination-padding)}";var r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"};const u=class{constructor(a){t(this,a),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 n(this.root,r)}render(){return e("div",{key:"28d2e497cceae3b7da81faefdedc46aa1278713e",class:"gux-pagination-item-counts-container"},e("span",{key:"418cd89eee199b3207cf12e30da2dc10d6a005b5",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"255a14697154165f5c83885cc7d7b6f5f0d89abe"},this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return i(this)}};u.style="gux-pagination-item-counts-legacy .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";var l={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"};const c=class{constructor(e){t(this,e),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,l)}getDropdown(){return e("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},e("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},e("gux-option",{value:"25"},"25"),e("gux-option",{value:"50"},"50"),e("gux-option",{value:"75"},"75"),e("gux-option",{value:"100"},"100")))}render(){return e("div",{key:"3c08fc71ca11792ba6154c6b308ac9c6d7fbf7c5",class:"gux-pagination-items-per-page-container"},e("div",{key:"03157166ab368e7f49ce01949bc290767b4bf9ea",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{key:"bb5fb93e6c1581a1a270a2a38eadc8233775c2b2",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};c.style="gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{g as gux_pagination_buttons_legacy,u as gux_pagination_item_counts_legacy,c as gux_pagination_items_per_page_legacy}
@@ -1 +1 @@
1
- import{r as e,c as t,h as r,a as s}from"./p-D63QQ8rP.js";import{t as i}from"./p-Dr0IUVkV.js";const p=class{constructor(r){e(this,r),this.guxactivestepchange=t(this,"guxactivestepchange",7),this.orientation="horizontal",this.disabled=!1,this.stepList=[]}onInternalActiveStepChange(e){e.stopPropagation(),this.activateStep(null==e?void 0:e.detail,this.stepList)}watchActiveStep(e){this.activateStep(e,this.stepList),this.guxactivestepchange.emit(e)}componentWillLoad(){i(this.root)}componentDidLoad(){this.activateStep(this.activeStepId,this.stepList),this.activeStepId&&this.guxactivestepchange.emit(this.activeStepId)}activateStep(e,t){e&&(this.activeStepId=e),null==t||t.forEach((e=>{e.guxSetActive(e.stepId===this.activeStepId)}))}onSlotChange(){const e=this.root.shadowRoot.querySelector("slot");this.stepList=e.assignedElements()}render(){return r("div",{key:"d1dfe9bfd61805d09384b66c7e313e4405b13de4",class:{"gux-stepper":!0,[`gux-stepper-${this.orientation}`]:!0}},r("slot",{key:"bf7b24de20105fa3229919cf33c925db9e3ba0bc",onSlotchange:this.onSlotChange.bind(this)}))}get root(){return s(this)}static get watchers(){return{activeStepId:[{watchActiveStep:0}]}}};p.style=":host{display:flex;flex-direction:column}:host .gux-stepper{display:flex;block-size:100%}:host .gux-stepper.gux-stepper-horizontal{flex-direction:row;--stepper-min-inline-size:var(--gse-ui-stepper-step-horizontal-minWidth);--stepper-min-block-size:var(--gse-ui-stepper-step-horizontal-minHeight);--step-gap:var(--gse-ui-stepper-step-gap);--stepper-padding-block:var(--gse-ui-stepper-step-horizontal-gap) 0;--stepper-border-block-start-incomplete:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-block-start-completed:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-block-start-error:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-block-start-active:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-active-foregroundColor) solid}:host .gux-stepper.gux-stepper-vertical{flex-direction:column;--step-gap:var(--gse-ui-stepper-step-vertical-gap);--stepper-min-block-size:var(--gse-ui-stepper-step-vertical-minHeight);--stepper-min-inline-size:var(--gse-ui-stepper-step-vertical-minWidth);--stepper-padding-inline:var(--gse-ui-stepper-step-vertical-gap) 0;--stepper-border-inline-start-incomplete:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-inline-start-completed:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-inline-start-error:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-inline-start-active:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-active-foregroundColor) solid;--stepper-step-body-margin:var( --gse-ui-stepper-step-vertical-body-marginTop )}";export{p as gux_stepper_beta}
1
+ import{r as e,c as t,h as r,a as s}from"./p-CW7z6RPd.js";import{t as i}from"./p-DJF3J0o5.js";const p=class{constructor(r){e(this,r),this.guxactivestepchange=t(this,"guxactivestepchange",7),this.orientation="horizontal",this.disabled=!1,this.stepList=[]}onInternalActiveStepChange(e){e.stopPropagation(),this.activateStep(null==e?void 0:e.detail,this.stepList)}watchActiveStep(e){this.activateStep(e,this.stepList),this.guxactivestepchange.emit(e)}componentWillLoad(){i(this.root)}componentDidLoad(){this.activateStep(this.activeStepId,this.stepList),this.activeStepId&&this.guxactivestepchange.emit(this.activeStepId)}activateStep(e,t){e&&(this.activeStepId=e),null==t||t.forEach((e=>{e.guxSetActive(e.stepId===this.activeStepId)}))}onSlotChange(){const e=this.root.shadowRoot.querySelector("slot");this.stepList=e.assignedElements()}render(){return r("div",{key:"50ece3600fa08389b3a39b9cf8b8591eb4c42f6e",class:{"gux-stepper":!0,[`gux-stepper-${this.orientation}`]:!0}},r("slot",{key:"7d7410fbed8b5d4e52de8e3c6971c3988e7dc937",onSlotchange:this.onSlotChange.bind(this)}))}get root(){return s(this)}static get watchers(){return{activeStepId:[{watchActiveStep:0}]}}};p.style=":host{display:flex;flex-direction:column}:host .gux-stepper{display:flex;block-size:100%}:host .gux-stepper.gux-stepper-horizontal{flex-direction:row;--stepper-min-inline-size:var(--gse-ui-stepper-step-horizontal-minWidth);--stepper-min-block-size:var(--gse-ui-stepper-step-horizontal-minHeight);--step-gap:var(--gse-ui-stepper-step-gap);--stepper-padding-block:var(--gse-ui-stepper-step-horizontal-gap) 0;--stepper-border-block-start-incomplete:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-block-start-completed:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-block-start-error:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-block-start-active:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-active-foregroundColor) solid}:host .gux-stepper.gux-stepper-vertical{flex-direction:column;--step-gap:var(--gse-ui-stepper-step-vertical-gap);--stepper-min-block-size:var(--gse-ui-stepper-step-vertical-minHeight);--stepper-min-inline-size:var(--gse-ui-stepper-step-vertical-minWidth);--stepper-padding-inline:var(--gse-ui-stepper-step-vertical-gap) 0;--stepper-border-inline-start-incomplete:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-inline-start-completed:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-inline-start-error:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-inline-start-active:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-active-foregroundColor) solid;--stepper-step-body-margin:var( --gse-ui-stepper-step-vertical-body-marginTop )}";export{p as gux_stepper_beta}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,a as r}from"./p-D63QQ8rP.js";import{a as s,c as o,o as a,f as n}from"./p-8w8ltg_h.js";import{r as u}from"./p-D9jKBqIb.js";import{a as d}from"./p-Bg4q97BS.js";import{f as l,a as c,b as h,c as p}from"./p-B2JGJq8L.js";import{O as g}from"./p-0ooLeagG.js";import{t as f}from"./p-Dr0IUVkV.js";import{b as x}from"./p-DJfLLpzO.js";import{g as m,a as k}from"./p-BqBSg6zr.js";import{u as b}from"./p-BgaA4g76.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";var v={start:"Start",end:"End",date:"Date",toggleCalendar:"Toggle calendar view"};function y(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 C(t,e){const i=new Date(e.valueOf()),r=function(t){let e=t;for(;e<0;)e+=12;return e%=12,e}(i.getMonth()+t);return i.setMonth(r),i.setFullYear(e.getFullYear()),i.getMonth()!==r?C(t,y(-1,e)):i}function w(t,e){const i=t[e];return i&&"/"!==i?i:t[e-1]}function D(t){return t.match(/\W/)[0]}function F(t){const e=D(t);return t.split(e).reduce(((t,e)=>t.concat(e[0])),[])}function R(t,e){return{selectionStart:t.indexOf(e),selectionEnd:t.lastIndexOf(e)+1}}const z=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=u("gux-datepicker"),this.endInputId=u("gux-datepicker"),this.label="",this.numberOfMonths=1,this.minDate="",this.maxDate="",this.mode="single",this.disabled=!1,this.labelPosition="beside",this.formattedValue="",this.toFormattedValue="",this.active=!1,this.pressedKeys=[]}watchValue(){this.format&&this.updateDate()}watchMinDate(t){this.minDateDate=t?l(t):null}watchMaxDate(t){this.maxDateDate=t?l(t):null}watchFormat(t){t||(this.format=this.getDefaultFormat(),t=this.format),t.includes("yyyy")||(this.yearFormat="yy"),this.intervalOrder=F(t),this.lastIntervalRange=this.initialIntervalRange,this.updateDate()}watchActiveCalendar(t){if(!0===t){const t=l(this.value?this.value.split("/")[0]:null);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=F(t),r=w(t,e.selectionStart),s=i.indexOf(r);return R(t,i[(s+i.length-1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange(),this.pressedKeys.length=0;break}case"ArrowRight":{t.preventDefault();const e=function(t,e){const i=F(t),r=w(t,e.selectionStart),s=i.indexOf(r);return R(t,i[(s+1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange(),this.pressedKeys.length=0;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");d((()=>{t.focus()}));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,this.pressedKeys.length=0}onInputFocusIn(t){this.focusedField=this.getInputFieldFromEvent(t),this.isSelectingRangeWithMouse||d((()=>this.setRange()))}onInputFocusOut(){this.lastIntervalRange=this.initialIntervalRange}onInputMouseUp(t){t.preventDefault(),this.lastIntervalRange=R(this.format,w(this.format,this.focusedField.selectionStart)),this.setRange(),this.isSelectingRangeWithMouse=!1}getDefaultFormat(){return b()?m(k(this.root)):"mm/dd/yyyy"}isInputFieldEvent(t){const e=t.composedPath();return e.includes(this.inputElement)||e.includes(this.toInputElement)}get initialIntervalRange(){return R(this.format,w(this.format,0))}getInputFieldFromEvent(t){return t.composedPath()[0]}updateIntervalValue(t){this.pressedKeys.push(t.key);const e=parseInt(t.key,10);if(!isNaN(e)){const i=this.focusedField.value.slice(this.focusedField.selectionStart,this.focusedField.selectionEnd);"y"===w(this.format,this.focusedField.selectionStart)&&"yyyy"===this.yearFormat?this.typeYearValue(i,t.key):this.canSetDate(e)&&this.pressedKeys.length>=2?(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)).substring(0,this.format.length)}getCalendarLabels(){return function(t,e,i){const r=t.split(",").map((t=>t.trim()));return"range"===e?[r[0]||i[0],r[1]||i[1]]:"range"===e||r[0]?[r[0]]:[i[2]]}(this.label,this.mode,[this.i18n("start"),this.i18n("end"),this.i18n("date")])}stringToDate(t){const e=D(this.format),i=this.format.toLowerCase().split(e),r=t.split(e),s=parseInt(r[i.indexOf(this.yearFormat)],10),o=parseInt(r[i.indexOf("mm")],10)-1,a=parseInt(r[i.indexOf("dd")],10),n=new Date(s,o,a);return"yy"===this.yearFormat&&n.getFullYear()<1970&&this.lastYear>1970&&n.setFullYear(n.getFullYear()+100),n}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);if(!this.isValidDateFormat(t)||!this.isValidDateFormat(e))return;const i=t>e;this.value=c(t,e),this.updateDate(),this.inputElement.value=this.formattedValue,this.toInputElement.value=this.toFormattedValue,i?(this.focusedField===this.inputElement?this.toInputElement:this.inputElement).focus():this.setCursorRange(),this.calendarElement.setValue([t,e])}else{const t=this.stringToDate(this.inputElement.value);if(!this.isValidDateFormat(t))return;this.value=h(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(w(this.format,this.focusedField.selectionStart)){case"d":{const t=l(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("yyyy"===this.yearFormat?"dd|mm|yyyy":"dd|mm|yy","gi")}}isValidDateFormat(t){const{map:e}=this.getMapAndRegexFromField(t);return"yyyy"===this.yearFormat?4===e.yyyy.length:2===e.yy.length}updateDate(){if("range"===this.mode){const[t,e]=p(this.value),{map:i,regexp:r}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(r,(t=>i[t]));const{map:s,regexp:o}=this.getMapAndRegexFromField(e);this.toFormattedValue=this.format.replace(o,(t=>s[t]))}else{const t=l(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&&d((()=>{this.calendarElement.focusPreviewDate()}))}setIntervalRange(t){this.intervalRange=t}getCombinedFocusedDateValue(){return"range"===this.mode?this.getRangeFocusedDateValue():this.getFocusedDateValue()}getFocusedDateValue(){return l(this.value)}getRangeFocusedDateValue(){const[t,e]=p(this.value);return this.focusedField===this.inputElement?t:e}increment(t){const e=w(this.format,this.focusedField.selectionStart),i=this.getCombinedFocusedDateValue();let r;switch(e){case"d":r=y(t,i);break;case"m":r=C(t,i);break;case"y":r=function(t,e){const i=new Date(e.valueOf());return i.setFullYear(e.getFullYear()+t),i}(t,i)}var s,o,a;s=r,o=this.minDateDate,((a=this.maxDateDate)&&a<s||o&&o>s)&&(r=i),this.lastYear=r.getFullYear(),this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.focusedField.value=function(t,e){const i=D(e),r=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);return r}(r,this.format),this.setValue()}async componentWillLoad(){if(f(this.root,{variant:this.mode}),this.i18n=await x(this.root,v),this.format=this.format||this.getDefaultFormat(),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):h(t),"range"===this.mode&&this.numberOfMonths<2&&(this.numberOfMonths=2)}this.updateDate()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=s(this.datepickerElement,this.calendarElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){o(this.datepickerElement,this.calendarElement,{strategy:"fixed",placement:"bottom-start",middleware:[a({crossAxis:-3}),n({fallbackStrategy:"initialPlacement"})]}).then((({x:t,y:e})=>{Object.assign(this.calendarElement.style,{left:`${t}px`,top:`${e}px`})}))}componentDidUpdate(){this.active?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}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":"fa/calendar-regular",size:"small"}))}renderCalendar(){return i("gux-calendar",{tabindex:"-1",ref:t=>this.calendarElement=t,value:this.value,mode:this.mode,onCalendarSelect:t=>this.onCalendarSelect(t),minDate:this.minDate,maxDate:this.maxDate,numberOfMonths:this.numberOfMonths,startDayOfWeek:this.startDayOfWeek})}renderStartDateField(){return i("div",{class:{"gux-datepicker-field":!0,"gux-above":"above"===this.labelPosition}},i("label",{htmlFor:this.startInputId,class:{"gux-datepicker-field-label":!0,"gux-sr-only":"screenreader"===this.labelPosition||"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":!0,"gux-above":"above"===this.labelPosition}},i("label",{htmlFor:this.endInputId,class:{"gux-datepicker-field-label":!0,"gux-sr-only":"screenreader"===this.labelPosition}},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",{key:"1dc545078977013d055f7758672e20cdc1822bb0",class:{"gux-datepicker":!0,"gux-active":this.active,"gux-disabled":this.disabled},ref:t=>this.datepickerElement=t},this.renderStartDateField(),this.renderEndDateField())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{value:[{watchValue:0}],minDate:[{watchMinDate:0}],maxDate:[{watchMaxDate:0}],format:[{watchFormat:0}],active:[{watchActiveCalendar:0}]}}};(function(t,e,i,r){var s,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(o<3?s(a):o>3?s(e,i,a):s(e,i))||a);o>3&&a&&Object.defineProperty(e,i,a)})([g()],z.prototype,"onClickOutside",null),z.style=":host{display:block;inline-size:fit-content;min-inline-size:115px}.gux-datepicker{display:flex}.gux-datepicker.gux-disabled{pointer-events:none;cursor:default}.gux-datepicker.gux-disabled .gux-datepicker-field .gux-datepicker-field-input{opacity:var(--gse-ui-datePicker-disabled-opacity)}.gux-datepicker .gux-datepicker-field{display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;inline-size:100%}.gux-datepicker .gux-datepicker-field~.gux-datepicker-field{margin-inline-start:var(--gse-ui-datePicker-range-gap)}.gux-datepicker .gux-datepicker-field.gux-above{flex-direction:column;align-items:self-start}.gux-datepicker .gux-datepicker-field.gux-above .gux-datepicker-field-input{margin-block-start:0}.gux-datepicker .gux-datepicker-field.gux-above .gux-datepicker-field-label{padding-block-end:var(--gse-ui-formControl-formField-gap);margin-inline-end:0}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-label{flex:0 1 auto;align-self:auto;order:0;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);margin-inline-end:var(--gse-ui-formControl-group-gapItems);font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input.gux-active{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input{flex:1 1 auto;align-self:auto;order:0;inline-size:calc(var(--gse-ui-calendarMenu-day-input-width) - var(--gse-ui-icon-small-size));inline-size:100%;padding:0;overflow:hidden;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);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{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);outline:none;background:transparent;border:none;border-radius:var(--gse-ui-actionButton-borderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline-offset:var(--gse-ui-datePicker-focusCalendar-gap);border:none;border-radius:var(--gse-ui-calendarMenu-month-calendarButton-focusBorderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus-visible,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:var(--gse-ui-datePicker-iconHover);cursor:pointer}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input gux-calendar{position:fixed;z-index:var(--gse-semantic-zIndex-popup);display:none}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus-visible,.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.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{z as gux_datepicker}
1
+ import{r as t,c as e,h as i,a as r}from"./p-CW7z6RPd.js";import{a as s,c as o,o as a,f as n}from"./p-8w8ltg_h.js";import{r as u}from"./p-D9jKBqIb.js";import{a as d}from"./p-Bg4q97BS.js";import{f as l,a as c,b as h,c as p}from"./p-B2JGJq8L.js";import{O as g}from"./p-uAcnLSYY.js";import{t as f}from"./p-DJF3J0o5.js";import{b as x}from"./p-DYtJNWnZ.js";import{g as m,a as k}from"./p-BqBSg6zr.js";import{u as b}from"./p-BgaA4g76.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";var v={start:"Start",end:"End",date:"Date",toggleCalendar:"Toggle calendar view"};function y(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 C(t,e){const i=new Date(e.valueOf()),r=function(t){let e=t;for(;e<0;)e+=12;return e%=12,e}(i.getMonth()+t);return i.setMonth(r),i.setFullYear(e.getFullYear()),i.getMonth()!==r?C(t,y(-1,e)):i}function w(t,e){const i=t[e];return i&&"/"!==i?i:t[e-1]}function D(t){return t.match(/\W/)[0]}function F(t){const e=D(t);return t.split(e).reduce(((t,e)=>t.concat(e[0])),[])}function R(t,e){return{selectionStart:t.indexOf(e),selectionEnd:t.lastIndexOf(e)+1}}const z=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=u("gux-datepicker"),this.endInputId=u("gux-datepicker"),this.label="",this.numberOfMonths=1,this.minDate="",this.maxDate="",this.mode="single",this.disabled=!1,this.labelPosition="beside",this.formattedValue="",this.toFormattedValue="",this.active=!1,this.pressedKeys=[]}watchValue(){this.format&&this.updateDate()}watchMinDate(t){this.minDateDate=t?l(t):null}watchMaxDate(t){this.maxDateDate=t?l(t):null}watchFormat(t){t||(this.format=this.getDefaultFormat(),t=this.format),t.includes("yyyy")||(this.yearFormat="yy"),this.intervalOrder=F(t),this.lastIntervalRange=this.initialIntervalRange,this.updateDate()}watchActiveCalendar(t){if(!0===t){const t=l(this.value?this.value.split("/")[0]:null);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=F(t),r=w(t,e.selectionStart),s=i.indexOf(r);return R(t,i[(s+i.length-1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange(),this.pressedKeys.length=0;break}case"ArrowRight":{t.preventDefault();const e=function(t,e){const i=F(t),r=w(t,e.selectionStart),s=i.indexOf(r);return R(t,i[(s+1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange(),this.pressedKeys.length=0;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");d((()=>{t.focus()}));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,this.pressedKeys.length=0}onInputFocusIn(t){this.focusedField=this.getInputFieldFromEvent(t),this.isSelectingRangeWithMouse||d((()=>this.setRange()))}onInputFocusOut(){this.lastIntervalRange=this.initialIntervalRange}onInputMouseUp(t){t.preventDefault(),this.lastIntervalRange=R(this.format,w(this.format,this.focusedField.selectionStart)),this.setRange(),this.isSelectingRangeWithMouse=!1}getDefaultFormat(){return b()?m(k(this.root)):"mm/dd/yyyy"}isInputFieldEvent(t){const e=t.composedPath();return e.includes(this.inputElement)||e.includes(this.toInputElement)}get initialIntervalRange(){return R(this.format,w(this.format,0))}getInputFieldFromEvent(t){return t.composedPath()[0]}updateIntervalValue(t){this.pressedKeys.push(t.key);const e=parseInt(t.key,10);if(!isNaN(e)){const i=this.focusedField.value.slice(this.focusedField.selectionStart,this.focusedField.selectionEnd);"y"===w(this.format,this.focusedField.selectionStart)&&"yyyy"===this.yearFormat?this.typeYearValue(i,t.key):this.canSetDate(e)&&this.pressedKeys.length>=2?(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)).substring(0,this.format.length)}getCalendarLabels(){return function(t,e,i){const r=t.split(",").map((t=>t.trim()));return"range"===e?[r[0]||i[0],r[1]||i[1]]:"range"===e||r[0]?[r[0]]:[i[2]]}(this.label,this.mode,[this.i18n("start"),this.i18n("end"),this.i18n("date")])}stringToDate(t){const e=D(this.format),i=this.format.toLowerCase().split(e),r=t.split(e),s=parseInt(r[i.indexOf(this.yearFormat)],10),o=parseInt(r[i.indexOf("mm")],10)-1,a=parseInt(r[i.indexOf("dd")],10),n=new Date(s,o,a);return"yy"===this.yearFormat&&n.getFullYear()<1970&&this.lastYear>1970&&n.setFullYear(n.getFullYear()+100),n}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);if(!this.isValidDateFormat(t)||!this.isValidDateFormat(e))return;const i=t>e;this.value=c(t,e),this.updateDate(),this.inputElement.value=this.formattedValue,this.toInputElement.value=this.toFormattedValue,i?(this.focusedField===this.inputElement?this.toInputElement:this.inputElement).focus():this.setCursorRange(),this.calendarElement.setValue([t,e])}else{const t=this.stringToDate(this.inputElement.value);if(!this.isValidDateFormat(t))return;this.value=h(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(w(this.format,this.focusedField.selectionStart)){case"d":{const t=l(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("yyyy"===this.yearFormat?"dd|mm|yyyy":"dd|mm|yy","gi")}}isValidDateFormat(t){const{map:e}=this.getMapAndRegexFromField(t);return"yyyy"===this.yearFormat?4===e.yyyy.length:2===e.yy.length}updateDate(){if("range"===this.mode){const[t,e]=p(this.value),{map:i,regexp:r}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(r,(t=>i[t]));const{map:s,regexp:o}=this.getMapAndRegexFromField(e);this.toFormattedValue=this.format.replace(o,(t=>s[t]))}else{const t=l(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&&d((()=>{this.calendarElement.focusPreviewDate()}))}setIntervalRange(t){this.intervalRange=t}getCombinedFocusedDateValue(){return"range"===this.mode?this.getRangeFocusedDateValue():this.getFocusedDateValue()}getFocusedDateValue(){return l(this.value)}getRangeFocusedDateValue(){const[t,e]=p(this.value);return this.focusedField===this.inputElement?t:e}increment(t){const e=w(this.format,this.focusedField.selectionStart),i=this.getCombinedFocusedDateValue();let r;switch(e){case"d":r=y(t,i);break;case"m":r=C(t,i);break;case"y":r=function(t,e){const i=new Date(e.valueOf());return i.setFullYear(e.getFullYear()+t),i}(t,i)}var s,o,a;s=r,o=this.minDateDate,((a=this.maxDateDate)&&a<s||o&&o>s)&&(r=i),this.lastYear=r.getFullYear(),this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.focusedField.value=function(t,e){const i=D(e),r=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);return r}(r,this.format),this.setValue()}async componentWillLoad(){if(f(this.root,{variant:this.mode}),this.i18n=await x(this.root,v),this.format=this.format||this.getDefaultFormat(),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):h(t),"range"===this.mode&&this.numberOfMonths<2&&(this.numberOfMonths=2)}this.updateDate()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=s(this.datepickerElement,this.calendarElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){o(this.datepickerElement,this.calendarElement,{strategy:"fixed",placement:"bottom-start",middleware:[a({crossAxis:-3}),n({fallbackStrategy:"initialPlacement"})]}).then((({x:t,y:e})=>{Object.assign(this.calendarElement.style,{left:`${t}px`,top:`${e}px`})}))}componentDidUpdate(){this.active?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}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":"fa/calendar-regular",size:"small"}))}renderCalendar(){return i("gux-calendar",{tabindex:"-1",ref:t=>this.calendarElement=t,value:this.value,mode:this.mode,onCalendarSelect:t=>this.onCalendarSelect(t),minDate:this.minDate,maxDate:this.maxDate,numberOfMonths:this.numberOfMonths,startDayOfWeek:this.startDayOfWeek})}renderStartDateField(){return i("div",{class:{"gux-datepicker-field":!0,"gux-above":"above"===this.labelPosition}},i("label",{htmlFor:this.startInputId,class:{"gux-datepicker-field-label":!0,"gux-sr-only":"screenreader"===this.labelPosition||"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":!0,"gux-above":"above"===this.labelPosition}},i("label",{htmlFor:this.endInputId,class:{"gux-datepicker-field-label":!0,"gux-sr-only":"screenreader"===this.labelPosition}},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",{key:"d9a0fa114334489ab841a6ea49c0c6516c780ed7",class:{"gux-datepicker":!0,"gux-active":this.active,"gux-disabled":this.disabled},ref:t=>this.datepickerElement=t},this.renderStartDateField(),this.renderEndDateField())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{value:[{watchValue:0}],minDate:[{watchMinDate:0}],maxDate:[{watchMaxDate:0}],format:[{watchFormat:0}],active:[{watchActiveCalendar:0}]}}};(function(t,e,i,r){var s,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(o<3?s(a):o>3?s(e,i,a):s(e,i))||a);o>3&&a&&Object.defineProperty(e,i,a)})([g()],z.prototype,"onClickOutside",null),z.style=":host{display:block;inline-size:fit-content;min-inline-size:115px}.gux-datepicker{display:flex}.gux-datepicker.gux-disabled{pointer-events:none;cursor:default}.gux-datepicker.gux-disabled .gux-datepicker-field .gux-datepicker-field-input{opacity:var(--gse-ui-datePicker-disabled-opacity)}.gux-datepicker .gux-datepicker-field{display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;inline-size:100%}.gux-datepicker .gux-datepicker-field~.gux-datepicker-field{margin-inline-start:var(--gse-ui-datePicker-range-gap)}.gux-datepicker .gux-datepicker-field.gux-above{flex-direction:column;align-items:self-start}.gux-datepicker .gux-datepicker-field.gux-above .gux-datepicker-field-input{margin-block-start:0}.gux-datepicker .gux-datepicker-field.gux-above .gux-datepicker-field-label{padding-block-end:var(--gse-ui-formControl-formField-gap);margin-inline-end:0}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-label{flex:0 1 auto;align-self:auto;order:0;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);margin-inline-end:var(--gse-ui-formControl-group-gapItems);font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input.gux-active{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input{flex:1 1 auto;align-self:auto;order:0;inline-size:calc(var(--gse-ui-calendarMenu-day-input-width) - var(--gse-ui-icon-small-size));inline-size:100%;padding:0;overflow:hidden;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);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{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);outline:none;background:transparent;border:none;border-radius:var(--gse-ui-actionButton-borderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline-offset:var(--gse-ui-datePicker-focusCalendar-gap);border:none;border-radius:var(--gse-ui-calendarMenu-month-calendarButton-focusBorderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus-visible,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:var(--gse-ui-datePicker-iconHover);cursor:pointer}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input gux-calendar{position:fixed;z-index:var(--gse-semantic-zIndex-popup);display:none}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus-visible,.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.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{z as gux_datepicker}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,a}from"./p-D63QQ8rP.js";import{b as i}from"./p-DJfLLpzO.js";import{t as r}from"./p-Dr0IUVkV.js";import{g as n}from"./p-Cd4R0amv.js";import{o}from"./p-CF55kYjc.js";import{t as c}from"./p-BIx814vt.js";const d=class{constructor(s){t(this,s),this.guxsortchanged=e(this,"guxsortchanged",7),this.includeUnsorted=!1,this.active=!1,this.sort="none",this.isLeftAlignIcon=!1}async componentWillLoad(){r(this.root),this.i18n=await i(this.root,c,"gux-table"),this.tableHeader=n("th",this.root),this.thObserver=o(this.tableHeader,(()=>{this.setState()}),{attributes:!0,childList:!1,subtree:!1}),this.setState()}disconnectedCallback(){this.thObserver&&this.thObserver.disconnect()}onClick(){this.guxsortchanged.emit({columnName:this.tableHeader.dataset.columnName,sortDirection:this.getNextSort(this.sort)})}setState(){this.headerContent=this.tableHeader.textContent,this.isLeftAlignIcon=this.tableHeader.hasAttribute("data-cell-numeric")||this.tableHeader.hasAttribute("data-cell-action");const t=this.tableHeader.getAttribute("aria-sort");switch(t){case"ascending":case"descending":this.active=!0,this.sort=t;break;default:this.active=!1,this.sort="none"}}getIconName(t){return"descending"===t?"fa/caret-down-solid":"fa/caret-up-solid"}getNextSort(t){switch(t){case"none":return"ascending";case"ascending":return"descending";default:return this.includeUnsorted?"none":"ascending"}}getSRText(t){switch(t){case"ascending":return this.i18n("ascendingColumnSort",{headerContent:this.headerContent});case"descending":return this.i18n(this.includeUnsorted?"descendingColumnSortIncludeUnsorted":"descendingColumnSort",{headerContent:this.headerContent});default:return this.i18n("noColumnSort",{headerContent:this.headerContent})}}render(){return s("div",{key:"bd242224dd074a2945a135d7d994eac2e8a5d6f9",class:{"gux-container":!0,"gux-active":this.active}},s("button",{key:"032b00fa91c4de86474d38da9c08a9742f930ff1",class:"gux-sort-button",type:"button",onClick:()=>this.onClick(),"aria-label":this.getSRText(this.sort)},s("gux-icon",{key:"a74a8285c3739a80e4785aa85a9acba587700b55",class:{"gux-sort-icon":!0,"gux-left":this.isLeftAlignIcon},size:"small","icon-name":this.getIconName(this.sort),decorative:!0})),s("div",{key:"e86e92ec64f423208ec8bfef87a038e62c205134",class:"gux-resize-spacer"}))}static get delegatesFocus(){return!0}get root(){return a(this)}};d.style=".gux-container{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;border-block-start:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent;border-block-end:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent}.gux-container.gux-active{border-block-end-color:var(--gse-ui-dataTableItems-header-selectedIndicatorColor)}.gux-container:focus-within{border-block-end-color:var(--gse-ui-dataTableItems-header-selectedIndicatorColor)}.gux-container .gux-sort-button{all:unset;flex:1 1 auto;align-self:stretch;order:0;cursor:pointer}.gux-container .gux-sort-button .gux-sort-icon{float:inline-end;margin-block:0;margin-inline:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-header-sort-foregroundColor)}.gux-container .gux-sort-button .gux-sort-icon.gux-left{float:inline-start;margin-inline-start:calc(2px + var(--gse-ui-dataTableItems-header-gap))}.gux-container .gux-resize-spacer{flex:0 1 auto;align-self:stretch;order:0;inline-size:2px}";export{d as gux_sort_control}
1
+ import{r as t,c as e,h as s,a}from"./p-CW7z6RPd.js";import{b as i}from"./p-DYtJNWnZ.js";import{t as r}from"./p-DJF3J0o5.js";import{g as n}from"./p-Cd4R0amv.js";import{o}from"./p-CF55kYjc.js";import{t as c}from"./p-BIx814vt.js";const d=class{constructor(s){t(this,s),this.guxsortchanged=e(this,"guxsortchanged",7),this.includeUnsorted=!1,this.active=!1,this.sort="none",this.isLeftAlignIcon=!1}async componentWillLoad(){r(this.root),this.i18n=await i(this.root,c,"gux-table"),this.tableHeader=n("th",this.root),this.thObserver=o(this.tableHeader,(()=>{this.setState()}),{attributes:!0,childList:!1,subtree:!1}),this.setState()}disconnectedCallback(){this.thObserver&&this.thObserver.disconnect()}onClick(){this.guxsortchanged.emit({columnName:this.tableHeader.dataset.columnName,sortDirection:this.getNextSort(this.sort)})}setState(){this.headerContent=this.tableHeader.textContent,this.isLeftAlignIcon=this.tableHeader.hasAttribute("data-cell-numeric")||this.tableHeader.hasAttribute("data-cell-action");const t=this.tableHeader.getAttribute("aria-sort");switch(t){case"ascending":case"descending":this.active=!0,this.sort=t;break;default:this.active=!1,this.sort="none"}}getIconName(t){return"descending"===t?"fa/caret-down-solid":"fa/caret-up-solid"}getNextSort(t){switch(t){case"none":return"ascending";case"ascending":return"descending";default:return this.includeUnsorted?"none":"ascending"}}getSRText(t){switch(t){case"ascending":return this.i18n("ascendingColumnSort",{headerContent:this.headerContent});case"descending":return this.i18n(this.includeUnsorted?"descendingColumnSortIncludeUnsorted":"descendingColumnSort",{headerContent:this.headerContent});default:return this.i18n("noColumnSort",{headerContent:this.headerContent})}}render(){return s("div",{key:"dfdb3d5bae33c22d1f534badb0116d5fac1e0da4",class:{"gux-container":!0,"gux-active":this.active}},s("button",{key:"5994e8537ddfd82a5067550bdb5fcbad3f5ceff2",class:"gux-sort-button",type:"button",onClick:()=>this.onClick(),"aria-label":this.getSRText(this.sort)},s("gux-icon",{key:"06fd7914986d3bab5fbe3198f81bddabc7c95f45",class:{"gux-sort-icon":!0,"gux-left":this.isLeftAlignIcon},size:"small","icon-name":this.getIconName(this.sort),decorative:!0})),s("div",{key:"f9de4864290b43f75234301a385da6dcf474e58e",class:"gux-resize-spacer"}))}static get delegatesFocus(){return!0}get root(){return a(this)}};d.style=".gux-container{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;border-block-start:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent;border-block-end:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent}.gux-container.gux-active{border-block-end-color:var(--gse-ui-dataTableItems-header-selectedIndicatorColor)}.gux-container:focus-within{border-block-end-color:var(--gse-ui-dataTableItems-header-selectedIndicatorColor)}.gux-container .gux-sort-button{all:unset;flex:1 1 auto;align-self:stretch;order:0;cursor:pointer}.gux-container .gux-sort-button .gux-sort-icon{float:inline-end;margin-block:0;margin-inline:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-header-sort-foregroundColor)}.gux-container .gux-sort-button .gux-sort-icon.gux-left{float:inline-start;margin-inline-start:calc(2px + var(--gse-ui-dataTableItems-header-gap))}.gux-container .gux-resize-spacer{flex:0 1 auto;align-self:stretch;order:0;inline-size:2px}";export{d as gux_sort_control}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,a}from"./p-D63QQ8rP.js";import{r as s}from"./p-D9jKBqIb.js";import{g as o}from"./p-Cd4R0amv.js";const n=class{constructor(t){e(this,t),this.active=!1,this.selected=!1,this.disabled=!1,this.accent="info"}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||s("gux-option-status")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const e=o("gux-listbox",this.root);return null==e?void 0:e.disabled}render(){return t(i,{key:"e23eb0c9e5074d7ae1f37620b030b70798cd810f",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-selected":this.selected},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},t("div",{key:"0fcae0c2e5ada47ee22034c60ccbdc0b7313fa91",class:"gux-status-indicator"},t("span",{key:"367895eef4aab0d6117fbeeb736e453283c2e46b",class:`gux-status-icon gux-status-icon-${this.accent}`}),t("div",{key:"b81877e428d8080627503df484b5450a0948d6bb",class:"gux-status-indicator-text"},t("gux-truncate",{key:"2bcd7bca7ca08ddfc096a060a0bef4517a7f43b2",ref:e=>this.truncateElement=e},t("slot",{key:"6b62402050957a55f40aa78f3895bded0075a5af"})))))}get root(){return a(this)}static get watchers(){return{active:[{handleActive:0}]}}};n.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host{justify-content:flex-start}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{n as gux_option_status_beta}
1
+ import{r as e,h as t,H as i,a}from"./p-CW7z6RPd.js";import{r as s}from"./p-D9jKBqIb.js";import{g as o}from"./p-Cd4R0amv.js";const n=class{constructor(t){e(this,t),this.active=!1,this.selected=!1,this.disabled=!1,this.accent="info"}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||s("gux-option-status")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const e=o("gux-listbox",this.root);return null==e?void 0:e.disabled}render(){return t(i,{key:"43cb1a3b9c62b1fa04374152e43feaec245036cb",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-selected":this.selected},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},t("div",{key:"59ea5609771c3a1cab8ef2398b474b6675161133",class:"gux-status-indicator"},t("span",{key:"510815aebe4990e43e139262525f10b96a62ab23",class:`gux-status-icon gux-status-icon-${this.accent}`}),t("div",{key:"53a4a90c4f0999ca429f65c9be9d25f16148c1b4",class:"gux-status-indicator-text"},t("gux-truncate",{key:"e4ca51b7c7f48ff5fb2e16bcf242cd864d2d6bfe",ref:e=>this.truncateElement=e},t("slot",{key:"ae4d16b8fbb0769c34c2a8ac792ea3aaee2a4568"})))))}get root(){return a(this)}static get watchers(){return{active:[{handleActive:0}]}}};n.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host{justify-content:flex-start}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{n as gux_option_status_beta}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,a as s}from"./p-CW7z6RPd.js";import{b as i}from"./p-DYtJNWnZ.js";import{t as o,f as n,g as r}from"./p-RWUera2Z.js";import{t as a}from"./p-DJF3J0o5.js";import{s as d}from"./p-BMRf5pjV.js";import"./p-Cd4R0amv.js";const l=class{constructor(e){t(this,e),this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString=""}onGuxFilter(t){const e=t.detail.trim();this.searchString!==e&&(this.searchString=e)}async componentWillLoad(){a(this.root),this.i18n=await i(this.root,o),this.timeZoneList=this.getTimeZoneOptionsList()}componentDidLoad(){this.applyEventListeners()}applyEventListeners(){var t;const e=null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown");e&&e.addEventListener("input",(t=>{const e=t.target;this.value=null==e?void 0:e.value,d(this.root,"input"),d(this.root,"change")}))}isTimeZoneOptionFiltered(t){return!!this.searchString&&!this.getFormattedTimeZoneOption(t).toLowerCase().includes(this.searchString.toLowerCase())}getTimeZoneOption(t){const e=this.i18n(t.name),s=t.countryName?this.i18n(t.countryName):void 0;if(!e)return;const i=n(t.currentTimeOffsetInMinutes),o=`${e}`,r=` (${this.i18n("UTC")}${i})`,a=`${r}`,d=o.replace(/_/g," "),l=`${s}`,p=o.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:e,formattedOffset:i,displayTextNameFormatted:d,displayTextOffset:r,baseDisplayOffsetText:a,countryName:l,defaultZone:"",priority:p}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=r(),e=[];return t.forEach((t=>{const s=this.getTimeZoneOption(t);s&&e.push(s)})),e.sort(((t,e)=>{var s;return t.priority-e.priority||(null===(s=t.displayTextNameFormatted)||void 0===s?void 0:s.localeCompare(e.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),e=this.timeZoneList.reduce(((e,s)=>t.includes(s.value)?e.concat([Object.assign({},s)]):e),[]);return e.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),e}renderTimeZones(t){return t.map((t=>e("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value,filtered:this.isTimeZoneOptionFiltered(t)},e("div",{class:"gux-option-wrapper"},e("div",null,this.getFormattedTimeZoneOption(t)),e("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return e("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return e("gux-option-group-beta",{label:this.i18n("all")},this.renderTimeZones(this.timeZoneList))}render(){return e("gux-dropdown",{key:"20dadd67d85f4eb28ff87489aec9360d54fbe11d",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},e("gux-listbox",{key:"192c2b1b83e82075ef2ce640e4a8d2db592fac29","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return s(this)}};l.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{l as gux_time_zone_picker_beta}