genesys-spark-components 4.68.0 → 4.69.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (423) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +190 -0
  33. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +10 -5
  34. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
  36. package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
  37. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  38. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +8 -8
  40. package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
  41. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +4 -4
  42. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  43. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  45. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  46. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  48. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
  49. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
  50. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  53. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  54. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  58. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  60. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  63. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  64. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  68. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  70. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  71. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-row-select.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-screen-reader-beta_2.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
  83. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  94. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  95. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  104. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  106. package/dist/cjs/gux-tooltip-base-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-tooltip.cjs.entry.js +3 -3
  109. package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
  110. package/dist/cjs/index-7fb02c8c.js +4 -0
  111. package/dist/cjs/loader.cjs.js +1 -1
  112. package/dist/cjs/{usage-103c4679.js → usage-5ce3b0ea.js} +1 -1
  113. package/dist/collection/collection-manifest.json +1 -0
  114. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.css +2 -2
  115. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +47 -6
  116. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.css +197 -0
  117. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +191 -0
  118. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.service.js +38 -0
  119. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/tests/gux-form-field-checkbox-group.e2e.js +212 -0
  120. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/tests/gux-form-field-checkbox-group.spec.js +128 -0
  121. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  122. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  123. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  124. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  125. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  126. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  127. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.css +1 -1
  128. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  129. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  130. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  131. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  132. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  133. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  134. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  135. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
  136. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  137. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  138. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  139. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  140. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  141. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  142. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  143. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +2 -2
  144. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +1 -1
  145. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  146. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  147. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  148. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  149. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  150. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  151. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  152. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  153. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  154. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  155. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +1 -1
  156. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  157. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  158. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  159. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  160. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  161. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  162. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  163. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  164. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  165. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  166. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  167. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  168. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  169. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  170. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  171. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  172. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  173. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  174. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  175. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  176. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  177. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  178. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  179. package/dist/esm/genesys-webcomponents.js +1 -1
  180. package/dist/esm/gux-accordion.entry.js +1 -1
  181. package/dist/esm/gux-action-button.entry.js +1 -1
  182. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  183. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +2 -2
  184. package/dist/esm/gux-all-row-select.entry.js +1 -1
  185. package/dist/esm/gux-announce-beta.entry.js +1 -1
  186. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  187. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  188. package/dist/esm/gux-badge.entry.js +1 -1
  189. package/dist/esm/gux-blank-state.entry.js +1 -1
  190. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  191. package/dist/esm/gux-button-multi.entry.js +1 -1
  192. package/dist/esm/gux-button-slot.entry.js +1 -1
  193. package/dist/esm/gux-button.entry.js +1 -1
  194. package/dist/esm/gux-calendar.entry.js +1 -1
  195. package/dist/esm/gux-card.entry.js +1 -1
  196. package/dist/esm/gux-column-manager.entry.js +1 -1
  197. package/dist/esm/gux-content-search.entry.js +1 -1
  198. package/dist/esm/gux-context-menu.entry.js +1 -1
  199. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  200. package/dist/esm/gux-create-option.entry.js +2 -2
  201. package/dist/esm/gux-date-beta.entry.js +1 -1
  202. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  203. package/dist/esm/gux-datepicker.entry.js +1 -1
  204. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  205. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  206. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  207. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  208. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  209. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  210. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +186 -0
  211. package/dist/esm/gux-form-field-checkbox.entry.js +11 -6
  212. package/dist/esm/gux-form-field-color.entry.js +5 -5
  213. package/dist/esm/gux-form-field-dropdown.entry.js +5 -5
  214. package/dist/esm/{gux-form-field-error-4d654b58.js → gux-form-field-error-1776797e.js} +1 -1
  215. package/dist/esm/gux-form-field-file.entry.js +3 -3
  216. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  217. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  218. package/dist/esm/gux-form-field-number_3.entry.js +9 -9
  219. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  220. package/dist/esm/gux-form-field-radio-group-beta.entry.js +5 -5
  221. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  222. package/dist/esm/gux-form-field-range.entry.js +4 -4
  223. package/dist/esm/gux-form-field-search.entry.js +5 -5
  224. package/dist/esm/gux-form-field-select.entry.js +5 -5
  225. package/dist/esm/gux-form-field-text-like.entry.js +2 -2
  226. package/dist/esm/gux-form-field-textarea.entry.js +4 -4
  227. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  228. package/dist/esm/gux-form-field-time-zone-picker.entry.js +5 -5
  229. package/dist/esm/gux-form-footer.entry.js +1 -1
  230. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  231. package/dist/esm/gux-icon.entry.js +2 -2
  232. package/dist/esm/gux-inline-alert.entry.js +3 -3
  233. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  234. package/dist/esm/gux-list.entry.js +1 -1
  235. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  236. package/dist/esm/gux-loading-message.entry.js +2 -2
  237. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  238. package/dist/esm/gux-modal.entry.js +2 -2
  239. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  240. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  241. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  242. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  243. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  244. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  245. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  246. package/dist/esm/gux-pagination.entry.js +2 -2
  247. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  248. package/dist/esm/gux-popover-list.entry.js +3 -3
  249. package/dist/esm/gux-popup.entry.js +3 -3
  250. package/dist/esm/gux-radial-loading.entry.js +2 -2
  251. package/dist/esm/gux-radial-progress.entry.js +1 -1
  252. package/dist/esm/gux-rating.entry.js +2 -2
  253. package/dist/esm/gux-row-select.entry.js +1 -1
  254. package/dist/esm/gux-screen-reader-beta_2.entry.js +1 -1
  255. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  256. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  257. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  258. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  259. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  260. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  261. package/dist/esm/gux-sort-control.entry.js +4 -4
  262. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  263. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  264. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  265. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  266. package/dist/esm/gux-tab-list.entry.js +2 -2
  267. package/dist/esm/gux-tab-panel.entry.js +1 -1
  268. package/dist/esm/gux-tab.entry.js +2 -2
  269. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  270. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  271. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  272. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  273. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  274. package/dist/esm/gux-table.entry.js +2 -2
  275. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  276. package/dist/esm/gux-tabs.entry.js +2 -2
  277. package/dist/esm/gux-tag.entry.js +2 -2
  278. package/dist/esm/gux-text-highlight.entry.js +1 -1
  279. package/dist/esm/gux-time-beta.entry.js +1 -1
  280. package/dist/esm/gux-time-picker.entry.js +2 -2
  281. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  282. package/dist/esm/gux-toast.entry.js +3 -3
  283. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  284. package/dist/esm/gux-toggle.entry.js +3 -3
  285. package/dist/esm/gux-tooltip-base-beta.entry.js +1 -1
  286. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  287. package/dist/esm/gux-tooltip.entry.js +3 -3
  288. package/dist/esm/gux-truncate.entry.js +3 -3
  289. package/dist/esm/index-da21b737.js +4 -0
  290. package/dist/esm/loader.js +1 -1
  291. package/dist/esm/{usage-4e6a9a9c.js → usage-b2d4b1ef.js} +1 -1
  292. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  293. package/dist/genesys-webcomponents/{p-dba545a3.entry.js → p-0010b29a.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-463d7d50.entry.js → p-00f26148.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-0c9634a0.entry.js → p-01997a36.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-03c410ea.entry.js → p-0eddf0af.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-b862bfc9.entry.js → p-0f1f9a60.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-b7a0bb65.entry.js → p-158cb7c3.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-794d45be.entry.js → p-1667c9ac.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-0f68517e.entry.js → p-1a8ca1bd.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-7f0316e4.entry.js → p-1d18a8cd.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-46061ca0.entry.js → p-1e5371b8.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-acdea64a.entry.js → p-20b75529.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-a5f5b4a5.entry.js → p-2383e2ba.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-2df77f1f.entry.js → p-26b5ece9.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-c7149990.entry.js → p-27695105.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-e4b07e67.entry.js → p-27757e87.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-158e1106.entry.js → p-2c266e5d.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-ef10948c.entry.js → p-2e2561fa.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-455dfe3c.entry.js → p-33678282.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-b2a1d131.entry.js → p-35bed3f2.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/p-36114aec.entry.js +1 -0
  313. package/dist/genesys-webcomponents/{p-798d2d2d.entry.js → p-3df66d7a.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-c32073bd.entry.js → p-3ec1cae1.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/p-3f230ed4.entry.js +1 -0
  316. package/dist/genesys-webcomponents/{p-e3e7152d.entry.js → p-3f2ea5c2.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/p-3fb4c0fa.entry.js +1 -0
  318. package/dist/genesys-webcomponents/{p-557fe238.entry.js → p-45e2c1c6.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-ecb0bd29.entry.js → p-49a1c24f.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-74d4ff7e.entry.js → p-4c10d4a9.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-1923666a.entry.js → p-4c2e929e.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/p-4f7810d1.entry.js +1 -0
  323. package/dist/genesys-webcomponents/{p-654301d1.entry.js → p-50923f62.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-cff55bdc.entry.js → p-51f6e205.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-27e7bf13.entry.js → p-5d6f4914.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-ae8dc502.entry.js → p-5e82dd4a.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-81a4d0f1.entry.js → p-5e891625.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-a85111bc.entry.js → p-60b8bcfe.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-6defe950.entry.js → p-61e2330d.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-db330034.entry.js → p-6238ef3c.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/p-639eb3c7.entry.js +1 -0
  332. package/dist/genesys-webcomponents/{p-c0526772.entry.js → p-667afb42.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-b5447e7b.entry.js → p-670489f5.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-2bab7cee.entry.js → p-68d42b3c.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-9aa1da48.entry.js → p-690a306a.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-41a4645b.entry.js → p-6d7858cb.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/p-6dfd298a.entry.js +1 -0
  338. package/dist/genesys-webcomponents/{p-dff94664.entry.js → p-7233b464.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-2811c449.entry.js → p-738bc18d.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-f83e54ff.entry.js → p-7716595f.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-02f6c908.entry.js → p-79179c87.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-8b50d9e4.entry.js → p-799d532c.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-82079b15.entry.js → p-7bded7d0.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-1e8e6d25.entry.js → p-7cd583b0.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-32613acf.entry.js → p-814f1f8c.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-2727ebc6.entry.js → p-819e6046.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-f14eb1a0.entry.js → p-830a1f12.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-e03849cc.entry.js → p-84149b29.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-08ae063f.entry.js → p-851fae25.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-ceee8f83.entry.js → p-857fca6d.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-5bd2a533.entry.js → p-86b20076.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-e1ab128a.entry.js → p-8756ae11.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-9d2e348d.entry.js → p-8927fb83.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-3b371d8f.entry.js → p-8b2c492f.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-ac2990a0.entry.js → p-8bce51fe.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/p-8bf31190.entry.js +1 -0
  357. package/dist/genesys-webcomponents/{p-980d8f98.entry.js → p-8e6b7337.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/{p-b8ed0452.entry.js → p-8ecd8031.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-ab4733d2.entry.js → p-90719d29.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-ddc7ec6f.entry.js → p-9120e31d.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/p-91c9d868.entry.js +1 -0
  362. package/dist/genesys-webcomponents/{p-5f7ce4f0.entry.js → p-93e225d3.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/{p-dc8c9e1a.entry.js → p-962c617f.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/{p-824c2c02.entry.js → p-9be5fd9c.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/p-9ddc2968.entry.js +1 -0
  366. package/dist/genesys-webcomponents/{p-5cc29ad6.entry.js → p-a159f63c.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/{p-8feef8fb.entry.js → p-a40f7d99.entry.js} +1 -1
  368. package/dist/genesys-webcomponents/{p-82c29dbb.entry.js → p-a53d0b49.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/{p-ddd63cdd.entry.js → p-b18acd29.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-8d034b46.entry.js → p-b4da1e6b.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/{p-e6b15ad4.entry.js → p-b533ba74.entry.js} +1 -1
  372. package/dist/genesys-webcomponents/{p-2c73de68.entry.js → p-b5dfee03.entry.js} +1 -1
  373. package/dist/genesys-webcomponents/{p-53b50d9f.entry.js → p-b658c58d.entry.js} +1 -1
  374. package/dist/genesys-webcomponents/{p-cd09283e.entry.js → p-b844e577.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/{p-c5ee06dd.entry.js → p-bc3694ad.entry.js} +1 -1
  376. package/dist/genesys-webcomponents/p-bd785bdd.entry.js +1 -0
  377. package/dist/genesys-webcomponents/{p-d9ac7174.entry.js → p-c8853267.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-4c9f9a59.entry.js → p-c9e9d558.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-4066c8ff.entry.js → p-ca2535c7.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-6699a9c2.js → p-cee9692c.js} +1 -1
  381. package/dist/genesys-webcomponents/{p-b50bc0b6.entry.js → p-d07e8eee.entry.js} +1 -1
  382. package/dist/genesys-webcomponents/{p-ce2a1223.entry.js → p-d0847384.entry.js} +1 -1
  383. package/dist/genesys-webcomponents/p-d2bb1fd4.entry.js +1 -0
  384. package/dist/genesys-webcomponents/{p-54f674f8.entry.js → p-d34e2d20.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-f8597ab4.entry.js → p-d4005404.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/{p-ded3069d.entry.js → p-db3ded11.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/p-dbbc6add.entry.js +1 -0
  388. package/dist/genesys-webcomponents/{p-8a68f742.entry.js → p-e0326899.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-63bf4974.entry.js → p-ed6ff862.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-b83a0c9c.entry.js → p-eda16f8f.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/p-f0b99b69.entry.js +1 -0
  392. package/dist/genesys-webcomponents/p-f13cefd8.entry.js +1 -0
  393. package/dist/genesys-webcomponents/{p-e06ea439.entry.js → p-f1b3ed2e.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-fbe7b1a8.entry.js → p-f571e2e4.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-a49cd99d.entry.js → p-f5be6db3.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-fb9fd5b3.entry.js → p-f7dc3ff3.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-70d17080.entry.js → p-f8a310e9.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-a2ef5d2e.entry.js → p-fa18f252.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-265b0b57.js → p-fb1ab7b1.js} +1 -1
  400. package/dist/genesys-webcomponents/p-fb87a341.entry.js +1 -0
  401. package/dist/genesys-webcomponents/{p-6f7f0119.entry.js → p-fd2f4b2d.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-c4010674.entry.js → p-fde6845b.entry.js} +1 -1
  403. package/dist/stencil-wrapper.js +1 -1
  404. package/dist/types/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.d.ts +3 -1
  405. package/dist/types/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.d.ts +45 -0
  406. package/dist/types/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.service.d.ts +6 -0
  407. package/dist/types/components.d.ts +25 -0
  408. package/dist/types/stencil-wrapper.d.ts +1 -1
  409. package/package.json +1 -1
  410. package/dist/genesys-webcomponents/p-1197355a.entry.js +0 -1
  411. package/dist/genesys-webcomponents/p-157eade8.entry.js +0 -1
  412. package/dist/genesys-webcomponents/p-1e1c0327.entry.js +0 -1
  413. package/dist/genesys-webcomponents/p-2d84406f.entry.js +0 -1
  414. package/dist/genesys-webcomponents/p-4ebb18e1.entry.js +0 -1
  415. package/dist/genesys-webcomponents/p-515656df.entry.js +0 -1
  416. package/dist/genesys-webcomponents/p-6d3976eb.entry.js +0 -1
  417. package/dist/genesys-webcomponents/p-6eede9b1.entry.js +0 -1
  418. package/dist/genesys-webcomponents/p-7f9e6b88.entry.js +0 -1
  419. package/dist/genesys-webcomponents/p-869ef845.entry.js +0 -1
  420. package/dist/genesys-webcomponents/p-8f9d2343.entry.js +0 -1
  421. package/dist/genesys-webcomponents/p-9df3d610.entry.js +0 -1
  422. package/dist/genesys-webcomponents/p-ac946c41.entry.js +0 -1
  423. package/dist/genesys-webcomponents/p-d6c4f75d.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as a,h as e,g as i}from"./p-2e827df1.js";import{b as n}from"./p-0367930a.js";import{t as o}from"./p-20fbe34f.js";import{b as s}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";class r{static displayAllPageButtons(t,a,e){switch(e){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const e=[...Array(5).keys()].map((e=>{const i=e+a-4;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(3).keys()].map((a=>{const e=a+t-1;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}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})):a>=4?[...[...Array(1).keys()].map((e=>{const i=e+t;return{pageNumber:i,display:String(i),current:i!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="advanced"}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),s((()=>{this.currentElement.focus()}))}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)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,i){return r.displayAllPageButtons(t,a,i).reduce(((t,a)=>t.concat(a.current?e("button",{ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:a.pageNumber})},a.display):"..."==a.display?e("gux-pagination-ellipsis-button",{totalPages:this.totalPages}):e("button",{class:"gux-pagination-buttons-list-target",onClick:()=>this.handlePageChange(a.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:a.pageNumber})},a.display))),[])}getPageNavigation(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return e("div",{key:"6d5146370a44f00973496a75517ef7d56dd276ba",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"c28120117602c1c66df595f7c4277b1b45b184b9",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"8ddf86f65220a3da41fd14f60055865abe1a9a45",accent:"ghost"},e("button",{key:"4d12fb15eba0ecb45f06f9b971653da00f27eb6b",title:this.i18n("firstPage"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"3f98f9c1150c15e5575d4a5140b87c2b60bc1264",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"9424c8f5fd6df80c28e97884bc61e1ed425f941e",accent:"ghost"},e("button",{key:"cb239799f19f35382d269197eed2cd6c9ea05454",title:this.i18n("previousPage"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"f40a9a6fc048e6bac3ed026573e9f0c32e06d55c",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),e("div",{key:"644168a8c9f1fd9f0cdd8da864e8c407b342bdde",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"73f9336c7dcc20c635f039d7abdb756f0d8b5a6e",accent:"ghost"},e("button",{key:"b4d7a8b4620b398bdb1fe79dce29dabbc488731b",title:this.i18n("nextPage"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"185d851ebce39c739a9c4209ed1796ee316e9ac2",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"f1b4e73f7fc92d5d59ab30f277b3f0b2efb11ea8",accent:"ghost"},e("button",{key:"b349826adb9f9acd88fec71f47a9278b00dc022e",title:this.i18n("lastPage"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"9213440f3d5c17cd4945914e699dd9e7cae66b1b",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons .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 .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-shrink:0;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{min-width:28px;min-height:24px;padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);margin:0;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);background:inherit;border:none}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current:focus-visible,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:focus-visible{border-radius:calc(var(--gse-semantic-focusRing-cornerRadius) - var(--gse-semantic-focusRing-offset));outline:var(--gse-semantic-focusRing-width) solid var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset)}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{color:var(--gse-ui-button-ghost-default-foregroundColor);cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-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)}";const u={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},c=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,u)}getPaginationItemCountsRange(){if(this.totalItems)return e("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return e("div",{key:"2535ff53f3c85e9beab5bef5d1cce00d0974ea4d",class:"gux-pagination-item-counts-container"},e("span",{key:"7963c0fbdc954991b8545ecb0a30a06443b29d1e",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),this.getPaginationItemCountsRange())}get root(){return i(this)}};c.style="gux-pagination-item-counts .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}";export{g as gux_pagination_buttons,c as gux_pagination_item_counts}
1
+ import{r as t,c as a,h as e,g as i}from"./p-2e827df1.js";import{b as n}from"./p-0367930a.js";import{t as o}from"./p-20fbe34f.js";import{b as s}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";class r{static displayAllPageButtons(t,a,e){switch(e){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const e=[...Array(5).keys()].map((e=>{const i=e+a-4;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(3).keys()].map((a=>{const e=a+t-1;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}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})):a>=4?[...[...Array(1).keys()].map((e=>{const i=e+t;return{pageNumber:i,display:String(i),current:i!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="advanced"}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),s((()=>{this.currentElement.focus()}))}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)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,i){return r.displayAllPageButtons(t,a,i).reduce(((t,a)=>t.concat(a.current?e("button",{ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:a.pageNumber})},a.display):"..."==a.display?e("gux-pagination-ellipsis-button",{totalPages:this.totalPages}):e("button",{class:"gux-pagination-buttons-list-target",onClick:()=>this.handlePageChange(a.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:a.pageNumber})},a.display))),[])}getPageNavigation(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return e("div",{key:"fff0cf262b9c1bb44ea53fe9a000085b3bef3638",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"efd4ad576ae28db57058c5bf09f1bc3cc62a8e70",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"3bf855a6ab89defbb74b34fb44698754ef089f69",accent:"ghost"},e("button",{key:"adb7b226b7b45569b330e17202da8401015522d0",title:this.i18n("firstPage"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"a5336a58ff01300b1f78e46a3fc511d7da262939",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"23270e5a2e0cced675581690cae4e12e00ea2c79",accent:"ghost"},e("button",{key:"332b43a4cdb6c59a06b6bca31ebc2d59bda67bd2",title:this.i18n("previousPage"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"112db61c6fcb73233d01ff89456f5cbbe7c7e22e",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),e("div",{key:"a780c379e89ae73afd4fe00c014f7d3795006cc5",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"23150e772b34852ae3927be5b1c62c84804e5ad1",accent:"ghost"},e("button",{key:"dc0fed5842c2046fa0b491144bc5ef0189e28041",title:this.i18n("nextPage"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"4c51072f7ef5066f62c8f74b9c7052fbf7e27bce",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"1d74ba84367677727c6e26a6b75fbffc961f8400",accent:"ghost"},e("button",{key:"a6a8a25686a77e41b1bb116dc5bbca419943aaeb",title:this.i18n("lastPage"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"1667a1ab84afcf4969e04abb0c05d62ea1952ef9",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons .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 .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-shrink:0;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{min-width:28px;min-height:24px;padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);margin:0;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);background:inherit;border:none}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current:focus-visible,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:focus-visible{border-radius:calc(var(--gse-semantic-focusRing-cornerRadius) - var(--gse-semantic-focusRing-offset));outline:var(--gse-semantic-focusRing-width) solid var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset)}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{color:var(--gse-ui-button-ghost-default-foregroundColor);cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-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)}";const u={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},c=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,u)}getPaginationItemCountsRange(){if(this.totalItems)return e("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return e("div",{key:"cc214c663bea74f291e97a9a8b41416696b17fee",class:"gux-pagination-item-counts-container"},e("span",{key:"c7863d7e06bb7c9d5185c1bdbd052dc87754c050",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),this.getPaginationItemCountsRange())}get root(){return i(this)}};c.style="gux-pagination-item-counts .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}";export{g as gux_pagination_buttons,c as gux_pagination_item_counts}