genesys-spark-components 4.194.0 → 4.196.0

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 (594) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/{get-valid-timezone-T_IyeB4S.js → get-valid-timezone-BYep6WMB.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  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 +4 -4
  9. package/dist/cjs/gux-ai-powered-badge-beta.cjs.entry.js +3 -3
  10. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  11. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  12. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  13. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  14. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
  16. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  18. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  19. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
  20. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  21. package/dist/cjs/gux-branch-multi.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-branch.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
  30. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  31. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +3 -3
  32. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +3 -3
  33. package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
  34. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  35. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  39. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  41. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  42. package/dist/cjs/gux-datepicker.cjs.entry.js +20 -9
  43. package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
  44. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  45. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  46. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  47. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
  48. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
  50. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  51. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
  52. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  53. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
  56. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  57. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  58. package/dist/cjs/{gux-form-field-container-CiC2k7oR.js → gux-form-field-container-BnXnyhrh.js} +1 -1
  59. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
  60. package/dist/cjs/{gux-form-field-error-DfwhB9Le.js → gux-form-field-error-B6_ChSE2.js} +1 -1
  61. package/dist/cjs/{gux-form-field-fieldset-container-DKcKy1WJ.js → gux-form-field-fieldset-container-DzIj-O7j.js} +1 -1
  62. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +6 -6
  63. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  64. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  65. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  66. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +7 -7
  67. package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
  68. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
  69. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  70. package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
  71. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  72. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  73. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
  74. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  75. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
  76. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
  77. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-illustration-beta.cjs.entry.js +2 -2
  83. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  84. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
  85. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-leaf-multi.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-leaf.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  93. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  94. package/dist/cjs/gux-logo-beta.cjs.entry.js +3 -3
  95. package/dist/cjs/gux-logomark-beta.cjs.entry.js +3 -3
  96. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  101. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  104. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
  114. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  115. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  116. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  117. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  118. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  119. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  120. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  121. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
  122. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  123. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-rating.cjs.entry.js +4 -4
  125. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  126. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +4 -4
  127. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  128. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
  129. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
  130. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
  131. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  132. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
  133. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  136. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
  138. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  139. package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  142. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  144. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  145. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  146. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  147. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
  148. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  149. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  152. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  153. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  154. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  155. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  156. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
  157. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  158. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  159. package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
  160. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  161. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  162. package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
  163. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  164. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  165. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
  166. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  167. package/dist/cjs/gux-table.cjs.entry.js +3 -3
  168. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  169. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  170. package/dist/cjs/gux-tag.cjs.entry.js +4 -4
  171. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  172. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  173. package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
  174. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  175. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  176. package/dist/cjs/gux-toast.cjs.entry.js +2 -2
  177. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  178. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  179. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
  180. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  181. package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
  182. package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
  183. package/dist/cjs/gux-tree-beta.cjs.entry.js +3 -3
  184. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +3 -3
  185. package/dist/cjs/{gux-tree-multi.service-CjfwqLUs.js → gux-tree-multi.service-dY0u6y6G.js} +1 -1
  186. package/dist/cjs/{gux-tree.service-CBblc1kx.js → gux-tree.service-Blq42ilh.js} +1 -1
  187. package/dist/cjs/{index-B26i6lAT.js → index-T__BZS66.js} +1 -1
  188. package/dist/cjs/{index-BdARwMXb.js → index-moqwOh9a.js} +1 -1
  189. package/dist/cjs/loader.cjs.js +1 -1
  190. package/dist/cjs/{on-click-outside-BBcV3p-2.js → on-click-outside-C80qIcaN.js} +1 -1
  191. package/dist/cjs/{on-mutation-CC5dAo6b.js → on-mutation-DPLKDtVT.js} +1 -1
  192. package/dist/cjs/{on-resize-Dko72z-_.js → on-resize-C6NB79u1.js} +1 -1
  193. package/dist/cjs/{usage-Dd7KfQRi.js → usage-JPLLZ6EL.js} +1 -1
  194. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +16 -5
  195. package/dist/esm/genesys-webcomponents.js +2 -2
  196. package/dist/esm/{get-valid-timezone-CBLIwyLY.js → get-valid-timezone-lu6m-ZrE.js} +1 -1
  197. package/dist/esm/gux-accordion-section.entry.js +1 -1
  198. package/dist/esm/gux-accordion.entry.js +2 -2
  199. package/dist/esm/gux-action-button.entry.js +4 -4
  200. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  201. package/dist/esm/gux-actionable-inline-alert-beta.entry.js +2 -2
  202. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
  203. package/dist/esm/gux-ai-powered-badge-beta.entry.js +3 -3
  204. package/dist/esm/gux-all-row-select.entry.js +2 -2
  205. package/dist/esm/gux-announce-beta.entry.js +2 -2
  206. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  207. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  208. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  209. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
  210. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  211. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  212. package/dist/esm/gux-badge.entry.js +4 -4
  213. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  214. package/dist/esm/gux-blank-state.entry.js +3 -3
  215. package/dist/esm/gux-branch-multi.entry.js +2 -2
  216. package/dist/esm/gux-branch.entry.js +2 -2
  217. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  218. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  219. package/dist/esm/gux-button-multi.entry.js +3 -3
  220. package/dist/esm/gux-button-slot.entry.js +2 -2
  221. package/dist/esm/gux-button_2.entry.js +3 -3
  222. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  223. package/dist/esm/gux-calendar.entry.js +3 -3
  224. package/dist/esm/gux-card.entry.js +2 -2
  225. package/dist/esm/gux-cloud-logo-beta.entry.js +3 -3
  226. package/dist/esm/gux-cloud-logomark-beta.entry.js +3 -3
  227. package/dist/esm/gux-column-manager-item.entry.js +2 -2
  228. package/dist/esm/gux-column-manager.entry.js +3 -3
  229. package/dist/esm/gux-content-search.entry.js +3 -3
  230. package/dist/esm/gux-context-menu.entry.js +4 -4
  231. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
  232. package/dist/esm/gux-create-option.entry.js +2 -2
  233. package/dist/esm/gux-cta-group.entry.js +1 -1
  234. package/dist/esm/gux-date-beta.entry.js +4 -4
  235. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  236. package/dist/esm/gux-datepicker.entry.js +20 -9
  237. package/dist/esm/gux-day-beta.entry.js +2 -2
  238. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  239. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  240. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  241. package/dist/esm/gux-dropdown-multi.entry.js +5 -5
  242. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  243. package/dist/esm/gux-dropdown_3.entry.js +5 -5
  244. package/dist/esm/gux-file-list-item.entry.js +3 -3
  245. package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
  246. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  247. package/dist/esm/gux-form-beta.entry.js +1 -1
  248. package/dist/esm/gux-form-description.entry.js +1 -1
  249. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
  250. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  251. package/dist/esm/gux-form-field-color.entry.js +5 -5
  252. package/dist/esm/{gux-form-field-container-CyRMjFBw.js → gux-form-field-container-DzOsLO_p.js} +1 -1
  253. package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
  254. package/dist/esm/{gux-form-field-error-BC4AhIfC.js → gux-form-field-error-C_KRvo5F.js} +1 -1
  255. package/dist/esm/{gux-form-field-fieldset-container-BsZsrsgY.js → gux-form-field-fieldset-container-DYDFqDg5.js} +1 -1
  256. package/dist/esm/gux-form-field-file-beta.entry.js +6 -6
  257. package/dist/esm/gux-form-field-file.entry.js +5 -5
  258. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  259. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  260. package/dist/esm/gux-form-field-number_2.entry.js +7 -7
  261. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  262. package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
  263. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  264. package/dist/esm/gux-form-field-range.entry.js +6 -6
  265. package/dist/esm/gux-form-field-search.entry.js +5 -5
  266. package/dist/esm/gux-form-field-select.entry.js +5 -5
  267. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  268. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  269. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  270. package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
  271. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  272. package/dist/esm/gux-form-footer.entry.js +2 -2
  273. package/dist/esm/gux-form-heading.entry.js +1 -1
  274. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  275. package/dist/esm/gux-icon.entry.js +2 -2
  276. package/dist/esm/gux-illustration-beta.entry.js +2 -2
  277. package/dist/esm/gux-inline-alert.entry.js +3 -3
  278. package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
  279. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  280. package/dist/esm/gux-leaf-multi.entry.js +2 -2
  281. package/dist/esm/gux-leaf.entry.js +2 -2
  282. package/dist/esm/gux-link-beta.entry.js +2 -2
  283. package/dist/esm/gux-list-divider.entry.js +1 -1
  284. package/dist/esm/gux-list-item.entry.js +1 -1
  285. package/dist/esm/gux-list.entry.js +2 -2
  286. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  287. package/dist/esm/gux-loading-message.entry.js +2 -2
  288. package/dist/esm/gux-logo-beta.entry.js +3 -3
  289. package/dist/esm/gux-logomark-beta.entry.js +3 -3
  290. package/dist/esm/gux-menu-option.entry.js +1 -1
  291. package/dist/esm/gux-menu.entry.js +1 -1
  292. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  293. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  294. package/dist/esm/gux-modal.entry.js +2 -2
  295. package/dist/esm/gux-month-calendar.entry.js +2 -2
  296. package/dist/esm/gux-month-list_2.entry.js +1 -1
  297. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  298. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  299. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  300. package/dist/esm/gux-option-icon.entry.js +1 -1
  301. package/dist/esm/gux-option-multi.entry.js +2 -2
  302. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  303. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  304. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
  305. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  306. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  307. package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
  308. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  309. package/dist/esm/gux-pagination.entry.js +2 -2
  310. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  311. package/dist/esm/gux-popover-beta.entry.js +3 -3
  312. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  313. package/dist/esm/gux-popover-list.entry.js +3 -3
  314. package/dist/esm/gux-popup.entry.js +1 -1
  315. package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
  316. package/dist/esm/gux-radial-loading.entry.js +3 -3
  317. package/dist/esm/gux-radial-progress.entry.js +2 -2
  318. package/dist/esm/gux-rating.entry.js +4 -4
  319. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  320. package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
  321. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  322. package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
  323. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
  324. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
  325. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  326. package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
  327. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  328. package/dist/esm/gux-row-select.entry.js +2 -2
  329. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  330. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  331. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  332. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  333. package/dist/esm/gux-select-all.entry.js +2 -2
  334. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  335. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  336. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  337. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  338. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  339. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  340. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  341. package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
  342. package/dist/esm/gux-sort-control.entry.js +3 -3
  343. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  344. package/dist/esm/gux-step-title.entry.js +2 -2
  345. package/dist/esm/gux-step.entry.js +2 -2
  346. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  347. package/dist/esm/gux-submenu.entry.js +1 -1
  348. package/dist/esm/gux-switch-item.entry.js +1 -1
  349. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  350. package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
  351. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  352. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  353. package/dist/esm/gux-tab-list.entry.js +3 -3
  354. package/dist/esm/gux-tab-panel.entry.js +1 -1
  355. package/dist/esm/gux-tab.entry.js +1 -1
  356. package/dist/esm/gux-table-select-menu.entry.js +2 -2
  357. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  358. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  359. package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
  360. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  361. package/dist/esm/gux-table.entry.js +3 -3
  362. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  363. package/dist/esm/gux-tabs.entry.js +2 -2
  364. package/dist/esm/gux-tag.entry.js +4 -4
  365. package/dist/esm/gux-text-highlight.entry.js +2 -2
  366. package/dist/esm/gux-time-beta.entry.js +4 -4
  367. package/dist/esm/gux-time-picker.entry.js +4 -4
  368. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  369. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  370. package/dist/esm/gux-toast.entry.js +2 -2
  371. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  372. package/dist/esm/gux-toggle.entry.js +3 -3
  373. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  374. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  375. package/dist/esm/gux-tooltip-title.entry.js +3 -3
  376. package/dist/esm/gux-tooltip_2.entry.js +4 -4
  377. package/dist/esm/gux-tree-beta.entry.js +3 -3
  378. package/dist/esm/gux-tree-multi-beta.entry.js +3 -3
  379. package/dist/esm/{gux-tree-multi.service-BOeHW3_Y.js → gux-tree-multi.service-DWp9jgsg.js} +1 -1
  380. package/dist/esm/{gux-tree.service-CuKqahQu.js → gux-tree.service-DHBF7_1n.js} +1 -1
  381. package/dist/esm/{index-D2YtihwH.js → index-BKRbtf5E.js} +1 -1
  382. package/dist/esm/{index-Bp4S4Fnk.js → index-E7ZhHpVt.js} +1 -1
  383. package/dist/esm/loader.js +2 -2
  384. package/dist/esm/{on-click-outside-QWLXQ1SV.js → on-click-outside-BWtW0PO0.js} +1 -1
  385. package/dist/esm/{on-mutation-Lb3jHcGt.js → on-mutation-B2Os4TWW.js} +1 -1
  386. package/dist/esm/{on-resize-KL9v9SEj.js → on-resize-B_UOXhGU.js} +1 -1
  387. package/dist/esm/{usage-BFstlq6Q.js → usage--sVzKJI6.js} +1 -1
  388. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  389. package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
  390. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  391. package/dist/genesys-webcomponents/{p-BFstlq6Q.js → p--sVzKJI6.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-1c7b11ba.entry.js → p-0105df85.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-544ffd55.entry.js → p-011d9bc9.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-d8dcbc25.entry.js → p-06d6f51b.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-c4d58ac3.entry.js → p-08f5cf3e.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-98253127.entry.js → p-0bb28f6a.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-62e7ab1a.entry.js → p-0d199993.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-253f9fee.entry.js → p-0f547709.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-6199da68.entry.js → p-0f5e2e1a.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-f907e607.entry.js → p-0fa8eca0.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-00237471.entry.js → p-171aadfd.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-bee9625c.entry.js → p-198b2235.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-3a28caab.entry.js → p-1ab9001f.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-2caa86bc.entry.js → p-1d206881.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-5923b1b1.entry.js → p-1dd13c9e.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-54d2cf41.entry.js → p-20e5624f.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/{p-c99569a5.entry.js → p-211f53a3.entry.js} +1 -1
  408. package/dist/genesys-webcomponents/{p-ef114380.entry.js → p-23b6d637.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/{p-cbcf66f5.entry.js → p-29cd6626.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-d13925a5.entry.js → p-2b93e44c.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-2f52e311.entry.js → p-2be9971d.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-a58b8b71.entry.js → p-302bafe5.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-39f34a0a.entry.js → p-31e773ba.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-70c12293.entry.js → p-31fec1b6.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-7d687c40.entry.js → p-35ffe4e5.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-21efbed2.entry.js → p-36db8674.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-c8bcadf7.entry.js → p-37a3d1db.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-d498df7c.entry.js → p-3a044502.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/{p-75b342c1.entry.js → p-3bc5b4fd.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/{p-80a9b8f6.entry.js → p-3bff5379.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/p-3c8b570d.entry.js +1 -0
  422. package/dist/genesys-webcomponents/{p-817776d7.entry.js → p-3d8e714a.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-f15dcbe5.entry.js → p-3dc58464.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-8308eb50.entry.js → p-3f274807.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-0b0150ae.entry.js → p-3f39975c.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-44f0c62f.entry.js → p-41412e29.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-de1ee637.entry.js → p-42a6a3d0.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-b690fe00.entry.js → p-4382ddf7.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-c9f2d28a.entry.js → p-4466fddd.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-bcfaec9f.entry.js → p-45015db3.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-cadd8295.entry.js → p-4606af16.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-5af08a95.entry.js → p-461882e8.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-46620d26.entry.js → p-47adf04f.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-7d3b0da0.entry.js → p-49230ddc.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/{p-8c7e410a.entry.js → p-4986e379.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-139aefc9.entry.js → p-4d1a94c0.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-4edcbcbd.entry.js → p-4e6cb5da.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-2daf4d8d.entry.js → p-4fc09730.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-f4c4e90d.entry.js → p-509057d3.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/{p-a329b223.entry.js → p-516076c7.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-82eb9da8.entry.js → p-518c510b.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-b122d51e.entry.js → p-54326527.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-068f1354.entry.js → p-54a77308.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-d6c1f263.entry.js → p-54d36aa8.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-54997b58.entry.js → p-55bded4b.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-e2a006da.entry.js → p-5ad27ee0.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-9653537c.entry.js → p-5f5cc071.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-1ce5b534.entry.js → p-61f9af71.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-d3c527ef.entry.js → p-6286bd6b.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-39b3f88e.entry.js → p-62e9cb55.entry.js} +1 -1
  451. package/dist/genesys-webcomponents/p-6308ab5a.entry.js +1 -0
  452. package/dist/genesys-webcomponents/{p-328c807d.entry.js → p-64892c63.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-40552767.entry.js → p-65798b28.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-64395f71.entry.js → p-6bae5097.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-41e134a6.entry.js → p-6bceb241.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-968ec988.entry.js → p-6fcd2603.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-caad4745.entry.js → p-70861687.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-18593361.entry.js → p-70a151e4.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-e352b28b.entry.js → p-7193469c.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-d44068bc.entry.js → p-72031d42.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-6b982d12.entry.js → p-72ea3902.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/{p-369e463b.entry.js → p-7498e153.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-f06f7088.entry.js → p-74caf028.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-74ba717b.entry.js → p-76c1eb43.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-b6643113.entry.js → p-78d1001d.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-daab2f0c.entry.js → p-7914b9fd.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-4cf84bb4.entry.js → p-79812918.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-b8cb0ed0.entry.js → p-7a33a819.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-3239222b.entry.js → p-7afc18c3.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-78d92e45.entry.js → p-7cde8414.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-a97a1559.entry.js → p-7d098e49.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-1b91b061.entry.js → p-7efac84e.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-90cc217e.entry.js → p-805a1c38.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-60566876.entry.js → p-80a1a889.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-d0296ba6.entry.js → p-80bd8d23.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-f28a98e5.entry.js → p-80c6f9fb.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-f2b23126.entry.js → p-83418911.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-081890d2.entry.js → p-8512d1ea.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-a5737857.entry.js → p-864f50f2.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-4ec99aae.entry.js → p-86c986f2.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/{p-35683d3a.entry.js → p-87865eda.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-f533a813.entry.js → p-896cfbe1.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-6282836e.entry.js → p-89b15d59.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-8a9c3ae5.entry.js → p-89ff4b40.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/p-8bcf18c8.entry.js +1 -0
  486. package/dist/genesys-webcomponents/{p-320fe228.entry.js → p-8dd61541.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-d269d238.entry.js → p-916c3957.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-1782d7ef.entry.js → p-9284ba38.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-77a2b712.entry.js → p-946f0b48.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-90725385.entry.js → p-94b48631.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-493cd3f0.entry.js → p-95d997fb.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-4b1c9ce0.entry.js → p-96ab5127.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-cda4070c.entry.js → p-98ca496d.entry.js} +2 -2
  494. package/dist/genesys-webcomponents/{p-fc69552e.entry.js → p-98f6370a.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-a5a8e846.entry.js → p-98f63f3a.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-9f6bedc1.entry.js → p-991e1534.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-c4831d80.entry.js → p-9929dcf1.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-64d83e22.entry.js → p-9969beb7.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-cb171a6b.entry.js → p-9bd33b5f.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-9d26cbde.entry.js → p-9d7eb218.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-8f576ed9.entry.js → p-9f4c6e0e.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-D2YtihwH.js → p-BKRbtf5E.js} +1 -1
  503. package/dist/genesys-webcomponents/p-BnHgXdmW.js +1 -0
  504. package/dist/genesys-webcomponents/{p-BYEfABx4.js → p-BxFlVbTj.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-CMN6G6Lq.js → p-CLZT9lUs.js} +1 -1
  506. package/dist/genesys-webcomponents/p-C_Yxj7DB.js +1 -0
  507. package/dist/genesys-webcomponents/{p-5oriuAOL.js → p-CuAIl7ZM.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-CWjBVACe.js → p-DebZWgDi.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-ulzUMOMq.js → p-DgT8wuOK.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-yJHuFt4M.js → p-DgbCih4L.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-DaEtnlB3.js → p-TaFrWPWJ.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-ec601e4a.entry.js → p-a0f4dcde.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-4cc6d92e.entry.js → p-a2ab0107.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-98fe6c98.entry.js → p-a32edc13.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-e94d4869.entry.js → p-a41c58a6.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-23fe94e6.entry.js → p-a4798c4f.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-7d4a6eb8.entry.js → p-a4b03c3d.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-beb11034.entry.js → p-a73f33ea.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-5e50a09d.entry.js → p-a749a95f.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-99c8d355.entry.js → p-a8c07ad4.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-746bfd66.entry.js → p-a8c18f96.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-686a508b.entry.js → p-a9af8d04.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/p-a9e2833d.entry.js +1 -0
  524. package/dist/genesys-webcomponents/{p-952bfde5.entry.js → p-b003dc2f.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-4009a6bc.entry.js → p-b1ab487a.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-f174da6c.entry.js → p-b1dbb63a.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/p-b430ec6a.entry.js +1 -0
  528. package/dist/genesys-webcomponents/{p-8a04109b.entry.js → p-b4a28db6.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-781ea4d7.entry.js → p-b4ad6d58.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-3ea040b0.entry.js → p-b7e37a59.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-6e0a1e02.entry.js → p-b852310d.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/p-ba92d3d8.entry.js +1 -0
  533. package/dist/genesys-webcomponents/p-bb30c5ec.entry.js +1 -0
  534. package/dist/genesys-webcomponents/{p-a109e155.entry.js → p-bbf26734.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-781b3386.entry.js → p-bc8ed388.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-75c17baf.entry.js → p-bff41afc.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-c93f5cf3.entry.js → p-c7f59508.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-6e030f95.entry.js → p-c926b609.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-5eda432a.entry.js → p-c92cf9d7.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-c79a2020.entry.js → p-c933cbee.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-d1316d1e.entry.js → p-cca11034.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-5dd9bbcd.entry.js → p-cd1e2d54.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-2052c3fc.entry.js → p-d0271ec9.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-c51eba5f.entry.js → p-d09ae478.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-c0210bfe.entry.js → p-d0b7828d.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-0ff1d78f.entry.js → p-d1048a93.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-f352cd26.entry.js → p-d2634cdd.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-f5da6e7b.entry.js → p-d3b5ceef.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-c0161e46.entry.js → p-d3f3dd45.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-7ed7a7da.entry.js → p-d61bb9bd.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-85e96c2f.entry.js → p-d6df3023.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-a269688e.entry.js → p-d786f342.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/p-d897a8a9.entry.js +1 -0
  554. package/dist/genesys-webcomponents/{p-6464ec2f.entry.js → p-da38ed59.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-8622f8b3.entry.js → p-dadd19e0.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-f586f1ed.entry.js → p-e10a8549.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-bcb25fed.entry.js → p-e1c773c1.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-4e94bbc2.entry.js → p-e29cbf15.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-b526e9fe.entry.js → p-e3b73700.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-cc98d727.entry.js → p-e6536e09.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-ee70f02e.entry.js → p-e680459b.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-56d595fd.entry.js → p-e72ce77c.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-8e581257.entry.js → p-e787bdd0.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-697cbe94.entry.js → p-e8fe9b26.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-ab65819b.entry.js → p-eb49e7f9.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-e86fed52.entry.js → p-ec5be75f.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-c5783ebe.entry.js → p-f04c0281.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-617dd44a.entry.js → p-f1526637.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-2764887f.entry.js → p-f3e303f9.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-d314045a.entry.js → p-f41e8b44.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-8af4fb2d.entry.js → p-f6d082f6.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-a33fa93f.entry.js → p-f6e8661f.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-fdc2043d.entry.js → p-f8021f7c.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-1853bdac.entry.js → p-f9ae18b3.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-eb725918.entry.js → p-f9f1b64a.entry.js} +1 -1
  576. package/dist/genesys-webcomponents/{p-91123cbd.entry.js → p-fa6bafe5.entry.js} +1 -1
  577. package/dist/genesys-webcomponents/{p-5dcd4552.entry.js → p-fa76089b.entry.js} +1 -1
  578. package/dist/genesys-webcomponents/{p-3989b060.entry.js → p-fc6fb2af.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/{p-a27e0df2.entry.js → p-fe58d9a9.entry.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-3425b446.entry.js → p-fef338ef.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/{p-CxJUHL0L.js → p-mrg3ntIh.js} +1 -1
  582. package/dist/stencil-wrapper.js +1 -1
  583. package/dist/types/stencil-wrapper.d.ts +1 -1
  584. package/package.json +1 -1
  585. package/dist/genesys-webcomponents/p-2f70694b.entry.js +0 -1
  586. package/dist/genesys-webcomponents/p-359f6cc0.entry.js +0 -1
  587. package/dist/genesys-webcomponents/p-3b4b571f.entry.js +0 -1
  588. package/dist/genesys-webcomponents/p-770ab370.entry.js +0 -1
  589. package/dist/genesys-webcomponents/p-9a66c5a9.entry.js +0 -1
  590. package/dist/genesys-webcomponents/p-DnNnI6dA.js +0 -1
  591. package/dist/genesys-webcomponents/p-Dy3t8f6Y.js +0 -1
  592. package/dist/genesys-webcomponents/p-bbf14713.entry.js +0 -1
  593. package/dist/genesys-webcomponents/p-d1b90351.entry.js +0 -1
  594. package/dist/genesys-webcomponents/p-fd34eb2d.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as a,h as e,a as i}from"./p-D2YtihwH.js";import{b as n}from"./p-BYEfABx4.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:"65792575a578ebd97495220d61d301f9a59041f4",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"2b38e21a1a55cfc93eb355cfaa9ab75be3bfa7f2",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"44a5758883dc58e9ba759168c60ba19c03a808e9",accent:"ghost"},e("button",{key:"34e669862c9ae135bb7c457d4c45537dcc215ee3",title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"5adf918b92b59f8a2367c7d495ef92c3a5aaadd9",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"6c5ed0bc819db193ca5450625ad6a9ef17495814",accent:"ghost"},e("button",{key:"73363f269b66ce2e44cb709a983f96050f039dba",title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"68727697f2b5a61a7fc3eaf2421a170c098b7786",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPagePicker(this.layout),e("div",{key:"7b15fbac4877812fcaa2d3b9b9146aa9dfd25dc9",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"9843858241adc47ac5a500c6c3837671d61dc3c9",accent:"ghost"},e("button",{key:"5f753b96ac491d56078dd1fe4796d43eb2825253",title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"b632559c6309820e7a71f1de2716b470494474c8",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"9daa5f379d44eaadab76c1060bcc1a0c3979ffc4",accent:"ghost"},e("button",{key:"9d38ade2d68ad8146e882d68b92e3cbed62935b1",title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"b0e5098e8e2ecb75fdbd7fcd7c9de6b4b2b2e20d",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:"ff3df2a0bc3d4d2f9a190a9496d69b08a0da5ba7",class:"gux-pagination-item-counts-container"},e("span",{key:"cf0e54b9774a88bcbd034bf2b55b7b7146432ffc",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"9914721896c2053bf6c08d1f9b37485366fda101"},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:"6c6097f50c306c405511d10754b8f2e561b7e21b",class:"gux-pagination-items-per-page-container"},e("div",{key:"9a71906fb95d919d88c4c125759dba87de0c7360",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{key:"dca4c2e9270b9c21413181d901d8f9d4cf5f2827",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-BKRbtf5E.js";import{b as n}from"./p-BxFlVbTj.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:"65792575a578ebd97495220d61d301f9a59041f4",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"2b38e21a1a55cfc93eb355cfaa9ab75be3bfa7f2",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"44a5758883dc58e9ba759168c60ba19c03a808e9",accent:"ghost"},e("button",{key:"34e669862c9ae135bb7c457d4c45537dcc215ee3",title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"5adf918b92b59f8a2367c7d495ef92c3a5aaadd9",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"6c5ed0bc819db193ca5450625ad6a9ef17495814",accent:"ghost"},e("button",{key:"73363f269b66ce2e44cb709a983f96050f039dba",title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"68727697f2b5a61a7fc3eaf2421a170c098b7786",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPagePicker(this.layout),e("div",{key:"7b15fbac4877812fcaa2d3b9b9146aa9dfd25dc9",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"9843858241adc47ac5a500c6c3837671d61dc3c9",accent:"ghost"},e("button",{key:"5f753b96ac491d56078dd1fe4796d43eb2825253",title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"b632559c6309820e7a71f1de2716b470494474c8",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"9daa5f379d44eaadab76c1060bcc1a0c3979ffc4",accent:"ghost"},e("button",{key:"9d38ade2d68ad8146e882d68b92e3cbed62935b1",title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"b0e5098e8e2ecb75fdbd7fcd7c9de6b4b2b2e20d",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:"ff3df2a0bc3d4d2f9a190a9496d69b08a0da5ba7",class:"gux-pagination-item-counts-container"},e("span",{key:"cf0e54b9774a88bcbd034bf2b55b7b7146432ffc",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"9914721896c2053bf6c08d1f9b37485366fda101"},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:"6c6097f50c306c405511d10754b8f2e561b7e21b",class:"gux-pagination-items-per-page-container"},e("div",{key:"9a71906fb95d919d88c4c125759dba87de0c7360",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{key:"dca4c2e9270b9c21413181d901d8f9d4cf5f2827",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 t,c as e,f as i,h as o,a as r,H as s}from"./p-D2YtihwH.js";import{O as n}from"./p-ulzUMOMq.js";import{b as l}from"./p-BYEfABx4.js";import{s as a}from"./p-BMRf5pjV.js";import{o as u,c as d}from"./p-Cb3FOYGS.js";import{b as g}from"./p-Bg4q97BS.js";import{t as c}from"./p-BFstlq6Q.js";import{O as h}from"./p-CxJUHL0L.js";import{s as f,b as p,g as x,a as b,d as v,h as m,e as w,f as C,i as y,j as k,k as z,l as F,m as j,n as O,o as T,c as L,p as S}from"./p-zrBw_m7x.js";import{h as E}from"./p-qzV3vtOw.js";import{w as B}from"./p-kLXvN2m9.js";import{g as R}from"./p-Cd4R0amv.js";import{b as D}from"./p-CK42c8Uy.js";import{r as H}from"./p-D9jKBqIb.js";import{g as W}from"./p-MAoEg4ig.js";import"./p-DjLdmWVU.js";var I={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},A=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const M=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.disabled=!1,this.required=!1,this.loading=!1,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){!t&&this.filterElement&&(this.filter="",this.filterElement.value="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("noFocusChange")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,f(this.listboxElement)));case"Enter":case" ":return void(this.expanded||this.isFilterable()||f(this.listboxElement))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t),this.isFilterable()&&!this.root.contains(null==t?void 0:t.relatedTarget)&&this.filterElement.focus()}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&g((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){c(this.root),this.i18n=await l(this.root,I),u(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void f(this.listboxElement);case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,a(this.root,"input"),a(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){const e=t.length;if(e>0&&!this.loading){const i=x(this.listboxElement,t);if(i&&"custom"!==this.filterType){const t=b(i);return null==t?void 0:t.substring(e)}}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?o("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":case"gux-option-status-beta":return this.renderIconOption(t);default:return e}}getOptionDefaultText(t){return b(t)}renderOption(t){return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},this.getOptionDefaultText(t))}renderIconOption(t){let e=null,i=t.textContent;return null!==t.iconColor&&(e={color:t.iconColor}),E(t,"subtext")&&(i=this.getOptionDefaultText(t)),o("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),o("gux-truncate",{ref:t=>this.truncateElement=t},i))}renderFilterInputField(){if(this.isFilterable())return o("div",{class:"gux-field gux-input-field",dir:"auto"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.filter),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),o("div",{class:"input-and-dropdown-button"},o("input",{class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this),onFocus:()=>this.expanded=!0,disabled:this.disabled}),this.renderTargetContent()))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-filterable":this.isFilterable(),"gux-target-container-filterable-active":this.expanded&&this.isFilterable(),"gux-target-container-not-filterable":!this.isFilterable(),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:d(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},!this.isFilterable()&&this.renderTargetContent(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return o("gux-popup",{key:"e4781f02c135aac0d306241af4ff14ee576ef4b2",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};A([n({triggerEvents:"mousedown"})],M.prototype,"onClickOutside",null),A([h({childList:!0,subtree:!0})],M.prototype,"onMutation",null),M.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-filterable{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);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);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-filterable,.gux-target-container-not-filterable .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-not-filterable .gux-field-button,.gux-error.gux-target-container-filterable{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-not-filterable .gux-field-button,.gux-disabled.gux-target-container-filterable{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-target-container-not-filterable .gux-field-button:hover,.gux-target-container-filterable: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-field.gux-input-field{block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;block-size:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;inline-size:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-filterable{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-target-container-filterable.gux-target-container-filterable-active{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-input-borderRadius)}.gux-target-container-filterable:focus-visible{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)}.gux-target-container-filterable:focus-within:has(:focus-visible){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)}.gux-target-container-filterable .gux-filter-input{background-color:inherit;border:none}.gux-target-container-filterable .gux-filter-input:focus{outline:none;border:none}.gux-target-container-filterable .gux-filter-input::selection{color:inherit;background:transparent;}.gux-target-container-filterable .gux-field-button{inline-size:auto;block-size:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-filterable .gux-field-button:focus{outline:none}.gux-target-container-not-filterable .gux-field-button{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-target-container-not-filterable .gux-field-button:focus-visible{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)}.gux-target-container-not-filterable .gux-field-button:focus-within:has(:focus-visible){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)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dropdown-gap)}";const K=["gux-option","gux-option-icon","gux-option-status-beta"].join(",");var V={noMatches:"No matches",loading:"Loading..."};const U=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.filterType="none",this.disabled=!1,this.selectedValues=[],this.listboxOptions=[]}onBlur(){v(this.root)}onKeydown(t){if(!m(this.root))return t.preventDefault(),void f(this.root);switch(t.key){case"Enter":return t.preventDefault(),void j(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(z(this.root)?(t.stopPropagation(),F(this.root)):C(this.root));case"ArrowUp":return t.preventDefault(),void(y(this.root)?(t.stopPropagation(),k(this.root)):w(this.root));case"Home":return t.preventDefault(),void C(this.root);case"End":return t.preventDefault(),void w(this.root);case" ":return void t.preventDefault()}1!==t.key.length||O(this.root,t.key)}onKeyup(t){" "!==t.key||j(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){B(K,t,(t=>{T(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){j(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.selectedValues=L(this.value),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),a(this.root,"input"),a(this.root,"change")}async componentWillLoad(){c(this.root),this.i18n=await l(this.root,V),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!S(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():o(s,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return r(this)}};U.style=":host{scrollbar-color:var(--gse-ui-menu-border-color) transparent;scrollbar-width:thin;box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow:visible auto;outline:none;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius)}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center;text-align:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);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);color:var(--gse-ui-menu-option-label-foregroundColor)}";const q=class{constructor(e){t(this,e),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hasSubtext=!1}handleActive(t){var e,i;t?null===(e=this.truncateElement)||void 0===e||e.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||H("gux-option"),this.onSubtextChange()}onSubtextChange(){const t=W(this.root,"subtext");this.hasSubtext=!!(null==t?void 0:t.trim())}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const t=R("gux-listbox",this.root);return null==t?void 0:t.disabled}render(){return o(s,{key:"b04390887a747ee520c74e9aa76d9115b6522162",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":D(this.disabled||this.hasDisabledParent())},o("div",{key:"c4f1d57329ea6f11b3105350d541adca91284d53",class:"gux-option-wrapper"},o("gux-truncate",{key:"6ff141ac7c6145413a2d45ec6a194a4289537454","tooltip-placement":"right",ref:t=>this.truncateElement=t},o("slot",{key:"c64cb966786cfa051b040f884b707c7bea0998af"})),o("slot",{key:"6af7b43a8b7aacc20c41610c82f5cc68a95bcee3",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return r(this)}static get watchers(){return{active:["handleActive"]}}};q.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}";export{M as gux_dropdown,U as gux_listbox,q as gux_option}
1
+ import{r as t,c as e,f as i,h as o,a as r,H as s}from"./p-BKRbtf5E.js";import{O as n}from"./p-DgT8wuOK.js";import{b as a}from"./p-BxFlVbTj.js";import{s as l}from"./p-BMRf5pjV.js";import{o as u,c as d}from"./p-Cb3FOYGS.js";import{b as g}from"./p-Bg4q97BS.js";import{t as c}from"./p--sVzKJI6.js";import{O as h}from"./p-mrg3ntIh.js";import{s as f,b as p,g as x,a as b,d as v,h as m,e as w,f as C,i as y,j as k,k as z,l as F,m as j,n as O,o as T,c as S,p as E}from"./p-zrBw_m7x.js";import{h as L}from"./p-qzV3vtOw.js";import{w as R}from"./p-kLXvN2m9.js";import{g as B}from"./p-Cd4R0amv.js";import{b as D}from"./p-CK42c8Uy.js";import{r as I}from"./p-D9jKBqIb.js";import{g as W}from"./p-MAoEg4ig.js";import"./p-DjLdmWVU.js";var H={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},K=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const V=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.disabled=!1,this.required=!1,this.loading=!1,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){!t&&this.filterElement&&(this.filter="",this.filterElement.value="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("noFocusChange")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,f(this.listboxElement)));case"Enter":case" ":return void(this.expanded||this.isFilterable()||f(this.listboxElement))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t),this.isFilterable()&&!this.root.contains(null==t?void 0:t.relatedTarget)&&this.filterElement.focus()}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&g((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){c(this.root),this.i18n=await a(this.root,H),u(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void f(this.listboxElement);case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,l(this.root,"input"),l(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){const e=t.length;if(e>0&&!this.loading){const i=x(this.listboxElement,t);if(i&&"custom"!==this.filterType){const t=b(i);return null==t?void 0:t.substring(e)}}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?o("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":case"gux-option-status-beta":return this.renderIconOption(t);default:return e}}getOptionDefaultText(t){return b(t)}renderOption(t){return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},this.getOptionDefaultText(t))}renderIconOption(t){let e=null,i=t.textContent;return null!==t.iconColor&&(e={color:t.iconColor}),L(t,"subtext")&&(i=this.getOptionDefaultText(t)),o("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),o("gux-truncate",{ref:t=>this.truncateElement=t},i))}renderFilterInputField(){if(this.isFilterable())return o("div",{class:"gux-field gux-input-field",dir:"auto"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.filter),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),o("div",{class:"input-and-dropdown-button"},o("input",{class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this),onFocus:()=>this.expanded=!0,disabled:this.disabled}),this.renderTargetContent()))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-filterable":this.isFilterable(),"gux-target-container-filterable-active":this.expanded&&this.isFilterable(),"gux-target-container-not-filterable":!this.isFilterable(),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:d(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},!this.isFilterable()&&this.renderTargetContent(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return o("gux-popup",{key:"e4781f02c135aac0d306241af4ff14ee576ef4b2",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};K([n({triggerEvents:"mousedown"})],V.prototype,"onClickOutside",null),K([h({childList:!0,subtree:!0})],V.prototype,"onMutation",null),V.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-filterable{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);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);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-filterable,.gux-target-container-not-filterable .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-not-filterable .gux-field-button,.gux-error.gux-target-container-filterable{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-not-filterable .gux-field-button,.gux-disabled.gux-target-container-filterable{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-target-container-not-filterable .gux-field-button:hover,.gux-target-container-filterable: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-field.gux-input-field{block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;block-size:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;inline-size:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-filterable{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-target-container-filterable.gux-target-container-filterable-active{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-input-borderRadius)}.gux-target-container-filterable:focus-visible{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)}.gux-target-container-filterable:focus-within:has(:focus-visible){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)}.gux-target-container-filterable .gux-filter-input{background-color:inherit;border:none}.gux-target-container-filterable .gux-filter-input:focus{outline:none;border:none}.gux-target-container-filterable .gux-filter-input::selection{color:inherit;background:transparent;}.gux-target-container-filterable .gux-field-button{inline-size:auto;block-size:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-filterable .gux-field-button:focus{outline:none}.gux-target-container-not-filterable .gux-field-button{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-target-container-not-filterable .gux-field-button:focus-visible{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)}.gux-target-container-not-filterable .gux-field-button:focus-within:has(:focus-visible){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)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dropdown-gap)}";const A=["gux-option","gux-option-icon","gux-option-status-beta"].join(",");var M={noMatches:"No matches",loading:"Loading..."};const N=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.filterType="none",this.disabled=!1,this.selectedValues=[],this.listboxOptions=[]}onBlur(){v(this.root)}onKeydown(t){if(!m(this.root))return t.preventDefault(),void f(this.root);switch(t.key){case"Enter":return t.preventDefault(),void j(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(z(this.root)?(t.stopPropagation(),F(this.root)):C(this.root));case"ArrowUp":return t.preventDefault(),void(y(this.root)?(t.stopPropagation(),k(this.root)):w(this.root));case"Home":return t.preventDefault(),void C(this.root);case"End":return t.preventDefault(),void w(this.root);case" ":return void t.preventDefault()}1!==t.key.length||O(this.root,t.key)}onKeyup(t){" "!==t.key||j(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){R(A,t,(t=>{T(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){j(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.selectedValues=S(this.value),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),l(this.root,"input"),l(this.root,"change")}async componentWillLoad(){c(this.root),this.i18n=await a(this.root,M),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!E(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():o(s,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return r(this)}};N.style=":host{scrollbar-color:var(--gse-ui-menu-border-color) transparent;scrollbar-width:thin;box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow:visible auto;outline:none;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius)}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center;text-align:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);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);color:var(--gse-ui-menu-option-label-foregroundColor)}";const U=class{constructor(e){t(this,e),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hasSubtext=!1}handleActive(t){var e,i;t?null===(e=this.truncateElement)||void 0===e||e.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||I("gux-option"),this.onSubtextChange()}onSubtextChange(){const t=W(this.root,"subtext");this.hasSubtext=!!(null==t?void 0:t.trim())}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const t=B("gux-listbox",this.root);return null==t?void 0:t.disabled}render(){return o(s,{key:"b04390887a747ee520c74e9aa76d9115b6522162",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":D(this.disabled||this.hasDisabledParent())},o("div",{key:"c4f1d57329ea6f11b3105350d541adca91284d53",class:"gux-option-wrapper"},o("gux-truncate",{key:"6ff141ac7c6145413a2d45ec6a194a4289537454","tooltip-placement":"right",ref:t=>this.truncateElement=t},o("slot",{key:"c64cb966786cfa051b040f884b707c7bea0998af"})),o("slot",{key:"6af7b43a8b7aacc20c41610c82f5cc68a95bcee3",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return r(this)}static get watchers(){return{active:["handleActive"]}}};U.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}";export{V as gux_dropdown,N as gux_listbox,U as gux_option}