genesys-spark-components 4.127.0 → 4.128.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 (574) hide show
  1. package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
  2. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  3. package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
  4. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
  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-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-badge.cjs.entry.js +2 -2
  14. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
  18. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  19. package/dist/cjs/gux-button_2.cjs.entry.js +5 -5
  20. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-card.cjs.entry.js +3 -3
  22. package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
  23. package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  28. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  31. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  32. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  33. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -7
  35. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  40. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
  41. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  42. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  43. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
  44. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +2 -2
  45. package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
  46. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  47. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +8 -8
  49. package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
  50. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
  51. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  52. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  53. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  54. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  55. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
  56. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  57. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
  58. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
  59. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  62. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  63. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  68. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  70. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
  73. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
  82. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
  83. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-popover-beta.cjs.entry.js +40 -9
  89. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +34 -17
  90. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  91. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  92. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  95. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +3 -3
  109. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
  114. package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
  115. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  117. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  118. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  120. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  121. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  123. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  124. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  125. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  126. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  127. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  128. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  129. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  130. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  131. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  133. package/dist/cjs/gux-time-beta.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +2 -2
  136. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  137. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  138. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  140. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +4 -4
  141. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  142. package/dist/cjs/gux-tooltip_2.cjs.entry.js +6 -6
  143. package/dist/cjs/{usage-1fadcfd1.js → usage-c453d95e.js} +1 -1
  144. package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +39 -8
  145. package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +33 -16
  146. package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
  147. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
  148. package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +3 -3
  149. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  150. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  151. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  152. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  153. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  154. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  155. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  156. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  157. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  158. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  159. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  160. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  161. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  162. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  163. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  164. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  165. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  166. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  167. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  168. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  169. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  170. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  171. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  172. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  173. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  174. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  175. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  176. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  177. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  178. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  179. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  180. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  181. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  182. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  183. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  184. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  185. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  186. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  187. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  188. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.css +8 -8
  189. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +3 -5
  190. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  191. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  192. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  193. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  194. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  195. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  196. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  197. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  198. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  199. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +2 -2
  200. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
  201. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  202. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  203. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  204. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  205. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  206. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  207. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  208. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  209. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  210. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  211. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  212. 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
  213. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  214. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  215. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  216. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  217. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  218. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  219. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  220. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  221. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  222. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  223. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  224. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  225. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  226. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  227. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  228. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  229. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  230. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  231. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  232. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  233. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  234. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  235. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  236. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  237. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  238. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  239. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  240. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  241. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  242. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  243. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  244. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  245. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  246. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  247. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  248. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  249. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  250. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  251. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  252. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  253. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  254. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  255. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  256. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  257. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  258. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  259. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  260. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  261. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  262. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  263. package/dist/esm/gux-accordion-section.entry.js +5 -5
  264. package/dist/esm/gux-accordion.entry.js +2 -2
  265. package/dist/esm/gux-action-button.entry.js +2 -2
  266. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  267. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
  268. package/dist/esm/gux-all-row-select.entry.js +1 -1
  269. package/dist/esm/gux-announce-beta.entry.js +1 -1
  270. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  271. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  272. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  273. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  274. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  275. package/dist/esm/gux-badge.entry.js +2 -2
  276. package/dist/esm/gux-blank-state.entry.js +2 -2
  277. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  278. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  279. package/dist/esm/gux-button-multi.entry.js +2 -2
  280. package/dist/esm/gux-button-slot.entry.js +2 -2
  281. package/dist/esm/gux-button_2.entry.js +5 -5
  282. package/dist/esm/gux-calendar.entry.js +2 -2
  283. package/dist/esm/gux-card.entry.js +3 -3
  284. package/dist/esm/gux-column-manager-item.entry.js +3 -3
  285. package/dist/esm/gux-column-manager.entry.js +2 -2
  286. package/dist/esm/gux-content-search.entry.js +3 -3
  287. package/dist/esm/gux-context-menu.entry.js +3 -3
  288. package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
  289. package/dist/esm/gux-create-option.entry.js +2 -2
  290. package/dist/esm/gux-date-beta.entry.js +1 -1
  291. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  292. package/dist/esm/gux-datepicker.entry.js +2 -2
  293. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  294. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  295. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  296. package/dist/esm/gux-dropdown-multi.entry.js +5 -7
  297. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  298. package/dist/esm/gux-dropdown_3.entry.js +4 -4
  299. package/dist/esm/gux-file-list-item.entry.js +3 -3
  300. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  301. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  302. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
  303. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  304. package/dist/esm/gux-form-field-color.entry.js +4 -4
  305. package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
  306. package/dist/esm/gux-form-field-file-beta.entry.js +2 -2
  307. package/dist/esm/gux-form-field-file.entry.js +2 -2
  308. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  309. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  310. package/dist/esm/gux-form-field-number_2.entry.js +8 -8
  311. package/dist/esm/gux-form-field-phone.entry.js +5 -5
  312. package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
  313. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  314. package/dist/esm/gux-form-field-range.entry.js +3 -3
  315. package/dist/esm/gux-form-field-search.entry.js +4 -4
  316. package/dist/esm/gux-form-field-select.entry.js +4 -4
  317. package/dist/esm/gux-form-field-text-like.entry.js +4 -4
  318. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  319. package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
  320. package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
  321. package/dist/esm/gux-form-footer.entry.js +1 -1
  322. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  323. package/dist/esm/gux-icon.entry.js +2 -2
  324. package/dist/esm/gux-inline-alert.entry.js +3 -3
  325. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  326. package/dist/esm/gux-link-beta.entry.js +1 -1
  327. package/dist/esm/gux-list-divider.entry.js +1 -1
  328. package/dist/esm/gux-list-item.entry.js +1 -1
  329. package/dist/esm/gux-list.entry.js +2 -2
  330. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  331. package/dist/esm/gux-loading-message.entry.js +2 -2
  332. package/dist/esm/gux-menu-option.entry.js +1 -1
  333. package/dist/esm/gux-menu.entry.js +1 -1
  334. package/dist/esm/gux-modal-legacy.entry.js +3 -3
  335. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  336. package/dist/esm/gux-modal.entry.js +2 -2
  337. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  338. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  339. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  340. package/dist/esm/gux-option-icon.entry.js +2 -2
  341. package/dist/esm/gux-option-multi.entry.js +2 -2
  342. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  343. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
  344. package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
  345. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  346. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  347. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  348. package/dist/esm/gux-pagination.entry.js +2 -2
  349. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  350. package/dist/esm/gux-popover-beta.entry.js +40 -9
  351. package/dist/esm/gux-popover-list-beta.entry.js +34 -17
  352. package/dist/esm/gux-popover-list.entry.js +3 -3
  353. package/dist/esm/gux-popup.entry.js +3 -3
  354. package/dist/esm/gux-radial-loading.entry.js +2 -2
  355. package/dist/esm/gux-radial-progress.entry.js +1 -1
  356. package/dist/esm/gux-rating.entry.js +2 -2
  357. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  358. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  359. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  360. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  361. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  362. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  363. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  364. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  365. package/dist/esm/gux-row-select.entry.js +2 -2
  366. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  367. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  368. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  369. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  370. package/dist/esm/gux-side-panel-beta.entry.js +4 -4
  371. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  372. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  373. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  374. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  375. package/dist/esm/gux-sort-control.entry.js +4 -4
  376. package/dist/esm/gux-submenu.entry.js +3 -3
  377. package/dist/esm/gux-switch-item.entry.js +1 -1
  378. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  379. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  380. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  381. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  382. package/dist/esm/gux-tab-list.entry.js +2 -2
  383. package/dist/esm/gux-tab-panel.entry.js +1 -1
  384. package/dist/esm/gux-tab.entry.js +2 -2
  385. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  386. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  387. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  388. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  389. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  390. package/dist/esm/gux-table.entry.js +2 -2
  391. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  392. package/dist/esm/gux-tabs.entry.js +2 -2
  393. package/dist/esm/gux-tag.entry.js +2 -2
  394. package/dist/esm/gux-text-highlight.entry.js +1 -1
  395. package/dist/esm/gux-time-beta.entry.js +2 -2
  396. package/dist/esm/gux-time-picker.entry.js +2 -2
  397. package/dist/esm/gux-time-zone-beta.entry.js +2 -2
  398. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  399. package/dist/esm/gux-toast.entry.js +3 -3
  400. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  401. package/dist/esm/gux-toggle.entry.js +3 -3
  402. package/dist/esm/gux-tooltip-base-beta_2.entry.js +4 -4
  403. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  404. package/dist/esm/gux-tooltip_2.entry.js +6 -6
  405. package/dist/esm/{usage-fabe3b03.js → usage-6f9d5b94.js} +1 -1
  406. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  407. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  408. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  409. package/dist/genesys-webcomponents/{p-6dfa1a43.entry.js → p-0151dac1.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-231dce32.entry.js → p-0371f7cf.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-dc598dfd.entry.js → p-05026a91.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-d9e2097c.entry.js → p-05716465.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-edcba2de.entry.js → p-097f9d85.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-3c19a6df.entry.js → p-099cca0d.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-62b3bdea.entry.js → p-0a4c0a86.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-acfd50ea.entry.js → p-0c205498.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-f329bf05.entry.js → p-0c22369f.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-7737cf50.entry.js → p-0e56967f.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/{p-bb9d7fcf.entry.js → p-0ea1c942.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/{p-5faef587.entry.js → p-1137d3e2.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-f2cc097d.entry.js → p-11cf9026.entry.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-509358fa.entry.js → p-1203abb7.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-5970bd16.entry.js → p-12e86389.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-3008a96b.entry.js → p-1427e14c.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-04c30cb2.entry.js → p-1502f3d9.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-89f961ea.entry.js → p-16d4ad66.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-f40c0fdb.entry.js → p-1721af12.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-c503d664.entry.js → p-189ee9b8.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-c9dbb7fe.entry.js → p-18f246e1.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-00c4e707.entry.js → p-1abb5536.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/p-2558ce60.entry.js +1 -0
  432. package/dist/genesys-webcomponents/{p-692456ce.entry.js → p-26b9eaa5.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-fce2e946.entry.js → p-28da696e.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-b11fbef7.entry.js → p-39031091.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/{p-7b2a984d.entry.js → p-3a54ca09.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-9e09039a.entry.js → p-3a83a32c.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-8670c671.entry.js → p-3ab0ae82.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-481921bf.entry.js → p-3b3082a2.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-6a4bc6cc.entry.js → p-3c8dcbb2.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/{p-ba60ae50.entry.js → p-3d169d1c.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-4d46bf82.entry.js → p-3e7df4e6.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-b1ea2727.entry.js → p-40b02a2f.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-52fbd3e1.entry.js → p-41b4b2a7.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-d85ca08c.entry.js → p-421e9402.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-58a3288b.entry.js → p-43857ee2.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-63574ae8.entry.js → p-44363673.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/p-45b030be.entry.js +1 -0
  448. package/dist/genesys-webcomponents/{p-2962f306.entry.js → p-45ffc0c9.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-12e336bd.entry.js → p-466d618f.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/p-46ab841c.entry.js +1 -0
  451. package/dist/genesys-webcomponents/{p-007356d7.entry.js → p-47f5322e.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-897e306a.entry.js → p-48dbb90e.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-a8095398.entry.js → p-4a21f999.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-4e72ce51.entry.js → p-4fe09377.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/p-501e82ff.entry.js +1 -0
  456. package/dist/genesys-webcomponents/{p-33870e96.entry.js → p-505c1e47.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/p-5126bef4.entry.js +1 -0
  458. package/dist/genesys-webcomponents/{p-8e5c26a9.entry.js → p-51bac42b.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-c2087ee3.entry.js → p-51c9f453.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-e9de4e17.entry.js → p-5337c9c3.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-b71a1116.entry.js → p-58571e48.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/{p-a651642f.entry.js → p-5f2f3020.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/p-5fb163fb.entry.js +1 -0
  464. package/dist/genesys-webcomponents/{p-7f8dcd32.entry.js → p-611976c6.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-8cfc6a45.entry.js → p-617588b3.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/p-621b710e.entry.js +1 -0
  467. package/dist/genesys-webcomponents/{p-d33761b7.entry.js → p-6236f056.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-32b5c204.entry.js → p-65290c12.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-8ffa0f9b.entry.js → p-66ef8c3d.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-0b81df67.entry.js → p-6963143c.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-4286616e.entry.js → p-6a419700.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/p-6b0ea318.entry.js +1 -0
  473. package/dist/genesys-webcomponents/{p-f63d3f0e.entry.js → p-6d5d8fd7.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-e34a8051.entry.js → p-6dd551c0.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-4c7f41b2.entry.js → p-6f1907ce.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-c6fe7c80.entry.js → p-70adefbe.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-ca688712.entry.js → p-71154d9b.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-abf0add0.js → p-71727c21.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-1a71edc3.entry.js → p-74b3c8c5.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-2c7ca45c.entry.js → p-75472d8d.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/p-7957e1e0.entry.js +1 -0
  482. package/dist/genesys-webcomponents/p-7a087d8e.entry.js +1 -0
  483. package/dist/genesys-webcomponents/p-7f35d55a.entry.js +1 -0
  484. package/dist/genesys-webcomponents/{p-e0f87017.entry.js → p-821654a2.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/p-8251564a.entry.js +1 -0
  486. package/dist/genesys-webcomponents/{p-7408d2c7.entry.js → p-84a2e6c8.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-988ecac5.entry.js → p-873224a0.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/p-890b8dc0.entry.js +1 -0
  489. package/dist/genesys-webcomponents/{p-c394eba4.entry.js → p-896e355d.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-cefaff82.entry.js → p-89a3cb1b.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-d29e1739.entry.js → p-89a810f6.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-fb618b91.entry.js → p-8c87b5e7.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-50ca3ba7.entry.js → p-8cfe22d8.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-a17091c2.entry.js → p-8dac5e35.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-98c830c1.entry.js → p-8dc75e1d.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-26a1c38e.entry.js → p-8ddf5218.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-faa3826e.entry.js → p-8e6ba625.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-b4b68641.entry.js → p-935f4307.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-728f5aee.entry.js → p-993374db.entry.js} +2 -2
  500. package/dist/genesys-webcomponents/{p-9bde1219.entry.js → p-9eefb3f1.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-d50de359.entry.js → p-9fda2c0f.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-a544f088.entry.js → p-a17528d3.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-71aa0a60.entry.js → p-a3d98400.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-0773b0e8.entry.js → p-a6a54ce5.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-7032a27e.entry.js → p-a9e1190e.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-ccde8e51.entry.js → p-aa06ab14.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-054abe6e.entry.js → p-ada5fc5b.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-a839dec1.entry.js → p-aee67882.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-a2915628.entry.js → p-afb23f20.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-0ecf0d6a.entry.js → p-b26476ff.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-e2840613.entry.js → p-b35d1b90.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-320fa6dc.entry.js → p-b390afcb.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-40564f05.entry.js → p-b3c65475.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-7424aaac.entry.js → p-b40b4ce4.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-d535573e.entry.js → p-b59a7e66.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-2879dace.entry.js → p-b9ebe8e9.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-ecc6aa5f.entry.js → p-ba03bb7f.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-b6d1eda5.entry.js → p-bb84607a.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-3b94efa5.entry.js → p-bd6b392c.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-b1aa0fec.entry.js → p-be560931.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-9336ede5.entry.js → p-be563c89.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-55770b31.entry.js → p-bf51f8eb.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-f05b5e7b.entry.js → p-c02e3ede.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-f1e487ef.entry.js → p-c21d096d.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-16226985.entry.js → p-c39f8e2a.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-fccdcaba.entry.js → p-c5b8883b.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-fe535d07.entry.js → p-c670c897.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-aa8459cf.entry.js → p-c6f02eb5.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-2bf911fc.entry.js → p-c9194560.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-e09fa653.entry.js → p-d166dc8a.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-aadfd32c.entry.js → p-d303b8f3.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-ae5d728d.entry.js → p-d5bc1087.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-6edc82cc.entry.js → p-d60a340d.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-45c3dbe0.entry.js → p-d8dacf5b.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-90093e7a.entry.js → p-d9d1a58c.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-9bd0bf98.entry.js → p-dc82795c.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-bff1db82.entry.js → p-ddc6238e.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/p-e094c677.entry.js +1 -0
  539. package/dist/genesys-webcomponents/{p-840908b6.entry.js → p-e4e9adc7.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/p-e5583784.entry.js +1 -0
  541. package/dist/genesys-webcomponents/{p-af17d942.entry.js → p-e58793a7.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-707bfa13.entry.js → p-e668c837.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-bc625507.entry.js → p-eb37b0fa.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-0b688abc.entry.js → p-ee2b9420.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-5c900901.entry.js → p-ee8da7a8.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/p-f061966f.entry.js +1 -0
  547. package/dist/genesys-webcomponents/{p-62c9550c.entry.js → p-f2b5d6e4.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-263bc89e.entry.js → p-f79147e9.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/p-f84a1e83.entry.js +1 -0
  550. package/dist/genesys-webcomponents/{p-8c769dc1.entry.js → p-f869dc6c.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-664c2921.entry.js → p-fce9f532.entry.js} +1 -1
  552. package/dist/stencil-wrapper.js +1 -1
  553. package/dist/types/components/beta/gux-popover-beta/gux-popover.d.ts +4 -0
  554. package/dist/types/components/beta/gux-popover-list-beta/gux-popover-list.d.ts +4 -0
  555. package/dist/types/components/stable/gux-dropdown-multi/gux-dropdown-multi.d.ts +0 -1
  556. package/dist/types/stencil-wrapper.d.ts +1 -1
  557. package/package.json +1 -1
  558. package/dist/genesys-webcomponents/p-0101235c.entry.js +0 -1
  559. package/dist/genesys-webcomponents/p-03ba308c.entry.js +0 -1
  560. package/dist/genesys-webcomponents/p-07d76a5c.entry.js +0 -1
  561. package/dist/genesys-webcomponents/p-109568d9.entry.js +0 -1
  562. package/dist/genesys-webcomponents/p-10d6c1ce.entry.js +0 -1
  563. package/dist/genesys-webcomponents/p-32333946.entry.js +0 -1
  564. package/dist/genesys-webcomponents/p-34b745f5.entry.js +0 -1
  565. package/dist/genesys-webcomponents/p-4dc9a0f9.entry.js +0 -1
  566. package/dist/genesys-webcomponents/p-52d6d137.entry.js +0 -1
  567. package/dist/genesys-webcomponents/p-58e0d071.entry.js +0 -1
  568. package/dist/genesys-webcomponents/p-6ed3ece6.entry.js +0 -1
  569. package/dist/genesys-webcomponents/p-7220be10.entry.js +0 -1
  570. package/dist/genesys-webcomponents/p-80a29aba.entry.js +0 -1
  571. package/dist/genesys-webcomponents/p-907e31c5.entry.js +0 -1
  572. package/dist/genesys-webcomponents/p-92266652.entry.js +0 -1
  573. package/dist/genesys-webcomponents/p-9c7597c1.entry.js +0 -1
  574. package/dist/genesys-webcomponents/p-f758645c.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as t,h as i,H as e,g as o,f as s}from"./p-c2a62a18.js";import{a as r,o as a,f as n,s as l,h as d,c}from"./p-864af39c.js";import{r as h}from"./p-0934300e.js";import{t as u}from"./p-71727c21.js";import{f as p}from"./p-9b0d3713.js";import{b as g}from"./p-cf0e7d3b.js";import{o as f}from"./p-52d53e47.js";import{O as v}from"./p-9df4dd07.js";import{O as m}from"./p-26772091.js";const b=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=h("gux-tooltip"),this.for=void 0,this.placement="bottom-start",this.accent="light",this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}handlePointerenter(){this.show()}handlePointerleave(){this.hide()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition=r(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[a(16),n(),l(),d(),f()];c(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:e})=>{var o;Object.assign(this.root.style,{left:`${t}px`,top:`${i}px`,visibility:(null===(o=e.hide)||void 0===o?void 0:o.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0,g((()=>{this.runUpdatePosition()}))}hide(){this.hideDelayTimeout=setTimeout((()=>{this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}),350)}getForElement(){return this.for?p(this.root,this.for):this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}setForElement(){this.forElement=this.getForElement(),this.forElement?(this.forElement.setAttribute("aria-describedby",this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t)))):this.logForAttributeError()}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){u(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(e,{key:"04a3d0e77731166a8af670fb883866719d375c3b",id:this.id,class:{"gux-show":this.isShown},role:"tooltip"},i("div",{key:"da7d047292ad63a023014be99c58ca6082b73bc1",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"fa7d1794cde83d266851e8342eec4d2186813cef",name:"content"},i("slot",{key:"4f3ada5741f7e946db1d247e02d71b2e122469e5"}))))}get root(){return o(this)}static get watchers(){return{for:["updateForElement"]}}};function x(t){return t.reduce(((t,i)=>{if("SLOT"===i.nodeName){const e=i.assignedNodes();return t.concat(x(e))}return t.concat(i.textContent)}),[]).map((t=>t.trim())).join(" ")}b.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:250px;border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);pointer-events:none;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";var w=function(t,i,e,o){var s,r=arguments.length,a=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,e,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(r<3?s(a):r>3?s(i,e,a):s(i,e))||a);return r>3&&a&&Object.defineProperty(i,e,a),a};const y=class{constructor(i){t(this,i),this.maxLines=void 0}async setShowTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.showTooltip())}async setHideTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.hideTooltip())}onMutation(){s(this.root)}onResize(){s(this.root)}getTooltipContent(){return x(Array.from(this.root.childNodes))||""}needsTruncation(){const t=this.root.shadowRoot.querySelector(".gux-truncate-slot-container");return(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)||(null==t?void 0:t.scrollHeight)>(null==t?void 0:t.offsetHeight)}renderTooltip(){return this.needsTruncation()?i("gux-tooltip",{"aria-hidden":"true",ref:t=>this.tooltipElement=t},i("div",{slot:"content"},this.getTooltipContent())):null}render(){var t;return i("div",{key:"0dca2c40ddc3d395335974a04999ac0a675a5834",class:{"gux-truncate-multi-line":Boolean(this.maxLines)}},i("span",{key:"04381fb28f65143eb98fde91c5b2f06e646e791e",class:{"gux-overflow-hidden":this.needsTruncation(),"gux-truncate-slot-container":!0},style:{webkitLineClamp:null===(t=this.maxLines)||void 0===t?void 0:t.toString()}},i("slot",{key:"077f91482bfa44c515fee450317723d70f5d5f16"})),this.renderTooltip())}get root(){return o(this)}};w([v({childList:!0,subtree:!0,characterData:!0})],y.prototype,"onMutation",null),w([m()],y.prototype,"onResize",null),y.style=":host{display:block;inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:inherit}::slotted(*){display:inline}.gux-truncate-multi-line{white-space:normal}.gux-truncate-multi-line .gux-truncate-slot-container{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}gux-tooltip{font-weight:normal;line-height:normal;text-align:start;overflow-wrap:break-word;white-space:normal}.gux-truncate-slot-container>*{display:inline}.gux-truncate-slot-container{display:block;text-overflow:ellipsis}.gux-overflow-hidden{overflow:hidden}";export{b as gux_tooltip,y as gux_truncate}
@@ -1 +1 @@
1
- import{r as e,c as t,h as o,H as r,g as i}from"./p-c2a62a18.js";import{b as a}from"./p-16feb2a1.js";import{c as s}from"./p-db201bbc.js";import"./p-4202e9f2.js";import"./p-a43079c8.js";import"./p-2c25e2f2.js";const n={activateReordering:"Activate reordering mode for {columnName} column"},d=class{constructor(o){e(this,o),this.internal_order_change=t(this,"internal_order_change",7),this.internal_keyboard_reorder_start=t(this,"internal_keyboard_reorder_start",7),this.internal_keyboard_reorder_move=t(this,"internal_keyboard_reorder_move",7),this.internal_keyboard_reorder_emit=t(this,"internal_keyboard_reorder_emit",7),this.internal_keyboard_reorder_finish=t(this,"internal_keyboard_reorder_finish",7),this.orderId=void 0,this.highlightActive=void 0,this.highlight=void 0,this.text=void 0,this.pendingReorder="none",this.isDragging=!1,this.isReordering=!1}async guxSetHighlight(e="",t=!1){this.highlight=e,this.highlightActive=t}async guxFocus(){this.reorderButtonElement.focus()}onBlur(){this.setReorderMode(!1)}onDragStart(e){this.isDragging=!0;const t=s(this.root);e.dataTransfer.setData("oldIndex",String(t)),e.dataTransfer.effectAllowed="move"}onDragEnter(e){e.dataTransfer.dropEffect="move",this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragOver(e){e.preventDefault(),this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragLeave(){this.pendingReorder="none"}onDragEnd(){this.isDragging=!1}onDrop(e){const t=Number(e.dataTransfer.getData("oldIndex")),o=s(this.root);e.stopPropagation(),e.stopImmediatePropagation(),this.pendingReorder="none";const r=function(e,t,o){return e<t?o?t-1:t:o?t:t+1}(t,o,this.mouseOnTopHalf(e));return this.internal_order_change.emit({oldIndex:t,newIndex:r}),!1}mouseOnTopHalf(e){const t=this.root.getBoundingClientRect();return e.clientY-t.top<=(t.bottom-t.top)/2}onSlotChange(){this.text=this.root.querySelector("gux-form-field-checkbox label").textContent}setReorderMode(e,t=!1){this.isReordering!==e&&(this.isReordering=e,e?this.internal_keyboard_reorder_start.emit(this.text):(t&&this.internal_keyboard_reorder_emit.emit(),this.internal_keyboard_reorder_finish.emit()))}toggleReorderMode(){this.setReorderMode(!this.isReordering,!0)}keyboardReorder(e){if(this.isReordering)switch(e.key){case"ArrowUp":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1,column:this.text});break;case"ArrowDown":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1,column:this.text});break;case"Home":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1/0,column:this.text});break;case"End":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1/0,column:this.text});break;case"Escape":e.preventDefault(),this.setReorderMode(!1)}}async componentWillLoad(){this.i18n=await a(this.root,n)}render(){return o(r,{key:"ce1e492fa59d2528c1f46eb6ef374b08c45f1cab",draggable:"true"},o("div",{key:"865de5c7b735d616c69af0fe78abf436249bedd1",class:{"gux-container":!0,[`gux-drop-${this.pendingReorder}`]:!0,"gux-dragging":this.isDragging}},o("button",{key:"0b3cee32eb1ee396e8415b9d832d1e229ace7d94",class:{"gux-reorder":!0,"gux-reordering":this.isReordering},type:"button",onClick:()=>this.toggleReorderMode(),onKeyDown:e=>this.keyboardReorder(e),ref:e=>this.reorderButtonElement=e},o("gux-icon",{key:"a5f81dca5e9cab01720344772feab18a004940b5","icon-name":"fa/grip-vertical-solid",decorative:!0,size:"small"}),o("span",{key:"6ebd4d11790a6ef4e966e63fe08f9cfc23ca7faa",class:"gux-sr-only"},this.i18n("activateReordering",{columnName:this.text}))),o("div",{key:"b5ec685bd8ca953222d7cd77a15b5b5661085d53",class:"gux-select"},o("slot",{key:"cbf50779742ef28d8d8a1416e0ab86cc74bca45c",onSlotchange:()=>this.onSlotChange()}),o("gux-text-highlight",{key:"603a44c15bdd4f75ce3f3aca231b6dc6a43f105d",highlight:this.highlight,text:this.text,strategy:"contains",dimmed:!this.highlightActive}))))}get root(){return i(this)}};d.style=":host([gs-reorder-indicator=above]) .gux-container{border-block-start-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}:host([gs-reorder-indicator=below]) .gux-container{border-block-end-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-editColumn-editColumnItem-gap);place-content:stretch flex-start;align-items:center;margin-block-end:-2px;border-block-start:2px solid transparent;border-block-end:2px solid transparent}.gux-container.gux-drop-above{border-block-start-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container.gux-drop-below{border-block-end-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container.gux-dragging{border-block-start-color:transparent;border-block-end-color:transparent;opacity:0.4}.gux-container .gux-reorder{all:unset;display:flex;flex:0 1 auto;align-self:auto;order:0;color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-foregroundColor);cursor:grab;border-radius:4px}.gux-container .gux-reorder:active{pointer-events:none;cursor:grabbing !important}.gux-container .gux-reorder:active gux-icon,.gux-container .gux-reorder:focus-visible gux-icon{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-active-foregroundColor)}.gux-container .gux-reorder:hover gux-icon{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-hover-foregroundColor)}.gux-container .gux-reorder:hover,.gux-container .gux-reorder:focus-visible{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus)}.gux-container .gux-select{position:relative;flex:1 1 auto;align-self:auto;order:1}.gux-container .gux-select gux-text-highlight{position:absolute;inset-block-start:1px;inset-inline-start:calc(var(--gse-ui-icon-small-size) + var(--gse-ui-checkbox-gap));color:transparent;pointer-events:none}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}";export{d as gux_column_manager_item}
1
+ import{r as e,c as t,h as o,H as r,g as i}from"./p-c2a62a18.js";import{b as a}from"./p-16feb2a1.js";import{c as s}from"./p-db201bbc.js";import"./p-4202e9f2.js";import"./p-a43079c8.js";import"./p-2c25e2f2.js";const n={activateReordering:"Activate reordering mode for {columnName} column"},d=class{constructor(o){e(this,o),this.internal_order_change=t(this,"internal_order_change",7),this.internal_keyboard_reorder_start=t(this,"internal_keyboard_reorder_start",7),this.internal_keyboard_reorder_move=t(this,"internal_keyboard_reorder_move",7),this.internal_keyboard_reorder_emit=t(this,"internal_keyboard_reorder_emit",7),this.internal_keyboard_reorder_finish=t(this,"internal_keyboard_reorder_finish",7),this.orderId=void 0,this.highlightActive=void 0,this.highlight=void 0,this.text=void 0,this.pendingReorder="none",this.isDragging=!1,this.isReordering=!1}async guxSetHighlight(e="",t=!1){this.highlight=e,this.highlightActive=t}async guxFocus(){this.reorderButtonElement.focus()}onBlur(){this.setReorderMode(!1)}onDragStart(e){this.isDragging=!0;const t=s(this.root);e.dataTransfer.setData("oldIndex",String(t)),e.dataTransfer.effectAllowed="move"}onDragEnter(e){e.dataTransfer.dropEffect="move",this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragOver(e){e.preventDefault(),this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragLeave(){this.pendingReorder="none"}onDragEnd(){this.isDragging=!1}onDrop(e){const t=Number(e.dataTransfer.getData("oldIndex")),o=s(this.root);e.stopPropagation(),e.stopImmediatePropagation(),this.pendingReorder="none";const r=function(e,t,o){return e<t?o?t-1:t:o?t:t+1}(t,o,this.mouseOnTopHalf(e));return this.internal_order_change.emit({oldIndex:t,newIndex:r}),!1}mouseOnTopHalf(e){const t=this.root.getBoundingClientRect();return e.clientY-t.top<=(t.bottom-t.top)/2}onSlotChange(){this.text=this.root.querySelector("gux-form-field-checkbox label").textContent}setReorderMode(e,t=!1){this.isReordering!==e&&(this.isReordering=e,e?this.internal_keyboard_reorder_start.emit(this.text):(t&&this.internal_keyboard_reorder_emit.emit(),this.internal_keyboard_reorder_finish.emit()))}toggleReorderMode(){this.setReorderMode(!this.isReordering,!0)}keyboardReorder(e){if(this.isReordering)switch(e.key){case"ArrowUp":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1,column:this.text});break;case"ArrowDown":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1,column:this.text});break;case"Home":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1/0,column:this.text});break;case"End":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1/0,column:this.text});break;case"Escape":e.preventDefault(),this.setReorderMode(!1)}}async componentWillLoad(){this.i18n=await a(this.root,n)}render(){return o(r,{key:"6be3063ad0a69ae45e4682c1b9c5bc66ff574bd5",draggable:"true"},o("div",{key:"5a273f0517b5bdc68d1ec2cd418a5c5eee1ef869",class:{"gux-container":!0,[`gux-drop-${this.pendingReorder}`]:!0,"gux-dragging":this.isDragging}},o("button",{key:"2c7b628ce020d2e7e6005733084c81fd5749ee11",class:{"gux-reorder":!0,"gux-reordering":this.isReordering},type:"button",onClick:()=>this.toggleReorderMode(),onKeyDown:e=>this.keyboardReorder(e),ref:e=>this.reorderButtonElement=e},o("gux-icon",{key:"a683ab3efa22a3824d025407fd44883e98cac45e","icon-name":"fa/grip-vertical-solid",decorative:!0,size:"small"}),o("span",{key:"7f3295e9287a273ad7811d4363fd982743074460",class:"gux-sr-only"},this.i18n("activateReordering",{columnName:this.text}))),o("div",{key:"bb4c3a8d0dd4631ae3266255e7b6edb6c138292a",class:"gux-select"},o("slot",{key:"722f5b21b773c98142af421aa1a95e3870b77089",onSlotchange:()=>this.onSlotChange()}),o("gux-text-highlight",{key:"de641c2e91df2d8932805051bec285d2090d54ac",highlight:this.highlight,text:this.text,strategy:"contains",dimmed:!this.highlightActive}))))}get root(){return i(this)}};d.style=":host([gs-reorder-indicator=above]) .gux-container{border-block-start-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}:host([gs-reorder-indicator=below]) .gux-container{border-block-end-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-editColumn-editColumnItem-gap);place-content:stretch flex-start;align-items:center;margin-block-end:-2px;border-block-start:2px solid transparent;border-block-end:2px solid transparent}.gux-container.gux-drop-above{border-block-start-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container.gux-drop-below{border-block-end-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container.gux-dragging{border-block-start-color:transparent;border-block-end-color:transparent;opacity:0.4}.gux-container .gux-reorder{all:unset;display:flex;flex:0 1 auto;align-self:auto;order:0;color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-foregroundColor);cursor:grab;border-radius:4px}.gux-container .gux-reorder:active{pointer-events:none;cursor:grabbing !important}.gux-container .gux-reorder:active gux-icon,.gux-container .gux-reorder:focus-visible gux-icon{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-active-foregroundColor)}.gux-container .gux-reorder:hover gux-icon{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-hover-foregroundColor)}.gux-container .gux-reorder:hover,.gux-container .gux-reorder:focus-visible{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus)}.gux-container .gux-select{position:relative;flex:1 1 auto;align-self:auto;order:1}.gux-container .gux-select gux-text-highlight{position:absolute;inset-block-start:1px;inset-inline-start:calc(var(--gse-ui-icon-small-size) + var(--gse-ui-checkbox-gap));color:transparent;pointer-events:none}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}";export{d as gux_column_manager_item}
@@ -1 +1 @@
1
- import{r as t,c as e,f as i,h as o,g as s,H as n}from"./p-c2a62a18.js";import{O as r}from"./p-6a2b1013.js";import{b as a}from"./p-16feb2a1.js";import{s as u}from"./p-2c25e2f2.js";import{o as l,c as d}from"./p-f4751a15.js";import{b as c}from"./p-cf0e7d3b.js";import{t as h}from"./p-abf0add0.js";import{O as g}from"./p-9df4dd07.js";import{s as f,m as p,g as x,a as b,c as v,h as m,b as w,d as C,e as y,f as k,i as z,j as F,k as O,l as T,n as j,o as S}from"./p-870844dc.js";import{h as E}from"./p-6d8b4027.js";import{w as L}from"./p-e97879b4.js";import{g as W}from"./p-4202e9f2.js";import{r as H}from"./p-0934300e.js";const R={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"};var I=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const D=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.value=void 0,this.disabled=!1,this.required=!1,this.loading=!1,this.placeholder=void 0,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){t||(this.filter="")}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("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,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)}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&&c((()=>{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(){h(this.root),this.i18n=await a(this.root,R),l(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,u(this.root,"input"),u(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){var e;const i=t.length;if(i>0&&!this.loading){const o=x(this.listboxElement,t);if(o&&"custom"!==this.filterType){const t=null===(e=b(o))||void 0===e?void 0:e.textContent.trim();return null==t?void 0:t.substring(i)}}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":return this.renderIconOption(t);default:return e}}renderOption(t){let e=t.textContent;if(E(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),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},t.textContent))}renderFilterInputField(){if(this.expanded&&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",{onClick:this.fieldButtonClick.bind(this),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),disabled:this.disabled})))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-expanded":this.expanded&&this.isFilterable(),"gux-target-container-collapsed":!(this.expanded&&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.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:"e64394b81bdb9bd6dbb77dec69f9405ab9f3cdd5",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 s(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};I([r({triggerEvents:"mousedown"})],D.prototype,"onClickOutside",null),I([g({childList:!0,subtree:!0})],D.prototype,"onMutation",null),D.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-expanded{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-expanded,.gux-target-container-collapsed .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{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-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{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-collapsed .gux-field-button:hover,.gux-target-container-expanded: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-expanded{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-expanded: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-expanded: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-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{outline:none;border:none}.gux-target-container-expanded .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-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .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-collapsed .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-collapsed .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"].join(","),B={noMatches:"No matches",loading:"Loading..."},K=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.filterType="none",this.disabled=!1,this.emptyMessage=void 0,this.selectedValues=[],this.listboxOptions=[],this.allListboxOptionsFiltered=void 0}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 O(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||T(this.root,t.key)}onKeyup(t){" "!==t.key||O(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){L(A,t,(t=>{S(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){O(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.value&&(this.selectedValues=this.value.split(",")),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),u(this.root,"input"),u(this.root,"change")}async componentWillLoad(){h(this.root),this.i18n=await a(this.root,B),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!j(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(n,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return s(this)}};K.style=":host{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 M=class{constructor(e){t(this,e),this.value=void 0,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(){this.hasSubtext=E(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const t=W("gux-listbox",this.root);return null==t?void 0:t.disabled}render(){return o(n,{key:"9e48195c318f9299cf5582c1d1bd46c5a0d336ec",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":this.disabled.toString()},o("div",{key:"7dd2e74b43d865b9eafa987ca022037c54ecd778",class:"gux-option-wrapper"},o("gux-truncate",{key:"914f40b490bda7c3baff799f43727fc17323048f",ref:t=>this.truncateElement=t},o("slot",{key:"6d5ddf51a8f2eabb468283923ae2b35d423e8d24"})),o("slot",{key:"2c74027ca797f57487b32dbc89606b8b8ffa5349",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return s(this)}static get watchers(){return{active:["handleActive"]}}};M.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);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);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%}: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){place-content:stretch flex-start;block-size:auto}: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{D as gux_dropdown,K as gux_listbox,M as gux_option}
1
+ import{r as t,c as e,f as i,h as o,g as s,H as n}from"./p-c2a62a18.js";import{O as r}from"./p-6a2b1013.js";import{b as a}from"./p-16feb2a1.js";import{s as u}from"./p-2c25e2f2.js";import{o as l,c as d}from"./p-f4751a15.js";import{b as c}from"./p-cf0e7d3b.js";import{t as h}from"./p-71727c21.js";import{O as g}from"./p-9df4dd07.js";import{s as f,m as p,g as x,a as b,c as v,h as m,b as w,d as C,e as y,f as k,i as z,j as F,k as O,l as T,n as j,o as S}from"./p-870844dc.js";import{h as E}from"./p-6d8b4027.js";import{w as L}from"./p-e97879b4.js";import{g as W}from"./p-4202e9f2.js";import{r as H}from"./p-0934300e.js";const R={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"};var I=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const D=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.value=void 0,this.disabled=!1,this.required=!1,this.loading=!1,this.placeholder=void 0,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){t||(this.filter="")}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("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,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)}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&&c((()=>{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(){h(this.root),this.i18n=await a(this.root,R),l(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,u(this.root,"input"),u(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){var e;const i=t.length;if(i>0&&!this.loading){const o=x(this.listboxElement,t);if(o&&"custom"!==this.filterType){const t=null===(e=b(o))||void 0===e?void 0:e.textContent.trim();return null==t?void 0:t.substring(i)}}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":return this.renderIconOption(t);default:return e}}renderOption(t){let e=t.textContent;if(E(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),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},t.textContent))}renderFilterInputField(){if(this.expanded&&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",{onClick:this.fieldButtonClick.bind(this),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),disabled:this.disabled})))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-expanded":this.expanded&&this.isFilterable(),"gux-target-container-collapsed":!(this.expanded&&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.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:"15dcf2e43c4b3189c504d0cadb7be7c8f3023bca",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 s(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};I([r({triggerEvents:"mousedown"})],D.prototype,"onClickOutside",null),I([g({childList:!0,subtree:!0})],D.prototype,"onMutation",null),D.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-expanded{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-expanded,.gux-target-container-collapsed .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{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-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{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-collapsed .gux-field-button:hover,.gux-target-container-expanded: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-expanded{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-expanded: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-expanded: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-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{outline:none;border:none}.gux-target-container-expanded .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-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .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-collapsed .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-collapsed .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"].join(","),B={noMatches:"No matches",loading:"Loading..."},K=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.filterType="none",this.disabled=!1,this.emptyMessage=void 0,this.selectedValues=[],this.listboxOptions=[],this.allListboxOptionsFiltered=void 0}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 O(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||T(this.root,t.key)}onKeyup(t){" "!==t.key||O(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){L(A,t,(t=>{S(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){O(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.value&&(this.selectedValues=this.value.split(",")),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),u(this.root,"input"),u(this.root,"change")}async componentWillLoad(){h(this.root),this.i18n=await a(this.root,B),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!j(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(n,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return s(this)}};K.style=":host{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 M=class{constructor(e){t(this,e),this.value=void 0,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(){this.hasSubtext=E(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const t=W("gux-listbox",this.root);return null==t?void 0:t.disabled}render(){return o(n,{key:"d88956b5636fcc1bd323b6594710704d12eea8af",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":this.disabled.toString()},o("div",{key:"f8d3cdfe0fceab214cff38ec6d7cc55377aa01db",class:"gux-option-wrapper"},o("gux-truncate",{key:"eb029c4c3acced018e21390a25add637368e0eb2",ref:t=>this.truncateElement=t},o("slot",{key:"f1862dc525747e03427a017ab69e293aa5f7982d"})),o("slot",{key:"5934c332ae3d1bdcdc60785b0cc098fc3996cad4",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return s(this)}static get watchers(){return{active:["handleActive"]}}};M.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);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);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%}: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){place-content:stretch flex-start;block-size:auto}: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{D as gux_dropdown,K as gux_listbox,M as gux_option}
@@ -1 +1 @@
1
- import{r as t,h as e,g as o}from"./p-c2a62a18.js";import{t as a}from"./p-abf0add0.js";import{g as i}from"./p-0268a3e8.js";const r=class{constructor(e){t(this,e),this.iconName=void 0,this.placement="right"}componentWillLoad(){a(this.root)}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}render(){return e("div",{key:"b1ab7cde7ab8293906afea3263feb09701769426",class:"gux-icon-tooltip"},e("gux-screen-reader-beta",{key:"ea6a172ba645847dd5aedb6ddfd4141a10ea272a"},e("slot",{key:"505426b503eb600716ce006271edbb618e1b57c8",name:"content"})),e("gux-icon",{key:"79f5a63026e7b66d9dad62c93227fe6bbe8ae0cc","icon-name":this.iconName,size:"small",decorative:!0}),e("gux-tooltip-beta",{key:"b05c706231c1d7f2341136feedd56e067ae61b91",placement:this.placement,ref:t=>this.tooltip=t},e("div",{key:"c1f926ba7d40a87cc67aa8e9edf9bd24fdbbf878",slot:"content"},i(this.root,"content"))))}get root(){return o(this)}};r.style=".gux-icon-tooltip{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-icon-tooltip gux-tooltip{padding-inline-start:0}.gux-icon-tooltip gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}";export{r as gux_icon_tooltip_beta}
1
+ import{r as t,h as e,g as o}from"./p-c2a62a18.js";import{t as i}from"./p-71727c21.js";import{g as a}from"./p-0268a3e8.js";const r=class{constructor(e){t(this,e),this.iconName=void 0,this.placement="right"}componentWillLoad(){i(this.root)}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}render(){return e("div",{key:"b1ab7cde7ab8293906afea3263feb09701769426",class:"gux-icon-tooltip"},e("gux-screen-reader-beta",{key:"ea6a172ba645847dd5aedb6ddfd4141a10ea272a"},e("slot",{key:"505426b503eb600716ce006271edbb618e1b57c8",name:"content"})),e("gux-icon",{key:"79f5a63026e7b66d9dad62c93227fe6bbe8ae0cc","icon-name":this.iconName,size:"small",decorative:!0}),e("gux-tooltip-beta",{key:"b05c706231c1d7f2341136feedd56e067ae61b91",placement:this.placement,ref:t=>this.tooltip=t},e("div",{key:"c1f926ba7d40a87cc67aa8e9edf9bd24fdbbf878",slot:"content"},a(this.root,"content"))))}get root(){return o(this)}};r.style=".gux-icon-tooltip{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-icon-tooltip gux-tooltip{padding-inline-start:0}.gux-icon-tooltip gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}";export{r as gux_icon_tooltip_beta}
@@ -1 +1 @@
1
- import{r as t,f as e,d as i,h as a,H as o,g as n}from"./p-c2a62a18.js";import{O as s}from"./p-26772091.js";import{O as r}from"./p-9df4dd07.js";import{t as l}from"./p-abf0add0.js";import{g as d}from"./p-1ccc4961.js";import{a as c}from"./p-cf0e7d3b.js";function u(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function h(t,...e){e.flat().filter((t=>null!=t&&!(null==t?void 0:t.hasAttribute("icon-only")))).forEach((e=>e.iconOnly=t))}var b=function(t,e,i,a){var o,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(n<3?o(s):n>3?o(e,i,s):o(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const f=class{constructor(e){t(this,e),this.minimumSizes={full:0,iconOnly:0,condensed:0},this.displayedLayout="full",this.hasContextDivider=!1}onMutation(){this.hasContextDivider=this.needsContextDivider(),e(this.root)}recordLayoutMinSize(){i((()=>{var t,e,i;const a=0|(null===(t=this.searchAndFilterContainer)||void 0===t?void 0:t.clientWidth),o=0|(null===(e=this.actionsContainer)||void 0===e?void 0:e.clientWidth),n=0|(null===(i=this.minControlSize)||void 0===i?void 0:i.clientWidth);this.minimumSizes[this.displayedLayout]=a+o+n}))}get minControlSize(){return this.root.shadowRoot.querySelector(".section-spacing")}get actionsContainer(){return this.root.shadowRoot.querySelector(".gux-contextual-permanent-primary")}get searchAndFilterContainer(){return this.root.shadowRoot.querySelector(".search-filter-container")}get filterSlot(){return d(this.root,"search-and-filter")}get menuActionSlot(){return d(this.root,"menu-actions")}get permanentSlot(){return d(this.root,"permanent-actions")}get contextualSlot(){return d(this.root,"contextual-actions")}get primaryAction(){var t;return null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-table-toolbar-custom-action[slot]")}get permanentActions(){var t,e;return(null===(t=this.permanentSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.permanentSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get menuActionsItems(){var t,e;if(null===(t=this.menuActionSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.menuActionSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get contextualActions(){var t,e;return(null===(t=this.contextualSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.contextualSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get filterActions(){var t,e;return(null===(t=this.filterSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.filterSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get allFilterContextual(){var t;return null===(t=this.filterActions)||void 0===t?void 0:t.concat(this.contextualActions)}needsContextDivider(){var t;return(null===(t=this.contextualActions)||void 0===t?void 0:t.length)&&this.contextualSlot!==this.root.lastElementChild}renderMenu(){var t;return Boolean((null===(t=this.menuActionsItems)||void 0===t?void 0:t.length)||"condensed"==this.displayedLayout)}renderFullLayout(){this.displayedLayout="full",h(!1,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleDown(){this.displayedLayout="iconOnly",h(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleUp(){var t,e;this.displayedLayout="iconOnly",u(this.permanentActions,"secondary"),u(this.primaryAction,"primary"),h(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions),this.permanentActions&&(null===(t=this.root)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.root)||void 0===e||e.appendChild(this.primaryAction))}renderCondensedLayout(){var t,e;this.displayedLayout="condensed",this.permanentActions&&(null===(t=this.menuActionSlot)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.menuActionSlot)||void 0===e||e.appendChild(this.primaryAction)),h(!0,...this.allFilterContextual),h(!1,...this.permanentActions),h(!1,this.primaryAction),u(this.menuActionsItems,"ghost")}componentWillRender(){l(this.root),this.hasContextDivider=this.needsContextDivider()}componentDidLoad(){c((()=>{this.recordLayoutMinSize(),this.checkResponsiveLayout()})),u(this.menuActionsItems,"ghost")}componentDidUpdate(){this.recordLayoutMinSize(),this.checkResponsiveLayout()}checkResponsiveLayout(){i((()=>{const t=this.root.clientWidth;t<=this.minimumSizes.iconOnly?"iconOnly"==this.displayedLayout&&this.renderCondensedLayout():t<=this.minimumSizes.full?"full"==this.displayedLayout?this.renderIconOnlyLayoutScaleDown():"condensed"==this.displayedLayout&&this.renderIconOnlyLayoutScaleUp():this.minimumSizes.iconOnly>this.minimumSizes.full?this.renderIconOnlyLayoutScaleUp():this.renderFullLayout()}))}render(){return a(o,{key:"a23b728c0a4d1958b0446ba7f9a77815f8b27be5",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"0a99f7d012a62ee2e18fd157337da1f8b1f8d2c2",class:"search-filter-container"},a("slot",{key:"4f6b1347af322d14ce5bce545c9acae19748ca9c",name:"search-and-filter"})),a("div",{key:"5dfeb6b458a6d728db1d5d63cd9eedb2f8f87039",class:"section-spacing"}),a("div",{key:"30ea1af6c04c6ff261e2053bff13d334194e7c7b",class:"gux-contextual-permanent-primary"},a("div",{key:"e75366075c68a6fb0d80a73f63468f0d3f102864",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"2899e19d0fc4010bf418fb51c3df119f1b67e6cc",name:"contextual-actions"})),a("div",{key:"90b6ee004b495eb7c395bc671890bf68d13f9b40",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"350b7b79f825af305d25850928dec7084c5958b7",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"85fa7a386bafd06a2e5732bdb135bf6d96e8098a","show-menu":this.renderMenu()},a("slot",{key:"ad8f1dd4cf1fbd3abafff817704588d6f115358d",name:"menu-actions"})),a("slot",{key:"e4c55a983321e93be4066309f0a2f3c054063cd8",name:"primary-action"}))))}get root(){return n(this)}};b([r({childList:!0,subtree:!0})],f.prototype,"onMutation",null),b([s()],f.prototype,"checkResponsiveLayout",null),f.style=":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;inline-size:100%;max-block-size:var(--gse-ui-dataTableItems-tableToolbar-height);visibility:hidden;transition:visibility 0s 0.5s;}@keyframes show-toolbar{to{visibility:visible}}:host .search-filter-container{min-inline-size:260px;padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host slot[name=search-and-filter]::slotted(*){display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-start;align-items:center}:host .section-spacing{display:flex;flex-direction:row;min-inline-size:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host .gux-contextual-permanent-primary slot[name=permanent-actions]::slotted(*),:host .gux-contextual-permanent-primary slot[name=contextual-actions]::slotted(*){display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-end;align-items:center}:host .gux-contextual-permanent-primary .gux-contextual-wrapper{padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap);border-inline-end:var(--gse-ui-dataTableItems-tableToolbar-divider-width) solid var(--gse-ui-dataTableItems-tableToolbar-dividerColor)}:host .gux-contextual-permanent-primary .gux-permanent-menu-primary-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);margin-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}";export{f as gux_table_toolbar}
1
+ import{r as t,f as e,d as i,h as a,H as o,g as n}from"./p-c2a62a18.js";import{O as s}from"./p-26772091.js";import{O as r}from"./p-9df4dd07.js";import{t as l}from"./p-71727c21.js";import{g as c}from"./p-1ccc4961.js";import{a as d}from"./p-cf0e7d3b.js";function u(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function h(t,...e){e.flat().filter((t=>null!=t&&!(null==t?void 0:t.hasAttribute("icon-only")))).forEach((e=>e.iconOnly=t))}var b=function(t,e,i,a){var o,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(n<3?o(s):n>3?o(e,i,s):o(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const p=class{constructor(e){t(this,e),this.minimumSizes={full:0,iconOnly:0,condensed:0},this.displayedLayout="full",this.hasContextDivider=!1}onMutation(){this.hasContextDivider=this.needsContextDivider(),e(this.root)}recordLayoutMinSize(){i((()=>{var t,e,i;const a=0|(null===(t=this.searchAndFilterContainer)||void 0===t?void 0:t.clientWidth),o=0|(null===(e=this.actionsContainer)||void 0===e?void 0:e.clientWidth),n=0|(null===(i=this.minControlSize)||void 0===i?void 0:i.clientWidth);this.minimumSizes[this.displayedLayout]=a+o+n}))}get minControlSize(){return this.root.shadowRoot.querySelector(".section-spacing")}get actionsContainer(){return this.root.shadowRoot.querySelector(".gux-contextual-permanent-primary")}get searchAndFilterContainer(){return this.root.shadowRoot.querySelector(".search-filter-container")}get filterSlot(){return c(this.root,"search-and-filter")}get menuActionSlot(){return c(this.root,"menu-actions")}get permanentSlot(){return c(this.root,"permanent-actions")}get contextualSlot(){return c(this.root,"contextual-actions")}get primaryAction(){var t;return null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-table-toolbar-custom-action[slot]")}get permanentActions(){var t,e;return(null===(t=this.permanentSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.permanentSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get menuActionsItems(){var t,e;if(null===(t=this.menuActionSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.menuActionSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get contextualActions(){var t,e;return(null===(t=this.contextualSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.contextualSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get filterActions(){var t,e;return(null===(t=this.filterSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.filterSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get allFilterContextual(){var t;return null===(t=this.filterActions)||void 0===t?void 0:t.concat(this.contextualActions)}needsContextDivider(){var t;return(null===(t=this.contextualActions)||void 0===t?void 0:t.length)&&this.contextualSlot!==this.root.lastElementChild}renderMenu(){var t;return Boolean((null===(t=this.menuActionsItems)||void 0===t?void 0:t.length)||"condensed"==this.displayedLayout)}renderFullLayout(){this.displayedLayout="full",h(!1,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleDown(){this.displayedLayout="iconOnly",h(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleUp(){var t,e;this.displayedLayout="iconOnly",u(this.permanentActions,"secondary"),u(this.primaryAction,"primary"),h(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions),this.permanentActions&&(null===(t=this.root)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.root)||void 0===e||e.appendChild(this.primaryAction))}renderCondensedLayout(){var t,e;this.displayedLayout="condensed",this.permanentActions&&(null===(t=this.menuActionSlot)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.menuActionSlot)||void 0===e||e.appendChild(this.primaryAction)),h(!0,...this.allFilterContextual),h(!1,...this.permanentActions),h(!1,this.primaryAction),u(this.menuActionsItems,"ghost")}componentWillRender(){l(this.root),this.hasContextDivider=this.needsContextDivider()}componentDidLoad(){d((()=>{this.recordLayoutMinSize(),this.checkResponsiveLayout()})),u(this.menuActionsItems,"ghost")}componentDidUpdate(){this.recordLayoutMinSize(),this.checkResponsiveLayout()}checkResponsiveLayout(){i((()=>{const t=this.root.clientWidth;t<=this.minimumSizes.iconOnly?"iconOnly"==this.displayedLayout&&this.renderCondensedLayout():t<=this.minimumSizes.full?"full"==this.displayedLayout?this.renderIconOnlyLayoutScaleDown():"condensed"==this.displayedLayout&&this.renderIconOnlyLayoutScaleUp():this.minimumSizes.iconOnly>this.minimumSizes.full?this.renderIconOnlyLayoutScaleUp():this.renderFullLayout()}))}render(){return a(o,{key:"1f8056a3923c0325e4474a26701aa53d0c29e863",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"efb11815f22eb109c62db0b946e41b6b9e77f18f",class:"search-filter-container"},a("slot",{key:"fc7fb613d14d77e8aed5300b14137ec8406af2ad",name:"search-and-filter"})),a("div",{key:"bd1d90c034ecdd08a4cbd038ea1bed68e4d7efc0",class:"section-spacing"}),a("div",{key:"f41ff75300c1ae8fc86815be725110e209b15ba5",class:"gux-contextual-permanent-primary"},a("div",{key:"3326995fb789bc59ade43f4531f4ad3f54d923ce",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"3681930e8e5c62482f13dc70f6b91d4f951e14ac",name:"contextual-actions"})),a("div",{key:"d45cdef7337ad04ff5a50a0aa61560dc5ae01a19",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"63b2ab4c7f382c6ff8ce2c375710ae6873c3d00b",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"9a45ea60a11abd66ea22ede9ccbd9f54cfa5cc4d","show-menu":this.renderMenu()},a("slot",{key:"cd63d4b3f3cbeb2e01072977a281dc84bc7f5e4f",name:"menu-actions"})),a("slot",{key:"38458776b6add3052aa4b45fcb132ec1c16c0c16",name:"primary-action"}))))}get root(){return n(this)}};b([r({childList:!0,subtree:!0})],p.prototype,"onMutation",null),b([s()],p.prototype,"checkResponsiveLayout",null),p.style=":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;inline-size:100%;max-block-size:var(--gse-ui-dataTableItems-tableToolbar-height);visibility:hidden;transition:visibility 0s 0.5s;}@keyframes show-toolbar{to{visibility:visible}}:host .search-filter-container{min-inline-size:260px;padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host slot[name=search-and-filter]::slotted(*){display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-start;align-items:center}:host .section-spacing{display:flex;flex-direction:row;min-inline-size:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host .gux-contextual-permanent-primary slot[name=permanent-actions]::slotted(*),:host .gux-contextual-permanent-primary slot[name=contextual-actions]::slotted(*){display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-end;align-items:center}:host .gux-contextual-permanent-primary .gux-contextual-wrapper{padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap);border-inline-end:var(--gse-ui-dataTableItems-tableToolbar-divider-width) solid var(--gse-ui-dataTableItems-tableToolbar-dividerColor)}:host .gux-contextual-permanent-primary .gux-permanent-menu-primary-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);margin-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}";export{p as gux_table_toolbar}
@@ -1 +1 @@
1
- import{r as e,c as a,h as t}from"./p-c2a62a18.js";const s=class{constructor(t){e(this,t),this.guxactivepanelchange=a(this,"guxactivepanelchange",7),this.tabId=void 0,this.active=!1}async guxSetActive(e){this.active=e}watchActivePanel(){!0===this.active&&this.guxactivepanelchange.emit(this.tabId)}render(){return t("div",{key:"510ef2891e55723a733f7a74f81fb0f24677034c",id:`gux-${this.tabId}-panel`,class:"gux-tabpanel",role:"tabpanel","aria-labelledby":`gux-${this.tabId}-tab`,tabIndex:0,hidden:!this.active,"aria-live":"assertive"},t("slot",{key:"62bab98e4b268ee6e223e4f3a125f6b69107c289"}))}static get watchers(){return{active:["watchActivePanel"]}}};s.style="gux-tab-advanced-panel .gux-tabpanel:focus{outline:none}gux-tab-advanced-panel .gux-tabpanel:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}";export{s as gux_tab_advanced_panel}
1
+ import{r as e,c as a,h as t}from"./p-c2a62a18.js";const s=class{constructor(t){e(this,t),this.guxactivepanelchange=a(this,"guxactivepanelchange",7),this.tabId=void 0,this.active=!1}async guxSetActive(e){this.active=e}watchActivePanel(){!0===this.active&&this.guxactivepanelchange.emit(this.tabId)}render(){return t("div",{key:"100caf4628359904d496eda8139c99219009c87e",id:`gux-${this.tabId}-panel`,class:"gux-tabpanel",role:"tabpanel","aria-labelledby":`gux-${this.tabId}-tab`,tabIndex:0,hidden:!this.active,"aria-live":"assertive"},t("slot",{key:"48cc00f91c79db96f801f27e8db0d3924d498e8b"}))}static get watchers(){return{active:["watchActivePanel"]}}};s.style="gux-tab-advanced-panel .gux-tabpanel:focus{outline:none}gux-tab-advanced-panel .gux-tabpanel:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}";export{s as gux_tab_advanced_panel}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,g as o}from"./p-c2a62a18.js";import{a as s,c as r,o as a,f as n,s as h,h as p,b as d}from"./p-864af39c.js";import{O as c}from"./p-6a2b1013.js";import{t as l}from"./p-71727c21.js";import{g as u}from"./p-1ccc4961.js";import{f as g}from"./p-9b0d3713.js";const b=class{constructor(i){t(this,i),this.guxdismiss=e(this,"guxdismiss",7),this.disconnect=void 0,this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.isOpen=!1,this.forElement=void 0}updateForElement(){this.forElement=this.getForElement(),this.forElement.setAttribute("aria-haspopup","true")}onKeyDown(t){"Escape"===t.key&&this.forElement.focus()}onFocusout(t){!this.closeOnClickOutside&&this.displayDismissButton||t.relatedTarget&&!this.root.contains(t.relatedTarget)&&this.dismiss()}checkForClickOutside(t){const e=t.composedPath(),i=g(this.root,this.for),o=e.includes(i);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||o||this.dismiss()}get titleSlot(){return u(this.root,"title")}getForElement(){if(this.for){const t=g(this.root,this.for);return t||this.logForAttributeError(),t}this.logForAttributeError()}focusPopup(){const t=this.root.querySelector("[autoFocus]");t?null==t||t.focus():this.popupElement.focus()}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=s(g(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=g(this.root,this.for);this.popupElement&&t&&r(t,this.popupElement,{placement:this.position,middleware:[a(7),n(),h(),p(),d({element:this.arrowElement,padding:16})]}).then((({x:t,y:e,middlewareData:i,placement:o})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${e}px`});const s=o.split("-")[0],r={top:"bottom",right:"left",bottom:"top",left:"right"}[s],a={top:0,right:90,bottom:180,left:-90}[s],n="left"===s||"right"===s?15:13;if(i.arrow){let t=i.arrow.x;const e=i.arrow.y;"left"!==s&&"right"!==s||(t+=4),this.popupElement.setAttribute("data-placement",o),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=e?`${e}px`:"",right:"",bottom:"",[r]:-n+"px",transform:`rotate(${a}deg)`})}i.hide&&Object.assign(this.popupElement.style,{visibility:i.hide.referenceHidden?"hidden":"visible"})}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1,this.popupElement.togglePopover())}logForAttributeError(){this.root.isConnected&&console.error(`gux-popover: invalid element supplied to 'for': "${this.for}"`)}onKeydown(t){switch(t.key){case"Enter":case" ":this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition(),this.focusPopup()}}onMouseup(){this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition()}connectedCallback(){this.updateForElement(),l(this.root,{variant:this.position});const t=this.onKeydown.bind(this);this.forElement.addEventListener("keydown",t);const e=this.onMouseup.bind(this);this.forElement.addEventListener("mouseup",e),this.disconnect=()=>{this.forElement.removeEventListener("keydown",t),this.forElement.removeEventListener("mouseup",e)}}componentDidLoad(){this.forElement&&(this.forElement.popoverTargetElement=this.popupElement,this.isOpen&&(this.popupElement.togglePopover(),this.runUpdatePosition()))}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnect()}renderDismissButton(){if(this.displayDismissButton)return i("gux-dismiss-button",{onClick:this.dismiss.bind(this),position:"inherit"})}render(){return i("div",{key:"b749dcb6d627f45f152ba09cac9811f6da5b13b7",ref:t=>this.popupElement=t,class:{"gux-popover-wrapper":!0,"gux-hidden":!this.isOpen},"data-placement":!0,popover:"manual",tabindex:"-1"},i("div",{key:"247d7093a0ef96d6375aa855fcb267a5647bd35b",ref:t=>this.arrowElement=t,class:"gux-arrow"},i("div",{key:"e3f41577d6b5569b6e6f1552ba5527186334c676",class:"gux-arrow-caret"})),i("div",{key:"9a1c885eb3add0e1141179261f9bcfd6ba16fdd9",class:{"gux-popover-header":Boolean(this.titleSlot)}},i("slot",{key:"8a040e914d618796d8d900d2d93435d74a7e8e4f",name:"title"}),this.renderDismissButton()),i("div",{key:"4e3343245a4f82a758696c9c647a03131b4d6b54",class:"gux-popover-content"},i("slot",{key:"e432bfb3cbd60905dde350c00f2e884ebf017324"})))}get root(){return o(this)}static get watchers(){return{for:["updateForElement"]}}};(function(t,e,i,o){var s,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(r<3?s(a):r>3?s(e,i,a):s(e,i))||a);r>3&&a&&Object.defineProperty(e,i,a)})([c({triggerEvents:"mousedown"})],b.prototype,"checkForClickOutside",null),b.style=":popover-open{position:absolute;inset:unset}.gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;min-inline-size:280px;padding:var(--gse-ui-popover-padding);overflow:hidden;background-color:var(--gse-ui-popover-backgroundColor);border:none;border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow);}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-popover-wrapper .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;filter:drop-shadow(0 0 4px var(--gse-semantic-effects-boxShadow))}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}.gux-popover-wrapper gux-dismiss-button{float:inline-end}";export{b as gux_popover_beta}
@@ -1 +1 @@
1
- import{r as o,h as t,g as e}from"./p-c2a62a18.js";import{m as n}from"./p-67d20704.js";const u=class{constructor(t){o(this,t),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals)}connectedCallback(){this.internals.role="menuitem"}async guxFocus(){this.buttonElement.focus()}onKeydown(o){switch(n(o,this.root),o.key){case"ArrowRight":case"Enter":o.stopPropagation()}}onKeyup(o){" "===o.key&&o.stopPropagation()}render(){return t("button",{key:"35e9baba83eea27742e9b83b93194b92edc086da",type:"button",class:"gux-menu-option-button","aria-haspopup":"false",tabIndex:-1,ref:o=>this.buttonElement=o},t("span",{key:"72b5095ff8edb6359f8962636bb66cc485e0228e",class:"gux-menu-option-button-text"},t("slot",{key:"fe365d3460fd945c6723ddf937165583d4ac9832"})))}static get formAssociated(){return!0}get root(){return e(this)}};u.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-menu-option-button{all:unset;box-sizing:border-box;inline-size:var(--gse-ui-flyoutMenu-width);block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:var(--gse-ui-menu-option-default-backgroundColor)}:host .gux-menu-option-button:focus-within,:host .gux-menu-option-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-menu-option-button:enabled{cursor:pointer}:host .gux-menu-option-button .gux-menu-option-button-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}";export{u as gux_menu_option}
1
+ import{r as o,h as t,g as e}from"./p-c2a62a18.js";import{m as n}from"./p-67d20704.js";const u=class{constructor(t){o(this,t),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals)}connectedCallback(){this.internals.role="menuitem"}async guxFocus(){this.buttonElement.focus()}onKeydown(o){switch(n(o,this.root),o.key){case"ArrowRight":case"Enter":o.stopPropagation()}}onKeyup(o){" "===o.key&&o.stopPropagation()}render(){return t("button",{key:"d23ed2b18eb1c5d127a5f9178ac0615bb899de51",type:"button",class:"gux-menu-option-button","aria-haspopup":"false",tabIndex:-1,ref:o=>this.buttonElement=o},t("span",{key:"a405173bc016c8f415128e9868445627a660bd38",class:"gux-menu-option-button-text"},t("slot",{key:"67b4798b8a4311acaf9dd2abcb8fbbaeb3f47053"})))}static get formAssociated(){return!0}get root(){return e(this)}};u.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-menu-option-button{all:unset;box-sizing:border-box;inline-size:var(--gse-ui-flyoutMenu-width);block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:var(--gse-ui-menu-option-default-backgroundColor)}:host .gux-menu-option-button:focus-within,:host .gux-menu-option-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-menu-option-button:enabled{cursor:pointer}:host .gux-menu-option-button .gux-menu-option-button-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}";export{u as gux_menu_option}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,g as s}from"./p-c2a62a18.js";import{O as a}from"./p-6a2b1013.js";import{w as n}from"./p-e97879b4.js";import{a as o}from"./p-cf0e7d3b.js";import{t as r}from"./p-abf0add0.js";import{b as c}from"./p-16feb2a1.js";import"./p-4202e9f2.js";const u={moreOptions:"More options"},d=["primary","secondary","tertiary","danger"];function b(t){return d.find((e=>e===t))?t:"secondary"}const l=class{constructor(i){t(this,i),this.open=e(this,"open",7),this.close=e(this,"close",7),this.actionClick=e(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){o((()=>{var t;null===(t=this.listElement)||void 0===t||t.focus()}))}focusFirstItemInPopupList(){o((()=>{this.listElement.guxFocusFirstItem()}))}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}onListClick(t){n("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}async componentWillLoad(){r(this.root,{variant:this.type}),this.i18n=await c(this.root,u)}render(){return i("div",{key:"89fd4be8f1273c162804dd23300b4864121c5ac4",class:"gux-action-button-container"},i("gux-popup",{key:"4cd48945f00592a1262a88051201ff2092293582",expanded:this.isOpen,disabled:this.disabled,placement:"bottom-end","exceed-target-width":!0},i("div",{key:"9fe6750d29e5d868023a73537c74bff65eba6b44",slot:"target",class:"gux-action-button-container"},i("gux-button-slot",{key:"27f2f05a2283f659f17bdff6f6688480adba342b",class:"gux-action-button",accent:b(this.accent)},i("button",{key:"56e31ba2181ffc5a32ed3f958bb9aea1d085f645",type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick()},i("slot",{key:"badbe7763a696be1c1e2856765dbc34a6371beb8",name:"title"}))),i("gux-button-slot",{key:"b87dc8eb56871ba638a777b0bed2a8c9291f68b5",class:"gux-dropdown-button",accent:b(this.accent)},i("button",{key:"bfa61a4734f307924606b190812994f143409a2f",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("moreOptions")},i("gux-icon",{key:"6cfbd1ed584fb1c655190637a82c582b3cec8e8f",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),i("div",{key:"8892145f30e1d3772bd6bd2a909839f04019eb39",class:"gux-list-container",slot:"popup"},i("gux-list",{key:"058359e5b95d40601857fc2294084d040bc212de",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},i("slot",{key:"e3c30d28795358c6eb2b27445e73eb980482b26f"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,i,s){var a,n=arguments.length,o=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(o=(n<3?a(o):n>3?a(e,i,o):a(e,i))||o);n>3&&o&&Object.defineProperty(e,i,o)})([a({triggerEvents:"click"})],l.prototype,"onClickOutside",null),l.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-action-button-container{min-inline-size:128px}.gux-action-button-container>*{vertical-align:middle}.gux-action-button-container .gux-action-button{inline-size:calc(100% - 33px);margin-inline-end:1px}.gux-action-button-container .gux-action-button button{inline-size:100%;max-inline-size:none;text-align:center;border-start-end-radius:0;border-end-end-radius:0}.gux-action-button-container .gux-dropdown-button button{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);padding:0;border-start-start-radius:0;border-end-start-radius:0}.gux-action-button-container .gux-list-container{max-inline-size:220px;max-block-size:var(--gse-ui-menu-maxHeight);margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{l as gux_action_button}
1
+ import{r as t,c as e,h as i,g as s}from"./p-c2a62a18.js";import{O as n}from"./p-6a2b1013.js";import{w as a}from"./p-e97879b4.js";import{a as o}from"./p-cf0e7d3b.js";import{t as c}from"./p-71727c21.js";import{b as r}from"./p-16feb2a1.js";import"./p-4202e9f2.js";const d={moreOptions:"More options"},u=["primary","secondary","tertiary","danger"];function b(t){return u.find((e=>e===t))?t:"secondary"}const l=class{constructor(i){t(this,i),this.open=e(this,"open",7),this.close=e(this,"close",7),this.actionClick=e(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){o((()=>{var t;null===(t=this.listElement)||void 0===t||t.focus()}))}focusFirstItemInPopupList(){o((()=>{this.listElement.guxFocusFirstItem()}))}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}onListClick(t){a("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}async componentWillLoad(){c(this.root,{variant:this.type}),this.i18n=await r(this.root,d)}render(){return i("div",{key:"255a522fb405fb5c940775bf079c3ef8952caf7e",class:"gux-action-button-container"},i("gux-popup",{key:"6c705bb9c682defc8003547e8ebb80d75fb13431",expanded:this.isOpen,disabled:this.disabled,placement:"bottom-end","exceed-target-width":!0},i("div",{key:"402af0569c2776cc6f82e8a66ce5cda5591bf279",slot:"target",class:"gux-action-button-container"},i("gux-button-slot",{key:"0f99908a0469de87ab25d55d04ea1493e2449f67",class:"gux-action-button",accent:b(this.accent)},i("button",{key:"c95d2befa817719b0f87002bca795e2a8f718c1a",type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick()},i("slot",{key:"2e0e9adbf753bfc5f5c3581f96993a4cdf4e3471",name:"title"}))),i("gux-button-slot",{key:"5188f5b2e5c3d4cc910b299e32d8f99e6479eddc",class:"gux-dropdown-button",accent:b(this.accent)},i("button",{key:"cdc0a14b97292c65a178acbde2556abf14d6dd53",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("moreOptions")},i("gux-icon",{key:"1b438103210dcf24ff0561c27e127b38f8e6fba6",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),i("div",{key:"f939d948a7d95c32f982ddf4295fe22d8072e4c8",class:"gux-list-container",slot:"popup"},i("gux-list",{key:"b6ecef22da0049c06d1a214507cfbdee737502ed",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},i("slot",{key:"4b65d9dc0b05119092f97c96b187fcde2fe99db6"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,i,s){var n,a=arguments.length,o=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,s);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(o=(a<3?n(o):a>3?n(e,i,o):n(e,i))||o);a>3&&o&&Object.defineProperty(e,i,o)})([n({triggerEvents:"click"})],l.prototype,"onClickOutside",null),l.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-action-button-container{min-inline-size:128px}.gux-action-button-container>*{vertical-align:middle}.gux-action-button-container .gux-action-button{inline-size:calc(100% - 33px);margin-inline-end:1px}.gux-action-button-container .gux-action-button button{inline-size:100%;max-inline-size:none;text-align:center;border-start-end-radius:0;border-end-end-radius:0}.gux-action-button-container .gux-dropdown-button button{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);padding:0;border-start-start-radius:0;border-end-start-radius:0}.gux-action-button-container .gux-list-container{max-inline-size:220px;max-block-size:var(--gse-ui-menu-maxHeight);margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{l as gux_action_button}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i}from"./p-c2a62a18.js";const s=class{constructor(t){e(this,t),this.value=void 0,this.selected=!1,this.disabled=!1}onClick(e){this.disabled&&e.stopPropagation()}render(){return t(i,{key:"84bb0f1979045ddd063a5670740e5675a12365fc",class:{"gux-selected":this.selected}},t("button",{key:"dac59c32fff9f5a7abe6beac6a7f4fec74f77b25",type:"button",class:"gux-switch-item",disabled:this.disabled},t("slot",{key:"e07daf52c16fc950789b2ef2661893cab1efcf7a"})))}};s.style="gux-switch-item>.gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);font:unset;color:#2e394c;text-align:center;outline:none;background:none;border:none}gux-switch-item>.gux-switch-item>gux-icon svg{fill:#99a4b8}gux-switch-item[disabled]{pointer-events:none;opacity:0.5}gux-switch-item.gux-selected{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-bold-fontWeight)}gux-switch-legacy>gux-switch-item .gux-switch-item{padding:0 8px 4px;border-bottom:1px solid #e2e6ee}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy>gux-switch-item .gux-switch-item:hover{padding:0 8px 1px;border-bottom:4px solid #2a60c8}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible>gux-icon svg,gux-switch-legacy>gux-switch-item .gux-switch-item:hover>gux-icon svg{fill:#2e394c}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:2px}gux-switch-legacy>gux-switch-item .gux-switch-item>gux-icon{width:32px;height:32px}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item{padding:0 8px 1px;border-bottom:4px solid #2a60c8}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item>gux-icon svg{fill:#2e394c}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);padding:0 4px;border-bottom:1px solid #e2e6ee}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:hover{border-bottom-color:#2e394c}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item>gux-icon{width:24px;height:24px}gux-switch-legacy.gux-small>gux-switch-item.gux-selected .gux-switch-item{border-bottom-color:#2e394c}";export{s as gux_switch_item}
1
+ import{r as e,h as t,H as i}from"./p-c2a62a18.js";const s=class{constructor(t){e(this,t),this.value=void 0,this.selected=!1,this.disabled=!1}onClick(e){this.disabled&&e.stopPropagation()}render(){return t(i,{key:"7c5bc3c4690b48218f7ad715737d9e4de00b30b8",class:{"gux-selected":this.selected}},t("button",{key:"04a98058c99bc2b6fb313a1c9724b2503f948292",type:"button",class:"gux-switch-item",disabled:this.disabled},t("slot",{key:"ae4b1a79a25920fa128c199cfae1e749334556be"})))}};s.style="gux-switch-item>.gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);font:unset;color:#2e394c;text-align:center;outline:none;background:none;border:none}gux-switch-item>.gux-switch-item>gux-icon svg{fill:#99a4b8}gux-switch-item[disabled]{pointer-events:none;opacity:0.5}gux-switch-item.gux-selected{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-bold-fontWeight)}gux-switch-legacy>gux-switch-item .gux-switch-item{padding:0 8px 4px;border-bottom:1px solid #e2e6ee}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy>gux-switch-item .gux-switch-item:hover{padding:0 8px 1px;border-bottom:4px solid #2a60c8}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible>gux-icon svg,gux-switch-legacy>gux-switch-item .gux-switch-item:hover>gux-icon svg{fill:#2e394c}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:2px}gux-switch-legacy>gux-switch-item .gux-switch-item>gux-icon{width:32px;height:32px}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item{padding:0 8px 1px;border-bottom:4px solid #2a60c8}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item>gux-icon svg{fill:#2e394c}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);padding:0 4px;border-bottom:1px solid #e2e6ee}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:hover{border-bottom-color:#2e394c}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item>gux-icon{width:24px;height:24px}gux-switch-legacy.gux-small>gux-switch-item.gux-selected .gux-switch-item{border-bottom-color:#2e394c}";export{s as gux_switch_item}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,g as s}from"./p-c2a62a18.js";import{O as o}from"./p-6a2b1013.js";import{t as r}from"./p-abf0add0.js";import{b as a}from"./p-16feb2a1.js";import{t as h}from"./p-f01d2320.js";import{h as n}from"./p-b2e29026.js";import{w as l}from"./p-e97879b4.js";import{b as u}from"./p-cf0e7d3b.js";import{e as g}from"./p-ea5e1b2f.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const c=class{constructor(e){t(this,e),this.noHighlightAction=i(this,"noHighlightAction",7),this.disabled=!1,this.isActive=!1,this.expanded=!1}onClickOutside(){this.expanded=!1}watchDisabled(t){t&&(this.expanded=!1)}handleKeydown(t){const i=g("gux-rich-highlight-list-item",t),e=t.composedPath();switch(t.key){case"Escape":this.expanded=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.expanded=!0,this.focusNoHighlightActionButton());break;case"Tab":if(t.shiftKey)return;i&&(this.expanded=!1)}}async componentWillLoad(){r(this.root),this.i18n=await a(this.root,h)}togglePopup(){this.expanded=!this.expanded,this.expanded?this.focusNoHighlightActionButton():this.actionButton.focus()}focusNoHighlightActionButton(){u((()=>{this.noHighlightActionButton.focus()}))}renderTooltip(){if(!this.disabled&&!this.expanded)return e("gux-tooltip-beta",null,e("div",{slot:"content"},this.i18n("textHighlight")))}renderPopup(){return e("div",{class:"gux-text-highlight-popup",slot:"popup"},this.renderNoHighlightAction(),this.renderTextHighlightColors())}renderNoHighlightAction(){return e("gux-button-slot",{accent:"tertiary"},e("button",{type:"button",ref:t=>this.noHighlightActionButton=t,onClick:()=>this.emitNoHighlightAction()},e("gux-truncate",{"max-lines":1},this.i18n("noHighlight"))))}onListClick(t){l("gux-rich-highlight-list-item",t,(()=>{this.expanded=!1,this.actionButton.focus()}))}renderTextHighlightColors(){return e("gux-rich-text-editor-list",{onClick:t=>this.onListClick(t)},e("slot",null))}emitNoHighlightAction(){this.noHighlightAction.emit(),this.expanded=!1,this.actionButton.focus()}renderTarget(){return e("gux-button-slot",{accent:"ghost","icon-only":!0,slot:"target"},e("button",{type:"button",ref:t=>this.actionButton=t,onClick:()=>this.togglePopup(),disabled:this.disabled||n(this.root),class:{"gux-is-pressed":this.isActive||this.expanded},"aria-haspopup":"true","aria-expanded":this.expanded.toString(),"aria-pressed":this.isActive.toString()},e("gux-icon",{size:"small","icon-name":"fa/highlighter-line-regular","screenreader-text":this.i18n("textHighlight")})),this.renderTooltip())}render(){return e("gux-popup",{key:"f786209a85a13554c1cb186a57be60241cb1a4e0",disabled:this.disabled,expanded:this.expanded,exceedTargetWidth:!0,placement:"bottom-start"},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"]}}};(function(t,i,e,s){var o,r=arguments.length,a=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,e,s);else for(var h=t.length-1;h>=0;h--)(o=t[h])&&(a=(r<3?o(a):r>3?o(i,e,a):o(i,e))||a);r>3&&a&&Object.defineProperty(i,e,a)})([o({triggerEvents:"mousedown"})],c.prototype,"onClickOutside",null),c.style=":host{display:block}.gux-text-highlight-popup{display:flex;flex-direction:column;gap:var(--gse-ui-rte-colorPalette-gap);inline-size:104px;padding:12px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-text-highlight-popup gux-rich-text-editor-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--gse-ui-rte-colorPalette-gap);align-items:flex-start;justify-content:flex-start;padding:0}.gux-text-highlight-popup gux-button-slot{align-self:center;block-size:var(--gse-ui-rte-menuButton-height)}.gux-text-highlight-popup gux-button-slot button{block-size:var(--gse-ui-rte-menuButton-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{c as gux_rich_text_editor_action_text_highlight}
1
+ import{r as t,c as i,h as e,g as s}from"./p-c2a62a18.js";import{O as o}from"./p-6a2b1013.js";import{t as r}from"./p-71727c21.js";import{b as h}from"./p-16feb2a1.js";import{t as a}from"./p-f01d2320.js";import{h as n}from"./p-b2e29026.js";import{w as l}from"./p-e97879b4.js";import{b as u}from"./p-cf0e7d3b.js";import{e as g}from"./p-ea5e1b2f.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const c=class{constructor(e){t(this,e),this.noHighlightAction=i(this,"noHighlightAction",7),this.disabled=!1,this.isActive=!1,this.expanded=!1}onClickOutside(){this.expanded=!1}watchDisabled(t){t&&(this.expanded=!1)}handleKeydown(t){const i=g("gux-rich-highlight-list-item",t),e=t.composedPath();switch(t.key){case"Escape":this.expanded=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.expanded=!0,this.focusNoHighlightActionButton());break;case"Tab":if(t.shiftKey)return;i&&(this.expanded=!1)}}async componentWillLoad(){r(this.root),this.i18n=await h(this.root,a)}togglePopup(){this.expanded=!this.expanded,this.expanded?this.focusNoHighlightActionButton():this.actionButton.focus()}focusNoHighlightActionButton(){u((()=>{this.noHighlightActionButton.focus()}))}renderTooltip(){if(!this.disabled&&!this.expanded)return e("gux-tooltip-beta",null,e("div",{slot:"content"},this.i18n("textHighlight")))}renderPopup(){return e("div",{class:"gux-text-highlight-popup",slot:"popup"},this.renderNoHighlightAction(),this.renderTextHighlightColors())}renderNoHighlightAction(){return e("gux-button-slot",{accent:"tertiary"},e("button",{type:"button",ref:t=>this.noHighlightActionButton=t,onClick:()=>this.emitNoHighlightAction()},e("gux-truncate",{"max-lines":1},this.i18n("noHighlight"))))}onListClick(t){l("gux-rich-highlight-list-item",t,(()=>{this.expanded=!1,this.actionButton.focus()}))}renderTextHighlightColors(){return e("gux-rich-text-editor-list",{onClick:t=>this.onListClick(t)},e("slot",null))}emitNoHighlightAction(){this.noHighlightAction.emit(),this.expanded=!1,this.actionButton.focus()}renderTarget(){return e("gux-button-slot",{accent:"ghost","icon-only":!0,slot:"target"},e("button",{type:"button",ref:t=>this.actionButton=t,onClick:()=>this.togglePopup(),disabled:this.disabled||n(this.root),class:{"gux-is-pressed":this.isActive||this.expanded},"aria-haspopup":"true","aria-expanded":this.expanded.toString(),"aria-pressed":this.isActive.toString()},e("gux-icon",{size:"small","icon-name":"fa/highlighter-line-regular","screenreader-text":this.i18n("textHighlight")})),this.renderTooltip())}render(){return e("gux-popup",{key:"f786209a85a13554c1cb186a57be60241cb1a4e0",disabled:this.disabled,expanded:this.expanded,exceedTargetWidth:!0,placement:"bottom-start"},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"]}}};(function(t,i,e,s){var o,r=arguments.length,h=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,i,e,s);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(h=(r<3?o(h):r>3?o(i,e,h):o(i,e))||h);r>3&&h&&Object.defineProperty(i,e,h)})([o({triggerEvents:"mousedown"})],c.prototype,"onClickOutside",null),c.style=":host{display:block}.gux-text-highlight-popup{display:flex;flex-direction:column;gap:var(--gse-ui-rte-colorPalette-gap);inline-size:104px;padding:12px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-text-highlight-popup gux-rich-text-editor-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--gse-ui-rte-colorPalette-gap);align-items:flex-start;justify-content:flex-start;padding:0}.gux-text-highlight-popup gux-button-slot{align-self:center;block-size:var(--gse-ui-rte-menuButton-height)}.gux-text-highlight-popup gux-button-slot button{block-size:var(--gse-ui-rte-menuButton-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{c as gux_rich_text_editor_action_text_highlight}
@@ -1 +1 @@
1
- import{r as t,c as e,h as a,g as i}from"./p-c2a62a18.js";import{t as n}from"./p-abf0add0.js";import{b as s}from"./p-16feb2a1.js";import"./p-4202e9f2.js";const o={previous:"Previous",next:"Next"},r=class{constructor(a){t(this,a),this.guxPaginationCursorchange=e(this,"guxPaginationCursorchange",7),this.guxitemsperpagechange=e(this,"guxitemsperpagechange",7),this.hasPrevious=!1,this.hasNext=!1,this.label=void 0,this.itemsPerPage=void 0,this.layout="simple"}handleInternalitemsperpagechange(t){this.guxitemsperpagechange.emit(t.detail)}onButtonClick(t){("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){n(this.root),this.i18n=await s(this.root,o)}renderSimpleLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("gux-icon",{iconName:"custom/chevron-left-small-regular","screenreader-text":this.i18n("previous"),size:"small"}))),a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("gux-icon",{iconName:"custom/chevron-right-small-regular","screenreader-text":this.i18n("next"),size:"small"}))))]}renderAdvancedLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("div",{class:"gux-button-align-content"},a("gux-icon",{decorative:!0,iconName:"custom/chevron-left-small-regular",size:"small"}),a("span",null,this.i18n("previous"))))),a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("div",{class:"gux-button-align-content"},a("span",null,this.i18n("next")),a("gux-icon",{decorative:!0,iconName:"custom/chevron-right-small-regular",size:"small"}))))),this.renderItemsPerPage()]}renderItemsPerPage(){return this.itemsPerPage&&a("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})}render(){return"advanced"===this.layout?this.renderAdvancedLayout():this.renderSimpleLayout()}get root(){return i(this)}};r.style=":host{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;padding:var(--gse-ui-dataTableItems-tablePagination-padding);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-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}:host .gux-pagination-button-container{display:flex;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:center}:host .gux-button-align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);align-content:center;align-items:center}:host .gux-button-align-content>*{flex:0 1 auto;align-self:auto;order:0}:host gux-icon{display:flex}";export{r as gux_pagination_cursor}
1
+ import{r as t,c as e,h as a,g as i}from"./p-c2a62a18.js";import{t as n}from"./p-71727c21.js";import{b as s}from"./p-16feb2a1.js";import"./p-4202e9f2.js";const o={previous:"Previous",next:"Next"},r=class{constructor(a){t(this,a),this.guxPaginationCursorchange=e(this,"guxPaginationCursorchange",7),this.guxitemsperpagechange=e(this,"guxitemsperpagechange",7),this.hasPrevious=!1,this.hasNext=!1,this.label=void 0,this.itemsPerPage=void 0,this.layout="simple"}handleInternalitemsperpagechange(t){this.guxitemsperpagechange.emit(t.detail)}onButtonClick(t){("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){n(this.root),this.i18n=await s(this.root,o)}renderSimpleLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("gux-icon",{iconName:"custom/chevron-left-small-regular","screenreader-text":this.i18n("previous"),size:"small"}))),a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("gux-icon",{iconName:"custom/chevron-right-small-regular","screenreader-text":this.i18n("next"),size:"small"}))))]}renderAdvancedLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("div",{class:"gux-button-align-content"},a("gux-icon",{decorative:!0,iconName:"custom/chevron-left-small-regular",size:"small"}),a("span",null,this.i18n("previous"))))),a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("div",{class:"gux-button-align-content"},a("span",null,this.i18n("next")),a("gux-icon",{decorative:!0,iconName:"custom/chevron-right-small-regular",size:"small"}))))),this.renderItemsPerPage()]}renderItemsPerPage(){return this.itemsPerPage&&a("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})}render(){return"advanced"===this.layout?this.renderAdvancedLayout():this.renderSimpleLayout()}get root(){return i(this)}};r.style=":host{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;padding:var(--gse-ui-dataTableItems-tablePagination-padding);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-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}:host .gux-pagination-button-container{display:flex;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:center}:host .gux-button-align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);align-content:center;align-items:center}:host .gux-button-align-content>*{flex:0 1 auto;align-self:auto;order:0}:host gux-icon{display:flex}";export{r as gux_pagination_cursor}
@@ -1 +1 @@
1
- const t="4.127.0",e=20,n=3e4,o=[function(t){const[e,n,...o]=t.split(".");return{name:"spark-library",metadata:{fullVersion:`${e}.${n}.${o.join(".")}`,majorVersion:e,minorVersion:`${e}.${n}`}}}(t)];function i(){const t=window.newrelic;if(t){for(let r=0;r<e;r++){if(0==o.length)return void setTimeout(i,n);const e=o.shift();t.addPageAction(e.name,Object.assign(Object.assign({},e.metadata),{queueDepth:o.length}))}setTimeout(i,n)}}let r=!1;function c(e,n){window.newrelic&&(r||(r=!0,i()),document.contains(e)&&o.push({name:"spark-component",metadata:Object.assign(Object.assign({},n),{component:e.tagName.toLowerCase(),version:t})}))}export{c as t}
1
+ const t="4.128.0",e=20,n=3e4,o=[function(t){const[e,n,...o]=t.split(".");return{name:"spark-library",metadata:{fullVersion:`${e}.${n}.${o.join(".")}`,majorVersion:e,minorVersion:`${e}.${n}`}}}(t)];function i(){const t=window.newrelic;if(t){for(let r=0;r<e;r++){if(0==o.length)return void setTimeout(i,n);const e=o.shift();t.addPageAction(e.name,Object.assign(Object.assign({},e.metadata),{queueDepth:o.length}))}setTimeout(i,n)}}let r=!1;function c(e,n){window.newrelic&&(r||(r=!0,i()),document.contains(e)&&o.push({name:"spark-component",metadata:Object.assign(Object.assign({},n),{component:e.tagName.toLowerCase(),version:t})}))}export{c as t}
@@ -1 +1 @@
1
- import{r as a,c as t,h as e,g as i}from"./p-c2a62a18.js";import{t as n}from"./p-abf0add0.js";const s=class{constructor(e){a(this,e),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full",this.totalPages=void 0}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages();a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if("expanded"===a)return null;const t=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===a&&t.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},t)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"339a3aad6956314eb4d13446d84519b584646dca",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"2b7c577864a6d452895055a804c6c781adf3e403",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"968098cc4bbfcd35475f1fe6ea36653d4235babd",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
1
+ import{r as a,c as t,h as e,g as i}from"./p-c2a62a18.js";import{t as n}from"./p-71727c21.js";const s=class{constructor(e){a(this,e),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full",this.totalPages=void 0}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages();a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if("expanded"===a)return null;const t=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===a&&t.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},t)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"f16832269d2f7c04dada306f5909c72f85138b7c",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"5f7d48a8bfaf4f8b9507d879bb6c2d90c1fc7d2f",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"8f53a84289263891436e5f12a6e7e8cc198b60f0",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
@@ -1 +1 @@
1
- import{r as t,c as a,h as e,g as i}from"./p-c2a62a18.js";import{b as n}from"./p-16feb2a1.js";import"./p-4202e9f2.js";const 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.currentPage=void 0,this.totalPages=void 0,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:"35c275d1a2608b85a7141ef1dc510ab8e594743f",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"2d4c1520162d6f9bc72580d1f5ba6c7b4a5240a1",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"f0f3767a986cb7f6ce60664db50320e4a1e20b8b",accent:"ghost"},e("button",{key:"490294626a841f56b522dcd39215805bb77a6bc4",title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"96fe0d712051d6677bbd18ee7b93dd58073be3fb",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"38b5ad9d621040245e3ea1c9ce07081deb300128",accent:"ghost"},e("button",{key:"cc587c7c3985f18e6fb62f826f1e41a873caf4bf",title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"d6f1d435bd95634171b3692bc6e1c82ad5bf995b",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPagePicker(this.layout),e("div",{key:"e09200135440513915c0961e585d800e97d48d77",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"7db272bd5f4a2ffa3c640887d828d0b682991868",accent:"ghost"},e("button",{key:"c73a8c9fe0fa79a3529a4d957df7a204d6e9eb60",title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"09f913cf5962fc38ba10b6c12d62b351efbe8a43",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"857857ea037260e024bd5b66ce4b5fd2f9b2a497",accent:"ghost"},e("button",{key:"d626cca53cc515c79a1b10b4eae8e97c2703bb77",title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"b7afbfb871db77f39b1a136124cf23b85dac98be",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)}";const r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},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:"2fcfb5a0eed431432f1fc6ba906375ad86d10658",class:"gux-pagination-item-counts-container"},e("span",{key:"82248452c368ee1031eddabfd0edea44fa58022a",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"38f6da2da9a4f6caeaafebbe323eed7b4e00105c"},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}";const l={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},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:"7a95dcb6e8a98371c25189e82cedeffd0dcba6af",class:"gux-pagination-items-per-page-container"},e("div",{key:"b059c43814c8e9d4efc6eb99f5fd7443936be897",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{key:"064d597f189ed48a16d4105bc09c94822bf9f597",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,g as i}from"./p-c2a62a18.js";import{b as n}from"./p-16feb2a1.js";import"./p-4202e9f2.js";const 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.currentPage=void 0,this.totalPages=void 0,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:"abd4479dc85d6e29c69392f016d183a1641881a7",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"3c670832d6e9950ecd939d3c04cefd13ffb8e5be",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"49d432be3eb2e5c60ed43f481444794b1a5a75ab",accent:"ghost"},e("button",{key:"465d8406072d3ed4caa9ec8777221dd8e0fde717",title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"06ea7f1d28920bc0218db53152c0a3883bab206d",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"332fd069ee566220828d19f0816099a0e467f365",accent:"ghost"},e("button",{key:"fcd5a8ac4b5d19a5de428129a511172df49fedfe",title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"d7dc6b58158f72bf139d42c9e9652d209853575a",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPagePicker(this.layout),e("div",{key:"7c53ae7710942814a9d937f2efe8951a82951c88",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"d4d1240015d221191e88a9528c02fdca704bd95d",accent:"ghost"},e("button",{key:"78c0a8c9a4518ddc0c9ad74202e7a3eeb2b4ba3d",title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"0180aa302d8a7573d41c114ab27d70636ca8ff7a",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"e1b68c2ba127f9ae273b0344d4c3fbdc00d03084",accent:"ghost"},e("button",{key:"9818369377240ea3ab1bee9ccaa045cd48afdc0d",title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"e6deb4767bb3ae4b21d129a023c77abf4e6d6cba",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)}";const r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},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:"bdb856142d130ef4f66c11222fc2d7c20955ad24",class:"gux-pagination-item-counts-container"},e("span",{key:"8b2fb35cd6b4dba518efa45efce46a1eebb795f1",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"26096d8772396d8fd2c30652869b0026a228a4ce"},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}";const l={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},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:"85e1a42192338d6c7247f597b10f4ac5cfaff98e",class:"gux-pagination-items-per-page-container"},e("div",{key:"e9cb98b15f3fcd716e2905dcecbb8459b25db2e6",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{key:"3c5ec76bde947bbc2433cdda1caa758f69a80280",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}
@@ -0,0 +1 @@
1
+ import{r as e,c as a,h as t,g as i}from"./p-c2a62a18.js";import{r as s}from"./p-0934300e.js";import{h as o}from"./p-6d8b4027.js";import{t as d}from"./p-71727c21.js";const n=class{constructor(t){e(this,t),this.modalSidePanelDismiss=a(this,"modalSidePanelDismiss",7),this.open=!1,this.size="medium"}syncOpenState(){this.open?this.dialogElement.showModal():(this.dialogElement.close(),this.modalSidePanelDismiss.emit())}sidepaneldismissHandler(){this.open=!1}onKeydown(e){if("Escape"===e.key)return e.preventDefault(),void(this.open=!1)}async showModal(){this.open=!0}async close(){this.open=!1}componentWillLoad(){d(this.root,{variant:this.size})}render(){const e=s();return t("dialog",{key:"f45e9ae2854719317f5ee1b2bf2181eb0d536aa8",ref:e=>this.dialogElement=e,"aria-labelledby":e},t("gux-side-panel-beta",{key:"b7b51115681e96dc4aaaafbaa6206eb66c8a5d9d",size:this.size},t("div",{key:"6aaa9e57760ed8b2446710e57a53aa36b0f8a3ba",slot:"heading",id:e},t("slot",{key:"a3236a2bfed6ce71c3c5839887d0abdc683c2ced",name:"heading"})),o(this.root,"description")&&t("div",{key:"2cb648b805ddb79e9f72a97bd79dfd060969518a",slot:"description"},t("slot",{key:"71fd30aea182c381536a1e0815a248bacd543b9f",name:"description"})),t("div",{key:"9b1354608b3932ac85d6915c06b1c2f34ff99a28",slot:"content"},t("slot",{key:"8b8a329cde4dc721cc1bfecaf3e5b4398bfb96d7",name:"content"})),t("div",{key:"cd89211e9d0b42877bb2da8adceb0817702e8df5",slot:"footer"},t("slot",{key:"82fb9d9945c5534e93884b1048a94e29a2265476",name:"footer"}))))}get root(){return i(this)}static get watchers(){return{open:["syncOpenState"]}}};n.style="dialog{inset-inline-start:auto;block-size:100%;min-block-size:100%;padding:0;margin:unset;border:none}dialog::backdrop{background:var(--gse-ui-sidePanel-shroudColor);opacity:var(--gse-ui-sidePanel-shroud-opacity)}slot[name=description]::slotted(*){margin:0;font-family:var(--gse-ui-sidePanel-description-text-fontFamily) !important;font-size:var(--gse-ui-sidePanel-description-text-fontSize) !important;font-weight:var(--gse-ui-sidePanel-description-text-fontWeight) !important;line-height:var(--gse-ui-sidePanel-description-text-lineHeight) !important;color:var(--gse-ui-sidePanel-descriptionColor) !important}";export{n as gux_modal_side_panel_beta}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,H as a,g as e}from"./p-c2a62a18.js";import{t as h}from"./p-71727c21.js";const c=class{constructor(i){t(this,i),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.tabList=void 0,this.tabPanels=[],this.activeTab=void 0}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,i){var a;this.activeTab=t||(null===(a=null==s?void 0:s.querySelector("gux-tab-advanced"))||void 0===a?void 0:a.getAttribute("tab-id")),s.guxSetActive(this.activeTab),i.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){h(this.root)}render(){return i(a,{key:"55bf14f5e3bb649d8608ebf3057797795e7defef"},i("slot",{key:"37b13f329d7e6f7e234966fb8363142e721b2422",name:"tab-list"}),i("slot",{key:"6974ee68014adab12aedb7bb83a58b5044c5929d",onSlotchange:this.onSlotchange.bind(this)}))}get root(){return e(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};export{c as gux_tabs_advanced}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,H as i,g as e}from"./p-c2a62a18.js";import{s as o}from"./p-2c25e2f2.js";import{t as a}from"./p-71727c21.js";const h=class{constructor(s){t(this,s),this.value=void 0,this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,o(this.root,"input"),o(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){a(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{key:"26364b85e73b59ada54be43698464e4d74f43290",role:"group",class:`gux-${this.layout}`},s("slot",{key:"86f3b7ffc611620911a5bbc63cc1ee3efe30cc7b",onSlotchange:this.slotChanged.bind(this)}))}get root(){return e(this)}};h.style=":host{display:flex;align-items:flex-end}";export{h as gux_switch_legacy}
@@ -1 +1 @@
1
- import{r as e,h as g}from"./p-c2a62a18.js";const r=class{constructor(g){e(this,g),this.checked=!1,this.disabled=!1,this.guxAriaLabel="",this.labelId="",this.errorId=""}componentDidLoad(){var e,g;null===(e=this.checkboxElement)||void 0===e||e.setAttribute("aria-label",this.guxAriaLabel),this.errorId&&(null===(g=this.checkboxElement)||void 0===g||g.setAttribute("aria-describedby",this.errorId))}render(){const e=this.errorId.length>0;return g("div",{key:"fcc4b03b5e37b793199cd0bab791f982066b1373",class:{"gux-toggle-slider":!0,"gux-checked":this.checked,"gux-disabled":this.disabled,"gux-error":e},role:"checkbox","aria-checked":this.checked.toString(),"aria-disabled":this.disabled.toString(),tabindex:this.disabled?"":"0",ref:e=>this.checkboxElement=e},g("div",{key:"af82c11450a7e7189734ade81ae59154e0edd934",class:"gux-slider"},g("div",{key:"aae336d5b5fa0f8d99a93406f5963a2e2138388c",class:"gux-switch"},!e&&g("gux-icon",{key:"eb84bc4c502bdc5a5b131637a491508b35ccbda9","icon-name":"fa/check-solid",decorative:!0}))))}};r.style='gux-toggle-slider{display:flex;align-items:center;padding:2px;outline:none}gux-toggle-slider .gux-toggle-slider{position:relative;display:inline-block;flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-toggle-track-width);block-size:var(--gse-ui-toggle-track-height);cursor:pointer;border-radius:var(--gse-ui-toggle-track-borderRadius)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider{background-color:var(--gse-ui-toggle-track-error-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider .gux-switch{border:var(--gse-ui-toggle-handle-error-border-width) var(--gse-ui-toggle-handle-error-border-style) var(--gse-ui-toggle-handle-error-border-color)}gux-toggle-slider .gux-toggle-slider.gux-error.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-error-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-disabled{pointer-events:none;cursor:default;background-color:var(--gse-ui-toggle-track-disabled-off-backgroundColor);opacity:var(--gse-ui-toggle-disabled-opacity)}gux-toggle-slider .gux-toggle-slider:focus-visible{outline:var(--gse-ui-toggle-focus-border-width) var(--gse-ui-toggle-focus-border-style) var(--gse-ui-toggle-focus-border-color);outline-offset:var(--gse-ui-toggle-focus-offset);border-radius:var(--gse-ui-toggle-focus-borderRadius)}gux-toggle-slider .gux-toggle-slider .gux-slider{position:absolute;inset:0;background-color:var(--gse-ui-toggle-track-enabled-off-backgroundColor);border-radius:calc(var(--gse-ui-toggle-track-height) / 2);transition:background-color 0.2s ease}gux-toggle-slider .gux-toggle-slider .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch{position:absolute;inset-block-end:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);inset-inline-start:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);inline-size:calc(var(--gse-ui-toggle-handle-width) - 4px);block-size:calc(var(--gse-ui-toggle-handle-height) - 4px);color:var(--gse-ui-toggle-handle-foregroundColor);content:"";background-color:var(--gse-ui-toggle-handle-backgroundColor);border:var(--gse-ui-toggle-handle-enabled-border-width) var(--gse-ui-toggle-handle-enabled-border-style) var(--gse-ui-toggle-handle-enabled-border-color);border-radius:var(--gse-ui-toggle-handle-borderRadius);transition:0.2s}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch gux-icon{position:absolute;inset:0;inline-size:calc(var(--gse-ui-toggle-handle-width) - 6px);block-size:calc(var(--gse-ui-toggle-handle-width) - 6px);margin:auto;color:var(--gse-ui-toggle-handle-backgroundColor);transition:color 0.2s linear}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-enabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled{background-color:var(--gse-ui-toggle-track-disabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled .gux-switch{border:var(--gse-ui-toggle-handle-disabled-border-width) var(--gse-ui-toggle-handle-disabled-border-style) var(--gse-ui-toggle-handle-disabled-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover .gux-switch{border:var(--gse-ui-toggle-handle-hover-border-width) var(--gse-ui-toggle-handle-hover-border-style) var(--gse-ui-toggle-handle-hover-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch{transform:translateX(calc(var(--gse-ui-toggle-track-width) - var(--gse-ui-toggle-track-height)))}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch gux-icon{color:var(--gse-ui-toggle-handle-foregroundColor);opacity:1;transition:opacity 0.1s linear;transition-delay:0.1s}';export{r as gux_toggle_slider}
1
+ import{r as e,h as g}from"./p-c2a62a18.js";const r=class{constructor(g){e(this,g),this.checked=!1,this.disabled=!1,this.guxAriaLabel="",this.labelId="",this.errorId=""}componentDidLoad(){var e,g;null===(e=this.checkboxElement)||void 0===e||e.setAttribute("aria-label",this.guxAriaLabel),this.errorId&&(null===(g=this.checkboxElement)||void 0===g||g.setAttribute("aria-describedby",this.errorId))}render(){const e=this.errorId.length>0;return g("div",{key:"29eb50e507f58716177aa0480bfefc223b8fccf3",class:{"gux-toggle-slider":!0,"gux-checked":this.checked,"gux-disabled":this.disabled,"gux-error":e},role:"checkbox","aria-checked":this.checked.toString(),"aria-disabled":this.disabled.toString(),tabindex:this.disabled?"":"0",ref:e=>this.checkboxElement=e},g("div",{key:"998b61b413e8d48a676889c65015802ccfb92c26",class:"gux-slider"},g("div",{key:"c5a297033b89a05773bdf98b8aa013e33a268f73",class:"gux-switch"},!e&&g("gux-icon",{key:"ce43db109a924fb4d8697e25bb690626fbfc62de","icon-name":"fa/check-solid",decorative:!0}))))}};r.style='gux-toggle-slider{display:flex;align-items:center;padding:2px;outline:none}gux-toggle-slider .gux-toggle-slider{position:relative;display:inline-block;flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-toggle-track-width);block-size:var(--gse-ui-toggle-track-height);cursor:pointer;border-radius:var(--gse-ui-toggle-track-borderRadius)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider{background-color:var(--gse-ui-toggle-track-error-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider .gux-switch{border:var(--gse-ui-toggle-handle-error-border-width) var(--gse-ui-toggle-handle-error-border-style) var(--gse-ui-toggle-handle-error-border-color)}gux-toggle-slider .gux-toggle-slider.gux-error.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-error-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-disabled{pointer-events:none;cursor:default;background-color:var(--gse-ui-toggle-track-disabled-off-backgroundColor);opacity:var(--gse-ui-toggle-disabled-opacity)}gux-toggle-slider .gux-toggle-slider:focus-visible{outline:var(--gse-ui-toggle-focus-border-width) var(--gse-ui-toggle-focus-border-style) var(--gse-ui-toggle-focus-border-color);outline-offset:var(--gse-ui-toggle-focus-offset);border-radius:var(--gse-ui-toggle-focus-borderRadius)}gux-toggle-slider .gux-toggle-slider .gux-slider{position:absolute;inset:0;background-color:var(--gse-ui-toggle-track-enabled-off-backgroundColor);border-radius:calc(var(--gse-ui-toggle-track-height) / 2);transition:background-color 0.2s ease}gux-toggle-slider .gux-toggle-slider .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch{position:absolute;inset-block-end:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);inset-inline-start:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);inline-size:calc(var(--gse-ui-toggle-handle-width) - 4px);block-size:calc(var(--gse-ui-toggle-handle-height) - 4px);color:var(--gse-ui-toggle-handle-foregroundColor);content:"";background-color:var(--gse-ui-toggle-handle-backgroundColor);border:var(--gse-ui-toggle-handle-enabled-border-width) var(--gse-ui-toggle-handle-enabled-border-style) var(--gse-ui-toggle-handle-enabled-border-color);border-radius:var(--gse-ui-toggle-handle-borderRadius);transition:0.2s}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch gux-icon{position:absolute;inset:0;inline-size:calc(var(--gse-ui-toggle-handle-width) - 6px);block-size:calc(var(--gse-ui-toggle-handle-width) - 6px);margin:auto;color:var(--gse-ui-toggle-handle-backgroundColor);transition:color 0.2s linear}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-enabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled{background-color:var(--gse-ui-toggle-track-disabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled .gux-switch{border:var(--gse-ui-toggle-handle-disabled-border-width) var(--gse-ui-toggle-handle-disabled-border-style) var(--gse-ui-toggle-handle-disabled-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover .gux-switch{border:var(--gse-ui-toggle-handle-hover-border-width) var(--gse-ui-toggle-handle-hover-border-style) var(--gse-ui-toggle-handle-hover-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch{transform:translateX(calc(var(--gse-ui-toggle-track-width) - var(--gse-ui-toggle-track-height)))}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch gux-icon{color:var(--gse-ui-toggle-handle-foregroundColor);opacity:1;transition:opacity 0.1s linear;transition-delay:0.1s}';export{r as gux_toggle_slider}
@@ -0,0 +1 @@
1
+ import{r as a,f as e,h as t,g as r}from"./p-c2a62a18.js";import{b as s}from"./p-16feb2a1.js";import{t as i}from"./p-71727c21.js";import"./p-4202e9f2.js";const o={breadcrumbs:"Breadcrumbs"},n=class{constructor(e){a(this,e),this.accent="primary"}componentWillLoad(){i(this.root,{variant:this.accent})}async componentWillRender(){this.i18n=await s(this.root,o)}onSlotChange(){Array.from(this.root.children).forEach((a=>e(a)))}render(){return t("nav",{key:"338ef4b8908f8d4432dbfb87e2336f21f657b2ae","aria-label":this.i18n("breadcrumbs")},t("ol",{key:"812f622e42591e0c12729aa60abd9417e69a8984"},t("slot",{key:"08ab69eb7af7bc2ec611e98f058d8c549be17a0a",onSlotchange:this.onSlotChange.bind(this)})))}get root(){return r(this)}};n.style="ol{display:flex;flex-direction:row;flex-wrap:wrap;place-content:flex-start flex-start;align-items:center;padding:0;margin:0;list-style:none}";export{n as gux_breadcrumbs}
@@ -1 +1 @@
1
- import{r as e,f as o,h as r,g as t}from"./p-c2a62a18.js";import{O as i}from"./p-9df4dd07.js";import{h as l}from"./p-6d8b4027.js";import{a}from"./p-8eaf8caf.js";import{b as s}from"./p-16feb2a1.js";import{s as n}from"./p-2c25e2f2.js";import{G as f,a as h}from"./p-546eb56a.js";import{G as u,a as c,b as g}from"./p-2c779f86.js";import{g as d}from"./p-0268a3e8.js";import{t as p}from"./p-abf0add0.js";import"./p-4202e9f2.js";function x(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=m(e).length,r=function(e){return m(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function m(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}const b={required:"Required"};const v=class{constructor(o){e(this,o),this.indicatorMark="required",this.required=!1,this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info")}async componentWillLoad(){this.getI18nValue=await s(this.root,b),this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),p(this.root)}componentDidLoad(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,m(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,n(e,"input"),n(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&a(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&a(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(g,{key:"4c5a63c6a52397fe7265f2395c65f013e4aa8a95",labelPosition:"above"},r(c,{key:"77276067a01869834a6382976d6dc94992ab8d60"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"group-error"),this.hasGroupError),this.renderText(d(this.root,"group-help"),this.hasGroupHelp),this.renderText(d(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(u,{key:"511a7aa3534088a53d95bd1175066aec54670b61",position:"above",required:this.required},r("slot",{key:"6234a6ec65c4ff11c19e25842e289b8c3a012d4c",name:"group-label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"e70bcc8e4c9b7b7b8139c9ad3436b4ba6582cb80",variant:this.indicatorMark,required:this.required}),r("slot",{key:"64e42eaf7a619f0559b81977ba9dcfab6b186254",name:"group-label-info"})),r("slot",{key:"d179128afefa5e3c3f994416f2eefbfa8a83c140",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"bed4fef0135b9404e2fc36bf1de7003f701e9cfb",onSlotchange:()=>this.updateMainCheckbox()}),r(h,{key:"94ea9497133308920f91684c307d72530031329f",show:this.hasGroupError},r("slot",{key:"285fc5c130cb2f27a32dce028f34a652fdd39352",name:"group-error"})),r(f,{key:"c908c41d58d3ba70621205072da2a59ad9c112ad",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"c52f44999bac204169961b476ae77b9268ed1808",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var i,l=arguments.length,a=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(l<3?i(a):l>3?i(o,r,a):i(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-block-start:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-inline-start:24px}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-inline-start:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{v as gux_form_field_checkbox_group_beta}
1
+ import{r as e,f as o,h as r,g as t}from"./p-c2a62a18.js";import{O as i}from"./p-9df4dd07.js";import{h as l}from"./p-6d8b4027.js";import{a}from"./p-8eaf8caf.js";import{b as s}from"./p-16feb2a1.js";import{s as n}from"./p-2c25e2f2.js";import{G as f,a as h}from"./p-546eb56a.js";import{G as u,a as c,b as g}from"./p-2c779f86.js";import{g as d}from"./p-0268a3e8.js";import{t as p}from"./p-71727c21.js";import"./p-4202e9f2.js";function x(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=b(e).length,r=function(e){return b(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function b(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}const m={required:"Required"};const v=class{constructor(o){e(this,o),this.indicatorMark="required",this.required=!1,this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info")}async componentWillLoad(){this.getI18nValue=await s(this.root,m),this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),p(this.root)}componentDidLoad(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,b(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,n(e,"input"),n(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&a(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&a(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(g,{key:"bdff584bfa28838ac5f22ee2fb56eb99b81586fb",labelPosition:"above"},r(c,{key:"4f2c5e0564c03e61a3be4b9cb4b8a334664875da"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"group-error"),this.hasGroupError),this.renderText(d(this.root,"group-help"),this.hasGroupHelp),this.renderText(d(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(u,{key:"cbc565eae0e217a3b3b367be5192f077d5b3958d",position:"above",required:this.required},r("slot",{key:"6ed37e9f4d9af18cb318c66b6bbd54191977424f",name:"group-label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"ddfc3f8d09fc4b2eff492368286a99f179ad7451",variant:this.indicatorMark,required:this.required}),r("slot",{key:"c3e34134c4aae83e750b02976348e8b0e2bf2c55",name:"group-label-info"})),r("slot",{key:"ee29f1f5648c53dc10de5a5ded9d023b4a89f193",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"779914da2c3068ccc19fb4b17b2ac5d36e3305b7",onSlotchange:()=>this.updateMainCheckbox()}),r(h,{key:"ba8cc3662f98291a26bd1259cb35ab04213eaa77",show:this.hasGroupError},r("slot",{key:"cd9eae0f6bc250dd85051b54f12cbb4ef72727e7",name:"group-error"})),r(f,{key:"b695f5205b39df95fa7be9d2b9126e7aa52ca419",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"f004236fb164c2854d961b8c40280f85a62719b8",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var i,l=arguments.length,a=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(l<3?i(a):l>3?i(o,r,a):i(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-block-start:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-inline-start:24px}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-inline-start:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{v as gux_form_field_checkbox_group_beta}